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 WINDRES ac_ct_WINDRES 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 REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_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_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
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-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf
()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-constraints use layout
-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl
(Mac
)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
966 --enable-prologio not available
; see contrib
967 --enable-resources not available
; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag
'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-combobox use wxComboBox class
982 --enable-comboctrl use wxComboCtrl class
983 --enable-datepick use wxDatePickerCtrl class
984 --enable-display use wxDisplay class
985 --enable-gauge use wxGauge class
986 --enable-grid use wxGrid class
987 --enable-dataviewctrl, use wxDataViewCtrl class
988 --enable-hyperlink use wxHyperlinkCtrl class
989 --enable-imaglist use wxImageList class
990 --enable-listbook use wxListbook class
991 --enable-listbox use wxListBox class
992 --enable-listctrl use wxListCtrl class
993 --enable-notebook use wxNotebook class
994 --enable-odcombobox use wxOwnerDrawnComboBox class
995 --enable-radiobox use wxRadioBox class
996 --enable-radiobtn use wxRadioButton class
997 --enable-sash use wxSashWindow class
998 --enable-scrollbar use wxScrollBar class and scrollable windows
999 --enable-slider use wxSlider class
1000 --enable-spinbtn use wxSpinButton class
1001 --enable-spinctrl use wxSpinCtrl class
1002 --enable-splitter use wxSplitterWindow class
1003 --enable-statbmp use wxStaticBitmap class
1004 --enable-statbox use wxStaticBox class
1005 --enable-statline use wxStaticLine class
1006 --enable-stattext use wxStaticText class
1007 --enable-statusbar use wxStatusBar class
1008 --enable-tabdialog use wxTabControl class
1009 --enable-textctrl use wxTextCtrl class
1010 --enable-togglebtn use wxToggleButton class
1011 --enable-toolbar use wxToolBar class
1012 --enable-tbarnative use native wxToolBar class
1013 --enable-tbarsmpl use wxToolBarSimple class
1014 --enable-treebook use wxTreebook class
1015 --enable-toolbook use wxToolbook class
1016 --enable-treectrl use wxTreeCtrl class
1017 --enable-tipwindow use wxTipWindow class
1018 --enable-popupwin use wxPopUpWindow class
1019 --enable-commondlg use all common dialogs
1020 --enable-choicedlg use wxChoiceDialog
1021 --enable-coldlg use wxColourDialog
1022 --enable-filedlg use wxFileDialog
1023 --enable-finddlg use wxFindReplaceDialog
1024 --enable-fontdlg use wxFontDialog
1025 --enable-dirdlg use wxDirDialog
1026 --enable-msgdlg use wxMessageDialog
1027 --enable-numberdlg use wxNumberEntryDialog
1028 --enable-splash use wxSplashScreen
1029 --enable-textdlg use wxTextDialog
1030 --enable-tipdlg use startup tips
1031 --enable-progressdlg use wxProgressDialog
1032 --enable-wizarddlg use wxWizard
1033 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1034 --enable-miniframe use wxMiniFrame class
1035 --enable-tooltips use wxToolTip class
1036 --enable-splines use spline drawing code
1037 --enable-mousewheel use mousewheel
1038 --enable-validators use wxValidator and derived classes
1039 --enable-busyinfo use wxBusyInfo
1040 --enable-joystick use wxJoystick
1041 --enable-metafiles use wxMetaFile
(Win32 only
)
1042 --enable-dragimage use wxDragImage
1043 --enable-accessibility enable accessibility support
1044 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1045 --enable-palette use wxPalette class
1046 --enable-image use wxImage class
1047 --enable-gif use gif images
(GIF
file format
)
1048 --enable-pcx use pcx images
(PCX
file format
)
1049 --enable-iff use iff images
(IFF
file format
)
1050 --enable-pnm use pnm images
(PNM
file format
)
1051 --enable-xpm use xpm images
(XPM
file format
)
1052 --enable-icocur use Windows ICO and CUR formats
1053 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1054 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1055 --disable-largefile omit support
for large files
1056 --disable-gtktest do not try to compile and run a
test GTK
+ program
1057 --disable-gtktest Do not try to compile and run a
test GTK program
1058 --disable-sdltest Do not try to compile and run a
test SDL program
1059 --enable-omf use OMF object format
(OS
/2)
1060 --disable-dependency-tracking
1061 don
't use dependency tracking even if the compiler
1063 --disable-precomp-headers
1064 don't use precompiled headers even
if compiler can
1067 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1068 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1069 --without-subdirs don
't generate makefiles for samples/demos/...
1070 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1071 --with-motif use Motif/Lesstif
1072 --with-mac use Mac OS X
1073 --with-cocoa use Cocoa
1074 --with-wine use Wine
1075 --with-msw use MS-Windows
1076 --with-pm use OS/2 Presentation Manager
1077 --with-mgl use SciTech MGL
1078 --with-microwin use MicroWindows
1080 --with-libpng use libpng (PNG image format)
1081 --with-libjpeg use libjpeg (JPEG file format)
1082 --with-libtiff use libtiff (TIFF file format)
1083 --with-libxpm use libxpm (XPM file format)
1084 --with-libmspack use libmspack (CHM help files loading)
1085 --with-sdl use SDL for audio on Unix
1086 --with-gnomeprint use GNOME print for printing under GNOME
1087 --with-gnomevfs use GNOME VFS for associating MIME types
1088 --with-hildon use Hildon framework for Nokia 770
1089 --with-opengl use OpenGL (or Mesa)
1090 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1091 --with-regex enable support for wxRegEx class
1092 --with-zlib use zlib for LZW compression
1093 --with-odbc use the IODBC and wxODBC classes
1094 --with-expat enable XML support using expat parser
1095 --with-flavour=NAME specify a name to identify this build
1096 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1097 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1098 --with-x use the X Window System
1099 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1100 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1101 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1102 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1103 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1105 Some influential environment variables:
1106 CC C compiler command
1107 CFLAGS C compiler flags
1108 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1109 nonstandard directory <lib dir>
1110 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1111 headers in a nonstandard directory <include dir>
1113 CXX C++ compiler command
1114 CXXFLAGS C++ compiler flags
1115 CXXCPP C++ preprocessor
1117 Use these variables to override the choices made by `configure' or to
help
1118 it to
find libraries and programs with nonstandard names
/locations.
1120 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1124 if test "$ac_init_help" = "recursive"; then
1125 # If there are subdirs, report their specific --help.
1127 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1128 test -d $ac_dir || continue
1131 if test "$ac_dir" != .
; then
1132 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1133 # A "../" for each directory in $ac_dir_suffix.
1134 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1136 ac_dir_suffix
= ac_top_builddir
=
1140 .
) # No --srcdir option. We are building in place.
1142 if test -z "$ac_top_builddir"; then
1145 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1147 [\\/]* | ?
:[\\/]* ) # Absolute path.
1148 ac_srcdir
=$srcdir$ac_dir_suffix;
1149 ac_top_srcdir
=$srcdir ;;
1151 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1152 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1155 # Do not use `cd foo && pwd` to compute absolute paths, because
1156 # the directories may not exist.
1158 .
) ac_abs_builddir
="$ac_dir";;
1161 .
) ac_abs_builddir
=`pwd`;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1163 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1169 case ${ac_top_builddir}.
in
1170 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1172 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1175 case $ac_abs_builddir in
1176 .
) ac_abs_srcdir
=$ac_srcdir;;
1179 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1180 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1181 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1184 case $ac_abs_builddir in
1185 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1187 case $ac_top_srcdir in
1188 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1189 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1190 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1195 # Check for guested configure; otherwise get Cygnus style configure.
1196 if test -f $ac_srcdir/configure.gnu
; then
1198 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1199 elif test -f $ac_srcdir/configure
; then
1201 $SHELL $ac_srcdir/configure
--help=recursive
1202 elif test -f $ac_srcdir/configure.ac
||
1203 test -f $ac_srcdir/configure.
in; then
1205 $ac_configure --help
1207 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1213 test -n "$ac_init_help" && exit 0
1214 if $ac_init_version; then
1216 wxWidgets configure
2.7.0
1217 generated by GNU Autoconf
2.59
1219 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1220 This configure
script is free software
; the Free Software Foundation
1221 gives unlimited permission to copy
, distribute and modify it.
1227 This file contains any messages produced by compilers while
1228 running configure, to aid debugging if configure makes a mistake.
1230 It was created by wxWidgets $as_me 2.7.0, which was
1231 generated by GNU Autoconf 2.59. Invocation command line was
1242 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1243 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1244 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1245 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1246 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1248 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1249 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1251 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1252 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1253 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1254 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1255 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1256 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1257 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1265 test -z "$as_dir" && as_dir
=.
1266 echo "PATH: $as_dir"
1281 # Keep a trace of the command line.
1282 # Strip out --no-create and --no-recursion so they do not pile up.
1283 # Strip out --silent because we don't want to record it for future runs.
1284 # Also quote any args containing shell meta-characters.
1285 # Make two passes to allow for proper duplicate-argument suppression.
1290 ac_must_keep_next
=false
1296 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1298 | -silent | --silent | --silen | --sile | --sil)
1300 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1301 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1304 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1306 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1307 if test $ac_must_keep_next = true
; then
1308 ac_must_keep_next
=false
# Got value, back to normal.
1311 *=* | --config-cache | -C | -disable-* | --disable-* \
1312 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1313 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1314 | -with-* | --with-* | -without-* | --without-* | --x)
1315 case "$ac_configure_args0 " in
1316 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1319 -* ) ac_must_keep_next
=true
;;
1322 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1323 # Get rid of the leading space.
1329 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1330 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1332 # When interrupted or exit'd, cleanup temporary files, and complete
1333 # config.log. We remove comments because anyway the quotes in there
1334 # would cause problems or look ugly.
1335 # WARNING: Be sure not to use single quotes in there, as some shells,
1336 # such as our DU 5.0 friend, will then `close' the trap.
1337 trap 'exit_status=$?
1338 # Save into config.log some information that might help in debugging.
1343 ## ---------------- ##
1344 ## Cache variables. ##
1345 ## ---------------- ##
1348 # The following way of writing the cache mishandles newlines in values,
1351 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1354 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1359 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1366 ## ----------------- ##
1367 ## Output variables. ##
1368 ## ----------------- ##
1371 for ac_var in $ac_subst_vars
1373 eval ac_val=$`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -n "$ac_subst_files"; then
1385 for ac_var in $ac_subst_files
1387 eval ac_val=$`echo $ac_var`
1388 echo "$ac_var='"'"'$ac_val'"'"'"
1393 if test -s confdefs.h; then
1400 sed "/^$/d" confdefs.h | sort
1403 test "$ac_signal" != 0 &&
1404 echo "$as_me: caught signal $ac_signal"
1405 echo "$as_me: exit $exit_status"
1407 rm -f core *.core &&
1408 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1411 for ac_signal
in 1 2 13 15; do
1412 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1416 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1417 rm -rf conftest
* confdefs.h
1418 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1421 # Predefined preprocessor variables.
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_NAME "$PACKAGE_NAME"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1433 cat >>confdefs.h
<<_ACEOF
1434 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1438 cat >>confdefs.h
<<_ACEOF
1439 #define PACKAGE_STRING "$PACKAGE_STRING"
1443 cat >>confdefs.h
<<_ACEOF
1444 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1448 # Let the site file select an alternate cache file if it wants to.
1449 # Prefer explicitly selected file to automatically selected ones.
1450 if test -z "$CONFIG_SITE"; then
1451 if test "x$prefix" != xNONE
; then
1452 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1454 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1457 for ac_site_file
in $CONFIG_SITE; do
1458 if test -r "$ac_site_file"; then
1459 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1460 echo "$as_me: loading site script $ac_site_file" >&6;}
1461 sed 's/^/| /' "$ac_site_file" >&5
1466 if test -r "$cache_file"; then
1467 # Some versions of bash will fail to source /dev/null (special
1468 # files actually), so we avoid doing that.
1469 if test -f "$cache_file"; then
1470 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1471 echo "$as_me: loading cache $cache_file" >&6;}
1473 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1474 *) . .
/$cache_file;;
1478 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1479 echo "$as_me: creating cache $cache_file" >&6;}
1483 # Check that the precious variables saved in the cache have kept the same
1485 ac_cache_corrupted
=false
1486 for ac_var
in `(set) 2>&1 |
1487 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1488 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1489 eval ac_new_set
=\
$ac_env_${ac_var}_set
1490 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1491 eval ac_new_val
="\$ac_env_${ac_var}_value"
1492 case $ac_old_set,$ac_new_set in
1494 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1495 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1496 ac_cache_corrupted
=: ;;
1498 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1499 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1500 ac_cache_corrupted
=: ;;
1503 if test "x$ac_old_val" != "x$ac_new_val"; then
1504 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1505 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1506 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1507 echo "$as_me: former value: $ac_old_val" >&2;}
1508 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1509 echo "$as_me: current value: $ac_new_val" >&2;}
1510 ac_cache_corrupted
=:
1513 # Pass precious variables to config.status.
1514 if test "$ac_new_set" = set; then
1516 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1517 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 *) ac_arg
=$ac_var=$ac_new_val ;;
1520 case " $ac_configure_args " in
1521 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1522 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1526 if $ac_cache_corrupted; then
1527 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1528 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1529 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1530 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1531 { (exit 1); exit 1; }; }
1535 ac_cpp
='$CPP $CPPFLAGS'
1536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1570 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1571 if test -f $ac_dir/install-sh; then
1573 ac_install_sh
="$ac_aux_dir/install-sh -c"
1575 elif test -f $ac_dir/install.sh
; then
1577 ac_install_sh
="$ac_aux_dir/install.sh -c"
1579 elif test -f $ac_dir/shtool
; then
1581 ac_install_sh
="$ac_aux_dir/shtool install -c"
1585 if test -z "$ac_aux_dir"; then
1586 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1587 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1588 { (exit 1); exit 1; }; }
1590 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1591 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1592 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1594 # Make sure we can run config.sub.
1595 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1596 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1597 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1598 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: checking build system type" >&5
1601 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1602 if test "${ac_cv_build+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 ac_cv_build_alias
=$build_alias
1606 test -z "$ac_cv_build_alias" &&
1607 ac_cv_build_alias
=`$ac_config_guess`
1608 test -z "$ac_cv_build_alias" &&
1609 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1610 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1611 { (exit 1); exit 1; }; }
1612 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1618 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1619 echo "${ECHO_T}$ac_cv_build" >&6
1621 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626 echo "$as_me:$LINENO: checking host system type" >&5
1627 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1628 if test "${ac_cv_host+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_host_alias
=$host_alias
1632 test -z "$ac_cv_host_alias" &&
1633 ac_cv_host_alias
=$ac_cv_build_alias
1634 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1641 echo "${ECHO_T}$ac_cv_host" >&6
1643 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648 echo "$as_me:$LINENO: checking target system type" >&5
1649 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1650 if test "${ac_cv_target+set}" = set; then
1651 echo $ECHO_N "(cached) $ECHO_C" >&6
1653 ac_cv_target_alias
=$target_alias
1654 test "x$ac_cv_target_alias" = "x" &&
1655 ac_cv_target_alias
=$ac_cv_host_alias
1656 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1657 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1658 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1659 { (exit 1); exit 1; }; }
1662 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1663 echo "${ECHO_T}$ac_cv_target" >&6
1664 target
=$ac_cv_target
1665 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1666 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1667 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1670 # The aliases save the names the user supplied, while $host etc.
1671 # will get canonicalized.
1672 test -n "$target_alias" &&
1673 test "$program_prefix$program_suffix$program_transform_name" = \
1675 program_prefix
=${target_alias}-
1679 wx_major_version_number
=2
1680 wx_minor_version_number
=7
1682 wx_subrelease_number
=0
1684 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1685 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1686 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1688 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1701 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1707 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1713 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1715 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1717 DEFAULT_wxUSE_COCOA
=0
1721 DEFAULT_wxUSE_MICROWIN
=0
1722 DEFAULT_wxUSE_MOTIF
=0
1727 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1728 DEFAULT_DEFAULT_wxUSE_GTK
=0
1729 DEFAULT_DEFAULT_wxUSE_MAC
=0
1730 DEFAULT_DEFAULT_wxUSE_MGL
=0
1731 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1733 DEFAULT_DEFAULT_wxUSE_MSW
=0
1734 DEFAULT_DEFAULT_wxUSE_PM
=0
1735 DEFAULT_DEFAULT_wxUSE_X11
=0
1740 SAMPLES_RPATH_POSTLINK
=
1742 DEFAULT_STD_FLAG
=yes
1747 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1748 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1750 cat >>confdefs.h
<<\_ACEOF
1755 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1759 cat >>confdefs.h
<<\_ACEOF
1764 if test "x$TMP" = "xalpha"; then
1766 cat >>confdefs.h
<<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_GTK
=1
1773 *-*-gnu* | *-*-k*bsd
*-gnu )
1776 if test "x$TMP" = "xalpha"; then
1778 cat >>confdefs.h
<<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK
=1
1785 *-*-irix5* | *-*-irix6* )
1788 cat >>confdefs.h
<<\_ACEOF
1792 cat >>confdefs.h
<<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1807 #define __SOLARIS__ 1
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1815 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1821 cat >>confdefs.h
<<\_ACEOF
1825 cat >>confdefs.h
<<\_ACEOF
1829 cat >>confdefs.h
<<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1838 cat >>confdefs.h
<<\_ACEOF
1839 #define __FREEBSD__ 1
1842 cat >>confdefs.h
<<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_GTK
=1
1851 cat >>confdefs.h
<<\_ACEOF
1852 #define __OPENBSD__ 1
1855 cat >>confdefs.h
<<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_GTK
=1
1864 cat >>confdefs.h
<<\_ACEOF
1865 #define __NETBSD__ 1
1868 cat >>confdefs.h
<<\_ACEOF
1872 DEFAULT_DEFAULT_wxUSE_GTK
=1
1873 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1875 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1880 cat >>confdefs.h
<<\_ACEOF
1884 cat >>confdefs.h
<<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1889 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1907 cat >>confdefs.h
<<\_ACEOF
1911 cat >>confdefs.h
<<\_ACEOF
1915 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1922 cat >>confdefs.h
<<\_ACEOF
1926 cat >>confdefs.h
<<\_ACEOF
1930 cat >>confdefs.h
<<\_ACEOF
1934 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1941 cat >>confdefs.h
<<\_ACEOF
1942 #define __UNIXWARE__ 1
1947 *-*-cygwin* | *-*-mingw32* )
1950 DEFAULT_DEFAULT_wxUSE_MSW
=1
1957 cat >>confdefs.h
<<\_ACEOF
1962 DEFAULT_DEFAULT_wxUSE_MGL
=1
1965 *-pc-os2_emx | *-pc-os2-emx )
1966 cat >>confdefs.h
<<\_ACEOF
1971 cat >>confdefs.h
<<\_ACEOF
1976 DEFAULT_DEFAULT_wxUSE_PM
=1
1978 LDFLAGS
="$LDFLAGS -Zcrtdll"
1979 ac_executable_extensions
=".exe"
1980 export ac_executable_extensions
1984 for ac_dir
in $PATH; do
1986 if test -z "$ac_TEMP_PATH"; then
1987 ac_TEMP_PATH
="$ac_dir"
1989 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1992 export PATH
="$ac_TEMP_PATH"
2001 cat >>confdefs.h
<<\_ACEOF
2005 cat >>confdefs.h
<<\_ACEOF
2006 #define __DARWIN__ 1
2009 cat >>confdefs.h
<<\_ACEOF
2010 #define TARGET_CARBON 1
2013 DEFAULT_DEFAULT_wxUSE_MAC
=1
2016 powerpc
-apple-macos* )
2018 ac_cv_c_bigendian
=yes
2020 DEFAULT_DEFAULT_wxUSE_MAC
=1
2026 cat >>confdefs.h
<<\_ACEOF
2033 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2034 echo "$as_me: error: unknown system type ${host}." >&2;}
2035 { (exit 1); exit 1; }; }
2041 wx_arg_cache_file
="configarg.cache"
2042 echo "loading argument cache $wx_arg_cache_file"
2043 rm -f ${wx_arg_cache_file}.tmp
2044 touch ${wx_arg_cache_file}.tmp
2045 touch ${wx_arg_cache_file}
2049 if test $DEBUG_CONFIGURE = 1; then
2050 DEFAULT_wxUSE_UNIVERSAL
=no
2051 DEFAULT_wxUSE_STL
=no
2053 DEFAULT_wxUSE_NANOX
=no
2055 DEFAULT_wxUSE_THREADS
=yes
2057 DEFAULT_wxUSE_SHARED
=yes
2058 DEFAULT_wxUSE_OPTIMISE
=no
2059 DEFAULT_wxUSE_PROFILE
=no
2060 DEFAULT_wxUSE_NO_DEPS
=no
2061 DEFAULT_wxUSE_NO_RTTI
=no
2062 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2063 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2064 DEFAULT_wxUSE_RPATH
=yes
2065 DEFAULT_wxUSE_PERMISSIVE
=no
2066 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2067 DEFAULT_wxUSE_DEBUG_INFO
=yes
2068 DEFAULT_wxUSE_DEBUG_GDB
=yes
2069 DEFAULT_wxUSE_MEM_TRACING
=no
2070 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2071 DEFAULT_wxUSE_DMALLOC
=no
2072 DEFAULT_wxUSE_APPLE_IEEE
=no
2074 DEFAULT_wxUSE_EXCEPTIONS
=no
2075 DEFAULT_wxUSE_LOG
=yes
2076 DEFAULT_wxUSE_LOGWINDOW
=no
2077 DEFAULT_wxUSE_LOGGUI
=no
2078 DEFAULT_wxUSE_LOGDIALOG
=no
2080 DEFAULT_wxUSE_GUI
=yes
2081 DEFAULT_wxUSE_CONTROLS
=no
2083 DEFAULT_wxUSE_REGEX
=no
2084 DEFAULT_wxUSE_XML
=no
2085 DEFAULT_wxUSE_EXPAT
=no
2086 DEFAULT_wxUSE_ZLIB
=no
2087 DEFAULT_wxUSE_LIBPNG
=no
2088 DEFAULT_wxUSE_LIBJPEG
=no
2089 DEFAULT_wxUSE_LIBTIFF
=no
2090 DEFAULT_wxUSE_LIBXPM
=no
2091 DEFAULT_wxUSE_LIBMSPACK
=no
2092 DEFAULT_wxUSE_LIBSDL
=no
2093 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2094 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2095 DEFAULT_wxUSE_LIBHILDON
=no
2096 DEFAULT_wxUSE_ODBC
=no
2097 DEFAULT_wxUSE_OPENGL
=no
2099 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2100 DEFAULT_wxUSE_STACKWALKER
=no
2101 DEFAULT_wxUSE_DEBUGREPORT
=no
2102 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2103 DEFAULT_wxUSE_STD_IOSTREAM
=no
2104 DEFAULT_wxUSE_STD_STRING
=no
2105 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2106 DEFAULT_wxUSE_DATETIME
=no
2107 DEFAULT_wxUSE_TIMER
=no
2108 DEFAULT_wxUSE_STOPWATCH
=no
2109 DEFAULT_wxUSE_FILE
=no
2110 DEFAULT_wxUSE_FFILE
=no
2111 DEFAULT_wxUSE_STDPATHS
=no
2112 DEFAULT_wxUSE_TEXTBUFFER
=no
2113 DEFAULT_wxUSE_TEXTFILE
=no
2114 DEFAULT_wxUSE_SOUND
=no
2115 DEFAULT_wxUSE_MEDIACTRL
=no
2116 DEFAULT_wxUSE_GSTREAMER8
=no
2117 DEFAULT_wxUSE_INTL
=no
2118 DEFAULT_wxUSE_CONFIG
=no
2119 DEFAULT_wxUSE_FONTMAP
=no
2120 DEFAULT_wxUSE_STREAMS
=no
2121 DEFAULT_wxUSE_SOCKETS
=no
2122 DEFAULT_wxUSE_OLE
=no
2123 DEFAULT_wxUSE_DATAOBJ
=no
2124 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2125 DEFAULT_wxUSE_JOYSTICK
=no
2126 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2127 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2128 DEFAULT_wxUSE_LONGLONG
=no
2129 DEFAULT_wxUSE_GEOMETRY
=no
2131 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2132 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2133 DEFAULT_wxUSE_POSTSCRIPT
=no
2135 DEFAULT_wxUSE_CLIPBOARD
=no
2136 DEFAULT_wxUSE_TOOLTIPS
=no
2137 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2138 DEFAULT_wxUSE_DRAGIMAGE
=no
2139 DEFAULT_wxUSE_SPLINES
=no
2140 DEFAULT_wxUSE_MOUSEWHEEL
=no
2142 DEFAULT_wxUSE_MDI
=no
2143 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2144 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2145 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2147 DEFAULT_wxUSE_RESOURCES
=no
2148 DEFAULT_wxUSE_CONSTRAINTS
=no
2149 DEFAULT_wxUSE_IPC
=no
2150 DEFAULT_wxUSE_HELP
=no
2151 DEFAULT_wxUSE_MS_HTML_HELP
=no
2152 DEFAULT_wxUSE_WXHTML_HELP
=no
2153 DEFAULT_wxUSE_TREELAYOUT
=no
2154 DEFAULT_wxUSE_METAFILE
=no
2155 DEFAULT_wxUSE_MIMETYPE
=no
2156 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2157 DEFAULT_wxUSE_PROTOCOL
=no
2158 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2159 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2160 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2161 DEFAULT_wxUSE_URL
=no
2163 DEFAULT_wxUSE_COMMONDLGS
=no
2164 DEFAULT_wxUSE_CHOICEDLG
=no
2165 DEFAULT_wxUSE_COLOURDLG
=no
2166 DEFAULT_wxUSE_DIRDLG
=no
2167 DEFAULT_wxUSE_FILEDLG
=no
2168 DEFAULT_wxUSE_FINDREPLDLG
=no
2169 DEFAULT_wxUSE_FONTDLG
=no
2170 DEFAULT_wxUSE_MSGDLG
=no
2171 DEFAULT_wxUSE_NUMBERDLG
=no
2172 DEFAULT_wxUSE_TEXTDLG
=no
2173 DEFAULT_wxUSE_SPLASH
=no
2174 DEFAULT_wxUSE_STARTUP_TIPS
=no
2175 DEFAULT_wxUSE_PROGRESSDLG
=no
2176 DEFAULT_wxUSE_WIZARDDLG
=no
2178 DEFAULT_wxUSE_MENUS
=no
2179 DEFAULT_wxUSE_MINIFRAME
=no
2180 DEFAULT_wxUSE_HTML
=no
2181 DEFAULT_wxUSE_RICHTEXT
=no
2182 DEFAULT_wxUSE_XRC
=no
2183 DEFAULT_wxUSE_WEBKIT
=no
2184 DEFAULT_wxUSE_FILESYSTEM
=no
2185 DEFAULT_wxUSE_FS_INET
=no
2186 DEFAULT_wxUSE_FS_ZIP
=no
2187 DEFAULT_wxUSE_BUSYINFO
=no
2188 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2189 DEFAULT_wxUSE_ZIPSTREAM
=no
2190 DEFAULT_wxUSE_VALIDATORS
=no
2192 DEFAULT_wxUSE_ACCEL
=no
2193 DEFAULT_wxUSE_BUTTON
=no
2194 DEFAULT_wxUSE_BMPBUTTON
=no
2195 DEFAULT_wxUSE_CALCTRL
=no
2196 DEFAULT_wxUSE_CARET
=no
2197 DEFAULT_wxUSE_CHECKBOX
=no
2198 DEFAULT_wxUSE_CHECKLST
=no
2199 DEFAULT_wxUSE_CHOICE
=no
2200 DEFAULT_wxUSE_CHOICEBOOK
=no
2201 DEFAULT_wxUSE_COMBOBOX
=no
2202 DEFAULT_wxUSE_COMBOCTRL
=no
2203 DEFAULT_wxUSE_DATEPICKCTRL
=no
2204 DEFAULT_wxUSE_DISPLAY
=no
2205 DEFAULT_wxUSE_GAUGE
=no
2206 DEFAULT_wxUSE_GRID
=no
2207 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2208 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2209 DEFAULT_wxUSE_IMAGLIST
=no
2210 DEFAULT_wxUSE_LISTBOOK
=no
2211 DEFAULT_wxUSE_LISTBOX
=no
2212 DEFAULT_wxUSE_LISTCTRL
=no
2213 DEFAULT_wxUSE_NOTEBOOK
=no
2214 DEFAULT_wxUSE_ODCOMBOBOX
=no
2215 DEFAULT_wxUSE_RADIOBOX
=no
2216 DEFAULT_wxUSE_RADIOBTN
=no
2217 DEFAULT_wxUSE_SASH
=no
2218 DEFAULT_wxUSE_SCROLLBAR
=no
2219 DEFAULT_wxUSE_SLIDER
=no
2220 DEFAULT_wxUSE_SPINBTN
=no
2221 DEFAULT_wxUSE_SPINCTRL
=no
2222 DEFAULT_wxUSE_SPLITTER
=no
2223 DEFAULT_wxUSE_STATBMP
=no
2224 DEFAULT_wxUSE_STATBOX
=no
2225 DEFAULT_wxUSE_STATLINE
=no
2226 DEFAULT_wxUSE_STATTEXT
=no
2227 DEFAULT_wxUSE_STATUSBAR
=yes
2228 DEFAULT_wxUSE_TAB_DIALOG
=no
2229 DEFAULT_wxUSE_TEXTCTRL
=no
2230 DEFAULT_wxUSE_TOGGLEBTN
=no
2231 DEFAULT_wxUSE_TOOLBAR
=no
2232 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2233 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2234 DEFAULT_wxUSE_TREEBOOK
=no
2235 DEFAULT_wxUSE_TOOLBOOK
=no
2236 DEFAULT_wxUSE_TREECTRL
=no
2237 DEFAULT_wxUSE_POPUPWIN
=no
2238 DEFAULT_wxUSE_TIPWINDOW
=no
2240 DEFAULT_wxUSE_UNICODE
=no
2241 DEFAULT_wxUSE_UNICODE_MSLU
=no
2242 DEFAULT_wxUSE_WCSRTOMBS
=no
2244 DEFAULT_wxUSE_PALETTE
=no
2245 DEFAULT_wxUSE_IMAGE
=no
2246 DEFAULT_wxUSE_GIF
=no
2247 DEFAULT_wxUSE_PCX
=no
2248 DEFAULT_wxUSE_PNM
=no
2249 DEFAULT_wxUSE_IFF
=no
2250 DEFAULT_wxUSE_XPM
=no
2251 DEFAULT_wxUSE_ICO_CUR
=no
2252 DEFAULT_wxUSE_ACCESSIBILITY
=no
2254 DEFAULT_wxUSE_MONOLITHIC
=no
2255 DEFAULT_wxUSE_PLUGINS
=no
2256 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2258 DEFAULT_wxUSE_UNIVERSAL
=no
2259 DEFAULT_wxUSE_STL
=no
2261 DEFAULT_wxUSE_NANOX
=no
2263 DEFAULT_wxUSE_THREADS
=yes
2265 DEFAULT_wxUSE_SHARED
=yes
2266 DEFAULT_wxUSE_OPTIMISE
=yes
2267 DEFAULT_wxUSE_PROFILE
=no
2268 DEFAULT_wxUSE_NO_DEPS
=no
2269 DEFAULT_wxUSE_NO_RTTI
=no
2270 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2271 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2272 DEFAULT_wxUSE_RPATH
=yes
2273 DEFAULT_wxUSE_PERMISSIVE
=no
2274 DEFAULT_wxUSE_DEBUG_FLAG
=no
2275 DEFAULT_wxUSE_DEBUG_INFO
=no
2276 DEFAULT_wxUSE_DEBUG_GDB
=no
2277 DEFAULT_wxUSE_MEM_TRACING
=no
2278 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2279 DEFAULT_wxUSE_DMALLOC
=no
2280 DEFAULT_wxUSE_APPLE_IEEE
=yes
2282 DEFAULT_wxUSE_EXCEPTIONS
=yes
2283 DEFAULT_wxUSE_LOG
=yes
2284 DEFAULT_wxUSE_LOGWINDOW
=yes
2285 DEFAULT_wxUSE_LOGGUI
=yes
2286 DEFAULT_wxUSE_LOGDIALOG
=yes
2288 DEFAULT_wxUSE_GUI
=yes
2290 DEFAULT_wxUSE_REGEX
=yes
2291 DEFAULT_wxUSE_XML
=yes
2292 DEFAULT_wxUSE_EXPAT
=yes
2293 DEFAULT_wxUSE_ZLIB
=yes
2294 DEFAULT_wxUSE_LIBPNG
=yes
2295 DEFAULT_wxUSE_LIBJPEG
=yes
2296 DEFAULT_wxUSE_LIBTIFF
=yes
2297 DEFAULT_wxUSE_LIBXPM
=yes
2298 DEFAULT_wxUSE_LIBMSPACK
=yes
2299 DEFAULT_wxUSE_LIBSDL
=no
2300 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2301 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2302 DEFAULT_wxUSE_LIBHILDON
=no
2303 DEFAULT_wxUSE_ODBC
=no
2304 DEFAULT_wxUSE_OPENGL
=no
2306 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2307 DEFAULT_wxUSE_STACKWALKER
=yes
2308 DEFAULT_wxUSE_DEBUGREPORT
=yes
2309 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2310 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2311 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2312 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2313 DEFAULT_wxUSE_DATETIME
=yes
2314 DEFAULT_wxUSE_TIMER
=yes
2315 DEFAULT_wxUSE_STOPWATCH
=yes
2316 DEFAULT_wxUSE_FILE
=yes
2317 DEFAULT_wxUSE_FFILE
=yes
2318 DEFAULT_wxUSE_STDPATHS
=yes
2319 DEFAULT_wxUSE_TEXTBUFFER
=yes
2320 DEFAULT_wxUSE_TEXTFILE
=yes
2321 DEFAULT_wxUSE_SOUND
=yes
2322 DEFAULT_wxUSE_MEDIACTRL
=no
2323 DEFAULT_wxUSE_GSTREAMER8
=no
2324 DEFAULT_wxUSE_INTL
=yes
2325 DEFAULT_wxUSE_CONFIG
=yes
2326 DEFAULT_wxUSE_FONTMAP
=yes
2327 DEFAULT_wxUSE_STREAMS
=yes
2328 DEFAULT_wxUSE_SOCKETS
=yes
2329 DEFAULT_wxUSE_OLE
=yes
2330 DEFAULT_wxUSE_DATAOBJ
=yes
2331 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2332 DEFAULT_wxUSE_JOYSTICK
=yes
2333 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2334 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2335 DEFAULT_wxUSE_LONGLONG
=yes
2336 DEFAULT_wxUSE_GEOMETRY
=yes
2338 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2339 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2340 DEFAULT_wxUSE_POSTSCRIPT
=yes
2342 DEFAULT_wxUSE_CLIPBOARD
=yes
2343 DEFAULT_wxUSE_TOOLTIPS
=yes
2344 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2345 DEFAULT_wxUSE_DRAGIMAGE
=yes
2346 DEFAULT_wxUSE_SPLINES
=yes
2347 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2349 DEFAULT_wxUSE_MDI
=yes
2350 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2351 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2352 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2354 DEFAULT_wxUSE_RESOURCES
=no
2355 DEFAULT_wxUSE_CONSTRAINTS
=yes
2356 DEFAULT_wxUSE_IPC
=yes
2357 DEFAULT_wxUSE_HELP
=yes
2358 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2359 DEFAULT_wxUSE_WXHTML_HELP
=yes
2360 DEFAULT_wxUSE_TREELAYOUT
=yes
2361 DEFAULT_wxUSE_METAFILE
=yes
2362 DEFAULT_wxUSE_MIMETYPE
=yes
2363 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2364 DEFAULT_wxUSE_PROTOCOL
=yes
2365 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2366 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2367 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2368 DEFAULT_wxUSE_URL
=yes
2370 DEFAULT_wxUSE_COMMONDLGS
=yes
2371 DEFAULT_wxUSE_CHOICEDLG
=yes
2372 DEFAULT_wxUSE_COLOURDLG
=yes
2373 DEFAULT_wxUSE_DIRDLG
=yes
2374 DEFAULT_wxUSE_FILEDLG
=yes
2375 DEFAULT_wxUSE_FINDREPLDLG
=yes
2376 DEFAULT_wxUSE_FONTDLG
=yes
2377 DEFAULT_wxUSE_MSGDLG
=yes
2378 DEFAULT_wxUSE_NUMBERDLG
=yes
2379 DEFAULT_wxUSE_TEXTDLG
=yes
2380 DEFAULT_wxUSE_SPLASH
=yes
2381 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2382 DEFAULT_wxUSE_PROGRESSDLG
=yes
2383 DEFAULT_wxUSE_WIZARDDLG
=yes
2385 DEFAULT_wxUSE_MENUS
=yes
2386 DEFAULT_wxUSE_MINIFRAME
=yes
2387 DEFAULT_wxUSE_HTML
=yes
2388 DEFAULT_wxUSE_RICHTEXT
=yes
2389 DEFAULT_wxUSE_XRC
=yes
2390 DEFAULT_wxUSE_WEBKIT
=yes
2391 DEFAULT_wxUSE_FILESYSTEM
=yes
2392 DEFAULT_wxUSE_FS_INET
=yes
2393 DEFAULT_wxUSE_FS_ZIP
=yes
2394 DEFAULT_wxUSE_BUSYINFO
=yes
2395 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2396 DEFAULT_wxUSE_ZIPSTREAM
=yes
2397 DEFAULT_wxUSE_VALIDATORS
=yes
2399 DEFAULT_wxUSE_ACCEL
=yes
2400 DEFAULT_wxUSE_BUTTON
=yes
2401 DEFAULT_wxUSE_BMPBUTTON
=yes
2402 DEFAULT_wxUSE_CALCTRL
=yes
2403 DEFAULT_wxUSE_CARET
=yes
2404 DEFAULT_wxUSE_CHECKBOX
=yes
2405 DEFAULT_wxUSE_CHECKLST
=yes
2406 DEFAULT_wxUSE_CHOICE
=yes
2407 DEFAULT_wxUSE_CHOICEBOOK
=yes
2408 DEFAULT_wxUSE_COMBOBOX
=yes
2409 DEFAULT_wxUSE_COMBOCTRL
=yes
2410 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2411 DEFAULT_wxUSE_DISPLAY
=yes
2412 DEFAULT_wxUSE_GAUGE
=yes
2413 DEFAULT_wxUSE_GRID
=yes
2414 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2415 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2416 DEFAULT_wxUSE_IMAGLIST
=yes
2417 DEFAULT_wxUSE_LISTBOOK
=yes
2418 DEFAULT_wxUSE_LISTBOX
=yes
2419 DEFAULT_wxUSE_LISTCTRL
=yes
2420 DEFAULT_wxUSE_NOTEBOOK
=yes
2421 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2422 DEFAULT_wxUSE_RADIOBOX
=yes
2423 DEFAULT_wxUSE_RADIOBTN
=yes
2424 DEFAULT_wxUSE_SASH
=yes
2425 DEFAULT_wxUSE_SCROLLBAR
=yes
2426 DEFAULT_wxUSE_SLIDER
=yes
2427 DEFAULT_wxUSE_SPINBTN
=yes
2428 DEFAULT_wxUSE_SPINCTRL
=yes
2429 DEFAULT_wxUSE_SPLITTER
=yes
2430 DEFAULT_wxUSE_STATBMP
=yes
2431 DEFAULT_wxUSE_STATBOX
=yes
2432 DEFAULT_wxUSE_STATLINE
=yes
2433 DEFAULT_wxUSE_STATTEXT
=yes
2434 DEFAULT_wxUSE_STATUSBAR
=yes
2435 DEFAULT_wxUSE_TAB_DIALOG
=no
2436 DEFAULT_wxUSE_TEXTCTRL
=yes
2437 DEFAULT_wxUSE_TOGGLEBTN
=yes
2438 DEFAULT_wxUSE_TOOLBAR
=yes
2439 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2440 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2441 DEFAULT_wxUSE_TREEBOOK
=yes
2442 DEFAULT_wxUSE_TOOLBOOK
=yes
2443 DEFAULT_wxUSE_TREECTRL
=yes
2444 DEFAULT_wxUSE_POPUPWIN
=yes
2445 DEFAULT_wxUSE_TIPWINDOW
=yes
2447 DEFAULT_wxUSE_UNICODE
=no
2448 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2449 DEFAULT_wxUSE_WCSRTOMBS
=no
2451 DEFAULT_wxUSE_PALETTE
=yes
2452 DEFAULT_wxUSE_IMAGE
=yes
2453 DEFAULT_wxUSE_GIF
=yes
2454 DEFAULT_wxUSE_PCX
=yes
2455 DEFAULT_wxUSE_IFF
=no
2456 DEFAULT_wxUSE_PNM
=yes
2457 DEFAULT_wxUSE_XPM
=yes
2458 DEFAULT_wxUSE_ICO_CUR
=yes
2459 DEFAULT_wxUSE_ACCESSIBILITY
=no
2461 DEFAULT_wxUSE_MONOLITHIC
=no
2462 DEFAULT_wxUSE_PLUGINS
=no
2463 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2465 DEFAULT_wxUSE_GTK2
=yes
2471 for toolkit
in `echo $ALL_TOOLKITS`; do
2472 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2473 if test "x$LINE" != "x" ; then
2474 has_toolkit_in_cache
=1
2475 eval "DEFAULT_$LINE"
2476 eval "CACHE_$toolkit=1"
2478 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2479 if test "x$LINE" != "x" ; then
2480 eval "DEFAULT_$LINE"
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2491 # Check whether --enable-gui or --disable-gui was given.
2492 if test "${enable_gui+set}" = set; then
2493 enableval
="$enable_gui"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_gui
='wxUSE_GUI=yes'
2498 ac_cv_use_gui
='wxUSE_GUI=no'
2503 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2514 eval "$ac_cv_use_gui"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_GUI" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2532 # Check whether --enable-monolithic or --disable-monolithic was given.
2533 if test "${enable_monolithic+set}" = set; then
2534 enableval
="$enable_monolithic"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2539 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2544 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2555 eval "$ac_cv_use_monolithic"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_MONOLITHIC" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2571 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2573 # Check whether --enable-plugins or --disable-plugins was given.
2574 if test "${enable_plugins+set}" = set; then
2575 enableval
="$enable_plugins"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2580 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2585 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x
; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2596 eval "$ac_cv_use_plugins"
2597 if test "$no_cache" != 1; then
2598 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2601 if test "$wxUSE_PLUGINS" = yes; then
2602 echo "$as_me:$LINENO: result: yes" >&5
2603 echo "${ECHO_T}yes" >&6
2605 echo "$as_me:$LINENO: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2611 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2612 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2615 # Check whether --with-subdirs or --without-subdirs was given.
2616 if test "${with_subdirs+set}" = set; then
2617 withval
="$with_subdirs"
2619 if test "$withval" = yes; then
2620 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2622 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2627 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2638 eval "$ac_cv_use_subdirs"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2643 if test "$wxWITH_SUBDIRS" = yes; then
2644 echo "$as_me:$LINENO: result: yes" >&5
2645 echo "${ECHO_T}yes" >&6
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2652 if test "$wxUSE_GUI" = "yes"; then
2656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2657 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2659 # Check whether --enable-universal or --disable-universal was given.
2660 if test "${enable_universal+set}" = set; then
2661 enableval
="$enable_universal"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2666 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2671 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2682 eval "$ac_cv_use_universal"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_UNIVERSAL" = yes; then
2688 echo "$as_me:$LINENO: result: yes" >&5
2689 echo "${ECHO_T}yes" >&6
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2696 # Check whether --with-gtk or --without-gtk was given.
2697 if test "${with_gtk+set}" = set; then
2699 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2702 # Check whether --with-motif or --without-motif was given.
2703 if test "${with_motif+set}" = set; then
2704 withval
="$with_motif"
2705 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2708 # Check whether --with-mac or --without-mac was given.
2709 if test "${with_mac+set}" = set; then
2711 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2714 # Check whether --with-cocoa or --without-cocoa was given.
2715 if test "${with_cocoa+set}" = set; then
2716 withval
="$with_cocoa"
2717 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2720 # Check whether --with-wine or --without-wine was given.
2721 if test "${with_wine+set}" = set; then
2722 withval
="$with_wine"
2723 wxUSE_WINE
="$withval" CACHE_WINE
=1
2726 # Check whether --with-msw or --without-msw was given.
2727 if test "${with_msw+set}" = set; then
2729 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2732 # Check whether --with-pm or --without-pm was given.
2733 if test "${with_pm+set}" = set; then
2735 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2738 # Check whether --with-mgl or --without-mgl was given.
2739 if test "${with_mgl+set}" = set; then
2741 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2744 # Check whether --with-microwin or --without-microwin was given.
2745 if test "${with_microwin+set}" = set; then
2746 withval
="$with_microwin"
2747 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2750 # Check whether --with-x11 or --without-x11 was given.
2751 if test "${with_x11+set}" = set; then
2753 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2758 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2760 # Check whether --enable-nanox or --disable-nanox was given.
2761 if test "${enable_nanox+set}" = set; then
2762 enableval
="$enable_nanox"
2764 if test "$enableval" = yes; then
2765 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2767 ac_cv_use_nanox
='wxUSE_NANOX=no'
2772 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x
; then
2774 eval "DEFAULT_$LINE"
2779 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2783 eval "$ac_cv_use_nanox"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2788 if test "$wxUSE_NANOX" = yes; then
2789 echo "$as_me:$LINENO: result: yes" >&5
2790 echo "${ECHO_T}yes" >&6
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2797 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2798 if test "${enable_gtk2+set}" = set; then
2799 enableval
="$enable_gtk2"
2800 wxUSE_GTK2
="$enableval"
2804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2805 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2807 # Check whether --enable-gpe or --disable-gpe was given.
2808 if test "${enable_gpe+set}" = set; then
2809 enableval
="$enable_gpe"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_gpe
='wxUSE_GPE=yes'
2814 ac_cv_use_gpe
='wxUSE_GPE=no'
2819 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x
; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2830 eval "$ac_cv_use_gpe"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_GPE" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2845 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2846 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2849 # Check whether --with-libpng or --without-libpng was given.
2850 if test "${with_libpng+set}" = set; then
2851 withval
="$with_libpng"
2853 if test "$withval" = yes; then
2854 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2855 elif test "$withval" = no
; then
2856 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2857 elif test "$withval" = sys
; then
2858 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2859 elif test "$withval" = builtin; then
2860 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2869 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x
; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2880 eval "$ac_cv_use_libpng"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_LIBPNG" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2888 elif test "$wxUSE_LIBPNG" = no
; then
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 elif test "$wxUSE_LIBPNG" = sys
; then
2892 echo "$as_me:$LINENO: result: system version" >&5
2893 echo "${ECHO_T}system version" >&6
2894 elif test "$wxUSE_LIBPNG" = builtin; then
2895 echo "$as_me:$LINENO: result: builtin version" >&5
2896 echo "${ECHO_T}builtin version" >&6
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2905 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2908 # Check whether --with-libjpeg or --without-libjpeg was given.
2909 if test "${with_libjpeg+set}" = set; then
2910 withval
="$with_libjpeg"
2912 if test "$withval" = yes; then
2913 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2914 elif test "$withval" = no
; then
2915 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2916 elif test "$withval" = sys
; then
2917 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2918 elif test "$withval" = builtin; then
2919 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2921 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2922 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2923 { (exit 1); exit 1; }; }
2928 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2929 if test "x$LINE" != x
; then
2930 eval "DEFAULT_$LINE"
2935 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2939 eval "$ac_cv_use_libjpeg"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2944 if test "$wxUSE_LIBJPEG" = yes; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2947 elif test "$wxUSE_LIBJPEG" = no
; then
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2950 elif test "$wxUSE_LIBJPEG" = sys
; then
2951 echo "$as_me:$LINENO: result: system version" >&5
2952 echo "${ECHO_T}system version" >&6
2953 elif test "$wxUSE_LIBJPEG" = builtin; then
2954 echo "$as_me:$LINENO: result: builtin version" >&5
2955 echo "${ECHO_T}builtin version" >&6
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2958 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2963 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2964 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2967 # Check whether --with-libtiff or --without-libtiff was given.
2968 if test "${with_libtiff+set}" = set; then
2969 withval
="$with_libtiff"
2971 if test "$withval" = yes; then
2972 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2973 elif test "$withval" = no
; then
2974 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2975 elif test "$withval" = sys
; then
2976 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2977 elif test "$withval" = builtin; then
2978 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2980 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2987 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x
; then
2989 eval "DEFAULT_$LINE"
2994 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2998 eval "$ac_cv_use_libtiff"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3003 if test "$wxUSE_LIBTIFF" = yes; then
3004 echo "$as_me:$LINENO: result: yes" >&5
3005 echo "${ECHO_T}yes" >&6
3006 elif test "$wxUSE_LIBTIFF" = no
; then
3007 echo "$as_me:$LINENO: result: no" >&5
3008 echo "${ECHO_T}no" >&6
3009 elif test "$wxUSE_LIBTIFF" = sys
; then
3010 echo "$as_me:$LINENO: result: system version" >&5
3011 echo "${ECHO_T}system version" >&6
3012 elif test "$wxUSE_LIBTIFF" = builtin; then
3013 echo "$as_me:$LINENO: result: builtin version" >&5
3014 echo "${ECHO_T}builtin version" >&6
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3022 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3023 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3026 # Check whether --with-libxpm or --without-libxpm was given.
3027 if test "${with_libxpm+set}" = set; then
3028 withval
="$with_libxpm"
3030 if test "$withval" = yes; then
3031 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3032 elif test "$withval" = no
; then
3033 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3034 elif test "$withval" = sys
; then
3035 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3036 elif test "$withval" = builtin; then
3037 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3039 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3040 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3041 { (exit 1); exit 1; }; }
3046 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x
; then
3048 eval "DEFAULT_$LINE"
3053 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3057 eval "$ac_cv_use_libxpm"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3062 if test "$wxUSE_LIBXPM" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3065 elif test "$wxUSE_LIBXPM" = no
; then
3066 echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6
3068 elif test "$wxUSE_LIBXPM" = sys
; then
3069 echo "$as_me:$LINENO: result: system version" >&5
3070 echo "${ECHO_T}system version" >&6
3071 elif test "$wxUSE_LIBXPM" = builtin; then
3072 echo "$as_me:$LINENO: result: builtin version" >&5
3073 echo "${ECHO_T}builtin version" >&6
3075 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3076 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3077 { (exit 1); exit 1; }; }
3082 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3083 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3086 # Check whether --with-libmspack or --without-libmspack was given.
3087 if test "${with_libmspack+set}" = set; then
3088 withval
="$with_libmspack"
3090 if test "$withval" = yes; then
3091 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3093 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3098 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3109 eval "$ac_cv_use_libmspack"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_LIBMSPACK" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3124 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3125 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3128 # Check whether --with-sdl or --without-sdl was given.
3129 if test "${with_sdl+set}" = set; then
3132 if test "$withval" = yes; then
3133 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3135 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3140 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x
; then
3142 eval "DEFAULT_$LINE"
3147 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3151 eval "$ac_cv_use_sdl"
3152 if test "$no_cache" != 1; then
3153 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3156 if test "$wxUSE_LIBSDL" = yes; then
3157 echo "$as_me:$LINENO: result: yes" >&5
3158 echo "${ECHO_T}yes" >&6
3160 echo "$as_me:$LINENO: result: no" >&5
3161 echo "${ECHO_T}no" >&6
3166 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3167 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3170 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3171 if test "${with_gnomeprint+set}" = set; then
3172 withval
="$with_gnomeprint"
3174 if test "$withval" = yes; then
3175 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3177 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3182 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x
; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3193 eval "$ac_cv_use_gnomeprint"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3208 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3209 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3212 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3213 if test "${with_gnomevfs+set}" = set; then
3214 withval
="$with_gnomevfs"
3216 if test "$withval" = yes; then
3217 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3219 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3224 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3225 if test "x$LINE" != x
; then
3226 eval "DEFAULT_$LINE"
3231 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3235 eval "$ac_cv_use_gnomevfs"
3236 if test "$no_cache" != 1; then
3237 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3240 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3241 echo "$as_me:$LINENO: result: yes" >&5
3242 echo "${ECHO_T}yes" >&6
3244 echo "$as_me:$LINENO: result: no" >&5
3245 echo "${ECHO_T}no" >&6
3250 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3251 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3254 # Check whether --with-hildon or --without-hildon was given.
3255 if test "${with_hildon+set}" = set; then
3256 withval
="$with_hildon"
3258 if test "$withval" = yes; then
3259 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3261 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3266 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x
; then
3268 eval "DEFAULT_$LINE"
3273 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3277 eval "$ac_cv_use_hildon"
3278 if test "$no_cache" != 1; then
3279 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3282 if test "$wxUSE_LIBHILDON" = yes; then
3283 echo "$as_me:$LINENO: result: yes" >&5
3284 echo "${ECHO_T}yes" >&6
3286 echo "$as_me:$LINENO: result: no" >&5
3287 echo "${ECHO_T}no" >&6
3292 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3293 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3296 # Check whether --with-opengl or --without-opengl was given.
3297 if test "${with_opengl+set}" = set; then
3298 withval
="$with_opengl"
3300 if test "$withval" = yes; then
3301 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3303 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3308 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3309 if test "x$LINE" != x
; then
3310 eval "DEFAULT_$LINE"
3315 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3319 eval "$ac_cv_use_opengl"
3320 if test "$no_cache" != 1; then
3321 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3324 if test "$wxUSE_OPENGL" = yes; then
3325 echo "$as_me:$LINENO: result: yes" >&5
3326 echo "${ECHO_T}yes" >&6
3328 echo "$as_me:$LINENO: result: no" >&5
3329 echo "${ECHO_T}no" >&6
3337 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3338 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3341 # Check whether --with-dmalloc or --without-dmalloc was given.
3342 if test "${with_dmalloc+set}" = set; then
3343 withval
="$with_dmalloc"
3345 if test "$withval" = yes; then
3346 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3348 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3353 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x
; then
3355 eval "DEFAULT_$LINE"
3360 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3364 eval "$ac_cv_use_dmalloc"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_DMALLOC" = yes; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3378 echo "$as_me:$LINENO: checking for --with-regex" >&5
3379 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3382 # Check whether --with-regex or --without-regex was given.
3383 if test "${with_regex+set}" = set; then
3384 withval
="$with_regex"
3386 if test "$withval" = yes; then
3387 ac_cv_use_regex
='wxUSE_REGEX=yes'
3388 elif test "$withval" = no
; then
3389 ac_cv_use_regex
='wxUSE_REGEX=no'
3390 elif test "$withval" = sys
; then
3391 ac_cv_use_regex
='wxUSE_REGEX=sys'
3392 elif test "$withval" = builtin; then
3393 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3395 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3396 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3397 { (exit 1); exit 1; }; }
3402 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x
; then
3404 eval "DEFAULT_$LINE"
3409 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3413 eval "$ac_cv_use_regex"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3418 if test "$wxUSE_REGEX" = yes; then
3419 echo "$as_me:$LINENO: result: yes" >&5
3420 echo "${ECHO_T}yes" >&6
3421 elif test "$wxUSE_REGEX" = no
; then
3422 echo "$as_me:$LINENO: result: no" >&5
3423 echo "${ECHO_T}no" >&6
3424 elif test "$wxUSE_REGEX" = sys
; then
3425 echo "$as_me:$LINENO: result: system version" >&5
3426 echo "${ECHO_T}system version" >&6
3427 elif test "$wxUSE_REGEX" = builtin; then
3428 echo "$as_me:$LINENO: result: builtin version" >&5
3429 echo "${ECHO_T}builtin version" >&6
3431 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3432 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3433 { (exit 1); exit 1; }; }
3437 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3438 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3441 # Check whether --with-zlib or --without-zlib was given.
3442 if test "${with_zlib+set}" = set; then
3443 withval
="$with_zlib"
3445 if test "$withval" = yes; then
3446 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3447 elif test "$withval" = no
; then
3448 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3449 elif test "$withval" = sys
; then
3450 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3451 elif test "$withval" = builtin; then
3452 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3454 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3455 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3456 { (exit 1); exit 1; }; }
3461 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3462 if test "x$LINE" != x
; then
3463 eval "DEFAULT_$LINE"
3468 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3472 eval "$ac_cv_use_zlib"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_ZLIB" = yes; then
3478 echo "$as_me:$LINENO: result: yes" >&5
3479 echo "${ECHO_T}yes" >&6
3480 elif test "$wxUSE_ZLIB" = no
; then
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3483 elif test "$wxUSE_ZLIB" = sys
; then
3484 echo "$as_me:$LINENO: result: system version" >&5
3485 echo "${ECHO_T}system version" >&6
3486 elif test "$wxUSE_ZLIB" = builtin; then
3487 echo "$as_me:$LINENO: result: builtin version" >&5
3488 echo "${ECHO_T}builtin version" >&6
3490 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3491 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3492 { (exit 1); exit 1; }; }
3496 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3497 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3500 # Check whether --with-odbc or --without-odbc was given.
3501 if test "${with_odbc+set}" = set; then
3502 withval
="$with_odbc"
3504 if test "$withval" = yes; then
3505 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3506 elif test "$withval" = no
; then
3507 ac_cv_use_odbc
='wxUSE_ODBC=no'
3508 elif test "$withval" = sys
; then
3509 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3510 elif test "$withval" = builtin; then
3511 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3520 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x
; then
3522 eval "DEFAULT_$LINE"
3527 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3531 eval "$ac_cv_use_odbc"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_ODBC" = yes; then
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3539 elif test "$wxUSE_ODBC" = no
; then
3540 echo "$as_me:$LINENO: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3542 elif test "$wxUSE_ODBC" = sys
; then
3543 echo "$as_me:$LINENO: result: system version" >&5
3544 echo "${ECHO_T}system version" >&6
3545 elif test "$wxUSE_ODBC" = builtin; then
3546 echo "$as_me:$LINENO: result: builtin version" >&5
3547 echo "${ECHO_T}builtin version" >&6
3549 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3550 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3551 { (exit 1); exit 1; }; }
3555 echo "$as_me:$LINENO: checking for --with-expat" >&5
3556 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3559 # Check whether --with-expat or --without-expat was given.
3560 if test "${with_expat+set}" = set; then
3561 withval
="$with_expat"
3563 if test "$withval" = yes; then
3564 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3565 elif test "$withval" = no
; then
3566 ac_cv_use_expat
='wxUSE_EXPAT=no'
3567 elif test "$withval" = sys
; then
3568 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3569 elif test "$withval" = builtin; then
3570 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3579 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x
; then
3581 eval "DEFAULT_$LINE"
3586 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3590 eval "$ac_cv_use_expat"
3591 if test "$no_cache" != 1; then
3592 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3595 if test "$wxUSE_EXPAT" = yes; then
3596 echo "$as_me:$LINENO: result: yes" >&5
3597 echo "${ECHO_T}yes" >&6
3598 elif test "$wxUSE_EXPAT" = no
; then
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3601 elif test "$wxUSE_EXPAT" = sys
; then
3602 echo "$as_me:$LINENO: result: system version" >&5
3603 echo "${ECHO_T}system version" >&6
3604 elif test "$wxUSE_EXPAT" = builtin; then
3605 echo "$as_me:$LINENO: result: builtin version" >&5
3606 echo "${ECHO_T}builtin version" >&6
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3618 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3620 # Check whether --enable-shared or --disable-shared was given.
3621 if test "${enable_shared+set}" = set; then
3622 enableval
="$enable_shared"
3624 if test "$enableval" = yes; then
3625 ac_cv_use_shared
='wxUSE_SHARED=yes'
3627 ac_cv_use_shared
='wxUSE_SHARED=no'
3632 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x
; then
3634 eval "DEFAULT_$LINE"
3639 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3643 eval "$ac_cv_use_shared"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_SHARED" = 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
3658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3659 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3661 # Check whether --enable-optimise or --disable-optimise was given.
3662 if test "${enable_optimise+set}" = set; then
3663 enableval
="$enable_optimise"
3665 if test "$enableval" = yes; then
3666 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3668 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3673 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x
; then
3675 eval "DEFAULT_$LINE"
3680 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3684 eval "$ac_cv_use_optimise"
3685 if test "$no_cache" != 1; then
3686 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3689 if test "$wxUSE_OPTIMISE" = yes; then
3690 echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6
3693 echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6
3699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3700 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3702 # Check whether --enable-debug or --disable-debug was given.
3703 if test "${enable_debug+set}" = set; then
3704 enableval
="$enable_debug"
3706 if test "$enableval" = yes; then
3707 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3709 ac_cv_use_debug
='wxUSE_DEBUG=no'
3714 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x
; then
3716 eval "DEFAULT_$LINE"
3721 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3725 eval "$ac_cv_use_debug"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3730 if test "$wxUSE_DEBUG" = yes; then
3731 echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3741 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3743 # Check whether --enable-stl or --disable-stl was given.
3744 if test "${enable_stl+set}" = set; then
3745 enableval
="$enable_stl"
3747 if test "$enableval" = yes; then
3748 ac_cv_use_stl
='wxUSE_STL=yes'
3750 ac_cv_use_stl
='wxUSE_STL=no'
3755 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x
; then
3757 eval "DEFAULT_$LINE"
3762 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3766 eval "$ac_cv_use_stl"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3771 if test "$wxUSE_STL" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3779 if test "$USE_OS2" = "1"; then
3780 DEFAULT_wxUSE_OMF
=no
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3784 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3786 # Check whether --enable-omf or --disable-omf was given.
3787 if test "${enable_omf+set}" = set; then
3788 enableval
="$enable_omf"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_omf
='wxUSE_OMF=yes'
3793 ac_cv_use_omf
='wxUSE_OMF=no'
3798 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x
; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3809 eval "$ac_cv_use_omf"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_OMF" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3824 if test "$wxUSE_DEBUG" = "yes"; then
3825 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3826 DEFAULT_wxUSE_DEBUG_INFO
=yes
3828 elif test "$wxUSE_DEBUG" = "no"; then
3829 DEFAULT_wxUSE_DEBUG_FLAG
=no
3830 DEFAULT_wxUSE_DEBUG_INFO
=no
3836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3837 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3839 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3840 if test "${enable_debug_flag+set}" = set; then
3841 enableval
="$enable_debug_flag"
3843 if test "$enableval" = yes; then
3844 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3846 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3851 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x
; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3862 eval "$ac_cv_use_debug_flag"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_DEBUG_FLAG" = 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}-debug_info" >&5
3878 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3880 # Check whether --enable-debug_info or --disable-debug_info was given.
3881 if test "${enable_debug_info+set}" = set; then
3882 enableval
="$enable_debug_info"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3887 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3892 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3903 eval "$ac_cv_use_debug_info"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_DEBUG_INFO" = 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}-debug_gdb" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3921 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3922 if test "${enable_debug_gdb+set}" = set; then
3923 enableval
="$enable_debug_gdb"
3925 if test "$enableval" = yes; then
3926 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3928 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3933 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x
; then
3935 eval "DEFAULT_$LINE"
3940 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3944 eval "$ac_cv_use_debug_gdb"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3949 if test "$wxUSE_DEBUG_GDB" = 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}-debug_cntxt" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3962 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3963 if test "${enable_debug_cntxt+set}" = set; then
3964 enableval
="$enable_debug_cntxt"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3969 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3974 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x
; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3985 eval "$ac_cv_use_debug_cntxt"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3990 if test "$wxUSE_DEBUG_CONTEXT" = 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}-mem_tracing" >&5
4001 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4003 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4004 if test "${enable_mem_tracing+set}" = set; then
4005 enableval
="$enable_mem_tracing"
4007 if test "$enableval" = yes; then
4008 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4010 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4015 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x
; then
4017 eval "DEFAULT_$LINE"
4022 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4026 eval "$ac_cv_use_mem_tracing"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_MEM_TRACING" = 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}-profile" >&5
4042 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4044 # Check whether --enable-profile or --disable-profile was given.
4045 if test "${enable_profile+set}" = set; then
4046 enableval
="$enable_profile"
4048 if test "$enableval" = yes; then
4049 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4051 ac_cv_use_profile
='wxUSE_PROFILE=no'
4056 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x
; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4067 eval "$ac_cv_use_profile"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_PROFILE" = 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_rtti" >&5
4083 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4085 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4086 if test "${enable_no_rtti+set}" = set; then
4087 enableval
="$enable_no_rtti"
4089 if test "$enableval" = yes; then
4090 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4092 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4097 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x
; then
4099 eval "DEFAULT_$LINE"
4104 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4108 eval "$ac_cv_use_no_rtti"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4113 if test "$wxUSE_NO_RTTI" = 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
4123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4124 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4126 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4127 if test "${enable_no_exceptions+set}" = set; then
4128 enableval
="$enable_no_exceptions"
4130 if test "$enableval" = yes; then
4131 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4133 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4138 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x
; then
4140 eval "DEFAULT_$LINE"
4145 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4149 eval "$ac_cv_use_no_exceptions"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4154 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4155 echo "$as_me:$LINENO: result: yes" >&5
4156 echo "${ECHO_T}yes" >&6
4158 echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6
4164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4165 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4167 # Check whether --enable-permissive or --disable-permissive was given.
4168 if test "${enable_permissive+set}" = set; then
4169 enableval
="$enable_permissive"
4171 if test "$enableval" = yes; then
4172 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4174 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4179 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4180 if test "x$LINE" != x
; then
4181 eval "DEFAULT_$LINE"
4186 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4190 eval "$ac_cv_use_permissive"
4191 if test "$no_cache" != 1; then
4192 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4195 if test "$wxUSE_PERMISSIVE" = yes; then
4196 echo "$as_me:$LINENO: result: yes" >&5
4197 echo "${ECHO_T}yes" >&6
4199 echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6
4205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4206 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4208 # Check whether --enable-no_deps or --disable-no_deps was given.
4209 if test "${enable_no_deps+set}" = set; then
4210 enableval
="$enable_no_deps"
4212 if test "$enableval" = yes; then
4213 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4215 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4220 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x
; then
4222 eval "DEFAULT_$LINE"
4227 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4231 eval "$ac_cv_use_no_deps"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4236 if test "$wxUSE_NO_DEPS" = yes; then
4237 echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6
4240 echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4247 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4249 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4250 if test "${enable_universal_binary+set}" = set; then
4251 enableval
="$enable_universal_binary"
4253 if test "$enableval" = yes; then
4254 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4256 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4261 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4262 if test "x$LINE" != x
; then
4263 eval "DEFAULT_$LINE"
4268 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4272 eval "$ac_cv_use_universal_binary"
4273 if test "$no_cache" != 1; then
4274 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4277 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4278 echo "$as_me:$LINENO: result: yes" >&5
4279 echo "${ECHO_T}yes" >&6
4281 echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6
4288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4291 # Check whether --enable-compat24 or --disable-compat24 was given.
4292 if test "${enable_compat24+set}" = set; then
4293 enableval
="$enable_compat24"
4295 if test "$enableval" = yes; then
4296 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4298 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4303 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x
; then
4305 eval "DEFAULT_$LINE"
4310 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4314 eval "$ac_cv_use_compat24"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4319 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4320 echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4328 enablestring
=disable
4329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4332 # Check whether --enable-compat26 or --disable-compat26 was given.
4333 if test "${enable_compat26+set}" = set; then
4334 enableval
="$enable_compat26"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4339 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4344 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4355 eval "$ac_cv_use_compat26"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4360 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4361 echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4374 # Check whether --enable-rpath or --disable-rpath was given.
4375 if test "${enable_rpath+set}" = set; then
4376 enableval
="$enable_rpath"
4378 if test "$enableval" = yes; then
4379 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4381 ac_cv_use_rpath
='wxUSE_RPATH=no'
4386 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x
; then
4388 eval "DEFAULT_$LINE"
4393 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4397 eval "$ac_cv_use_rpath"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_RPATH" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4418 # Check whether --enable-intl or --disable-intl was given.
4419 if test "${enable_intl+set}" = set; then
4420 enableval
="$enable_intl"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_intl
='wxUSE_INTL=yes'
4425 ac_cv_use_intl
='wxUSE_INTL=no'
4430 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4441 eval "$ac_cv_use_intl"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_INTL" = yes; then
4447 echo "$as_me:$LINENO: result: yes" >&5
4448 echo "${ECHO_T}yes" >&6
4450 echo "$as_me:$LINENO: result: no" >&5
4451 echo "${ECHO_T}no" >&6
4456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4459 # Check whether --enable-config or --disable-config was given.
4460 if test "${enable_config+set}" = set; then
4461 enableval
="$enable_config"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_config
='wxUSE_CONFIG=yes'
4466 ac_cv_use_config
='wxUSE_CONFIG=no'
4471 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4482 eval "$ac_cv_use_config"
4483 if test "$no_cache" != 1; then
4484 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4487 if test "$wxUSE_CONFIG" = yes; then
4488 echo "$as_me:$LINENO: result: yes" >&5
4489 echo "${ECHO_T}yes" >&6
4491 echo "$as_me:$LINENO: result: no" >&5
4492 echo "${ECHO_T}no" >&6
4498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4499 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4501 # Check whether --enable-protocols or --disable-protocols was given.
4502 if test "${enable_protocols+set}" = set; then
4503 enableval
="$enable_protocols"
4505 if test "$enableval" = yes; then
4506 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4508 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4513 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x
; then
4515 eval "DEFAULT_$LINE"
4520 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4524 eval "$ac_cv_use_protocols"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4529 if test "$wxUSE_PROTOCOL" = 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}-ftp" >&5
4540 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4542 # Check whether --enable-ftp or --disable-ftp was given.
4543 if test "${enable_ftp+set}" = set; then
4544 enableval
="$enable_ftp"
4546 if test "$enableval" = yes; then
4547 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4549 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4554 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x
; then
4556 eval "DEFAULT_$LINE"
4561 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4565 eval "$ac_cv_use_ftp"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4570 if test "$wxUSE_PROTOCOL_FTP" = 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}-http" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4583 # Check whether --enable-http or --disable-http was given.
4584 if test "${enable_http+set}" = set; then
4585 enableval
="$enable_http"
4587 if test "$enableval" = yes; then
4588 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4590 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4595 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x
; then
4597 eval "DEFAULT_$LINE"
4602 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4606 eval "$ac_cv_use_http"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_PROTOCOL_HTTP" = 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
4621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4622 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4624 # Check whether --enable-fileproto or --disable-fileproto was given.
4625 if test "${enable_fileproto+set}" = set; then
4626 enableval
="$enable_fileproto"
4628 if test "$enableval" = yes; then
4629 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4631 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4636 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4637 if test "x$LINE" != x
; then
4638 eval "DEFAULT_$LINE"
4643 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4647 eval "$ac_cv_use_fileproto"
4648 if test "$no_cache" != 1; then
4649 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4652 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4653 echo "$as_me:$LINENO: result: yes" >&5
4654 echo "${ECHO_T}yes" >&6
4656 echo "$as_me:$LINENO: result: no" >&5
4657 echo "${ECHO_T}no" >&6
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4665 # Check whether --enable-sockets or --disable-sockets was given.
4666 if test "${enable_sockets+set}" = set; then
4667 enableval
="$enable_sockets"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4672 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4677 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x
; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4688 eval "$ac_cv_use_sockets"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_SOCKETS" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4706 # Check whether --enable-ole or --disable-ole was given.
4707 if test "${enable_ole+set}" = set; then
4708 enableval
="$enable_ole"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_ole
='wxUSE_OLE=yes'
4713 ac_cv_use_ole
='wxUSE_OLE=no'
4718 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x
; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4729 eval "$ac_cv_use_ole"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_OLE" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4747 # Check whether --enable-dataobj or --disable-dataobj was given.
4748 if test "${enable_dataobj+set}" = set; then
4749 enableval
="$enable_dataobj"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4754 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4759 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4770 eval "$ac_cv_use_dataobj"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_DATAOBJ" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4789 # Check whether --enable-ipc or --disable-ipc was given.
4790 if test "${enable_ipc+set}" = set; then
4791 enableval
="$enable_ipc"
4793 if test "$enableval" = yes; then
4794 ac_cv_use_ipc
='wxUSE_IPC=yes'
4796 ac_cv_use_ipc
='wxUSE_IPC=no'
4801 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4802 if test "x$LINE" != x
; then
4803 eval "DEFAULT_$LINE"
4808 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4812 eval "$ac_cv_use_ipc"
4813 if test "$no_cache" != 1; then
4814 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4817 if test "$wxUSE_IPC" = yes; then
4818 echo "$as_me:$LINENO: result: yes" >&5
4819 echo "${ECHO_T}yes" >&6
4821 echo "$as_me:$LINENO: result: no" >&5
4822 echo "${ECHO_T}no" >&6
4828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4829 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4831 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4832 if test "${enable_apple_ieee+set}" = set; then
4833 enableval
="$enable_apple_ieee"
4835 if test "$enableval" = yes; then
4836 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4838 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4843 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4844 if test "x$LINE" != x
; then
4845 eval "DEFAULT_$LINE"
4850 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4854 eval "$ac_cv_use_apple_ieee"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4859 if test "$wxUSE_APPLE_IEEE" = 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}-arcstream" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4872 # Check whether --enable-arcstream or --disable-arcstream was given.
4873 if test "${enable_arcstream+set}" = set; then
4874 enableval
="$enable_arcstream"
4876 if test "$enableval" = yes; then
4877 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4879 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4884 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4885 if test "x$LINE" != x
; then
4886 eval "DEFAULT_$LINE"
4891 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4895 eval "$ac_cv_use_arcstream"
4896 if test "$no_cache" != 1; then
4897 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4900 if test "$wxUSE_ARCHIVE_STREAMS" = 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}-backtrace" >&5
4911 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4913 # Check whether --enable-backtrace or --disable-backtrace was given.
4914 if test "${enable_backtrace+set}" = set; then
4915 enableval
="$enable_backtrace"
4917 if test "$enableval" = yes; then
4918 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4920 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4925 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4926 if test "x$LINE" != x
; then
4927 eval "DEFAULT_$LINE"
4932 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4936 eval "$ac_cv_use_backtrace"
4937 if test "$no_cache" != 1; then
4938 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4941 if test "$wxUSE_STACKWALKER" = 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}-catch_segvs" >&5
4952 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4954 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4955 if test "${enable_catch_segvs+set}" = set; then
4956 enableval
="$enable_catch_segvs"
4958 if test "$enableval" = yes; then
4959 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4961 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4966 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x
; then
4968 eval "DEFAULT_$LINE"
4973 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4977 eval "$ac_cv_use_catch_segvs"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4982 if test "$wxUSE_ON_FATAL_EXCEPTION" = 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}-cmdline" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4995 # Check whether --enable-cmdline or --disable-cmdline was given.
4996 if test "${enable_cmdline+set}" = set; then
4997 enableval
="$enable_cmdline"
4999 if test "$enableval" = yes; then
5000 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5002 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5007 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x
; then
5009 eval "DEFAULT_$LINE"
5014 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5018 eval "$ac_cv_use_cmdline"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_CMDLINE_PARSER" = 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}-datetime" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5036 # Check whether --enable-datetime or --disable-datetime was given.
5037 if test "${enable_datetime+set}" = set; then
5038 enableval
="$enable_datetime"
5040 if test "$enableval" = yes; then
5041 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5043 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5048 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x
; then
5050 eval "DEFAULT_$LINE"
5055 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5059 eval "$ac_cv_use_datetime"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5064 if test "$wxUSE_DATETIME" = 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}-debugreport" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5077 # Check whether --enable-debugreport or --disable-debugreport was given.
5078 if test "${enable_debugreport+set}" = set; then
5079 enableval
="$enable_debugreport"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5084 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5089 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5100 eval "$ac_cv_use_debugreport"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5105 if test "$wxUSE_DEBUGREPORT" = 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}-dialupman" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5118 # Check whether --enable-dialupman or --disable-dialupman was given.
5119 if test "${enable_dialupman+set}" = set; then
5120 enableval
="$enable_dialupman"
5122 if test "$enableval" = yes; then
5123 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5125 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5130 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x
; then
5132 eval "DEFAULT_$LINE"
5137 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5141 eval "$ac_cv_use_dialupman"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_DIALUP_MANAGER" = 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}-dynlib" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5159 # Check whether --enable-dynlib or --disable-dynlib was given.
5160 if test "${enable_dynlib+set}" = set; then
5161 enableval
="$enable_dynlib"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5166 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5171 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5182 eval "$ac_cv_use_dynlib"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_DYNLIB_CLASS" = 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}-dynamicloader" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5200 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5201 if test "${enable_dynamicloader+set}" = set; then
5202 enableval
="$enable_dynamicloader"
5204 if test "$enableval" = yes; then
5205 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5207 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5212 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x
; then
5214 eval "DEFAULT_$LINE"
5219 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5223 eval "$ac_cv_use_dynamicloader"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_DYNAMIC_LOADER" = 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}-exceptions" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5241 # Check whether --enable-exceptions or --disable-exceptions was given.
5242 if test "${enable_exceptions+set}" = set; then
5243 enableval
="$enable_exceptions"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5248 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5253 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5264 eval "$ac_cv_use_exceptions"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_EXCEPTIONS" = 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}-ffile" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5282 # Check whether --enable-ffile or --disable-ffile was given.
5283 if test "${enable_ffile+set}" = set; then
5284 enableval
="$enable_ffile"
5286 if test "$enableval" = yes; then
5287 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5289 ac_cv_use_ffile
='wxUSE_FFILE=no'
5294 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x
; then
5296 eval "DEFAULT_$LINE"
5301 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5305 eval "$ac_cv_use_ffile"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_FFILE" = 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}-file" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5323 # Check whether --enable-file or --disable-file was given.
5324 if test "${enable_file+set}" = set; then
5325 enableval
="$enable_file"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_file
='wxUSE_FILE=yes'
5330 ac_cv_use_file
='wxUSE_FILE=no'
5335 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5346 eval "$ac_cv_use_file"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_FILE" = 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}-filesystem" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5364 # Check whether --enable-filesystem or --disable-filesystem was given.
5365 if test "${enable_filesystem+set}" = set; then
5366 enableval
="$enable_filesystem"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5371 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5376 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5387 eval "$ac_cv_use_filesystem"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_FILESYSTEM" = 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}-fontmap" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5405 # Check whether --enable-fontmap or --disable-fontmap was given.
5406 if test "${enable_fontmap+set}" = set; then
5407 enableval
="$enable_fontmap"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5412 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5417 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5428 eval "$ac_cv_use_fontmap"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_FONTMAP" = 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}-fs_inet" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5446 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5447 if test "${enable_fs_inet+set}" = set; then
5448 enableval
="$enable_fs_inet"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5453 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5458 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5469 eval "$ac_cv_use_fs_inet"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_FS_INET" = 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}-fs_zip" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5487 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5488 if test "${enable_fs_zip+set}" = set; then
5489 enableval
="$enable_fs_zip"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5494 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5499 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5510 eval "$ac_cv_use_fs_zip"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_FS_ZIP" = 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}-geometry" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5528 # Check whether --enable-geometry or --disable-geometry was given.
5529 if test "${enable_geometry+set}" = set; then
5530 enableval
="$enable_geometry"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5535 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5540 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5551 eval "$ac_cv_use_geometry"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_GEOMETRY" = 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}-log" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5569 # Check whether --enable-log or --disable-log was given.
5570 if test "${enable_log+set}" = set; then
5571 enableval
="$enable_log"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_log
='wxUSE_LOG=yes'
5576 ac_cv_use_log
='wxUSE_LOG=no'
5581 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5592 eval "$ac_cv_use_log"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_LOG" = 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}-longlong" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5610 # Check whether --enable-longlong or --disable-longlong was given.
5611 if test "${enable_longlong+set}" = set; then
5612 enableval
="$enable_longlong"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5617 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5622 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5633 eval "$ac_cv_use_longlong"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_LONGLONG" = 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}-mimetype" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5651 # Check whether --enable-mimetype or --disable-mimetype was given.
5652 if test "${enable_mimetype+set}" = set; then
5653 enableval
="$enable_mimetype"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5658 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5663 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5674 eval "$ac_cv_use_mimetype"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5679 if test "$wxUSE_MIMETYPE" = 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}-mslu" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5692 # Check whether --enable-mslu or --disable-mslu was given.
5693 if test "${enable_mslu+set}" = set; then
5694 enableval
="$enable_mslu"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5699 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5704 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x
; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5715 eval "$ac_cv_use_mslu"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_UNICODE_MSLU" = 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}-snglinst" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5733 # Check whether --enable-snglinst or --disable-snglinst was given.
5734 if test "${enable_snglinst+set}" = set; then
5735 enableval
="$enable_snglinst"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5740 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5745 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x
; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5756 eval "$ac_cv_use_snglinst"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_SNGLINST_CHECKER" = 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}-std_iostreams" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5774 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5775 if test "${enable_std_iostreams+set}" = set; then
5776 enableval
="$enable_std_iostreams"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5781 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5786 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5797 eval "$ac_cv_use_std_iostreams"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_STD_IOSTREAM" = 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}-std_string" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5815 # Check whether --enable-std_string or --disable-std_string was given.
5816 if test "${enable_std_string+set}" = set; then
5817 enableval
="$enable_std_string"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5822 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5827 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5838 eval "$ac_cv_use_std_string"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_STD_STRING" = 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}-stdpaths" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5856 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5857 if test "${enable_stdpaths+set}" = set; then
5858 enableval
="$enable_stdpaths"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5863 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5868 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5879 eval "$ac_cv_use_stdpaths"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5884 if test "$wxUSE_STDPATHS" = 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}-stopwatch" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5897 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5898 if test "${enable_stopwatch+set}" = set; then
5899 enableval
="$enable_stopwatch"
5901 if test "$enableval" = yes; then
5902 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5904 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5909 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x
; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5920 eval "$ac_cv_use_stopwatch"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5925 if test "$wxUSE_STOPWATCH" = 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}-streams" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5938 # Check whether --enable-streams or --disable-streams was given.
5939 if test "${enable_streams+set}" = set; then
5940 enableval
="$enable_streams"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5945 ac_cv_use_streams
='wxUSE_STREAMS=no'
5950 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5961 eval "$ac_cv_use_streams"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_STREAMS" = 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}-system_options" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5979 # Check whether --enable-system_options or --disable-system_options was given.
5980 if test "${enable_system_options+set}" = set; then
5981 enableval
="$enable_system_options"
5983 if test "$enableval" = yes; then
5984 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5986 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5991 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x
; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6002 eval "$ac_cv_use_system_options"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6007 if test "$wxUSE_SYSTEM_OPTIONS" = 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}-textbuf" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6020 # Check whether --enable-textbuf or --disable-textbuf was given.
6021 if test "${enable_textbuf+set}" = set; then
6022 enableval
="$enable_textbuf"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6027 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6032 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6043 eval "$ac_cv_use_textbuf"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_TEXTBUFFER" = 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}-textfile" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6061 # Check whether --enable-textfile or --disable-textfile was given.
6062 if test "${enable_textfile+set}" = set; then
6063 enableval
="$enable_textfile"
6065 if test "$enableval" = yes; then
6066 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6068 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6073 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x
; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6084 eval "$ac_cv_use_textfile"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_TEXTFILE" = 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}-timer" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6102 # Check whether --enable-timer or --disable-timer was given.
6103 if test "${enable_timer+set}" = set; then
6104 enableval
="$enable_timer"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_timer
='wxUSE_TIMER=yes'
6109 ac_cv_use_timer
='wxUSE_TIMER=no'
6114 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x
; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6125 eval "$ac_cv_use_timer"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6130 if test "$wxUSE_TIMER" = 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}-unicode" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6143 # Check whether --enable-unicode or --disable-unicode was given.
6144 if test "${enable_unicode+set}" = set; then
6145 enableval
="$enable_unicode"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6150 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6155 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6166 eval "$ac_cv_use_unicode"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_UNICODE" = 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
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6184 # Check whether --enable-sound or --disable-sound was given.
6185 if test "${enable_sound+set}" = set; then
6186 enableval
="$enable_sound"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_sound
='wxUSE_SOUND=yes'
6191 ac_cv_use_sound
='wxUSE_SOUND=no'
6196 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6207 eval "$ac_cv_use_sound"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_SOUND" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6225 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6226 if test "${enable_mediactrl+set}" = set; then
6227 enableval
="$enable_mediactrl"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6232 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6237 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6248 eval "$ac_cv_use_mediactrl"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_MEDIACTRL" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6266 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6267 if test "${enable_gstreamer8+set}" = set; then
6268 enableval
="$enable_gstreamer8"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6273 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6278 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6289 eval "$ac_cv_use_gstreamer8"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_GSTREAMER8" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6307 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6308 if test "${enable_wxprintfv+set}" = set; then
6309 enableval
="$enable_wxprintfv"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6314 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6319 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6330 eval "$ac_cv_use_wxprintfv"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6348 # Check whether --enable-zipstream or --disable-zipstream was given.
6349 if test "${enable_zipstream+set}" = set; then
6350 enableval
="$enable_zipstream"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6355 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6360 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6371 eval "$ac_cv_use_zipstream"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_ZIPSTREAM" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6390 # Check whether --enable-url or --disable-url was given.
6391 if test "${enable_url+set}" = set; then
6392 enableval
="$enable_url"
6394 if test "$enableval" = yes; then
6395 ac_cv_use_url
='wxUSE_URL=yes'
6397 ac_cv_use_url
='wxUSE_URL=no'
6402 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x
; then
6404 eval "DEFAULT_$LINE"
6409 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6413 eval "$ac_cv_use_url"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6418 if test "$wxUSE_URL" = yes; then
6419 echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6
6422 echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6
6428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6431 # Check whether --enable-protocol or --disable-protocol was given.
6432 if test "${enable_protocol+set}" = set; then
6433 enableval
="$enable_protocol"
6435 if test "$enableval" = yes; then
6436 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6438 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6443 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6444 if test "x$LINE" != x
; then
6445 eval "DEFAULT_$LINE"
6450 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6454 eval "$ac_cv_use_protocol"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6459 if test "$wxUSE_PROTOCOL" = yes; then
6460 echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6
6463 echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6
6469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6472 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6473 if test "${enable_protocol_http+set}" = set; then
6474 enableval
="$enable_protocol_http"
6476 if test "$enableval" = yes; then
6477 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6479 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6484 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6485 if test "x$LINE" != x
; then
6486 eval "DEFAULT_$LINE"
6491 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6495 eval "$ac_cv_use_protocol_http"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6500 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6501 echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6
6504 echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6
6510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6513 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6514 if test "${enable_protocol_ftp+set}" = set; then
6515 enableval
="$enable_protocol_ftp"
6517 if test "$enableval" = yes; then
6518 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6520 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6525 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x
; then
6527 eval "DEFAULT_$LINE"
6532 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6536 eval "$ac_cv_use_protocol_ftp"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6541 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6542 echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6
6545 echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6
6551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6554 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6555 if test "${enable_protocol_file+set}" = set; then
6556 enableval
="$enable_protocol_file"
6558 if test "$enableval" = yes; then
6559 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6561 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6566 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6567 if test "x$LINE" != x
; then
6568 eval "DEFAULT_$LINE"
6573 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6577 eval "$ac_cv_use_protocol_file"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6582 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6583 echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6
6586 echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6598 # Check whether --enable-threads or --disable-threads was given.
6599 if test "${enable_threads+set}" = set; then
6600 enableval
="$enable_threads"
6602 if test "$enableval" = yes; then
6603 ac_cv_use_threads
='wxUSE_THREADS=yes'
6605 ac_cv_use_threads
='wxUSE_THREADS=no'
6610 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x
; then
6612 eval "DEFAULT_$LINE"
6617 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6621 eval "$ac_cv_use_threads"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_THREADS" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6635 if test "$wxUSE_GUI" = "yes"; then
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6643 # Check whether --enable-docview or --disable-docview was given.
6644 if test "${enable_docview+set}" = set; then
6645 enableval
="$enable_docview"
6647 if test "$enableval" = yes; then
6648 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6650 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6655 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x
; then
6657 eval "DEFAULT_$LINE"
6662 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6666 eval "$ac_cv_use_docview"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6671 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 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}-help" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6684 # Check whether --enable-help or --disable-help was given.
6685 if test "${enable_help+set}" = set; then
6686 enableval
="$enable_help"
6688 if test "$enableval" = yes; then
6689 ac_cv_use_help
='wxUSE_HELP=yes'
6691 ac_cv_use_help
='wxUSE_HELP=no'
6696 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x
; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6707 eval "$ac_cv_use_help"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6712 if test "$wxUSE_HELP" = 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}-mshtmlhelp" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6725 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6726 if test "${enable_mshtmlhelp+set}" = set; then
6727 enableval
="$enable_mshtmlhelp"
6729 if test "$enableval" = yes; then
6730 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6732 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6737 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x
; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6748 eval "$ac_cv_use_mshtmlhelp"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6753 if test "$wxUSE_MS_HTML_HELP" = 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}-html" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6766 # Check whether --enable-html or --disable-html was given.
6767 if test "${enable_html+set}" = set; then
6768 enableval
="$enable_html"
6770 if test "$enableval" = yes; then
6771 ac_cv_use_html
='wxUSE_HTML=yes'
6773 ac_cv_use_html
='wxUSE_HTML=no'
6778 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x
; then
6780 eval "DEFAULT_$LINE"
6785 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6789 eval "$ac_cv_use_html"
6790 if test "$no_cache" != 1; then
6791 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6794 if test "$wxUSE_HTML" = 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}-htmlhelp" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6807 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6808 if test "${enable_htmlhelp+set}" = set; then
6809 enableval
="$enable_htmlhelp"
6811 if test "$enableval" = yes; then
6812 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6814 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6819 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x
; then
6821 eval "DEFAULT_$LINE"
6826 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6830 eval "$ac_cv_use_htmlhelp"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6835 if test "$wxUSE_WXHTML_HELP" = 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}-xrc" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6848 # Check whether --enable-xrc or --disable-xrc was given.
6849 if test "${enable_xrc+set}" = set; then
6850 enableval
="$enable_xrc"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_xrc
='wxUSE_XRC=yes'
6855 ac_cv_use_xrc
='wxUSE_XRC=no'
6860 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x
; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6871 eval "$ac_cv_use_xrc"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_XRC" = 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}-constraints" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6889 # Check whether --enable-constraints or --disable-constraints was given.
6890 if test "${enable_constraints+set}" = set; then
6891 enableval
="$enable_constraints"
6893 if test "$enableval" = yes; then
6894 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6896 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6901 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x
; then
6903 eval "DEFAULT_$LINE"
6908 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6912 eval "$ac_cv_use_constraints"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6917 if test "$wxUSE_CONSTRAINTS" = 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}-printarch" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6930 # Check whether --enable-printarch or --disable-printarch was given.
6931 if test "${enable_printarch+set}" = set; then
6932 enableval
="$enable_printarch"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6937 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6942 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6953 eval "$ac_cv_use_printarch"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_PRINTING_ARCHITECTURE" = 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}-mdi" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6971 # Check whether --enable-mdi or --disable-mdi was given.
6972 if test "${enable_mdi+set}" = set; then
6973 enableval
="$enable_mdi"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_mdi
='wxUSE_MDI=yes'
6978 ac_cv_use_mdi
='wxUSE_MDI=no'
6983 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6994 eval "$ac_cv_use_mdi"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_MDI" = 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
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7012 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7013 if test "${enable_mdidoc+set}" = set; then
7014 enableval
="$enable_mdidoc"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7019 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7024 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7035 eval "$ac_cv_use_mdidoc"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7053 # Check whether --enable-loggui or --disable-loggui was given.
7054 if test "${enable_loggui+set}" = set; then
7055 enableval
="$enable_loggui"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7060 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7065 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7076 eval "$ac_cv_use_loggui"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_LOGGUI" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7094 # Check whether --enable-logwin or --disable-logwin was given.
7095 if test "${enable_logwin+set}" = set; then
7096 enableval
="$enable_logwin"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7101 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7106 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7117 eval "$ac_cv_use_logwin"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_LOGWINDOW" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7135 # Check whether --enable-logdialog or --disable-logdialog was given.
7136 if test "${enable_logdialog+set}" = set; then
7137 enableval
="$enable_logdialog"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7142 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7147 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7158 eval "$ac_cv_use_logdialog"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_LOGDIALOG" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7176 # Check whether --enable-webkit or --disable-webkit was given.
7177 if test "${enable_webkit+set}" = set; then
7178 enableval
="$enable_webkit"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7183 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7188 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7199 eval "$ac_cv_use_webkit"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_WEBKIT" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7217 # Check whether --enable-html or --disable-html was given.
7218 if test "${enable_html+set}" = set; then
7219 enableval
="$enable_html"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7224 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7229 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7240 eval "$ac_cv_use_html"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_RICHTEXT" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7259 # Check whether --enable-postscript or --disable-postscript was given.
7260 if test "${enable_postscript+set}" = set; then
7261 enableval
="$enable_postscript"
7263 if test "$enableval" = yes; then
7264 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7266 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7271 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x
; then
7273 eval "DEFAULT_$LINE"
7278 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7282 eval "$ac_cv_use_postscript"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7287 if test "$wxUSE_POSTSCRIPT" = yes; then
7288 echo "$as_me:$LINENO: result: yes" >&5
7289 echo "${ECHO_T}yes" >&6
7291 echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6
7300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7303 # Check whether --enable-prologio or --disable-prologio was given.
7304 if test "${enable_prologio+set}" = set; then
7305 enableval
="$enable_prologio"
7307 if test "$enableval" = yes; then
7308 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7310 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7315 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7316 if test "x$LINE" != x
; then
7317 eval "DEFAULT_$LINE"
7322 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7326 eval "$ac_cv_use_prologio"
7327 if test "$no_cache" != 1; then
7328 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7331 if test "$wxUSE_PROLOGIO" = yes; then
7332 echo "$as_me:$LINENO: result: yes" >&5
7333 echo "${ECHO_T}yes" >&6
7335 echo "$as_me:$LINENO: result: no" >&5
7336 echo "${ECHO_T}no" >&6
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7344 # Check whether --enable-resources or --disable-resources was given.
7345 if test "${enable_resources+set}" = set; then
7346 enableval
="$enable_resources"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7351 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7356 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x
; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7367 eval "$ac_cv_use_resources"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_RESOURCES" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7387 # Check whether --enable-clipboard or --disable-clipboard was given.
7388 if test "${enable_clipboard+set}" = set; then
7389 enableval
="$enable_clipboard"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7394 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7399 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x
; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7410 eval "$ac_cv_use_clipboard"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_CLIPBOARD" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7428 # Check whether --enable-dnd or --disable-dnd was given.
7429 if test "${enable_dnd+set}" = set; then
7430 enableval
="$enable_dnd"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7435 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7440 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x
; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7451 eval "$ac_cv_use_dnd"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7469 # Check whether --enable-metafile or --disable-metafile was given.
7470 if test "${enable_metafile+set}" = set; then
7471 enableval
="$enable_metafile"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7476 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7481 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7492 eval "$ac_cv_use_metafile"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_METAFILE" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7513 # Check whether --enable-controls or --disable-controls was given.
7514 if test "${enable_controls+set}" = set; then
7515 enableval
="$enable_controls"
7517 if test "$enableval" = yes; then
7518 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7520 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7525 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x
; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7536 eval "$ac_cv_use_controls"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7541 if test "$wxUSE_CONTROLS" = yes; then
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7550 if test "$wxUSE_CONTROLS" = "yes"; then
7551 DEFAULT_wxUSE_ACCEL
=yes
7552 DEFAULT_wxUSE_BMPBUTTON
=yes
7553 DEFAULT_wxUSE_BUTTON
=yes
7554 DEFAULT_wxUSE_CALCTRL
=yes
7555 DEFAULT_wxUSE_CARET
=yes
7556 DEFAULT_wxUSE_COMBOBOX
=yes
7557 DEFAULT_wxUSE_CHECKBOX
=yes
7558 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7559 DEFAULT_wxUSE_CHOICE
=yes
7560 DEFAULT_wxUSE_CHOICEBOOK
=yes
7561 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7562 DEFAULT_wxUSE_GAUGE
=yes
7563 DEFAULT_wxUSE_GRID
=yes
7564 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7565 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7566 DEFAULT_wxUSE_IMAGLIST
=yes
7567 DEFAULT_wxUSE_LISTBOOK
=yes
7568 DEFAULT_wxUSE_LISTBOX
=yes
7569 DEFAULT_wxUSE_LISTCTRL
=yes
7570 DEFAULT_wxUSE_NOTEBOOK
=yes
7571 DEFAULT_wxUSE_RADIOBOX
=yes
7572 DEFAULT_wxUSE_RADIOBTN
=yes
7573 DEFAULT_wxUSE_SASH
=yes
7574 DEFAULT_wxUSE_SCROLLBAR
=yes
7575 DEFAULT_wxUSE_SLIDER
=yes
7576 DEFAULT_wxUSE_SPINBTN
=yes
7577 DEFAULT_wxUSE_SPINCTRL
=yes
7578 DEFAULT_wxUSE_SPLITTER
=yes
7579 DEFAULT_wxUSE_STATBMP
=yes
7580 DEFAULT_wxUSE_STATBOX
=yes
7581 DEFAULT_wxUSE_STATLINE
=yes
7582 DEFAULT_wxUSE_STATUSBAR
=yes
7583 DEFAULT_wxUSE_TAB_DIALOG
=yes
7584 DEFAULT_wxUSE_TOGGLEBTN
=yes
7585 DEFAULT_wxUSE_TOOLBAR
=yes
7586 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7587 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7588 DEFAULT_wxUSE_TOOLTIPS
=yes
7589 DEFAULT_wxUSE_TREEBOOK
=yes
7590 DEFAULT_wxUSE_TOOLBOOK
=yes
7591 DEFAULT_wxUSE_TREECTRL
=yes
7592 DEFAULT_wxUSE_POPUPWIN
=yes
7593 DEFAULT_wxUSE_TIPWINDOW
=yes
7594 elif test "$wxUSE_CONTROLS" = "no"; then
7595 DEFAULT_wxUSE_ACCEL
=no
7596 DEFAULT_wxUSE_BMPBUTTON
=no
7597 DEFAULT_wxUSE_BUTTON
=no
7598 DEFAULT_wxUSE_CALCTRL
=no
7599 DEFAULT_wxUSE_CARET
=no
7600 DEFAULT_wxUSE_COMBOBOX
=no
7601 DEFAULT_wxUSE_CHECKBOX
=no
7602 DEFAULT_wxUSE_CHECKLISTBOX
=no
7603 DEFAULT_wxUSE_CHOICE
=no
7604 DEFAULT_wxUSE_CHOICEBOOK
=no
7605 DEFAULT_wxUSE_DATEPICKCTRL
=no
7606 DEFAULT_wxUSE_GAUGE
=no
7607 DEFAULT_wxUSE_GRID
=no
7608 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7609 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7610 DEFAULT_wxUSE_IMAGLIST
=no
7611 DEFAULT_wxUSE_LISTBOOK
=no
7612 DEFAULT_wxUSE_LISTBOX
=no
7613 DEFAULT_wxUSE_LISTCTRL
=no
7614 DEFAULT_wxUSE_NOTEBOOK
=no
7615 DEFAULT_wxUSE_RADIOBOX
=no
7616 DEFAULT_wxUSE_RADIOBTN
=no
7617 DEFAULT_wxUSE_SASH
=no
7618 DEFAULT_wxUSE_SCROLLBAR
=no
7619 DEFAULT_wxUSE_SLIDER
=no
7620 DEFAULT_wxUSE_SPINBTN
=no
7621 DEFAULT_wxUSE_SPINCTRL
=no
7622 DEFAULT_wxUSE_SPLITTER
=no
7623 DEFAULT_wxUSE_STATBMP
=no
7624 DEFAULT_wxUSE_STATBOX
=no
7625 DEFAULT_wxUSE_STATLINE
=no
7626 DEFAULT_wxUSE_STATUSBAR
=no
7627 DEFAULT_wxUSE_TAB_DIALOG
=no
7628 DEFAULT_wxUSE_TOGGLEBTN
=no
7629 DEFAULT_wxUSE_TOOLBAR
=no
7630 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7631 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7632 DEFAULT_wxUSE_TOOLTIPS
=no
7633 DEFAULT_wxUSE_TREEBOOK
=no
7634 DEFAULT_wxUSE_TOOLBOOK
=no
7635 DEFAULT_wxUSE_TREECTRL
=no
7636 DEFAULT_wxUSE_POPUPWIN
=no
7637 DEFAULT_wxUSE_TIPWINDOW
=no
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7645 # Check whether --enable-accel or --disable-accel was given.
7646 if test "${enable_accel+set}" = set; then
7647 enableval
="$enable_accel"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7652 ac_cv_use_accel
='wxUSE_ACCEL=no'
7657 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x
; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7668 eval "$ac_cv_use_accel"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_ACCEL" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7686 # Check whether --enable-button or --disable-button was given.
7687 if test "${enable_button+set}" = set; then
7688 enableval
="$enable_button"
7690 if test "$enableval" = yes; then
7691 ac_cv_use_button
='wxUSE_BUTTON=yes'
7693 ac_cv_use_button
='wxUSE_BUTTON=no'
7698 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x
; then
7700 eval "DEFAULT_$LINE"
7705 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7709 eval "$ac_cv_use_button"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_BUTTON" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7727 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7728 if test "${enable_bmpbutton+set}" = set; then
7729 enableval
="$enable_bmpbutton"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7734 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7739 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x
; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7750 eval "$ac_cv_use_bmpbutton"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_BMPBUTTON" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7768 # Check whether --enable-calendar or --disable-calendar was given.
7769 if test "${enable_calendar+set}" = set; then
7770 enableval
="$enable_calendar"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7775 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7780 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x
; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7791 eval "$ac_cv_use_calendar"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7796 if test "$wxUSE_CALCTRL" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7809 # Check whether --enable-caret or --disable-caret was given.
7810 if test "${enable_caret+set}" = set; then
7811 enableval
="$enable_caret"
7813 if test "$enableval" = yes; then
7814 ac_cv_use_caret
='wxUSE_CARET=yes'
7816 ac_cv_use_caret
='wxUSE_CARET=no'
7821 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x
; then
7823 eval "DEFAULT_$LINE"
7828 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7832 eval "$ac_cv_use_caret"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7837 if test "$wxUSE_CARET" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7850 # Check whether --enable-checkbox or --disable-checkbox was given.
7851 if test "${enable_checkbox+set}" = set; then
7852 enableval
="$enable_checkbox"
7854 if test "$enableval" = yes; then
7855 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7857 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7862 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x
; then
7864 eval "DEFAULT_$LINE"
7869 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7873 eval "$ac_cv_use_checkbox"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7878 if test "$wxUSE_CHECKBOX" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7891 # Check whether --enable-checklst or --disable-checklst was given.
7892 if test "${enable_checklst+set}" = set; then
7893 enableval
="$enable_checklst"
7895 if test "$enableval" = yes; then
7896 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7898 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7903 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x
; then
7905 eval "DEFAULT_$LINE"
7910 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7914 eval "$ac_cv_use_checklst"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7919 if test "$wxUSE_CHECKLST" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7932 # Check whether --enable-choice or --disable-choice was given.
7933 if test "${enable_choice+set}" = set; then
7934 enableval
="$enable_choice"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7939 ac_cv_use_choice
='wxUSE_CHOICE=no'
7944 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x
; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7955 eval "$ac_cv_use_choice"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_CHOICE" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7973 # Check whether --enable-choicebook or --disable-choicebook was given.
7974 if test "${enable_choicebook+set}" = set; then
7975 enableval
="$enable_choicebook"
7977 if test "$enableval" = yes; then
7978 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7980 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7985 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x
; then
7987 eval "DEFAULT_$LINE"
7992 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7996 eval "$ac_cv_use_choicebook"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8001 if test "$wxUSE_CHOICEBOOK" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8014 # Check whether --enable-combobox or --disable-combobox was given.
8015 if test "${enable_combobox+set}" = set; then
8016 enableval
="$enable_combobox"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8021 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8026 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x
; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8037 eval "$ac_cv_use_combobox"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8042 if test "$wxUSE_COMBOBOX" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8055 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8056 if test "${enable_comboctrl+set}" = set; then
8057 enableval
="$enable_comboctrl"
8059 if test "$enableval" = yes; then
8060 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8062 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8067 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x
; then
8069 eval "DEFAULT_$LINE"
8074 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8078 eval "$ac_cv_use_comboctrl"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8083 if test "$wxUSE_COMBOCTRL" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8096 # Check whether --enable-datepick or --disable-datepick was given.
8097 if test "${enable_datepick+set}" = set; then
8098 enableval
="$enable_datepick"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8103 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8108 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x
; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8119 eval "$ac_cv_use_datepick"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8124 if test "$wxUSE_DATEPICKCTRL" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8137 # Check whether --enable-display or --disable-display was given.
8138 if test "${enable_display+set}" = set; then
8139 enableval
="$enable_display"
8141 if test "$enableval" = yes; then
8142 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8144 ac_cv_use_display
='wxUSE_DISPLAY=no'
8149 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x
; then
8151 eval "DEFAULT_$LINE"
8156 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8160 eval "$ac_cv_use_display"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_DISPLAY" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8178 # Check whether --enable-gauge or --disable-gauge was given.
8179 if test "${enable_gauge+set}" = set; then
8180 enableval
="$enable_gauge"
8182 if test "$enableval" = yes; then
8183 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8185 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8190 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x
; then
8192 eval "DEFAULT_$LINE"
8197 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8201 eval "$ac_cv_use_gauge"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8206 if test "$wxUSE_GAUGE" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8219 # Check whether --enable-grid or --disable-grid was given.
8220 if test "${enable_grid+set}" = set; then
8221 enableval
="$enable_grid"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_grid
='wxUSE_GRID=yes'
8226 ac_cv_use_grid
='wxUSE_GRID=no'
8231 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x
; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8242 eval "$ac_cv_use_grid"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8247 if test "$wxUSE_GRID" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8260 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8261 if test "${enable_dataviewctrl+set}" = set; then
8262 enableval
="$enable_dataviewctrl"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8267 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8272 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x
; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8283 eval "$ac_cv_use_dataviewctrl"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8288 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8301 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8302 if test "${enable_hyperlink+set}" = set; then
8303 enableval
="$enable_hyperlink"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8308 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8313 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x
; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8324 eval "$ac_cv_use_hyperlink"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8342 # Check whether --enable-imaglist or --disable-imaglist was given.
8343 if test "${enable_imaglist+set}" = set; then
8344 enableval
="$enable_imaglist"
8346 if test "$enableval" = yes; then
8347 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8349 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8354 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x
; then
8356 eval "DEFAULT_$LINE"
8361 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8365 eval "$ac_cv_use_imaglist"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_IMAGLIST" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8383 # Check whether --enable-listbook or --disable-listbook was given.
8384 if test "${enable_listbook+set}" = set; then
8385 enableval
="$enable_listbook"
8387 if test "$enableval" = yes; then
8388 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8390 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8395 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x
; then
8397 eval "DEFAULT_$LINE"
8402 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8406 eval "$ac_cv_use_listbook"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_LISTBOOK" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8424 # Check whether --enable-listbox or --disable-listbox was given.
8425 if test "${enable_listbox+set}" = set; then
8426 enableval
="$enable_listbox"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8431 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8436 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x
; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8447 eval "$ac_cv_use_listbox"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_LISTBOX" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8465 # Check whether --enable-listctrl or --disable-listctrl was given.
8466 if test "${enable_listctrl+set}" = set; then
8467 enableval
="$enable_listctrl"
8469 if test "$enableval" = yes; then
8470 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8472 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8477 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x
; then
8479 eval "DEFAULT_$LINE"
8484 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8488 eval "$ac_cv_use_listctrl"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8493 if test "$wxUSE_LISTCTRL" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8506 # Check whether --enable-notebook or --disable-notebook was given.
8507 if test "${enable_notebook+set}" = set; then
8508 enableval
="$enable_notebook"
8510 if test "$enableval" = yes; then
8511 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8513 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8518 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x
; then
8520 eval "DEFAULT_$LINE"
8525 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8529 eval "$ac_cv_use_notebook"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8534 if test "$wxUSE_NOTEBOOK" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8547 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8548 if test "${enable_odcombobox+set}" = set; then
8549 enableval
="$enable_odcombobox"
8551 if test "$enableval" = yes; then
8552 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8554 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8559 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x
; then
8561 eval "DEFAULT_$LINE"
8566 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8570 eval "$ac_cv_use_odcombobox"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8575 if test "$wxUSE_ODCOMBOBOX" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8588 # Check whether --enable-radiobox or --disable-radiobox was given.
8589 if test "${enable_radiobox+set}" = set; then
8590 enableval
="$enable_radiobox"
8592 if test "$enableval" = yes; then
8593 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8595 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8600 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x
; then
8602 eval "DEFAULT_$LINE"
8607 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8611 eval "$ac_cv_use_radiobox"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8616 if test "$wxUSE_RADIOBOX" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8629 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8630 if test "${enable_radiobtn+set}" = set; then
8631 enableval
="$enable_radiobtn"
8633 if test "$enableval" = yes; then
8634 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8636 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8641 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x
; then
8643 eval "DEFAULT_$LINE"
8648 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8652 eval "$ac_cv_use_radiobtn"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8657 if test "$wxUSE_RADIOBTN" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8670 # Check whether --enable-sash or --disable-sash was given.
8671 if test "${enable_sash+set}" = set; then
8672 enableval
="$enable_sash"
8674 if test "$enableval" = yes; then
8675 ac_cv_use_sash
='wxUSE_SASH=yes'
8677 ac_cv_use_sash
='wxUSE_SASH=no'
8682 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x
; then
8684 eval "DEFAULT_$LINE"
8689 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8693 eval "$ac_cv_use_sash"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8698 if test "$wxUSE_SASH" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8711 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8712 if test "${enable_scrollbar+set}" = set; then
8713 enableval
="$enable_scrollbar"
8715 if test "$enableval" = yes; then
8716 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8718 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8723 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x
; then
8725 eval "DEFAULT_$LINE"
8730 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8734 eval "$ac_cv_use_scrollbar"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8739 if test "$wxUSE_SCROLLBAR" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8752 # Check whether --enable-slider or --disable-slider was given.
8753 if test "${enable_slider+set}" = set; then
8754 enableval
="$enable_slider"
8756 if test "$enableval" = yes; then
8757 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8759 ac_cv_use_slider
='wxUSE_SLIDER=no'
8764 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x
; then
8766 eval "DEFAULT_$LINE"
8771 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8775 eval "$ac_cv_use_slider"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8780 if test "$wxUSE_SLIDER" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8793 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8794 if test "${enable_spinbtn+set}" = set; then
8795 enableval
="$enable_spinbtn"
8797 if test "$enableval" = yes; then
8798 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8800 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8805 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x
; then
8807 eval "DEFAULT_$LINE"
8812 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8816 eval "$ac_cv_use_spinbtn"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8821 if test "$wxUSE_SPINBTN" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8834 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8835 if test "${enable_spinctrl+set}" = set; then
8836 enableval
="$enable_spinctrl"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8841 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8846 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x
; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8857 eval "$ac_cv_use_spinctrl"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8862 if test "$wxUSE_SPINCTRL" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8875 # Check whether --enable-splitter or --disable-splitter was given.
8876 if test "${enable_splitter+set}" = set; then
8877 enableval
="$enable_splitter"
8879 if test "$enableval" = yes; then
8880 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8882 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8887 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x
; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8898 eval "$ac_cv_use_splitter"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8903 if test "$wxUSE_SPLITTER" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8916 # Check whether --enable-statbmp or --disable-statbmp was given.
8917 if test "${enable_statbmp+set}" = set; then
8918 enableval
="$enable_statbmp"
8920 if test "$enableval" = yes; then
8921 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8923 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8928 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x
; then
8930 eval "DEFAULT_$LINE"
8935 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8939 eval "$ac_cv_use_statbmp"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8944 if test "$wxUSE_STATBMP" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946 echo "${ECHO_T}yes" >&6
8948 echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8955 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8957 # Check whether --enable-statbox or --disable-statbox was given.
8958 if test "${enable_statbox+set}" = set; then
8959 enableval
="$enable_statbox"
8961 if test "$enableval" = yes; then
8962 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8964 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8969 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x
; then
8971 eval "DEFAULT_$LINE"
8976 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8980 eval "$ac_cv_use_statbox"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8985 if test "$wxUSE_STATBOX" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987 echo "${ECHO_T}yes" >&6
8989 echo "$as_me:$LINENO: result: no" >&5
8990 echo "${ECHO_T}no" >&6
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8998 # Check whether --enable-statline or --disable-statline was given.
8999 if test "${enable_statline+set}" = set; then
9000 enableval
="$enable_statline"
9002 if test "$enableval" = yes; then
9003 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9005 ac_cv_use_statline
='wxUSE_STATLINE=no'
9010 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x
; then
9012 eval "DEFAULT_$LINE"
9017 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9021 eval "$ac_cv_use_statline"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9026 if test "$wxUSE_STATLINE" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028 echo "${ECHO_T}yes" >&6
9030 echo "$as_me:$LINENO: result: no" >&5
9031 echo "${ECHO_T}no" >&6
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9039 # Check whether --enable-stattext or --disable-stattext was given.
9040 if test "${enable_stattext+set}" = set; then
9041 enableval
="$enable_stattext"
9043 if test "$enableval" = yes; then
9044 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9046 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9051 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x
; then
9053 eval "DEFAULT_$LINE"
9058 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9062 eval "$ac_cv_use_stattext"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9067 if test "$wxUSE_STATTEXT" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069 echo "${ECHO_T}yes" >&6
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9080 # Check whether --enable-statusbar or --disable-statusbar was given.
9081 if test "${enable_statusbar+set}" = set; then
9082 enableval
="$enable_statusbar"
9084 if test "$enableval" = yes; then
9085 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9087 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9092 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x
; then
9094 eval "DEFAULT_$LINE"
9099 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9103 eval "$ac_cv_use_statusbar"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9108 if test "$wxUSE_STATUSBAR" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110 echo "${ECHO_T}yes" >&6
9112 echo "$as_me:$LINENO: result: no" >&5
9113 echo "${ECHO_T}no" >&6
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9121 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9122 if test "${enable_tabdialog+set}" = set; then
9123 enableval
="$enable_tabdialog"
9125 if test "$enableval" = yes; then
9126 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9128 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9133 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x
; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9144 eval "$ac_cv_use_tabdialog"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9149 if test "$wxUSE_TAB_DIALOG" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9162 # Check whether --enable-textctrl or --disable-textctrl was given.
9163 if test "${enable_textctrl+set}" = set; then
9164 enableval
="$enable_textctrl"
9166 if test "$enableval" = yes; then
9167 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9169 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9174 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x
; then
9176 eval "DEFAULT_$LINE"
9181 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9185 eval "$ac_cv_use_textctrl"
9186 if test "$no_cache" != 1; then
9187 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9190 if test "$wxUSE_TEXTCTRL" = yes; then
9191 echo "$as_me:$LINENO: result: yes" >&5
9192 echo "${ECHO_T}yes" >&6
9194 echo "$as_me:$LINENO: result: no" >&5
9195 echo "${ECHO_T}no" >&6
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9203 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9204 if test "${enable_togglebtn+set}" = set; then
9205 enableval
="$enable_togglebtn"
9207 if test "$enableval" = yes; then
9208 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9210 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9215 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x
; then
9217 eval "DEFAULT_$LINE"
9222 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9226 eval "$ac_cv_use_togglebtn"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9231 if test "$wxUSE_TOGGLEBTN" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9244 # Check whether --enable-toolbar or --disable-toolbar was given.
9245 if test "${enable_toolbar+set}" = set; then
9246 enableval
="$enable_toolbar"
9248 if test "$enableval" = yes; then
9249 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9251 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9256 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x
; then
9258 eval "DEFAULT_$LINE"
9263 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9267 eval "$ac_cv_use_toolbar"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9272 if test "$wxUSE_TOOLBAR" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274 echo "${ECHO_T}yes" >&6
9276 echo "$as_me:$LINENO: result: no" >&5
9277 echo "${ECHO_T}no" >&6
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9283 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9285 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9286 if test "${enable_tbarnative+set}" = set; then
9287 enableval
="$enable_tbarnative"
9289 if test "$enableval" = yes; then
9290 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9292 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9297 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x
; then
9299 eval "DEFAULT_$LINE"
9304 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9308 eval "$ac_cv_use_tbarnative"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9313 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315 echo "${ECHO_T}yes" >&6
9317 echo "$as_me:$LINENO: result: no" >&5
9318 echo "${ECHO_T}no" >&6
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9324 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9326 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9327 if test "${enable_tbarsmpl+set}" = set; then
9328 enableval
="$enable_tbarsmpl"
9330 if test "$enableval" = yes; then
9331 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9333 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9338 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x
; then
9340 eval "DEFAULT_$LINE"
9345 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9349 eval "$ac_cv_use_tbarsmpl"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9354 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356 echo "${ECHO_T}yes" >&6
9358 echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9367 # Check whether --enable-treebook or --disable-treebook was given.
9368 if test "${enable_treebook+set}" = set; then
9369 enableval
="$enable_treebook"
9371 if test "$enableval" = yes; then
9372 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9374 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9379 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x
; then
9381 eval "DEFAULT_$LINE"
9386 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9390 eval "$ac_cv_use_treebook"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9395 if test "$wxUSE_TREEBOOK" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6
9399 echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9408 # Check whether --enable-toolbook or --disable-toolbook was given.
9409 if test "${enable_toolbook+set}" = set; then
9410 enableval
="$enable_toolbook"
9412 if test "$enableval" = yes; then
9413 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9415 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9420 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x
; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9431 eval "$ac_cv_use_toolbook"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9436 if test "$wxUSE_TOOLBOOK" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9449 # Check whether --enable-treectrl or --disable-treectrl was given.
9450 if test "${enable_treectrl+set}" = set; then
9451 enableval
="$enable_treectrl"
9453 if test "$enableval" = yes; then
9454 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9456 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9461 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x
; then
9463 eval "DEFAULT_$LINE"
9468 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9472 eval "$ac_cv_use_treectrl"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9477 if test "$wxUSE_TREECTRL" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9490 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9491 if test "${enable_tipwindow+set}" = set; then
9492 enableval
="$enable_tipwindow"
9494 if test "$enableval" = yes; then
9495 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9497 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9502 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x
; then
9504 eval "DEFAULT_$LINE"
9509 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9513 eval "$ac_cv_use_tipwindow"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9518 if test "$wxUSE_TIPWINDOW" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9529 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9531 # Check whether --enable-popupwin or --disable-popupwin was given.
9532 if test "${enable_popupwin+set}" = set; then
9533 enableval
="$enable_popupwin"
9535 if test "$enableval" = yes; then
9536 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9538 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9543 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x
; then
9545 eval "DEFAULT_$LINE"
9550 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9554 eval "$ac_cv_use_popupwin"
9555 if test "$no_cache" != 1; then
9556 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9559 if test "$wxUSE_POPUPWIN" = yes; then
9560 echo "$as_me:$LINENO: result: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9563 echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9574 # Check whether --enable-commondlg or --disable-commondlg was given.
9575 if test "${enable_commondlg+set}" = set; then
9576 enableval
="$enable_commondlg"
9578 if test "$enableval" = yes; then
9579 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9581 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9586 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x
; then
9588 eval "DEFAULT_$LINE"
9593 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9597 eval "$ac_cv_use_commondlg"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9602 if test "$wxUSE_COMMONDLGS" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9615 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9616 if test "${enable_choicedlg+set}" = set; then
9617 enableval
="$enable_choicedlg"
9619 if test "$enableval" = yes; then
9620 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9622 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9627 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x
; then
9629 eval "DEFAULT_$LINE"
9634 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9638 eval "$ac_cv_use_choicedlg"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9643 if test "$wxUSE_CHOICEDLG" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9656 # Check whether --enable-coldlg or --disable-coldlg was given.
9657 if test "${enable_coldlg+set}" = set; then
9658 enableval
="$enable_coldlg"
9660 if test "$enableval" = yes; then
9661 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9663 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9668 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x
; then
9670 eval "DEFAULT_$LINE"
9675 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9679 eval "$ac_cv_use_coldlg"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9684 if test "$wxUSE_COLOURDLG" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9697 # Check whether --enable-filedlg or --disable-filedlg was given.
9698 if test "${enable_filedlg+set}" = set; then
9699 enableval
="$enable_filedlg"
9701 if test "$enableval" = yes; then
9702 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9704 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9709 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x
; then
9711 eval "DEFAULT_$LINE"
9716 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9720 eval "$ac_cv_use_filedlg"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9725 if test "$wxUSE_FILEDLG" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9736 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9738 # Check whether --enable-finddlg or --disable-finddlg was given.
9739 if test "${enable_finddlg+set}" = set; then
9740 enableval
="$enable_finddlg"
9742 if test "$enableval" = yes; then
9743 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9745 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9750 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x
; then
9752 eval "DEFAULT_$LINE"
9757 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9761 eval "$ac_cv_use_finddlg"
9762 if test "$no_cache" != 1; then
9763 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9766 if test "$wxUSE_FINDREPLDLG" = yes; then
9767 echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6
9770 echo "$as_me:$LINENO: result: no" >&5
9771 echo "${ECHO_T}no" >&6
9776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9779 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9780 if test "${enable_fontdlg+set}" = set; then
9781 enableval
="$enable_fontdlg"
9783 if test "$enableval" = yes; then
9784 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9786 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9791 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x
; then
9793 eval "DEFAULT_$LINE"
9798 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9802 eval "$ac_cv_use_fontdlg"
9803 if test "$no_cache" != 1; then
9804 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9807 if test "$wxUSE_FONTDLG" = yes; then
9808 echo "$as_me:$LINENO: result: yes" >&5
9809 echo "${ECHO_T}yes" >&6
9811 echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9820 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9821 if test "${enable_dirdlg+set}" = set; then
9822 enableval
="$enable_dirdlg"
9824 if test "$enableval" = yes; then
9825 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9827 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9832 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9843 eval "$ac_cv_use_dirdlg"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9848 if test "$wxUSE_DIRDLG" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9859 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9861 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9862 if test "${enable_msgdlg+set}" = set; then
9863 enableval
="$enable_msgdlg"
9865 if test "$enableval" = yes; then
9866 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9868 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9873 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x
; then
9875 eval "DEFAULT_$LINE"
9880 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9884 eval "$ac_cv_use_msgdlg"
9885 if test "$no_cache" != 1; then
9886 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9889 if test "$wxUSE_MSGDLG" = yes; then
9890 echo "$as_me:$LINENO: result: yes" >&5
9891 echo "${ECHO_T}yes" >&6
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9902 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9903 if test "${enable_numberdlg+set}" = set; then
9904 enableval
="$enable_numberdlg"
9906 if test "$enableval" = yes; then
9907 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9909 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9914 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x
; then
9916 eval "DEFAULT_$LINE"
9921 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9925 eval "$ac_cv_use_numberdlg"
9926 if test "$no_cache" != 1; then
9927 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9930 if test "$wxUSE_NUMBERDLG" = yes; then
9931 echo "$as_me:$LINENO: result: yes" >&5
9932 echo "${ECHO_T}yes" >&6
9934 echo "$as_me:$LINENO: result: no" >&5
9935 echo "${ECHO_T}no" >&6
9940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9943 # Check whether --enable-splash or --disable-splash was given.
9944 if test "${enable_splash+set}" = set; then
9945 enableval
="$enable_splash"
9947 if test "$enableval" = yes; then
9948 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9950 ac_cv_use_splash
='wxUSE_SPLASH=no'
9955 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x
; then
9957 eval "DEFAULT_$LINE"
9962 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9966 eval "$ac_cv_use_splash"
9967 if test "$no_cache" != 1; then
9968 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9971 if test "$wxUSE_SPLASH" = yes; then
9972 echo "$as_me:$LINENO: result: yes" >&5
9973 echo "${ECHO_T}yes" >&6
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9984 # Check whether --enable-textdlg or --disable-textdlg was given.
9985 if test "${enable_textdlg+set}" = set; then
9986 enableval
="$enable_textdlg"
9988 if test "$enableval" = yes; then
9989 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9991 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9996 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x
; then
9998 eval "DEFAULT_$LINE"
10003 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10007 eval "$ac_cv_use_textdlg"
10008 if test "$no_cache" != 1; then
10009 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10012 if test "$wxUSE_TEXTDLG" = yes; then
10013 echo "$as_me:$LINENO: result: yes" >&5
10014 echo "${ECHO_T}yes" >&6
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10025 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10026 if test "${enable_tipdlg+set}" = set; then
10027 enableval
="$enable_tipdlg"
10029 if test "$enableval" = yes; then
10030 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10032 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10037 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x
; then
10039 eval "DEFAULT_$LINE"
10044 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10048 eval "$ac_cv_use_tipdlg"
10049 if test "$no_cache" != 1; then
10050 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10053 if test "$wxUSE_STARTUP_TIPS" = yes; then
10054 echo "$as_me:$LINENO: result: yes" >&5
10055 echo "${ECHO_T}yes" >&6
10057 echo "$as_me:$LINENO: result: no" >&5
10058 echo "${ECHO_T}no" >&6
10063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10066 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10067 if test "${enable_progressdlg+set}" = set; then
10068 enableval
="$enable_progressdlg"
10070 if test "$enableval" = yes; then
10071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10073 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10078 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x
; then
10080 eval "DEFAULT_$LINE"
10085 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10089 eval "$ac_cv_use_progressdlg"
10090 if test "$no_cache" != 1; then
10091 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10094 if test "$wxUSE_PROGRESSDLG" = yes; then
10095 echo "$as_me:$LINENO: result: yes" >&5
10096 echo "${ECHO_T}yes" >&6
10098 echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6
10104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10107 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10108 if test "${enable_wizarddlg+set}" = set; then
10109 enableval
="$enable_wizarddlg"
10111 if test "$enableval" = yes; then
10112 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10114 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10119 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x
; then
10121 eval "DEFAULT_$LINE"
10126 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10130 eval "$ac_cv_use_wizarddlg"
10131 if test "$no_cache" != 1; then
10132 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10135 if test "$wxUSE_WIZARDDLG" = yes; then
10136 echo "$as_me:$LINENO: result: yes" >&5
10137 echo "${ECHO_T}yes" >&6
10139 echo "$as_me:$LINENO: result: no" >&5
10140 echo "${ECHO_T}no" >&6
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10150 # Check whether --enable-menus or --disable-menus was given.
10151 if test "${enable_menus+set}" = set; then
10152 enableval
="$enable_menus"
10154 if test "$enableval" = yes; then
10155 ac_cv_use_menus
='wxUSE_MENUS=yes'
10157 ac_cv_use_menus
='wxUSE_MENUS=no'
10162 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x
; then
10164 eval "DEFAULT_$LINE"
10169 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10173 eval "$ac_cv_use_menus"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10178 if test "$wxUSE_MENUS" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10191 # Check whether --enable-miniframe or --disable-miniframe was given.
10192 if test "${enable_miniframe+set}" = set; then
10193 enableval
="$enable_miniframe"
10195 if test "$enableval" = yes; then
10196 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10198 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10203 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10204 if test "x$LINE" != x
; then
10205 eval "DEFAULT_$LINE"
10210 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10214 eval "$ac_cv_use_miniframe"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10219 if test "$wxUSE_MINIFRAME" = yes; then
10220 echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6
10223 echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6
10229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10232 # Check whether --enable-tooltips or --disable-tooltips was given.
10233 if test "${enable_tooltips+set}" = set; then
10234 enableval
="$enable_tooltips"
10236 if test "$enableval" = yes; then
10237 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10239 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10244 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x
; then
10246 eval "DEFAULT_$LINE"
10251 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10255 eval "$ac_cv_use_tooltips"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10260 if test "$wxUSE_TOOLTIPS" = yes; then
10261 echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6
10264 echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6
10270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10273 # Check whether --enable-splines or --disable-splines was given.
10274 if test "${enable_splines+set}" = set; then
10275 enableval
="$enable_splines"
10277 if test "$enableval" = yes; then
10278 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10280 ac_cv_use_splines
='wxUSE_SPLINES=no'
10285 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10286 if test "x$LINE" != x
; then
10287 eval "DEFAULT_$LINE"
10292 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10296 eval "$ac_cv_use_splines"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10301 if test "$wxUSE_SPLINES" = yes; then
10302 echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10314 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10315 if test "${enable_mousewheel+set}" = set; then
10316 enableval
="$enable_mousewheel"
10318 if test "$enableval" = yes; then
10319 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10321 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10326 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10327 if test "x$LINE" != x
; then
10328 eval "DEFAULT_$LINE"
10333 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10337 eval "$ac_cv_use_mousewheel"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10342 if test "$wxUSE_MOUSEWHEEL" = yes; then
10343 echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6
10346 echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6
10352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10355 # Check whether --enable-validators or --disable-validators was given.
10356 if test "${enable_validators+set}" = set; then
10357 enableval
="$enable_validators"
10359 if test "$enableval" = yes; then
10360 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10362 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10367 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10368 if test "x$LINE" != x
; then
10369 eval "DEFAULT_$LINE"
10374 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10378 eval "$ac_cv_use_validators"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10383 if test "$wxUSE_VALIDATORS" = yes; then
10384 echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10396 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10397 if test "${enable_busyinfo+set}" = set; then
10398 enableval
="$enable_busyinfo"
10400 if test "$enableval" = yes; then
10401 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10403 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10408 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x
; then
10410 eval "DEFAULT_$LINE"
10415 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10419 eval "$ac_cv_use_busyinfo"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_BUSYINFO" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10437 # Check whether --enable-joystick or --disable-joystick was given.
10438 if test "${enable_joystick+set}" = set; then
10439 enableval
="$enable_joystick"
10441 if test "$enableval" = yes; then
10442 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10444 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10449 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10450 if test "x$LINE" != x
; then
10451 eval "DEFAULT_$LINE"
10456 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10460 eval "$ac_cv_use_joystick"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10465 if test "$wxUSE_JOYSTICK" = yes; then
10466 echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6
10469 echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6
10475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10476 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10478 # Check whether --enable-metafile or --disable-metafile was given.
10479 if test "${enable_metafile+set}" = set; then
10480 enableval
="$enable_metafile"
10482 if test "$enableval" = yes; then
10483 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10485 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10490 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10491 if test "x$LINE" != x
; then
10492 eval "DEFAULT_$LINE"
10497 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10501 eval "$ac_cv_use_metafile"
10502 if test "$no_cache" != 1; then
10503 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10506 if test "$wxUSE_METAFILE" = yes; then
10507 echo "$as_me:$LINENO: result: yes" >&5
10508 echo "${ECHO_T}yes" >&6
10510 echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6
10516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10517 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10519 # Check whether --enable-dragimage or --disable-dragimage was given.
10520 if test "${enable_dragimage+set}" = set; then
10521 enableval
="$enable_dragimage"
10523 if test "$enableval" = yes; then
10524 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10526 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10531 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10532 if test "x$LINE" != x
; then
10533 eval "DEFAULT_$LINE"
10538 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10542 eval "$ac_cv_use_dragimage"
10543 if test "$no_cache" != 1; then
10544 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10547 if test "$wxUSE_DRAGIMAGE" = yes; then
10548 echo "$as_me:$LINENO: result: yes" >&5
10549 echo "${ECHO_T}yes" >&6
10551 echo "$as_me:$LINENO: result: no" >&5
10552 echo "${ECHO_T}no" >&6
10557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10560 # Check whether --enable-accessibility or --disable-accessibility was given.
10561 if test "${enable_accessibility+set}" = set; then
10562 enableval
="$enable_accessibility"
10564 if test "$enableval" = yes; then
10565 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10567 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10572 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10573 if test "x$LINE" != x
; then
10574 eval "DEFAULT_$LINE"
10579 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10583 eval "$ac_cv_use_accessibility"
10584 if test "$no_cache" != 1; then
10585 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10588 if test "$wxUSE_ACCESSIBILITY" = yes; then
10589 echo "$as_me:$LINENO: result: yes" >&5
10590 echo "${ECHO_T}yes" >&6
10592 echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6
10597 if test "$wxUSE_MSW" = "1"; then
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10603 # Check whether --enable-dccache or --disable-dccache was given.
10604 if test "${enable_dccache+set}" = set; then
10605 enableval
="$enable_dccache"
10607 if test "$enableval" = yes; then
10608 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10610 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10615 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x
; then
10617 eval "DEFAULT_$LINE"
10622 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10626 eval "$ac_cv_use_dccache"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10631 if test "$wxUSE_DC_CACHEING" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10647 # Check whether --enable-palette or --disable-palette was given.
10648 if test "${enable_palette+set}" = set; then
10649 enableval
="$enable_palette"
10651 if test "$enableval" = yes; then
10652 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10654 ac_cv_use_palette
='wxUSE_PALETTE=no'
10659 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10660 if test "x$LINE" != x
; then
10661 eval "DEFAULT_$LINE"
10666 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10670 eval "$ac_cv_use_palette"
10671 if test "$no_cache" != 1; then
10672 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10675 if test "$wxUSE_PALETTE" = yes; then
10676 echo "$as_me:$LINENO: result: yes" >&5
10677 echo "${ECHO_T}yes" >&6
10679 echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6
10685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10686 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10688 # Check whether --enable-image or --disable-image was given.
10689 if test "${enable_image+set}" = set; then
10690 enableval
="$enable_image"
10692 if test "$enableval" = yes; then
10693 ac_cv_use_image
='wxUSE_IMAGE=yes'
10695 ac_cv_use_image
='wxUSE_IMAGE=no'
10700 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10701 if test "x$LINE" != x
; then
10702 eval "DEFAULT_$LINE"
10707 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10711 eval "$ac_cv_use_image"
10712 if test "$no_cache" != 1; then
10713 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10716 if test "$wxUSE_IMAGE" = yes; then
10717 echo "$as_me:$LINENO: result: yes" >&5
10718 echo "${ECHO_T}yes" >&6
10720 echo "$as_me:$LINENO: result: no" >&5
10721 echo "${ECHO_T}no" >&6
10726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10727 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10729 # Check whether --enable-gif or --disable-gif was given.
10730 if test "${enable_gif+set}" = set; then
10731 enableval
="$enable_gif"
10733 if test "$enableval" = yes; then
10734 ac_cv_use_gif
='wxUSE_GIF=yes'
10736 ac_cv_use_gif
='wxUSE_GIF=no'
10741 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x
; then
10743 eval "DEFAULT_$LINE"
10748 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10752 eval "$ac_cv_use_gif"
10753 if test "$no_cache" != 1; then
10754 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10757 if test "$wxUSE_GIF" = yes; then
10758 echo "$as_me:$LINENO: result: yes" >&5
10759 echo "${ECHO_T}yes" >&6
10761 echo "$as_me:$LINENO: result: no" >&5
10762 echo "${ECHO_T}no" >&6
10767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10770 # Check whether --enable-pcx or --disable-pcx was given.
10771 if test "${enable_pcx+set}" = set; then
10772 enableval
="$enable_pcx"
10774 if test "$enableval" = yes; then
10775 ac_cv_use_pcx
='wxUSE_PCX=yes'
10777 ac_cv_use_pcx
='wxUSE_PCX=no'
10782 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10783 if test "x$LINE" != x
; then
10784 eval "DEFAULT_$LINE"
10789 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10793 eval "$ac_cv_use_pcx"
10794 if test "$no_cache" != 1; then
10795 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10798 if test "$wxUSE_PCX" = yes; then
10799 echo "$as_me:$LINENO: result: yes" >&5
10800 echo "${ECHO_T}yes" >&6
10802 echo "$as_me:$LINENO: result: no" >&5
10803 echo "${ECHO_T}no" >&6
10808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10809 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10811 # Check whether --enable-iff or --disable-iff was given.
10812 if test "${enable_iff+set}" = set; then
10813 enableval
="$enable_iff"
10815 if test "$enableval" = yes; then
10816 ac_cv_use_iff
='wxUSE_IFF=yes'
10818 ac_cv_use_iff
='wxUSE_IFF=no'
10823 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10824 if test "x$LINE" != x
; then
10825 eval "DEFAULT_$LINE"
10830 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10834 eval "$ac_cv_use_iff"
10835 if test "$no_cache" != 1; then
10836 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10839 if test "$wxUSE_IFF" = yes; then
10840 echo "$as_me:$LINENO: result: yes" >&5
10841 echo "${ECHO_T}yes" >&6
10843 echo "$as_me:$LINENO: result: no" >&5
10844 echo "${ECHO_T}no" >&6
10849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10852 # Check whether --enable-pnm or --disable-pnm was given.
10853 if test "${enable_pnm+set}" = set; then
10854 enableval
="$enable_pnm"
10856 if test "$enableval" = yes; then
10857 ac_cv_use_pnm
='wxUSE_PNM=yes'
10859 ac_cv_use_pnm
='wxUSE_PNM=no'
10864 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x
; then
10866 eval "DEFAULT_$LINE"
10871 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10875 eval "$ac_cv_use_pnm"
10876 if test "$no_cache" != 1; then
10877 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10880 if test "$wxUSE_PNM" = yes; then
10881 echo "$as_me:$LINENO: result: yes" >&5
10882 echo "${ECHO_T}yes" >&6
10884 echo "$as_me:$LINENO: result: no" >&5
10885 echo "${ECHO_T}no" >&6
10890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10891 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10893 # Check whether --enable-xpm or --disable-xpm was given.
10894 if test "${enable_xpm+set}" = set; then
10895 enableval
="$enable_xpm"
10897 if test "$enableval" = yes; then
10898 ac_cv_use_xpm
='wxUSE_XPM=yes'
10900 ac_cv_use_xpm
='wxUSE_XPM=no'
10905 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x
; then
10907 eval "DEFAULT_$LINE"
10912 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10916 eval "$ac_cv_use_xpm"
10917 if test "$no_cache" != 1; then
10918 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10921 if test "$wxUSE_XPM" = yes; then
10922 echo "$as_me:$LINENO: result: yes" >&5
10923 echo "${ECHO_T}yes" >&6
10925 echo "$as_me:$LINENO: result: no" >&5
10926 echo "${ECHO_T}no" >&6
10931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10934 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10935 if test "${enable_ico_cur+set}" = set; then
10936 enableval
="$enable_ico_cur"
10938 if test "$enableval" = yes; then
10939 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10941 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10946 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10947 if test "x$LINE" != x
; then
10948 eval "DEFAULT_$LINE"
10953 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10957 eval "$ac_cv_use_ico_cur"
10958 if test "$no_cache" != 1; then
10959 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10962 if test "$wxUSE_ICO_CUR" = yes; then
10963 echo "$as_me:$LINENO: result: yes" >&5
10964 echo "${ECHO_T}yes" >&6
10966 echo "$as_me:$LINENO: result: no" >&5
10967 echo "${ECHO_T}no" >&6
10975 # Check whether --with-flavour or --without-flavour was given.
10976 if test "${with_flavour+set}" = set; then
10977 withval
="$with_flavour"
10978 WX_FLAVOUR
="$withval"
10984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10985 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10987 # Check whether --enable-official_build or --disable-official_build was given.
10988 if test "${enable_official_build+set}" = set; then
10989 enableval
="$enable_official_build"
10991 if test "$enableval" = yes; then
10992 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10994 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10999 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11000 if test "x$LINE" != x
; then
11001 eval "DEFAULT_$LINE"
11006 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11010 eval "$ac_cv_use_official_build"
11011 if test "$no_cache" != 1; then
11012 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11015 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11016 echo "$as_me:$LINENO: result: yes" >&5
11017 echo "${ECHO_T}yes" >&6
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11023 # Check whether --enable-vendor or --disable-vendor was given.
11024 if test "${enable_vendor+set}" = set; then
11025 enableval
="$enable_vendor"
11026 VENDOR
="$enableval"
11028 if test "x$VENDOR" = "x"; then
11035 echo "saving argument cache $wx_arg_cache_file"
11036 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11040 echo "$as_me:$LINENO: checking for toolkit" >&5
11041 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11043 # In Wine, we need to default to MSW, not GTK or MOTIF
11044 if test "$wxUSE_WINE" = "yes"; then
11045 DEFAULT_DEFAULT_wxUSE_GTK
=0
11046 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11047 DEFAULT_DEFAULT_wxUSE_MSW
=1
11052 if test "$wxUSE_GUI" = "yes"; then
11054 if test "$USE_BEOS" = 1; then
11055 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11056 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11057 { (exit 1); exit 1; }; }
11060 if test "$TOOLKIT_GIVEN" = 1; then
11061 for toolkit
in `echo $ALL_TOOLKITS`; do
11063 eval "value=\$${var}"
11064 if test "x$value" = "xno"; then
11066 elif test "x$value" != "x"; then
11070 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11071 eval "wx${toolkit}_VERSION=$value"
11075 for toolkit
in `echo $ALL_TOOLKITS`; do
11076 if test "$has_toolkit_in_cache" != 1; then
11077 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11079 var
=DEFAULT_wxUSE_
$toolkit
11081 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11082 if test "x$version" != "x"; then
11083 eval "wx${toolkit}_VERSION=$version"
11086 eval "wxUSE_$toolkit=\$${var}"
11090 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11091 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11092 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11095 *-pc-os2_emx | *-pc-os2-emx )
11096 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11099 case "$NUM_TOOLKITS" in
11103 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11104 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11105 { (exit 1); exit 1; }; }
11108 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11109 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11110 { (exit 1); exit 1; }; }
11113 # to be removed when --disable-gtk2 isn't needed
11114 if test "x$wxUSE_GTK2" = "xyes"; then
11116 elif test "x$wxUSE_GTK2" = "xno"; then
11120 for toolkit
in `echo $ALL_TOOLKITS`; do
11122 eval "value=\$${var}"
11123 if test "x$value" != x
; then
11124 cache_var
=CACHE_
$toolkit
11125 eval "cache=\$${cache_var}"
11126 if test "$cache" = 1; then
11127 echo "$var=$value" >> ${wx_arg_cache_file}
11128 eval "version=\$wx${toolkit}_VERSION"
11129 if test "x$version" != "x"; then
11130 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11133 if test "$value" = 1; then
11134 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11135 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11136 echo "${ECHO_T}$toolkit_echo" >&6
11141 if test "x$host_alias" != "x"; then
11142 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11143 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11145 echo "$as_me:$LINENO: result: base only" >&5
11146 echo "${ECHO_T}base only" >&6
11151 doesnt_want_win32
=0
11154 if test "$wxUSE_MSW" = 1 ; then
11156 BAKEFILE_FORCE_PLATFORM
=win32
11158 doesnt_want_win32
=1
11166 if test "$wxUSE_WINE" = "yes"; then
11170 LDFLAGS_GUI
="-mwindows"
11173 if test "$wants_win32" = 1 ; then
11176 cat >>confdefs.h
<<\_ACEOF
11177 #define __WIN32__ 1
11180 cat >>confdefs.h
<<\_ACEOF
11181 #define __WIN95__ 1
11184 cat >>confdefs.h
<<\_ACEOF
11185 #define __WINDOWS__ 1
11188 cat >>confdefs.h
<<\_ACEOF
11189 #define __GNUWIN32__ 1
11192 cat >>confdefs.h
<<\_ACEOF
11196 cat >>confdefs.h
<<\_ACEOF
11197 #define WINVER 0x0400
11201 if test "$doesnt_want_win32" = 1 ; then
11206 if test "$USE_UNIX" = 1 ; then
11208 cat >>confdefs.h
<<\_ACEOF
11215 cat >confcache
<<\_ACEOF
11216 # This file is a shell script that caches the results of configure
11217 # tests run on this system so they can be shared between configure
11218 # scripts and configure runs, see configure's option --config-cache.
11219 # It is not useful on other systems. If it contains results you don't
11220 # want to keep, you may remove or edit it.
11222 # config.status only pays attention to the cache file if you give it
11223 # the --recheck option to rerun configure.
11225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11227 # following values.
11231 # The following way of writing the cache mishandles newlines in values,
11232 # but we know of no workaround that is simple, portable, and efficient.
11233 # So, don't put newlines in cache variables' values.
11234 # Ultrix sh set writes to stderr and can't be redirected directly,
11235 # and sets the high bit in the cache file unless we assign to the vars.
11238 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11240 # `set' does not quote correctly, so add quotes (double-quote
11241 # substitution turns \\\\ into \\, and sed turns \\ into \).
11244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11247 # `set' quotes correctly as required by POSIX, so do not add quotes.
11249 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11258 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11260 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11261 if test -w $cache_file; then
11262 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11263 cat confcache
>$cache_file
11265 echo "not updating unwritable cache $cache_file"
11275 ac_cpp
='$CPP $CPPFLAGS'
11276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11279 if test -n "$ac_tool_prefix"; then
11280 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11281 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11282 echo "$as_me:$LINENO: checking for $ac_word" >&5
11283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11284 if test "${ac_cv_prog_CC+set}" = set; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 if test -n "$CC"; then
11288 ac_cv_prog_CC
="$CC" # Let the user override the test.
11290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11291 for as_dir
in $PATH
11294 test -z "$as_dir" && as_dir
=.
11295 for ac_exec_ext
in '' $ac_executable_extensions; do
11296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11297 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11307 if test -n "$CC"; then
11308 echo "$as_me:$LINENO: result: $CC" >&5
11309 echo "${ECHO_T}$CC" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11316 if test -z "$ac_cv_prog_CC"; then
11318 # Extract the first word of "gcc", so it can be a program name with args.
11319 set dummy gcc
; ac_word
=$2
11320 echo "$as_me:$LINENO: checking for $ac_word" >&5
11321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 if test -n "$ac_ct_CC"; then
11326 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11329 for as_dir
in $PATH
11332 test -z "$as_dir" && as_dir
=.
11333 for ac_exec_ext
in '' $ac_executable_extensions; do
11334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_prog_ac_ct_CC
="gcc"
11336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11344 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11345 if test -n "$ac_ct_CC"; then
11346 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11347 echo "${ECHO_T}$ac_ct_CC" >&6
11349 echo "$as_me:$LINENO: result: no" >&5
11350 echo "${ECHO_T}no" >&6
11355 CC
="$ac_cv_prog_CC"
11358 if test -z "$CC"; then
11359 if test -n "$ac_tool_prefix"; then
11360 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11361 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11362 echo "$as_me:$LINENO: checking for $ac_word" >&5
11363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11364 if test "${ac_cv_prog_CC+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 if test -n "$CC"; then
11368 ac_cv_prog_CC
="$CC" # Let the user override the test.
11370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11371 for as_dir
in $PATH
11374 test -z "$as_dir" && as_dir
=.
11375 for ac_exec_ext
in '' $ac_executable_extensions; do
11376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11377 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 if test -n "$CC"; then
11388 echo "$as_me:$LINENO: result: $CC" >&5
11389 echo "${ECHO_T}$CC" >&6
11391 echo "$as_me:$LINENO: result: no" >&5
11392 echo "${ECHO_T}no" >&6
11396 if test -z "$ac_cv_prog_CC"; then
11398 # Extract the first word of "cc", so it can be a program name with args.
11399 set dummy cc
; ac_word
=$2
11400 echo "$as_me:$LINENO: checking for $ac_word" >&5
11401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 if test -n "$ac_ct_CC"; then
11406 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11409 for as_dir
in $PATH
11412 test -z "$as_dir" && as_dir
=.
11413 for ac_exec_ext
in '' $ac_executable_extensions; do
11414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11415 ac_cv_prog_ac_ct_CC
="cc"
11416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11424 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11425 if test -n "$ac_ct_CC"; then
11426 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11427 echo "${ECHO_T}$ac_ct_CC" >&6
11429 echo "$as_me:$LINENO: result: no" >&5
11430 echo "${ECHO_T}no" >&6
11435 CC
="$ac_cv_prog_CC"
11439 if test -z "$CC"; then
11440 # Extract the first word of "cc", so it can be a program name with args.
11441 set dummy cc
; ac_word
=$2
11442 echo "$as_me:$LINENO: checking for $ac_word" >&5
11443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11444 if test "${ac_cv_prog_CC+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 if test -n "$CC"; then
11448 ac_cv_prog_CC
="$CC" # Let the user override the test.
11450 ac_prog_rejected
=no
11451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11452 for as_dir
in $PATH
11455 test -z "$as_dir" && as_dir
=.
11456 for ac_exec_ext
in '' $ac_executable_extensions; do
11457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11458 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11459 ac_prog_rejected
=yes
11463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11469 if test $ac_prog_rejected = yes; then
11470 # We found a bogon in the path, so make sure we never use it.
11471 set dummy
$ac_cv_prog_CC
11473 if test $# != 0; then
11474 # We chose a different compiler from the bogus one.
11475 # However, it has the same basename, so the bogon will be chosen
11476 # first if we set CC to just the basename; use the full file name.
11478 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11484 if test -n "$CC"; then
11485 echo "$as_me:$LINENO: result: $CC" >&5
11486 echo "${ECHO_T}$CC" >&6
11488 echo "$as_me:$LINENO: result: no" >&5
11489 echo "${ECHO_T}no" >&6
11493 if test -z "$CC"; then
11494 if test -n "$ac_tool_prefix"; then
11497 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11498 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11499 echo "$as_me:$LINENO: checking for $ac_word" >&5
11500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11501 if test "${ac_cv_prog_CC+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 if test -n "$CC"; then
11505 ac_cv_prog_CC
="$CC" # Let the user override the test.
11507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11508 for as_dir
in $PATH
11511 test -z "$as_dir" && as_dir
=.
11512 for ac_exec_ext
in '' $ac_executable_extensions; do
11513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11514 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 if test -n "$CC"; then
11525 echo "$as_me:$LINENO: result: $CC" >&5
11526 echo "${ECHO_T}$CC" >&6
11528 echo "$as_me:$LINENO: result: no" >&5
11529 echo "${ECHO_T}no" >&6
11532 test -n "$CC" && break
11535 if test -z "$CC"; then
11539 # Extract the first word of "$ac_prog", so it can be a program name with args.
11540 set dummy
$ac_prog; ac_word
=$2
11541 echo "$as_me:$LINENO: checking for $ac_word" >&5
11542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11543 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 if test -n "$ac_ct_CC"; then
11547 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11550 for as_dir
in $PATH
11553 test -z "$as_dir" && as_dir
=.
11554 for ac_exec_ext
in '' $ac_executable_extensions; do
11555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11556 ac_cv_prog_ac_ct_CC
="$ac_prog"
11557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11565 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11566 if test -n "$ac_ct_CC"; then
11567 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11568 echo "${ECHO_T}$ac_ct_CC" >&6
11570 echo "$as_me:$LINENO: result: no" >&5
11571 echo "${ECHO_T}no" >&6
11574 test -n "$ac_ct_CC" && break
11583 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11584 See \`config.log' for more details." >&5
11585 echo "$as_me: error: no acceptable C compiler found in \$PATH
11586 See \`config.log' for more details." >&2;}
11587 { (exit 1); exit 1; }; }
11589 # Provide some information about the compiler.
11590 echo "$as_me:$LINENO:" \
11591 "checking for C compiler version" >&5
11592 ac_compiler
=`set X $ac_compile; echo $2`
11593 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11594 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }
11598 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11599 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }
11603 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11604 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }
11609 cat >conftest.
$ac_ext <<_ACEOF
11612 cat confdefs.h
>>conftest.
$ac_ext
11613 cat >>conftest.
$ac_ext <<_ACEOF
11614 /* end confdefs.h. */
11624 ac_clean_files_save
=$ac_clean_files
11625 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11626 # Try to create an executable without -o first, disregard a.out.
11627 # It will help us diagnose broken compilers, and finding out an intuition
11629 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11630 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11631 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11632 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11633 (eval $ac_link_default) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; then
11637 # Find the output, starting from the most likely. This scheme is
11638 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11641 # Be careful to initialize this variable, since it used to be cached.
11642 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11644 # b.out is created by i960 compilers.
11645 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11647 test -f "$ac_file" || continue
11649 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11652 # This is the source file.
11655 # We found the default executable, but exeext='' is most
11659 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11660 # FIXME: I believe we export ac_cv_exeext for Libtool,
11661 # but it would be cool to find out if it's true. Does anybody
11662 # maintain Libtool? --akim.
11663 export ac_cv_exeext
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.
$ac_ext >&5
11673 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11674 See \`config.log' for more details." >&5
11675 echo "$as_me: error: C compiler cannot create executables
11676 See \`config.log' for more details." >&2;}
11677 { (exit 77); exit 77; }; }
11680 ac_exeext
=$ac_cv_exeext
11681 echo "$as_me:$LINENO: result: $ac_file" >&5
11682 echo "${ECHO_T}$ac_file" >&6
11684 # Check the compiler produces executables we can run. If not, either
11685 # the compiler is broken, or we cross compile.
11686 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11687 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11688 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11689 # If not cross compiling, check that we can run a simple program.
11690 if test "$cross_compiling" != yes; then
11691 if { ac_try
='./$ac_file'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11699 if test "$cross_compiling" = maybe
; then
11700 cross_compiling
=yes
11702 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11703 If you meant to cross compile, use \`--host'.
11704 See \`config.log' for more details." >&5
11705 echo "$as_me: error: cannot run C compiled programs.
11706 If you meant to cross compile, use \`--host'.
11707 See \`config.log' for more details." >&2;}
11708 { (exit 1); exit 1; }; }
11712 echo "$as_me:$LINENO: result: yes" >&5
11713 echo "${ECHO_T}yes" >&6
11715 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11716 ac_clean_files
=$ac_clean_files_save
11717 # Check the compiler produces executables we can run. If not, either
11718 # the compiler is broken, or we cross compile.
11719 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11720 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11721 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11722 echo "${ECHO_T}$cross_compiling" >&6
11724 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11725 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11727 (eval $ac_link) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; then
11731 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11732 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11733 # work properly (i.e., refer to `conftest.exe'), while it won't with
11735 for ac_file
in conftest.exe conftest conftest.
*; do
11736 test -f "$ac_file" || continue
11738 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11739 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11740 export ac_cv_exeext
11746 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11747 See \`config.log' for more details." >&5
11748 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11749 See \`config.log' for more details." >&2;}
11750 { (exit 1); exit 1; }; }
11753 rm -f conftest
$ac_cv_exeext
11754 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11755 echo "${ECHO_T}$ac_cv_exeext" >&6
11757 rm -f conftest.
$ac_ext
11758 EXEEXT
=$ac_cv_exeext
11760 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11761 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11762 if test "${ac_cv_objext+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 cat >conftest.
$ac_ext <<_ACEOF
11768 cat confdefs.h
>>conftest.
$ac_ext
11769 cat >>conftest.
$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11780 rm -f conftest.o conftest.obj
11781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11782 (eval $ac_compile) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; then
11786 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11788 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11789 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.
$ac_ext >&5
11797 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11798 See \`config.log' for more details." >&5
11799 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11800 See \`config.log' for more details." >&2;}
11801 { (exit 1); exit 1; }; }
11804 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11806 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11807 echo "${ECHO_T}$ac_cv_objext" >&6
11808 OBJEXT
=$ac_cv_objext
11810 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11811 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11812 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 cat >conftest.
$ac_ext <<_ACEOF
11818 cat confdefs.h
>>conftest.
$ac_ext
11819 cat >>conftest.
$ac_ext <<_ACEOF
11820 /* end confdefs.h. */
11833 rm -f conftest.
$ac_objext
11834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11835 (eval $ac_compile) 2>conftest.er1
11837 grep -v '^ *+' conftest.er1
>conftest.err
11839 cat conftest.err
>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); } &&
11842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; } &&
11848 { ac_try
='test -s conftest.$ac_objext'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; }; then
11854 ac_compiler_gnu
=yes
11856 echo "$as_me: failed program was:" >&5
11857 sed 's/^/| /' conftest.
$ac_ext >&5
11861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11862 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11865 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11866 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11867 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11868 ac_test_CFLAGS
=${CFLAGS+set}
11869 ac_save_CFLAGS
=$CFLAGS
11871 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11872 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11873 if test "${ac_cv_prog_cc_g+set}" = set; then
11874 echo $ECHO_N "(cached) $ECHO_C" >&6
11876 cat >conftest.
$ac_ext <<_ACEOF
11879 cat confdefs.h
>>conftest.
$ac_ext
11880 cat >>conftest.
$ac_ext <<_ACEOF
11881 /* end confdefs.h. */
11891 rm -f conftest.
$ac_objext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11893 (eval $ac_compile) 2>conftest.er1
11895 grep -v '^ *+' conftest.er1
>conftest.err
11897 cat conftest.err
>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; } &&
11906 { ac_try
='test -s conftest.$ac_objext'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; }; then
11912 ac_cv_prog_cc_g
=yes
11914 echo "$as_me: failed program was:" >&5
11915 sed 's/^/| /' conftest.
$ac_ext >&5
11919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11921 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11922 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11923 if test "$ac_test_CFLAGS" = set; then
11924 CFLAGS
=$ac_save_CFLAGS
11925 elif test $ac_cv_prog_cc_g = yes; then
11926 if test "$GCC" = yes; then
11932 if test "$GCC" = yes; then
11938 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11939 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11940 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 ac_cv_prog_cc_stdc
=no
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <stdarg.h>
11953 #include <sys/types.h>
11954 #include <sys/stat.h>
11955 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11956 struct buf { int x; };
11957 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11958 static char *e (p, i)
11964 static char *f (char * (*g) (char **, int), char **p, ...)
11969 s = g (p, va_arg (v,int));
11974 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11975 function prototypes and stuff, but not '\xHH' hex character constants.
11976 These don't provoke an error unfortunately, instead are silently treated
11977 as 'x'. The following induces an error, until -std1 is added to get
11978 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11979 array size at least. It's necessary to write '\x00'==0 to get something
11980 that's true only with -std1. */
11981 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11983 int test (int i, double x);
11984 struct s1 {int (*f) (int a);};
11985 struct s2 {int (*f) (double a);};
11986 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11992 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11997 # Don't try gcc -ansi; that turns off useful extensions and
11998 # breaks some systems' header files.
11999 # AIX -qlanglvl=ansi
12000 # Ultrix and OSF/1 -std1
12001 # HP-UX 10.20 and later -Ae
12002 # HP-UX older versions -Aa -D_HPUX_SOURCE
12003 # SVR4 -Xc -D__EXTENSIONS__
12004 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12006 CC
="$ac_save_CC $ac_arg"
12007 rm -f conftest.
$ac_objext
12008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12009 (eval $ac_compile) 2>conftest.er1
12011 grep -v '^ *+' conftest.er1
>conftest.err
12013 cat conftest.err
>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } &&
12016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12018 (eval $ac_try) 2>&5
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; } &&
12022 { ac_try
='test -s conftest.$ac_objext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12024 (eval $ac_try) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then
12028 ac_cv_prog_cc_stdc
=$ac_arg
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12035 rm -f conftest.err conftest.
$ac_objext
12037 rm -f conftest.
$ac_ext conftest.
$ac_objext
12042 case "x$ac_cv_prog_cc_stdc" in
12044 echo "$as_me:$LINENO: result: none needed" >&5
12045 echo "${ECHO_T}none needed" >&6 ;;
12047 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12048 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12049 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12052 # Some people use a C++ compiler to compile C. Since we use `exit',
12053 # in C++ we need to declare it. In case someone uses the same compiler
12054 # for both compiling C and C++ we need to have the C++ compiler decide
12055 # the declaration of exit, since it's the most demanding environment.
12056 cat >conftest.
$ac_ext <<_ACEOF
12057 #ifndef __cplusplus
12061 rm -f conftest.
$ac_objext
12062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12063 (eval $ac_compile) 2>conftest.er1
12065 grep -v '^ *+' conftest.er1
>conftest.err
12067 cat conftest.err
>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try
='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 for ac_declaration
in \
12084 'extern "C" void std::exit (int) throw (); using std::exit;' \
12085 'extern "C" void std::exit (int); using std::exit;' \
12086 'extern "C" void exit (int) throw ();' \
12087 'extern "C" void exit (int);' \
12090 cat >conftest.
$ac_ext <<_ACEOF
12093 cat confdefs.h
>>conftest.
$ac_ext
12094 cat >>conftest.
$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12097 #include <stdlib.h>
12106 rm -f conftest.
$ac_objext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12108 (eval $ac_compile) 2>conftest.er1
12110 grep -v '^ *+' conftest.er1
>conftest.err
12112 cat conftest.err
>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } &&
12115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; } &&
12121 { ac_try
='test -s conftest.$ac_objext'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; }; then
12129 echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.
$ac_ext >&5
12134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12135 cat >conftest.
$ac_ext <<_ACEOF
12138 cat confdefs.h
>>conftest.
$ac_ext
12139 cat >>conftest.
$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12150 rm -f conftest.
$ac_objext
12151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12152 (eval $ac_compile) 2>conftest.er1
12154 grep -v '^ *+' conftest.er1
>conftest.err
12156 cat conftest.err
>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } &&
12159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; } &&
12165 { ac_try
='test -s conftest.$ac_objext'
12166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167 (eval $ac_try) 2>&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; }; then
12173 echo "$as_me: failed program was:" >&5
12174 sed 's/^/| /' conftest.
$ac_ext >&5
12177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12180 if test -n "$ac_declaration"; then
12181 echo '#ifdef __cplusplus' >>confdefs.h
12182 echo $ac_declaration >>confdefs.h
12183 echo '#endif' >>confdefs.h
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.
$ac_ext >&5
12191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12193 ac_cpp
='$CPP $CPPFLAGS'
12194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12201 ac_cpp
='$CPP $CPPFLAGS'
12202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12206 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12207 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12208 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 cat >conftest.
$ac_ext <<_ACEOF
12214 cat confdefs.h
>>conftest.
$ac_ext
12215 cat >>conftest.
$ac_ext <<_ACEOF
12216 /* end confdefs.h. */
12222 #ifndef __INTEL_COMPILER
12230 rm -f conftest.
$ac_objext
12231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12232 (eval $ac_compile) 2>conftest.er1
12234 grep -v '^ *+' conftest.er1
>conftest.err
12236 cat conftest.err
>&5
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); } &&
12239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12241 (eval $ac_try) 2>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }; } &&
12245 { ac_try
='test -s conftest.$ac_objext'
12246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247 (eval $ac_try) 2>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); }; }; then
12251 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12253 echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.
$ac_ext >&5
12256 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12263 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12264 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12266 ac_cpp
='$CPP $CPPFLAGS'
12267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12271 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12278 if test "x$GCC" != "xyes"; then
12279 if test "xCC" = "xC"; then
12280 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12281 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12282 if test "${bakefile_cv_c_exto+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 cat >conftest.
$ac_ext <<_ACEOF
12288 cat confdefs.h
>>conftest.
$ac_ext
12289 cat >>conftest.
$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12300 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12302 (eval $ac_compile) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; then
12306 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12308 conftest.
$ac_ext.o
)
12309 bakefile_cv_c_exto
="-ext o"
12316 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12317 See \`config.log' for more details." >&5
12318 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12319 See \`config.log' for more details." >&2;}
12320 { (exit 1); exit 1; }; }
12324 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12328 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12329 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12330 if test "c" = "c"; then
12331 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12333 if test "c" = "cxx"; then
12334 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12338 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12339 unset ac_cv_prog_cc_g
12340 ac_test_CFLAGS
=${CFLAGS+set}
12341 ac_save_CFLAGS
=$CFLAGS
12343 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12344 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12345 if test "${ac_cv_prog_cc_g+set}" = set; then
12346 echo $ECHO_N "(cached) $ECHO_C" >&6
12348 cat >conftest.
$ac_ext <<_ACEOF
12351 cat confdefs.h
>>conftest.
$ac_ext
12352 cat >>conftest.
$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12363 rm -f conftest.
$ac_objext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12365 (eval $ac_compile) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try
='test -s conftest.$ac_objext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 ac_cv_prog_cc_g
=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.
$ac_ext >&5
12391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12393 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12394 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12395 if test "$ac_test_CFLAGS" = set; then
12396 CFLAGS
=$ac_save_CFLAGS
12397 elif test $ac_cv_prog_cc_g = yes; then
12398 if test "$GCC" = yes; then
12404 if test "$GCC" = yes; then
12416 ac_cpp
='$CPP $CPPFLAGS'
12417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12421 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12422 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12423 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 cat >conftest.
$ac_ext <<_ACEOF
12429 cat confdefs.h
>>conftest.
$ac_ext
12430 cat >>conftest.
$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12444 rm -f conftest.
$ac_objext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12446 (eval $ac_compile) 2>conftest.er1
12448 grep -v '^ *+' conftest.er1
>conftest.err
12450 cat conftest.err
>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try
='test -s conftest.$ac_objext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12465 bakefile_compiler_xlc
=yes
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.
$ac_ext >&5
12470 bakefile_compiler_xlc
=no
12472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12473 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12476 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12477 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12479 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12481 ac_cpp
='$CPP $CPPFLAGS'
12482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12491 ac_cpp
='$CPP $CPPFLAGS'
12492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12496 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12497 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12498 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 cat >conftest.
$ac_ext <<_ACEOF
12504 cat confdefs.h
>>conftest.
$ac_ext
12505 cat >>conftest.
$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12519 rm -f conftest.
$ac_objext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>conftest.er1
12523 grep -v '^ *+' conftest.er1
>conftest.err
12525 cat conftest.err
>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try
='test -s conftest.$ac_objext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 bakefile_compiler_mwerks
=yes
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.
$ac_ext >&5
12545 bakefile_compiler_mwerks
=no
12547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12548 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12551 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12552 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12554 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12556 ac_cpp
='$CPP $CPPFLAGS'
12557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12563 ac_cpp
='$CPP $CPPFLAGS'
12564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12568 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12569 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12570 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12591 rm -f conftest.
$ac_objext
12592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12593 (eval $ac_compile) 2>conftest.er1
12595 grep -v '^ *+' conftest.er1
>conftest.err
12597 cat conftest.err
>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } &&
12600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; } &&
12606 { ac_try
='test -s conftest.$ac_objext'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 bakefile_compiler_xlc
=yes
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 bakefile_compiler_xlc
=no
12619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12620 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12623 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12624 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12626 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12628 ac_cpp
='$CPP $CPPFLAGS'
12629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12640 ac_cpp
='$CPP $CPPFLAGS'
12641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12645 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12646 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12647 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 cat >conftest.
$ac_ext <<_ACEOF
12653 cat confdefs.h
>>conftest.
$ac_ext
12654 cat >>conftest.
$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12661 #ifndef _SGI_COMPILER_VERSION
12669 rm -f conftest.
$ac_objext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; } &&
12684 { ac_try
='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.
$ac_ext >&5
12695 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12702 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12703 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12705 ac_cpp
='$CPP $CPPFLAGS'
12706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12710 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12723 ac_cpp
='$CPP $CPPFLAGS'
12724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12728 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12729 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12730 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 cat >conftest.
$ac_ext <<_ACEOF
12736 cat confdefs.h
>>conftest.
$ac_ext
12737 cat >>conftest.
$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12752 rm -f conftest.
$ac_objext
12753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12754 (eval $ac_compile) 2>conftest.er1
12756 grep -v '^ *+' conftest.er1
>conftest.err
12758 cat conftest.err
>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; } &&
12767 { ac_try
='test -s conftest.$ac_objext'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; }; then
12773 bakefile_cv_c_compiler___HP_cc
=yes
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.
$ac_ext >&5
12778 bakefile_cv_c_compiler___HP_cc
=no
12781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12785 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12786 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12788 ac_cpp
='$CPP $CPPFLAGS'
12789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12793 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12806 ac_cpp
='$CPP $CPPFLAGS'
12807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12811 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12812 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12813 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12814 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 cat >conftest.
$ac_ext <<_ACEOF
12819 cat confdefs.h
>>conftest.
$ac_ext
12820 cat >>conftest.
$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12835 rm -f conftest.
$ac_objext
12836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12837 (eval $ac_compile) 2>conftest.er1
12839 grep -v '^ *+' conftest.er1
>conftest.err
12841 cat conftest.err
>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; } &&
12850 { ac_try
='test -s conftest.$ac_objext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 bakefile_cv_c_compiler___DECC
=yes
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12861 bakefile_cv_c_compiler___DECC
=no
12864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12868 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12869 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12871 ac_cpp
='$CPP $CPPFLAGS'
12872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12876 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12889 ac_cpp
='$CPP $CPPFLAGS'
12890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12894 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12895 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12896 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 cat >conftest.
$ac_ext <<_ACEOF
12902 cat confdefs.h
>>conftest.
$ac_ext
12903 cat >>conftest.
$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12918 rm -f conftest.
$ac_objext
12919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12920 (eval $ac_compile) 2>conftest.er1
12922 grep -v '^ *+' conftest.er1
>conftest.err
12924 cat conftest.err
>&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); } &&
12927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12929 (eval $ac_try) 2>&5
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); }; } &&
12933 { ac_try
='test -s conftest.$ac_objext'
12934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 (eval $ac_try) 2>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; }; then
12939 bakefile_cv_c_compiler___SUNPRO_C
=yes
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.
$ac_ext >&5
12944 bakefile_cv_c_compiler___SUNPRO_C
=no
12947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12951 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12952 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12954 ac_cpp
='$CPP $CPPFLAGS'
12955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12959 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12973 ac_cpp
='$CPP $CPPFLAGS'
12974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12977 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12978 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12979 # On Suns, sometimes $CPP names a directory.
12980 if test -n "$CPP" && test -d "$CPP"; then
12983 if test -z "$CPP"; then
12984 if test "${ac_cv_prog_CPP+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 # Double quotes because CPP needs to be expanded
12988 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12990 ac_preproc_ok
=false
12991 for ac_c_preproc_warn_flag
in '' yes
12993 # Use a header file that comes with gcc, so configuring glibc
12994 # with a fresh cross-compiler works.
12995 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12996 # <limits.h> exists even on freestanding compilers.
12997 # On the NeXT, cc -E runs the code through the compiler's parser,
12998 # not just through cpp. "Syntax error" is here to catch this case.
12999 cat >conftest.
$ac_ext <<_ACEOF
13002 cat confdefs.h
>>conftest.
$ac_ext
13003 cat >>conftest.
$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13006 # include <limits.h>
13008 # include <assert.h>
13012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13015 grep -v '^ *+' conftest.er1
>conftest.err
13017 cat conftest.err
>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } >/dev
/null
; then
13020 if test -s conftest.err
; then
13021 ac_cpp_err
=$ac_c_preproc_warn_flag
13022 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13029 if test -z "$ac_cpp_err"; then
13032 echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.
$ac_ext >&5
13035 # Broken: fails on valid input.
13038 rm -f conftest.err conftest.
$ac_ext
13040 # OK, works on sane cases. Now check whether non-existent headers
13041 # can be detected and how.
13042 cat >conftest.
$ac_ext <<_ACEOF
13045 cat confdefs.h
>>conftest.
$ac_ext
13046 cat >>conftest.
$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048 #include <ac_nonexistent.h>
13050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13053 grep -v '^ *+' conftest.er1
>conftest.err
13055 cat conftest.err
>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } >/dev
/null
; then
13058 if test -s conftest.err
; then
13059 ac_cpp_err
=$ac_c_preproc_warn_flag
13060 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13067 if test -z "$ac_cpp_err"; then
13068 # Broken: success on invalid input.
13071 echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.
$ac_ext >&5
13074 # Passes both tests.
13078 rm -f conftest.err conftest.
$ac_ext
13081 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13082 rm -f conftest.err conftest.
$ac_ext
13083 if $ac_preproc_ok; then
13088 ac_cv_prog_CPP
=$CPP
13091 CPP
=$ac_cv_prog_CPP
13093 ac_cv_prog_CPP
=$CPP
13095 echo "$as_me:$LINENO: result: $CPP" >&5
13096 echo "${ECHO_T}$CPP" >&6
13097 ac_preproc_ok
=false
13098 for ac_c_preproc_warn_flag
in '' yes
13100 # Use a header file that comes with gcc, so configuring glibc
13101 # with a fresh cross-compiler works.
13102 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13103 # <limits.h> exists even on freestanding compilers.
13104 # On the NeXT, cc -E runs the code through the compiler's parser,
13105 # not just through cpp. "Syntax error" is here to catch this case.
13106 cat >conftest.
$ac_ext <<_ACEOF
13109 cat confdefs.h
>>conftest.
$ac_ext
13110 cat >>conftest.
$ac_ext <<_ACEOF
13111 /* end confdefs.h. */
13113 # include <limits.h>
13115 # include <assert.h>
13119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13122 grep -v '^ *+' conftest.er1
>conftest.err
13124 cat conftest.err
>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } >/dev
/null
; then
13127 if test -s conftest.err
; then
13128 ac_cpp_err
=$ac_c_preproc_warn_flag
13129 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13136 if test -z "$ac_cpp_err"; then
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.
$ac_ext >&5
13142 # Broken: fails on valid input.
13145 rm -f conftest.err conftest.
$ac_ext
13147 # OK, works on sane cases. Now check whether non-existent headers
13148 # can be detected and how.
13149 cat >conftest.
$ac_ext <<_ACEOF
13152 cat confdefs.h
>>conftest.
$ac_ext
13153 cat >>conftest.
$ac_ext <<_ACEOF
13154 /* end confdefs.h. */
13155 #include <ac_nonexistent.h>
13157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13160 grep -v '^ *+' conftest.er1
>conftest.err
13162 cat conftest.err
>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } >/dev
/null
; then
13165 if test -s conftest.err
; then
13166 ac_cpp_err
=$ac_c_preproc_warn_flag
13167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13174 if test -z "$ac_cpp_err"; then
13175 # Broken: success on invalid input.
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.
$ac_ext >&5
13181 # Passes both tests.
13185 rm -f conftest.err conftest.
$ac_ext
13188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13189 rm -f conftest.err conftest.
$ac_ext
13190 if $ac_preproc_ok; then
13193 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13194 See \`config.log' for more details." >&5
13195 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13196 See \`config.log' for more details." >&2;}
13197 { (exit 1); exit 1; }; }
13201 ac_cpp
='$CPP $CPPFLAGS'
13202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13207 echo "$as_me:$LINENO: checking for egrep" >&5
13208 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13209 if test "${ac_cv_prog_egrep+set}" = set; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13213 then ac_cv_prog_egrep
='grep -E'
13214 else ac_cv_prog_egrep
='egrep'
13217 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13218 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13219 EGREP
=$ac_cv_prog_egrep
13222 if test $ac_cv_c_compiler_gnu = yes; then
13223 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13224 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13225 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13228 ac_pattern
="Autoconf.*'x'"
13229 cat >conftest.
$ac_ext <<_ACEOF
13232 cat confdefs.h
>>conftest.
$ac_ext
13233 cat >>conftest.
$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13239 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13240 ac_cv_prog_gcc_traditional
=yes
13242 ac_cv_prog_gcc_traditional
=no
13247 if test $ac_cv_prog_gcc_traditional = no
; then
13248 cat >conftest.
$ac_ext <<_ACEOF
13251 cat confdefs.h
>>conftest.
$ac_ext
13252 cat >>conftest.
$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13254 #include <termio.h>
13257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13258 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13259 ac_cv_prog_gcc_traditional
=yes
13265 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13266 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13267 if test $ac_cv_prog_gcc_traditional = yes; then
13268 CC
="$CC -traditional"
13274 ac_cpp
='$CXXCPP $CPPFLAGS'
13275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13280 CXXFLAGS
=${CXXFLAGS:=}
13285 ac_cpp
='$CXXCPP $CPPFLAGS'
13286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13289 if test -n "$ac_tool_prefix"; then
13290 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13292 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13293 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13294 echo "$as_me:$LINENO: checking for $ac_word" >&5
13295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13296 if test "${ac_cv_prog_CXX+set}" = set; then
13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13299 if test -n "$CXX"; then
13300 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13303 for as_dir
in $PATH
13306 test -z "$as_dir" && as_dir
=.
13307 for ac_exec_ext
in '' $ac_executable_extensions; do
13308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13309 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13318 CXX
=$ac_cv_prog_CXX
13319 if test -n "$CXX"; then
13320 echo "$as_me:$LINENO: result: $CXX" >&5
13321 echo "${ECHO_T}$CXX" >&6
13323 echo "$as_me:$LINENO: result: no" >&5
13324 echo "${ECHO_T}no" >&6
13327 test -n "$CXX" && break
13330 if test -z "$CXX"; then
13332 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13334 # Extract the first word of "$ac_prog", so it can be a program name with args.
13335 set dummy
$ac_prog; ac_word
=$2
13336 echo "$as_me:$LINENO: checking for $ac_word" >&5
13337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13338 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 if test -n "$ac_ct_CXX"; then
13342 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13345 for as_dir
in $PATH
13348 test -z "$as_dir" && as_dir
=.
13349 for ac_exec_ext
in '' $ac_executable_extensions; do
13350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13360 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13361 if test -n "$ac_ct_CXX"; then
13362 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13363 echo "${ECHO_T}$ac_ct_CXX" >&6
13365 echo "$as_me:$LINENO: result: no" >&5
13366 echo "${ECHO_T}no" >&6
13369 test -n "$ac_ct_CXX" && break
13371 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13377 # Provide some information about the compiler.
13378 echo "$as_me:$LINENO:" \
13379 "checking for C++ compiler version" >&5
13380 ac_compiler
=`set X $ac_compile; echo $2`
13381 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13382 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }
13386 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13387 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }
13391 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13392 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }
13397 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13398 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13399 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13400 echo $ECHO_N "(cached) $ECHO_C" >&6
13402 cat >conftest.
$ac_ext <<_ACEOF
13405 cat confdefs.h
>>conftest.
$ac_ext
13406 cat >>conftest.
$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13420 rm -f conftest.
$ac_objext
13421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13422 (eval $ac_compile) 2>conftest.er1
13424 grep -v '^ *+' conftest.er1
>conftest.err
13426 cat conftest.err
>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13431 (eval $ac_try) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; } &&
13435 { ac_try
='test -s conftest.$ac_objext'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; }; then
13441 ac_compiler_gnu
=yes
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.
$ac_ext >&5
13448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13449 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13452 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13453 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13454 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13455 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13456 ac_save_CXXFLAGS
=$CXXFLAGS
13458 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13459 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13460 if test "${ac_cv_prog_cxx_g+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13463 cat >conftest.
$ac_ext <<_ACEOF
13466 cat confdefs.h
>>conftest.
$ac_ext
13467 cat >>conftest.
$ac_ext <<_ACEOF
13468 /* end confdefs.h. */
13478 rm -f conftest.
$ac_objext
13479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13480 (eval $ac_compile) 2>conftest.er1
13482 grep -v '^ *+' conftest.er1
>conftest.err
13484 cat conftest.err
>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } &&
13487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } &&
13493 { ac_try
='test -s conftest.$ac_objext'
13494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495 (eval $ac_try) 2>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; }; then
13499 ac_cv_prog_cxx_g
=yes
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.
$ac_ext >&5
13504 ac_cv_prog_cxx_g
=no
13506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13508 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13509 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13510 if test "$ac_test_CXXFLAGS" = set; then
13511 CXXFLAGS
=$ac_save_CXXFLAGS
13512 elif test $ac_cv_prog_cxx_g = yes; then
13513 if test "$GXX" = yes; then
13519 if test "$GXX" = yes; then
13525 for ac_declaration
in \
13527 'extern "C" void std::exit (int) throw (); using std::exit;' \
13528 'extern "C" void std::exit (int); using std::exit;' \
13529 'extern "C" void exit (int) throw ();' \
13530 'extern "C" void exit (int);' \
13533 cat >conftest.
$ac_ext <<_ACEOF
13536 cat confdefs.h
>>conftest.
$ac_ext
13537 cat >>conftest.
$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13540 #include <stdlib.h>
13549 rm -f conftest.
$ac_objext
13550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13551 (eval $ac_compile) 2>conftest.er1
13553 grep -v '^ *+' conftest.er1
>conftest.err
13555 cat conftest.err
>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } &&
13558 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 cat >conftest.
$ac_ext <<_ACEOF
13581 cat confdefs.h
>>conftest.
$ac_ext
13582 cat >>conftest.
$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13593 rm -f conftest.
$ac_objext
13594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13595 (eval $ac_compile) 2>conftest.er1
13597 grep -v '^ *+' conftest.er1
>conftest.err
13599 cat conftest.err
>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } &&
13602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; } &&
13608 { ac_try
='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.
$ac_ext >&5
13620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13623 if test -n "$ac_declaration"; then
13624 echo '#ifdef __cplusplus' >>confdefs.h
13625 echo $ac_declaration >>confdefs.h
13626 echo '#endif' >>confdefs.h
13630 ac_cpp
='$CXXCPP $CPPFLAGS'
13631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13638 ac_cpp
='$CXXCPP $CPPFLAGS'
13639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13643 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13644 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13645 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13646 echo $ECHO_N "(cached) $ECHO_C" >&6
13648 cat >conftest.
$ac_ext <<_ACEOF
13651 cat confdefs.h
>>conftest.
$ac_ext
13652 cat >>conftest.
$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13659 #ifndef __INTEL_COMPILER
13667 rm -f conftest.
$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13671 grep -v '^ *+' conftest.er1
>conftest.err
13673 cat conftest.err
>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678 (eval $ac_try) 2>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); }; } &&
13682 { ac_try
='test -s conftest.$ac_objext'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; }; then
13688 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.
$ac_ext >&5
13693 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13700 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13701 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13703 ac_cpp
='$CXXCPP $CPPFLAGS'
13704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13708 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13715 if test "x$GCXX" != "xyes"; then
13716 if test "xCXX" = "xC"; then
13717 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13718 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13719 if test "${bakefile_cv_cxx_exto+set}" = set; then
13720 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 cat >conftest.
$ac_ext <<_ACEOF
13725 cat confdefs.h
>>conftest.
$ac_ext
13726 cat >>conftest.
$ac_ext <<_ACEOF
13727 /* end confdefs.h. */
13737 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13739 (eval $ac_compile) 2>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); }; then
13743 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13745 conftest.
$ac_ext.o
)
13746 bakefile_cv_cxx_exto
="-ext o"
13753 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13754 See \`config.log' for more details." >&5
13755 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13756 See \`config.log' for more details." >&2;}
13757 { (exit 1); exit 1; }; }
13761 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13764 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13765 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13766 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13767 if test "cxx" = "c"; then
13768 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13770 if test "cxx" = "cxx"; then
13771 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13775 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13776 unset ac_cv_prog_cc_g
13777 ac_test_CFLAGS
=${CFLAGS+set}
13778 ac_save_CFLAGS
=$CFLAGS
13780 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13781 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13782 if test "${ac_cv_prog_cc_g+set}" = set; then
13783 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 cat >conftest.
$ac_ext <<_ACEOF
13788 cat confdefs.h
>>conftest.
$ac_ext
13789 cat >>conftest.
$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try
='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_cv_prog_cc_g
=yes
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13830 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13831 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13832 if test "$ac_test_CFLAGS" = set; then
13833 CFLAGS
=$ac_save_CFLAGS
13834 elif test $ac_cv_prog_cc_g = yes; then
13835 if test "$GCC" = yes; then
13841 if test "$GCC" = yes; then
13853 ac_cpp
='$CXXCPP $CPPFLAGS'
13854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13858 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13859 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13860 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13863 cat >conftest.
$ac_ext <<_ACEOF
13866 cat confdefs.h
>>conftest.
$ac_ext
13867 cat >>conftest.
$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13881 rm -f conftest.
$ac_objext
13882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13883 (eval $ac_compile) 2>conftest.er1
13885 grep -v '^ *+' conftest.er1
>conftest.err
13887 cat conftest.err
>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } &&
13890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try
='test -s conftest.$ac_objext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 bakefile_compiler_xlc
=yes
13904 echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.
$ac_ext >&5
13907 bakefile_compiler_xlc
=no
13909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13910 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13913 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13916 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13918 ac_cpp
='$CXXCPP $CPPFLAGS'
13919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13928 ac_cpp
='$CXXCPP $CPPFLAGS'
13929 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13930 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13931 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13933 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13934 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13935 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 cat >conftest.
$ac_ext <<_ACEOF
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13956 rm -f conftest.
$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; } &&
13971 { ac_try
='test -s conftest.$ac_objext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 bakefile_compiler_mwerks
=yes
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13982 bakefile_compiler_mwerks
=no
13984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13985 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13988 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13989 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13991 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13993 ac_cpp
='$CXXCPP $CPPFLAGS'
13994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14000 ac_cpp
='$CXXCPP $CPPFLAGS'
14001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14005 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14006 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14007 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 cat >conftest.
$ac_ext <<_ACEOF
14013 cat confdefs.h
>>conftest.
$ac_ext
14014 cat >>conftest.
$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14028 rm -f conftest.
$ac_objext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14030 (eval $ac_compile) 2>conftest.er1
14032 grep -v '^ *+' conftest.er1
>conftest.err
14034 cat conftest.err
>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; } &&
14043 { ac_try
='test -s conftest.$ac_objext'
14044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14045 (eval $ac_try) 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; }; then
14049 bakefile_compiler_xlc
=yes
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.
$ac_ext >&5
14054 bakefile_compiler_xlc
=no
14056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14057 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14060 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14061 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14063 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14065 ac_cpp
='$CXXCPP $CPPFLAGS'
14066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14077 ac_cpp
='$CXXCPP $CPPFLAGS'
14078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14082 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14083 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14084 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 cat >conftest.
$ac_ext <<_ACEOF
14090 cat confdefs.h
>>conftest.
$ac_ext
14091 cat >>conftest.
$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14098 #ifndef _SGI_COMPILER_VERSION
14106 rm -f conftest.
$ac_objext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14108 (eval $ac_compile) 2>conftest.er1
14110 grep -v '^ *+' conftest.er1
>conftest.err
14112 cat conftest.err
>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try
='test -s conftest.$ac_objext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.
$ac_ext >&5
14132 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14139 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14140 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14142 ac_cpp
='$CXXCPP $CPPFLAGS'
14143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14147 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14160 ac_cpp
='$CXXCPP $CPPFLAGS'
14161 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14162 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14163 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14165 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14166 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14167 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14168 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 cat >conftest.
$ac_ext <<_ACEOF
14173 cat confdefs.h
>>conftest.
$ac_ext
14174 cat >>conftest.
$ac_ext <<_ACEOF
14175 /* end confdefs.h. */
14189 rm -f conftest.
$ac_objext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14191 (eval $ac_compile) 2>conftest.er1
14193 grep -v '^ *+' conftest.er1
>conftest.err
14195 cat conftest.err
>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; } &&
14204 { ac_try
='test -s conftest.$ac_objext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14210 bakefile_cv_cxx_compiler___HP_aCC
=yes
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.
$ac_ext >&5
14215 bakefile_cv_cxx_compiler___HP_aCC
=no
14218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14222 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14223 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14225 ac_cpp
='$CXXCPP $CPPFLAGS'
14226 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14227 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14228 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14230 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14243 ac_cpp
='$CXXCPP $CPPFLAGS'
14244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14248 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14249 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14250 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14253 cat >conftest.
$ac_ext <<_ACEOF
14256 cat confdefs.h
>>conftest.
$ac_ext
14257 cat >>conftest.
$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14272 rm -f conftest.
$ac_objext
14273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14274 (eval $ac_compile) 2>conftest.er1
14276 grep -v '^ *+' conftest.er1
>conftest.err
14278 cat conftest.err
>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } &&
14281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 bakefile_cv_cxx_compiler___DECCXX
=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 bakefile_cv_cxx_compiler___DECCXX
=no
14301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14305 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14306 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14308 ac_cpp
='$CXXCPP $CPPFLAGS'
14309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14313 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14326 ac_cpp
='$CXXCPP $CPPFLAGS'
14327 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14328 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14329 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14331 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14332 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14333 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 cat >conftest.
$ac_ext <<_ACEOF
14339 cat confdefs.h
>>conftest.
$ac_ext
14340 cat >>conftest.
$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14347 #ifndef __SUNPRO_CC
14355 rm -f conftest.
$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try
='test -s conftest.$ac_objext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14378 echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.
$ac_ext >&5
14381 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14388 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14389 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14391 ac_cpp
='$CXXCPP $CPPFLAGS'
14392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14396 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14409 if test -n "$ac_tool_prefix"; then
14410 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14411 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14412 echo "$as_me:$LINENO: checking for $ac_word" >&5
14413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14414 if test "${ac_cv_prog_RANLIB+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 if test -n "$RANLIB"; then
14418 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14421 for as_dir
in $PATH
14424 test -z "$as_dir" && as_dir
=.
14425 for ac_exec_ext
in '' $ac_executable_extensions; do
14426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14427 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14436 RANLIB
=$ac_cv_prog_RANLIB
14437 if test -n "$RANLIB"; then
14438 echo "$as_me:$LINENO: result: $RANLIB" >&5
14439 echo "${ECHO_T}$RANLIB" >&6
14441 echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6
14446 if test -z "$ac_cv_prog_RANLIB"; then
14447 ac_ct_RANLIB
=$RANLIB
14448 # Extract the first word of "ranlib", so it can be a program name with args.
14449 set dummy ranlib
; ac_word
=$2
14450 echo "$as_me:$LINENO: checking for $ac_word" >&5
14451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14452 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 if test -n "$ac_ct_RANLIB"; then
14456 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14459 for as_dir
in $PATH
14462 test -z "$as_dir" && as_dir
=.
14463 for ac_exec_ext
in '' $ac_executable_extensions; do
14464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14465 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14475 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14476 if test -n "$ac_ct_RANLIB"; then
14477 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14478 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14480 echo "$as_me:$LINENO: result: no" >&5
14481 echo "${ECHO_T}no" >&6
14484 RANLIB
=$ac_ct_RANLIB
14486 RANLIB
="$ac_cv_prog_RANLIB"
14490 if test -n "$ac_tool_prefix"; then
14491 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14492 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14493 echo "$as_me:$LINENO: checking for $ac_word" >&5
14494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14495 if test "${ac_cv_prog_AR+set}" = set; then
14496 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 if test -n "$AR"; then
14499 ac_cv_prog_AR
="$AR" # Let the user override the test.
14501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14502 for as_dir
in $PATH
14505 test -z "$as_dir" && as_dir
=.
14506 for ac_exec_ext
in '' $ac_executable_extensions; do
14507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14508 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14518 if test -n "$AR"; then
14519 echo "$as_me:$LINENO: result: $AR" >&5
14520 echo "${ECHO_T}$AR" >&6
14522 echo "$as_me:$LINENO: result: no" >&5
14523 echo "${ECHO_T}no" >&6
14527 if test -z "$ac_cv_prog_AR"; then
14529 # Extract the first word of "ar", so it can be a program name with args.
14530 set dummy
ar; ac_word
=$2
14531 echo "$as_me:$LINENO: checking for $ac_word" >&5
14532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14533 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14536 if test -n "$ac_ct_AR"; then
14537 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14540 for as_dir
in $PATH
14543 test -z "$as_dir" && as_dir
=.
14544 for ac_exec_ext
in '' $ac_executable_extensions; do
14545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14546 ac_cv_prog_ac_ct_AR
="ar"
14547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14555 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14556 if test -n "$ac_ct_AR"; then
14557 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14558 echo "${ECHO_T}$ac_ct_AR" >&6
14560 echo "$as_me:$LINENO: result: no" >&5
14561 echo "${ECHO_T}no" >&6
14566 AR
="$ac_cv_prog_AR"
14569 if test "x$AR" = "x" ; then
14570 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14571 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14572 { (exit 1); exit 1; }; }
14575 # Find a good install program. We prefer a C program (faster),
14576 # so one script is as good as another. But avoid the broken or
14577 # incompatible versions:
14578 # SysV /etc/install, /usr/sbin/install
14579 # SunOS /usr/etc/install
14580 # IRIX /sbin/install
14582 # AmigaOS /C/install, which installs bootblocks on floppy discs
14583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14586 # OS/2's system install, which has a completely different semantic
14587 # ./install, which can be erroneously created by make from ./install.sh.
14588 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14589 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14590 if test -z "$INSTALL"; then
14591 if test "${ac_cv_path_install+set}" = set; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14595 for as_dir
in $PATH
14598 test -z "$as_dir" && as_dir
=.
14599 # Account for people who put trailing slashes in PATH elements.
14601 .
/ | .
// | /cC
/* | \
14602 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14603 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14606 # OSF1 and SCO ODT 3.0 have their own names for install.
14607 # Don't use installbsd from OSF since it installs stuff as root
14609 for ac_prog
in ginstall scoinst
install; do
14610 for ac_exec_ext
in '' $ac_executable_extensions; do
14611 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14612 if test $ac_prog = install &&
14613 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14614 # AIX install. It has an incompatible calling convention.
14616 elif test $ac_prog = install &&
14617 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14618 # program-specific install script used by HP pwplus--don't use.
14621 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14633 if test "${ac_cv_path_install+set}" = set; then
14634 INSTALL
=$ac_cv_path_install
14636 # As a last resort, use the slow shell script. We don't cache a
14637 # path for INSTALL within a source directory, because that will
14638 # break other packages using the cache if that directory is
14639 # removed, or if the path is relative.
14640 INSTALL
=$ac_install_sh
14643 echo "$as_me:$LINENO: result: $INSTALL" >&5
14644 echo "${ECHO_T}$INSTALL" >&6
14646 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14647 # It thinks the first close brace ends the variable substitution.
14648 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14650 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14652 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14658 ?
:* ) # Drive letter, considered as absolute.
14661 INSTALL
=`pwd`/${INSTALL} ;;
14668 INSTALL_PROGRAM
="cp -fp"
14669 INSTALL_DATA
="cp -fp"
14675 if test -n "$ac_tool_prefix"; then
14676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14677 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14678 echo "$as_me:$LINENO: checking for $ac_word" >&5
14679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14680 if test "${ac_cv_prog_STRIP+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14683 if test -n "$STRIP"; then
14684 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14687 for as_dir
in $PATH
14690 test -z "$as_dir" && as_dir
=.
14691 for ac_exec_ext
in '' $ac_executable_extensions; do
14692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14693 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14702 STRIP
=$ac_cv_prog_STRIP
14703 if test -n "$STRIP"; then
14704 echo "$as_me:$LINENO: result: $STRIP" >&5
14705 echo "${ECHO_T}$STRIP" >&6
14707 echo "$as_me:$LINENO: result: no" >&5
14708 echo "${ECHO_T}no" >&6
14712 if test -z "$ac_cv_prog_STRIP"; then
14714 # Extract the first word of "strip", so it can be a program name with args.
14715 set dummy strip
; ac_word
=$2
14716 echo "$as_me:$LINENO: checking for $ac_word" >&5
14717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14718 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 if test -n "$ac_ct_STRIP"; then
14722 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14725 for as_dir
in $PATH
14728 test -z "$as_dir" && as_dir
=.
14729 for ac_exec_ext
in '' $ac_executable_extensions; do
14730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14731 ac_cv_prog_ac_ct_STRIP
="strip"
14732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14738 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14741 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14742 if test -n "$ac_ct_STRIP"; then
14743 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14744 echo "${ECHO_T}$ac_ct_STRIP" >&6
14746 echo "$as_me:$LINENO: result: no" >&5
14747 echo "${ECHO_T}no" >&6
14752 STRIP
="$ac_cv_prog_STRIP"
14756 if test "$wxUSE_WINE" = "yes"; then
14757 if test -n "$ac_tool_prefix"; then
14758 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14759 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14760 echo "$as_me:$LINENO: checking for $ac_word" >&5
14761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14762 if test "${ac_cv_prog_WINDRES+set}" = set; then
14763 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 if test -n "$WINDRES"; then
14766 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14769 for as_dir
in $PATH
14772 test -z "$as_dir" && as_dir
=.
14773 for ac_exec_ext
in '' $ac_executable_extensions; do
14774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14775 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14784 WINDRES
=$ac_cv_prog_WINDRES
14785 if test -n "$WINDRES"; then
14786 echo "$as_me:$LINENO: result: $WINDRES" >&5
14787 echo "${ECHO_T}$WINDRES" >&6
14789 echo "$as_me:$LINENO: result: no" >&5
14790 echo "${ECHO_T}no" >&6
14794 if test -z "$ac_cv_prog_WINDRES"; then
14795 ac_ct_WINDRES
=$WINDRES
14796 # Extract the first word of "wrc", so it can be a program name with args.
14797 set dummy wrc
; ac_word
=$2
14798 echo "$as_me:$LINENO: checking for $ac_word" >&5
14799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14800 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14801 echo $ECHO_N "(cached) $ECHO_C" >&6
14803 if test -n "$ac_ct_WINDRES"; then
14804 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14807 for as_dir
in $PATH
14810 test -z "$as_dir" && as_dir
=.
14811 for ac_exec_ext
in '' $ac_executable_extensions; do
14812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14813 ac_cv_prog_ac_ct_WINDRES
="wrc"
14814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14822 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14823 if test -n "$ac_ct_WINDRES"; then
14824 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14825 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14827 echo "$as_me:$LINENO: result: no" >&5
14828 echo "${ECHO_T}no" >&6
14831 WINDRES
=$ac_ct_WINDRES
14833 WINDRES
="$ac_cv_prog_WINDRES"
14839 *-*-cygwin* | *-*-mingw32* )
14840 if test -n "$ac_tool_prefix"; then
14841 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14842 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14843 echo "$as_me:$LINENO: checking for $ac_word" >&5
14844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14845 if test "${ac_cv_prog_WINDRES+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 if test -n "$WINDRES"; then
14849 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14852 for as_dir
in $PATH
14855 test -z "$as_dir" && as_dir
=.
14856 for ac_exec_ext
in '' $ac_executable_extensions; do
14857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14858 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14867 WINDRES
=$ac_cv_prog_WINDRES
14868 if test -n "$WINDRES"; then
14869 echo "$as_me:$LINENO: result: $WINDRES" >&5
14870 echo "${ECHO_T}$WINDRES" >&6
14872 echo "$as_me:$LINENO: result: no" >&5
14873 echo "${ECHO_T}no" >&6
14877 if test -z "$ac_cv_prog_WINDRES"; then
14878 ac_ct_WINDRES
=$WINDRES
14879 # Extract the first word of "windres", so it can be a program name with args.
14880 set dummy windres
; ac_word
=$2
14881 echo "$as_me:$LINENO: checking for $ac_word" >&5
14882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14883 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 if test -n "$ac_ct_WINDRES"; then
14887 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14890 for as_dir
in $PATH
14893 test -z "$as_dir" && as_dir
=.
14894 for ac_exec_ext
in '' $ac_executable_extensions; do
14895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14896 ac_cv_prog_ac_ct_WINDRES
="windres"
14897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14905 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14906 if test -n "$ac_ct_WINDRES"; then
14907 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14908 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14910 echo "$as_me:$LINENO: result: no" >&5
14911 echo "${ECHO_T}no" >&6
14914 WINDRES
=$ac_ct_WINDRES
14916 WINDRES
="$ac_cv_prog_WINDRES"
14920 if test -n "$ac_tool_prefix"; then
14921 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14922 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14923 echo "$as_me:$LINENO: checking for $ac_word" >&5
14924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14925 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14926 echo $ECHO_N "(cached) $ECHO_C" >&6
14928 if test -n "$DLLTOOL"; then
14929 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14932 for as_dir
in $PATH
14935 test -z "$as_dir" && as_dir
=.
14936 for ac_exec_ext
in '' $ac_executable_extensions; do
14937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14938 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14947 DLLTOOL
=$ac_cv_prog_DLLTOOL
14948 if test -n "$DLLTOOL"; then
14949 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14950 echo "${ECHO_T}$DLLTOOL" >&6
14952 echo "$as_me:$LINENO: result: no" >&5
14953 echo "${ECHO_T}no" >&6
14957 if test -z "$ac_cv_prog_DLLTOOL"; then
14958 ac_ct_DLLTOOL
=$DLLTOOL
14959 # Extract the first word of "dlltool", so it can be a program name with args.
14960 set dummy dlltool
; ac_word
=$2
14961 echo "$as_me:$LINENO: checking for $ac_word" >&5
14962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14963 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14966 if test -n "$ac_ct_DLLTOOL"; then
14967 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14970 for as_dir
in $PATH
14973 test -z "$as_dir" && as_dir
=.
14974 for ac_exec_ext
in '' $ac_executable_extensions; do
14975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14976 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14985 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14986 if test -n "$ac_ct_DLLTOOL"; then
14987 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14988 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14990 echo "$as_me:$LINENO: result: no" >&5
14991 echo "${ECHO_T}no" >&6
14994 DLLTOOL
=$ac_ct_DLLTOOL
14996 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15003 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15004 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15005 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15010 egrep -s GNU
> /dev
/null
); then
15011 wx_cv_prog_makeisgnu
="yes"
15013 wx_cv_prog_makeisgnu
="no"
15017 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15018 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15020 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15028 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15029 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15030 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15031 if test "${wx_cv_prog_makevpath+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 cat - << EOF > confMake
15041 if test ! -d sub
; then
15044 echo dummy
> sub
/file
15045 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15047 rm -f sub
/file check final_file confMake
15049 if test "$RESULT" = 0; then
15050 wx_cv_prog_makevpath
="yes"
15052 wx_cv_prog_makevpath
="no"
15056 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15057 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15059 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15060 { { echo "$as_me:$LINENO: error:
15061 You need a make-utility that is able to use the variable
15063 If your version of make does not support VPATH correctly,
15064 please install GNU-make (possibly as gmake), and start
15065 configure with the following command:
15066 export MAKE=gmake; ./configure for sh-type shells
15067 setenv MAKE gmake; ./configure for csh-type shells
15068 Also please do remember to use gmake in this case every time
15069 you are trying to compile.
15071 echo "$as_me: error:
15072 You need a make-utility that is able to use the variable
15074 If your version of make does not support VPATH correctly,
15075 please install GNU-make (possibly as gmake), and start
15076 configure with the following command:
15077 export MAKE=gmake; ./configure for sh-type shells
15078 setenv MAKE gmake; ./configure for csh-type shells
15079 Also please do remember to use gmake in this case every time
15080 you are trying to compile.
15082 { (exit 1); exit 1; }; }
15084 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15085 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15087 if test "$LN_S" = "ln -s"; then
15088 echo "$as_me:$LINENO: result: yes" >&5
15089 echo "${ECHO_T}yes" >&6
15091 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15092 echo "${ECHO_T}no, using $LN_S" >&6
15098 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15099 CXXFLAGS
="-qunique $CXXFLAGS"
15103 powerpc
-*-darwin* )
15104 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15105 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15106 cat >conftest.
$ac_ext <<_ACEOF
15109 cat confdefs.h
>>conftest.
$ac_ext
15110 cat >>conftest.
$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15116 #ifndef __POWERPC__
15117 choke me for lack of PowerPC
15124 rm -f conftest.
$ac_objext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 (eval $ac_compile) 2>conftest.er1
15128 grep -v '^ *+' conftest.er1
>conftest.err
15130 cat conftest.err
>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } &&
15133 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; } &&
15139 { ac_try
='test -s conftest.$ac_objext'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; }; then
15145 echo "$as_me:$LINENO: result: yes" >&5
15146 echo "${ECHO_T}yes" >&6
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.
$ac_ext >&5
15151 echo "$as_me:$LINENO: result: no" >&5
15152 echo "${ECHO_T}no" >&6
15153 cat >>confdefs.h
<<\_ACEOF
15154 #define __POWERPC__ 1
15159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15165 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15166 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15167 cat >conftest.
$ac_ext <<_ACEOF
15170 cat confdefs.h
>>conftest.
$ac_ext
15171 cat >>conftest.
$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15173 #include <CoreFoundation/CFBase.h>
15183 rm -f conftest.
$ac_objext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15185 (eval $ac_compile) 2>conftest.er1
15187 grep -v '^ *+' conftest.er1
>conftest.err
15189 cat conftest.err
>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; } &&
15198 { ac_try
='test -s conftest.$ac_objext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 echo "$as_me:$LINENO: result: yes" >&5
15205 echo "${ECHO_T}yes" >&6
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15210 echo "$as_me:$LINENO: result: no" >&5
15211 echo "${ECHO_T}no" >&6
15212 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15213 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15214 cat >conftest.
$ac_ext <<_ACEOF
15217 cat confdefs.h
>>conftest.
$ac_ext
15218 cat >>conftest.
$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15220 #define __CF_USE_FRAMEWORK_INCLUDES__
15221 #include <CoreFoundation/CFBase.h>
15231 rm -f conftest.
$ac_objext
15232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15233 (eval $ac_compile) 2>conftest.er1
15235 grep -v '^ *+' conftest.er1
>conftest.err
15237 cat conftest.err
>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try
='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 echo "$as_me:$LINENO: result: yes" >&5
15253 echo "${ECHO_T}yes" >&6
15254 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15256 echo "$as_me: failed program was:" >&5
15257 sed 's/^/| /' conftest.
$ac_ext >&5
15259 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15260 See \`config.log' for more details." >&5
15261 echo "$as_me: error: no. CoreFoundation not available.
15262 See \`config.log' for more details." >&2;}
15263 { (exit 1); exit 1; }; }
15266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15275 *-pc-os2_emx | *-pc-os2-emx )
15277 ac_cpp
='$CPP $CPPFLAGS'
15278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15282 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15283 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15284 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15285 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 ac_check_lib_save_LIBS
=$LIBS
15289 LIBS
="-lcExt $LIBS"
15290 cat >conftest.
$ac_ext <<_ACEOF
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15297 /* Override any gcc2 internal prototype to avoid an error. */
15301 /* We use char because int might match the return type of a gcc2
15302 builtin and then its argument prototype would still apply. */
15312 rm -f conftest.
$ac_objext conftest
$ac_exeext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15314 (eval $ac_link) 2>conftest.er1
15316 grep -v '^ *+' conftest.er1
>conftest.err
15318 cat conftest.err
>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try
='test -s conftest$ac_exeext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 ac_cv_lib_cExt_drand48
=yes
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.
$ac_ext >&5
15338 ac_cv_lib_cExt_drand48
=no
15340 rm -f conftest.err conftest.
$ac_objext \
15341 conftest
$ac_exeext conftest.
$ac_ext
15342 LIBS
=$ac_check_lib_save_LIBS
15344 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15345 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15346 if test $ac_cv_lib_cExt_drand48 = yes; then
15347 LIBS
="$LIBS -lcExt"
15351 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15353 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15354 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15355 if test "${wx_cv_gccversion+set}" = set; then
15356 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 if test "$cross_compiling" = yes; then
15360 wx_cv_gccversion
="EMX2"
15363 cat >conftest.
$ac_ext <<_ACEOF
15366 cat confdefs.h
>>conftest.
$ac_ext
15367 cat >>conftest.
$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15374 FILE *f=fopen("conftestval", "w");
15379 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15381 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15391 rm -f conftest
$ac_exeext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15393 (eval $ac_link) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 wx_cv_gccversion
=`cat conftestval`
15404 echo "$as_me: program exited with status $ac_status" >&5
15405 echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.
$ac_ext >&5
15408 ( exit $ac_status )
15409 wx_cv_gccversion
="EMX2"
15411 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15415 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15416 echo "${ECHO_T}$wx_cv_gccversion" >&6
15418 ac_cpp
='$CXXCPP $CPPFLAGS'
15419 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15420 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15421 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15423 if test "$wx_cv_gccversion" = "EMX2"; then
15424 LIBS
="$LIBS -lstdcpp"
15425 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15427 if test "$wx_cv_gccversion" = "EMX3"; then
15428 LIBS
="$LIBS -lstdcxx -lgcc"
15429 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15431 LIBS
="$LIBS -lstdc++"
15434 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15435 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15436 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15443 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15444 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15445 if test "${ac_cv_string_strcasecmp+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15449 cat >conftest.
$ac_ext <<_ACEOF
15452 cat confdefs.h
>>conftest.
$ac_ext
15453 cat >>conftest.
$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15456 #include <string.h>
15462 strcasecmp("foo", "bar");
15468 rm -f conftest.
$ac_objext conftest
$ac_exeext
15469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15470 (eval $ac_link) 2>conftest.er1
15472 grep -v '^ *+' conftest.er1
>conftest.err
15474 cat conftest.err
>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; } &&
15483 { ac_try
='test -s conftest$ac_exeext'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; }; then
15489 ac_cv_string_strcasecmp
=yes
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.
$ac_ext >&5
15494 ac_cv_string_strcasecmp
=no
15497 rm -f conftest.err conftest.
$ac_objext \
15498 conftest
$ac_exeext conftest.
$ac_ext
15501 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15502 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15504 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15505 cat >>confdefs.h
<<\_ACEOF
15506 #define HAVE_STRCASECMP_IN_STRING_H 1
15510 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15511 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15512 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15513 echo $ECHO_N "(cached) $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. */
15523 #include <strings.h>
15529 strcasecmp("foo", "bar");
15535 rm -f conftest.
$ac_objext conftest
$ac_exeext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15537 (eval $ac_link) 2>conftest.er1
15539 grep -v '^ *+' conftest.er1
>conftest.err
15541 cat conftest.err
>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; } &&
15550 { ac_try
='test -s conftest$ac_exeext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_cv_strings_strcasecmp
=yes
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15561 ac_cv_strings_strcasecmp
=no
15564 rm -f conftest.err conftest.
$ac_objext \
15565 conftest
$ac_exeext conftest.
$ac_ext
15568 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15569 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15571 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15572 cat >>confdefs.h
<<\_ACEOF
15573 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15577 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15578 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15579 { (exit 1); exit 1; }; }
15588 ac_cpp
='$CXXCPP $CPPFLAGS'
15589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15592 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15593 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15594 if test -z "$CXXCPP"; then
15595 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 # Double quotes because CXXCPP needs to be expanded
15599 for CXXCPP
in "$CXX -E" "/lib/cpp"
15601 ac_preproc_ok
=false
15602 for ac_cxx_preproc_warn_flag
in '' yes
15604 # Use a header file that comes with gcc, so configuring glibc
15605 # with a fresh cross-compiler works.
15606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15607 # <limits.h> exists even on freestanding compilers.
15608 # On the NeXT, cc -E runs the code through the compiler's parser,
15609 # not just through cpp. "Syntax error" is here to catch this case.
15610 cat >conftest.
$ac_ext <<_ACEOF
15613 cat confdefs.h
>>conftest.
$ac_ext
15614 cat >>conftest.
$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15617 # include <limits.h>
15619 # include <assert.h>
15623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15626 grep -v '^ *+' conftest.er1
>conftest.err
15628 cat conftest.err
>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } >/dev
/null
; then
15631 if test -s conftest.err
; then
15632 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15633 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15640 if test -z "$ac_cpp_err"; then
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 # Broken: fails on valid input.
15649 rm -f conftest.err conftest.
$ac_ext
15651 # OK, works on sane cases. Now check whether non-existent headers
15652 # can be detected and how.
15653 cat >conftest.
$ac_ext <<_ACEOF
15656 cat confdefs.h
>>conftest.
$ac_ext
15657 cat >>conftest.
$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 #include <ac_nonexistent.h>
15661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15664 grep -v '^ *+' conftest.er1
>conftest.err
15666 cat conftest.err
>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } >/dev
/null
; then
15669 if test -s conftest.err
; then
15670 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15671 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15678 if test -z "$ac_cpp_err"; then
15679 # Broken: success on invalid input.
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.
$ac_ext >&5
15685 # Passes both tests.
15689 rm -f conftest.err conftest.
$ac_ext
15692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15693 rm -f conftest.err conftest.
$ac_ext
15694 if $ac_preproc_ok; then
15699 ac_cv_prog_CXXCPP
=$CXXCPP
15702 CXXCPP
=$ac_cv_prog_CXXCPP
15704 ac_cv_prog_CXXCPP
=$CXXCPP
15706 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15707 echo "${ECHO_T}$CXXCPP" >&6
15708 ac_preproc_ok
=false
15709 for ac_cxx_preproc_warn_flag
in '' yes
15711 # Use a header file that comes with gcc, so configuring glibc
15712 # with a fresh cross-compiler works.
15713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15714 # <limits.h> exists even on freestanding compilers.
15715 # On the NeXT, cc -E runs the code through the compiler's parser,
15716 # not just through cpp. "Syntax error" is here to catch this case.
15717 cat >conftest.
$ac_ext <<_ACEOF
15720 cat confdefs.h
>>conftest.
$ac_ext
15721 cat >>conftest.
$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15724 # include <limits.h>
15726 # include <assert.h>
15730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15733 grep -v '^ *+' conftest.er1
>conftest.err
15735 cat conftest.err
>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev
/null
; then
15738 if test -s conftest.err
; then
15739 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15740 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15747 if test -z "$ac_cpp_err"; then
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.
$ac_ext >&5
15753 # Broken: fails on valid input.
15756 rm -f conftest.err conftest.
$ac_ext
15758 # OK, works on sane cases. Now check whether non-existent headers
15759 # can be detected and how.
15760 cat >conftest.
$ac_ext <<_ACEOF
15763 cat confdefs.h
>>conftest.
$ac_ext
15764 cat >>conftest.
$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 #include <ac_nonexistent.h>
15768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15769 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15771 grep -v '^ *+' conftest.er1
>conftest.err
15773 cat conftest.err
>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } >/dev
/null
; then
15776 if test -s conftest.err
; then
15777 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15778 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15785 if test -z "$ac_cpp_err"; then
15786 # Broken: success on invalid input.
15789 echo "$as_me: failed program was:" >&5
15790 sed 's/^/| /' conftest.
$ac_ext >&5
15792 # Passes both tests.
15796 rm -f conftest.err conftest.
$ac_ext
15799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15800 rm -f conftest.err conftest.
$ac_ext
15801 if $ac_preproc_ok; then
15804 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15805 See \`config.log' for more details." >&5
15806 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15807 See \`config.log' for more details." >&2;}
15808 { (exit 1); exit 1; }; }
15812 ac_cpp
='$CXXCPP $CPPFLAGS'
15813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15818 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15819 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15820 if test "${ac_cv_header_stdc+set}" = set; then
15821 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 cat >conftest.
$ac_ext <<_ACEOF
15826 cat confdefs.h
>>conftest.
$ac_ext
15827 cat >>conftest.
$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15829 #include <stdlib.h>
15830 #include <stdarg.h>
15831 #include <string.h>
15842 rm -f conftest.
$ac_objext
15843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15844 (eval $ac_compile) 2>conftest.er1
15846 grep -v '^ *+' conftest.er1
>conftest.err
15848 cat conftest.err
>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } &&
15851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; } &&
15857 { ac_try
='test -s conftest.$ac_objext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15863 ac_cv_header_stdc
=yes
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.
$ac_ext >&5
15868 ac_cv_header_stdc
=no
15870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15872 if test $ac_cv_header_stdc = yes; then
15873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15874 cat >conftest.
$ac_ext <<_ACEOF
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 #include <string.h>
15883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15884 $EGREP "memchr" >/dev
/null
2>&1; then
15887 ac_cv_header_stdc
=no
15893 if test $ac_cv_header_stdc = yes; then
15894 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15895 cat >conftest.
$ac_ext <<_ACEOF
15898 cat confdefs.h
>>conftest.
$ac_ext
15899 cat >>conftest.
$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15901 #include <stdlib.h>
15904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15905 $EGREP "free" >/dev
/null
2>&1; then
15908 ac_cv_header_stdc
=no
15914 if test $ac_cv_header_stdc = yes; then
15915 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15916 if test "$cross_compiling" = yes; then
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15926 #if ((' ' & 0x0FF) == 0x020)
15927 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15928 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15930 # define ISLOWER(c) \
15931 (('a' <= (c) && (c) <= 'i') \
15932 || ('j' <= (c) && (c) <= 'r') \
15933 || ('s' <= (c) && (c) <= 'z'))
15934 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15937 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15942 for (i = 0; i < 256; i++)
15943 if (XOR (islower (i), ISLOWER (i))
15944 || toupper (i) != TOUPPER (i))
15949 rm -f conftest
$ac_exeext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15951 (eval $ac_link) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15962 echo "$as_me: program exited with status $ac_status" >&5
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.
$ac_ext >&5
15966 ( exit $ac_status )
15967 ac_cv_header_stdc
=no
15969 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15973 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15974 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15975 if test $ac_cv_header_stdc = yes; then
15977 cat >>confdefs.h
<<\_ACEOF
15978 #define STDC_HEADERS 1
15983 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15993 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15994 inttypes.h stdint.h unistd.h
15996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15997 echo "$as_me:$LINENO: checking for $ac_header" >&5
15998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 cat >conftest.
$ac_ext <<_ACEOF
16005 cat confdefs.h
>>conftest.
$ac_ext
16006 cat >>conftest.
$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 $ac_includes_default
16010 #include <$ac_header>
16012 rm -f conftest.
$ac_objext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16014 (eval $ac_compile) 2>conftest.er1
16016 grep -v '^ *+' conftest.er1
>conftest.err
16018 cat conftest.err
>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; } &&
16027 { ac_try
='test -s conftest.$ac_objext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 eval "$as_ac_Header=yes"
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16038 eval "$as_ac_Header=no"
16040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16045 cat >>confdefs.h
<<_ACEOF
16046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16055 for ac_header
in stdlib.h
16057 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16059 echo "$as_me:$LINENO: checking for $ac_header" >&5
16060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16062 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16067 # Is the header compilable?
16068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16077 #include <$ac_header>
16079 rm -f conftest.
$ac_objext
16080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16081 (eval $ac_compile) 2>conftest.er1
16083 grep -v '^ *+' conftest.er1
>conftest.err
16085 cat conftest.err
>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; } &&
16094 { ac_try
='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_header_compiler
=yes
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16105 ac_header_compiler
=no
16107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16109 echo "${ECHO_T}$ac_header_compiler" >&6
16111 # Is the header present?
16112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 #include <$ac_header>
16122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } >/dev
/null
; then
16130 if test -s conftest.err
; then
16131 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16132 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16139 if test -z "$ac_cpp_err"; then
16140 ac_header_preproc
=yes
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16145 ac_header_preproc
=no
16147 rm -f conftest.err conftest.
$ac_ext
16148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16149 echo "${ECHO_T}$ac_header_preproc" >&6
16151 # So? What about this header?
16152 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16158 ac_header_preproc
=yes
16161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16175 ## ----------------------------------------- ##
16176 ## Report this to wx-dev@lists.wxwidgets.org ##
16177 ## ----------------------------------------- ##
16180 sed "s/^/$as_me: WARNING: /" >&2
16183 echo "$as_me:$LINENO: checking for $ac_header" >&5
16184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 eval "$as_ac_Header=\$ac_header_preproc"
16190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16195 cat >>confdefs.h
<<_ACEOF
16196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16204 for ac_header
in malloc.h
16206 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16208 echo "$as_me:$LINENO: checking for $ac_header" >&5
16209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16216 # Is the header compilable?
16217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 $ac_includes_default
16226 #include <$ac_header>
16228 rm -f conftest.
$ac_objext
16229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16230 (eval $ac_compile) 2>conftest.er1
16232 grep -v '^ *+' conftest.er1
>conftest.err
16234 cat conftest.err
>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } &&
16237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239 (eval $ac_try) 2>&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }; } &&
16243 { ac_try
='test -s conftest.$ac_objext'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; }; then
16249 ac_header_compiler
=yes
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.
$ac_ext >&5
16254 ac_header_compiler
=no
16256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16258 echo "${ECHO_T}$ac_header_compiler" >&6
16260 # Is the header present?
16261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16263 cat >conftest.
$ac_ext <<_ACEOF
16266 cat confdefs.h
>>conftest.
$ac_ext
16267 cat >>conftest.
$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #include <$ac_header>
16271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16274 grep -v '^ *+' conftest.er1
>conftest.err
16276 cat conftest.err
>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } >/dev
/null
; then
16279 if test -s conftest.err
; then
16280 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16281 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16288 if test -z "$ac_cpp_err"; then
16289 ac_header_preproc
=yes
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.
$ac_ext >&5
16294 ac_header_preproc
=no
16296 rm -f conftest.err conftest.
$ac_ext
16297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16298 echo "${ECHO_T}$ac_header_preproc" >&6
16300 # So? What about this header?
16301 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16307 ac_header_preproc
=yes
16310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16324 ## ----------------------------------------- ##
16325 ## Report this to wx-dev@lists.wxwidgets.org ##
16326 ## ----------------------------------------- ##
16329 sed "s/^/$as_me: WARNING: /" >&2
16332 echo "$as_me:$LINENO: checking for $ac_header" >&5
16333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 eval "$as_ac_Header=\$ac_header_preproc"
16339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16344 cat >>confdefs.h
<<_ACEOF
16345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16353 for ac_header
in unistd.h
16355 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16357 echo "$as_me:$LINENO: checking for $ac_header" >&5
16358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16360 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16365 # Is the header compilable?
16366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16368 cat >conftest.
$ac_ext <<_ACEOF
16371 cat confdefs.h
>>conftest.
$ac_ext
16372 cat >>conftest.
$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16374 $ac_includes_default
16375 #include <$ac_header>
16377 rm -f conftest.
$ac_objext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>conftest.er1
16381 grep -v '^ *+' conftest.er1
>conftest.err
16383 cat conftest.err
>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; } &&
16392 { ac_try
='test -s conftest.$ac_objext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_header_compiler
=yes
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.
$ac_ext >&5
16403 ac_header_compiler
=no
16405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16407 echo "${ECHO_T}$ac_header_compiler" >&6
16409 # Is the header present?
16410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16412 cat >conftest.
$ac_ext <<_ACEOF
16415 cat confdefs.h
>>conftest.
$ac_ext
16416 cat >>conftest.
$ac_ext <<_ACEOF
16417 /* end confdefs.h. */
16418 #include <$ac_header>
16420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16421 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16423 grep -v '^ *+' conftest.er1
>conftest.err
16425 cat conftest.err
>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } >/dev
/null
; then
16428 if test -s conftest.err
; then
16429 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16430 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16437 if test -z "$ac_cpp_err"; then
16438 ac_header_preproc
=yes
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.
$ac_ext >&5
16443 ac_header_preproc
=no
16445 rm -f conftest.err conftest.
$ac_ext
16446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16447 echo "${ECHO_T}$ac_header_preproc" >&6
16449 # So? What about this header?
16450 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16456 ac_header_preproc
=yes
16459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16463 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16465 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16466 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16469 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16473 ## ----------------------------------------- ##
16474 ## Report this to wx-dev@lists.wxwidgets.org ##
16475 ## ----------------------------------------- ##
16478 sed "s/^/$as_me: WARNING: /" >&2
16481 echo "$as_me:$LINENO: checking for $ac_header" >&5
16482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 eval "$as_ac_Header=\$ac_header_preproc"
16488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16493 cat >>confdefs.h
<<_ACEOF
16494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16502 for ac_header
in wchar.h
16504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16506 echo "$as_me:$LINENO: checking for $ac_header" >&5
16507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16514 # Is the header compilable?
16515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16517 cat >conftest.
$ac_ext <<_ACEOF
16520 cat confdefs.h
>>conftest.
$ac_ext
16521 cat >>conftest.
$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 $ac_includes_default
16524 #include <$ac_header>
16526 rm -f conftest.
$ac_objext
16527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16528 (eval $ac_compile) 2>conftest.er1
16530 grep -v '^ *+' conftest.er1
>conftest.err
16532 cat conftest.err
>&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); } &&
16535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; } &&
16541 { ac_try
='test -s conftest.$ac_objext'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16547 ac_header_compiler
=yes
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16552 ac_header_compiler
=no
16554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16556 echo "${ECHO_T}$ac_header_compiler" >&6
16558 # Is the header present?
16559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16561 cat >conftest.
$ac_ext <<_ACEOF
16564 cat confdefs.h
>>conftest.
$ac_ext
16565 cat >>conftest.
$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 #include <$ac_header>
16569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1
>conftest.err
16574 cat conftest.err
>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } >/dev
/null
; then
16577 if test -s conftest.err
; then
16578 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16579 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16586 if test -z "$ac_cpp_err"; then
16587 ac_header_preproc
=yes
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.
$ac_ext >&5
16592 ac_header_preproc
=no
16594 rm -f conftest.err conftest.
$ac_ext
16595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16596 echo "${ECHO_T}$ac_header_preproc" >&6
16598 # So? What about this header?
16599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16605 ac_header_preproc
=yes
16608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16622 ## ----------------------------------------- ##
16623 ## Report this to wx-dev@lists.wxwidgets.org ##
16624 ## ----------------------------------------- ##
16627 sed "s/^/$as_me: WARNING: /" >&2
16630 echo "$as_me:$LINENO: checking for $ac_header" >&5
16631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 eval "$as_ac_Header=\$ac_header_preproc"
16637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16642 cat >>confdefs.h
<<_ACEOF
16643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16651 if test "$ac_cv_header_wchar_h" != "yes"; then
16653 for ac_header
in wcstr.h
16655 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16657 echo "$as_me:$LINENO: checking for $ac_header" >&5
16658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16665 # Is the header compilable?
16666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16668 cat >conftest.
$ac_ext <<_ACEOF
16671 cat confdefs.h
>>conftest.
$ac_ext
16672 cat >>conftest.
$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 $ac_includes_default
16675 #include <$ac_header>
16677 rm -f conftest.
$ac_objext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16679 (eval $ac_compile) 2>conftest.er1
16681 grep -v '^ *+' conftest.er1
>conftest.err
16683 cat conftest.err
>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16688 (eval $ac_try) 2>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); }; } &&
16692 { ac_try
='test -s conftest.$ac_objext'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; }; then
16698 ac_header_compiler
=yes
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.
$ac_ext >&5
16703 ac_header_compiler
=no
16705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16707 echo "${ECHO_T}$ac_header_compiler" >&6
16709 # Is the header present?
16710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 #include <$ac_header>
16720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16723 grep -v '^ *+' conftest.er1
>conftest.err
16725 cat conftest.err
>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } >/dev
/null
; then
16728 if test -s conftest.err
; then
16729 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16730 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16737 if test -z "$ac_cpp_err"; then
16738 ac_header_preproc
=yes
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.
$ac_ext >&5
16743 ac_header_preproc
=no
16745 rm -f conftest.err conftest.
$ac_ext
16746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16747 echo "${ECHO_T}$ac_header_preproc" >&6
16749 # So? What about this header?
16750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16756 ac_header_preproc
=yes
16759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16773 ## ----------------------------------------- ##
16774 ## Report this to wx-dev@lists.wxwidgets.org ##
16775 ## ----------------------------------------- ##
16778 sed "s/^/$as_me: WARNING: /" >&2
16781 echo "$as_me:$LINENO: checking for $ac_header" >&5
16782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 eval "$as_ac_Header=\$ac_header_preproc"
16788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16793 cat >>confdefs.h
<<_ACEOF
16794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16804 for ac_header
in fnmatch.h
16806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16808 echo "$as_me:$LINENO: checking for $ac_header" >&5
16809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16816 # Is the header compilable?
16817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16819 cat >conftest.
$ac_ext <<_ACEOF
16822 cat confdefs.h
>>conftest.
$ac_ext
16823 cat >>conftest.
$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16826 #include <$ac_header>
16828 rm -f conftest.
$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; } &&
16843 { ac_try
='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16849 ac_header_compiler
=yes
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ac_header_compiler
=no
16856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16858 echo "${ECHO_T}$ac_header_compiler" >&6
16860 # Is the header present?
16861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16863 cat >conftest.
$ac_ext <<_ACEOF
16866 cat confdefs.h
>>conftest.
$ac_ext
16867 cat >>conftest.
$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 #include <$ac_header>
16871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16874 grep -v '^ *+' conftest.er1
>conftest.err
16876 cat conftest.err
>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } >/dev
/null
; then
16879 if test -s conftest.err
; then
16880 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16881 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16888 if test -z "$ac_cpp_err"; then
16889 ac_header_preproc
=yes
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.
$ac_ext >&5
16894 ac_header_preproc
=no
16896 rm -f conftest.err conftest.
$ac_ext
16897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16898 echo "${ECHO_T}$ac_header_preproc" >&6
16900 # So? What about this header?
16901 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16907 ac_header_preproc
=yes
16910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16924 ## ----------------------------------------- ##
16925 ## Report this to wx-dev@lists.wxwidgets.org ##
16926 ## ----------------------------------------- ##
16929 sed "s/^/$as_me: WARNING: /" >&2
16932 echo "$as_me:$LINENO: checking for $ac_header" >&5
16933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16935 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 eval "$as_ac_Header=\$ac_header_preproc"
16939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16944 cat >>confdefs.h
<<_ACEOF
16945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16954 for ac_header
in langinfo.h
16956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16958 echo "$as_me:$LINENO: checking for $ac_header" >&5
16959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16966 # Is the header compilable?
16967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16969 cat >conftest.
$ac_ext <<_ACEOF
16972 cat confdefs.h
>>conftest.
$ac_ext
16973 cat >>conftest.
$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16976 #include <$ac_header>
16978 rm -f conftest.
$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16982 grep -v '^ *+' conftest.er1
>conftest.err
16984 cat conftest.err
>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try
='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_header_compiler
=yes
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.
$ac_ext >&5
17004 ac_header_compiler
=no
17006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17008 echo "${ECHO_T}$ac_header_compiler" >&6
17010 # Is the header present?
17011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17013 cat >conftest.
$ac_ext <<_ACEOF
17016 cat confdefs.h
>>conftest.
$ac_ext
17017 cat >>conftest.
$ac_ext <<_ACEOF
17018 /* end confdefs.h. */
17019 #include <$ac_header>
17021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17024 grep -v '^ *+' conftest.er1
>conftest.err
17026 cat conftest.err
>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } >/dev
/null
; then
17029 if test -s conftest.err
; then
17030 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17031 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17038 if test -z "$ac_cpp_err"; then
17039 ac_header_preproc
=yes
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.
$ac_ext >&5
17044 ac_header_preproc
=no
17046 rm -f conftest.err conftest.
$ac_ext
17047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17048 echo "${ECHO_T}$ac_header_preproc" >&6
17050 # So? What about this header?
17051 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17057 ac_header_preproc
=yes
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17074 ## ----------------------------------------- ##
17075 ## Report this to wx-dev@lists.wxwidgets.org ##
17076 ## ----------------------------------------- ##
17079 sed "s/^/$as_me: WARNING: /" >&2
17082 echo "$as_me:$LINENO: checking for $ac_header" >&5
17083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 eval "$as_ac_Header=\$ac_header_preproc"
17089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17094 cat >>confdefs.h
<<_ACEOF
17095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17104 *-pc-os2_emx | *-pc-os2-emx )
17105 if test $ac_cv_header_langinfo_h = "yes" \
17106 -a \
( "$wx_cv_gccversion" = "EMX2" \
17107 -o "$wx_cv_gccversion" = "EMX3" \
17108 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17109 LIBS
="$LIBS -lintl"
17115 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17116 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17117 if test "${ac_cv_c_const+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 cat >conftest.
$ac_ext <<_ACEOF
17123 cat confdefs.h
>>conftest.
$ac_ext
17124 cat >>conftest.
$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17130 /* FIXME: Include the comments suggested by Paul. */
17131 #ifndef __cplusplus
17132 /* Ultrix mips cc rejects this. */
17133 typedef int charset[2];
17135 /* SunOS 4.1.1 cc rejects this. */
17136 char const *const *ccp;
17138 /* NEC SVR4.0.2 mips cc rejects this. */
17139 struct point {int x, y;};
17140 static struct point const zero = {0,0};
17141 /* AIX XL C 1.02.0.0 rejects this.
17142 It does not let you subtract one const X* pointer from another in
17143 an arm of an if-expression whose if-part is not a constant
17145 const char *g = "string";
17146 ccp = &g + (g ? g-g : 0);
17147 /* HPUX 7.0 cc rejects these. */
17150 ccp = (char const *const *) p;
17151 { /* SCO 3.2v4 cc rejects this. */
17153 char const *s = 0 ? (char *) 0 : (char const *) 0;
17157 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17158 int x[] = {25, 17};
17159 const int *foo = &x[0];
17162 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17163 typedef const int *iptr;
17167 { /* AIX XL C 1.02.0.0 rejects this saying
17168 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17169 struct s { int j; const int *ap[3]; };
17170 struct s *b; b->j = 5;
17172 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17173 const int foo = 10;
17181 rm -f conftest.
$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17185 grep -v '^ *+' conftest.er1
>conftest.err
17187 cat conftest.err
>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try
='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.
$ac_ext >&5
17209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17211 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17212 echo "${ECHO_T}$ac_cv_c_const" >&6
17213 if test $ac_cv_c_const = no
; then
17215 cat >>confdefs.h
<<\_ACEOF
17221 echo "$as_me:$LINENO: checking for inline" >&5
17222 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17223 if test "${ac_cv_c_inline+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 for ac_kw
in inline __inline__ __inline
; do
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 #ifndef __cplusplus
17236 static $ac_kw foo_t static_foo () {return 0; }
17237 $ac_kw foo_t foo () {return 0; }
17241 rm -f conftest.
$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; } &&
17256 { ac_try
='test -s conftest.$ac_objext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_cv_c_inline
=$ac_kw; break
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17273 echo "${ECHO_T}$ac_cv_c_inline" >&6
17276 case $ac_cv_c_inline in
17279 case $ac_cv_c_inline in
17281 *) ac_val
=$ac_cv_c_inline;;
17283 cat >>confdefs.h
<<_ACEOF
17284 #ifndef __cplusplus
17285 #define inline $ac_val
17292 echo "$as_me:$LINENO: checking for char" >&5
17293 echo $ECHO_N "checking for char... $ECHO_C" >&6
17294 if test "${ac_cv_type_char+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 cat >conftest.
$ac_ext <<_ACEOF
17300 cat confdefs.h
>>conftest.
$ac_ext
17301 cat >>conftest.
$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 $ac_includes_default
17315 rm -f conftest.
$ac_objext
17316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317 (eval $ac_compile) 2>conftest.er1
17319 grep -v '^ *+' conftest.er1
>conftest.err
17321 cat conftest.err
>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } &&
17324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try
='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then
17336 ac_cv_type_char
=yes
17338 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.
$ac_ext >&5
17343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17345 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17346 echo "${ECHO_T}$ac_cv_type_char" >&6
17348 echo "$as_me:$LINENO: checking size of char" >&5
17349 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17350 if test "${ac_cv_sizeof_char+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17353 if test "$ac_cv_type_char" = yes; then
17354 # The cast to unsigned long works around a bug in the HP C Compiler
17355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17356 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17357 # This bug is HP SR number 8606223364.
17358 if test "$cross_compiling" = yes; then
17359 # Depending upon the size, compute the lo and hi bounds.
17360 cat >conftest.
$ac_ext <<_ACEOF
17363 cat confdefs.h
>>conftest.
$ac_ext
17364 cat >>conftest.
$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17366 $ac_includes_default
17370 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17377 rm -f conftest.
$ac_objext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17379 (eval $ac_compile) 2>conftest.er1
17381 grep -v '^ *+' conftest.er1
>conftest.err
17383 cat conftest.err
>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; } &&
17392 { ac_try
='test -s conftest.$ac_objext'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17400 cat >conftest.
$ac_ext <<_ACEOF
17403 cat confdefs.h
>>conftest.
$ac_ext
17404 cat >>conftest.
$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406 $ac_includes_default
17410 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17417 rm -f conftest.
$ac_objext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17419 (eval $ac_compile) 2>conftest.er1
17421 grep -v '^ *+' conftest.er1
>conftest.err
17423 cat conftest.err
>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } &&
17426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17428 (eval $ac_try) 2>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); }; } &&
17432 { ac_try
='test -s conftest.$ac_objext'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; }; then
17438 ac_hi
=$ac_mid; break
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.
$ac_ext >&5
17443 ac_lo
=`expr $ac_mid + 1`
17444 if test $ac_lo -le $ac_mid; then
17448 ac_mid
=`expr 2 '*' $ac_mid + 1`
17450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.
$ac_ext >&5
17456 cat >conftest.
$ac_ext <<_ACEOF
17459 cat confdefs.h
>>conftest.
$ac_ext
17460 cat >>conftest.
$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17462 $ac_includes_default
17466 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17473 rm -f conftest.
$ac_objext
17474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17475 (eval $ac_compile) 2>conftest.er1
17477 grep -v '^ *+' conftest.er1
>conftest.err
17479 cat conftest.err
>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } &&
17482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; } &&
17488 { ac_try
='test -s conftest.$ac_objext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17496 cat >conftest.
$ac_ext <<_ACEOF
17499 cat confdefs.h
>>conftest.
$ac_ext
17500 cat >>conftest.
$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 $ac_includes_default
17506 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17513 rm -f conftest.
$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17517 grep -v '^ *+' conftest.er1
>conftest.err
17519 cat conftest.err
>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try
='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_lo
=$ac_mid; break
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.
$ac_ext >&5
17539 ac_hi
=`expr '(' $ac_mid ')' - 1`
17540 if test $ac_mid -le $ac_hi; then
17544 ac_mid
=`expr 2 '*' $ac_mid`
17546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.
$ac_ext >&5
17554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17557 # Binary search between lo and hi bounds.
17558 while test "x$ac_lo" != "x$ac_hi"; do
17559 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17560 cat >conftest.
$ac_ext <<_ACEOF
17563 cat confdefs.h
>>conftest.
$ac_ext
17564 cat >>conftest.
$ac_ext <<_ACEOF
17565 /* end confdefs.h. */
17566 $ac_includes_default
17570 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17577 rm -f conftest.
$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>conftest.er1
17581 grep -v '^ *+' conftest.er1
>conftest.err
17583 cat conftest.err
>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } &&
17586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try
='test -s conftest.$ac_objext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 ac_lo
=`expr '(' $ac_mid ')' + 1`
17605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17608 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17609 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17610 See \`config.log' for more details." >&5
17611 echo "$as_me: error: cannot compute sizeof (char), 77
17612 See \`config.log' for more details." >&2;}
17613 { (exit 1); exit 1; }; } ;;
17616 if test "$cross_compiling" = yes; then
17617 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17618 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17619 { (exit 1); exit 1; }; }
17621 cat >conftest.
$ac_ext <<_ACEOF
17624 cat confdefs.h
>>conftest.
$ac_ext
17625 cat >>conftest.
$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627 $ac_includes_default
17628 long longval () { return (long) (sizeof (char)); }
17629 unsigned long ulongval () { return (long) (sizeof (char)); }
17631 #include <stdlib.h>
17636 FILE *f = fopen ("conftest.val", "w");
17639 if (((long) (sizeof (char))) < 0)
17641 long i = longval ();
17642 if (i != ((long) (sizeof (char))))
17644 fprintf (f, "%ld\n", i);
17648 unsigned long i = ulongval ();
17649 if (i != ((long) (sizeof (char))))
17651 fprintf (f, "%lu\n", i);
17653 exit (ferror (f) || fclose (f) != 0);
17659 rm -f conftest
$ac_exeext
17660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17661 (eval $ac_link) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_cv_sizeof_char
=`cat conftest.val`
17672 echo "$as_me: program exited with status $ac_status" >&5
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17676 ( exit $ac_status )
17677 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17678 See \`config.log' for more details." >&5
17679 echo "$as_me: error: cannot compute sizeof (char), 77
17680 See \`config.log' for more details." >&2;}
17681 { (exit 1); exit 1; }; }
17683 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17688 ac_cv_sizeof_char
=0
17691 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17692 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17693 cat >>confdefs.h
<<_ACEOF
17694 #define SIZEOF_CHAR $ac_cv_sizeof_char
17698 echo "$as_me:$LINENO: checking for short" >&5
17699 echo $ECHO_N "checking for short... $ECHO_C" >&6
17700 if test "${ac_cv_type_short+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.
$ac_ext <<_ACEOF
17706 cat confdefs.h
>>conftest.
$ac_ext
17707 cat >>conftest.
$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 $ac_includes_default
17715 if (sizeof (short))
17721 rm -f conftest.
$ac_objext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>conftest.er1
17725 grep -v '^ *+' conftest.er1
>conftest.err
17727 cat conftest.err
>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } &&
17730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try
='test -s conftest.$ac_objext'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; }; then
17742 ac_cv_type_short
=yes
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.
$ac_ext >&5
17747 ac_cv_type_short
=no
17749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17751 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17752 echo "${ECHO_T}$ac_cv_type_short" >&6
17754 echo "$as_me:$LINENO: checking size of short" >&5
17755 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17756 if test "${ac_cv_sizeof_short+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 if test "$ac_cv_type_short" = yes; then
17760 # The cast to unsigned long works around a bug in the HP C Compiler
17761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17763 # This bug is HP SR number 8606223364.
17764 if test "$cross_compiling" = yes; then
17765 # Depending upon the size, compute the lo and hi bounds.
17766 cat >conftest.
$ac_ext <<_ACEOF
17769 cat confdefs.h
>>conftest.
$ac_ext
17770 cat >>conftest.
$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 $ac_includes_default
17776 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17783 rm -f conftest.
$ac_objext
17784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17785 (eval $ac_compile) 2>conftest.er1
17787 grep -v '^ *+' conftest.er1
>conftest.err
17789 cat conftest.err
>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } &&
17792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try
='test -s conftest.$ac_objext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17806 cat >conftest.
$ac_ext <<_ACEOF
17809 cat confdefs.h
>>conftest.
$ac_ext
17810 cat >>conftest.
$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17812 $ac_includes_default
17816 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17823 rm -f conftest.
$ac_objext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17825 (eval $ac_compile) 2>conftest.er1
17827 grep -v '^ *+' conftest.er1
>conftest.err
17829 cat conftest.err
>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); } &&
17832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
17838 { ac_try
='test -s conftest.$ac_objext'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; }; then
17844 ac_hi
=$ac_mid; break
17846 echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.
$ac_ext >&5
17849 ac_lo
=`expr $ac_mid + 1`
17850 if test $ac_lo -le $ac_mid; then
17854 ac_mid
=`expr 2 '*' $ac_mid + 1`
17856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17872 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17879 rm -f conftest.
$ac_objext
17880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>conftest.er1
17883 grep -v '^ *+' conftest.er1
>conftest.err
17885 cat conftest.err
>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } &&
17888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; } &&
17894 { ac_try
='test -s conftest.$ac_objext'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; }; then
17902 cat >conftest.
$ac_ext <<_ACEOF
17905 cat confdefs.h
>>conftest.
$ac_ext
17906 cat >>conftest.
$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17912 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17919 rm -f conftest.
$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17923 grep -v '^ *+' conftest.er1
>conftest.err
17925 cat conftest.err
>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try
='test -s conftest.$ac_objext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 ac_lo
=$ac_mid; break
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17945 ac_hi
=`expr '(' $ac_mid ')' - 1`
17946 if test $ac_mid -le $ac_hi; then
17950 ac_mid
=`expr 2 '*' $ac_mid`
17952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.
$ac_ext >&5
17960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17963 # Binary search between lo and hi bounds.
17964 while test "x$ac_lo" != "x$ac_hi"; do
17965 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17966 cat >conftest.
$ac_ext <<_ACEOF
17969 cat confdefs.h
>>conftest.
$ac_ext
17970 cat >>conftest.
$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972 $ac_includes_default
17976 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17983 rm -f conftest.
$ac_objext
17984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17985 (eval $ac_compile) 2>conftest.er1
17987 grep -v '^ *+' conftest.er1
>conftest.err
17989 cat conftest.err
>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } &&
17992 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994 (eval $ac_try) 2>&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); }; } &&
17998 { ac_try
='test -s conftest.$ac_objext'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; }; then
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.
$ac_ext >&5
18009 ac_lo
=`expr '(' $ac_mid ')' + 1`
18011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18014 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18015 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18016 See \`config.log' for more details." >&5
18017 echo "$as_me: error: cannot compute sizeof (short), 77
18018 See \`config.log' for more details." >&2;}
18019 { (exit 1); exit 1; }; } ;;
18022 if test "$cross_compiling" = yes; then
18023 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18024 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18025 { (exit 1); exit 1; }; }
18027 cat >conftest.
$ac_ext <<_ACEOF
18030 cat confdefs.h
>>conftest.
$ac_ext
18031 cat >>conftest.
$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 long longval () { return (long) (sizeof (short)); }
18035 unsigned long ulongval () { return (long) (sizeof (short)); }
18037 #include <stdlib.h>
18042 FILE *f = fopen ("conftest.val", "w");
18045 if (((long) (sizeof (short))) < 0)
18047 long i = longval ();
18048 if (i != ((long) (sizeof (short))))
18050 fprintf (f, "%ld\n", i);
18054 unsigned long i = ulongval ();
18055 if (i != ((long) (sizeof (short))))
18057 fprintf (f, "%lu\n", i);
18059 exit (ferror (f) || fclose (f) != 0);
18065 rm -f conftest
$ac_exeext
18066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18067 (eval $ac_link) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; }; then
18076 ac_cv_sizeof_short
=`cat conftest.val`
18078 echo "$as_me: program exited with status $ac_status" >&5
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.
$ac_ext >&5
18082 ( exit $ac_status )
18083 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18084 See \`config.log' for more details." >&5
18085 echo "$as_me: error: cannot compute sizeof (short), 77
18086 See \`config.log' for more details." >&2;}
18087 { (exit 1); exit 1; }; }
18089 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18094 ac_cv_sizeof_short
=0
18097 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18098 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18099 cat >>confdefs.h
<<_ACEOF
18100 #define SIZEOF_SHORT $ac_cv_sizeof_short
18104 echo "$as_me:$LINENO: checking for void *" >&5
18105 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18106 if test "${ac_cv_type_void_p+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 cat >conftest.
$ac_ext <<_ACEOF
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 $ac_includes_default
18121 if (sizeof (void *))
18127 rm -f conftest.
$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>conftest.er1
18131 grep -v '^ *+' conftest.er1
>conftest.err
18133 cat conftest.err
>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_void_p
=yes
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.
$ac_ext >&5
18153 ac_cv_type_void_p
=no
18155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18158 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18160 echo "$as_me:$LINENO: checking size of void *" >&5
18161 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18162 if test "${ac_cv_sizeof_void_p+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 if test "$ac_cv_type_void_p" = 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 (void *))) >= 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_cxx_werror_flag" || test ! -s conftest.err'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; } &&
18204 { ac_try
='test -s conftest.$ac_objext'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; }; then
18212 cat >conftest.
$ac_ext <<_ACEOF
18215 cat confdefs.h
>>conftest.
$ac_ext
18216 cat >>conftest.
$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 $ac_includes_default
18222 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18229 rm -f conftest.
$ac_objext
18230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18231 (eval $ac_compile) 2>conftest.er1
18233 grep -v '^ *+' conftest.er1
>conftest.err
18235 cat conftest.err
>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } &&
18238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; } &&
18244 { ac_try
='test -s conftest.$ac_objext'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; }; then
18250 ac_hi
=$ac_mid; break
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18255 ac_lo
=`expr $ac_mid + 1`
18256 if test $ac_lo -le $ac_mid; then
18260 ac_mid
=`expr 2 '*' $ac_mid + 1`
18262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.
$ac_ext >&5
18268 cat >conftest.
$ac_ext <<_ACEOF
18271 cat confdefs.h
>>conftest.
$ac_ext
18272 cat >>conftest.
$ac_ext <<_ACEOF
18273 /* end confdefs.h. */
18274 $ac_includes_default
18278 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18285 rm -f conftest.
$ac_objext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18287 (eval $ac_compile) 2>conftest.er1
18289 grep -v '^ *+' conftest.er1
>conftest.err
18291 cat conftest.err
>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } &&
18294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try
='test -s conftest.$ac_objext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18308 cat >conftest.
$ac_ext <<_ACEOF
18311 cat confdefs.h
>>conftest.
$ac_ext
18312 cat >>conftest.
$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 $ac_includes_default
18318 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18325 rm -f conftest.
$ac_objext
18326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18327 (eval $ac_compile) 2>conftest.er1
18329 grep -v '^ *+' conftest.er1
>conftest.err
18331 cat conftest.err
>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } &&
18334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; } &&
18340 { ac_try
='test -s conftest.$ac_objext'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; }; then
18346 ac_lo
=$ac_mid; break
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.
$ac_ext >&5
18351 ac_hi
=`expr '(' $ac_mid ')' - 1`
18352 if test $ac_mid -le $ac_hi; then
18356 ac_mid
=`expr 2 '*' $ac_mid`
18358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.
$ac_ext >&5
18366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18369 # Binary search between lo and hi bounds.
18370 while test "x$ac_lo" != "x$ac_hi"; do
18371 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18372 cat >conftest.
$ac_ext <<_ACEOF
18375 cat confdefs.h
>>conftest.
$ac_ext
18376 cat >>conftest.
$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 $ac_includes_default
18382 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18389 rm -f conftest.
$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18393 grep -v '^ *+' conftest.er1
>conftest.err
18395 cat conftest.err
>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; } &&
18404 { ac_try
='test -s conftest.$ac_objext'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.
$ac_ext >&5
18415 ac_lo
=`expr '(' $ac_mid ')' + 1`
18417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18420 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18422 See \`config.log' for more details." >&5
18423 echo "$as_me: error: cannot compute sizeof (void *), 77
18424 See \`config.log' for more details." >&2;}
18425 { (exit 1); exit 1; }; } ;;
18428 if test "$cross_compiling" = yes; then
18429 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18430 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18431 { (exit 1); exit 1; }; }
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 $ac_includes_default
18440 long longval () { return (long) (sizeof (void *)); }
18441 unsigned long ulongval () { return (long) (sizeof (void *)); }
18443 #include <stdlib.h>
18448 FILE *f = fopen ("conftest.val", "w");
18451 if (((long) (sizeof (void *))) < 0)
18453 long i = longval ();
18454 if (i != ((long) (sizeof (void *))))
18456 fprintf (f, "%ld\n", i);
18460 unsigned long i = ulongval ();
18461 if (i != ((long) (sizeof (void *))))
18463 fprintf (f, "%lu\n", i);
18465 exit (ferror (f) || fclose (f) != 0);
18471 rm -f conftest
$ac_exeext
18472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18473 (eval $ac_link) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 ac_cv_sizeof_void_p
=`cat conftest.val`
18484 echo "$as_me: program exited with status $ac_status" >&5
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.
$ac_ext >&5
18488 ( exit $ac_status )
18489 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18490 See \`config.log' for more details." >&5
18491 echo "$as_me: error: cannot compute sizeof (void *), 77
18492 See \`config.log' for more details." >&2;}
18493 { (exit 1); exit 1; }; }
18495 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18500 ac_cv_sizeof_void_p
=0
18503 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18504 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18505 cat >>confdefs.h
<<_ACEOF
18506 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18510 echo "$as_me:$LINENO: checking for int" >&5
18511 echo $ECHO_N "checking for int... $ECHO_C" >&6
18512 if test "${ac_cv_type_int+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 cat >conftest.
$ac_ext <<_ACEOF
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18533 rm -f conftest.
$ac_objext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18535 (eval $ac_compile) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; } &&
18548 { ac_try
='test -s conftest.$ac_objext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.
$ac_ext >&5
18561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18563 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18564 echo "${ECHO_T}$ac_cv_type_int" >&6
18566 echo "$as_me:$LINENO: checking size of int" >&5
18567 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18568 if test "${ac_cv_sizeof_int+set}" = set; then
18569 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 if test "$ac_cv_type_int" = yes; then
18572 # The cast to unsigned long works around a bug in the HP C Compiler
18573 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18574 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18575 # This bug is HP SR number 8606223364.
18576 if test "$cross_compiling" = yes; then
18577 # Depending upon the size, compute the lo and hi bounds.
18578 cat >conftest.
$ac_ext <<_ACEOF
18581 cat confdefs.h
>>conftest.
$ac_ext
18582 cat >>conftest.
$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 $ac_includes_default
18588 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18595 rm -f conftest.
$ac_objext
18596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18597 (eval $ac_compile) 2>conftest.er1
18599 grep -v '^ *+' conftest.er1
>conftest.err
18601 cat conftest.err
>&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); } &&
18604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; } &&
18610 { ac_try
='test -s conftest.$ac_objext'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; }; then
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 $ac_includes_default
18628 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18635 rm -f conftest.
$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; } &&
18650 { ac_try
='test -s conftest.$ac_objext'
18651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18652 (eval $ac_try) 2>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; }; then
18656 ac_hi
=$ac_mid; break
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.
$ac_ext >&5
18661 ac_lo
=`expr $ac_mid + 1`
18662 if test $ac_lo -le $ac_mid; then
18666 ac_mid
=`expr 2 '*' $ac_mid + 1`
18668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18671 echo "$as_me: failed program was:" >&5
18672 sed 's/^/| /' conftest.
$ac_ext >&5
18674 cat >conftest.
$ac_ext <<_ACEOF
18677 cat confdefs.h
>>conftest.
$ac_ext
18678 cat >>conftest.
$ac_ext <<_ACEOF
18679 /* end confdefs.h. */
18680 $ac_includes_default
18684 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18691 rm -f conftest.
$ac_objext
18692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18693 (eval $ac_compile) 2>conftest.er1
18695 grep -v '^ *+' conftest.er1
>conftest.err
18697 cat conftest.err
>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } &&
18700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; } &&
18706 { ac_try
='test -s conftest.$ac_objext'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; }; then
18714 cat >conftest.
$ac_ext <<_ACEOF
18717 cat confdefs.h
>>conftest.
$ac_ext
18718 cat >>conftest.
$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 $ac_includes_default
18724 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18731 rm -f conftest.
$ac_objext
18732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18733 (eval $ac_compile) 2>conftest.er1
18735 grep -v '^ *+' conftest.er1
>conftest.err
18737 cat conftest.err
>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } &&
18740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; } &&
18746 { ac_try
='test -s conftest.$ac_objext'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; }; then
18752 ac_lo
=$ac_mid; break
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.
$ac_ext >&5
18757 ac_hi
=`expr '(' $ac_mid ')' - 1`
18758 if test $ac_mid -le $ac_hi; then
18762 ac_mid
=`expr 2 '*' $ac_mid`
18764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.
$ac_ext >&5
18772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18775 # Binary search between lo and hi bounds.
18776 while test "x$ac_lo" != "x$ac_hi"; do
18777 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18778 cat >conftest.
$ac_ext <<_ACEOF
18781 cat confdefs.h
>>conftest.
$ac_ext
18782 cat >>conftest.
$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 $ac_includes_default
18788 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18795 rm -f conftest.
$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>conftest.er1
18799 grep -v '^ *+' conftest.er1
>conftest.err
18801 cat conftest.err
>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try
='test -s conftest.$ac_objext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.
$ac_ext >&5
18821 ac_lo
=`expr '(' $ac_mid ')' + 1`
18823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18826 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18827 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18828 See \`config.log' for more details." >&5
18829 echo "$as_me: error: cannot compute sizeof (int), 77
18830 See \`config.log' for more details." >&2;}
18831 { (exit 1); exit 1; }; } ;;
18834 if test "$cross_compiling" = yes; then
18835 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18836 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18837 { (exit 1); exit 1; }; }
18839 cat >conftest.
$ac_ext <<_ACEOF
18842 cat confdefs.h
>>conftest.
$ac_ext
18843 cat >>conftest.
$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18846 long longval () { return (long) (sizeof (int)); }
18847 unsigned long ulongval () { return (long) (sizeof (int)); }
18849 #include <stdlib.h>
18854 FILE *f = fopen ("conftest.val", "w");
18857 if (((long) (sizeof (int))) < 0)
18859 long i = longval ();
18860 if (i != ((long) (sizeof (int))))
18862 fprintf (f, "%ld\n", i);
18866 unsigned long i = ulongval ();
18867 if (i != ((long) (sizeof (int))))
18869 fprintf (f, "%lu\n", i);
18871 exit (ferror (f) || fclose (f) != 0);
18877 rm -f conftest
$ac_exeext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18879 (eval $ac_link) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; }; then
18888 ac_cv_sizeof_int
=`cat conftest.val`
18890 echo "$as_me: program exited with status $ac_status" >&5
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 ( exit $ac_status )
18895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18896 See \`config.log' for more details." >&5
18897 echo "$as_me: error: cannot compute sizeof (int), 77
18898 See \`config.log' for more details." >&2;}
18899 { (exit 1); exit 1; }; }
18901 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18909 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18910 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18911 cat >>confdefs.h
<<_ACEOF
18912 #define SIZEOF_INT $ac_cv_sizeof_int
18916 echo "$as_me:$LINENO: checking for long" >&5
18917 echo $ECHO_N "checking for long... $ECHO_C" >&6
18918 if test "${ac_cv_type_long+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 cat >conftest.
$ac_ext <<_ACEOF
18924 cat confdefs.h
>>conftest.
$ac_ext
18925 cat >>conftest.
$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18939 rm -f conftest.
$ac_objext
18940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18941 (eval $ac_compile) 2>conftest.er1
18943 grep -v '^ *+' conftest.er1
>conftest.err
18945 cat conftest.err
>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); } &&
18948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; } &&
18954 { ac_try
='test -s conftest.$ac_objext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_type_long
=yes
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.
$ac_ext >&5
18967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18970 echo "${ECHO_T}$ac_cv_type_long" >&6
18972 echo "$as_me:$LINENO: checking size of long" >&5
18973 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18974 if test "${ac_cv_sizeof_long+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 if test "$ac_cv_type_long" = yes; then
18978 # The cast to unsigned long works around a bug in the HP C Compiler
18979 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18980 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18981 # This bug is HP SR number 8606223364.
18982 if test "$cross_compiling" = yes; then
18983 # Depending upon the size, compute the lo and hi bounds.
18984 cat >conftest.
$ac_ext <<_ACEOF
18987 cat confdefs.h
>>conftest.
$ac_ext
18988 cat >>conftest.
$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 $ac_includes_default
18994 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19001 rm -f conftest.
$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>conftest.er1
19005 grep -v '^ *+' conftest.er1
>conftest.err
19007 cat conftest.err
>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; } &&
19016 { ac_try
='test -s conftest.$ac_objext'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; }; then
19024 cat >conftest.
$ac_ext <<_ACEOF
19027 cat confdefs.h
>>conftest.
$ac_ext
19028 cat >>conftest.
$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 $ac_includes_default
19034 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19041 rm -f conftest.
$ac_objext
19042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19043 (eval $ac_compile) 2>conftest.er1
19045 grep -v '^ *+' conftest.er1
>conftest.err
19047 cat conftest.err
>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try
='test -s conftest.$ac_objext'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; }; then
19062 ac_hi
=$ac_mid; break
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.
$ac_ext >&5
19067 ac_lo
=`expr $ac_mid + 1`
19068 if test $ac_lo -le $ac_mid; then
19072 ac_mid
=`expr 2 '*' $ac_mid + 1`
19074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.
$ac_ext >&5
19080 cat >conftest.
$ac_ext <<_ACEOF
19083 cat confdefs.h
>>conftest.
$ac_ext
19084 cat >>conftest.
$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 $ac_includes_default
19090 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19097 rm -f conftest.
$ac_objext
19098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19099 (eval $ac_compile) 2>conftest.er1
19101 grep -v '^ *+' conftest.er1
>conftest.err
19103 cat conftest.err
>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } &&
19106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; } &&
19112 { ac_try
='test -s conftest.$ac_objext'
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19114 (eval $ac_try) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; }; then
19120 cat >conftest.
$ac_ext <<_ACEOF
19123 cat confdefs.h
>>conftest.
$ac_ext
19124 cat >>conftest.
$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 $ac_includes_default
19130 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19137 rm -f conftest.
$ac_objext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19139 (eval $ac_compile) 2>conftest.er1
19141 grep -v '^ *+' conftest.er1
>conftest.err
19143 cat conftest.err
>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try
='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 ac_lo
=$ac_mid; break
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.
$ac_ext >&5
19163 ac_hi
=`expr '(' $ac_mid ')' - 1`
19164 if test $ac_mid -le $ac_hi; then
19168 ac_mid
=`expr 2 '*' $ac_mid`
19170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.
$ac_ext >&5
19178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19181 # Binary search between lo and hi bounds.
19182 while test "x$ac_lo" != "x$ac_hi"; do
19183 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19184 cat >conftest.
$ac_ext <<_ACEOF
19187 cat confdefs.h
>>conftest.
$ac_ext
19188 cat >>conftest.
$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19194 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19201 rm -f conftest.
$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19205 grep -v '^ *+' conftest.er1
>conftest.err
19207 cat conftest.err
>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; } &&
19216 { ac_try
='test -s conftest.$ac_objext'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.
$ac_ext >&5
19227 ac_lo
=`expr '(' $ac_mid ')' + 1`
19229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19232 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19233 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19234 See \`config.log' for more details." >&5
19235 echo "$as_me: error: cannot compute sizeof (long), 77
19236 See \`config.log' for more details." >&2;}
19237 { (exit 1); exit 1; }; } ;;
19240 if test "$cross_compiling" = yes; then
19241 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19242 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19243 { (exit 1); exit 1; }; }
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 long longval () { return (long) (sizeof (long)); }
19253 unsigned long ulongval () { return (long) (sizeof (long)); }
19255 #include <stdlib.h>
19260 FILE *f = fopen ("conftest.val", "w");
19263 if (((long) (sizeof (long))) < 0)
19265 long i = longval ();
19266 if (i != ((long) (sizeof (long))))
19268 fprintf (f, "%ld\n", i);
19272 unsigned long i = ulongval ();
19273 if (i != ((long) (sizeof (long))))
19275 fprintf (f, "%lu\n", i);
19277 exit (ferror (f) || fclose (f) != 0);
19283 rm -f conftest
$ac_exeext
19284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19285 (eval $ac_link) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 ac_cv_sizeof_long
=`cat conftest.val`
19296 echo "$as_me: program exited with status $ac_status" >&5
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.
$ac_ext >&5
19300 ( exit $ac_status )
19301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19302 See \`config.log' for more details." >&5
19303 echo "$as_me: error: cannot compute sizeof (long), 77
19304 See \`config.log' for more details." >&2;}
19305 { (exit 1); exit 1; }; }
19307 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19312 ac_cv_sizeof_long
=0
19315 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19316 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19317 cat >>confdefs.h
<<_ACEOF
19318 #define SIZEOF_LONG $ac_cv_sizeof_long
19322 echo "$as_me:$LINENO: checking for size_t" >&5
19323 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19324 if test "${ac_cv_type_size_t+set}" = set; then
19325 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 cat >conftest.
$ac_ext <<_ACEOF
19330 cat confdefs.h
>>conftest.
$ac_ext
19331 cat >>conftest.
$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 $ac_includes_default
19339 if (sizeof (size_t))
19345 rm -f conftest.
$ac_objext
19346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19347 (eval $ac_compile) 2>conftest.er1
19349 grep -v '^ *+' conftest.er1
>conftest.err
19351 cat conftest.err
>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); } &&
19354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; } &&
19360 { ac_try
='test -s conftest.$ac_objext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 ac_cv_type_size_t
=yes
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.
$ac_ext >&5
19371 ac_cv_type_size_t
=no
19373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19375 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19376 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19378 echo "$as_me:$LINENO: checking size of size_t" >&5
19379 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19380 if test "${ac_cv_sizeof_size_t+set}" = set; then
19381 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 if test "$ac_cv_type_size_t" = yes; then
19384 # The cast to unsigned long works around a bug in the HP C Compiler
19385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19387 # This bug is HP SR number 8606223364.
19388 if test "$cross_compiling" = yes; then
19389 # Depending upon the size, compute the lo and hi bounds.
19390 cat >conftest.
$ac_ext <<_ACEOF
19393 cat confdefs.h
>>conftest.
$ac_ext
19394 cat >>conftest.
$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 $ac_includes_default
19400 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19407 rm -f conftest.
$ac_objext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19409 (eval $ac_compile) 2>conftest.er1
19411 grep -v '^ *+' conftest.er1
>conftest.err
19413 cat conftest.err
>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } &&
19416 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; } &&
19422 { ac_try
='test -s conftest.$ac_objext'
19423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 (eval $ac_try) 2>&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }; }; then
19430 cat >conftest.
$ac_ext <<_ACEOF
19433 cat confdefs.h
>>conftest.
$ac_ext
19434 cat >>conftest.
$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19440 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19447 rm -f conftest.
$ac_objext
19448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19449 (eval $ac_compile) 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } &&
19456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; } &&
19462 { ac_try
='test -s conftest.$ac_objext'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; }; then
19468 ac_hi
=$ac_mid; break
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.
$ac_ext >&5
19473 ac_lo
=`expr $ac_mid + 1`
19474 if test $ac_lo -le $ac_mid; then
19478 ac_mid
=`expr 2 '*' $ac_mid + 1`
19480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.
$ac_ext >&5
19486 cat >conftest.
$ac_ext <<_ACEOF
19489 cat confdefs.h
>>conftest.
$ac_ext
19490 cat >>conftest.
$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 $ac_includes_default
19496 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19503 rm -f conftest.
$ac_objext
19504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19505 (eval $ac_compile) 2>conftest.er1
19507 grep -v '^ *+' conftest.er1
>conftest.err
19509 cat conftest.err
>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } &&
19512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try
='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19526 cat >conftest.
$ac_ext <<_ACEOF
19529 cat confdefs.h
>>conftest.
$ac_ext
19530 cat >>conftest.
$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 $ac_includes_default
19536 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19543 rm -f conftest.
$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19547 grep -v '^ *+' conftest.er1
>conftest.err
19549 cat conftest.err
>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try
='test -s conftest.$ac_objext'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; }; then
19564 ac_lo
=$ac_mid; break
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.
$ac_ext >&5
19569 ac_hi
=`expr '(' $ac_mid ')' - 1`
19570 if test $ac_mid -le $ac_hi; then
19574 ac_mid
=`expr 2 '*' $ac_mid`
19576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.
$ac_ext >&5
19584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19587 # Binary search between lo and hi bounds.
19588 while test "x$ac_lo" != "x$ac_hi"; do
19589 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19600 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19607 rm -f conftest.
$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19611 grep -v '^ *+' conftest.er1
>conftest.err
19613 cat conftest.err
>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try
='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 ac_lo
=`expr '(' $ac_mid ')' + 1`
19635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19638 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19639 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19640 See \`config.log' for more details." >&5
19641 echo "$as_me: error: cannot compute sizeof (size_t), 77
19642 See \`config.log' for more details." >&2;}
19643 { (exit 1); exit 1; }; } ;;
19646 if test "$cross_compiling" = yes; then
19647 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19648 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19649 { (exit 1); exit 1; }; }
19651 cat >conftest.
$ac_ext <<_ACEOF
19654 cat confdefs.h
>>conftest.
$ac_ext
19655 cat >>conftest.
$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19658 long longval () { return (long) (sizeof (size_t)); }
19659 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19661 #include <stdlib.h>
19666 FILE *f = fopen ("conftest.val", "w");
19669 if (((long) (sizeof (size_t))) < 0)
19671 long i = longval ();
19672 if (i != ((long) (sizeof (size_t))))
19674 fprintf (f, "%ld\n", i);
19678 unsigned long i = ulongval ();
19679 if (i != ((long) (sizeof (size_t))))
19681 fprintf (f, "%lu\n", i);
19683 exit (ferror (f) || fclose (f) != 0);
19689 rm -f conftest
$ac_exeext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19691 (eval $ac_link) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 ac_cv_sizeof_size_t
=`cat conftest.val`
19702 echo "$as_me: program exited with status $ac_status" >&5
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.
$ac_ext >&5
19706 ( exit $ac_status )
19707 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19708 See \`config.log' for more details." >&5
19709 echo "$as_me: error: cannot compute sizeof (size_t), 77
19710 See \`config.log' for more details." >&2;}
19711 { (exit 1); exit 1; }; }
19713 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19718 ac_cv_sizeof_size_t
=0
19721 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19722 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19723 cat >>confdefs.h
<<_ACEOF
19724 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19731 echo "$as_me:$LINENO: checking for long long" >&5
19732 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19733 if test "${ac_cv_type_long_long+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 cat >conftest.
$ac_ext <<_ACEOF
19739 cat confdefs.h
>>conftest.
$ac_ext
19740 cat >>conftest.
$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19746 if ((long long *) 0)
19748 if (sizeof (long long))
19754 rm -f conftest.
$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_cv_type_long_long
=yes
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.
$ac_ext >&5
19780 ac_cv_type_long_long
=no
19782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19784 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19785 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19787 echo "$as_me:$LINENO: checking size of long long" >&5
19788 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19789 if test "${ac_cv_sizeof_long_long+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 if test "$ac_cv_type_long_long" = yes; then
19793 # The cast to unsigned long works around a bug in the HP C Compiler
19794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19796 # This bug is HP SR number 8606223364.
19797 if test "$cross_compiling" = yes; then
19798 # Depending upon the size, compute the lo and hi bounds.
19799 cat >conftest.
$ac_ext <<_ACEOF
19802 cat confdefs.h
>>conftest.
$ac_ext
19803 cat >>conftest.
$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 $ac_includes_default
19809 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19816 rm -f conftest.
$ac_objext
19817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19818 (eval $ac_compile) 2>conftest.er1
19820 grep -v '^ *+' conftest.er1
>conftest.err
19822 cat conftest.err
>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } &&
19825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; } &&
19831 { ac_try
='test -s conftest.$ac_objext'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; }; then
19839 cat >conftest.
$ac_ext <<_ACEOF
19842 cat confdefs.h
>>conftest.
$ac_ext
19843 cat >>conftest.
$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 $ac_includes_default
19849 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19856 rm -f conftest.
$ac_objext
19857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19858 (eval $ac_compile) 2>conftest.er1
19860 grep -v '^ *+' conftest.er1
>conftest.err
19862 cat conftest.err
>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } &&
19865 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
19877 ac_hi
=$ac_mid; break
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.
$ac_ext >&5
19882 ac_lo
=`expr $ac_mid + 1`
19883 if test $ac_lo -le $ac_mid; then
19887 ac_mid
=`expr 2 '*' $ac_mid + 1`
19889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.
$ac_ext >&5
19895 cat >conftest.
$ac_ext <<_ACEOF
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 $ac_includes_default
19905 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19912 rm -f conftest.
$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>conftest.er1
19916 grep -v '^ *+' conftest.er1
>conftest.err
19918 cat conftest.err
>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } &&
19921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try
='test -s conftest.$ac_objext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19935 cat >conftest.
$ac_ext <<_ACEOF
19938 cat confdefs.h
>>conftest.
$ac_ext
19939 cat >>conftest.
$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19941 $ac_includes_default
19945 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19952 rm -f conftest.
$ac_objext
19953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19954 (eval $ac_compile) 2>conftest.er1
19956 grep -v '^ *+' conftest.er1
>conftest.err
19958 cat conftest.err
>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); } &&
19961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; } &&
19967 { ac_try
='test -s conftest.$ac_objext'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; }; then
19973 ac_lo
=$ac_mid; break
19975 echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.
$ac_ext >&5
19978 ac_hi
=`expr '(' $ac_mid ')' - 1`
19979 if test $ac_mid -le $ac_hi; then
19983 ac_mid
=`expr 2 '*' $ac_mid`
19985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19996 # Binary search between lo and hi bounds.
19997 while test "x$ac_lo" != "x$ac_hi"; do
19998 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19999 cat >conftest.
$ac_ext <<_ACEOF
20002 cat confdefs.h
>>conftest.
$ac_ext
20003 cat >>conftest.
$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 $ac_includes_default
20009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20016 rm -f conftest.
$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20020 grep -v '^ *+' conftest.er1
>conftest.err
20022 cat conftest.err
>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try
='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.
$ac_ext >&5
20042 ac_lo
=`expr '(' $ac_mid ')' + 1`
20044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20047 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20048 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20049 See \`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (long long), 77
20051 See \`config.log' for more details." >&2;}
20052 { (exit 1); exit 1; }; } ;;
20055 if test "$cross_compiling" = yes; then
20056 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20057 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20058 { (exit 1); exit 1; }; }
20060 cat >conftest.
$ac_ext <<_ACEOF
20063 cat confdefs.h
>>conftest.
$ac_ext
20064 cat >>conftest.
$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 $ac_includes_default
20067 long longval () { return (long) (sizeof (long long)); }
20068 unsigned long ulongval () { return (long) (sizeof (long long)); }
20070 #include <stdlib.h>
20075 FILE *f = fopen ("conftest.val", "w");
20078 if (((long) (sizeof (long long))) < 0)
20080 long i = longval ();
20081 if (i != ((long) (sizeof (long long))))
20083 fprintf (f, "%ld\n", i);
20087 unsigned long i = ulongval ();
20088 if (i != ((long) (sizeof (long long))))
20090 fprintf (f, "%lu\n", i);
20092 exit (ferror (f) || fclose (f) != 0);
20098 rm -f conftest
$ac_exeext
20099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20100 (eval $ac_link) 2>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20109 ac_cv_sizeof_long_long
=`cat conftest.val`
20111 echo "$as_me: program exited with status $ac_status" >&5
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 ( exit $ac_status )
20116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20117 See \`config.log' for more details." >&5
20118 echo "$as_me: error: cannot compute sizeof (long long), 77
20119 See \`config.log' for more details." >&2;}
20120 { (exit 1); exit 1; }; }
20122 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20127 ac_cv_sizeof_long_long
=0
20130 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20131 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20132 cat >>confdefs.h
<<_ACEOF
20133 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20139 echo "$as_me:$LINENO: checking for long long" >&5
20140 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20141 if test "${ac_cv_type_long_long+set}" = set; then
20142 echo $ECHO_N "(cached) $ECHO_C" >&6
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150 $ac_includes_default
20154 if ((long long *) 0)
20156 if (sizeof (long long))
20162 rm -f conftest.
$ac_objext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20164 (eval $ac_compile) 2>conftest.er1
20166 grep -v '^ *+' conftest.er1
>conftest.err
20168 cat conftest.err
>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try
='test -s conftest.$ac_objext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_type_long_long
=yes
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.
$ac_ext >&5
20188 ac_cv_type_long_long
=no
20190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20193 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20195 echo "$as_me:$LINENO: checking size of long long" >&5
20196 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20197 if test "${ac_cv_sizeof_long_long+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 if test "$ac_cv_type_long_long" = yes; then
20201 # The cast to unsigned long works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 if test "$cross_compiling" = yes; then
20206 # Depending upon the size, compute the lo and hi bounds.
20207 cat >conftest.
$ac_ext <<_ACEOF
20210 cat confdefs.h
>>conftest.
$ac_ext
20211 cat >>conftest.
$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20217 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20224 rm -f conftest.
$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226 (eval $ac_compile) 2>conftest.er1
20228 grep -v '^ *+' conftest.er1
>conftest.err
20230 cat conftest.err
>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try
='test -s conftest.$ac_objext'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20247 cat >conftest.
$ac_ext <<_ACEOF
20250 cat confdefs.h
>>conftest.
$ac_ext
20251 cat >>conftest.
$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20257 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20264 rm -f conftest.
$ac_objext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20266 (eval $ac_compile) 2>conftest.er1
20268 grep -v '^ *+' conftest.er1
>conftest.err
20270 cat conftest.err
>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; } &&
20279 { ac_try
='test -s conftest.$ac_objext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_hi
=$ac_mid; break
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.
$ac_ext >&5
20290 ac_lo
=`expr $ac_mid + 1`
20291 if test $ac_lo -le $ac_mid; then
20295 ac_mid
=`expr 2 '*' $ac_mid + 1`
20297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 cat >conftest.
$ac_ext <<_ACEOF
20306 cat confdefs.h
>>conftest.
$ac_ext
20307 cat >>conftest.
$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20313 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20320 rm -f conftest.
$ac_objext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20322 (eval $ac_compile) 2>conftest.er1
20324 grep -v '^ *+' conftest.er1
>conftest.err
20326 cat conftest.err
>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } &&
20329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; } &&
20335 { ac_try
='test -s conftest.$ac_objext'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20353 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20360 rm -f conftest.
$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>conftest.er1
20364 grep -v '^ *+' conftest.er1
>conftest.err
20366 cat conftest.err
>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } &&
20369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20371 (eval $ac_try) 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; } &&
20375 { ac_try
='test -s conftest.$ac_objext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_lo
=$ac_mid; break
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.
$ac_ext >&5
20386 ac_hi
=`expr '(' $ac_mid ')' - 1`
20387 if test $ac_mid -le $ac_hi; then
20391 ac_mid
=`expr 2 '*' $ac_mid`
20393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.
$ac_ext >&5
20401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20404 # Binary search between lo and hi bounds.
20405 while test "x$ac_lo" != "x$ac_hi"; do
20406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20407 cat >conftest.
$ac_ext <<_ACEOF
20410 cat confdefs.h
>>conftest.
$ac_ext
20411 cat >>conftest.
$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20417 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20424 rm -f conftest.
$ac_objext
20425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20426 (eval $ac_compile) 2>conftest.er1
20428 grep -v '^ *+' conftest.er1
>conftest.err
20430 cat conftest.err
>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try
='test -s conftest.$ac_objext'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ac_lo
=`expr '(' $ac_mid ')' + 1`
20452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20455 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20456 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20457 See \`config.log' for more details." >&5
20458 echo "$as_me: error: cannot compute sizeof (long long), 77
20459 See \`config.log' for more details." >&2;}
20460 { (exit 1); exit 1; }; } ;;
20463 if test "$cross_compiling" = yes; then
20464 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20465 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20466 { (exit 1); exit 1; }; }
20468 cat >conftest.
$ac_ext <<_ACEOF
20471 cat confdefs.h
>>conftest.
$ac_ext
20472 cat >>conftest.
$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20475 long longval () { return (long) (sizeof (long long)); }
20476 unsigned long ulongval () { return (long) (sizeof (long long)); }
20478 #include <stdlib.h>
20483 FILE *f = fopen ("conftest.val", "w");
20486 if (((long) (sizeof (long long))) < 0)
20488 long i = longval ();
20489 if (i != ((long) (sizeof (long long))))
20491 fprintf (f, "%ld\n", i);
20495 unsigned long i = ulongval ();
20496 if (i != ((long) (sizeof (long long))))
20498 fprintf (f, "%lu\n", i);
20500 exit (ferror (f) || fclose (f) != 0);
20506 rm -f conftest
$ac_exeext
20507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20508 (eval $ac_link) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_long_long
=`cat conftest.val`
20519 echo "$as_me: program exited with status $ac_status" >&5
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.
$ac_ext >&5
20523 ( exit $ac_status )
20524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20525 See \`config.log' for more details." >&5
20526 echo "$as_me: error: cannot compute sizeof (long long), 77
20527 See \`config.log' for more details." >&2;}
20528 { (exit 1); exit 1; }; }
20530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20535 ac_cv_sizeof_long_long
=0
20538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20539 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20540 cat >>confdefs.h
<<_ACEOF
20541 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20545 if test "$ac_cv_sizeof_long_long" != "0"; then
20546 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20550 echo "$as_me:$LINENO: checking for long long" >&5
20551 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20552 if test "${ac_cv_type_long_long+set}" = set; then
20553 echo $ECHO_N "(cached) $ECHO_C" >&6
20555 cat >conftest.
$ac_ext <<_ACEOF
20558 cat confdefs.h
>>conftest.
$ac_ext
20559 cat >>conftest.
$ac_ext <<_ACEOF
20560 /* end confdefs.h. */
20561 $ac_includes_default
20565 if ((long long *) 0)
20567 if (sizeof (long long))
20573 rm -f conftest.
$ac_objext
20574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20575 (eval $ac_compile) 2>conftest.er1
20577 grep -v '^ *+' conftest.er1
>conftest.err
20579 cat conftest.err
>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } &&
20582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try
='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_type_long_long
=yes
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.
$ac_ext >&5
20599 ac_cv_type_long_long
=no
20601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20603 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20604 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20606 echo "$as_me:$LINENO: checking size of long long" >&5
20607 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20608 if test "${ac_cv_sizeof_long_long+set}" = set; then
20609 echo $ECHO_N "(cached) $ECHO_C" >&6
20611 if test "$ac_cv_type_long_long" = yes; then
20612 # The cast to unsigned long works around a bug in the HP C Compiler
20613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20615 # This bug is HP SR number 8606223364.
20616 if test "$cross_compiling" = yes; then
20617 # Depending upon the size, compute the lo and hi bounds.
20618 cat >conftest.
$ac_ext <<_ACEOF
20621 cat confdefs.h
>>conftest.
$ac_ext
20622 cat >>conftest.
$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20624 $ac_includes_default
20628 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20635 rm -f conftest.
$ac_objext
20636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20637 (eval $ac_compile) 2>conftest.er1
20639 grep -v '^ *+' conftest.er1
>conftest.err
20641 cat conftest.err
>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } &&
20644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; } &&
20650 { ac_try
='test -s conftest.$ac_objext'
20651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20652 (eval $ac_try) 2>&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); }; }; then
20658 cat >conftest.
$ac_ext <<_ACEOF
20661 cat confdefs.h
>>conftest.
$ac_ext
20662 cat >>conftest.
$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 $ac_includes_default
20668 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20675 rm -f conftest.
$ac_objext
20676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>conftest.er1
20679 grep -v '^ *+' conftest.er1
>conftest.err
20681 cat conftest.err
>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20690 { ac_try
='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696 ac_hi
=$ac_mid; break
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.
$ac_ext >&5
20701 ac_lo
=`expr $ac_mid + 1`
20702 if test $ac_lo -le $ac_mid; then
20706 ac_mid
=`expr 2 '*' $ac_mid + 1`
20708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20711 echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.
$ac_ext >&5
20714 cat >conftest.
$ac_ext <<_ACEOF
20717 cat confdefs.h
>>conftest.
$ac_ext
20718 cat >>conftest.
$ac_ext <<_ACEOF
20719 /* end confdefs.h. */
20720 $ac_includes_default
20724 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20731 rm -f conftest.
$ac_objext
20732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20733 (eval $ac_compile) 2>conftest.er1
20735 grep -v '^ *+' conftest.er1
>conftest.err
20737 cat conftest.err
>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } &&
20740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; } &&
20746 { ac_try
='test -s conftest.$ac_objext'
20747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20748 (eval $ac_try) 2>&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); }; }; then
20754 cat >conftest.
$ac_ext <<_ACEOF
20757 cat confdefs.h
>>conftest.
$ac_ext
20758 cat >>conftest.
$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20771 rm -f conftest.
$ac_objext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20773 (eval $ac_compile) 2>conftest.er1
20775 grep -v '^ *+' conftest.er1
>conftest.err
20777 cat conftest.err
>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; } &&
20786 { ac_try
='test -s conftest.$ac_objext'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_lo
=$ac_mid; break
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.
$ac_ext >&5
20797 ac_hi
=`expr '(' $ac_mid ')' - 1`
20798 if test $ac_mid -le $ac_hi; then
20802 ac_mid
=`expr 2 '*' $ac_mid`
20804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.
$ac_ext >&5
20812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20815 # Binary search between lo and hi bounds.
20816 while test "x$ac_lo" != "x$ac_hi"; do
20817 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20818 cat >conftest.
$ac_ext <<_ACEOF
20821 cat confdefs.h
>>conftest.
$ac_ext
20822 cat >>conftest.
$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20824 $ac_includes_default
20828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20835 rm -f conftest.
$ac_objext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20837 (eval $ac_compile) 2>conftest.er1
20839 grep -v '^ *+' conftest.er1
>conftest.err
20841 cat conftest.err
>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try
='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.
$ac_ext >&5
20861 ac_lo
=`expr '(' $ac_mid ')' + 1`
20863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20866 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20867 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20868 See \`config.log' for more details." >&5
20869 echo "$as_me: error: cannot compute sizeof (long long), 77
20870 See \`config.log' for more details." >&2;}
20871 { (exit 1); exit 1; }; } ;;
20874 if test "$cross_compiling" = yes; then
20875 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20876 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20877 { (exit 1); exit 1; }; }
20879 cat >conftest.
$ac_ext <<_ACEOF
20882 cat confdefs.h
>>conftest.
$ac_ext
20883 cat >>conftest.
$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 $ac_includes_default
20886 long longval () { return (long) (sizeof (long long)); }
20887 unsigned long ulongval () { return (long) (sizeof (long long)); }
20889 #include <stdlib.h>
20894 FILE *f = fopen ("conftest.val", "w");
20897 if (((long) (sizeof (long long))) < 0)
20899 long i = longval ();
20900 if (i != ((long) (sizeof (long long))))
20902 fprintf (f, "%ld\n", i);
20906 unsigned long i = ulongval ();
20907 if (i != ((long) (sizeof (long long))))
20909 fprintf (f, "%lu\n", i);
20911 exit (ferror (f) || fclose (f) != 0);
20917 rm -f conftest
$ac_exeext
20918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20919 (eval $ac_link) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 ac_cv_sizeof_long_long
=`cat conftest.val`
20930 echo "$as_me: program exited with status $ac_status" >&5
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20934 ( exit $ac_status )
20935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20936 See \`config.log' for more details." >&5
20937 echo "$as_me: error: cannot compute sizeof (long long), 77
20938 See \`config.log' for more details." >&2;}
20939 { (exit 1); exit 1; }; }
20941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20946 ac_cv_sizeof_long_long
=0
20949 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20950 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20951 cat >>confdefs.h
<<_ACEOF
20952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20958 echo "$as_me:$LINENO: checking for wchar_t" >&5
20959 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20960 if test "${ac_cv_type_wchar_t+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20963 cat >conftest.
$ac_ext <<_ACEOF
20966 cat confdefs.h
>>conftest.
$ac_ext
20967 cat >>conftest.
$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20970 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20971 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20972 # error "fake wchar_t"
20974 #ifdef HAVE_WCHAR_H
20976 # include <stddef.h>
20978 # include <wchar.h>
20980 #ifdef HAVE_STDLIB_H
20981 # include <stdlib.h>
20992 if (sizeof (wchar_t))
20998 rm -f conftest.
$ac_objext
20999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21000 (eval $ac_compile) 2>conftest.er1
21002 grep -v '^ *+' conftest.er1
>conftest.err
21004 cat conftest.err
>&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } &&
21007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009 (eval $ac_try) 2>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); }; } &&
21013 { ac_try
='test -s conftest.$ac_objext'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; }; then
21019 ac_cv_type_wchar_t
=yes
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.
$ac_ext >&5
21024 ac_cv_type_wchar_t
=no
21026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21028 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21029 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21031 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21032 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21033 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 if test "$ac_cv_type_wchar_t" = yes; then
21037 # The cast to unsigned long works around a bug in the HP C Compiler
21038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21040 # This bug is HP SR number 8606223364.
21041 if test "$cross_compiling" = yes; then
21042 # Depending upon the size, compute the lo and hi bounds.
21043 cat >conftest.
$ac_ext <<_ACEOF
21046 cat confdefs.h
>>conftest.
$ac_ext
21047 cat >>conftest.
$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21052 # error "fake wchar_t"
21054 #ifdef HAVE_WCHAR_H
21056 # include <stddef.h>
21058 # include <wchar.h>
21060 #ifdef HAVE_STDLIB_H
21061 # include <stdlib.h>
21070 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21077 rm -f conftest.
$ac_objext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21079 (eval $ac_compile) 2>conftest.er1
21081 grep -v '^ *+' conftest.er1
>conftest.err
21083 cat conftest.err
>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; } &&
21092 { ac_try
='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21107 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21108 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21109 # error "fake wchar_t"
21111 #ifdef HAVE_WCHAR_H
21113 # include <stddef.h>
21115 # include <wchar.h>
21117 #ifdef HAVE_STDLIB_H
21118 # include <stdlib.h>
21127 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21134 rm -f conftest.
$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1
>conftest.err
21140 cat conftest.err
>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try
='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_hi
=$ac_mid; break
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.
$ac_ext >&5
21160 ac_lo
=`expr $ac_mid + 1`
21161 if test $ac_lo -le $ac_mid; then
21165 ac_mid
=`expr 2 '*' $ac_mid + 1`
21167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.
$ac_ext >&5
21173 cat >conftest.
$ac_ext <<_ACEOF
21176 cat confdefs.h
>>conftest.
$ac_ext
21177 cat >>conftest.
$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21180 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21181 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21182 # error "fake wchar_t"
21184 #ifdef HAVE_WCHAR_H
21186 # include <stddef.h>
21188 # include <wchar.h>
21190 #ifdef HAVE_STDLIB_H
21191 # include <stdlib.h>
21200 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21207 rm -f conftest.
$ac_objext
21208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21209 (eval $ac_compile) 2>conftest.er1
21211 grep -v '^ *+' conftest.er1
>conftest.err
21213 cat conftest.err
>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } &&
21216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21218 (eval $ac_try) 2>&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); }; } &&
21222 { ac_try
='test -s conftest.$ac_objext'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; }; then
21230 cat >conftest.
$ac_ext <<_ACEOF
21233 cat confdefs.h
>>conftest.
$ac_ext
21234 cat >>conftest.
$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21237 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21238 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21239 # error "fake wchar_t"
21241 #ifdef HAVE_WCHAR_H
21243 # include <stddef.h>
21245 # include <wchar.h>
21247 #ifdef HAVE_STDLIB_H
21248 # include <stdlib.h>
21257 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21264 rm -f conftest.
$ac_objext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21266 (eval $ac_compile) 2>conftest.er1
21268 grep -v '^ *+' conftest.er1
>conftest.err
21270 cat conftest.err
>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try
='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 ac_lo
=$ac_mid; break
21287 echo "$as_me: failed program was:" >&5
21288 sed 's/^/| /' conftest.
$ac_ext >&5
21290 ac_hi
=`expr '(' $ac_mid ')' - 1`
21291 if test $ac_mid -le $ac_hi; then
21295 ac_mid
=`expr 2 '*' $ac_mid`
21297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.
$ac_ext >&5
21305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21308 # Binary search between lo and hi bounds.
21309 while test "x$ac_lo" != "x$ac_hi"; do
21310 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21311 cat >conftest.
$ac_ext <<_ACEOF
21314 cat confdefs.h
>>conftest.
$ac_ext
21315 cat >>conftest.
$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21318 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21319 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21320 # error "fake wchar_t"
21322 #ifdef HAVE_WCHAR_H
21324 # include <stddef.h>
21326 # include <wchar.h>
21328 #ifdef HAVE_STDLIB_H
21329 # include <stdlib.h>
21338 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21345 rm -f conftest.
$ac_objext
21346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21347 (eval $ac_compile) 2>conftest.er1
21349 grep -v '^ *+' conftest.er1
>conftest.err
21351 cat conftest.err
>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try
='test -s conftest.$ac_objext'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; }; then
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21371 ac_lo
=`expr '(' $ac_mid ')' + 1`
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21377 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21378 See \`config.log' for more details." >&5
21379 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21380 See \`config.log' for more details." >&2;}
21381 { (exit 1); exit 1; }; } ;;
21384 if test "$cross_compiling" = yes; then
21385 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21386 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21387 { (exit 1); exit 1; }; }
21389 cat >conftest.
$ac_ext <<_ACEOF
21392 cat confdefs.h
>>conftest.
$ac_ext
21393 cat >>conftest.
$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21396 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21397 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21398 # error "fake wchar_t"
21400 #ifdef HAVE_WCHAR_H
21402 # include <stddef.h>
21404 # include <wchar.h>
21406 #ifdef HAVE_STDLIB_H
21407 # include <stdlib.h>
21413 long longval () { return (long) (sizeof (wchar_t)); }
21414 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21416 #include <stdlib.h>
21421 FILE *f = fopen ("conftest.val", "w");
21424 if (((long) (sizeof (wchar_t))) < 0)
21426 long i = longval ();
21427 if (i != ((long) (sizeof (wchar_t))))
21429 fprintf (f, "%ld\n", i);
21433 unsigned long i = ulongval ();
21434 if (i != ((long) (sizeof (wchar_t))))
21436 fprintf (f, "%lu\n", i);
21438 exit (ferror (f) || fclose (f) != 0);
21444 rm -f conftest
$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21457 echo "$as_me: program exited with status $ac_status" >&5
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 ( exit $ac_status )
21462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21463 See \`config.log' for more details." >&5
21464 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21465 See \`config.log' for more details." >&2;}
21466 { (exit 1); exit 1; }; }
21468 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21473 ac_cv_sizeof_wchar_t
=0
21476 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21477 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21478 cat >>confdefs.h
<<_ACEOF
21479 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21483 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21489 echo "$as_me:$LINENO: checking for va_copy" >&5
21490 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21491 if test "${wx_cv_func_va_copy+set}" = set; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21495 cat >conftest.
$ac_ext <<_ACEOF
21497 #include <stdarg.h>
21498 void foo(char *f, ...)
21512 rm -f conftest.
$ac_objext conftest
$ac_exeext
21513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21514 (eval $ac_link) 2>conftest.er1
21516 grep -v '^ *+' conftest.er1
>conftest.err
21518 cat conftest.err
>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } &&
21521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; } &&
21527 { ac_try
='test -s conftest$ac_exeext'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 wx_cv_func_va_copy
=yes
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.
$ac_ext >&5
21538 wx_cv_func_va_copy
=no
21541 rm -f conftest.err conftest.
$ac_objext \
21542 conftest
$ac_exeext conftest.
$ac_ext
21546 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21547 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21549 if test $wx_cv_func_va_copy = "yes"; then
21550 cat >>confdefs.h
<<\_ACEOF
21551 #define HAVE_VA_COPY 1
21555 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21556 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21557 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21558 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 if test "$cross_compiling" = yes; then
21562 wx_cv_type_va_list_lvalue
=yes
21565 cat >conftest.
$ac_ext <<_ACEOF
21567 #include <stdarg.h>
21568 int foo(char *f, ...)
21573 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21581 return foo("hi", 17);
21584 rm -f conftest
$ac_exeext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586 (eval $ac_link) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21595 wx_cv_type_va_list_lvalue
=yes
21597 echo "$as_me: program exited with status $ac_status" >&5
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.
$ac_ext >&5
21601 ( exit $ac_status )
21602 wx_cv_type_va_list_lvalue
=no
21604 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21609 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21610 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21612 if test $wx_cv_type_va_list_lvalue != "yes"; then
21613 cat >>confdefs.h
<<\_ACEOF
21614 #define VA_LIST_IS_ARRAY 1
21620 # Check whether --enable-largefile or --disable-largefile was given.
21621 if test "${enable_largefile+set}" = set; then
21622 enableval
="$enable_largefile"
21625 if test "$enable_largefile" != no
; then
21628 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21629 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21630 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 cat >conftest.
$ac_ext <<_ACEOF
21637 cat confdefs.h
>>conftest.
$ac_ext
21638 cat >>conftest.
$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 #define _FILE_OFFSET_BITS 64
21641 #include <sys/types.h>
21646 unsigned int field: sizeof(off_t) == 8;
21653 rm -f conftest.
$ac_objext
21654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21655 (eval $ac_compile) 2>conftest.er1
21657 grep -v '^ *+' conftest.er1
>conftest.err
21659 cat conftest.err
>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; } &&
21668 { ac_try
='test -s conftest.$ac_objext'
21669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670 (eval $ac_try) 2>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); }; }; then
21674 ac_cv_sys_file_offset_bits
=64
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.
$ac_ext >&5
21679 ac_cv_sys_file_offset_bits
=no
21681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21685 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21686 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21688 if test "$ac_cv_sys_file_offset_bits" != no
; then
21690 cat >>confdefs.h
<<_ACEOF
21691 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21696 if test "x$wx_largefile" != "xyes"; then
21698 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21699 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21700 if test "${ac_cv_sys_large_files+set}" = set; then
21701 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 cat >conftest.
$ac_ext <<_ACEOF
21707 cat confdefs.h
>>conftest.
$ac_ext
21708 cat >>conftest.
$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 #define _LARGE_FILES 1
21711 #include <sys/types.h>
21716 unsigned int field: sizeof(off_t) == 8;
21723 rm -f conftest.
$ac_objext
21724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21725 (eval $ac_compile) 2>conftest.er1
21727 grep -v '^ *+' conftest.er1
>conftest.err
21729 cat conftest.err
>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } &&
21732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21738 { ac_try
='test -s conftest.$ac_objext'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; }; then
21744 ac_cv_sys_large_files
=1
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.
$ac_ext >&5
21749 ac_cv_sys_large_files
=no
21751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21755 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21756 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21758 if test "$ac_cv_sys_large_files" != no
; then
21760 cat >>confdefs.h
<<_ACEOF
21761 #define _LARGE_FILES $ac_cv_sys_large_files
21768 echo "$as_me:$LINENO: checking if large file support is available" >&5
21769 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21770 if test "x$wx_largefile" = "xyes"; then
21771 cat >>confdefs.h
<<\_ACEOF
21772 #define HAVE_LARGEFILE_SUPPORT 1
21776 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21777 echo "${ECHO_T}$wx_largefile" >&6
21781 if test "x$wx_largefile" = "xyes"; then
21782 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21783 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21785 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21786 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21787 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21788 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 cat >conftest.
$ac_ext <<_ACEOF
21795 cat confdefs.h
>>conftest.
$ac_ext
21796 cat >>conftest.
$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21803 #ifndef __STDC_EXT__
21811 rm -f conftest.
$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813 (eval $ac_compile) 2>conftest.er1
21815 grep -v '^ *+' conftest.er1
>conftest.err
21817 cat conftest.err
>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; } &&
21826 { ac_try
='test -s conftest.$ac_objext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 wx_cv_STDC_EXT_required
=no
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 wx_cv_STDC_EXT_required
=yes
21840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21844 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21845 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21846 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21847 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21851 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21853 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21854 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21855 if test "${ac_cv_sys_largefile_source+set}" = set; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 ac_cv_sys_largefile_source
=no
21860 cat >conftest.
$ac_ext <<_ACEOF
21863 cat confdefs.h
>>conftest.
$ac_ext
21864 cat >>conftest.
$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21875 rm -f conftest.
$ac_objext
21876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21877 (eval $ac_compile) 2>conftest.er1
21879 grep -v '^ *+' conftest.er1
>conftest.err
21881 cat conftest.err
>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } &&
21884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21886 (eval $ac_try) 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); }; } &&
21890 { ac_try
='test -s conftest.$ac_objext'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; }; then
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.
$ac_ext >&5
21902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21903 cat >conftest.
$ac_ext <<_ACEOF
21906 cat confdefs.h
>>conftest.
$ac_ext
21907 cat >>conftest.
$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909 #define _LARGEFILE_SOURCE 1
21919 rm -f conftest.
$ac_objext
21920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21921 (eval $ac_compile) 2>conftest.er1
21923 grep -v '^ *+' conftest.er1
>conftest.err
21925 cat conftest.err
>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } &&
21928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; } &&
21934 { ac_try
='test -s conftest.$ac_objext'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; }; then
21940 ac_cv_sys_largefile_source
=1; break
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.
$ac_ext >&5
21946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21950 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21951 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21952 if test "$ac_cv_sys_largefile_source" != no
; then
21954 cat >>confdefs.h
<<_ACEOF
21955 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21961 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21962 # in glibc 2.1.3, but that breaks too many other things.
21963 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21964 echo "$as_me:$LINENO: checking for fseeko" >&5
21965 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21966 if test "${ac_cv_func_fseeko+set}" = set; then
21967 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 cat >conftest.
$ac_ext <<_ACEOF
21972 cat confdefs.h
>>conftest.
$ac_ext
21973 cat >>conftest.
$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21979 return fseeko && fseeko (stdin, 0, 0);
21984 rm -f conftest.
$ac_objext conftest
$ac_exeext
21985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21986 (eval $ac_link) 2>conftest.er1
21988 grep -v '^ *+' conftest.er1
>conftest.err
21990 cat conftest.err
>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } &&
21993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try
='test -s conftest$ac_exeext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_cv_func_fseeko
=yes
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.
$ac_ext >&5
22010 ac_cv_func_fseeko
=no
22012 rm -f conftest.err conftest.
$ac_objext \
22013 conftest
$ac_exeext conftest.
$ac_ext
22015 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22016 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22017 if test $ac_cv_func_fseeko = yes; then
22019 cat >>confdefs.h
<<\_ACEOF
22020 #define HAVE_FSEEKO 1
22025 if test "$ac_cv_sys_largefile_source" != no
; then
22026 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22030 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22031 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22032 if test "${ac_cv_c_bigendian+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 ac_cv_c_bigendian
=unknown
22036 # See if sys/param.h defines the BYTE_ORDER macro.
22037 cat >conftest.
$ac_ext <<_ACEOF
22040 cat confdefs.h
>>conftest.
$ac_ext
22041 cat >>conftest.
$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22043 #include <sys/types.h>
22044 #include <sys/param.h>
22049 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22050 bogus endian macros
22056 rm -f conftest.
$ac_objext
22057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22058 (eval $ac_compile) 2>conftest.er1
22060 grep -v '^ *+' conftest.er1
>conftest.err
22062 cat conftest.err
>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } &&
22065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22067 (eval $ac_try) 2>&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; } &&
22071 { ac_try
='test -s conftest.$ac_objext'
22072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22073 (eval $ac_try) 2>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); }; }; then
22077 # It does; now see whether it defined to BIG_ENDIAN or not.
22078 cat >conftest.
$ac_ext <<_ACEOF
22081 cat confdefs.h
>>conftest.
$ac_ext
22082 cat >>conftest.
$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 #include <sys/types.h>
22085 #include <sys/param.h>
22090 #if BYTE_ORDER != BIG_ENDIAN
22097 rm -f conftest.
$ac_objext
22098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22099 (eval $ac_compile) 2>conftest.er1
22101 grep -v '^ *+' conftest.er1
>conftest.err
22103 cat conftest.err
>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } &&
22106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; } &&
22112 { ac_try
='test -s conftest.$ac_objext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118 ac_cv_c_bigendian
=yes
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.
$ac_ext >&5
22123 ac_cv_c_bigendian
=no
22125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.
$ac_ext >&5
22131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22132 if test $ac_cv_c_bigendian = unknown
; then
22133 if test "$cross_compiling" = yes; then
22134 ac_cv_c_bigendian
=unknown
22136 cat >conftest.
$ac_ext <<_ACEOF
22139 cat confdefs.h
>>conftest.
$ac_ext
22140 cat >>conftest.
$ac_ext <<_ACEOF
22141 /* end confdefs.h. */
22143 /* Are we little or big endian? From Harbison&Steele. */
22147 char c[sizeof (long)];
22150 exit (u.c[sizeof (long) - 1] == 1);
22153 rm -f conftest
$ac_exeext
22154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22155 (eval $ac_link) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; }; then
22164 ac_cv_c_bigendian
=no
22166 echo "$as_me: program exited with status $ac_status" >&5
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.
$ac_ext >&5
22170 ( exit $ac_status )
22171 ac_cv_c_bigendian
=yes
22173 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22177 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22178 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22179 if test $ac_cv_c_bigendian = unknown
; then
22180 { 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
22181 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;}
22183 if test $ac_cv_c_bigendian = yes; then
22184 cat >>confdefs.h
<<\_ACEOF
22185 #define WORDS_BIGENDIAN 1
22195 ac_cpp
='$CXXCPP $CPPFLAGS'
22196 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22197 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22198 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22202 for ac_header
in iostream
22204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22206 echo "$as_me:$LINENO: checking for $ac_header" >&5
22207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22214 # Is the header compilable?
22215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22217 cat >conftest.
$ac_ext <<_ACEOF
22220 cat confdefs.h
>>conftest.
$ac_ext
22221 cat >>conftest.
$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 #include <$ac_header>
22226 rm -f conftest.
$ac_objext
22227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22228 (eval $ac_compile) 2>conftest.er1
22230 grep -v '^ *+' conftest.er1
>conftest.err
22232 cat conftest.err
>&5
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } &&
22235 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237 (eval $ac_try) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; } &&
22241 { ac_try
='test -s conftest.$ac_objext'
22242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22243 (eval $ac_try) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); }; }; then
22247 ac_header_compiler
=yes
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.
$ac_ext >&5
22252 ac_header_compiler
=no
22254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22256 echo "${ECHO_T}$ac_header_compiler" >&6
22258 # Is the header present?
22259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22261 cat >conftest.
$ac_ext <<_ACEOF
22264 cat confdefs.h
>>conftest.
$ac_ext
22265 cat >>conftest.
$ac_ext <<_ACEOF
22266 /* end confdefs.h. */
22267 #include <$ac_header>
22269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22270 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22272 grep -v '^ *+' conftest.er1
>conftest.err
22274 cat conftest.err
>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } >/dev
/null
; then
22277 if test -s conftest.err
; then
22278 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22279 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22286 if test -z "$ac_cpp_err"; then
22287 ac_header_preproc
=yes
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.
$ac_ext >&5
22292 ac_header_preproc
=no
22294 rm -f conftest.err conftest.
$ac_ext
22295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22296 echo "${ECHO_T}$ac_header_preproc" >&6
22298 # So? What about this header?
22299 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22305 ac_header_preproc
=yes
22308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22322 ## ----------------------------------------- ##
22323 ## Report this to wx-dev@lists.wxwidgets.org ##
22324 ## ----------------------------------------- ##
22327 sed "s/^/$as_me: WARNING: /" >&2
22330 echo "$as_me:$LINENO: checking for $ac_header" >&5
22331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22333 echo $ECHO_N "(cached) $ECHO_C" >&6
22335 eval "$as_ac_Header=\$ac_header_preproc"
22337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22342 cat >>confdefs.h
<<_ACEOF
22343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22351 if test "$ac_cv_header_iostream" = "yes" ; then
22354 cat >>confdefs.h
<<\_ACEOF
22355 #define wxUSE_IOSTREAMH 1
22361 ac_cpp
='$CXXCPP $CPPFLAGS'
22362 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22369 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22370 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22371 if test "${wx_cv_cpp_bool+set}" = set; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 ac_cpp
='$CXXCPP $CPPFLAGS'
22379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22384 cat >conftest.
$ac_ext <<_ACEOF
22387 cat confdefs.h
>>conftest.
$ac_ext
22388 cat >>conftest.
$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22404 rm -f conftest.
$ac_objext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22406 (eval $ac_compile) 2>conftest.er1
22408 grep -v '^ *+' conftest.er1
>conftest.err
22410 cat conftest.err
>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try
='test -s conftest.$ac_objext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.
$ac_ext >&5
22437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22440 ac_cpp
='$CXXCPP $CPPFLAGS'
22441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22447 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22448 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22450 if test "$wx_cv_cpp_bool" = "yes"; then
22451 cat >>confdefs.h
<<\_ACEOF
22452 #define HAVE_BOOL 1
22459 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22460 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22461 if test "${wx_cv_explicit+set}" = set; then
22462 echo $ECHO_N "(cached) $ECHO_C" >&6
22468 ac_cpp
='$CXXCPP $CPPFLAGS'
22469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22474 cat >conftest.
$ac_ext <<_ACEOF
22477 cat confdefs.h
>>conftest.
$ac_ext
22478 cat >>conftest.
$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22481 class Foo { public: explicit Foo(int) {} };
22493 rm -f conftest.
$ac_objext
22494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22495 (eval $ac_compile) 2>conftest.er1
22497 grep -v '^ *+' conftest.er1
>conftest.err
22499 cat conftest.err
>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; } &&
22508 { ac_try
='test -s conftest.$ac_objext'
22509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22510 (eval $ac_try) 2>&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); }; }; then
22515 cat >conftest.
$ac_ext <<_ACEOF
22518 cat confdefs.h
>>conftest.
$ac_ext
22519 cat >>conftest.
$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22522 class Foo { public: explicit Foo(int) {} };
22523 static void TakeFoo(const Foo& foo) { }
22536 rm -f conftest.
$ac_objext
22537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22538 (eval $ac_compile) 2>conftest.er1
22540 grep -v '^ *+' conftest.er1
>conftest.err
22542 cat conftest.err
>&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); } &&
22545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; } &&
22551 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.
$ac_ext >&5
22565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.
$ac_ext >&5
22574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22577 ac_cpp
='$CXXCPP $CPPFLAGS'
22578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22584 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22585 echo "${ECHO_T}$wx_cv_explicit" >&6
22587 if test "$wx_cv_explicit" = "yes"; then
22588 cat >>confdefs.h
<<\_ACEOF
22589 #define HAVE_EXPLICIT 1
22595 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22596 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22597 if test "${ac_cv_cxx_const_cast+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 ac_cpp
='$CXXCPP $CPPFLAGS'
22604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22608 cat >conftest.
$ac_ext <<_ACEOF
22611 cat confdefs.h
>>conftest.
$ac_ext
22612 cat >>conftest.
$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22618 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22623 rm -f conftest.
$ac_objext
22624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22625 (eval $ac_compile) 2>conftest.er1
22627 grep -v '^ *+' conftest.er1
>conftest.err
22629 cat conftest.err
>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } &&
22632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; } &&
22638 { ac_try
='test -s conftest.$ac_objext'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; }; then
22644 ac_cv_cxx_const_cast
=yes
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.
$ac_ext >&5
22649 ac_cv_cxx_const_cast
=no
22651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22653 ac_cpp
='$CXXCPP $CPPFLAGS'
22654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22660 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22661 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22662 if test "$ac_cv_cxx_const_cast" = yes; then
22664 cat >>confdefs.h
<<\_ACEOF
22665 #define HAVE_CONST_CAST
22670 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22671 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22672 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 ac_cpp
='$CXXCPP $CPPFLAGS'
22679 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22683 cat >conftest.
$ac_ext <<_ACEOF
22686 cat confdefs.h
>>conftest.
$ac_ext
22687 cat >>conftest.
$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 #include <typeinfo>
22690 class Base { public : Base () {} virtual void f () = 0;};
22691 class Derived : public Base { public : Derived () {} virtual void f () {} };
22692 class Unrelated { public : Unrelated () {} };
22693 int g (Unrelated&) { return 0; }
22698 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22703 rm -f conftest.
$ac_objext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22705 (eval $ac_compile) 2>conftest.er1
22707 grep -v '^ *+' conftest.er1
>conftest.err
22709 cat conftest.err
>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22714 (eval $ac_try) 2>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); }; } &&
22718 { ac_try
='test -s conftest.$ac_objext'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; }; then
22724 ac_cv_cxx_reinterpret_cast
=yes
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.
$ac_ext >&5
22729 ac_cv_cxx_reinterpret_cast
=no
22731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22733 ac_cpp
='$CXXCPP $CPPFLAGS'
22734 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22740 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22741 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22742 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22744 cat >>confdefs.h
<<\_ACEOF
22745 #define HAVE_REINTERPRET_CAST
22750 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22751 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22752 if test "${ac_cv_cxx_static_cast+set}" = set; then
22753 echo $ECHO_N "(cached) $ECHO_C" >&6
22758 ac_cpp
='$CXXCPP $CPPFLAGS'
22759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22763 cat >conftest.
$ac_ext <<_ACEOF
22766 cat confdefs.h
>>conftest.
$ac_ext
22767 cat >>conftest.
$ac_ext <<_ACEOF
22768 /* end confdefs.h. */
22769 #include <typeinfo>
22770 class Base { public : Base () {} virtual void f () = 0; };
22771 class Derived : public Base { public : Derived () {} virtual void f () {} };
22772 int g (Derived&) { return 0; }
22777 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22782 rm -f conftest.
$ac_objext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22784 (eval $ac_compile) 2>conftest.er1
22786 grep -v '^ *+' conftest.er1
>conftest.err
22788 cat conftest.err
>&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; } &&
22797 { ac_try
='test -s conftest.$ac_objext'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_cxx_static_cast
=yes
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.
$ac_ext >&5
22808 ac_cv_cxx_static_cast
=no
22810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22812 ac_cpp
='$CXXCPP $CPPFLAGS'
22813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22819 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22820 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22821 if test "$ac_cv_cxx_static_cast" = yes; then
22823 cat >>confdefs.h
<<\_ACEOF
22824 #define HAVE_STATIC_CAST
22830 if test "x$SUNCXX" = xyes
; then
22831 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22834 if test "x$SUNCC" = xyes
; then
22835 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22838 if test "x$SGICC" = "xyes"; then
22839 CFLAGS
="-woff 3970 $CFLAGS"
22841 if test "x$SGICXX" = "xyes"; then
22842 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22845 if test "x$HPCC" = "xyes"; then
22846 CFLAGS
="+W 2011,2450 $CFLAGS"
22848 if test "x$HPCXX" = "xyes"; then
22849 CXXFLAGS
="+W 2340 $CXXFLAGS"
22852 if test "x$COMPAQCXX" = "xyes"; then
22853 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22856 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22857 if test "$wxUSE_UNICODE" = "yes"; then
22858 std_string
="std::wstring"
22859 char_type
="wchar_t"
22861 std_string
="std::string"
22865 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22866 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22867 cat >conftest.
$ac_ext <<_ACEOF
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22882 rm -f conftest.
$ac_objext
22883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22884 (eval $ac_compile) 2>conftest.er1
22886 grep -v '^ *+' conftest.er1
>conftest.err
22888 cat conftest.err
>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); } &&
22891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893 (eval $ac_try) 2>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; } &&
22897 { ac_try
='test -s conftest.$ac_objext'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; }; then
22903 echo "$as_me:$LINENO: result: yes" >&5
22904 echo "${ECHO_T}yes" >&6
22905 cat >>confdefs.h
<<\_ACEOF
22906 #define HAVE_STD_WSTRING 1
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.
$ac_ext >&5
22913 echo "$as_me:$LINENO: result: no" >&5
22914 echo "${ECHO_T}no" >&6
22915 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22916 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22917 cat >conftest.
$ac_ext <<_ACEOF
22920 cat confdefs.h
>>conftest.
$ac_ext
22921 cat >>conftest.
$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22924 #ifdef HAVE_WCHAR_H
22926 # include <stddef.h>
22928 # include <wchar.h>
22930 #ifdef HAVE_STDLIB_H
22931 # include <stdlib.h>
22939 std::basic_string<$char_type> foo;
22940 const $char_type* dummy = foo.c_str();
22945 rm -f conftest.
$ac_objext
22946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22947 (eval $ac_compile) 2>conftest.er1
22949 grep -v '^ *+' conftest.er1
>conftest.err
22951 cat conftest.err
>&5
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); } &&
22954 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; } &&
22960 { ac_try
='test -s conftest.$ac_objext'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; }; then
22966 echo "$as_me:$LINENO: result: yes" >&5
22967 echo "${ECHO_T}yes" >&6
22969 echo "$as_me: failed program was:" >&5
22970 sed 's/^/| /' conftest.
$ac_ext >&5
22972 echo "$as_me:$LINENO: result: no" >&5
22973 echo "${ECHO_T}no" >&6
22974 if test "$wxUSE_STL" = "yes"; then
22975 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22976 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22977 { (exit 1); exit 1; }; }
22978 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22979 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22980 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22981 { (exit 1); exit 1; }; }
22983 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22984 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22985 wxUSE_STD_STRING
=no
22990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22996 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22997 echo "$as_me:$LINENO: checking for std::istream" >&5
22998 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22999 if test "${ac_cv_type_std__istream+set}" = set; then
23000 echo $ECHO_N "(cached) $ECHO_C" >&6
23002 cat >conftest.
$ac_ext <<_ACEOF
23005 cat confdefs.h
>>conftest.
$ac_ext
23006 cat >>conftest.
$ac_ext <<_ACEOF
23007 /* end confdefs.h. */
23008 #include <iostream>
23013 if ((std::istream *) 0)
23015 if (sizeof (std::istream))
23021 rm -f conftest.
$ac_objext
23022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23023 (eval $ac_compile) 2>conftest.er1
23025 grep -v '^ *+' conftest.er1
>conftest.err
23027 cat conftest.err
>&5
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); } &&
23030 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try
='test -s conftest.$ac_objext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 ac_cv_type_std__istream
=yes
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.
$ac_ext >&5
23047 ac_cv_type_std__istream
=no
23049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23051 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23052 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23053 if test $ac_cv_type_std__istream = yes; then
23055 cat >>confdefs.h
<<_ACEOF
23056 #define HAVE_STD__ISTREAM 1
23061 wxUSE_STD_IOSTREAM
=no
23063 echo "$as_me:$LINENO: checking for std::ostream" >&5
23064 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23065 if test "${ac_cv_type_std__ostream+set}" = set; then
23066 echo $ECHO_N "(cached) $ECHO_C" >&6
23068 cat >conftest.
$ac_ext <<_ACEOF
23071 cat confdefs.h
>>conftest.
$ac_ext
23072 cat >>conftest.
$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 #include <iostream>
23079 if ((std::ostream *) 0)
23081 if (sizeof (std::ostream))
23087 rm -f conftest.
$ac_objext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>conftest.er1
23091 grep -v '^ *+' conftest.er1
>conftest.err
23093 cat conftest.err
>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } &&
23096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try
='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 ac_cv_type_std__ostream
=yes
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.
$ac_ext >&5
23113 ac_cv_type_std__ostream
=no
23115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23118 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23119 if test $ac_cv_type_std__ostream = yes; then
23121 cat >>confdefs.h
<<_ACEOF
23122 #define HAVE_STD__OSTREAM 1
23127 wxUSE_STD_IOSTREAM
=no
23131 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23132 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23133 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23134 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23135 { (exit 1); exit 1; }; }
23137 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23138 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23143 if test "$wxUSE_STL" = "yes"; then
23144 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23145 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23146 cat >conftest.
$ac_ext <<_ACEOF
23149 cat confdefs.h
>>conftest.
$ac_ext
23150 cat >>conftest.
$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23153 #include <functional>
23154 #include <algorithm>
23160 std::vector<int> moo;
23161 std::list<int> foo;
23162 std::vector<int>::iterator it =
23163 std::find_if(moo.begin(), moo.end(),
23164 std::bind2nd(std::less<int>(), 3));
23169 rm -f conftest.
$ac_objext
23170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23171 (eval $ac_compile) 2>conftest.er1
23173 grep -v '^ *+' conftest.er1
>conftest.err
23175 cat conftest.err
>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } &&
23178 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; } &&
23184 { ac_try
='test -s conftest.$ac_objext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 echo "$as_me:$LINENO: result: yes" >&5
23191 echo "${ECHO_T}yes" >&6
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
23198 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23199 echo "$as_me: error: Basic STL functionality missing" >&2;}
23200 { (exit 1); exit 1; }; }
23202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23204 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23205 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23206 cat >conftest.
$ac_ext <<_ACEOF
23209 cat confdefs.h
>>conftest.
$ac_ext
23210 cat >>conftest.
$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23216 std::string foo, bar;
23218 foo.compare(1, 1, bar);
23219 foo.compare(1, 1, bar, 1, 1);
23221 foo.compare(1, 1, "");
23222 foo.compare(1, 1, "", 2);
23227 rm -f conftest.
$ac_objext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23229 (eval $ac_compile) 2>conftest.er1
23231 grep -v '^ *+' conftest.er1
>conftest.err
23233 cat conftest.err
>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); } &&
23236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try
='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 echo "$as_me:$LINENO: result: yes" >&5
23249 echo "${ECHO_T}yes" >&6
23250 cat >>confdefs.h
<<\_ACEOF
23251 #define HAVE_STD_STRING_COMPARE 1
23255 echo "$as_me: failed program was:" >&5
23256 sed 's/^/| /' conftest.
$ac_ext >&5
23258 echo "$as_me:$LINENO: result: no" >&5
23259 echo "${ECHO_T}no" >&6
23261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23263 if test "${ac_cv_header_hash_map+set}" = set; then
23264 echo "$as_me:$LINENO: checking for hash_map" >&5
23265 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23266 if test "${ac_cv_header_hash_map+set}" = set; then
23267 echo $ECHO_N "(cached) $ECHO_C" >&6
23269 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23270 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23272 # Is the header compilable?
23273 echo "$as_me:$LINENO: checking hash_map usability" >&5
23274 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23275 cat >conftest.
$ac_ext <<_ACEOF
23278 cat confdefs.h
>>conftest.
$ac_ext
23279 cat >>conftest.
$ac_ext <<_ACEOF
23280 /* end confdefs.h. */
23281 $ac_includes_default
23282 #include <hash_map>
23284 rm -f conftest.
$ac_objext
23285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23286 (eval $ac_compile) 2>conftest.er1
23288 grep -v '^ *+' conftest.er1
>conftest.err
23290 cat conftest.err
>&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } &&
23293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23295 (eval $ac_try) 2>&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); }; } &&
23299 { ac_try
='test -s conftest.$ac_objext'
23300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23301 (eval $ac_try) 2>&5
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); }; }; then
23305 ac_header_compiler
=yes
23307 echo "$as_me: failed program was:" >&5
23308 sed 's/^/| /' conftest.
$ac_ext >&5
23310 ac_header_compiler
=no
23312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23314 echo "${ECHO_T}$ac_header_compiler" >&6
23316 # Is the header present?
23317 echo "$as_me:$LINENO: checking hash_map presence" >&5
23318 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23319 cat >conftest.
$ac_ext <<_ACEOF
23322 cat confdefs.h
>>conftest.
$ac_ext
23323 cat >>conftest.
$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23325 #include <hash_map>
23327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23330 grep -v '^ *+' conftest.er1
>conftest.err
23332 cat conftest.err
>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } >/dev
/null
; then
23335 if test -s conftest.err
; then
23336 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23337 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23344 if test -z "$ac_cpp_err"; then
23345 ac_header_preproc
=yes
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.
$ac_ext >&5
23350 ac_header_preproc
=no
23352 rm -f conftest.err conftest.
$ac_ext
23353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23354 echo "${ECHO_T}$ac_header_preproc" >&6
23356 # So? What about this header?
23357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23359 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23360 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23361 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23362 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23363 ac_header_preproc
=yes
23366 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23367 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23368 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23369 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23370 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23371 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23372 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23373 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23374 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23375 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23376 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23377 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23380 ## ----------------------------------------- ##
23381 ## Report this to wx-dev@lists.wxwidgets.org ##
23382 ## ----------------------------------------- ##
23385 sed "s/^/$as_me: WARNING: /" >&2
23388 echo "$as_me:$LINENO: checking for hash_map" >&5
23389 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23390 if test "${ac_cv_header_hash_map+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 ac_cv_header_hash_map
=$ac_header_preproc
23395 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23396 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23399 if test $ac_cv_header_hash_map = yes; then
23400 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23401 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23402 cat >conftest.
$ac_ext <<_ACEOF
23405 cat confdefs.h
>>conftest.
$ac_ext
23406 cat >>conftest.
$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <hash_map>
23409 #include <hash_set>
23413 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23414 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23419 rm -f conftest.
$ac_objext
23420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23421 (eval $ac_compile) 2>conftest.er1
23423 grep -v '^ *+' conftest.er1
>conftest.err
23425 cat conftest.err
>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } &&
23428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; } &&
23434 { ac_try
='test -s conftest.$ac_objext'
23435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23436 (eval $ac_try) 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23440 echo "$as_me:$LINENO: result: yes" >&5
23441 echo "${ECHO_T}yes" >&6
23442 cat >>confdefs.h
<<\_ACEOF
23443 #define HAVE_HASH_MAP 1
23446 cat >>confdefs.h
<<\_ACEOF
23447 #define HAVE_STD_HASH_MAP 1
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.
$ac_ext >&5
23454 echo "$as_me:$LINENO: result: no" >&5
23455 echo "${ECHO_T}no" >&6
23457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23463 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23464 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23465 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23466 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23469 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23470 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23472 # Is the header compilable?
23473 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23474 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23475 cat >conftest.
$ac_ext <<_ACEOF
23478 cat confdefs.h
>>conftest.
$ac_ext
23479 cat >>conftest.
$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23481 $ac_includes_default
23482 #include <ext/hash_map>
23484 rm -f conftest.
$ac_objext
23485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23486 (eval $ac_compile) 2>conftest.er1
23488 grep -v '^ *+' conftest.er1
>conftest.err
23490 cat conftest.err
>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; } &&
23499 { ac_try
='test -s conftest.$ac_objext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_header_compiler
=yes
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.
$ac_ext >&5
23510 ac_header_compiler
=no
23512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23514 echo "${ECHO_T}$ac_header_compiler" >&6
23516 # Is the header present?
23517 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23518 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23519 cat >conftest.
$ac_ext <<_ACEOF
23522 cat confdefs.h
>>conftest.
$ac_ext
23523 cat >>conftest.
$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #include <ext/hash_map>
23527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23530 grep -v '^ *+' conftest.er1
>conftest.err
23532 cat conftest.err
>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); } >/dev
/null
; then
23535 if test -s conftest.err
; then
23536 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23537 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23544 if test -z "$ac_cpp_err"; then
23545 ac_header_preproc
=yes
23547 echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.
$ac_ext >&5
23550 ac_header_preproc
=no
23552 rm -f conftest.err conftest.
$ac_ext
23553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23554 echo "${ECHO_T}$ac_header_preproc" >&6
23556 # So? What about this header?
23557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23559 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23560 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23561 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23562 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23563 ac_header_preproc
=yes
23566 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23567 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23568 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23569 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23570 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23571 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23572 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23573 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23574 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23575 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23576 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23577 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23580 ## ----------------------------------------- ##
23581 ## Report this to wx-dev@lists.wxwidgets.org ##
23582 ## ----------------------------------------- ##
23585 sed "s/^/$as_me: WARNING: /" >&2
23588 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23589 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23590 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23591 echo $ECHO_N "(cached) $ECHO_C" >&6
23593 ac_cv_header_ext_hash_map
=$ac_header_preproc
23595 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23596 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23599 if test $ac_cv_header_ext_hash_map = yes; then
23600 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23601 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23602 cat >conftest.
$ac_ext <<_ACEOF
23605 cat confdefs.h
>>conftest.
$ac_ext
23606 cat >>conftest.
$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23608 #include <ext/hash_map>
23609 #include <ext/hash_set>
23613 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23614 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23619 rm -f conftest.
$ac_objext
23620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23621 (eval $ac_compile) 2>conftest.er1
23623 grep -v '^ *+' conftest.er1
>conftest.err
23625 cat conftest.err
>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } &&
23628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630 (eval $ac_try) 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; } &&
23634 { ac_try
='test -s conftest.$ac_objext'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23640 echo "$as_me:$LINENO: result: yes" >&5
23641 echo "${ECHO_T}yes" >&6
23642 cat >>confdefs.h
<<\_ACEOF
23643 #define HAVE_EXT_HASH_MAP 1
23646 cat >>confdefs.h
<<\_ACEOF
23647 #define HAVE_GNU_CXX_HASH_MAP 1
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.
$ac_ext >&5
23654 echo "$as_me:$LINENO: result: no" >&5
23655 echo "${ECHO_T}no" >&6
23657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23666 /usr/local/include \
23668 /usr/Motif-2.1/include \
23669 /usr/Motif-1.2/include \
23670 /usr/include/Motif1.2 \
23673 /usr/openwin/include \
23677 /usr/X11R6/include \
23678 /usr/X11R6.4/include \
23679 /usr/X11R5/include \
23680 /usr/X11R4/include \
23682 /usr/include/X11R6 \
23683 /usr/include/X11R5 \
23684 /usr/include/X11R4 \
23686 /usr/local/X11R6/include \
23687 /usr/local/X11R5/include \
23688 /usr/local/X11R4/include \
23690 /usr/local/include/X11R6 \
23691 /usr/local/include/X11R5 \
23692 /usr/local/include/X11R4 \
23696 /usr/local/X11/include \
23697 /usr/local/include/X11 \
23699 /usr/XFree86/include/X11 \
23702 /usr/openwin/share/include"
23704 echo "$as_me:$LINENO: checking for libraries directory" >&5
23705 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23709 if test "${wx_cv_std_libpath+set}" = set; then
23710 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23714 for e
in a so sl dylib dll.a
; do
23716 if test -f $libc; then
23719 cat >conftest.
$ac_ext <<_ACEOF
23720 int main() { return 0; }
23722 rm -f conftest.
$ac_objext conftest
$ac_exeext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23724 (eval $ac_link) 2>conftest.er1
23726 grep -v '^ *+' conftest.er1
>conftest.err
23728 cat conftest.err
>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } &&
23731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; } &&
23737 { ac_try
='test -s conftest$ac_exeext'
23738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739 (eval $ac_try) 2>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.
$ac_ext >&5
23749 rm -f conftest.err conftest.
$ac_objext \
23750 conftest
$ac_exeext conftest.
$ac_ext
23752 if test "x$wx_cv_std_libpath" != "x"; then
23758 if test "x$wx_cv_std_libpath" = "x"; then
23759 wx_cv_std_libpath
="lib"
23768 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23769 wx_cv_std_libpath
="lib/64"
23771 wx_cv_std_libpath
="lib"
23776 if test "$ac_cv_sizeof_void_p" = 8 -a \
23777 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23778 wx_cv_std_libpath
="lib64"
23780 wx_cv_std_libpath
="lib"
23785 wx_cv_std_libpath
="lib";
23789 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23790 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23792 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23794 if test "$build" != "$host" -a "$GCC" = yes; then
23795 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23796 cross_root
=`dirname $cross_root`
23797 cross_root
=`dirname $cross_root`
23799 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23800 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23801 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23803 if test -z "$PKG_CONFIG_PATH"; then
23804 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23805 export PKG_CONFIG_PATH
23808 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23811 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23813 if test -f "$ac_dir/X11/Intrinsic.h"; then
23814 ac_find_includes
=$ac_dir
23819 x_includes
=$ac_find_includes
23821 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23824 for ac_dir
in $SEARCH_LIB;
23826 for ac_extension
in a so sl dylib dll.a
; do
23827 if test -f "$ac_dir/libXt.$ac_extension"; then
23828 ac_find_libraries
=$ac_dir
23834 x_libraries
=$ac_find_libraries
23840 cat >confcache
<<\_ACEOF
23841 # This file is a shell script that caches the results of configure
23842 # tests run on this system so they can be shared between configure
23843 # scripts and configure runs, see configure's option --config-cache.
23844 # It is not useful on other systems. If it contains results you don't
23845 # want to keep, you may remove or edit it.
23847 # config.status only pays attention to the cache file if you give it
23848 # the --recheck option to rerun configure.
23850 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23851 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23852 # following values.
23856 # The following way of writing the cache mishandles newlines in values,
23857 # but we know of no workaround that is simple, portable, and efficient.
23858 # So, don't put newlines in cache variables' values.
23859 # Ultrix sh set writes to stderr and can't be redirected directly,
23860 # and sets the high bit in the cache file unless we assign to the vars.
23863 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23865 # `set' does not quote correctly, so add quotes (double-quote
23866 # substitution turns \\\\ into \\, and sed turns \\ into \).
23869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23872 # `set' quotes correctly as required by POSIX, so do not add quotes.
23874 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23883 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23885 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23886 if test -w $cache_file; then
23887 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23888 cat confcache
>$cache_file
23890 echo "not updating unwritable cache $cache_file"
23895 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23896 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23897 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23898 if test "${wx_cv_lib_glibc21+set}" = set; then
23899 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 cat >conftest.
$ac_ext <<_ACEOF
23905 cat confdefs.h
>>conftest.
$ac_ext
23906 cat >>conftest.
$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908 #include <features.h>
23913 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23921 rm -f conftest.
$ac_objext
23922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23923 (eval $ac_compile) 2>conftest.er1
23925 grep -v '^ *+' conftest.er1
>conftest.err
23927 cat conftest.err
>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } &&
23930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; } &&
23936 { ac_try
='test -s conftest.$ac_objext'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; }; then
23943 wx_cv_lib_glibc21
=yes
23946 echo "$as_me: failed program was:" >&5
23947 sed 's/^/| /' conftest.
$ac_ext >&5
23950 wx_cv_lib_glibc21
=no
23954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23957 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23958 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23959 if test "$wx_cv_lib_glibc21" = "yes"; then
23960 cat >>confdefs.h
<<\_ACEOF
23961 #define wxHAVE_GLIBC2 1
23967 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23968 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23969 cat >>confdefs.h
<<\_ACEOF
23970 #define _GNU_SOURCE 1
23981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23982 echo "$as_me:$LINENO: checking for $ac_func" >&5
23983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23984 if eval "test \"\${$as_ac_var+set}\" = set"; then
23985 echo $ECHO_N "(cached) $ECHO_C" >&6
23987 cat >conftest.
$ac_ext <<_ACEOF
23990 cat confdefs.h
>>conftest.
$ac_ext
23991 cat >>conftest.
$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23995 #define $ac_func innocuous_$ac_func
23997 /* System header to define __stub macros and hopefully few prototypes,
23998 which can conflict with char $ac_func (); below.
23999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24000 <limits.h> exists even on freestanding compilers. */
24003 # include <limits.h>
24005 # include <assert.h>
24010 /* Override any gcc2 internal prototype to avoid an error. */
24015 /* We use char because int might match the return type of a gcc2
24016 builtin and then its argument prototype would still apply. */
24018 /* The GNU C library defines this for functions which it implements
24019 to always fail with ENOSYS. Some functions are actually named
24020 something starting with __ and the normal name is an alias. */
24021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24024 char (*f) () = $ac_func;
24033 return f != $ac_func;
24038 rm -f conftest.
$ac_objext conftest
$ac_exeext
24039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24040 (eval $ac_link) 2>conftest.er1
24042 grep -v '^ *+' conftest.er1
>conftest.err
24044 cat conftest.err
>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } &&
24047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24049 (eval $ac_try) 2>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; } &&
24053 { ac_try
='test -s conftest$ac_exeext'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; }; then
24059 eval "$as_ac_var=yes"
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.
$ac_ext >&5
24064 eval "$as_ac_var=no"
24066 rm -f conftest.err conftest.
$ac_objext \
24067 conftest
$ac_exeext conftest.
$ac_ext
24069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24071 if test `eval echo '${'$as_ac_var'}'` = yes; then
24072 cat >>confdefs.h
<<_ACEOF
24073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24080 for ac_func
in floor
24082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24083 echo "$as_me:$LINENO: checking for $ac_func" >&5
24084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24085 if eval "test \"\${$as_ac_var+set}\" = set"; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 cat >conftest.
$ac_ext <<_ACEOF
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24096 #define $ac_func innocuous_$ac_func
24098 /* System header to define __stub macros and hopefully few prototypes,
24099 which can conflict with char $ac_func (); below.
24100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24101 <limits.h> exists even on freestanding compilers. */
24104 # include <limits.h>
24106 # include <assert.h>
24111 /* Override any gcc2 internal prototype to avoid an error. */
24116 /* We use char because int might match the return type of a gcc2
24117 builtin and then its argument prototype would still apply. */
24119 /* The GNU C library defines this for functions which it implements
24120 to always fail with ENOSYS. Some functions are actually named
24121 something starting with __ and the normal name is an alias. */
24122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24125 char (*f) () = $ac_func;
24134 return f != $ac_func;
24139 rm -f conftest.
$ac_objext conftest
$ac_exeext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24141 (eval $ac_link) 2>conftest.er1
24143 grep -v '^ *+' conftest.er1
>conftest.err
24145 cat conftest.err
>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; } &&
24154 { ac_try
='test -s conftest$ac_exeext'
24155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24156 (eval $ac_try) 2>&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); }; }; then
24160 eval "$as_ac_var=yes"
24162 echo "$as_me: failed program was:" >&5
24163 sed 's/^/| /' conftest.
$ac_ext >&5
24165 eval "$as_ac_var=no"
24167 rm -f conftest.err conftest.
$ac_objext \
24168 conftest
$ac_exeext conftest.
$ac_ext
24170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24172 if test `eval echo '${'$as_ac_var'}'` = yes; then
24173 cat >>confdefs.h
<<_ACEOF
24174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24180 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24181 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24182 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24183 echo "$as_me:$LINENO: result: yes" >&5
24184 echo "${ECHO_T}yes" >&6
24186 echo "$as_me:$LINENO: result: no" >&5
24187 echo "${ECHO_T}no" >&6
24189 # use different functions to avoid configure caching
24195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24196 echo "$as_me:$LINENO: checking for $ac_func" >&5
24197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24198 if eval "test \"\${$as_ac_var+set}\" = set"; then
24199 echo $ECHO_N "(cached) $ECHO_C" >&6
24201 cat >conftest.
$ac_ext <<_ACEOF
24204 cat confdefs.h
>>conftest.
$ac_ext
24205 cat >>conftest.
$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24209 #define $ac_func innocuous_$ac_func
24211 /* System header to define __stub macros and hopefully few prototypes,
24212 which can conflict with char $ac_func (); below.
24213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24214 <limits.h> exists even on freestanding compilers. */
24217 # include <limits.h>
24219 # include <assert.h>
24224 /* Override any gcc2 internal prototype to avoid an error. */
24229 /* We use char because int might match the return type of a gcc2
24230 builtin and then its argument prototype would still apply. */
24232 /* The GNU C library defines this for functions which it implements
24233 to always fail with ENOSYS. Some functions are actually named
24234 something starting with __ and the normal name is an alias. */
24235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24238 char (*f) () = $ac_func;
24247 return f != $ac_func;
24252 rm -f conftest.
$ac_objext conftest
$ac_exeext
24253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24254 (eval $ac_link) 2>conftest.er1
24256 grep -v '^ *+' conftest.er1
>conftest.err
24258 cat conftest.err
>&5
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); } &&
24261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24263 (eval $ac_try) 2>&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); }; } &&
24267 { ac_try
='test -s conftest$ac_exeext'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; }; then
24273 eval "$as_ac_var=yes"
24275 echo "$as_me: failed program was:" >&5
24276 sed 's/^/| /' conftest.
$ac_ext >&5
24278 eval "$as_ac_var=no"
24280 rm -f conftest.err conftest.
$ac_objext \
24281 conftest
$ac_exeext conftest.
$ac_ext
24283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24285 if test `eval echo '${'$as_ac_var'}'` = yes; then
24286 cat >>confdefs.h
<<_ACEOF
24287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24294 for ac_func
in ceil
24296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24297 echo "$as_me:$LINENO: checking for $ac_func" >&5
24298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24299 if eval "test \"\${$as_ac_var+set}\" = set"; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 cat >conftest.
$ac_ext <<_ACEOF
24305 cat confdefs.h
>>conftest.
$ac_ext
24306 cat >>conftest.
$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24310 #define $ac_func innocuous_$ac_func
24312 /* System header to define __stub macros and hopefully few prototypes,
24313 which can conflict with char $ac_func (); below.
24314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24315 <limits.h> exists even on freestanding compilers. */
24318 # include <limits.h>
24320 # include <assert.h>
24325 /* Override any gcc2 internal prototype to avoid an error. */
24330 /* We use char because int might match the return type of a gcc2
24331 builtin and then its argument prototype would still apply. */
24333 /* The GNU C library defines this for functions which it implements
24334 to always fail with ENOSYS. Some functions are actually named
24335 something starting with __ and the normal name is an alias. */
24336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24339 char (*f) () = $ac_func;
24348 return f != $ac_func;
24353 rm -f conftest.
$ac_objext conftest
$ac_exeext
24354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24355 (eval $ac_link) 2>conftest.er1
24357 grep -v '^ *+' conftest.er1
>conftest.err
24359 cat conftest.err
>&5
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); } &&
24362 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 eval "$as_ac_var=yes"
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.
$ac_ext >&5
24379 eval "$as_ac_var=no"
24381 rm -f conftest.err conftest.
$ac_objext \
24382 conftest
$ac_exeext conftest.
$ac_ext
24384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24386 if test `eval echo '${'$as_ac_var'}'` = yes; then
24387 cat >>confdefs.h
<<_ACEOF
24388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24394 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24395 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24396 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24397 echo "$as_me:$LINENO: result: yes" >&5
24398 echo "${ECHO_T}yes" >&6
24400 echo "$as_me:$LINENO: result: no" >&5
24401 echo "${ECHO_T}no" >&6
24402 # not sure we should warn the user, crash, etc.
24408 if test "$wxUSE_REGEX" != "no"; then
24409 cat >>confdefs.h
<<\_ACEOF
24410 #define wxUSE_REGEX 1
24414 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24415 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24416 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24417 wxUSE_REGEX
=builtin
24420 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24421 if test "${ac_cv_header_regex_h+set}" = set; then
24422 echo "$as_me:$LINENO: checking for regex.h" >&5
24423 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24424 if test "${ac_cv_header_regex_h+set}" = set; then
24425 echo $ECHO_N "(cached) $ECHO_C" >&6
24427 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24428 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24430 # Is the header compilable?
24431 echo "$as_me:$LINENO: checking regex.h usability" >&5
24432 echo $ECHO_N "checking regex.h usability... $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. */
24439 $ac_includes_default
24442 rm -f conftest.
$ac_objext
24443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24444 (eval $ac_compile) 2>conftest.er1
24446 grep -v '^ *+' conftest.er1
>conftest.err
24448 cat conftest.err
>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try
='test -s conftest.$ac_objext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_header_compiler
=yes
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.
$ac_ext >&5
24468 ac_header_compiler
=no
24470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24472 echo "${ECHO_T}$ac_header_compiler" >&6
24474 # Is the header present?
24475 echo "$as_me:$LINENO: checking regex.h presence" >&5
24476 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24477 cat >conftest.
$ac_ext <<_ACEOF
24480 cat confdefs.h
>>conftest.
$ac_ext
24481 cat >>conftest.
$ac_ext <<_ACEOF
24482 /* end confdefs.h. */
24485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24488 grep -v '^ *+' conftest.er1
>conftest.err
24490 cat conftest.err
>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); } >/dev
/null
; then
24493 if test -s conftest.err
; then
24494 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24495 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24502 if test -z "$ac_cpp_err"; then
24503 ac_header_preproc
=yes
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.
$ac_ext >&5
24508 ac_header_preproc
=no
24510 rm -f conftest.err conftest.
$ac_ext
24511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24512 echo "${ECHO_T}$ac_header_preproc" >&6
24514 # So? What about this header?
24515 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24517 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24518 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24520 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24521 ac_header_preproc
=yes
24524 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24525 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24526 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24527 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24528 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24529 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24530 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24531 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24532 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24533 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24534 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24535 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24538 ## ----------------------------------------- ##
24539 ## Report this to wx-dev@lists.wxwidgets.org ##
24540 ## ----------------------------------------- ##
24543 sed "s/^/$as_me: WARNING: /" >&2
24546 echo "$as_me:$LINENO: checking for regex.h" >&5
24547 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24548 if test "${ac_cv_header_regex_h+set}" = set; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 ac_cv_header_regex_h
=$ac_header_preproc
24553 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24554 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24557 if test $ac_cv_header_regex_h = yes; then
24560 for ac_func
in regcomp re_search
24562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24563 echo "$as_me:$LINENO: checking for $ac_func" >&5
24564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24565 if eval "test \"\${$as_ac_var+set}\" = set"; then
24566 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 cat >conftest.
$ac_ext <<_ACEOF
24571 cat confdefs.h
>>conftest.
$ac_ext
24572 cat >>conftest.
$ac_ext <<_ACEOF
24573 /* end confdefs.h. */
24574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24576 #define $ac_func innocuous_$ac_func
24578 /* System header to define __stub macros and hopefully few prototypes,
24579 which can conflict with char $ac_func (); below.
24580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24581 <limits.h> exists even on freestanding compilers. */
24584 # include <limits.h>
24586 # include <assert.h>
24591 /* Override any gcc2 internal prototype to avoid an error. */
24596 /* We use char because int might match the return type of a gcc2
24597 builtin and then its argument prototype would still apply. */
24599 /* The GNU C library defines this for functions which it implements
24600 to always fail with ENOSYS. Some functions are actually named
24601 something starting with __ and the normal name is an alias. */
24602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24605 char (*f) () = $ac_func;
24614 return f != $ac_func;
24619 rm -f conftest.
$ac_objext conftest
$ac_exeext
24620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24621 (eval $ac_link) 2>conftest.er1
24623 grep -v '^ *+' conftest.er1
>conftest.err
24625 cat conftest.err
>&5
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); } &&
24628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try
='test -s conftest$ac_exeext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 eval "$as_ac_var=yes"
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.
$ac_ext >&5
24645 eval "$as_ac_var=no"
24647 rm -f conftest.err conftest.
$ac_objext \
24648 conftest
$ac_exeext conftest.
$ac_ext
24650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24652 if test `eval echo '${'$as_ac_var'}'` = yes; then
24653 cat >>confdefs.h
<<_ACEOF
24654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24664 if test "x$ac_cv_func_regcomp" != "xyes"; then
24665 if test "$wxUSE_REGEX" = "sys" ; then
24666 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24667 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24668 { (exit 1); exit 1; }; }
24670 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24671 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24672 wxUSE_REGEX
=builtin
24676 cat >>confdefs.h
<<\_ACEOF
24677 #define WX_NO_REGEX_ADVANCED 1
24686 if test "$wxUSE_ZLIB" != "no" ; then
24687 cat >>confdefs.h
<<\_ACEOF
24688 #define wxUSE_ZLIB 1
24692 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24693 if test "$USE_DARWIN" = 1; then
24694 system_zlib_h_ok
="yes"
24696 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24697 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24698 if test "${ac_cv_header_zlib_h+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 if test "$cross_compiling" = yes; then
24702 unset ac_cv_header_zlib_h
24705 cat >conftest.
$ac_ext <<_ACEOF
24708 cat confdefs.h
>>conftest.
$ac_ext
24709 cat >>conftest.
$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24717 FILE *f=fopen("conftestval", "w");
24720 ZLIB_VERSION[0] == '1' &&
24721 (ZLIB_VERSION[2] > '1' ||
24722 (ZLIB_VERSION[2] == '1' &&
24723 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24728 rm -f conftest
$ac_exeext
24729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24730 (eval $ac_link) 2>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 ac_cv_header_zlib_h
=`cat conftestval`
24741 echo "$as_me: program exited with status $ac_status" >&5
24742 echo "$as_me: failed program was:" >&5
24743 sed 's/^/| /' conftest.
$ac_ext >&5
24745 ( exit $ac_status )
24746 ac_cv_header_zlib_h
=no
24748 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24752 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24753 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24754 if test "${ac_cv_header_zlib_h+set}" = set; then
24755 echo "$as_me:$LINENO: checking for zlib.h" >&5
24756 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24757 if test "${ac_cv_header_zlib_h+set}" = set; then
24758 echo $ECHO_N "(cached) $ECHO_C" >&6
24760 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24761 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24763 # Is the header compilable?
24764 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24765 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24766 cat >conftest.
$ac_ext <<_ACEOF
24769 cat confdefs.h
>>conftest.
$ac_ext
24770 cat >>conftest.
$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772 $ac_includes_default
24775 rm -f conftest.
$ac_objext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24777 (eval $ac_compile) 2>conftest.er1
24779 grep -v '^ *+' conftest.er1
>conftest.err
24781 cat conftest.err
>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } &&
24784 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; } &&
24790 { ac_try
='test -s conftest.$ac_objext'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; }; then
24796 ac_header_compiler
=yes
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.
$ac_ext >&5
24801 ac_header_compiler
=no
24803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24805 echo "${ECHO_T}$ac_header_compiler" >&6
24807 # Is the header present?
24808 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24809 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24810 cat >conftest.
$ac_ext <<_ACEOF
24813 cat confdefs.h
>>conftest.
$ac_ext
24814 cat >>conftest.
$ac_ext <<_ACEOF
24815 /* end confdefs.h. */
24818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24819 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24821 grep -v '^ *+' conftest.er1
>conftest.err
24823 cat conftest.err
>&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } >/dev
/null
; then
24826 if test -s conftest.err
; then
24827 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24828 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24835 if test -z "$ac_cpp_err"; then
24836 ac_header_preproc
=yes
24838 echo "$as_me: failed program was:" >&5
24839 sed 's/^/| /' conftest.
$ac_ext >&5
24841 ac_header_preproc
=no
24843 rm -f conftest.err conftest.
$ac_ext
24844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24845 echo "${ECHO_T}$ac_header_preproc" >&6
24847 # So? What about this header?
24848 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24850 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24851 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24852 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24853 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24854 ac_header_preproc
=yes
24857 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24858 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24859 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24860 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24861 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24862 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24863 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24864 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24865 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24866 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24867 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24868 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24871 ## ----------------------------------------- ##
24872 ## Report this to wx-dev@lists.wxwidgets.org ##
24873 ## ----------------------------------------- ##
24876 sed "s/^/$as_me: WARNING: /" >&2
24879 echo "$as_me:$LINENO: checking for zlib.h" >&5
24880 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24881 if test "${ac_cv_header_zlib_h+set}" = set; then
24882 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 ac_cv_header_zlib_h
=$ac_header_preproc
24886 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24887 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24893 system_zlib_h_ok
=$ac_cv_header_zlib_h
24896 if test "$system_zlib_h_ok" = "yes"; then
24897 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24898 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24899 if test "${ac_cv_lib_z_deflate+set}" = set; then
24900 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 ac_check_lib_save_LIBS
=$LIBS
24904 cat >conftest.
$ac_ext <<_ACEOF
24907 cat confdefs.h
>>conftest.
$ac_ext
24908 cat >>conftest.
$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24911 /* Override any gcc2 internal prototype to avoid an error. */
24915 /* We use char because int might match the return type of a gcc2
24916 builtin and then its argument prototype would still apply. */
24926 rm -f conftest.
$ac_objext conftest
$ac_exeext
24927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24928 (eval $ac_link) 2>conftest.er1
24930 grep -v '^ *+' conftest.er1
>conftest.err
24932 cat conftest.err
>&5
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); } &&
24935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937 (eval $ac_try) 2>&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); }; } &&
24941 { ac_try
='test -s conftest$ac_exeext'
24942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943 (eval $ac_try) 2>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); }; }; then
24947 ac_cv_lib_z_deflate
=yes
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.
$ac_ext >&5
24952 ac_cv_lib_z_deflate
=no
24954 rm -f conftest.err conftest.
$ac_objext \
24955 conftest
$ac_exeext conftest.
$ac_ext
24956 LIBS
=$ac_check_lib_save_LIBS
24958 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24959 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24960 if test $ac_cv_lib_z_deflate = yes; then
24966 if test "x$ZLIB_LINK" = "x" ; then
24967 if test "$wxUSE_ZLIB" = "sys" ; then
24968 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24969 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24970 { (exit 1); exit 1; }; }
24972 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24973 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24984 if test "$wxUSE_LIBPNG" != "no" ; then
24985 cat >>confdefs.h
<<\_ACEOF
24986 #define wxUSE_LIBPNG 1
24990 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24991 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24992 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24996 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24997 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24998 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24999 wxUSE_LIBPNG
=builtin
25002 if test "$wxUSE_MGL" != 1 ; then
25003 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25004 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25005 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25006 if test "${ac_cv_header_png_h+set}" = set; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 if test "$cross_compiling" = yes; then
25010 unset ac_cv_header_png_h
25013 cat >conftest.
$ac_ext <<_ACEOF
25016 cat confdefs.h
>>conftest.
$ac_ext
25017 cat >>conftest.
$ac_ext <<_ACEOF
25018 /* end confdefs.h. */
25025 FILE *f=fopen("conftestval", "w");
25028 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25033 rm -f conftest
$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035 (eval $ac_link) 2>&5
25037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040 (eval $ac_try) 2>&5
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); }; }; then
25044 ac_cv_header_png_h
=`cat conftestval`
25046 echo "$as_me: program exited with status $ac_status" >&5
25047 echo "$as_me: failed program was:" >&5
25048 sed 's/^/| /' conftest.
$ac_ext >&5
25050 ( exit $ac_status )
25051 ac_cv_header_png_h
=no
25053 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25057 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25058 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25059 if test "${ac_cv_header_png_h+set}" = set; then
25060 echo "$as_me:$LINENO: checking for png.h" >&5
25061 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25062 if test "${ac_cv_header_png_h+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25066 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25068 # Is the header compilable?
25069 echo "$as_me:$LINENO: checking png.h usability" >&5
25070 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25071 cat >conftest.
$ac_ext <<_ACEOF
25074 cat confdefs.h
>>conftest.
$ac_ext
25075 cat >>conftest.
$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 $ac_includes_default
25080 rm -f conftest.
$ac_objext
25081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25082 (eval $ac_compile) 2>conftest.er1
25084 grep -v '^ *+' conftest.er1
>conftest.err
25086 cat conftest.err
>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } &&
25089 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try
='test -s conftest.$ac_objext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 ac_header_compiler
=yes
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.
$ac_ext >&5
25106 ac_header_compiler
=no
25108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25110 echo "${ECHO_T}$ac_header_compiler" >&6
25112 # Is the header present?
25113 echo "$as_me:$LINENO: checking png.h presence" >&5
25114 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25115 cat >conftest.
$ac_ext <<_ACEOF
25118 cat confdefs.h
>>conftest.
$ac_ext
25119 cat >>conftest.
$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25126 grep -v '^ *+' conftest.er1
>conftest.err
25128 cat conftest.err
>&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } >/dev
/null
; then
25131 if test -s conftest.err
; then
25132 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25133 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25140 if test -z "$ac_cpp_err"; then
25141 ac_header_preproc
=yes
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.
$ac_ext >&5
25146 ac_header_preproc
=no
25148 rm -f conftest.err conftest.
$ac_ext
25149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25150 echo "${ECHO_T}$ac_header_preproc" >&6
25152 # So? What about this header?
25153 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25155 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25156 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25157 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25158 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25159 ac_header_preproc
=yes
25162 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25163 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25164 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25165 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25166 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25167 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25168 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25169 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25170 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25171 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25172 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25173 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25176 ## ----------------------------------------- ##
25177 ## Report this to wx-dev@lists.wxwidgets.org ##
25178 ## ----------------------------------------- ##
25181 sed "s/^/$as_me: WARNING: /" >&2
25184 echo "$as_me:$LINENO: checking for png.h" >&5
25185 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25186 if test "${ac_cv_header_png_h+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 ac_cv_header_png_h
=$ac_header_preproc
25191 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25192 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25198 if test "$ac_cv_header_png_h" = "yes"; then
25199 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25200 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25201 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 ac_check_lib_save_LIBS
=$LIBS
25205 LIBS
="-lpng -lz -lm $LIBS"
25206 cat >conftest.
$ac_ext <<_ACEOF
25209 cat confdefs.h
>>conftest.
$ac_ext
25210 cat >>conftest.
$ac_ext <<_ACEOF
25211 /* end confdefs.h. */
25213 /* Override any gcc2 internal prototype to avoid an error. */
25217 /* We use char because int might match the return type of a gcc2
25218 builtin and then its argument prototype would still apply. */
25219 char png_check_sig ();
25228 rm -f conftest.
$ac_objext conftest
$ac_exeext
25229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25230 (eval $ac_link) 2>conftest.er1
25232 grep -v '^ *+' conftest.er1
>conftest.err
25234 cat conftest.err
>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } &&
25237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239 (eval $ac_try) 2>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); }; } &&
25243 { ac_try
='test -s conftest$ac_exeext'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; }; then
25249 ac_cv_lib_png_png_check_sig
=yes
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.
$ac_ext >&5
25254 ac_cv_lib_png_png_check_sig
=no
25256 rm -f conftest.err conftest.
$ac_objext \
25257 conftest
$ac_exeext conftest.
$ac_ext
25258 LIBS
=$ac_check_lib_save_LIBS
25260 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25261 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25262 if test $ac_cv_lib_png_png_check_sig = yes; then
25263 PNG_LINK
=" -lpng -lz"
25268 if test "x$PNG_LINK" = "x" ; then
25269 if test "$wxUSE_LIBPNG" = "sys" ; then
25270 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25271 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25272 { (exit 1); exit 1; }; }
25274 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25275 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25276 wxUSE_LIBPNG
=builtin
25284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25289 if test "$wxUSE_LIBJPEG" != "no" ; then
25290 cat >>confdefs.h
<<\_ACEOF
25291 #define wxUSE_LIBJPEG 1
25295 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25296 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25297 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25301 if test "$wxUSE_MGL" != 1 ; then
25302 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25303 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25304 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25305 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 cat >conftest.
$ac_ext <<_ACEOF
25311 cat confdefs.h
>>conftest.
$ac_ext
25312 cat >>conftest.
$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25315 #undef HAVE_STDLIB_H
25317 #include <jpeglib.h>
25328 rm -f conftest.
$ac_objext
25329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25330 (eval $ac_compile) 2>conftest.er1
25332 grep -v '^ *+' conftest.er1
>conftest.err
25334 cat conftest.err
>&5
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); } &&
25337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25339 (eval $ac_try) 2>&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); }; } &&
25343 { ac_try
='test -s conftest.$ac_objext'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; }; then
25349 ac_cv_header_jpeglib_h
=yes
25351 echo "$as_me: failed program was:" >&5
25352 sed 's/^/| /' conftest.
$ac_ext >&5
25354 ac_cv_header_jpeglib_h
=no
25357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25361 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25362 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25364 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25365 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25366 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25367 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25368 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 ac_check_lib_save_LIBS
=$LIBS
25371 LIBS
="-ljpeg $LIBS"
25372 cat >conftest.
$ac_ext <<_ACEOF
25375 cat confdefs.h
>>conftest.
$ac_ext
25376 cat >>conftest.
$ac_ext <<_ACEOF
25377 /* end confdefs.h. */
25379 /* Override any gcc2 internal prototype to avoid an error. */
25383 /* We use char because int might match the return type of a gcc2
25384 builtin and then its argument prototype would still apply. */
25385 char jpeg_read_header ();
25389 jpeg_read_header ();
25394 rm -f conftest.
$ac_objext conftest
$ac_exeext
25395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25396 (eval $ac_link) 2>conftest.er1
25398 grep -v '^ *+' conftest.er1
>conftest.err
25400 cat conftest.err
>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } &&
25403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; } &&
25409 { ac_try
='test -s conftest$ac_exeext'
25410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25411 (eval $ac_try) 2>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); }; }; then
25415 ac_cv_lib_jpeg_jpeg_read_header
=yes
25417 echo "$as_me: failed program was:" >&5
25418 sed 's/^/| /' conftest.
$ac_ext >&5
25420 ac_cv_lib_jpeg_jpeg_read_header
=no
25422 rm -f conftest.err conftest.
$ac_objext \
25423 conftest
$ac_exeext conftest.
$ac_ext
25424 LIBS
=$ac_check_lib_save_LIBS
25426 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25427 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25428 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25429 JPEG_LINK
=" -ljpeg"
25434 if test "x$JPEG_LINK" = "x" ; then
25435 if test "$wxUSE_LIBJPEG" = "sys" ; then
25436 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25437 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25438 { (exit 1); exit 1; }; }
25440 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25441 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25442 wxUSE_LIBJPEG
=builtin
25453 TIFF_PREREQ_LINKS
=-lm
25454 if test "$wxUSE_LIBTIFF" != "no" ; then
25455 cat >>confdefs.h
<<\_ACEOF
25456 #define wxUSE_LIBTIFF 1
25460 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25461 if test "$wxUSE_LIBJPEG" = "sys"; then
25462 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25464 if test "$wxUSE_ZLIB" = "sys"; then
25465 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25467 if test "${ac_cv_header_tiffio_h+set}" = set; then
25468 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25469 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25470 if test "${ac_cv_header_tiffio_h+set}" = set; then
25471 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25474 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25476 # Is the header compilable?
25477 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25478 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25479 cat >conftest.
$ac_ext <<_ACEOF
25482 cat confdefs.h
>>conftest.
$ac_ext
25483 cat >>conftest.
$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 $ac_includes_default
25486 #include <tiffio.h>
25488 rm -f conftest.
$ac_objext
25489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25490 (eval $ac_compile) 2>conftest.er1
25492 grep -v '^ *+' conftest.er1
>conftest.err
25494 cat conftest.err
>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } &&
25497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; } &&
25503 { ac_try
='test -s conftest.$ac_objext'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; }; then
25509 ac_header_compiler
=yes
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.
$ac_ext >&5
25514 ac_header_compiler
=no
25516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25518 echo "${ECHO_T}$ac_header_compiler" >&6
25520 # Is the header present?
25521 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25522 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25523 cat >conftest.
$ac_ext <<_ACEOF
25526 cat confdefs.h
>>conftest.
$ac_ext
25527 cat >>conftest.
$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529 #include <tiffio.h>
25531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25534 grep -v '^ *+' conftest.er1
>conftest.err
25536 cat conftest.err
>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } >/dev
/null
; then
25539 if test -s conftest.err
; then
25540 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25541 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25548 if test -z "$ac_cpp_err"; then
25549 ac_header_preproc
=yes
25551 echo "$as_me: failed program was:" >&5
25552 sed 's/^/| /' conftest.
$ac_ext >&5
25554 ac_header_preproc
=no
25556 rm -f conftest.err conftest.
$ac_ext
25557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25558 echo "${ECHO_T}$ac_header_preproc" >&6
25560 # So? What about this header?
25561 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25563 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25564 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25565 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25566 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25567 ac_header_preproc
=yes
25570 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25571 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25572 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25573 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25574 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25575 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25576 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25577 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25578 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25579 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25580 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25581 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25584 ## ----------------------------------------- ##
25585 ## Report this to wx-dev@lists.wxwidgets.org ##
25586 ## ----------------------------------------- ##
25589 sed "s/^/$as_me: WARNING: /" >&2
25592 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25593 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25594 if test "${ac_cv_header_tiffio_h+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 ac_cv_header_tiffio_h
=$ac_header_preproc
25599 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25600 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25603 if test $ac_cv_header_tiffio_h = yes; then
25605 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25606 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25607 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 ac_check_lib_save_LIBS
=$LIBS
25611 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25612 cat >conftest.
$ac_ext <<_ACEOF
25615 cat confdefs.h
>>conftest.
$ac_ext
25616 cat >>conftest.
$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25619 /* Override any gcc2 internal prototype to avoid an error. */
25623 /* We use char because int might match the return type of a gcc2
25624 builtin and then its argument prototype would still apply. */
25634 rm -f conftest.
$ac_objext conftest
$ac_exeext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25636 (eval $ac_link) 2>conftest.er1
25638 grep -v '^ *+' conftest.er1
>conftest.err
25640 cat conftest.err
>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; } &&
25649 { ac_try
='test -s conftest$ac_exeext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 ac_cv_lib_tiff_TIFFError
=yes
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 ac_cv_lib_tiff_TIFFError
=no
25662 rm -f conftest.err conftest.
$ac_objext \
25663 conftest
$ac_exeext conftest.
$ac_ext
25664 LIBS
=$ac_check_lib_save_LIBS
25666 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25667 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25668 if test $ac_cv_lib_tiff_TIFFError = yes; then
25669 TIFF_LINK
=" -ltiff"
25678 if test "x$TIFF_LINK" = "x" ; then
25679 if test "$wxUSE_LIBTIFF" = "sys" ; then
25680 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25681 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25682 { (exit 1); exit 1; }; }
25684 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25685 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25686 wxUSE_LIBTIFF
=builtin
25695 if test "$wxUSE_WCHAR_T" != "yes"; then
25696 if test "$wxUSE_EXPAT" != "no"; then
25697 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25698 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25701 if test "$wxUSE_XML" != "no"; then
25702 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25703 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25708 if test "$wxUSE_EXPAT" != "no"; then
25710 cat >>confdefs.h
<<\_ACEOF
25711 #define wxUSE_EXPAT 1
25714 cat >>confdefs.h
<<\_ACEOF
25715 #define wxUSE_XML 1
25719 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25720 if test "${ac_cv_header_expat_h+set}" = set; then
25721 echo "$as_me:$LINENO: checking for expat.h" >&5
25722 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25723 if test "${ac_cv_header_expat_h+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25726 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25727 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25729 # Is the header compilable?
25730 echo "$as_me:$LINENO: checking expat.h usability" >&5
25731 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25732 cat >conftest.
$ac_ext <<_ACEOF
25735 cat confdefs.h
>>conftest.
$ac_ext
25736 cat >>conftest.
$ac_ext <<_ACEOF
25737 /* end confdefs.h. */
25738 $ac_includes_default
25741 rm -f conftest.
$ac_objext
25742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25743 (eval $ac_compile) 2>conftest.er1
25745 grep -v '^ *+' conftest.er1
>conftest.err
25747 cat conftest.err
>&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); } &&
25750 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25752 (eval $ac_try) 2>&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); }; } &&
25756 { ac_try
='test -s conftest.$ac_objext'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25762 ac_header_compiler
=yes
25764 echo "$as_me: failed program was:" >&5
25765 sed 's/^/| /' conftest.
$ac_ext >&5
25767 ac_header_compiler
=no
25769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25771 echo "${ECHO_T}$ac_header_compiler" >&6
25773 # Is the header present?
25774 echo "$as_me:$LINENO: checking expat.h presence" >&5
25775 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25776 cat >conftest.
$ac_ext <<_ACEOF
25779 cat confdefs.h
>>conftest.
$ac_ext
25780 cat >>conftest.
$ac_ext <<_ACEOF
25781 /* end confdefs.h. */
25784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25787 grep -v '^ *+' conftest.er1
>conftest.err
25789 cat conftest.err
>&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } >/dev
/null
; then
25792 if test -s conftest.err
; then
25793 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25794 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25801 if test -z "$ac_cpp_err"; then
25802 ac_header_preproc
=yes
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.
$ac_ext >&5
25807 ac_header_preproc
=no
25809 rm -f conftest.err conftest.
$ac_ext
25810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25811 echo "${ECHO_T}$ac_header_preproc" >&6
25813 # So? What about this header?
25814 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25816 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25817 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25818 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25819 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25820 ac_header_preproc
=yes
25823 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25824 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25825 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25826 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25827 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25828 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25829 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25830 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25831 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25832 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25833 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25834 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25837 ## ----------------------------------------- ##
25838 ## Report this to wx-dev@lists.wxwidgets.org ##
25839 ## ----------------------------------------- ##
25842 sed "s/^/$as_me: WARNING: /" >&2
25845 echo "$as_me:$LINENO: checking for expat.h" >&5
25846 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25847 if test "${ac_cv_header_expat_h+set}" = set; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 ac_cv_header_expat_h
=$ac_header_preproc
25852 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25853 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25856 if test $ac_cv_header_expat_h = yes; then
25861 if test "x$found_expat_h" = "x1"; then
25862 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25863 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25864 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 cat >conftest.
$ac_ext <<_ACEOF
25871 cat confdefs.h
>>conftest.
$ac_ext
25872 cat >>conftest.
$ac_ext <<_ACEOF
25873 /* end confdefs.h. */
25883 rm -f conftest.
$ac_objext
25884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25885 (eval $ac_compile) 2>conftest.er1
25887 grep -v '^ *+' conftest.er1
>conftest.err
25889 cat conftest.err
>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } &&
25892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25894 (eval $ac_try) 2>&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); }; } &&
25898 { ac_try
='test -s conftest.$ac_objext'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; }; then
25904 wx_cv_expat_is_not_broken
=yes
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.
$ac_ext >&5
25909 wx_cv_expat_is_not_broken
=no
25912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25916 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25917 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25918 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25919 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25920 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25921 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 ac_check_lib_save_LIBS
=$LIBS
25925 LIBS
="-lexpat $LIBS"
25926 cat >conftest.
$ac_ext <<_ACEOF
25929 cat confdefs.h
>>conftest.
$ac_ext
25930 cat >>conftest.
$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25933 /* Override any gcc2 internal prototype to avoid an error. */
25937 /* We use char because int might match the return type of a gcc2
25938 builtin and then its argument prototype would still apply. */
25939 char XML_ParserCreate ();
25943 XML_ParserCreate ();
25948 rm -f conftest.
$ac_objext conftest
$ac_exeext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25950 (eval $ac_link) 2>conftest.er1
25952 grep -v '^ *+' conftest.er1
>conftest.err
25954 cat conftest.err
>&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } &&
25957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; } &&
25963 { ac_try
='test -s conftest$ac_exeext'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; }; then
25969 ac_cv_lib_expat_XML_ParserCreate
=yes
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 ac_cv_lib_expat_XML_ParserCreate
=no
25976 rm -f conftest.err conftest.
$ac_objext \
25977 conftest
$ac_exeext conftest.
$ac_ext
25978 LIBS
=$ac_check_lib_save_LIBS
25980 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25981 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25982 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25983 EXPAT_LINK
=" -lexpat"
25988 if test "x$EXPAT_LINK" = "x" ; then
25989 if test "$wxUSE_EXPAT" = "sys" ; then
25990 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25991 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25992 { (exit 1); exit 1; }; }
25994 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25995 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25996 wxUSE_EXPAT
=builtin
26002 if test "$wxUSE_EXPAT" = "builtin" ; then
26005 subdirs
="$subdirs src/expat"
26012 if test "$wxUSE_LIBMSPACK" != "no"; then
26013 if test "${ac_cv_header_mspack_h+set}" = set; then
26014 echo "$as_me:$LINENO: checking for mspack.h" >&5
26015 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26016 if test "${ac_cv_header_mspack_h+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26019 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26020 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26022 # Is the header compilable?
26023 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26024 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26025 cat >conftest.
$ac_ext <<_ACEOF
26028 cat confdefs.h
>>conftest.
$ac_ext
26029 cat >>conftest.
$ac_ext <<_ACEOF
26030 /* end confdefs.h. */
26031 $ac_includes_default
26032 #include <mspack.h>
26034 rm -f conftest.
$ac_objext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26036 (eval $ac_compile) 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try
='test -s conftest.$ac_objext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055 ac_header_compiler
=yes
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.
$ac_ext >&5
26060 ac_header_compiler
=no
26062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26064 echo "${ECHO_T}$ac_header_compiler" >&6
26066 # Is the header present?
26067 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26068 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26069 cat >conftest.
$ac_ext <<_ACEOF
26072 cat confdefs.h
>>conftest.
$ac_ext
26073 cat >>conftest.
$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075 #include <mspack.h>
26077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26080 grep -v '^ *+' conftest.er1
>conftest.err
26082 cat conftest.err
>&5
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); } >/dev
/null
; then
26085 if test -s conftest.err
; then
26086 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26087 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26094 if test -z "$ac_cpp_err"; then
26095 ac_header_preproc
=yes
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.
$ac_ext >&5
26100 ac_header_preproc
=no
26102 rm -f conftest.err conftest.
$ac_ext
26103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26104 echo "${ECHO_T}$ac_header_preproc" >&6
26106 # So? What about this header?
26107 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26109 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26110 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26111 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26112 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26113 ac_header_preproc
=yes
26116 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26117 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26118 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26119 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26120 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26121 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26122 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26123 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26124 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26125 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26126 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26127 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26130 ## ----------------------------------------- ##
26131 ## Report this to wx-dev@lists.wxwidgets.org ##
26132 ## ----------------------------------------- ##
26135 sed "s/^/$as_me: WARNING: /" >&2
26138 echo "$as_me:$LINENO: checking for mspack.h" >&5
26139 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26140 if test "${ac_cv_header_mspack_h+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26143 ac_cv_header_mspack_h
=$ac_header_preproc
26145 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26146 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26149 if test $ac_cv_header_mspack_h = yes; then
26154 if test "x$found_mspack_h" = "x1"; then
26155 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26156 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26157 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26158 echo $ECHO_N "(cached) $ECHO_C" >&6
26160 ac_check_lib_save_LIBS
=$LIBS
26161 LIBS
="-lmspack $LIBS"
26162 cat >conftest.
$ac_ext <<_ACEOF
26165 cat confdefs.h
>>conftest.
$ac_ext
26166 cat >>conftest.
$ac_ext <<_ACEOF
26167 /* end confdefs.h. */
26169 /* Override any gcc2 internal prototype to avoid an error. */
26173 /* We use char because int might match the return type of a gcc2
26174 builtin and then its argument prototype would still apply. */
26175 char mspack_create_chm_decompressor ();
26179 mspack_create_chm_decompressor ();
26184 rm -f conftest.
$ac_objext conftest
$ac_exeext
26185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26186 (eval $ac_link) 2>conftest.er1
26188 grep -v '^ *+' conftest.er1
>conftest.err
26190 cat conftest.err
>&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } &&
26193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26195 (eval $ac_try) 2>&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); }; } &&
26199 { ac_try
='test -s conftest$ac_exeext'
26200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26201 (eval $ac_try) 2>&5
26203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204 (exit $ac_status); }; }; then
26205 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26207 echo "$as_me: failed program was:" >&5
26208 sed 's/^/| /' conftest.
$ac_ext >&5
26210 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26212 rm -f conftest.err conftest.
$ac_objext \
26213 conftest
$ac_exeext conftest.
$ac_ext
26214 LIBS
=$ac_check_lib_save_LIBS
26216 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26217 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26218 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26219 MSPACK_LINK
=" -lmspack"
26223 if test "x$MSPACK_LINK" = "x" ; then
26228 if test "$wxUSE_LIBMSPACK" != "no"; then
26229 cat >>confdefs.h
<<\_ACEOF
26230 #define wxUSE_LIBMSPACK 1
26244 if test "$USE_WIN32" = 1 ; then
26246 for ac_header
in w32api.h
26248 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26250 echo "$as_me:$LINENO: checking for $ac_header" >&5
26251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26258 # Is the header compilable?
26259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26261 cat >conftest.
$ac_ext <<_ACEOF
26264 cat confdefs.h
>>conftest.
$ac_ext
26265 cat >>conftest.
$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26267 $ac_includes_default
26268 #include <$ac_header>
26270 rm -f conftest.
$ac_objext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26272 (eval $ac_compile) 2>conftest.er1
26274 grep -v '^ *+' conftest.er1
>conftest.err
26276 cat conftest.err
>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; } &&
26285 { ac_try
='test -s conftest.$ac_objext'
26286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26287 (eval $ac_try) 2>&5
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); }; }; then
26291 ac_header_compiler
=yes
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.
$ac_ext >&5
26296 ac_header_compiler
=no
26298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26300 echo "${ECHO_T}$ac_header_compiler" >&6
26302 # Is the header present?
26303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26305 cat >conftest.
$ac_ext <<_ACEOF
26308 cat confdefs.h
>>conftest.
$ac_ext
26309 cat >>conftest.
$ac_ext <<_ACEOF
26310 /* end confdefs.h. */
26311 #include <$ac_header>
26313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26316 grep -v '^ *+' conftest.er1
>conftest.err
26318 cat conftest.err
>&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } >/dev
/null
; then
26321 if test -s conftest.err
; then
26322 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26323 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26330 if test -z "$ac_cpp_err"; then
26331 ac_header_preproc
=yes
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.
$ac_ext >&5
26336 ac_header_preproc
=no
26338 rm -f conftest.err conftest.
$ac_ext
26339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26340 echo "${ECHO_T}$ac_header_preproc" >&6
26342 # So? What about this header?
26343 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26349 ac_header_preproc
=yes
26352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26366 ## ----------------------------------------- ##
26367 ## Report this to wx-dev@lists.wxwidgets.org ##
26368 ## ----------------------------------------- ##
26371 sed "s/^/$as_me: WARNING: /" >&2
26374 echo "$as_me:$LINENO: checking for $ac_header" >&5
26375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26377 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 eval "$as_ac_Header=\$ac_header_preproc"
26381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26386 cat >>confdefs.h
<<_ACEOF
26387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26394 if test "${ac_cv_header_windows_h+set}" = set; then
26395 echo "$as_me:$LINENO: checking for windows.h" >&5
26396 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26397 if test "${ac_cv_header_windows_h+set}" = set; then
26398 echo $ECHO_N "(cached) $ECHO_C" >&6
26400 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26401 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26403 # Is the header compilable?
26404 echo "$as_me:$LINENO: checking windows.h usability" >&5
26405 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26406 cat >conftest.
$ac_ext <<_ACEOF
26409 cat confdefs.h
>>conftest.
$ac_ext
26410 cat >>conftest.
$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26412 $ac_includes_default
26413 #include <windows.h>
26415 rm -f conftest.
$ac_objext
26416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26417 (eval $ac_compile) 2>conftest.er1
26419 grep -v '^ *+' conftest.er1
>conftest.err
26421 cat conftest.err
>&5
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); } &&
26424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26426 (eval $ac_try) 2>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; } &&
26430 { ac_try
='test -s conftest.$ac_objext'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; }; then
26436 ac_header_compiler
=yes
26438 echo "$as_me: failed program was:" >&5
26439 sed 's/^/| /' conftest.
$ac_ext >&5
26441 ac_header_compiler
=no
26443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26445 echo "${ECHO_T}$ac_header_compiler" >&6
26447 # Is the header present?
26448 echo "$as_me:$LINENO: checking windows.h presence" >&5
26449 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26450 cat >conftest.
$ac_ext <<_ACEOF
26453 cat confdefs.h
>>conftest.
$ac_ext
26454 cat >>conftest.
$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456 #include <windows.h>
26458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26461 grep -v '^ *+' conftest.er1
>conftest.err
26463 cat conftest.err
>&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } >/dev
/null
; then
26466 if test -s conftest.err
; then
26467 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26468 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26475 if test -z "$ac_cpp_err"; then
26476 ac_header_preproc
=yes
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.
$ac_ext >&5
26481 ac_header_preproc
=no
26483 rm -f conftest.err conftest.
$ac_ext
26484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26485 echo "${ECHO_T}$ac_header_preproc" >&6
26487 # So? What about this header?
26488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26490 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26491 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26492 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26493 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26494 ac_header_preproc
=yes
26497 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26498 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26499 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26500 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26501 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26502 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26503 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26504 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26505 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26506 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26507 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26508 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26511 ## ----------------------------------------- ##
26512 ## Report this to wx-dev@lists.wxwidgets.org ##
26513 ## ----------------------------------------- ##
26516 sed "s/^/$as_me: WARNING: /" >&2
26519 echo "$as_me:$LINENO: checking for windows.h" >&5
26520 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26521 if test "${ac_cv_header_windows_h+set}" = set; then
26522 echo $ECHO_N "(cached) $ECHO_C" >&6
26524 ac_cv_header_windows_h
=$ac_header_preproc
26526 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26530 if test $ac_cv_header_windows_h = yes; then
26534 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26535 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26536 { (exit 1); exit 1; }; }
26542 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26544 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26545 LIBS
="$LIBS -loleacc"
26550 LIBS
="$LIBS -lkernel32 -luser32"
26553 if test "$wxUSE_ODBC" = "sys" ; then
26556 if test "$wxUSE_ODBC" = "yes" ; then
26557 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26558 cat >>confdefs.h
<<\_ACEOF
26559 #define wxUSE_ODBC 1
26564 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26565 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26567 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26569 WIN32INSTALL
=win32install
26572 if test "$wxUSE_GUI" = "yes"; then
26582 if test "$wxUSE_COCOA" = 1 ; then
26583 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26584 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26585 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26586 wxUSE_PRINTING_ARCHITECTURE
=no
26588 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26589 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26590 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26591 wxUSE_DRAG_AND_DROP
=no
26593 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26594 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26595 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26600 if test "$wxUSE_MSW" = 1 ; then
26606 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26610 if test "$wxUSE_GTK" = 1; then
26612 ac_cpp
='$CPP $CPPFLAGS'
26613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26618 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26619 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26621 gtk_version_cached
=1
26622 if test "${wx_cv_lib_gtk+set}" = set; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 gtk_version_cached
=0
26627 echo "$as_me:$LINENO: result: " >&5
26628 echo "${ECHO_T}" >&6
26631 if test "$wxUSE_THREADS" = "yes"; then
26632 GTK_MODULES
=gthread
26636 if test "x$wxGTK_VERSION" != "x1"
26640 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26645 # Check whether --enable-gtktest or --disable-gtktest was given.
26646 if test "${enable_gtktest+set}" = set; then
26647 enableval
="$enable_gtktest"
26653 pkg_config_args
=gtk
+-2.0
26654 for module
in .
$GTK_MODULES
26658 pkg_config_args
="$pkg_config_args gthread-2.0"
26665 # Extract the first word of "pkg-config", so it can be a program name with args.
26666 set dummy pkg
-config; ac_word
=$2
26667 echo "$as_me:$LINENO: checking for $ac_word" >&5
26668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26670 echo $ECHO_N "(cached) $ECHO_C" >&6
26672 case $PKG_CONFIG in
26674 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26678 for as_dir
in $PATH
26681 test -z "$as_dir" && as_dir
=.
26682 for ac_exec_ext
in '' $ac_executable_extensions; do
26683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26684 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26691 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26695 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26697 if test -n "$PKG_CONFIG"; then
26698 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26699 echo "${ECHO_T}$PKG_CONFIG" >&6
26701 echo "$as_me:$LINENO: result: no" >&5
26702 echo "${ECHO_T}no" >&6
26706 if test x
$PKG_CONFIG != xno
; then
26707 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26710 echo "*** pkg-config too old; version 0.7 or better required."
26718 min_gtk_version
=2.0.0
26719 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26720 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26722 if test x
$PKG_CONFIG != xno
; then
26723 ## don't try to run the test against uninstalled libtool libs
26724 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26725 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26729 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26736 if test x
"$no_gtk" = x
; then
26737 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26738 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26739 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26741 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26743 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26745 if test "x$enable_gtktest" = "xyes" ; then
26746 ac_save_CFLAGS
="$CFLAGS"
26747 ac_save_LIBS
="$LIBS"
26748 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26749 LIBS
="$GTK_LIBS $LIBS"
26751 if test "$cross_compiling" = yes; then
26752 echo $ac_n "cross compiling; assumed OK... $ac_c"
26754 cat >conftest.
$ac_ext <<_ACEOF
26757 cat confdefs.h
>>conftest.
$ac_ext
26758 cat >>conftest.
$ac_ext <<_ACEOF
26759 /* end confdefs.h. */
26761 #include <gtk/gtk.h>
26763 #include <stdlib.h>
26768 int major, minor, micro;
26771 system ("touch conf.gtktest");
26773 /* HP/UX 9 (%@#!) writes to sscanf strings */
26774 tmp_version = g_strdup("$min_gtk_version");
26775 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26776 printf("%s, bad version string\n", "$min_gtk_version");
26780 if ((gtk_major_version != $gtk_config_major_version) ||
26781 (gtk_minor_version != $gtk_config_minor_version) ||
26782 (gtk_micro_version != $gtk_config_micro_version))
26784 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26785 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26786 gtk_major_version, gtk_minor_version, gtk_micro_version);
26787 printf ("*** was found! If pkg-config was correct, then it is best\n");
26788 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26789 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26790 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26791 printf("*** required on your system.\n");
26792 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26793 printf("*** to point to the correct configuration files\n");
26795 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26796 (gtk_minor_version != GTK_MINOR_VERSION) ||
26797 (gtk_micro_version != GTK_MICRO_VERSION))
26799 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26800 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26801 printf("*** library (version %d.%d.%d)\n",
26802 gtk_major_version, gtk_minor_version, gtk_micro_version);
26806 if ((gtk_major_version > major) ||
26807 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26808 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26814 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26815 gtk_major_version, gtk_minor_version, gtk_micro_version);
26816 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26817 major, minor, micro);
26818 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26820 printf("*** If you have already installed a sufficiently new version, this error\n");
26821 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26822 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26823 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26824 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26825 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26826 printf("*** so that the correct libraries are found at run-time))\n");
26833 rm -f conftest
$ac_exeext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26835 (eval $ac_link) 2>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26846 echo "$as_me: program exited with status $ac_status" >&5
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.
$ac_ext >&5
26850 ( exit $ac_status )
26853 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26855 CFLAGS
="$ac_save_CFLAGS"
26856 LIBS
="$ac_save_LIBS"
26859 if test "x$no_gtk" = x
; then
26860 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26861 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26864 echo "$as_me:$LINENO: result: no" >&5
26865 echo "${ECHO_T}no" >&6
26866 if test "$PKG_CONFIG" = "no" ; then
26867 echo "*** A new enough version of pkg-config was not found."
26868 echo "*** See http://pkgconfig.sourceforge.net"
26870 if test -f conf.gtktest
; then
26873 echo "*** Could not run GTK+ test program, checking why..."
26874 ac_save_CFLAGS
="$CFLAGS"
26875 ac_save_LIBS
="$LIBS"
26876 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26877 LIBS
="$LIBS $GTK_LIBS"
26878 cat >conftest.
$ac_ext <<_ACEOF
26881 cat confdefs.h
>>conftest.
$ac_ext
26882 cat >>conftest.
$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26885 #include <gtk/gtk.h>
26891 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26896 rm -f conftest.
$ac_objext conftest
$ac_exeext
26897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26898 (eval $ac_link) 2>conftest.er1
26900 grep -v '^ *+' conftest.er1
>conftest.err
26902 cat conftest.err
>&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; } &&
26911 { ac_try
='test -s conftest$ac_exeext'
26912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26913 (eval $ac_try) 2>&5
26915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26916 (exit $ac_status); }; }; then
26917 echo "*** The test program compiled, but did not run. This usually means"
26918 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26919 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26920 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26921 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26922 echo "*** is required on your system"
26924 echo "*** If you have an old version installed, it is best to remove it, although"
26925 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.
$ac_ext >&5
26930 echo "*** The test program failed to compile or link. See the file config.log for the"
26931 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26933 rm -f conftest.err conftest.
$ac_objext \
26934 conftest
$ac_exeext conftest.
$ac_ext
26935 CFLAGS
="$ac_save_CFLAGS"
26936 LIBS
="$ac_save_LIBS"
26950 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26951 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26952 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26954 if test "$wxUSE_SHARED" != "yes"; then
26955 GTK_LIBS
="$GTK_LIBS -lX11"
26960 if test -z "$wx_cv_lib_gtk"; then
26961 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26963 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26964 if test "${with_gtk_prefix+set}" = set; then
26965 withval
="$with_gtk_prefix"
26966 gtk_config_prefix
="$withval"
26968 gtk_config_prefix
=""
26971 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26972 if test "${with_gtk_exec_prefix+set}" = set; then
26973 withval
="$with_gtk_exec_prefix"
26974 gtk_config_exec_prefix
="$withval"
26976 gtk_config_exec_prefix
=""
26978 # Check whether --enable-gtktest or --disable-gtktest was given.
26979 if test "${enable_gtktest+set}" = set; then
26980 enableval
="$enable_gtktest"
26986 for module
in .
$GTK_MODULES
26990 gtk_config_args
="$gtk_config_args gthread"
26995 if test x
$gtk_config_exec_prefix != x
; then
26996 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26997 if test x
${GTK_CONFIG+set} != xset
; then
26998 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27001 if test x
$gtk_config_prefix != x
; then
27002 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27003 if test x
${GTK_CONFIG+set} != xset
; then
27004 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27008 # Extract the first word of "gtk-config", so it can be a program name with args.
27009 set dummy gtk
-config; ac_word
=$2
27010 echo "$as_me:$LINENO: checking for $ac_word" >&5
27011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27012 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 case $GTK_CONFIG in
27017 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27021 for as_dir
in $PATH
27024 test -z "$as_dir" && as_dir
=.
27025 for ac_exec_ext
in '' $ac_executable_extensions; do
27026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27027 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27034 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27038 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27040 if test -n "$GTK_CONFIG"; then
27041 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27042 echo "${ECHO_T}$GTK_CONFIG" >&6
27044 echo "$as_me:$LINENO: result: no" >&5
27045 echo "${ECHO_T}no" >&6
27048 min_gtk_version
=1.2.7
27049 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27050 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27052 if test "$GTK_CONFIG" = "no" ; then
27055 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27056 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27057 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27059 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27061 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27062 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27063 if test "x$enable_gtktest" = "xyes" ; then
27064 ac_save_CFLAGS
="$CFLAGS"
27065 ac_save_LIBS
="$LIBS"
27066 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27067 LIBS
="$GTK_LIBS $LIBS"
27069 if test "$cross_compiling" = yes; then
27070 echo $ac_n "cross compiling; assumed OK... $ac_c"
27072 cat >conftest.
$ac_ext <<_ACEOF
27075 cat confdefs.h
>>conftest.
$ac_ext
27076 cat >>conftest.
$ac_ext <<_ACEOF
27077 /* end confdefs.h. */
27079 #include <gtk/gtk.h>
27081 #include <stdlib.h>
27086 int major, minor, micro;
27089 system ("touch conf.gtktest");
27091 /* HP/UX 9 (%@#!) writes to sscanf strings */
27092 tmp_version = g_strdup("$min_gtk_version");
27093 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27094 printf("%s, bad version string\n", "$min_gtk_version");
27098 if ((gtk_major_version != $gtk_config_major_version) ||
27099 (gtk_minor_version != $gtk_config_minor_version) ||
27100 (gtk_micro_version != $gtk_config_micro_version))
27102 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27103 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27104 gtk_major_version, gtk_minor_version, gtk_micro_version);
27105 printf ("*** was found! If gtk-config was correct, then it is best\n");
27106 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27107 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27108 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27109 printf("*** required on your system.\n");
27110 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27111 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27112 printf("*** before re-running configure\n");
27114 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27115 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27116 (gtk_minor_version != GTK_MINOR_VERSION) ||
27117 (gtk_micro_version != GTK_MICRO_VERSION))
27119 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27120 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27121 printf("*** library (version %d.%d.%d)\n",
27122 gtk_major_version, gtk_minor_version, gtk_micro_version);
27124 #endif /* defined (GTK_MAJOR_VERSION) ... */
27127 if ((gtk_major_version > major) ||
27128 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27129 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27135 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27136 gtk_major_version, gtk_minor_version, gtk_micro_version);
27137 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27138 major, minor, micro);
27139 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27141 printf("*** If you have already installed a sufficiently new version, this error\n");
27142 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27143 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27144 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27145 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27146 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27147 printf("*** so that the correct libraries are found at run-time))\n");
27154 rm -f conftest
$ac_exeext
27155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27156 (eval $ac_link) 2>&5
27158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27161 (eval $ac_try) 2>&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); }; }; then
27167 echo "$as_me: program exited with status $ac_status" >&5
27168 echo "$as_me: failed program was:" >&5
27169 sed 's/^/| /' conftest.
$ac_ext >&5
27171 ( exit $ac_status )
27174 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27176 CFLAGS
="$ac_save_CFLAGS"
27177 LIBS
="$ac_save_LIBS"
27180 if test "x$no_gtk" = x
; then
27181 echo "$as_me:$LINENO: result: yes" >&5
27182 echo "${ECHO_T}yes" >&6
27183 wx_cv_lib_gtk
=1.2.7
27185 echo "$as_me:$LINENO: result: no" >&5
27186 echo "${ECHO_T}no" >&6
27187 if test "$GTK_CONFIG" = "no" ; then
27188 echo "*** The gtk-config script installed by GTK could not be found"
27189 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27190 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27191 echo "*** full path to gtk-config."
27193 if test -f conf.gtktest
; then
27196 echo "*** Could not run GTK test program, checking why..."
27197 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27198 LIBS
="$LIBS $GTK_LIBS"
27199 cat >conftest.
$ac_ext <<_ACEOF
27202 cat confdefs.h
>>conftest.
$ac_ext
27203 cat >>conftest.
$ac_ext <<_ACEOF
27204 /* end confdefs.h. */
27206 #include <gtk/gtk.h>
27212 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27217 rm -f conftest.
$ac_objext conftest
$ac_exeext
27218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27219 (eval $ac_link) 2>conftest.er1
27221 grep -v '^ *+' conftest.er1
>conftest.err
27223 cat conftest.err
>&5
27224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225 (exit $ac_status); } &&
27226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27228 (eval $ac_try) 2>&5
27230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27231 (exit $ac_status); }; } &&
27232 { ac_try
='test -s conftest$ac_exeext'
27233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27234 (eval $ac_try) 2>&5
27236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27237 (exit $ac_status); }; }; then
27238 echo "*** The test program compiled, but did not run. This usually means"
27239 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27240 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27241 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27242 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27243 echo "*** is required on your system"
27245 echo "*** If you have an old version installed, it is best to remove it, although"
27246 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27248 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27249 echo "*** came with the system with the command"
27251 echo "*** rpm --erase --nodeps gtk gtk-devel"
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.
$ac_ext >&5
27256 echo "*** The test program failed to compile or link. See the file config.log for the"
27257 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27258 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27259 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27261 rm -f conftest.err conftest.
$ac_objext \
27262 conftest
$ac_exeext conftest.
$ac_ext
27263 CFLAGS
="$ac_save_CFLAGS"
27264 LIBS
="$ac_save_LIBS"
27276 if test -z "$wx_cv_lib_gtk"; then
27278 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27279 if test "${with_gtk_prefix+set}" = set; then
27280 withval
="$with_gtk_prefix"
27281 gtk_config_prefix
="$withval"
27283 gtk_config_prefix
=""
27286 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27287 if test "${with_gtk_exec_prefix+set}" = set; then
27288 withval
="$with_gtk_exec_prefix"
27289 gtk_config_exec_prefix
="$withval"
27291 gtk_config_exec_prefix
=""
27293 # Check whether --enable-gtktest or --disable-gtktest was given.
27294 if test "${enable_gtktest+set}" = set; then
27295 enableval
="$enable_gtktest"
27301 for module
in .
$GTK_MODULES
27305 gtk_config_args
="$gtk_config_args gthread"
27310 if test x
$gtk_config_exec_prefix != x
; then
27311 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27312 if test x
${GTK_CONFIG+set} != xset
; then
27313 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27316 if test x
$gtk_config_prefix != x
; then
27317 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27318 if test x
${GTK_CONFIG+set} != xset
; then
27319 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27323 # Extract the first word of "gtk-config", so it can be a program name with args.
27324 set dummy gtk
-config; ac_word
=$2
27325 echo "$as_me:$LINENO: checking for $ac_word" >&5
27326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27327 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 case $GTK_CONFIG in
27332 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27336 for as_dir
in $PATH
27339 test -z "$as_dir" && as_dir
=.
27340 for ac_exec_ext
in '' $ac_executable_extensions; do
27341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27342 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27349 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27353 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27355 if test -n "$GTK_CONFIG"; then
27356 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27357 echo "${ECHO_T}$GTK_CONFIG" >&6
27359 echo "$as_me:$LINENO: result: no" >&5
27360 echo "${ECHO_T}no" >&6
27363 min_gtk_version
=1.2.3
27364 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27365 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27367 if test "$GTK_CONFIG" = "no" ; then
27370 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27371 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27372 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27374 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27376 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27378 if test "x$enable_gtktest" = "xyes" ; then
27379 ac_save_CFLAGS
="$CFLAGS"
27380 ac_save_LIBS
="$LIBS"
27381 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27382 LIBS
="$GTK_LIBS $LIBS"
27384 if test "$cross_compiling" = yes; then
27385 echo $ac_n "cross compiling; assumed OK... $ac_c"
27387 cat >conftest.
$ac_ext <<_ACEOF
27390 cat confdefs.h
>>conftest.
$ac_ext
27391 cat >>conftest.
$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27394 #include <gtk/gtk.h>
27396 #include <stdlib.h>
27401 int major, minor, micro;
27404 system ("touch conf.gtktest");
27406 /* HP/UX 9 (%@#!) writes to sscanf strings */
27407 tmp_version = g_strdup("$min_gtk_version");
27408 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27409 printf("%s, bad version string\n", "$min_gtk_version");
27413 if ((gtk_major_version != $gtk_config_major_version) ||
27414 (gtk_minor_version != $gtk_config_minor_version) ||
27415 (gtk_micro_version != $gtk_config_micro_version))
27417 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27418 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27419 gtk_major_version, gtk_minor_version, gtk_micro_version);
27420 printf ("*** was found! If gtk-config was correct, then it is best\n");
27421 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27422 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27423 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27424 printf("*** required on your system.\n");
27425 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27426 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27427 printf("*** before re-running configure\n");
27429 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27430 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27431 (gtk_minor_version != GTK_MINOR_VERSION) ||
27432 (gtk_micro_version != GTK_MICRO_VERSION))
27434 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27435 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27436 printf("*** library (version %d.%d.%d)\n",
27437 gtk_major_version, gtk_minor_version, gtk_micro_version);
27439 #endif /* defined (GTK_MAJOR_VERSION) ... */
27442 if ((gtk_major_version > major) ||
27443 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27444 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27450 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27451 gtk_major_version, gtk_minor_version, gtk_micro_version);
27452 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27453 major, minor, micro);
27454 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27456 printf("*** If you have already installed a sufficiently new version, this error\n");
27457 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27458 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27459 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27460 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27461 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27462 printf("*** so that the correct libraries are found at run-time))\n");
27469 rm -f conftest
$ac_exeext
27470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27471 (eval $ac_link) 2>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27476 (eval $ac_try) 2>&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); }; }; then
27482 echo "$as_me: program exited with status $ac_status" >&5
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.
$ac_ext >&5
27486 ( exit $ac_status )
27489 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27491 CFLAGS
="$ac_save_CFLAGS"
27492 LIBS
="$ac_save_LIBS"
27495 if test "x$no_gtk" = x
; then
27496 echo "$as_me:$LINENO: result: yes" >&5
27497 echo "${ECHO_T}yes" >&6
27498 wx_cv_lib_gtk
=1.2.3
27500 echo "$as_me:$LINENO: result: no" >&5
27501 echo "${ECHO_T}no" >&6
27502 if test "$GTK_CONFIG" = "no" ; then
27503 echo "*** The gtk-config script installed by GTK could not be found"
27504 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27505 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27506 echo "*** full path to gtk-config."
27508 if test -f conf.gtktest
; then
27511 echo "*** Could not run GTK test program, checking why..."
27512 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27513 LIBS
="$LIBS $GTK_LIBS"
27514 cat >conftest.
$ac_ext <<_ACEOF
27517 cat confdefs.h
>>conftest.
$ac_ext
27518 cat >>conftest.
$ac_ext <<_ACEOF
27519 /* end confdefs.h. */
27521 #include <gtk/gtk.h>
27527 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27532 rm -f conftest.
$ac_objext conftest
$ac_exeext
27533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27534 (eval $ac_link) 2>conftest.er1
27536 grep -v '^ *+' conftest.er1
>conftest.err
27538 cat conftest.err
>&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); } &&
27541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27543 (eval $ac_try) 2>&5
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); }; } &&
27547 { ac_try
='test -s conftest$ac_exeext'
27548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27549 (eval $ac_try) 2>&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); }; }; then
27553 echo "*** The test program compiled, but did not run. This usually means"
27554 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27555 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27556 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27557 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27558 echo "*** is required on your system"
27560 echo "*** If you have an old version installed, it is best to remove it, although"
27561 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27563 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27564 echo "*** came with the system with the command"
27566 echo "*** rpm --erase --nodeps gtk gtk-devel"
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.
$ac_ext >&5
27571 echo "*** The test program failed to compile or link. See the file config.log for the"
27572 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27573 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27574 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27576 rm -f conftest.err conftest.
$ac_objext \
27577 conftest
$ac_exeext conftest.
$ac_ext
27578 CFLAGS
="$ac_save_CFLAGS"
27579 LIBS
="$ac_save_LIBS"
27594 if test -z "$wx_cv_lib_gtk"; then
27597 wx_cv_cflags_gtk
=$GTK_CFLAGS
27598 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27605 if test "$gtk_version_cached" = 1; then
27606 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27607 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27610 case "$wx_cv_lib_gtk" in
27619 *) { { echo "$as_me:$LINENO: error:
27620 The development files for GTK+ were not found. For GTK+ 2, please
27621 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27622 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27623 and that the version is 1.2.3 or above. Also check that the
27624 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27625 --libs' are in the LD_LIBRARY_PATH or equivalent.
27627 echo "$as_me: error:
27628 The development files for GTK+ were not found. For GTK+ 2, please
27629 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27630 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27631 and that the version is 1.2.3 or above. Also check that the
27632 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27633 --libs' are in the LD_LIBRARY_PATH or equivalent.
27635 { (exit 1); exit 1; }; }
27639 if test "$WXGTK20" = 1; then
27640 save_CFLAGS
="$CFLAGS"
27642 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27643 LIBS
="$LIBS $wx_cv_libs_gtk"
27645 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27646 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27647 cat >conftest.
$ac_ext <<_ACEOF
27650 cat confdefs.h
>>conftest.
$ac_ext
27651 cat >>conftest.
$ac_ext <<_ACEOF
27652 /* end confdefs.h. */
27654 #include <gtk/gtk.h>
27660 void *f = gtk_icon_size_lookup;
27666 rm -f conftest.
$ac_objext
27667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27668 (eval $ac_compile) 2>conftest.er1
27670 grep -v '^ *+' conftest.er1
>conftest.err
27672 cat conftest.err
>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); } &&
27675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677 (eval $ac_try) 2>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); }; } &&
27681 { ac_try
='test -s conftest.$ac_objext'
27682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27683 (eval $ac_try) 2>&5
27685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686 (exit $ac_status); }; }; then
27688 echo "$as_me:$LINENO: result: no" >&5
27689 echo "${ECHO_T}no" >&6
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.
$ac_ext >&5
27696 cat >>confdefs.h
<<\_ACEOF
27697 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27700 echo "$as_me:$LINENO: result: yes" >&5
27701 echo "${ECHO_T}yes" >&6
27704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27706 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27707 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27708 cat >conftest.
$ac_ext <<_ACEOF
27711 cat confdefs.h
>>conftest.
$ac_ext
27712 cat >>conftest.
$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27715 #include <gtk/gtk.h>
27721 #if !GTK_CHECK_VERSION(2,4,0)
27729 rm -f conftest.
$ac_objext
27730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27731 (eval $ac_compile) 2>conftest.er1
27733 grep -v '^ *+' conftest.er1
>conftest.err
27735 cat conftest.err
>&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); } &&
27738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740 (eval $ac_try) 2>&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); }; } &&
27744 { ac_try
='test -s conftest.$ac_objext'
27745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27746 (eval $ac_try) 2>&5
27748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749 (exit $ac_status); }; }; then
27751 cat >>confdefs.h
<<\_ACEOF
27752 #define __WXGTK24__ 1
27755 echo "$as_me:$LINENO: result: yes" >&5
27756 echo "${ECHO_T}yes" >&6
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.
$ac_ext >&5
27763 echo "$as_me:$LINENO: result: no" >&5
27764 echo "${ECHO_T}no" >&6
27767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27769 CFLAGS
="$save_CFLAGS"
27772 if test "$wxUSE_UNICODE" = "yes"; then
27773 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27774 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27780 ac_cpp
='$CXXCPP $CPPFLAGS'
27781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27786 if test "$USE_DARWIN" != 1; then
27788 for ac_func
in poll
27790 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27791 echo "$as_me:$LINENO: checking for $ac_func" >&5
27792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27793 if eval "test \"\${$as_ac_var+set}\" = set"; then
27794 echo $ECHO_N "(cached) $ECHO_C" >&6
27796 cat >conftest.
$ac_ext <<_ACEOF
27799 cat confdefs.h
>>conftest.
$ac_ext
27800 cat >>conftest.
$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27804 #define $ac_func innocuous_$ac_func
27806 /* System header to define __stub macros and hopefully few prototypes,
27807 which can conflict with char $ac_func (); below.
27808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27809 <limits.h> exists even on freestanding compilers. */
27812 # include <limits.h>
27814 # include <assert.h>
27819 /* Override any gcc2 internal prototype to avoid an error. */
27824 /* We use char because int might match the return type of a gcc2
27825 builtin and then its argument prototype would still apply. */
27827 /* The GNU C library defines this for functions which it implements
27828 to always fail with ENOSYS. Some functions are actually named
27829 something starting with __ and the normal name is an alias. */
27830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27833 char (*f) () = $ac_func;
27842 return f != $ac_func;
27847 rm -f conftest.
$ac_objext conftest
$ac_exeext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27849 (eval $ac_link) 2>conftest.er1
27851 grep -v '^ *+' conftest.er1
>conftest.err
27853 cat conftest.err
>&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } &&
27856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; } &&
27862 { ac_try
='test -s conftest$ac_exeext'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; }; then
27868 eval "$as_ac_var=yes"
27870 echo "$as_me: failed program was:" >&5
27871 sed 's/^/| /' conftest.
$ac_ext >&5
27873 eval "$as_ac_var=no"
27875 rm -f conftest.err conftest.
$ac_objext \
27876 conftest
$ac_exeext conftest.
$ac_ext
27878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27880 if test `eval echo '${'$as_ac_var'}'` = yes; then
27881 cat >>confdefs.h
<<_ACEOF
27882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27890 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27891 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27893 AFMINSTALL
=afminstall
27897 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27898 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27899 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 ac_check_lib_save_LIBS
=$LIBS
27904 cat >conftest.
$ac_ext <<_ACEOF
27907 cat confdefs.h
>>conftest.
$ac_ext
27908 cat >>conftest.
$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27911 /* Override any gcc2 internal prototype to avoid an error. */
27915 /* We use char because int might match the return type of a gcc2
27916 builtin and then its argument prototype would still apply. */
27917 char gdk_im_open ();
27926 rm -f conftest.
$ac_objext conftest
$ac_exeext
27927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27928 (eval $ac_link) 2>conftest.er1
27930 grep -v '^ *+' conftest.er1
>conftest.err
27932 cat conftest.err
>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } &&
27935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27937 (eval $ac_try) 2>&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); }; } &&
27941 { ac_try
='test -s conftest$ac_exeext'
27942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27943 (eval $ac_try) 2>&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); }; }; then
27947 ac_cv_lib_gdk_gdk_im_open
=yes
27949 echo "$as_me: failed program was:" >&5
27950 sed 's/^/| /' conftest.
$ac_ext >&5
27952 ac_cv_lib_gdk_gdk_im_open
=no
27954 rm -f conftest.err conftest.
$ac_objext \
27955 conftest
$ac_exeext conftest.
$ac_ext
27956 LIBS
=$ac_check_lib_save_LIBS
27958 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27959 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27960 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27961 cat >>confdefs.h
<<\_ACEOF
27969 if test "$wxUSE_GPE" = "yes"; then
27970 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27971 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27974 for ac_dir
in $SEARCH_LIB;
27976 for ac_extension
in a so sl dylib dll.a
; do
27977 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27978 ac_find_libraries
=$ac_dir
27984 if test "$ac_find_libraries" != "" ; then
27986 if test "$ac_find_libraries" = "default location"; then
27989 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27991 if test $result = 0; then
27994 ac_path_to_link
=" -L$ac_find_libraries"
27998 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28000 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28001 echo "${ECHO_T}found in $ac_find_libraries" >&6
28003 echo "$as_me:$LINENO: result: not found" >&5
28004 echo "${ECHO_T}not found" >&6
28010 if test "$wxUSE_MGL" = 1; then
28011 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28012 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28013 if test "x$MGL_ROOT" = x
; then
28014 echo "$as_me:$LINENO: result: not found" >&5
28015 echo "${ECHO_T}not found" >&6
28016 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28017 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28018 { (exit 1); exit 1; }; }
28020 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28021 echo "${ECHO_T}$MGL_ROOT" >&6
28024 echo "$as_me:$LINENO: checking for libmgl location" >&5
28025 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28028 if test "x$wxUSE_SHARED" = xyes
; then
28029 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28031 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28035 mgl_os_candidates
="dos32/dj2"
28038 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28039 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28040 { (exit 1); exit 1; }; }
28046 for mgl_os_i
in $mgl_os_candidates ; do
28047 if test "x$mgl_os" = x
; then
28048 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28049 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28050 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28055 if test "x$mgl_lib_type" = x
; then
28056 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28057 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28058 mgl_lib_type
=release
28065 if test "x$mgl_os" = x
; then
28066 echo "$as_me:$LINENO: result: not found" >&5
28067 echo "${ECHO_T}not found" >&6
28068 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28069 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28070 { (exit 1); exit 1; }; }
28072 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28073 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28075 wxUSE_UNIVERSAL
="yes"
28077 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28078 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28080 AFMINSTALL
=afminstall
28085 if test "$wxUSE_MICROWIN" = 1; then
28086 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28087 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28088 if test "x$MICROWINDOWS" = x
; then
28089 echo "$as_me:$LINENO: result: not found" >&5
28090 echo "${ECHO_T}not found" >&6
28091 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28092 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28093 { (exit 1); exit 1; }; }
28095 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28096 echo "${ECHO_T}$MICROWINDOWS" >&6
28099 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28100 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28101 echo "${ECHO_T}MicroWindows' libraries found." >&6
28103 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28104 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28105 { (exit 1); exit 1; }; }
28108 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28109 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28111 wxUSE_UNIVERSAL
="yes"
28113 AFMINSTALL
=afminstall
28115 GUIDIST
=MICROWIN_DIST
28117 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28120 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28122 if test "x$ac_path_x_has_been_run" != xyes
; then
28123 echo "$as_me:$LINENO: checking for X" >&5
28124 echo $ECHO_N "checking for X... $ECHO_C" >&6
28126 ac_path_x_has_been_run
=yes
28128 # Check whether --with-x or --without-x was given.
28129 if test "${with_x+set}" = set; then
28133 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28134 if test "x$with_x" = xno
; then
28135 # The user explicitly disabled X.
28138 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28139 # Both variables are already set.
28142 if test "${ac_cv_have_x+set}" = set; then
28143 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 # One or both of the vars are not set, and there is no cached value.
28146 ac_x_includes
=no ac_x_libraries
=no
28147 rm -fr conftest.dir
28148 if mkdir conftest.dir
; then
28150 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28151 cat >Imakefile
<<'_ACEOF'
28153 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28155 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28157 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28158 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28159 for ac_extension
in a so sl
; do
28160 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28161 test -f $ac_im_libdir/libX11.
$ac_extension; then
28162 ac_im_usrlibdir
=$ac_im_libdir; break
28165 # Screen out bogus values from the imake configuration. They are
28166 # bogus both because they are the default anyway, and because
28167 # using them would break gcc on systems where it needs fixed includes.
28168 case $ac_im_incroot in
28170 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28172 case $ac_im_usrlibdir in
28173 /usr
/lib
| /lib
) ;;
28174 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28178 rm -fr conftest.dir
28181 # Standard set of common directories for X headers.
28182 # Check X11 before X11Rn because it is often a symlink to the current release.
28194 /usr/local/X11/include
28195 /usr/local/X11R6/include
28196 /usr/local/X11R5/include
28197 /usr/local/X11R4/include
28199 /usr/local/include/X11
28200 /usr/local/include/X11R6
28201 /usr/local/include/X11R5
28202 /usr/local/include/X11R4
28206 /usr/XFree86/include/X11
28210 /usr/unsupported/include
28211 /usr/athena/include
28212 /usr/local/x11r5/include
28213 /usr/lpp/Xamples/include
28215 /usr/openwin/include
28216 /usr/openwin/share/include'
28218 if test "$ac_x_includes" = no
; then
28219 # Guess where to find include files, by looking for a specified header file.
28220 # First, try using that file with no special directory specified.
28221 cat >conftest.
$ac_ext <<_ACEOF
28224 cat confdefs.h
>>conftest.
$ac_ext
28225 cat >>conftest.
$ac_ext <<_ACEOF
28226 /* end confdefs.h. */
28227 #include <X11/Intrinsic.h>
28229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28230 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28232 grep -v '^ *+' conftest.er1
>conftest.err
28234 cat conftest.err
>&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); } >/dev
/null
; then
28237 if test -s conftest.err
; then
28238 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28239 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28246 if test -z "$ac_cpp_err"; then
28247 # We can compile using X headers with no special include directory.
28250 echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.
$ac_ext >&5
28253 for ac_dir
in $ac_x_header_dirs; do
28254 if test -r "$ac_dir/X11/Intrinsic.h"; then
28255 ac_x_includes
=$ac_dir
28260 rm -f conftest.err conftest.
$ac_ext
28261 fi # $ac_x_includes = no
28263 if test "$ac_x_libraries" = no
; then
28264 # Check for the libraries.
28265 # See if we find them without any special options.
28266 # Don't add to $LIBS permanently.
28269 cat >conftest.
$ac_ext <<_ACEOF
28272 cat confdefs.h
>>conftest.
$ac_ext
28273 cat >>conftest.
$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275 #include <X11/Intrinsic.h>
28284 rm -f conftest.
$ac_objext conftest
$ac_exeext
28285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28286 (eval $ac_link) 2>conftest.er1
28288 grep -v '^ *+' conftest.er1
>conftest.err
28290 cat conftest.err
>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } &&
28293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; } &&
28299 { ac_try
='test -s conftest$ac_exeext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28306 # We can link X programs with no special library path.
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.
$ac_ext >&5
28313 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28315 # Don't even attempt the hair of trying to link an X program!
28316 for ac_extension
in a so sl
; do
28317 if test -r $ac_dir/libXt.
$ac_extension; then
28318 ac_x_libraries
=$ac_dir
28324 rm -f conftest.err conftest.
$ac_objext \
28325 conftest
$ac_exeext conftest.
$ac_ext
28326 fi # $ac_x_libraries = no
28328 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28329 # Didn't find X anywhere. Cache the known absence of X.
28330 ac_cv_have_x
="have_x=no"
28332 # Record where we found X for the cache.
28333 ac_cv_have_x
="have_x=yes \
28334 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28339 eval "$ac_cv_have_x"
28342 if test "$have_x" != yes; then
28343 echo "$as_me:$LINENO: result: $have_x" >&5
28344 echo "${ECHO_T}$have_x" >&6
28347 # If each of the values was on the command line, it overrides each guess.
28348 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28349 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28350 # Update the cache value to reflect the command line values.
28351 ac_cv_have_x
="have_x=yes \
28352 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28353 # It might be that x_includes is empty (headers are found in the
28354 # standard search path. Then output the corresponding message
28355 ac_out_x_includes
=$x_includes
28356 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28357 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28358 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28362 if test "$no_x" = yes; then
28363 # Not all programs may use this symbol, but it does not hurt to define it.
28365 cat >>confdefs.h
<<\_ACEOF
28366 #define X_DISPLAY_MISSING 1
28369 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28371 if test -n "$x_includes"; then
28372 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28375 # It would also be nice to do this for all -L options, not just this one.
28376 if test -n "$x_libraries"; then
28377 X_LIBS
="$X_LIBS -L$x_libraries"
28378 # For Solaris; some versions of Sun CC require a space after -R and
28379 # others require no space. Words are not sufficient . . . .
28380 case `(uname -sr) 2>/dev/null` in
28382 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28383 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28384 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28385 cat >conftest.
$ac_ext <<_ACEOF
28388 cat confdefs.h
>>conftest.
$ac_ext
28389 cat >>conftest.
$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28400 rm -f conftest.
$ac_objext conftest
$ac_exeext
28401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28402 (eval $ac_link) 2>conftest.er1
28404 grep -v '^ *+' conftest.er1
>conftest.err
28406 cat conftest.err
>&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); } &&
28409 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28411 (eval $ac_try) 2>&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); }; } &&
28415 { ac_try
='test -s conftest$ac_exeext'
28416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28417 (eval $ac_try) 2>&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); }; }; then
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.
$ac_ext >&5
28428 rm -f conftest.err conftest.
$ac_objext \
28429 conftest
$ac_exeext conftest.
$ac_ext
28430 if test $ac_R_nospace = yes; then
28431 echo "$as_me:$LINENO: result: no" >&5
28432 echo "${ECHO_T}no" >&6
28433 X_LIBS
="$X_LIBS -R$x_libraries"
28435 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28436 cat >conftest.
$ac_ext <<_ACEOF
28439 cat confdefs.h
>>conftest.
$ac_ext
28440 cat >>conftest.
$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28451 rm -f conftest.
$ac_objext conftest
$ac_exeext
28452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28453 (eval $ac_link) 2>conftest.er1
28455 grep -v '^ *+' conftest.er1
>conftest.err
28457 cat conftest.err
>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); } &&
28460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; } &&
28466 { ac_try
='test -s conftest$ac_exeext'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; }; then
28474 echo "$as_me: failed program was:" >&5
28475 sed 's/^/| /' conftest.
$ac_ext >&5
28479 rm -f conftest.err conftest.
$ac_objext \
28480 conftest
$ac_exeext conftest.
$ac_ext
28481 if test $ac_R_space = yes; then
28482 echo "$as_me:$LINENO: result: yes" >&5
28483 echo "${ECHO_T}yes" >&6
28484 X_LIBS
="$X_LIBS -R $x_libraries"
28486 echo "$as_me:$LINENO: result: neither works" >&5
28487 echo "${ECHO_T}neither works" >&6
28490 LIBS
=$ac_xsave_LIBS
28494 # Check for system-dependent libraries X programs must link with.
28495 # Do this before checking for the system-independent R6 libraries
28496 # (-lICE), since we may need -lsocket or whatever for X linking.
28498 if test "$ISC" = yes; then
28499 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28501 # Martyn Johnson says this is needed for Ultrix, if the X
28502 # libraries were built with DECnet support. And Karl Berry says
28503 # the Alpha needs dnet_stub (dnet does not exist).
28504 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28505 cat >conftest.
$ac_ext <<_ACEOF
28508 cat confdefs.h
>>conftest.
$ac_ext
28509 cat >>conftest.
$ac_ext <<_ACEOF
28510 /* end confdefs.h. */
28512 /* Override any gcc2 internal prototype to avoid an error. */
28516 /* We use char because int might match the return type of a gcc2
28517 builtin and then its argument prototype would still apply. */
28518 char XOpenDisplay ();
28527 rm -f conftest.
$ac_objext conftest
$ac_exeext
28528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28529 (eval $ac_link) 2>conftest.er1
28531 grep -v '^ *+' conftest.er1
>conftest.err
28533 cat conftest.err
>&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
28536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; } &&
28542 { ac_try
='test -s conftest$ac_exeext'
28543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544 (eval $ac_try) 2>&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; }; then
28550 echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.
$ac_ext >&5
28553 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28554 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28555 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28556 echo $ECHO_N "(cached) $ECHO_C" >&6
28558 ac_check_lib_save_LIBS
=$LIBS
28559 LIBS
="-ldnet $LIBS"
28560 cat >conftest.
$ac_ext <<_ACEOF
28563 cat confdefs.h
>>conftest.
$ac_ext
28564 cat >>conftest.
$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28567 /* Override any gcc2 internal prototype to avoid an error. */
28571 /* We use char because int might match the return type of a gcc2
28572 builtin and then its argument prototype would still apply. */
28582 rm -f conftest.
$ac_objext conftest
$ac_exeext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28584 (eval $ac_link) 2>conftest.er1
28586 grep -v '^ *+' conftest.er1
>conftest.err
28588 cat conftest.err
>&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } &&
28591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 (eval $ac_try) 2>&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; } &&
28597 { ac_try
='test -s conftest$ac_exeext'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; }; then
28603 ac_cv_lib_dnet_dnet_ntoa
=yes
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.
$ac_ext >&5
28608 ac_cv_lib_dnet_dnet_ntoa
=no
28610 rm -f conftest.err conftest.
$ac_objext \
28611 conftest
$ac_exeext conftest.
$ac_ext
28612 LIBS
=$ac_check_lib_save_LIBS
28614 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28615 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28616 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28617 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28620 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28621 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28622 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28623 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 ac_check_lib_save_LIBS
=$LIBS
28627 LIBS
="-ldnet_stub $LIBS"
28628 cat >conftest.
$ac_ext <<_ACEOF
28631 cat confdefs.h
>>conftest.
$ac_ext
28632 cat >>conftest.
$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28635 /* Override any gcc2 internal prototype to avoid an error. */
28639 /* We use char because int might match the return type of a gcc2
28640 builtin and then its argument prototype would still apply. */
28650 rm -f conftest.
$ac_objext conftest
$ac_exeext
28651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28652 (eval $ac_link) 2>conftest.er1
28654 grep -v '^ *+' conftest.er1
>conftest.err
28656 cat conftest.err
>&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } &&
28659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; } &&
28665 { ac_try
='test -s conftest$ac_exeext'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; }; then
28671 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.
$ac_ext >&5
28676 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28678 rm -f conftest.err conftest.
$ac_objext \
28679 conftest
$ac_exeext conftest.
$ac_ext
28680 LIBS
=$ac_check_lib_save_LIBS
28682 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28683 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28684 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28685 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28690 rm -f conftest.err conftest.
$ac_objext \
28691 conftest
$ac_exeext conftest.
$ac_ext
28692 LIBS
="$ac_xsave_LIBS"
28694 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28695 # to get the SysV transport functions.
28696 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28698 # The nsl library prevents programs from opening the X display
28699 # on Irix 5.2, according to T.E. Dickey.
28700 # The functions gethostbyname, getservbyname, and inet_addr are
28701 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28702 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28703 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28704 if test "${ac_cv_func_gethostbyname+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28707 cat >conftest.
$ac_ext <<_ACEOF
28710 cat confdefs.h
>>conftest.
$ac_ext
28711 cat >>conftest.
$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28715 #define gethostbyname innocuous_gethostbyname
28717 /* System header to define __stub macros and hopefully few prototypes,
28718 which can conflict with char gethostbyname (); below.
28719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28720 <limits.h> exists even on freestanding compilers. */
28723 # include <limits.h>
28725 # include <assert.h>
28728 #undef gethostbyname
28730 /* Override any gcc2 internal prototype to avoid an error. */
28735 /* We use char because int might match the return type of a gcc2
28736 builtin and then its argument prototype would still apply. */
28737 char gethostbyname ();
28738 /* The GNU C library defines this for functions which it implements
28739 to always fail with ENOSYS. Some functions are actually named
28740 something starting with __ and the normal name is an alias. */
28741 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28744 char (*f) () = gethostbyname;
28753 return f != gethostbyname;
28758 rm -f conftest.
$ac_objext conftest
$ac_exeext
28759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28760 (eval $ac_link) 2>conftest.er1
28762 grep -v '^ *+' conftest.er1
>conftest.err
28764 cat conftest.err
>&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); } &&
28767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28769 (eval $ac_try) 2>&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); }; } &&
28773 { ac_try
='test -s conftest$ac_exeext'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; }; then
28779 ac_cv_func_gethostbyname
=yes
28781 echo "$as_me: failed program was:" >&5
28782 sed 's/^/| /' conftest.
$ac_ext >&5
28784 ac_cv_func_gethostbyname
=no
28786 rm -f conftest.err conftest.
$ac_objext \
28787 conftest
$ac_exeext conftest.
$ac_ext
28789 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28790 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28792 if test $ac_cv_func_gethostbyname = no
; then
28793 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28794 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28795 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 ac_check_lib_save_LIBS
=$LIBS
28800 cat >conftest.
$ac_ext <<_ACEOF
28803 cat confdefs.h
>>conftest.
$ac_ext
28804 cat >>conftest.
$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28807 /* Override any gcc2 internal prototype to avoid an error. */
28811 /* We use char because int might match the return type of a gcc2
28812 builtin and then its argument prototype would still apply. */
28813 char gethostbyname ();
28822 rm -f conftest.
$ac_objext conftest
$ac_exeext
28823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28824 (eval $ac_link) 2>conftest.er1
28826 grep -v '^ *+' conftest.er1
>conftest.err
28828 cat conftest.err
>&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); } &&
28831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; } &&
28837 { ac_try
='test -s conftest$ac_exeext'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; }; then
28843 ac_cv_lib_nsl_gethostbyname
=yes
28845 echo "$as_me: failed program was:" >&5
28846 sed 's/^/| /' conftest.
$ac_ext >&5
28848 ac_cv_lib_nsl_gethostbyname
=no
28850 rm -f conftest.err conftest.
$ac_objext \
28851 conftest
$ac_exeext conftest.
$ac_ext
28852 LIBS
=$ac_check_lib_save_LIBS
28854 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28855 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28856 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28857 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28860 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28861 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28862 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28863 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28864 echo $ECHO_N "(cached) $ECHO_C" >&6
28866 ac_check_lib_save_LIBS
=$LIBS
28868 cat >conftest.
$ac_ext <<_ACEOF
28871 cat confdefs.h
>>conftest.
$ac_ext
28872 cat >>conftest.
$ac_ext <<_ACEOF
28873 /* end confdefs.h. */
28875 /* Override any gcc2 internal prototype to avoid an error. */
28879 /* We use char because int might match the return type of a gcc2
28880 builtin and then its argument prototype would still apply. */
28881 char gethostbyname ();
28890 rm -f conftest.
$ac_objext conftest
$ac_exeext
28891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28892 (eval $ac_link) 2>conftest.er1
28894 grep -v '^ *+' conftest.er1
>conftest.err
28896 cat conftest.err
>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } &&
28899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28901 (eval $ac_try) 2>&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); }; } &&
28905 { ac_try
='test -s conftest$ac_exeext'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 ac_cv_lib_bsd_gethostbyname
=yes
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.
$ac_ext >&5
28916 ac_cv_lib_bsd_gethostbyname
=no
28918 rm -f conftest.err conftest.
$ac_objext \
28919 conftest
$ac_exeext conftest.
$ac_ext
28920 LIBS
=$ac_check_lib_save_LIBS
28922 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28923 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28924 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28931 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28932 # socket/setsockopt and other routines are undefined under SCO ODT
28933 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28934 # on later versions), says Simon Leinen: it contains gethostby*
28935 # variants that don't use the name server (or something). -lsocket
28936 # must be given before -lnsl if both are needed. We assume that
28937 # if connect needs -lnsl, so does gethostbyname.
28938 echo "$as_me:$LINENO: checking for connect" >&5
28939 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28940 if test "${ac_cv_func_connect+set}" = set; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 cat >conftest.
$ac_ext <<_ACEOF
28946 cat confdefs.h
>>conftest.
$ac_ext
28947 cat >>conftest.
$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28951 #define connect innocuous_connect
28953 /* System header to define __stub macros and hopefully few prototypes,
28954 which can conflict with char connect (); below.
28955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28956 <limits.h> exists even on freestanding compilers. */
28959 # include <limits.h>
28961 # include <assert.h>
28966 /* Override any gcc2 internal prototype to avoid an error. */
28971 /* We use char because int might match the return type of a gcc2
28972 builtin and then its argument prototype would still apply. */
28974 /* The GNU C library defines this for functions which it implements
28975 to always fail with ENOSYS. Some functions are actually named
28976 something starting with __ and the normal name is an alias. */
28977 #if defined (__stub_connect) || defined (__stub___connect)
28980 char (*f) () = connect;
28989 return f != connect;
28994 rm -f conftest.
$ac_objext conftest
$ac_exeext
28995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28996 (eval $ac_link) 2>conftest.er1
28998 grep -v '^ *+' conftest.er1
>conftest.err
29000 cat conftest.err
>&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } &&
29003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29005 (eval $ac_try) 2>&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); }; } &&
29009 { ac_try
='test -s conftest$ac_exeext'
29010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29011 (eval $ac_try) 2>&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); }; }; then
29015 ac_cv_func_connect
=yes
29017 echo "$as_me: failed program was:" >&5
29018 sed 's/^/| /' conftest.
$ac_ext >&5
29020 ac_cv_func_connect
=no
29022 rm -f conftest.err conftest.
$ac_objext \
29023 conftest
$ac_exeext conftest.
$ac_ext
29025 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29026 echo "${ECHO_T}$ac_cv_func_connect" >&6
29028 if test $ac_cv_func_connect = no
; then
29029 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29030 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29031 if test "${ac_cv_lib_socket_connect+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 ac_check_lib_save_LIBS
=$LIBS
29035 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29036 cat >conftest.
$ac_ext <<_ACEOF
29039 cat confdefs.h
>>conftest.
$ac_ext
29040 cat >>conftest.
$ac_ext <<_ACEOF
29041 /* end confdefs.h. */
29043 /* Override any gcc2 internal prototype to avoid an error. */
29047 /* We use char because int might match the return type of a gcc2
29048 builtin and then its argument prototype would still apply. */
29058 rm -f conftest.
$ac_objext conftest
$ac_exeext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29060 (eval $ac_link) 2>conftest.er1
29062 grep -v '^ *+' conftest.er1
>conftest.err
29064 cat conftest.err
>&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069 (eval $ac_try) 2>&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); }; } &&
29073 { ac_try
='test -s conftest$ac_exeext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29079 ac_cv_lib_socket_connect
=yes
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.
$ac_ext >&5
29084 ac_cv_lib_socket_connect
=no
29086 rm -f conftest.err conftest.
$ac_objext \
29087 conftest
$ac_exeext conftest.
$ac_ext
29088 LIBS
=$ac_check_lib_save_LIBS
29090 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29091 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29092 if test $ac_cv_lib_socket_connect = yes; then
29093 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29098 # Guillermo Gomez says -lposix is necessary on A/UX.
29099 echo "$as_me:$LINENO: checking for remove" >&5
29100 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29101 if test "${ac_cv_func_remove+set}" = set; then
29102 echo $ECHO_N "(cached) $ECHO_C" >&6
29104 cat >conftest.
$ac_ext <<_ACEOF
29107 cat confdefs.h
>>conftest.
$ac_ext
29108 cat >>conftest.
$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29110 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29112 #define remove innocuous_remove
29114 /* System header to define __stub macros and hopefully few prototypes,
29115 which can conflict with char remove (); below.
29116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29117 <limits.h> exists even on freestanding compilers. */
29120 # include <limits.h>
29122 # include <assert.h>
29127 /* Override any gcc2 internal prototype to avoid an error. */
29132 /* We use char because int might match the return type of a gcc2
29133 builtin and then its argument prototype would still apply. */
29135 /* The GNU C library defines this for functions which it implements
29136 to always fail with ENOSYS. Some functions are actually named
29137 something starting with __ and the normal name is an alias. */
29138 #if defined (__stub_remove) || defined (__stub___remove)
29141 char (*f) () = remove;
29150 return f != remove;
29155 rm -f conftest.
$ac_objext conftest
$ac_exeext
29156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29157 (eval $ac_link) 2>conftest.er1
29159 grep -v '^ *+' conftest.er1
>conftest.err
29161 cat conftest.err
>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } &&
29164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; } &&
29170 { ac_try
='test -s conftest$ac_exeext'
29171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29172 (eval $ac_try) 2>&5
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); }; }; then
29176 ac_cv_func_remove
=yes
29178 echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.
$ac_ext >&5
29181 ac_cv_func_remove
=no
29183 rm -f conftest.err conftest.
$ac_objext \
29184 conftest
$ac_exeext conftest.
$ac_ext
29186 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29187 echo "${ECHO_T}$ac_cv_func_remove" >&6
29189 if test $ac_cv_func_remove = no
; then
29190 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29191 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29192 if test "${ac_cv_lib_posix_remove+set}" = set; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29195 ac_check_lib_save_LIBS
=$LIBS
29196 LIBS
="-lposix $LIBS"
29197 cat >conftest.
$ac_ext <<_ACEOF
29200 cat confdefs.h
>>conftest.
$ac_ext
29201 cat >>conftest.
$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29204 /* Override any gcc2 internal prototype to avoid an error. */
29208 /* We use char because int might match the return type of a gcc2
29209 builtin and then its argument prototype would still apply. */
29219 rm -f conftest.
$ac_objext conftest
$ac_exeext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29221 (eval $ac_link) 2>conftest.er1
29223 grep -v '^ *+' conftest.er1
>conftest.err
29225 cat conftest.err
>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; } &&
29234 { ac_try
='test -s conftest$ac_exeext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240 ac_cv_lib_posix_remove
=yes
29242 echo "$as_me: failed program was:" >&5
29243 sed 's/^/| /' conftest.
$ac_ext >&5
29245 ac_cv_lib_posix_remove
=no
29247 rm -f conftest.err conftest.
$ac_objext \
29248 conftest
$ac_exeext conftest.
$ac_ext
29249 LIBS
=$ac_check_lib_save_LIBS
29251 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29252 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29253 if test $ac_cv_lib_posix_remove = yes; then
29254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29259 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29260 echo "$as_me:$LINENO: checking for shmat" >&5
29261 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29262 if test "${ac_cv_func_shmat+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 cat >conftest.
$ac_ext <<_ACEOF
29268 cat confdefs.h
>>conftest.
$ac_ext
29269 cat >>conftest.
$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29273 #define shmat innocuous_shmat
29275 /* System header to define __stub macros and hopefully few prototypes,
29276 which can conflict with char shmat (); below.
29277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29278 <limits.h> exists even on freestanding compilers. */
29281 # include <limits.h>
29283 # include <assert.h>
29288 /* Override any gcc2 internal prototype to avoid an error. */
29293 /* We use char because int might match the return type of a gcc2
29294 builtin and then its argument prototype would still apply. */
29296 /* The GNU C library defines this for functions which it implements
29297 to always fail with ENOSYS. Some functions are actually named
29298 something starting with __ and the normal name is an alias. */
29299 #if defined (__stub_shmat) || defined (__stub___shmat)
29302 char (*f) () = shmat;
29316 rm -f conftest.
$ac_objext conftest
$ac_exeext
29317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29318 (eval $ac_link) 2>conftest.er1
29320 grep -v '^ *+' conftest.er1
>conftest.err
29322 cat conftest.err
>&5
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); } &&
29325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327 (eval $ac_try) 2>&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; } &&
29331 { ac_try
='test -s conftest$ac_exeext'
29332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29333 (eval $ac_try) 2>&5
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); }; }; then
29337 ac_cv_func_shmat
=yes
29339 echo "$as_me: failed program was:" >&5
29340 sed 's/^/| /' conftest.
$ac_ext >&5
29342 ac_cv_func_shmat
=no
29344 rm -f conftest.err conftest.
$ac_objext \
29345 conftest
$ac_exeext conftest.
$ac_ext
29347 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29348 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29350 if test $ac_cv_func_shmat = no
; then
29351 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29352 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29353 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 ac_check_lib_save_LIBS
=$LIBS
29358 cat >conftest.
$ac_ext <<_ACEOF
29361 cat confdefs.h
>>conftest.
$ac_ext
29362 cat >>conftest.
$ac_ext <<_ACEOF
29363 /* end confdefs.h. */
29365 /* Override any gcc2 internal prototype to avoid an error. */
29369 /* We use char because int might match the return type of a gcc2
29370 builtin and then its argument prototype would still apply. */
29380 rm -f conftest.
$ac_objext conftest
$ac_exeext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29382 (eval $ac_link) 2>conftest.er1
29384 grep -v '^ *+' conftest.er1
>conftest.err
29386 cat conftest.err
>&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } &&
29389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29391 (eval $ac_try) 2>&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); }; } &&
29395 { ac_try
='test -s conftest$ac_exeext'
29396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29397 (eval $ac_try) 2>&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; }; then
29401 ac_cv_lib_ipc_shmat
=yes
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.
$ac_ext >&5
29406 ac_cv_lib_ipc_shmat
=no
29408 rm -f conftest.err conftest.
$ac_objext \
29409 conftest
$ac_exeext conftest.
$ac_ext
29410 LIBS
=$ac_check_lib_save_LIBS
29412 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29413 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29414 if test $ac_cv_lib_ipc_shmat = yes; then
29415 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29421 # Check for libraries that X11R6 Xt/Xaw programs need.
29422 ac_save_LDFLAGS
=$LDFLAGS
29423 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29424 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29425 # check for ICE first), but we must link in the order -lSM -lICE or
29426 # we get undefined symbols. So assume we have SM if we have ICE.
29427 # These have to be linked with before -lX11, unlike the other
29428 # libraries we check for below, so use a different variable.
29429 # John Interrante, Karl Berry
29430 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29431 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29432 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29433 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 ac_check_lib_save_LIBS
=$LIBS
29436 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29437 cat >conftest.
$ac_ext <<_ACEOF
29440 cat confdefs.h
>>conftest.
$ac_ext
29441 cat >>conftest.
$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29444 /* Override any gcc2 internal prototype to avoid an error. */
29448 /* We use char because int might match the return type of a gcc2
29449 builtin and then its argument prototype would still apply. */
29450 char IceConnectionNumber ();
29454 IceConnectionNumber ();
29459 rm -f conftest.
$ac_objext conftest
$ac_exeext
29460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29461 (eval $ac_link) 2>conftest.er1
29463 grep -v '^ *+' conftest.er1
>conftest.err
29465 cat conftest.err
>&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } &&
29468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470 (eval $ac_try) 2>&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; } &&
29474 { ac_try
='test -s conftest$ac_exeext'
29475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29476 (eval $ac_try) 2>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); }; }; then
29480 ac_cv_lib_ICE_IceConnectionNumber
=yes
29482 echo "$as_me: failed program was:" >&5
29483 sed 's/^/| /' conftest.
$ac_ext >&5
29485 ac_cv_lib_ICE_IceConnectionNumber
=no
29487 rm -f conftest.err conftest.
$ac_objext \
29488 conftest
$ac_exeext conftest.
$ac_ext
29489 LIBS
=$ac_check_lib_save_LIBS
29491 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29492 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29493 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29494 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29497 LDFLAGS
=$ac_save_LDFLAGS
29502 if test "$no_x" = "yes"; then
29503 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29504 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29505 { (exit 1); exit 1; }; }
29508 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29509 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29510 AFMINSTALL
=afminstall
29511 COMPILED_X_PROGRAM
=0
29515 if test "$wxUSE_X11" = 1; then
29516 if test "$wxUSE_NANOX" = "yes"; then
29517 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29518 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29519 if test "x$MICROWIN" = x
; then
29520 echo "$as_me:$LINENO: result: not found" >&5
29521 echo "${ECHO_T}not found" >&6
29522 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29523 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29524 { (exit 1); exit 1; }; }
29526 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29527 echo "${ECHO_T}$MICROWIN" >&6
29528 cat >>confdefs.h
<<\_ACEOF
29529 #define wxUSE_NANOX 1
29535 if test "$wxUSE_UNICODE" = "yes"; then
29539 if test -z "$PKG_CONFIG"; then
29540 # Extract the first word of "pkg-config", so it can be a program name with args.
29541 set dummy pkg
-config; ac_word
=$2
29542 echo "$as_me:$LINENO: checking for $ac_word" >&5
29543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29544 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 case $PKG_CONFIG in
29549 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29553 for as_dir
in $PATH
29556 test -z "$as_dir" && as_dir
=.
29557 for ac_exec_ext
in '' $ac_executable_extensions; do
29558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29559 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29566 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29570 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29572 if test -n "$PKG_CONFIG"; then
29573 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29574 echo "${ECHO_T}$PKG_CONFIG" >&6
29576 echo "$as_me:$LINENO: result: no" >&5
29577 echo "${ECHO_T}no" >&6
29582 if test "$PKG_CONFIG" = "no" ; then
29583 echo "*** The pkg-config script could not be found. Make sure it is"
29584 echo "*** in your path, or set the PKG_CONFIG environment variable"
29585 echo "*** to the full path to pkg-config."
29586 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29588 PKG_CONFIG_MIN_VERSION
=0.9.0
29589 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29590 echo "$as_me:$LINENO: checking for pangox" >&5
29591 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29593 if $PKG_CONFIG --exists "pangox" ; then
29594 echo "$as_me:$LINENO: result: yes" >&5
29595 echo "${ECHO_T}yes" >&6
29598 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29599 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29600 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29601 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29602 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29604 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29605 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29606 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29607 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29608 echo "${ECHO_T}$PANGOX_LIBS" >&6
29612 ## If we have a custom action on failure, don't print errors, but
29613 ## do set a variable so people can do so.
29614 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29621 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29622 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29626 if test $succeeded = yes; then
29628 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29629 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29633 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29634 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29635 { (exit 1); exit 1; }; }
29643 if test -z "$PKG_CONFIG"; then
29644 # Extract the first word of "pkg-config", so it can be a program name with args.
29645 set dummy pkg
-config; ac_word
=$2
29646 echo "$as_me:$LINENO: checking for $ac_word" >&5
29647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29648 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 case $PKG_CONFIG in
29653 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29657 for as_dir
in $PATH
29660 test -z "$as_dir" && as_dir
=.
29661 for ac_exec_ext
in '' $ac_executable_extensions; do
29662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29663 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29670 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29674 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29676 if test -n "$PKG_CONFIG"; then
29677 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29678 echo "${ECHO_T}$PKG_CONFIG" >&6
29680 echo "$as_me:$LINENO: result: no" >&5
29681 echo "${ECHO_T}no" >&6
29686 if test "$PKG_CONFIG" = "no" ; then
29687 echo "*** The pkg-config script could not be found. Make sure it is"
29688 echo "*** in your path, or set the PKG_CONFIG environment variable"
29689 echo "*** to the full path to pkg-config."
29690 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29692 PKG_CONFIG_MIN_VERSION
=0.9.0
29693 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29694 echo "$as_me:$LINENO: checking for pangoft2" >&5
29695 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29697 if $PKG_CONFIG --exists "pangoft2" ; then
29698 echo "$as_me:$LINENO: result: yes" >&5
29699 echo "${ECHO_T}yes" >&6
29702 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29703 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29704 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29705 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29706 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29708 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29709 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29710 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29711 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29712 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29716 ## If we have a custom action on failure, don't print errors, but
29717 ## do set a variable so people can do so.
29718 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29725 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29726 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29730 if test $succeeded = yes; then
29732 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29733 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29737 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29738 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29739 wxUSE_PRINTING_ARCHITECTURE
="no"
29747 if test -z "$PKG_CONFIG"; then
29748 # Extract the first word of "pkg-config", so it can be a program name with args.
29749 set dummy pkg
-config; ac_word
=$2
29750 echo "$as_me:$LINENO: checking for $ac_word" >&5
29751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29752 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 case $PKG_CONFIG in
29757 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29761 for as_dir
in $PATH
29764 test -z "$as_dir" && as_dir
=.
29765 for ac_exec_ext
in '' $ac_executable_extensions; do
29766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29767 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29774 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29778 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29780 if test -n "$PKG_CONFIG"; then
29781 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29782 echo "${ECHO_T}$PKG_CONFIG" >&6
29784 echo "$as_me:$LINENO: result: no" >&5
29785 echo "${ECHO_T}no" >&6
29790 if test "$PKG_CONFIG" = "no" ; then
29791 echo "*** The pkg-config script could not be found. Make sure it is"
29792 echo "*** in your path, or set the PKG_CONFIG environment variable"
29793 echo "*** to the full path to pkg-config."
29794 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29796 PKG_CONFIG_MIN_VERSION
=0.9.0
29797 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29798 echo "$as_me:$LINENO: checking for pangoxft" >&5
29799 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29801 if $PKG_CONFIG --exists "pangoxft" ; then
29802 echo "$as_me:$LINENO: result: yes" >&5
29803 echo "${ECHO_T}yes" >&6
29806 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29807 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29808 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29809 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29810 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29812 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29813 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29814 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29815 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29816 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29820 ## If we have a custom action on failure, don't print errors, but
29821 ## do set a variable so people can do so.
29822 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29829 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29830 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29834 if test $succeeded = yes; then
29836 cat >>confdefs.h
<<\_ACEOF
29837 #define HAVE_PANGO_XFT 1
29840 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29841 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29845 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29846 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29851 save_CXXFLAGS
="$CXXFLAGS"
29853 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29854 LIBS
="$LIBS $PANGOX_LIBS"
29856 for ac_func
in pango_font_family_is_monospace
29858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29859 echo "$as_me:$LINENO: checking for $ac_func" >&5
29860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29861 if eval "test \"\${$as_ac_var+set}\" = set"; then
29862 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 cat >conftest.
$ac_ext <<_ACEOF
29867 cat confdefs.h
>>conftest.
$ac_ext
29868 cat >>conftest.
$ac_ext <<_ACEOF
29869 /* end confdefs.h. */
29870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29872 #define $ac_func innocuous_$ac_func
29874 /* System header to define __stub macros and hopefully few prototypes,
29875 which can conflict with char $ac_func (); below.
29876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29877 <limits.h> exists even on freestanding compilers. */
29880 # include <limits.h>
29882 # include <assert.h>
29887 /* Override any gcc2 internal prototype to avoid an error. */
29892 /* We use char because int might match the return type of a gcc2
29893 builtin and then its argument prototype would still apply. */
29895 /* The GNU C library defines this for functions which it implements
29896 to always fail with ENOSYS. Some functions are actually named
29897 something starting with __ and the normal name is an alias. */
29898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29901 char (*f) () = $ac_func;
29910 return f != $ac_func;
29915 rm -f conftest.
$ac_objext conftest
$ac_exeext
29916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29917 (eval $ac_link) 2>conftest.er1
29919 grep -v '^ *+' conftest.er1
>conftest.err
29921 cat conftest.err
>&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } &&
29924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926 (eval $ac_try) 2>&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); }; } &&
29930 { ac_try
='test -s conftest$ac_exeext'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; }; then
29936 eval "$as_ac_var=yes"
29938 echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.
$ac_ext >&5
29941 eval "$as_ac_var=no"
29943 rm -f conftest.err conftest.
$ac_objext \
29944 conftest
$ac_exeext conftest.
$ac_ext
29946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29948 if test `eval echo '${'$as_ac_var'}'` = yes; then
29949 cat >>confdefs.h
<<_ACEOF
29950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29956 CXXFLAGS
="$save_CXXFLAGS"
29960 wxUSE_UNIVERSAL
="yes"
29962 if test "$wxUSE_NANOX" = "yes"; then
29963 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29964 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"
29965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29967 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29974 if test "$wxUSE_MOTIF" = 1; then
29975 if test "$wxUSE_UNICODE" = "yes"; then
29976 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29977 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29978 { (exit 1); exit 1; }; }
29981 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29982 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29985 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29987 if test -f "$ac_dir/Xm/Xm.h"; then
29988 ac_find_includes
=$ac_dir
29993 if test "$ac_find_includes" != "" ; then
29994 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29995 echo "${ECHO_T}found in $ac_find_includes" >&6
29997 if test "x$ac_find_includes" = "x/usr/include"; then
29998 ac_path_to_include
=""
30000 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30002 if test $result = 0; then
30003 ac_path_to_include
=""
30005 ac_path_to_include
=" -I$ac_find_includes"
30009 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30011 save_CXXFLAGS
=$CXXFLAGS
30012 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30014 cat >conftest.
$ac_ext <<_ACEOF
30017 cat confdefs.h
>>conftest.
$ac_ext
30018 cat >>conftest.
$ac_ext <<_ACEOF
30019 /* end confdefs.h. */
30028 version = xmUseVersion;
30034 rm -f conftest.
$ac_objext
30035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30036 (eval $ac_compile) 2>conftest.er1
30038 grep -v '^ *+' conftest.er1
>conftest.err
30040 cat conftest.err
>&5
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); } &&
30043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; } &&
30049 { ac_try
='test -s conftest.$ac_objext'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; }; then
30056 echo "$as_me:$LINENO: result: found in default search path" >&5
30057 echo "${ECHO_T}found in default search path" >&6
30058 COMPILED_X_PROGRAM
=1
30061 echo "$as_me: failed program was:" >&5
30062 sed 's/^/| /' conftest.
$ac_ext >&5
30065 echo "$as_me:$LINENO: result: no" >&5
30066 echo "${ECHO_T}no" >&6
30067 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30068 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30069 { (exit 1); exit 1; }; }
30073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30075 CXXFLAGS
=$save_CXXFLAGS
30079 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30080 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30083 for ac_dir
in $SEARCH_LIB;
30085 for ac_extension
in a so sl dylib dll.a
; do
30086 if test -f "$ac_dir/libXm.$ac_extension"; then
30087 ac_find_libraries
=$ac_dir
30094 if test "x$ac_find_libraries" != "x" ; then
30095 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30096 echo "${ECHO_T}found in $ac_find_libraries" >&6
30099 if test "$ac_find_libraries" = "default location"; then
30102 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30104 if test $result = 0; then
30107 ac_path_to_link
=" -L$ac_find_libraries"
30111 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30113 save_CXXFLAGS
=$CXXFLAGS
30114 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30116 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30118 cat >conftest.
$ac_ext <<_ACEOF
30121 cat confdefs.h
>>conftest.
$ac_ext
30122 cat >>conftest.
$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30132 version = xmUseVersion;
30138 rm -f conftest.
$ac_objext conftest
$ac_exeext
30139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30140 (eval $ac_link) 2>conftest.er1
30142 grep -v '^ *+' conftest.er1
>conftest.err
30144 cat conftest.err
>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); } &&
30147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; } &&
30153 { ac_try
='test -s conftest$ac_exeext'
30154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30155 (eval $ac_try) 2>&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); }; }; then
30160 echo "$as_me:$LINENO: result: found in default search path" >&5
30161 echo "${ECHO_T}found in default search path" >&6
30162 COMPILED_X_PROGRAM
=1
30165 echo "$as_me: failed program was:" >&5
30166 sed 's/^/| /' conftest.
$ac_ext >&5
30169 echo "$as_me:$LINENO: result: no" >&5
30170 echo "${ECHO_T}no" >&6
30171 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30172 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30173 { (exit 1); exit 1; }; }
30177 rm -f conftest.err conftest.
$ac_objext \
30178 conftest
$ac_exeext conftest.
$ac_ext
30180 CXXFLAGS
=$save_CXXFLAGS
30184 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30185 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30189 for libp
in "" " -lXp"; do
30190 if test "$libs_found" = "0"; then
30191 for libsm_ice
in "" " -lSM -lICE"; do
30192 if test "$libs_found" = "0"; then
30194 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30195 save_CXXFLAGS
=$CXXFLAGS
30196 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30198 cat >conftest.
$ac_ext <<_ACEOF
30201 cat confdefs.h
>>conftest.
$ac_ext
30202 cat >>conftest.
$ac_ext <<_ACEOF
30203 /* end confdefs.h. */
30206 #include <Xm/List.h>
30212 XmString string = NULL;
30215 XmListAddItem(w, string, position);
30221 rm -f conftest.
$ac_objext conftest
$ac_exeext
30222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30223 (eval $ac_link) 2>conftest.er1
30225 grep -v '^ *+' conftest.er1
>conftest.err
30227 cat conftest.err
>&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); } &&
30230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; } &&
30236 { ac_try
='test -s conftest$ac_exeext'
30237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30238 (eval $ac_try) 2>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); }; }; then
30244 libsm_ice_link
="$libsm_ice"
30245 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30246 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30250 echo "$as_me: failed program was:" >&5
30251 sed 's/^/| /' conftest.
$ac_ext >&5
30256 rm -f conftest.err conftest.
$ac_objext \
30257 conftest
$ac_exeext conftest.
$ac_ext
30260 CXXFLAGS
=$save_CXXFLAGS
30266 if test "$libs_found" = "0"; then
30267 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30268 echo "${ECHO_T}can't find the right libraries" >&6
30269 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30270 echo "$as_me: error: can't link a simple motif program" >&2;}
30271 { (exit 1); exit 1; }; }
30274 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30275 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30276 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30279 ac_check_lib_save_LIBS
=$LIBS
30281 cat >conftest.
$ac_ext <<_ACEOF
30284 cat confdefs.h
>>conftest.
$ac_ext
30285 cat >>conftest.
$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30288 /* Override any gcc2 internal prototype to avoid an error. */
30292 /* We use char because int might match the return type of a gcc2
30293 builtin and then its argument prototype would still apply. */
30294 char SgCreateList ();
30303 rm -f conftest.
$ac_objext conftest
$ac_exeext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30305 (eval $ac_link) 2>conftest.er1
30307 grep -v '^ *+' conftest.er1
>conftest.err
30309 cat conftest.err
>&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); } &&
30312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30314 (eval $ac_try) 2>&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); }; } &&
30318 { ac_try
='test -s conftest$ac_exeext'
30319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30320 (eval $ac_try) 2>&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); }; }; then
30324 ac_cv_lib_Sgm_SgCreateList
=yes
30326 echo "$as_me: failed program was:" >&5
30327 sed 's/^/| /' conftest.
$ac_ext >&5
30329 ac_cv_lib_Sgm_SgCreateList
=no
30331 rm -f conftest.err conftest.
$ac_objext \
30332 conftest
$ac_exeext conftest.
$ac_ext
30333 LIBS
=$ac_check_lib_save_LIBS
30335 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30336 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30337 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30338 libsgm_link
=" -lSgm"
30342 save_CXXFLAGS
=$CXXFLAGS
30343 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30345 echo "$as_me:$LINENO: checking for Motif 2" >&5
30346 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30347 if test "${wx_cv_lib_motif2+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 cat >conftest.
$ac_ext <<_ACEOF
30353 cat confdefs.h
>>conftest.
$ac_ext
30354 cat >>conftest.
$ac_ext <<_ACEOF
30355 /* end confdefs.h. */
30363 #if XmVersion < 2000
30371 rm -f conftest.
$ac_objext
30372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30373 (eval $ac_compile) 2>conftest.er1
30375 grep -v '^ *+' conftest.er1
>conftest.err
30377 cat conftest.err
>&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); } &&
30380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30382 (eval $ac_try) 2>&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); }; } &&
30386 { ac_try
='test -s conftest.$ac_objext'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; }; then
30392 wx_cv_lib_motif2
="yes"
30394 echo "$as_me: failed program was:" >&5
30395 sed 's/^/| /' conftest.
$ac_ext >&5
30397 wx_cv_lib_motif2
="no"
30399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30401 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30402 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30403 if test "$wx_cv_lib_motif2" = "yes"; then
30404 cat >>confdefs.h
<<\_ACEOF
30405 #define __WXMOTIF20__ 1
30409 cat >>confdefs.h
<<\_ACEOF
30410 #define __WXMOTIF20__ 0
30415 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30416 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30417 if test "${wx_cv_lib_lesstif+set}" = set; then
30418 echo $ECHO_N "(cached) $ECHO_C" >&6
30420 cat >conftest.
$ac_ext <<_ACEOF
30423 cat confdefs.h
>>conftest.
$ac_ext
30424 cat >>conftest.
$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30433 #if !defined(LesstifVersion) || LesstifVersion <= 0
30441 rm -f conftest.
$ac_objext
30442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30443 (eval $ac_compile) 2>conftest.er1
30445 grep -v '^ *+' conftest.er1
>conftest.err
30447 cat conftest.err
>&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); } &&
30450 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; } &&
30456 { ac_try
='test -s conftest.$ac_objext'
30457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30458 (eval $ac_try) 2>&5
30460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461 (exit $ac_status); }; }; then
30462 wx_cv_lib_lesstif
="yes"
30464 echo "$as_me: failed program was:" >&5
30465 sed 's/^/| /' conftest.
$ac_ext >&5
30467 wx_cv_lib_lesstif
="no"
30469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30472 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30473 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30474 if test "$wx_cv_lib_lesstif" = "yes"; then
30475 cat >>confdefs.h
<<\_ACEOF
30476 #define __WXLESSTIF__ 1
30480 cat >>confdefs.h
<<\_ACEOF
30481 #define __WXLESSTIF__ 0
30486 CXXFLAGS
=$save_CXXFLAGS
30488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30493 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30494 if test "$wxUSE_LIBXPM" = "sys"; then
30495 echo "$as_me:$LINENO: checking for Xpm library" >&5
30496 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30499 for ac_dir
in $SEARCH_LIB;
30501 for ac_extension
in a so sl dylib dll.a
; do
30502 if test -f "$ac_dir/libXpm.$ac_extension"; then
30503 ac_find_libraries
=$ac_dir
30509 if test "$ac_find_libraries" != "" ; then
30511 if test "$ac_find_libraries" = "default location"; then
30514 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30516 if test $result = 0; then
30519 ac_path_to_link
=" -L$ac_find_libraries"
30523 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30524 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30525 echo "${ECHO_T}found in $ac_find_libraries" >&6
30527 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30528 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30529 if test "${wx_cv_x11_xpm_h+set}" = set; then
30530 echo $ECHO_N "(cached) $ECHO_C" >&6
30533 save_CXXFLAGS
=$CXXFLAGS
30534 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30536 cat >conftest.
$ac_ext <<_ACEOF
30539 cat confdefs.h
>>conftest.
$ac_ext
30540 cat >>conftest.
$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30543 #include <X11/xpm.h>
30550 version = XpmLibraryVersion();
30556 rm -f conftest.
$ac_objext
30557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30558 (eval $ac_compile) 2>conftest.er1
30560 grep -v '^ *+' conftest.er1
>conftest.err
30562 cat conftest.err
>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } &&
30565 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; } &&
30571 { ac_try
='test -s conftest.$ac_objext'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; }; then
30577 wx_cv_x11_xpm_h
=yes
30579 echo "$as_me: failed program was:" >&5
30580 sed 's/^/| /' conftest.
$ac_ext >&5
30585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30587 CXXFLAGS
=$save_CXXFLAGS
30591 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30592 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30594 if test $wx_cv_x11_xpm_h = "yes"; then
30595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30596 cat >>confdefs.h
<<\_ACEOF
30597 #define wxHAVE_LIB_XPM 1
30601 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30602 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30608 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30609 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30610 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 ac_check_lib_save_LIBS
=$LIBS
30614 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30615 cat >conftest.
$ac_ext <<_ACEOF
30618 cat confdefs.h
>>conftest.
$ac_ext
30619 cat >>conftest.
$ac_ext <<_ACEOF
30620 /* end confdefs.h. */
30622 /* Override any gcc2 internal prototype to avoid an error. */
30626 /* We use char because int might match the return type of a gcc2
30627 builtin and then its argument prototype would still apply. */
30628 char XShapeQueryExtension ();
30632 XShapeQueryExtension ();
30637 rm -f conftest.
$ac_objext conftest
$ac_exeext
30638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30639 (eval $ac_link) 2>conftest.er1
30641 grep -v '^ *+' conftest.er1
>conftest.err
30643 cat conftest.err
>&5
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); } &&
30646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30648 (eval $ac_try) 2>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; } &&
30652 { ac_try
='test -s conftest$ac_exeext'
30653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30654 (eval $ac_try) 2>&5
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); }; }; then
30658 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30660 echo "$as_me: failed program was:" >&5
30661 sed 's/^/| /' conftest.
$ac_ext >&5
30663 ac_cv_lib_Xext_XShapeQueryExtension
=no
30665 rm -f conftest.err conftest.
$ac_objext \
30666 conftest
$ac_exeext conftest.
$ac_ext
30667 LIBS
=$ac_check_lib_save_LIBS
30669 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30670 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30671 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30673 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30679 if test "$wxHAVE_XEXT_LIB" = 1; then
30680 save_CXXFLAGS
="$CXXFLAGS"
30681 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30683 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30684 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30685 cat >conftest.
$ac_ext <<_ACEOF
30688 cat confdefs.h
>>conftest.
$ac_ext
30689 cat >>conftest.
$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30692 #include <X11/Xlib.h>
30693 #include <X11/extensions/shape.h>
30699 int dummy1, dummy2;
30700 XShapeQueryExtension((Display*)NULL,
30701 (int*)NULL, (int*)NULL);
30707 rm -f conftest.
$ac_objext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30709 (eval $ac_compile) 2>conftest.er1
30711 grep -v '^ *+' conftest.er1
>conftest.err
30713 cat conftest.err
>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); } &&
30716 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; } &&
30722 { ac_try
='test -s conftest.$ac_objext'
30723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30724 (eval $ac_try) 2>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30729 cat >>confdefs.h
<<\_ACEOF
30730 #define HAVE_XSHAPE 1
30733 echo "$as_me:$LINENO: result: found" >&5
30734 echo "${ECHO_T}found" >&6
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.
$ac_ext >&5
30741 echo "$as_me:$LINENO: result: not found" >&5
30742 echo "${ECHO_T}not found" >&6
30745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30746 CXXFLAGS
="$save_CXXFLAGS"
30751 if test "$wxUSE_MAC" = 1; then
30752 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30753 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30754 if test "$GCC" = yes; then
30755 echo "$as_me:$LINENO: result: gcc" >&5
30756 echo "${ECHO_T}gcc" >&6
30757 CPPFLAGS_PASCAL
="-fpascal-strings"
30758 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30759 echo "$as_me:$LINENO: result: xlc" >&5
30760 echo "${ECHO_T}xlc" >&6
30761 CPPFLAGS_PASCAL
="-qmacpstr"
30763 echo "$as_me:$LINENO: result: none" >&5
30764 echo "${ECHO_T}none" >&6
30767 if test "x$wxUSE_UNIX" = "xyes"; then
30768 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30770 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30775 WXBASEPORT
="_carbon"
30778 if test "$wxUSE_COCOA" = 1; then
30783 if test "$wxUSE_PM" = 1; then
30786 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30787 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30788 if test "${wx_cv_spbcdata+set}" = set; then
30789 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 cat >conftest.
$ac_ext <<_ACEOF
30795 cat confdefs.h
>>conftest.
$ac_ext
30796 cat >>conftest.
$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30812 rm -f conftest.
$ac_objext
30813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30814 (eval $ac_compile) 2>conftest.er1
30816 grep -v '^ *+' conftest.er1
>conftest.err
30818 cat conftest.err
>&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; } &&
30827 { ac_try
='test -s conftest.$ac_objext'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; }; then
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.
$ac_ext >&5
30841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30845 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30846 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30848 if test $wx_cv_spbcdata = "yes"; then
30849 cat >>confdefs.h
<<\_ACEOF
30850 #define HAVE_SPBCDATA 1
30856 if test "$TOOLKIT" = "PM" ; then
30859 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30862 if test "$wxUSE_UNIVERSAL" = "yes"; then
30863 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30867 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30868 DISTDIR
="wx\$(TOOLKIT)"
30874 if test "$USE_WIN32" = 1 ; then
30878 GUIDIST
="BASE_DIST"
30883 if test "$wxUSE_GUI" = "yes"; then
30884 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30886 for ac_header
in X
11/Xlib.h
30888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30890 echo "$as_me:$LINENO: checking for $ac_header" >&5
30891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30893 echo $ECHO_N "(cached) $ECHO_C" >&6
30895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30898 # Is the header compilable?
30899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30901 cat >conftest.
$ac_ext <<_ACEOF
30904 cat confdefs.h
>>conftest.
$ac_ext
30905 cat >>conftest.
$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30907 $ac_includes_default
30908 #include <$ac_header>
30910 rm -f conftest.
$ac_objext
30911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30912 (eval $ac_compile) 2>conftest.er1
30914 grep -v '^ *+' conftest.er1
>conftest.err
30916 cat conftest.err
>&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } &&
30919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; } &&
30925 { ac_try
='test -s conftest.$ac_objext'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; }; then
30931 ac_header_compiler
=yes
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.
$ac_ext >&5
30936 ac_header_compiler
=no
30938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30940 echo "${ECHO_T}$ac_header_compiler" >&6
30942 # Is the header present?
30943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30945 cat >conftest.
$ac_ext <<_ACEOF
30948 cat confdefs.h
>>conftest.
$ac_ext
30949 cat >>conftest.
$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30951 #include <$ac_header>
30953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30956 grep -v '^ *+' conftest.er1
>conftest.err
30958 cat conftest.err
>&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); } >/dev
/null
; then
30961 if test -s conftest.err
; then
30962 ac_cpp_err
=$ac_cxx_preproc_warn_flag
30963 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
30970 if test -z "$ac_cpp_err"; then
30971 ac_header_preproc
=yes
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.
$ac_ext >&5
30976 ac_header_preproc
=no
30978 rm -f conftest.err conftest.
$ac_ext
30979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30980 echo "${ECHO_T}$ac_header_preproc" >&6
30982 # So? What about this header?
30983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30989 ac_header_preproc
=yes
30992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31006 ## ----------------------------------------- ##
31007 ## Report this to wx-dev@lists.wxwidgets.org ##
31008 ## ----------------------------------------- ##
31011 sed "s/^/$as_me: WARNING: /" >&2
31014 echo "$as_me:$LINENO: checking for $ac_header" >&5
31015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 eval "$as_ac_Header=\$ac_header_preproc"
31021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31026 cat >>confdefs.h
<<_ACEOF
31027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31035 for ac_header
in X
11/XKBlib.h
31037 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31038 echo "$as_me:$LINENO: checking for $ac_header" >&5
31039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31041 echo $ECHO_N "(cached) $ECHO_C" >&6
31043 cat >conftest.
$ac_ext <<_ACEOF
31046 cat confdefs.h
>>conftest.
$ac_ext
31047 cat >>conftest.
$ac_ext <<_ACEOF
31048 /* end confdefs.h. */
31050 #if HAVE_X11_XLIB_H
31051 #include <X11/Xlib.h>
31055 #include <$ac_header>
31057 rm -f conftest.
$ac_objext
31058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31059 (eval $ac_compile) 2>conftest.er1
31061 grep -v '^ *+' conftest.er1
>conftest.err
31063 cat conftest.err
>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try
='test -s conftest.$ac_objext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31078 eval "$as_ac_Header=yes"
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.
$ac_ext >&5
31083 eval "$as_ac_Header=no"
31085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31090 cat >>confdefs.h
<<_ACEOF
31091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31106 if test "$TOOLKIT" != "MSW" ; then
31108 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31110 if test "${ac_cv_header_sql_h+set}" = set; then
31111 echo "$as_me:$LINENO: checking for sql.h" >&5
31112 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31113 if test "${ac_cv_header_sql_h+set}" = set; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31117 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31119 # Is the header compilable?
31120 echo "$as_me:$LINENO: checking sql.h usability" >&5
31121 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31122 cat >conftest.
$ac_ext <<_ACEOF
31125 cat confdefs.h
>>conftest.
$ac_ext
31126 cat >>conftest.
$ac_ext <<_ACEOF
31127 /* end confdefs.h. */
31128 $ac_includes_default
31131 rm -f conftest.
$ac_objext
31132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31133 (eval $ac_compile) 2>conftest.er1
31135 grep -v '^ *+' conftest.er1
>conftest.err
31137 cat conftest.err
>&5
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); } &&
31140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31142 (eval $ac_try) 2>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; } &&
31146 { ac_try
='test -s conftest.$ac_objext'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; }; then
31152 ac_header_compiler
=yes
31154 echo "$as_me: failed program was:" >&5
31155 sed 's/^/| /' conftest.
$ac_ext >&5
31157 ac_header_compiler
=no
31159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31161 echo "${ECHO_T}$ac_header_compiler" >&6
31163 # Is the header present?
31164 echo "$as_me:$LINENO: checking sql.h presence" >&5
31165 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31166 cat >conftest.
$ac_ext <<_ACEOF
31169 cat confdefs.h
>>conftest.
$ac_ext
31170 cat >>conftest.
$ac_ext <<_ACEOF
31171 /* end confdefs.h. */
31174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31177 grep -v '^ *+' conftest.er1
>conftest.err
31179 cat conftest.err
>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } >/dev
/null
; then
31182 if test -s conftest.err
; then
31183 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31184 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31191 if test -z "$ac_cpp_err"; then
31192 ac_header_preproc
=yes
31194 echo "$as_me: failed program was:" >&5
31195 sed 's/^/| /' conftest.
$ac_ext >&5
31197 ac_header_preproc
=no
31199 rm -f conftest.err conftest.
$ac_ext
31200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31201 echo "${ECHO_T}$ac_header_preproc" >&6
31203 # So? What about this header?
31204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31206 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31207 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31208 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31209 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31210 ac_header_preproc
=yes
31213 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31214 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31215 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31216 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31217 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31218 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31219 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31220 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31221 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31222 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31223 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31224 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31227 ## ----------------------------------------- ##
31228 ## Report this to wx-dev@lists.wxwidgets.org ##
31229 ## ----------------------------------------- ##
31232 sed "s/^/$as_me: WARNING: /" >&2
31235 echo "$as_me:$LINENO: checking for sql.h" >&5
31236 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31237 if test "${ac_cv_header_sql_h+set}" = set; then
31238 echo $ECHO_N "(cached) $ECHO_C" >&6
31240 ac_cv_header_sql_h
=$ac_header_preproc
31242 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31243 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31246 if test $ac_cv_header_sql_h = yes; then
31251 if test "x$found_sql_h" = "x1" ; then
31252 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31253 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31254 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31257 ac_check_lib_save_LIBS
=$LIBS
31258 LIBS
="-liodbc $LIBS"
31259 cat >conftest.
$ac_ext <<_ACEOF
31262 cat confdefs.h
>>conftest.
$ac_ext
31263 cat >>conftest.
$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31266 /* Override any gcc2 internal prototype to avoid an error. */
31270 /* We use char because int might match the return type of a gcc2
31271 builtin and then its argument prototype would still apply. */
31272 char SQLAllocEnv ();
31281 rm -f conftest.
$ac_objext conftest
$ac_exeext
31282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31283 (eval $ac_link) 2>conftest.er1
31285 grep -v '^ *+' conftest.er1
>conftest.err
31287 cat conftest.err
>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } &&
31290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292 (eval $ac_try) 2>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; } &&
31296 { ac_try
='test -s conftest$ac_exeext'
31297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31298 (eval $ac_try) 2>&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); }; }; then
31302 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.
$ac_ext >&5
31307 ac_cv_lib_iodbc_SQLAllocEnv
=no
31309 rm -f conftest.err conftest.
$ac_objext \
31310 conftest
$ac_exeext conftest.
$ac_ext
31311 LIBS
=$ac_check_lib_save_LIBS
31313 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31314 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31315 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31316 ODBC_LINK
=" -liodbc"
31319 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31320 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31321 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31322 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 ac_check_lib_save_LIBS
=$LIBS
31325 LIBS
="-lunixodbc $LIBS"
31326 cat >conftest.
$ac_ext <<_ACEOF
31329 cat confdefs.h
>>conftest.
$ac_ext
31330 cat >>conftest.
$ac_ext <<_ACEOF
31331 /* end confdefs.h. */
31333 /* Override any gcc2 internal prototype to avoid an error. */
31337 /* We use char because int might match the return type of a gcc2
31338 builtin and then its argument prototype would still apply. */
31339 char SQLAllocEnv ();
31348 rm -f conftest.
$ac_objext conftest
$ac_exeext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31350 (eval $ac_link) 2>conftest.er1
31352 grep -v '^ *+' conftest.er1
>conftest.err
31354 cat conftest.err
>&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); } &&
31357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31359 (eval $ac_try) 2>&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); }; } &&
31363 { ac_try
='test -s conftest$ac_exeext'
31364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365 (eval $ac_try) 2>&5
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); }; }; then
31369 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31371 echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.
$ac_ext >&5
31374 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31376 rm -f conftest.err conftest.
$ac_objext \
31377 conftest
$ac_exeext conftest.
$ac_ext
31378 LIBS
=$ac_check_lib_save_LIBS
31380 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31381 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31382 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31383 ODBC_LINK
=" -lunixodbc"
31386 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31387 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31388 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31389 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 ac_check_lib_save_LIBS
=$LIBS
31392 LIBS
="-lodbc $LIBS"
31393 cat >conftest.
$ac_ext <<_ACEOF
31396 cat confdefs.h
>>conftest.
$ac_ext
31397 cat >>conftest.
$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31400 /* Override any gcc2 internal prototype to avoid an error. */
31404 /* We use char because int might match the return type of a gcc2
31405 builtin and then its argument prototype would still apply. */
31406 char SQLAllocEnv ();
31415 rm -f conftest.
$ac_objext conftest
$ac_exeext
31416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31417 (eval $ac_link) 2>conftest.er1
31419 grep -v '^ *+' conftest.er1
>conftest.err
31421 cat conftest.err
>&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); } &&
31424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; } &&
31430 { ac_try
='test -s conftest$ac_exeext'
31431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31432 (eval $ac_try) 2>&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); }; }; then
31436 ac_cv_lib_odbc_SQLAllocEnv
=yes
31438 echo "$as_me: failed program was:" >&5
31439 sed 's/^/| /' conftest.
$ac_ext >&5
31441 ac_cv_lib_odbc_SQLAllocEnv
=no
31443 rm -f conftest.err conftest.
$ac_objext \
31444 conftest
$ac_exeext conftest.
$ac_ext
31445 LIBS
=$ac_check_lib_save_LIBS
31447 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31448 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31449 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31450 ODBC_LINK
=" -lodbc"
31460 if test "x$ODBC_LINK" = "x" ; then
31461 if test "$wxUSE_ODBC" = "sys" ; then
31462 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31463 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31464 { (exit 1); exit 1; }; }
31466 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31467 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31475 if test "$wxUSE_ODBC" = "builtin" ; then
31476 cat >>confdefs.h
<<\_ACEOF
31477 #define wxUSE_BUILTIN_IODBC 1
31483 if test "$wxUSE_ODBC" != "no" ; then
31484 cat >>confdefs.h
<<\_ACEOF
31485 #define wxUSE_ODBC 1
31488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31490 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31494 if test "$wxUSE_DISPLAY" = "yes"; then
31495 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31496 echo "$as_me:$LINENO: checking for Xinerama" >&5
31497 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31500 for ac_dir
in $SEARCH_LIB;
31502 for ac_extension
in a so sl dylib dll.a
; do
31503 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31504 ac_find_libraries
=$ac_dir
31510 if test "$ac_find_libraries" != "" ; then
31512 if test "$ac_find_libraries" = "default location"; then
31515 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31517 if test $result = 0; then
31520 ac_path_to_link
=" -L$ac_find_libraries"
31524 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31525 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31527 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31528 echo "$as_me:$LINENO: result: yes" >&5
31529 echo "${ECHO_T}yes" >&6
31531 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31532 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31535 for ac_dir
in $SEARCH_LIB;
31537 for ac_extension
in a so sl dylib dll.a
; do
31538 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31539 ac_find_libraries
=$ac_dir
31545 if test "$ac_find_libraries" != "" ; then
31546 echo "$as_me:$LINENO: result: yes" >&5
31547 echo "${ECHO_T}yes" >&6
31549 for ac_header
in X
11/extensions
/xf86vmode.h
31551 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31552 echo "$as_me:$LINENO: checking for $ac_header" >&5
31553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31555 echo $ECHO_N "(cached) $ECHO_C" >&6
31557 cat >conftest.
$ac_ext <<_ACEOF
31560 cat confdefs.h
>>conftest.
$ac_ext
31561 cat >>conftest.
$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31564 #if HAVE_X11_XLIB_H
31565 #include <X11/Xlib.h>
31569 #include <$ac_header>
31571 rm -f conftest.
$ac_objext
31572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31573 (eval $ac_compile) 2>conftest.er1
31575 grep -v '^ *+' conftest.er1
>conftest.err
31577 cat conftest.err
>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } &&
31580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; } &&
31586 { ac_try
='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 eval "$as_ac_Header=yes"
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.
$ac_ext >&5
31597 eval "$as_ac_Header=no"
31599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31604 cat >>confdefs.h
<<_ACEOF
31605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31608 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31615 echo "$as_me:$LINENO: result: no" >&5
31616 echo "${ECHO_T}no" >&6
31620 echo "$as_me:$LINENO: result: no" >&5
31621 echo "${ECHO_T}no" >&6
31622 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31623 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31626 elif test "$wxUSE_MSW" = 1; then
31628 for ac_header
in ddraw.h
31630 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31631 echo "$as_me:$LINENO: checking for $ac_header" >&5
31632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31636 cat >conftest.
$ac_ext <<_ACEOF
31639 cat confdefs.h
>>conftest.
$ac_ext
31640 cat >>conftest.
$ac_ext <<_ACEOF
31641 /* end confdefs.h. */
31642 #include <windows.h>
31644 #include <$ac_header>
31646 rm -f conftest.
$ac_objext
31647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31648 (eval $ac_compile) 2>conftest.er1
31650 grep -v '^ *+' conftest.er1
>conftest.err
31652 cat conftest.err
>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); } &&
31655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 (eval $ac_try) 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; } &&
31661 { ac_try
='test -s conftest.$ac_objext'
31662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 (eval $ac_try) 2>&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; }; then
31667 eval "$as_ac_Header=yes"
31669 echo "$as_me: failed program was:" >&5
31670 sed 's/^/| /' conftest.
$ac_ext >&5
31672 eval "$as_ac_Header=no"
31674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31679 cat >>confdefs.h
<<_ACEOF
31680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31692 if test "$wxUSE_OPENGL" = "yes"; then
31693 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31694 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31695 elif test "$wxUSE_MSW" = 1; then
31696 OPENGL_LIBS
="-lopengl32 -lglu32"
31701 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31703 if test -f "$ac_dir/GL/gl.h"; then
31704 ac_find_includes
=$ac_dir
31709 if test "$ac_find_includes" != "" ; then
31710 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31711 echo "${ECHO_T}found in $ac_find_includes" >&6
31713 if test "x$ac_find_includes" = "x/usr/include"; then
31714 ac_path_to_include
=""
31716 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31718 if test $result = 0; then
31719 ac_path_to_include
=""
31721 ac_path_to_include
=" -I$ac_find_includes"
31725 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31728 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31729 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31730 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31731 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31735 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31737 # Is the header compilable?
31738 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31739 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31740 cat >conftest.
$ac_ext <<_ACEOF
31743 cat confdefs.h
>>conftest.
$ac_ext
31744 cat >>conftest.
$ac_ext <<_ACEOF
31745 /* end confdefs.h. */
31746 $ac_includes_default
31749 rm -f conftest.
$ac_objext
31750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31751 (eval $ac_compile) 2>conftest.er1
31753 grep -v '^ *+' conftest.er1
>conftest.err
31755 cat conftest.err
>&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); } &&
31758 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; } &&
31764 { ac_try
='test -s conftest.$ac_objext'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; }; then
31770 ac_header_compiler
=yes
31772 echo "$as_me: failed program was:" >&5
31773 sed 's/^/| /' conftest.
$ac_ext >&5
31775 ac_header_compiler
=no
31777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31779 echo "${ECHO_T}$ac_header_compiler" >&6
31781 # Is the header present?
31782 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31783 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31784 cat >conftest.
$ac_ext <<_ACEOF
31787 cat confdefs.h
>>conftest.
$ac_ext
31788 cat >>conftest.
$ac_ext <<_ACEOF
31789 /* end confdefs.h. */
31792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31795 grep -v '^ *+' conftest.er1
>conftest.err
31797 cat conftest.err
>&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); } >/dev
/null
; then
31800 if test -s conftest.err
; then
31801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31809 if test -z "$ac_cpp_err"; then
31810 ac_header_preproc
=yes
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.
$ac_ext >&5
31815 ac_header_preproc
=no
31817 rm -f conftest.err conftest.
$ac_ext
31818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31819 echo "${ECHO_T}$ac_header_preproc" >&6
31821 # So? What about this header?
31822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31824 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31825 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31826 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31827 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31828 ac_header_preproc
=yes
31831 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31832 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31833 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31834 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31835 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31836 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31837 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31838 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31839 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31840 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31841 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31842 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31845 ## ----------------------------------------- ##
31846 ## Report this to wx-dev@lists.wxwidgets.org ##
31847 ## ----------------------------------------- ##
31850 sed "s/^/$as_me: WARNING: /" >&2
31853 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31854 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31855 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31856 echo $ECHO_N "(cached) $ECHO_C" >&6
31858 ac_cv_header_GL_gl_h
=$ac_header_preproc
31860 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31861 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31864 if test $ac_cv_header_GL_gl_h = yes; then
31868 echo "$as_me:$LINENO: checking for -lGL" >&5
31869 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31872 for ac_dir
in $SEARCH_LIB;
31874 for ac_extension
in a so sl dylib dll.a
; do
31875 if test -f "$ac_dir/libGL.$ac_extension"; then
31876 ac_find_libraries
=$ac_dir
31882 if test "$ac_find_libraries" != "" ; then
31883 echo "$as_me:$LINENO: result: yes" >&5
31884 echo "${ECHO_T}yes" >&6
31887 if test "$ac_find_libraries" = "default location"; then
31890 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31892 if test $result = 0; then
31895 ac_path_to_link
=" -L$ac_find_libraries"
31899 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31900 LDFLAGS_GL
="$ac_path_to_link"
31903 echo "$as_me:$LINENO: checking for -lGLU" >&5
31904 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31907 for ac_dir
in $SEARCH_LIB;
31909 for ac_extension
in a so sl dylib dll.a
; do
31910 if test -f "$ac_dir/libGLU.$ac_extension"; then
31911 ac_find_libraries
=$ac_dir
31917 if test "$ac_find_libraries" != "" ; then
31919 if test "$ac_find_libraries" = "default location"; then
31922 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31924 if test $result = 0; then
31927 ac_path_to_link
=" -L$ac_find_libraries"
31931 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31932 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31933 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31937 OPENGL_LIBS
="-lGL -lGLU"
31938 echo "$as_me:$LINENO: result: yes" >&5
31939 echo "${ECHO_T}yes" >&6
31941 echo "$as_me:$LINENO: result: no" >&5
31942 echo "${ECHO_T}no" >&6
31945 echo "$as_me:$LINENO: result: no" >&5
31946 echo "${ECHO_T}no" >&6
31949 if test "$found_gl" != 1; then
31950 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31951 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31954 for ac_dir
in $SEARCH_LIB;
31956 for ac_extension
in a so sl dylib dll.a
; do
31957 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31958 ac_find_libraries
=$ac_dir
31964 if test "$ac_find_libraries" != "" ; then
31966 if test "$ac_find_libraries" = "default location"; then
31969 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31971 if test $result = 0; then
31974 ac_path_to_link
=" -L$ac_find_libraries"
31978 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31979 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31980 echo "$as_me:$LINENO: result: yes" >&5
31981 echo "${ECHO_T}yes" >&6
31983 echo "$as_me:$LINENO: result: no" >&5
31984 echo "${ECHO_T}no" >&6
31992 if test "x$OPENGL_LIBS" = "x"; then
31993 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31994 echo "$as_me: error: OpenGL libraries not available" >&2;}
31995 { (exit 1); exit 1; }; }
31999 if test "$wxUSE_OPENGL" = "yes"; then
32001 cat >>confdefs.h
<<\_ACEOF
32002 #define wxUSE_OPENGL 1
32005 cat >>confdefs.h
<<\_ACEOF
32006 #define wxUSE_GLCANVAS 1
32009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32014 if test -n "$TOOLKIT" ; then
32015 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32020 if test "$wxUSE_SHARED" = "yes"; then
32024 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32025 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32030 if test "$wxUSE_SHARED" = "yes"; then
32033 found_versioning
=no
32036 if test $found_versioning = no
; then
32037 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32038 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32039 if test "${wx_cv_version_script+set}" = set; then
32040 echo $ECHO_N "(cached) $ECHO_C" >&6
32043 echo "VER_1 { *; };" >conftest.sym
32044 echo "int main() { return 0; }" >conftest.cpp
32047 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32048 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } ; then
32054 if test -s conftest.stderr
; then
32055 wx_cv_version_script
=no
32057 wx_cv_version_script
=yes
32060 wx_cv_version_script
=no
32063 if test $wx_cv_version_script = yes
32065 echo "struct B { virtual ~B() { } }; \
32066 struct D : public B { }; \
32067 void F() { D d; }" > conftest.cpp
32070 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32071 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32073 (eval $ac_try) 2>&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); }; } &&
32078 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32079 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32081 (eval $ac_try) 2>&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); }; }
32087 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32088 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }
32095 wx_cv_version_script
=yes
32097 wx_cv_version_script
=no
32102 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32103 rm -f conftest1.output conftest2.output conftest3.output
32106 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32107 echo "${ECHO_T}$wx_cv_version_script" >&6
32108 if test $wx_cv_version_script = yes ; then
32109 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32115 *-*-linux* | *-*-gnu* )
32116 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32117 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32121 if test "$GCC" = yes ; then
32122 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32124 saveLdflags
="$LDFLAGS"
32125 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32126 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32127 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32128 cat >conftest.
$ac_ext <<_ACEOF
32131 cat confdefs.h
>>conftest.
$ac_ext
32132 cat >>conftest.
$ac_ext <<_ACEOF
32133 /* end confdefs.h. */
32143 rm -f conftest.
$ac_objext conftest
$ac_exeext
32144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32145 (eval $ac_link) 2>conftest.er1
32147 grep -v '^ *+' conftest.er1
>conftest.err
32149 cat conftest.err
>&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; } &&
32158 { ac_try
='test -s conftest$ac_exeext'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; }; then
32165 echo "$as_me:$LINENO: result: yes" >&5
32166 echo "${ECHO_T}yes" >&6
32167 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32168 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32171 echo "$as_me: failed program was:" >&5
32172 sed 's/^/| /' conftest.
$ac_ext >&5
32175 echo "$as_me:$LINENO: result: no" >&5
32176 echo "${ECHO_T}no" >&6
32177 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32178 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32179 LDFLAGS
="$saveLdflags -Wl,-R,/"
32180 cat >conftest.
$ac_ext <<_ACEOF
32183 cat confdefs.h
>>conftest.
$ac_ext
32184 cat >>conftest.
$ac_ext <<_ACEOF
32185 /* end confdefs.h. */
32195 rm -f conftest.
$ac_objext conftest
$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>conftest.er1
32199 grep -v '^ *+' conftest.er1
>conftest.err
32201 cat conftest.err
>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
32210 { ac_try
='test -s conftest$ac_exeext'
32211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32212 (eval $ac_try) 2>&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); }; }; then
32217 echo "$as_me:$LINENO: result: yes" >&5
32218 echo "${ECHO_T}yes" >&6
32219 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32220 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32223 echo "$as_me: failed program was:" >&5
32224 sed 's/^/| /' conftest.
$ac_ext >&5
32227 echo "$as_me:$LINENO: result: no" >&5
32228 echo "${ECHO_T}no" >&6
32231 rm -f conftest.err conftest.
$ac_objext \
32232 conftest
$ac_exeext conftest.
$ac_ext
32235 rm -f conftest.err conftest.
$ac_objext \
32236 conftest
$ac_exeext conftest.
$ac_ext
32237 LDFLAGS
="$saveLdflags"
32239 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32240 WXCONFIG_RPATH
="-R\$libdir"
32245 install_name_tool
=`which install_name_tool`
32246 if test "$install_name_tool" -a -x "$install_name_tool"; then
32247 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32248 cat <<EOF >change-install-names
32250 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32251 inst_cmd="install_name_tool "
32252 for i in \${libnames} ; do
32253 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32257 chmod +x change
-install-names
32261 *-*-cygwin* | *-*-mingw32* )
32262 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32266 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32267 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32272 if test $wxUSE_RPATH = "no"; then
32273 SAMPLES_RPATH_FLAG
=''
32274 SAMPLES_RPATH_POSTLINK
=''
32282 config_linkage_component
="-static"
32289 lib_unicode_suffix
=
32291 if test "$wxUSE_UNICODE" = "yes"; then
32292 lib_unicode_suffix
=u
32293 WX_CHARTYPE
="unicode"
32298 WX_DEBUGTYPE
="release"
32300 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32302 WX_DEBUGTYPE
="debug"
32306 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32307 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32310 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32314 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32316 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32318 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32320 if test "$cross_compiling" = "yes"; then
32321 HOST_SUFFIX
="-$host_alias"
32322 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32323 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32326 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32327 if test "${TOOLKIT_DIR}" = "os2"; then
32328 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32330 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32335 if test "$wxUSE_COCOA" = 1; then
32339 ac_cpp
='$CPP $CPPFLAGS'
32340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32346 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32347 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32348 cat >conftest.
$ac_ext <<_ACEOF
32351 cat confdefs.h
>>conftest.
$ac_ext
32352 cat >>conftest.
$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32354 #include <AppKit/NSEvent.h>
32355 #include <CoreFoundation/CoreFoundation.h>
32365 rm -f conftest.
$ac_objext
32366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32367 (eval $ac_compile) 2>conftest.er1
32369 grep -v '^ *+' conftest.er1
>conftest.err
32371 cat conftest.err
>&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); } &&
32374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 (eval $ac_try) 2>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; } &&
32380 { ac_try
='test -s conftest.$ac_objext'
32381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32382 (eval $ac_try) 2>&5
32384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32385 (exit $ac_status); }; }; then
32386 echo "$as_me:$LINENO: result: no" >&5
32387 echo "${ECHO_T}no" >&6
32389 echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.
$ac_ext >&5
32392 echo "$as_me:$LINENO: result: yes" >&5
32393 echo "${ECHO_T}yes" >&6
32394 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32395 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32396 cat >conftest.
$ac_ext <<_ACEOF
32399 cat confdefs.h
>>conftest.
$ac_ext
32400 cat >>conftest.
$ac_ext <<_ACEOF
32401 /* end confdefs.h. */
32402 #define __Point__ 1
32403 #include <AppKit/NSEvent.h>
32404 #include <CoreFoundation/CoreFoundation.h>
32414 rm -f conftest.
$ac_objext
32415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32416 (eval $ac_compile) 2>conftest.er1
32418 grep -v '^ *+' conftest.er1
>conftest.err
32420 cat conftest.err
>&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); } &&
32423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32425 (eval $ac_try) 2>&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); }; } &&
32429 { ac_try
='test -s conftest.$ac_objext'
32430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32431 (eval $ac_try) 2>&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); }; }; then
32435 echo "$as_me:$LINENO: result: yes" >&5
32436 echo "${ECHO_T}yes" >&6
32437 cat >>confdefs.h
<<\_ACEOF
32438 #define __Point__ 1
32443 echo "$as_me: failed program was:" >&5
32444 sed 's/^/| /' conftest.
$ac_ext >&5
32446 { { echo "$as_me:$LINENO: error: no
32447 See \`config.log' for more details." >&5
32448 echo "$as_me: error: no
32449 See \`config.log' for more details." >&2;}
32450 { (exit 1); exit 1; }; }
32453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32458 ac_cpp
='$CXXCPP $CPPFLAGS'
32459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32465 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32466 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32467 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32469 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32471 # Extract the first word of "Rez", so it can be a program name with args.
32472 set dummy Rez
; ac_word
=$2
32473 echo "$as_me:$LINENO: checking for $ac_word" >&5
32474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32475 if test "${ac_cv_prog_REZ+set}" = set; then
32476 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 if test -n "$REZ"; then
32479 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32482 for as_dir
in $PATH
32485 test -z "$as_dir" && as_dir
=.
32486 for ac_exec_ext
in '' $ac_executable_extensions; do
32487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32488 ac_cv_prog_REZ
="Rez"
32489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32495 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32498 REZ
=$ac_cv_prog_REZ
32499 if test -n "$REZ"; then
32500 echo "$as_me:$LINENO: result: $REZ" >&5
32501 echo "${ECHO_T}$REZ" >&6
32503 echo "$as_me:$LINENO: result: no" >&5
32504 echo "${ECHO_T}no" >&6
32507 # Extract the first word of "DeRez", so it can be a program name with args.
32508 set dummy DeRez
; ac_word
=$2
32509 echo "$as_me:$LINENO: checking for $ac_word" >&5
32510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32511 if test "${ac_cv_prog_DEREZ+set}" = set; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 if test -n "$DEREZ"; then
32515 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32518 for as_dir
in $PATH
32521 test -z "$as_dir" && as_dir
=.
32522 for ac_exec_ext
in '' $ac_executable_extensions; do
32523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32524 ac_cv_prog_DEREZ
="DeRez"
32525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32531 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32534 DEREZ
=$ac_cv_prog_DEREZ
32535 if test -n "$DEREZ"; then
32536 echo "$as_me:$LINENO: result: $DEREZ" >&5
32537 echo "${ECHO_T}$DEREZ" >&6
32539 echo "$as_me:$LINENO: result: no" >&5
32540 echo "${ECHO_T}no" >&6
32543 # Extract the first word of "SetFile", so it can be a program name with args.
32544 set dummy SetFile
; ac_word
=$2
32545 echo "$as_me:$LINENO: checking for $ac_word" >&5
32546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32547 if test "${ac_cv_prog_SETFILE+set}" = set; then
32548 echo $ECHO_N "(cached) $ECHO_C" >&6
32550 if test -n "$SETFILE"; then
32551 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32554 for as_dir
in $PATH
32557 test -z "$as_dir" && as_dir
=.
32558 for ac_exec_ext
in '' $ac_executable_extensions; do
32559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32560 ac_cv_prog_SETFILE
="SetFile"
32561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32567 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32570 SETFILE
=$ac_cv_prog_SETFILE
32571 if test -n "$SETFILE"; then
32572 echo "$as_me:$LINENO: result: $SETFILE" >&5
32573 echo "${ECHO_T}$SETFILE" >&6
32575 echo "$as_me:$LINENO: result: no" >&5
32576 echo "${ECHO_T}no" >&6
32580 MACSETFILE
="\$(SETFILE)"
32582 if test "$wxUSE_MAC" = 1; then
32583 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32585 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32587 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32588 RESCOMP
="echo -n \| $REZ"
32589 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32595 if test "$wxUSE_PM" = 1; then
32597 WXCONFIG_RESFLAGS
="-ep"
32599 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32601 POSTLINK_COMMAND
="@true"
32608 echo "$as_me:$LINENO: checking for mode_t" >&5
32609 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32610 if test "${ac_cv_type_mode_t+set}" = set; then
32611 echo $ECHO_N "(cached) $ECHO_C" >&6
32613 cat >conftest.
$ac_ext <<_ACEOF
32616 cat confdefs.h
>>conftest.
$ac_ext
32617 cat >>conftest.
$ac_ext <<_ACEOF
32618 /* end confdefs.h. */
32619 $ac_includes_default
32625 if (sizeof (mode_t))
32631 rm -f conftest.
$ac_objext
32632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32633 (eval $ac_compile) 2>conftest.er1
32635 grep -v '^ *+' conftest.er1
>conftest.err
32637 cat conftest.err
>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32646 { ac_try
='test -s conftest.$ac_objext'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; }; then
32652 ac_cv_type_mode_t
=yes
32654 echo "$as_me: failed program was:" >&5
32655 sed 's/^/| /' conftest.
$ac_ext >&5
32657 ac_cv_type_mode_t
=no
32659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32661 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32662 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32663 if test $ac_cv_type_mode_t = yes; then
32667 cat >>confdefs.h
<<_ACEOF
32673 echo "$as_me:$LINENO: checking for off_t" >&5
32674 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32675 if test "${ac_cv_type_off_t+set}" = set; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 cat >conftest.
$ac_ext <<_ACEOF
32681 cat confdefs.h
>>conftest.
$ac_ext
32682 cat >>conftest.
$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 $ac_includes_default
32690 if (sizeof (off_t))
32696 rm -f conftest.
$ac_objext
32697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32698 (eval $ac_compile) 2>conftest.er1
32700 grep -v '^ *+' conftest.er1
>conftest.err
32702 cat conftest.err
>&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } &&
32705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; } &&
32711 { ac_try
='test -s conftest.$ac_objext'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; }; then
32717 ac_cv_type_off_t
=yes
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.
$ac_ext >&5
32722 ac_cv_type_off_t
=no
32724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32726 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32727 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32728 if test $ac_cv_type_off_t = yes; then
32732 cat >>confdefs.h
<<_ACEOF
32738 echo "$as_me:$LINENO: checking for pid_t" >&5
32739 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32740 if test "${ac_cv_type_pid_t+set}" = set; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32743 cat >conftest.
$ac_ext <<_ACEOF
32746 cat confdefs.h
>>conftest.
$ac_ext
32747 cat >>conftest.
$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32749 $ac_includes_default
32755 if (sizeof (pid_t))
32761 rm -f conftest.
$ac_objext
32762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32763 (eval $ac_compile) 2>conftest.er1
32765 grep -v '^ *+' conftest.er1
>conftest.err
32767 cat conftest.err
>&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } &&
32770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32772 (eval $ac_try) 2>&5
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); }; } &&
32776 { ac_try
='test -s conftest.$ac_objext'
32777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32778 (eval $ac_try) 2>&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); }; }; then
32782 ac_cv_type_pid_t
=yes
32784 echo "$as_me: failed program was:" >&5
32785 sed 's/^/| /' conftest.
$ac_ext >&5
32787 ac_cv_type_pid_t
=no
32789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32791 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32792 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32793 if test $ac_cv_type_pid_t = yes; then
32797 cat >>confdefs.h
<<_ACEOF
32803 echo "$as_me:$LINENO: checking for size_t" >&5
32804 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32805 if test "${ac_cv_type_size_t+set}" = set; then
32806 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 cat >conftest.
$ac_ext <<_ACEOF
32811 cat confdefs.h
>>conftest.
$ac_ext
32812 cat >>conftest.
$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814 $ac_includes_default
32820 if (sizeof (size_t))
32826 rm -f conftest.
$ac_objext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32828 (eval $ac_compile) 2>conftest.er1
32830 grep -v '^ *+' conftest.er1
>conftest.err
32832 cat conftest.err
>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } &&
32835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32837 (eval $ac_try) 2>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); }; } &&
32841 { ac_try
='test -s conftest.$ac_objext'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; }; then
32847 ac_cv_type_size_t
=yes
32849 echo "$as_me: failed program was:" >&5
32850 sed 's/^/| /' conftest.
$ac_ext >&5
32852 ac_cv_type_size_t
=no
32854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32856 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32857 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32858 if test $ac_cv_type_size_t = yes; then
32862 cat >>confdefs.h
<<_ACEOF
32863 #define size_t unsigned
32868 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32869 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32870 if test "${ac_cv_type_uid_t+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 cat >conftest.
$ac_ext <<_ACEOF
32876 cat confdefs.h
>>conftest.
$ac_ext
32877 cat >>conftest.
$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879 #include <sys/types.h>
32882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32883 $EGREP "uid_t" >/dev
/null
2>&1; then
32884 ac_cv_type_uid_t
=yes
32886 ac_cv_type_uid_t
=no
32891 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32892 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32893 if test $ac_cv_type_uid_t = no
; then
32895 cat >>confdefs.h
<<\_ACEOF
32900 cat >>confdefs.h
<<\_ACEOF
32907 echo "$as_me:$LINENO: checking for ssize_t" >&5
32908 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32909 if test "${ac_cv_type_ssize_t+set}" = set; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32912 cat >conftest.
$ac_ext <<_ACEOF
32915 cat confdefs.h
>>conftest.
$ac_ext
32916 cat >>conftest.
$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918 $ac_includes_default
32924 if (sizeof (ssize_t))
32930 rm -f conftest.
$ac_objext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32932 (eval $ac_compile) 2>conftest.er1
32934 grep -v '^ *+' conftest.er1
>conftest.err
32936 cat conftest.err
>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try
='test -s conftest.$ac_objext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 ac_cv_type_ssize_t
=yes
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.
$ac_ext >&5
32956 ac_cv_type_ssize_t
=no
32958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32960 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32961 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32962 if test $ac_cv_type_ssize_t = yes; then
32964 cat >>confdefs.h
<<_ACEOF
32965 #define HAVE_SSIZE_T 1
32972 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32973 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32974 if test "${wx_cv_size_t_is_uint+set}" = set; then
32975 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 cat >conftest.
$ac_ext <<_ACEOF
32981 cat confdefs.h
>>conftest.
$ac_ext
32982 cat >>conftest.
$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32984 #include <stddef.h>
32991 struct Foo { void foo(size_t); void foo(unsigned int); };
32999 rm -f conftest.
$ac_objext
33000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33001 (eval $ac_compile) 2>conftest.er1
33003 grep -v '^ *+' conftest.er1
>conftest.err
33005 cat conftest.err
>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } &&
33008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33014 { ac_try
='test -s conftest.$ac_objext'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33020 wx_cv_size_t_is_uint
=no
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.
$ac_ext >&5
33025 wx_cv_size_t_is_uint
=yes
33028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33032 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33033 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33035 if test "$wx_cv_size_t_is_uint" = "yes"; then
33036 cat >>confdefs.h
<<\_ACEOF
33037 #define wxSIZE_T_IS_UINT 1
33041 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33042 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33043 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33044 echo $ECHO_N "(cached) $ECHO_C" >&6
33046 cat >conftest.
$ac_ext <<_ACEOF
33049 cat confdefs.h
>>conftest.
$ac_ext
33050 cat >>conftest.
$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33052 #include <stddef.h>
33059 struct Foo { void foo(size_t); void foo(unsigned long); };
33067 rm -f conftest.
$ac_objext
33068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33069 (eval $ac_compile) 2>conftest.er1
33071 grep -v '^ *+' conftest.er1
>conftest.err
33073 cat conftest.err
>&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); } &&
33076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try
='test -s conftest.$ac_objext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 wx_cv_size_t_is_ulong
=no
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.
$ac_ext >&5
33093 wx_cv_size_t_is_ulong
=yes
33096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33099 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33100 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33102 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33103 cat >>confdefs.h
<<\_ACEOF
33104 #define wxSIZE_T_IS_ULONG 1
33111 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33112 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33113 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 cat >conftest.
$ac_ext <<_ACEOF
33120 cat confdefs.h
>>conftest.
$ac_ext
33121 cat >>conftest.
$ac_ext <<_ACEOF
33122 /* end confdefs.h. */
33136 rm -f conftest.
$ac_objext
33137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33138 (eval $ac_compile) 2>conftest.er1
33140 grep -v '^ *+' conftest.er1
>conftest.err
33142 cat conftest.err
>&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } &&
33145 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33147 (eval $ac_try) 2>&5
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); }; } &&
33151 { ac_try
='test -s conftest.$ac_objext'
33152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153 (eval $ac_try) 2>&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33158 wx_cv_struct_pw_gecos
=yes
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.
$ac_ext >&5
33165 wx_cv_struct_pw_gecos
=no
33169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33173 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33174 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33176 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33177 cat >>confdefs.h
<<\_ACEOF
33178 #define HAVE_PW_GECOS 1
33184 if test "$wxUSE_WCHAR_T" = "yes"; then
33185 cat >>confdefs.h
<<\_ACEOF
33186 #define wxUSE_WCHAR_T 1
33193 for ac_func
in wcslen
33195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33196 echo "$as_me:$LINENO: checking for $ac_func" >&5
33197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33198 if eval "test \"\${$as_ac_var+set}\" = set"; then
33199 echo $ECHO_N "(cached) $ECHO_C" >&6
33201 cat >conftest.
$ac_ext <<_ACEOF
33204 cat confdefs.h
>>conftest.
$ac_ext
33205 cat >>conftest.
$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33209 #define $ac_func innocuous_$ac_func
33211 /* System header to define __stub macros and hopefully few prototypes,
33212 which can conflict with char $ac_func (); below.
33213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33214 <limits.h> exists even on freestanding compilers. */
33217 # include <limits.h>
33219 # include <assert.h>
33224 /* Override any gcc2 internal prototype to avoid an error. */
33229 /* We use char because int might match the return type of a gcc2
33230 builtin and then its argument prototype would still apply. */
33232 /* The GNU C library defines this for functions which it implements
33233 to always fail with ENOSYS. Some functions are actually named
33234 something starting with __ and the normal name is an alias. */
33235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33238 char (*f) () = $ac_func;
33247 return f != $ac_func;
33252 rm -f conftest.
$ac_objext conftest
$ac_exeext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33254 (eval $ac_link) 2>conftest.er1
33256 grep -v '^ *+' conftest.er1
>conftest.err
33258 cat conftest.err
>&5
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); } &&
33261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33263 (eval $ac_try) 2>&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); }; } &&
33267 { ac_try
='test -s conftest$ac_exeext'
33268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269 (eval $ac_try) 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; }; then
33273 eval "$as_ac_var=yes"
33275 echo "$as_me: failed program was:" >&5
33276 sed 's/^/| /' conftest.
$ac_ext >&5
33278 eval "$as_ac_var=no"
33280 rm -f conftest.err conftest.
$ac_objext \
33281 conftest
$ac_exeext conftest.
$ac_ext
33283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33285 if test `eval echo '${'$as_ac_var'}'` = yes; then
33286 cat >>confdefs.h
<<_ACEOF
33287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33294 if test "$WCSLEN_FOUND" = 0; then
33295 if test "$TOOLKIT" = "MSW"; then
33296 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33297 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33298 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33299 echo $ECHO_N "(cached) $ECHO_C" >&6
33301 ac_check_lib_save_LIBS
=$LIBS
33302 LIBS
="-lmsvcrt $LIBS"
33303 cat >conftest.
$ac_ext <<_ACEOF
33306 cat confdefs.h
>>conftest.
$ac_ext
33307 cat >>conftest.
$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33310 /* Override any gcc2 internal prototype to avoid an error. */
33314 /* We use char because int might match the return type of a gcc2
33315 builtin and then its argument prototype would still apply. */
33325 rm -f conftest.
$ac_objext conftest
$ac_exeext
33326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33327 (eval $ac_link) 2>conftest.er1
33329 grep -v '^ *+' conftest.er1
>conftest.err
33331 cat conftest.err
>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); } &&
33334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; } &&
33340 { ac_try
='test -s conftest$ac_exeext'
33341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33342 (eval $ac_try) 2>&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); }; }; then
33346 ac_cv_lib_msvcrt_wcslen
=yes
33348 echo "$as_me: failed program was:" >&5
33349 sed 's/^/| /' conftest.
$ac_ext >&5
33351 ac_cv_lib_msvcrt_wcslen
=no
33353 rm -f conftest.err conftest.
$ac_objext \
33354 conftest
$ac_exeext conftest.
$ac_ext
33355 LIBS
=$ac_check_lib_save_LIBS
33357 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33358 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33359 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33364 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33365 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33366 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33367 echo $ECHO_N "(cached) $ECHO_C" >&6
33369 ac_check_lib_save_LIBS
=$LIBS
33371 cat >conftest.
$ac_ext <<_ACEOF
33374 cat confdefs.h
>>conftest.
$ac_ext
33375 cat >>conftest.
$ac_ext <<_ACEOF
33376 /* end confdefs.h. */
33378 /* Override any gcc2 internal prototype to avoid an error. */
33382 /* We use char because int might match the return type of a gcc2
33383 builtin and then its argument prototype would still apply. */
33393 rm -f conftest.
$ac_objext conftest
$ac_exeext
33394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33395 (eval $ac_link) 2>conftest.er1
33397 grep -v '^ *+' conftest.er1
>conftest.err
33399 cat conftest.err
>&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); } &&
33402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404 (eval $ac_try) 2>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; } &&
33408 { ac_try
='test -s conftest$ac_exeext'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 ac_cv_lib_w_wcslen
=yes
33416 echo "$as_me: failed program was:" >&5
33417 sed 's/^/| /' conftest.
$ac_ext >&5
33419 ac_cv_lib_w_wcslen
=no
33421 rm -f conftest.err conftest.
$ac_objext \
33422 conftest
$ac_exeext conftest.
$ac_ext
33423 LIBS
=$ac_check_lib_save_LIBS
33425 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33426 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33427 if test $ac_cv_lib_w_wcslen = yes; then
33437 if test "$WCSLEN_FOUND" = 1; then
33438 cat >>confdefs.h
<<\_ACEOF
33439 #define HAVE_WCSLEN 1
33444 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33445 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33448 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33449 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33450 if test "${ac_cv_type_mbstate_t+set}" = set; then
33451 echo $ECHO_N "(cached) $ECHO_C" >&6
33453 cat >conftest.
$ac_ext <<_ACEOF
33456 cat confdefs.h
>>conftest.
$ac_ext
33457 cat >>conftest.
$ac_ext <<_ACEOF
33458 /* end confdefs.h. */
33464 if ((mbstate_t *) 0)
33466 if (sizeof (mbstate_t))
33472 rm -f conftest.
$ac_objext
33473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33474 (eval $ac_compile) 2>conftest.er1
33476 grep -v '^ *+' conftest.er1
>conftest.err
33478 cat conftest.err
>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } &&
33481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33483 (eval $ac_try) 2>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); }; } &&
33487 { ac_try
='test -s conftest.$ac_objext'
33488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 (eval $ac_try) 2>&5
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); }; }; then
33493 ac_cv_type_mbstate_t
=yes
33495 echo "$as_me: failed program was:" >&5
33496 sed 's/^/| /' conftest.
$ac_ext >&5
33498 ac_cv_type_mbstate_t
=no
33500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33502 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33503 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33504 if test $ac_cv_type_mbstate_t = yes; then
33506 cat >>confdefs.h
<<_ACEOF
33507 #define HAVE_MBSTATE_T 1
33511 for ac_func
in wcsrtombs
33513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33514 echo "$as_me:$LINENO: checking for $ac_func" >&5
33515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33516 if eval "test \"\${$as_ac_var+set}\" = set"; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 cat >conftest.
$ac_ext <<_ACEOF
33522 cat confdefs.h
>>conftest.
$ac_ext
33523 cat >>conftest.
$ac_ext <<_ACEOF
33524 /* end confdefs.h. */
33525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33527 #define $ac_func innocuous_$ac_func
33529 /* System header to define __stub macros and hopefully few prototypes,
33530 which can conflict with char $ac_func (); below.
33531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33532 <limits.h> exists even on freestanding compilers. */
33535 # include <limits.h>
33537 # include <assert.h>
33542 /* Override any gcc2 internal prototype to avoid an error. */
33547 /* We use char because int might match the return type of a gcc2
33548 builtin and then its argument prototype would still apply. */
33550 /* The GNU C library defines this for functions which it implements
33551 to always fail with ENOSYS. Some functions are actually named
33552 something starting with __ and the normal name is an alias. */
33553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33556 char (*f) () = $ac_func;
33565 return f != $ac_func;
33570 rm -f conftest.
$ac_objext conftest
$ac_exeext
33571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33572 (eval $ac_link) 2>conftest.er1
33574 grep -v '^ *+' conftest.er1
>conftest.err
33576 cat conftest.err
>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); } &&
33579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; } &&
33585 { ac_try
='test -s conftest$ac_exeext'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; }; then
33591 eval "$as_ac_var=yes"
33593 echo "$as_me: failed program was:" >&5
33594 sed 's/^/| /' conftest.
$ac_ext >&5
33596 eval "$as_ac_var=no"
33598 rm -f conftest.err conftest.
$ac_objext \
33599 conftest
$ac_exeext conftest.
$ac_ext
33601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33603 if test `eval echo '${'$as_ac_var'}'` = yes; then
33604 cat >>confdefs.h
<<_ACEOF
33605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33614 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33615 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33620 for ac_func
in snprintf vsnprintf
33622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33623 echo "$as_me:$LINENO: checking for $ac_func" >&5
33624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33625 if eval "test \"\${$as_ac_var+set}\" = set"; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 cat >conftest.
$ac_ext <<_ACEOF
33631 cat confdefs.h
>>conftest.
$ac_ext
33632 cat >>conftest.
$ac_ext <<_ACEOF
33633 /* end confdefs.h. */
33634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33636 #define $ac_func innocuous_$ac_func
33638 /* System header to define __stub macros and hopefully few prototypes,
33639 which can conflict with char $ac_func (); below.
33640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33641 <limits.h> exists even on freestanding compilers. */
33644 # include <limits.h>
33646 # include <assert.h>
33651 /* Override any gcc2 internal prototype to avoid an error. */
33656 /* We use char because int might match the return type of a gcc2
33657 builtin and then its argument prototype would still apply. */
33659 /* The GNU C library defines this for functions which it implements
33660 to always fail with ENOSYS. Some functions are actually named
33661 something starting with __ and the normal name is an alias. */
33662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33665 char (*f) () = $ac_func;
33674 return f != $ac_func;
33679 rm -f conftest.
$ac_objext conftest
$ac_exeext
33680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33681 (eval $ac_link) 2>conftest.er1
33683 grep -v '^ *+' conftest.er1
>conftest.err
33685 cat conftest.err
>&5
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); } &&
33688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690 (eval $ac_try) 2>&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); }; } &&
33694 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33700 eval "$as_ac_var=yes"
33702 echo "$as_me: failed program was:" >&5
33703 sed 's/^/| /' conftest.
$ac_ext >&5
33705 eval "$as_ac_var=no"
33707 rm -f conftest.err conftest.
$ac_objext \
33708 conftest
$ac_exeext conftest.
$ac_ext
33710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33712 if test `eval echo '${'$as_ac_var'}'` = yes; then
33713 cat >>confdefs.h
<<_ACEOF
33714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33721 if test "$ac_cv_func_vsnprintf" = "yes"; then
33722 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33723 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33724 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33725 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 cat >conftest.
$ac_ext <<_ACEOF
33731 cat confdefs.h
>>conftest.
$ac_ext
33732 cat >>conftest.
$ac_ext <<_ACEOF
33733 /* end confdefs.h. */
33736 #include <stdarg.h>
33738 #if __MSL__ >= 0x6000
33740 using namespace std;
33750 vsnprintf(buf, 10u, "%s", ap);
33756 rm -f conftest.
$ac_objext
33757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33758 (eval $ac_compile) 2>conftest.er1
33760 grep -v '^ *+' conftest.er1
>conftest.err
33762 cat conftest.err
>&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); } &&
33765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33767 (eval $ac_try) 2>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); }; } &&
33771 { ac_try
='test -s conftest.$ac_objext'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; }; then
33777 wx_cv_func_vsnprintf_decl
=yes
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.
$ac_ext >&5
33782 wx_cv_func_vsnprintf_decl
=no
33785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33789 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33790 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33792 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33793 cat >>confdefs.h
<<\_ACEOF
33794 #define HAVE_VSNPRINTF_DECL 1
33798 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33799 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33800 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33801 echo $ECHO_N "(cached) $ECHO_C" >&6
33804 cat >conftest.
$ac_ext <<_ACEOF
33807 cat confdefs.h
>>conftest.
$ac_ext
33808 cat >>conftest.
$ac_ext <<_ACEOF
33809 /* end confdefs.h. */
33812 #include <stdarg.h>
33814 #if __MSL__ >= 0x6000
33816 using namespace std;
33826 const char *fmt = "%s";
33827 vsnprintf(buf, 10u, fmt, ap);
33833 rm -f conftest.
$ac_objext
33834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33835 (eval $ac_compile) 2>conftest.er1
33837 grep -v '^ *+' conftest.er1
>conftest.err
33839 cat conftest.err
>&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } &&
33842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33844 (eval $ac_try) 2>&5
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); }; } &&
33848 { ac_try
='test -s conftest.$ac_objext'
33849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33850 (eval $ac_try) 2>&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); }; }; then
33854 wx_cv_func_broken_vsnprintf_decl
=no
33856 echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.
$ac_ext >&5
33859 wx_cv_func_broken_vsnprintf_decl
=yes
33862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33866 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33867 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33869 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33870 cat >>confdefs.h
<<\_ACEOF
33871 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33878 if test "$ac_cv_func_snprintf" = "yes"; then
33879 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33880 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33881 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 cat >conftest.
$ac_ext <<_ACEOF
33888 cat confdefs.h
>>conftest.
$ac_ext
33889 cat >>conftest.
$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33893 #include <stdarg.h>
33895 #if __MSL__ >= 0x6000
33897 using namespace std;
33906 snprintf(buf, 10u, "%s", "wx");
33912 rm -f conftest.
$ac_objext
33913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33914 (eval $ac_compile) 2>conftest.er1
33916 grep -v '^ *+' conftest.er1
>conftest.err
33918 cat conftest.err
>&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } &&
33921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; } &&
33927 { ac_try
='test -s conftest.$ac_objext'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933 wx_cv_func_snprintf_decl
=yes
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.
$ac_ext >&5
33938 wx_cv_func_snprintf_decl
=no
33941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33945 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33946 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33948 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33949 cat >>confdefs.h
<<\_ACEOF
33950 #define HAVE_SNPRINTF_DECL 1
33954 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33955 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33956 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33960 cat >conftest.
$ac_ext <<_ACEOF
33963 cat confdefs.h
>>conftest.
$ac_ext
33964 cat >>conftest.
$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33968 #include <stdarg.h>
33970 #if __MSL__ >= 0x6000
33972 using namespace std;
33981 const char *fmt = "%s";
33982 snprintf(buf, 10u, fmt, "wx");
33988 rm -f conftest.
$ac_objext
33989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33990 (eval $ac_compile) 2>conftest.er1
33992 grep -v '^ *+' conftest.er1
>conftest.err
33994 cat conftest.err
>&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } &&
33997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33999 (eval $ac_try) 2>&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); }; } &&
34003 { ac_try
='test -s conftest.$ac_objext'
34004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34005 (eval $ac_try) 2>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); }; }; then
34009 wx_cv_func_broken_snprintf_decl
=no
34011 echo "$as_me: failed program was:" >&5
34012 sed 's/^/| /' conftest.
$ac_ext >&5
34014 wx_cv_func_broken_snprintf_decl
=yes
34017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34021 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34022 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34024 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34025 cat >>confdefs.h
<<\_ACEOF
34026 #define HAVE_BROKEN_SNPRINTF_DECL 1
34033 if test "$wxUSE_UNICODE" = yes; then
34040 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34043 echo "$as_me:$LINENO: checking for $ac_func" >&5
34044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34045 if eval "test \"\${$as_ac_var+set}\" = set"; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 cat >conftest.
$ac_ext <<_ACEOF
34051 cat confdefs.h
>>conftest.
$ac_ext
34052 cat >>conftest.
$ac_ext <<_ACEOF
34053 /* end confdefs.h. */
34054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34056 #define $ac_func innocuous_$ac_func
34058 /* System header to define __stub macros and hopefully few prototypes,
34059 which can conflict with char $ac_func (); below.
34060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34061 <limits.h> exists even on freestanding compilers. */
34064 # include <limits.h>
34066 # include <assert.h>
34071 /* Override any gcc2 internal prototype to avoid an error. */
34076 /* We use char because int might match the return type of a gcc2
34077 builtin and then its argument prototype would still apply. */
34079 /* The GNU C library defines this for functions which it implements
34080 to always fail with ENOSYS. Some functions are actually named
34081 something starting with __ and the normal name is an alias. */
34082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34085 char (*f) () = $ac_func;
34094 return f != $ac_func;
34099 rm -f conftest.
$ac_objext conftest
$ac_exeext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34101 (eval $ac_link) 2>conftest.er1
34103 grep -v '^ *+' conftest.er1
>conftest.err
34105 cat conftest.err
>&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; } &&
34114 { ac_try
='test -s conftest$ac_exeext'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; }; then
34120 eval "$as_ac_var=yes"
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.
$ac_ext >&5
34125 eval "$as_ac_var=no"
34127 rm -f conftest.err conftest.
$ac_objext \
34128 conftest
$ac_exeext conftest.
$ac_ext
34130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34132 if test `eval echo '${'$as_ac_var'}'` = yes; then
34133 cat >>confdefs.h
<<_ACEOF
34134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34141 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34142 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34143 cat >conftest.
$ac_ext <<_ACEOF
34146 cat confdefs.h
>>conftest.
$ac_ext
34147 cat >>conftest.
$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34158 rm -f conftest.
$ac_objext
34159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34160 (eval $ac_compile) 2>conftest.er1
34162 grep -v '^ *+' conftest.er1
>conftest.err
34164 cat conftest.err
>&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); } &&
34167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34169 (eval $ac_try) 2>&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); }; } &&
34173 { ac_try
='test -s conftest.$ac_objext'
34174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175 (eval $ac_try) 2>&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); }; }; then
34179 echo "$as_me:$LINENO: result: yes" >&5
34180 echo "${ECHO_T}yes" >&6
34181 cat >>confdefs.h
<<\_ACEOF
34182 #define HAVE__VSNWPRINTF 1
34186 echo "$as_me: failed program was:" >&5
34187 sed 's/^/| /' conftest.
$ac_ext >&5
34189 echo "$as_me:$LINENO: result: no" >&5
34190 echo "${ECHO_T}no" >&6
34192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34195 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34197 for ac_func
in fnmatch
34199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34200 echo "$as_me:$LINENO: checking for $ac_func" >&5
34201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34202 if eval "test \"\${$as_ac_var+set}\" = set"; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34205 cat >conftest.
$ac_ext <<_ACEOF
34208 cat confdefs.h
>>conftest.
$ac_ext
34209 cat >>conftest.
$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34213 #define $ac_func innocuous_$ac_func
34215 /* System header to define __stub macros and hopefully few prototypes,
34216 which can conflict with char $ac_func (); below.
34217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34218 <limits.h> exists even on freestanding compilers. */
34221 # include <limits.h>
34223 # include <assert.h>
34228 /* Override any gcc2 internal prototype to avoid an error. */
34233 /* We use char because int might match the return type of a gcc2
34234 builtin and then its argument prototype would still apply. */
34236 /* The GNU C library defines this for functions which it implements
34237 to always fail with ENOSYS. Some functions are actually named
34238 something starting with __ and the normal name is an alias. */
34239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34242 char (*f) () = $ac_func;
34251 return f != $ac_func;
34256 rm -f conftest.
$ac_objext conftest
$ac_exeext
34257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34258 (eval $ac_link) 2>conftest.er1
34260 grep -v '^ *+' conftest.er1
>conftest.err
34262 cat conftest.err
>&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); } &&
34265 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34267 (eval $ac_try) 2>&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); }; } &&
34271 { ac_try
='test -s conftest$ac_exeext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 eval "$as_ac_var=yes"
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.
$ac_ext >&5
34282 eval "$as_ac_var=no"
34284 rm -f conftest.err conftest.
$ac_objext \
34285 conftest
$ac_exeext conftest.
$ac_ext
34287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34289 if test `eval echo '${'$as_ac_var'}'` = yes; then
34290 cat >>confdefs.h
<<_ACEOF
34291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34299 if test "$wxUSE_FILE" = "yes"; then
34301 for ac_func
in fsync
34303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34304 echo "$as_me:$LINENO: checking for $ac_func" >&5
34305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34306 if eval "test \"\${$as_ac_var+set}\" = set"; then
34307 echo $ECHO_N "(cached) $ECHO_C" >&6
34309 cat >conftest.
$ac_ext <<_ACEOF
34312 cat confdefs.h
>>conftest.
$ac_ext
34313 cat >>conftest.
$ac_ext <<_ACEOF
34314 /* end confdefs.h. */
34315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34317 #define $ac_func innocuous_$ac_func
34319 /* System header to define __stub macros and hopefully few prototypes,
34320 which can conflict with char $ac_func (); below.
34321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34322 <limits.h> exists even on freestanding compilers. */
34325 # include <limits.h>
34327 # include <assert.h>
34332 /* Override any gcc2 internal prototype to avoid an error. */
34337 /* We use char because int might match the return type of a gcc2
34338 builtin and then its argument prototype would still apply. */
34340 /* The GNU C library defines this for functions which it implements
34341 to always fail with ENOSYS. Some functions are actually named
34342 something starting with __ and the normal name is an alias. */
34343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34346 char (*f) () = $ac_func;
34355 return f != $ac_func;
34360 rm -f conftest.
$ac_objext conftest
$ac_exeext
34361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34362 (eval $ac_link) 2>conftest.er1
34364 grep -v '^ *+' conftest.er1
>conftest.err
34366 cat conftest.err
>&5
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); } &&
34369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 (eval $ac_try) 2>&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); }; } &&
34375 { ac_try
='test -s conftest$ac_exeext'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; }; then
34381 eval "$as_ac_var=yes"
34383 echo "$as_me: failed program was:" >&5
34384 sed 's/^/| /' conftest.
$ac_ext >&5
34386 eval "$as_ac_var=no"
34388 rm -f conftest.err conftest.
$ac_objext \
34389 conftest
$ac_exeext conftest.
$ac_ext
34391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34393 if test `eval echo '${'$as_ac_var'}'` = yes; then
34394 cat >>confdefs.h
<<_ACEOF
34395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34404 if test "$TOOLKIT" != "MSW"; then
34410 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34411 if test "${with_libiconv_prefix+set}" = set; then
34412 withval
="$with_libiconv_prefix"
34414 for dir
in `echo "$withval" | tr : ' '`; do
34415 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34416 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34421 echo "$as_me:$LINENO: checking for iconv" >&5
34422 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34423 if test "${am_cv_func_iconv+set}" = set; then
34424 echo $ECHO_N "(cached) $ECHO_C" >&6
34427 am_cv_func_iconv
="no, consider installing GNU libiconv"
34429 cat >conftest.
$ac_ext <<_ACEOF
34432 cat confdefs.h
>>conftest.
$ac_ext
34433 cat >>conftest.
$ac_ext <<_ACEOF
34434 /* end confdefs.h. */
34435 #include <stdlib.h>
34440 iconv_t cd = iconv_open("","");
34441 iconv(cd,NULL,NULL,NULL,NULL);
34447 rm -f conftest.
$ac_objext conftest
$ac_exeext
34448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34449 (eval $ac_link) 2>conftest.er1
34451 grep -v '^ *+' conftest.er1
>conftest.err
34453 cat conftest.err
>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); } &&
34456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34458 (eval $ac_try) 2>&5
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); }; } &&
34462 { ac_try
='test -s conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34468 am_cv_func_iconv
=yes
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.
$ac_ext >&5
34474 rm -f conftest.err conftest.
$ac_objext \
34475 conftest
$ac_exeext conftest.
$ac_ext
34476 if test "$am_cv_func_iconv" != yes; then
34477 am_save_LIBS
="$LIBS"
34478 LIBS
="$LIBS -liconv"
34479 cat >conftest.
$ac_ext <<_ACEOF
34482 cat confdefs.h
>>conftest.
$ac_ext
34483 cat >>conftest.
$ac_ext <<_ACEOF
34484 /* end confdefs.h. */
34485 #include <stdlib.h>
34490 iconv_t cd = iconv_open("","");
34491 iconv(cd,NULL,NULL,NULL,NULL);
34497 rm -f conftest.
$ac_objext conftest
$ac_exeext
34498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34499 (eval $ac_link) 2>conftest.er1
34501 grep -v '^ *+' conftest.er1
>conftest.err
34503 cat conftest.err
>&5
34504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34505 (exit $ac_status); } &&
34506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34508 (eval $ac_try) 2>&5
34510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34511 (exit $ac_status); }; } &&
34512 { ac_try
='test -s conftest$ac_exeext'
34513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34514 (eval $ac_try) 2>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); }; }; then
34518 am_cv_lib_iconv
=yes
34519 am_cv_func_iconv
=yes
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.
$ac_ext >&5
34525 rm -f conftest.err conftest.
$ac_objext \
34526 conftest
$ac_exeext conftest.
$ac_ext
34527 LIBS
="$am_save_LIBS"
34531 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34532 echo "${ECHO_T}$am_cv_func_iconv" >&6
34533 if test "$am_cv_func_iconv" = yes; then
34535 cat >>confdefs.h
<<\_ACEOF
34536 #define HAVE_ICONV 1
34539 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34540 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34541 if test "${wx_cv_func_iconv_const+set}" = set; then
34542 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 cat >conftest.
$ac_ext <<_ACEOF
34547 cat confdefs.h
>>conftest.
$ac_ext
34548 cat >>conftest.
$ac_ext <<_ACEOF
34549 /* end confdefs.h. */
34551 #include <stdlib.h>
34557 #if defined(__STDC__) || defined(__cplusplus)
34558 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34571 rm -f conftest.
$ac_objext
34572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34573 (eval $ac_compile) 2>conftest.er1
34575 grep -v '^ *+' conftest.er1
>conftest.err
34577 cat conftest.err
>&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); } &&
34580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; } &&
34586 { ac_try
='test -s conftest.$ac_objext'
34587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588 (eval $ac_try) 2>&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; }; then
34592 wx_cv_func_iconv_const
="no"
34594 echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.
$ac_ext >&5
34597 wx_cv_func_iconv_const
="yes"
34600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34603 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34604 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34607 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34608 iconv_const
="const"
34612 cat >>confdefs.h
<<_ACEOF
34613 #define ICONV_CONST $iconv_const
34618 if test "$am_cv_lib_iconv" = yes; then
34623 LIBS
="$LIBICONV $LIBS"
34625 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34627 for ac_func
in sigaction
34629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34630 echo "$as_me:$LINENO: checking for $ac_func" >&5
34631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34632 if eval "test \"\${$as_ac_var+set}\" = set"; then
34633 echo $ECHO_N "(cached) $ECHO_C" >&6
34635 cat >conftest.
$ac_ext <<_ACEOF
34638 cat confdefs.h
>>conftest.
$ac_ext
34639 cat >>conftest.
$ac_ext <<_ACEOF
34640 /* end confdefs.h. */
34641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34643 #define $ac_func innocuous_$ac_func
34645 /* System header to define __stub macros and hopefully few prototypes,
34646 which can conflict with char $ac_func (); below.
34647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34648 <limits.h> exists even on freestanding compilers. */
34651 # include <limits.h>
34653 # include <assert.h>
34658 /* Override any gcc2 internal prototype to avoid an error. */
34663 /* We use char because int might match the return type of a gcc2
34664 builtin and then its argument prototype would still apply. */
34666 /* The GNU C library defines this for functions which it implements
34667 to always fail with ENOSYS. Some functions are actually named
34668 something starting with __ and the normal name is an alias. */
34669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34672 char (*f) () = $ac_func;
34681 return f != $ac_func;
34686 rm -f conftest.
$ac_objext conftest
$ac_exeext
34687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34688 (eval $ac_link) 2>conftest.er1
34690 grep -v '^ *+' conftest.er1
>conftest.err
34692 cat conftest.err
>&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); } &&
34695 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34697 (eval $ac_try) 2>&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; } &&
34701 { ac_try
='test -s conftest$ac_exeext'
34702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34703 (eval $ac_try) 2>&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); }; }; then
34707 eval "$as_ac_var=yes"
34709 echo "$as_me: failed program was:" >&5
34710 sed 's/^/| /' conftest.
$ac_ext >&5
34712 eval "$as_ac_var=no"
34714 rm -f conftest.err conftest.
$ac_objext \
34715 conftest
$ac_exeext conftest.
$ac_ext
34717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34719 if test `eval echo '${'$as_ac_var'}'` = yes; then
34720 cat >>confdefs.h
<<_ACEOF
34721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34728 if test "$ac_cv_func_sigaction" = "no"; then
34729 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34730 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34731 wxUSE_ON_FATAL_EXCEPTION
=no
34734 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34735 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34736 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34737 if test "${wx_cv_type_sa_handler+set}" = set; then
34738 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 cat >conftest.
$ac_ext <<_ACEOF
34744 cat confdefs.h
>>conftest.
$ac_ext
34745 cat >>conftest.
$ac_ext <<_ACEOF
34746 /* end confdefs.h. */
34747 #include <signal.h>
34752 extern void testSigHandler(int);
34754 struct sigaction sa;
34755 sa.sa_handler = testSigHandler;
34761 rm -f conftest.
$ac_objext
34762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34763 (eval $ac_compile) 2>conftest.er1
34765 grep -v '^ *+' conftest.er1
>conftest.err
34767 cat conftest.err
>&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); } &&
34770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34772 (eval $ac_try) 2>&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); }; } &&
34776 { ac_try
='test -s conftest.$ac_objext'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; }; then
34783 wx_cv_type_sa_handler
=int
34786 echo "$as_me: failed program was:" >&5
34787 sed 's/^/| /' conftest.
$ac_ext >&5
34790 wx_cv_type_sa_handler
=void
34793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34796 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34797 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34799 cat >>confdefs.h
<<_ACEOF
34800 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34806 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34807 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34808 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34809 if test "${wx_cv_func_backtrace+set}" = set; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 cat >conftest.
$ac_ext <<_ACEOF
34816 cat confdefs.h
>>conftest.
$ac_ext
34817 cat >>conftest.
$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819 #include <execinfo.h>
34827 backtrace(trace, 1);
34828 messages = backtrace_symbols(trace, 1);
34834 rm -f conftest.
$ac_objext
34835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34836 (eval $ac_compile) 2>conftest.er1
34838 grep -v '^ *+' conftest.er1
>conftest.err
34840 cat conftest.err
>&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); } &&
34843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34845 (eval $ac_try) 2>&5
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); }; } &&
34849 { ac_try
='test -s conftest.$ac_objext'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; }; then
34855 wx_cv_func_backtrace
=yes
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.
$ac_ext >&5
34860 wx_cv_func_backtrace
=no
34863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34867 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34868 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34871 if test "$wx_cv_func_backtrace" = "no"; then
34872 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34873 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34874 wxUSE_STACKWALKER
=no
34876 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34877 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34878 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 cat >conftest.
$ac_ext <<_ACEOF
34885 cat confdefs.h
>>conftest.
$ac_ext
34886 cat >>conftest.
$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888 #include <cxxabi.h>
34894 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34900 rm -f conftest.
$ac_objext conftest
$ac_exeext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34902 (eval $ac_link) 2>conftest.er1
34904 grep -v '^ *+' conftest.er1
>conftest.err
34906 cat conftest.err
>&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try
='test -s conftest$ac_exeext'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; }; then
34921 wx_cv_func_cxa_demangle
=yes
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.
$ac_ext >&5
34926 wx_cv_func_cxa_demangle
=no
34929 rm -f conftest.err conftest.
$ac_objext \
34930 conftest
$ac_exeext conftest.
$ac_ext
34934 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34935 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34937 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34938 cat >>confdefs.h
<<\_ACEOF
34939 #define HAVE_CXA_DEMANGLE 1
34946 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34947 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34948 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34949 wxUSE_STACKWALKER
=no
34955 for ac_func
in mkstemp mktemp
34957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34958 echo "$as_me:$LINENO: checking for $ac_func" >&5
34959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34960 if eval "test \"\${$as_ac_var+set}\" = set"; then
34961 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 cat >conftest.
$ac_ext <<_ACEOF
34966 cat confdefs.h
>>conftest.
$ac_ext
34967 cat >>conftest.
$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34971 #define $ac_func innocuous_$ac_func
34973 /* System header to define __stub macros and hopefully few prototypes,
34974 which can conflict with char $ac_func (); below.
34975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34976 <limits.h> exists even on freestanding compilers. */
34979 # include <limits.h>
34981 # include <assert.h>
34986 /* Override any gcc2 internal prototype to avoid an error. */
34991 /* We use char because int might match the return type of a gcc2
34992 builtin and then its argument prototype would still apply. */
34994 /* The GNU C library defines this for functions which it implements
34995 to always fail with ENOSYS. Some functions are actually named
34996 something starting with __ and the normal name is an alias. */
34997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35000 char (*f) () = $ac_func;
35009 return f != $ac_func;
35014 rm -f conftest.
$ac_objext conftest
$ac_exeext
35015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35016 (eval $ac_link) 2>conftest.er1
35018 grep -v '^ *+' conftest.er1
>conftest.err
35020 cat conftest.err
>&5
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); } &&
35023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35025 (eval $ac_try) 2>&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); }; } &&
35029 { ac_try
='test -s conftest$ac_exeext'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; }; then
35035 eval "$as_ac_var=yes"
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.
$ac_ext >&5
35040 eval "$as_ac_var=no"
35042 rm -f conftest.err conftest.
$ac_objext \
35043 conftest
$ac_exeext conftest.
$ac_ext
35045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35047 if test `eval echo '${'$as_ac_var'}'` = yes; then
35048 cat >>confdefs.h
<<_ACEOF
35049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35056 echo "$as_me:$LINENO: checking for statfs" >&5
35057 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35058 if test "${wx_cv_func_statfs+set}" = set; then
35059 echo $ECHO_N "(cached) $ECHO_C" >&6
35061 cat >conftest.
$ac_ext <<_ACEOF
35064 cat confdefs.h
>>conftest.
$ac_ext
35065 cat >>conftest.
$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35068 #if defined(__BSD__)
35069 #include <sys/param.h>
35070 #include <sys/mount.h>
35072 #include <sys/vfs.h>
35090 rm -f conftest.
$ac_objext
35091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35092 (eval $ac_compile) 2>conftest.er1
35094 grep -v '^ *+' conftest.er1
>conftest.err
35096 cat conftest.err
>&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } &&
35099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35101 (eval $ac_try) 2>&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); }; } &&
35105 { ac_try
='test -s conftest.$ac_objext'
35106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35107 (eval $ac_try) 2>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); }; }; then
35111 wx_cv_func_statfs
=yes
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.
$ac_ext >&5
35116 wx_cv_func_statfs
=no
35119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35122 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35123 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35125 if test "$wx_cv_func_statfs" = "yes"; then
35126 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35127 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35128 if test "${wx_cv_func_statfs_decl+set}" = set; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35131 cat >conftest.
$ac_ext <<_ACEOF
35134 cat confdefs.h
>>conftest.
$ac_ext
35135 cat >>conftest.
$ac_ext <<_ACEOF
35136 /* end confdefs.h. */
35138 #if defined(__BSD__)
35139 #include <sys/param.h>
35140 #include <sys/mount.h>
35142 #include <sys/vfs.h>
35156 rm -f conftest.
$ac_objext
35157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35158 (eval $ac_compile) 2>conftest.er1
35160 grep -v '^ *+' conftest.er1
>conftest.err
35162 cat conftest.err
>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); } &&
35165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; } &&
35171 { ac_try
='test -s conftest.$ac_objext'
35172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35173 (eval $ac_try) 2>&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); }; }; then
35177 wx_cv_func_statfs_decl
=yes
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.
$ac_ext >&5
35182 wx_cv_func_statfs_decl
=no
35185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35188 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35189 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35191 if test "$wx_cv_func_statfs_decl" = "yes"; then
35192 cat >>confdefs.h
<<\_ACEOF
35193 #define HAVE_STATFS_DECL 1
35198 wx_cv_type_statvfs_t
="struct statfs"
35199 cat >>confdefs.h
<<\_ACEOF
35200 #define HAVE_STATFS 1
35204 echo "$as_me:$LINENO: checking for statvfs" >&5
35205 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35206 if test "${wx_cv_func_statvfs+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
35209 cat >conftest.
$ac_ext <<_ACEOF
35212 cat confdefs.h
>>conftest.
$ac_ext
35213 cat >>conftest.
$ac_ext <<_ACEOF
35214 /* end confdefs.h. */
35216 #include <stddef.h>
35217 #include <sys/statvfs.h>
35223 statvfs("/", NULL);
35229 rm -f conftest.
$ac_objext
35230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35231 (eval $ac_compile) 2>conftest.er1
35233 grep -v '^ *+' conftest.er1
>conftest.err
35235 cat conftest.err
>&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } &&
35238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35240 (eval $ac_try) 2>&5
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); }; } &&
35244 { ac_try
='test -s conftest.$ac_objext'
35245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35246 (eval $ac_try) 2>&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); }; }; then
35250 wx_cv_func_statvfs
=yes
35252 echo "$as_me: failed program was:" >&5
35253 sed 's/^/| /' conftest.
$ac_ext >&5
35255 wx_cv_func_statvfs
=no
35258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35261 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35262 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35264 if test "$wx_cv_func_statvfs" = "yes"; then
35265 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35266 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35267 if test "${wx_cv_type_statvfs_t+set}" = set; then
35268 echo $ECHO_N "(cached) $ECHO_C" >&6
35270 cat >conftest.
$ac_ext <<_ACEOF
35273 cat confdefs.h
>>conftest.
$ac_ext
35274 cat >>conftest.
$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35277 #include <sys/statvfs.h>
35294 rm -f conftest.
$ac_objext
35295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35296 (eval $ac_compile) 2>conftest.er1
35298 grep -v '^ *+' conftest.er1
>conftest.err
35300 cat conftest.err
>&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } &&
35303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35305 (eval $ac_try) 2>&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); }; } &&
35309 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
35315 wx_cv_type_statvfs_t
=statvfs_t
35317 echo "$as_me: failed program was:" >&5
35318 sed 's/^/| /' conftest.
$ac_ext >&5
35321 cat >conftest.
$ac_ext <<_ACEOF
35324 cat confdefs.h
>>conftest.
$ac_ext
35325 cat >>conftest.
$ac_ext <<_ACEOF
35326 /* end confdefs.h. */
35328 #include <sys/statvfs.h>
35345 rm -f conftest.
$ac_objext
35346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35347 (eval $ac_compile) 2>conftest.er1
35349 grep -v '^ *+' conftest.er1
>conftest.err
35351 cat conftest.err
>&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); } &&
35354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; } &&
35360 { ac_try
='test -s conftest.$ac_objext'
35361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35362 (eval $ac_try) 2>&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); }; }; then
35366 wx_cv_type_statvfs_t
="struct statvfs"
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.
$ac_ext >&5
35371 wx_cv_type_statvfs_t
="unknown"
35374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35381 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35382 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35384 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35385 cat >>confdefs.h
<<\_ACEOF
35386 #define HAVE_STATVFS 1
35391 wx_cv_type_statvfs_t
="unknown"
35395 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35396 cat >>confdefs.h
<<_ACEOF
35397 #define WX_STATFS_T $wx_cv_type_statvfs_t
35401 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35402 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35405 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35408 for ac_func
in fcntl flock
35410 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35411 echo "$as_me:$LINENO: checking for $ac_func" >&5
35412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35413 if eval "test \"\${$as_ac_var+set}\" = set"; then
35414 echo $ECHO_N "(cached) $ECHO_C" >&6
35416 cat >conftest.
$ac_ext <<_ACEOF
35419 cat confdefs.h
>>conftest.
$ac_ext
35420 cat >>conftest.
$ac_ext <<_ACEOF
35421 /* end confdefs.h. */
35422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35424 #define $ac_func innocuous_$ac_func
35426 /* System header to define __stub macros and hopefully few prototypes,
35427 which can conflict with char $ac_func (); below.
35428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35429 <limits.h> exists even on freestanding compilers. */
35432 # include <limits.h>
35434 # include <assert.h>
35439 /* Override any gcc2 internal prototype to avoid an error. */
35444 /* We use char because int might match the return type of a gcc2
35445 builtin and then its argument prototype would still apply. */
35447 /* The GNU C library defines this for functions which it implements
35448 to always fail with ENOSYS. Some functions are actually named
35449 something starting with __ and the normal name is an alias. */
35450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35453 char (*f) () = $ac_func;
35462 return f != $ac_func;
35467 rm -f conftest.
$ac_objext conftest
$ac_exeext
35468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35469 (eval $ac_link) 2>conftest.er1
35471 grep -v '^ *+' conftest.er1
>conftest.err
35473 cat conftest.err
>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } &&
35476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35478 (eval $ac_try) 2>&5
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); }; } &&
35482 { ac_try
='test -s conftest$ac_exeext'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; }; then
35488 eval "$as_ac_var=yes"
35490 echo "$as_me: failed program was:" >&5
35491 sed 's/^/| /' conftest.
$ac_ext >&5
35493 eval "$as_ac_var=no"
35495 rm -f conftest.err conftest.
$ac_objext \
35496 conftest
$ac_exeext conftest.
$ac_ext
35498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35500 if test `eval echo '${'$as_ac_var'}'` = yes; then
35501 cat >>confdefs.h
<<_ACEOF
35502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35509 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35510 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35511 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35512 wxUSE_SNGLINST_CHECKER
=no
35517 for ac_func
in timegm
35519 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35520 echo "$as_me:$LINENO: checking for $ac_func" >&5
35521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35522 if eval "test \"\${$as_ac_var+set}\" = set"; then
35523 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 cat >conftest.
$ac_ext <<_ACEOF
35528 cat confdefs.h
>>conftest.
$ac_ext
35529 cat >>conftest.
$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35533 #define $ac_func innocuous_$ac_func
35535 /* System header to define __stub macros and hopefully few prototypes,
35536 which can conflict with char $ac_func (); below.
35537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35538 <limits.h> exists even on freestanding compilers. */
35541 # include <limits.h>
35543 # include <assert.h>
35548 /* Override any gcc2 internal prototype to avoid an error. */
35553 /* We use char because int might match the return type of a gcc2
35554 builtin and then its argument prototype would still apply. */
35556 /* The GNU C library defines this for functions which it implements
35557 to always fail with ENOSYS. Some functions are actually named
35558 something starting with __ and the normal name is an alias. */
35559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35562 char (*f) () = $ac_func;
35571 return f != $ac_func;
35576 rm -f conftest.
$ac_objext conftest
$ac_exeext
35577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35578 (eval $ac_link) 2>conftest.er1
35580 grep -v '^ *+' conftest.er1
>conftest.err
35582 cat conftest.err
>&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } &&
35585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35587 (eval $ac_try) 2>&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); }; } &&
35591 { ac_try
='test -s conftest$ac_exeext'
35592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35593 (eval $ac_try) 2>&5
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; }; then
35597 eval "$as_ac_var=yes"
35599 echo "$as_me: failed program was:" >&5
35600 sed 's/^/| /' conftest.
$ac_ext >&5
35602 eval "$as_ac_var=no"
35604 rm -f conftest.err conftest.
$ac_objext \
35605 conftest
$ac_exeext conftest.
$ac_ext
35607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35609 if test `eval echo '${'$as_ac_var'}'` = yes; then
35610 cat >>confdefs.h
<<_ACEOF
35611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35620 for ac_func
in putenv setenv
35622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35623 echo "$as_me:$LINENO: checking for $ac_func" >&5
35624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35625 if eval "test \"\${$as_ac_var+set}\" = set"; then
35626 echo $ECHO_N "(cached) $ECHO_C" >&6
35628 cat >conftest.
$ac_ext <<_ACEOF
35631 cat confdefs.h
>>conftest.
$ac_ext
35632 cat >>conftest.
$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35636 #define $ac_func innocuous_$ac_func
35638 /* System header to define __stub macros and hopefully few prototypes,
35639 which can conflict with char $ac_func (); below.
35640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35641 <limits.h> exists even on freestanding compilers. */
35644 # include <limits.h>
35646 # include <assert.h>
35651 /* Override any gcc2 internal prototype to avoid an error. */
35656 /* We use char because int might match the return type of a gcc2
35657 builtin and then its argument prototype would still apply. */
35659 /* The GNU C library defines this for functions which it implements
35660 to always fail with ENOSYS. Some functions are actually named
35661 something starting with __ and the normal name is an alias. */
35662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35665 char (*f) () = $ac_func;
35674 return f != $ac_func;
35679 rm -f conftest.
$ac_objext conftest
$ac_exeext
35680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35681 (eval $ac_link) 2>conftest.er1
35683 grep -v '^ *+' conftest.er1
>conftest.err
35685 cat conftest.err
>&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); } &&
35688 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35690 (eval $ac_try) 2>&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); }; } &&
35694 { ac_try
='test -s conftest$ac_exeext'
35695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35696 (eval $ac_try) 2>&5
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); }; }; then
35700 eval "$as_ac_var=yes"
35702 echo "$as_me: failed program was:" >&5
35703 sed 's/^/| /' conftest.
$ac_ext >&5
35705 eval "$as_ac_var=no"
35707 rm -f conftest.err conftest.
$ac_objext \
35708 conftest
$ac_exeext conftest.
$ac_ext
35710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35712 if test `eval echo '${'$as_ac_var'}'` = yes; then
35713 cat >>confdefs.h
<<_ACEOF
35714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35721 HAVE_SOME_SLEEP_FUNC
=0
35722 if test "$USE_BEOS" = 1; then
35723 cat >>confdefs.h
<<\_ACEOF
35724 #define HAVE_SLEEP 1
35727 HAVE_SOME_SLEEP_FUNC
=1
35730 if test "$USE_DARWIN" = 1; then
35731 cat >>confdefs.h
<<\_ACEOF
35732 #define HAVE_USLEEP 1
35735 HAVE_SOME_SLEEP_FUNC
=1
35738 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35741 for ac_func
in nanosleep
35743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35744 echo "$as_me:$LINENO: checking for $ac_func" >&5
35745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35746 if eval "test \"\${$as_ac_var+set}\" = set"; then
35747 echo $ECHO_N "(cached) $ECHO_C" >&6
35749 cat >conftest.
$ac_ext <<_ACEOF
35752 cat confdefs.h
>>conftest.
$ac_ext
35753 cat >>conftest.
$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35757 #define $ac_func innocuous_$ac_func
35759 /* System header to define __stub macros and hopefully few prototypes,
35760 which can conflict with char $ac_func (); below.
35761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35762 <limits.h> exists even on freestanding compilers. */
35765 # include <limits.h>
35767 # include <assert.h>
35772 /* Override any gcc2 internal prototype to avoid an error. */
35777 /* We use char because int might match the return type of a gcc2
35778 builtin and then its argument prototype would still apply. */
35780 /* The GNU C library defines this for functions which it implements
35781 to always fail with ENOSYS. Some functions are actually named
35782 something starting with __ and the normal name is an alias. */
35783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35786 char (*f) () = $ac_func;
35795 return f != $ac_func;
35800 rm -f conftest.
$ac_objext conftest
$ac_exeext
35801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35802 (eval $ac_link) 2>conftest.er1
35804 grep -v '^ *+' conftest.er1
>conftest.err
35806 cat conftest.err
>&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); } &&
35809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35811 (eval $ac_try) 2>&5
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); }; } &&
35815 { ac_try
='test -s conftest$ac_exeext'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; }; then
35821 eval "$as_ac_var=yes"
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.
$ac_ext >&5
35826 eval "$as_ac_var=no"
35828 rm -f conftest.err conftest.
$ac_objext \
35829 conftest
$ac_exeext conftest.
$ac_ext
35831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35833 if test `eval echo '${'$as_ac_var'}'` = yes; then
35834 cat >>confdefs.h
<<_ACEOF
35835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define HAVE_NANOSLEEP 1
35843 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35844 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35845 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 ac_check_lib_save_LIBS
=$LIBS
35849 LIBS
="-lposix4 $LIBS"
35850 cat >conftest.
$ac_ext <<_ACEOF
35853 cat confdefs.h
>>conftest.
$ac_ext
35854 cat >>conftest.
$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35857 /* Override any gcc2 internal prototype to avoid an error. */
35861 /* We use char because int might match the return type of a gcc2
35862 builtin and then its argument prototype would still apply. */
35872 rm -f conftest.
$ac_objext conftest
$ac_exeext
35873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35874 (eval $ac_link) 2>conftest.er1
35876 grep -v '^ *+' conftest.er1
>conftest.err
35878 cat conftest.err
>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } &&
35881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; } &&
35887 { ac_try
='test -s conftest$ac_exeext'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; }; then
35893 ac_cv_lib_posix4_nanosleep
=yes
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.
$ac_ext >&5
35898 ac_cv_lib_posix4_nanosleep
=no
35900 rm -f conftest.err conftest.
$ac_objext \
35901 conftest
$ac_exeext conftest.
$ac_ext
35902 LIBS
=$ac_check_lib_save_LIBS
35904 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35905 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35906 if test $ac_cv_lib_posix4_nanosleep = yes; then
35908 cat >>confdefs.h
<<\_ACEOF
35909 #define HAVE_NANOSLEEP 1
35912 POSIX4_LINK
=" -lposix4"
35917 for ac_func
in usleep
35919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35920 echo "$as_me:$LINENO: checking for $ac_func" >&5
35921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35922 if eval "test \"\${$as_ac_var+set}\" = set"; then
35923 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 cat >conftest.
$ac_ext <<_ACEOF
35928 cat confdefs.h
>>conftest.
$ac_ext
35929 cat >>conftest.
$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35933 #define $ac_func innocuous_$ac_func
35935 /* System header to define __stub macros and hopefully few prototypes,
35936 which can conflict with char $ac_func (); below.
35937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35938 <limits.h> exists even on freestanding compilers. */
35941 # include <limits.h>
35943 # include <assert.h>
35948 /* Override any gcc2 internal prototype to avoid an error. */
35953 /* We use char because int might match the return type of a gcc2
35954 builtin and then its argument prototype would still apply. */
35956 /* The GNU C library defines this for functions which it implements
35957 to always fail with ENOSYS. Some functions are actually named
35958 something starting with __ and the normal name is an alias. */
35959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35962 char (*f) () = $ac_func;
35971 return f != $ac_func;
35976 rm -f conftest.
$ac_objext conftest
$ac_exeext
35977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35978 (eval $ac_link) 2>conftest.er1
35980 grep -v '^ *+' conftest.er1
>conftest.err
35982 cat conftest.err
>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); } &&
35985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; } &&
35991 { ac_try
='test -s conftest$ac_exeext'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; }; then
35997 eval "$as_ac_var=yes"
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.
$ac_ext >&5
36002 eval "$as_ac_var=no"
36004 rm -f conftest.err conftest.
$ac_objext \
36005 conftest
$ac_exeext conftest.
$ac_ext
36007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36009 if test `eval echo '${'$as_ac_var'}'` = yes; then
36010 cat >>confdefs.h
<<_ACEOF
36011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36013 cat >>confdefs.h
<<\_ACEOF
36014 #define HAVE_USLEEP 1
36018 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36019 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36037 for ac_func
in uname gethostname
36039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36040 echo "$as_me:$LINENO: checking for $ac_func" >&5
36041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36042 if eval "test \"\${$as_ac_var+set}\" = set"; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36045 cat >conftest.
$ac_ext <<_ACEOF
36048 cat confdefs.h
>>conftest.
$ac_ext
36049 cat >>conftest.
$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36053 #define $ac_func innocuous_$ac_func
36055 /* System header to define __stub macros and hopefully few prototypes,
36056 which can conflict with char $ac_func (); below.
36057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36058 <limits.h> exists even on freestanding compilers. */
36061 # include <limits.h>
36063 # include <assert.h>
36068 /* Override any gcc2 internal prototype to avoid an error. */
36073 /* We use char because int might match the return type of a gcc2
36074 builtin and then its argument prototype would still apply. */
36076 /* The GNU C library defines this for functions which it implements
36077 to always fail with ENOSYS. Some functions are actually named
36078 something starting with __ and the normal name is an alias. */
36079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36082 char (*f) () = $ac_func;
36091 return f != $ac_func;
36096 rm -f conftest.
$ac_objext conftest
$ac_exeext
36097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36098 (eval $ac_link) 2>conftest.er1
36100 grep -v '^ *+' conftest.er1
>conftest.err
36102 cat conftest.err
>&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } &&
36105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36107 (eval $ac_try) 2>&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); }; } &&
36111 { ac_try
='test -s conftest$ac_exeext'
36112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36113 (eval $ac_try) 2>&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); }; }; then
36117 eval "$as_ac_var=yes"
36119 echo "$as_me: failed program was:" >&5
36120 sed 's/^/| /' conftest.
$ac_ext >&5
36122 eval "$as_ac_var=no"
36124 rm -f conftest.err conftest.
$ac_objext \
36125 conftest
$ac_exeext conftest.
$ac_ext
36127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36129 if test `eval echo '${'$as_ac_var'}'` = yes; then
36130 cat >>confdefs.h
<<_ACEOF
36131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36139 for ac_func
in strtok_r
36141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36142 echo "$as_me:$LINENO: checking for $ac_func" >&5
36143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36144 if eval "test \"\${$as_ac_var+set}\" = set"; then
36145 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 cat >conftest.
$ac_ext <<_ACEOF
36150 cat confdefs.h
>>conftest.
$ac_ext
36151 cat >>conftest.
$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36155 #define $ac_func innocuous_$ac_func
36157 /* System header to define __stub macros and hopefully few prototypes,
36158 which can conflict with char $ac_func (); below.
36159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36160 <limits.h> exists even on freestanding compilers. */
36163 # include <limits.h>
36165 # include <assert.h>
36170 /* Override any gcc2 internal prototype to avoid an error. */
36175 /* We use char because int might match the return type of a gcc2
36176 builtin and then its argument prototype would still apply. */
36178 /* The GNU C library defines this for functions which it implements
36179 to always fail with ENOSYS. Some functions are actually named
36180 something starting with __ and the normal name is an alias. */
36181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36184 char (*f) () = $ac_func;
36193 return f != $ac_func;
36198 rm -f conftest.
$ac_objext conftest
$ac_exeext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36200 (eval $ac_link) 2>conftest.er1
36202 grep -v '^ *+' conftest.er1
>conftest.err
36204 cat conftest.err
>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
36213 { ac_try
='test -s conftest$ac_exeext'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; }; then
36219 eval "$as_ac_var=yes"
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.
$ac_ext >&5
36224 eval "$as_ac_var=no"
36226 rm -f conftest.err conftest.
$ac_objext \
36227 conftest
$ac_exeext conftest.
$ac_ext
36229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36231 if test `eval echo '${'$as_ac_var'}'` = yes; then
36232 cat >>confdefs.h
<<_ACEOF
36233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36242 for ac_func
in inet_addr
36244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36245 echo "$as_me:$LINENO: checking for $ac_func" >&5
36246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36247 if eval "test \"\${$as_ac_var+set}\" = set"; then
36248 echo $ECHO_N "(cached) $ECHO_C" >&6
36250 cat >conftest.
$ac_ext <<_ACEOF
36253 cat confdefs.h
>>conftest.
$ac_ext
36254 cat >>conftest.
$ac_ext <<_ACEOF
36255 /* end confdefs.h. */
36256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36258 #define $ac_func innocuous_$ac_func
36260 /* System header to define __stub macros and hopefully few prototypes,
36261 which can conflict with char $ac_func (); below.
36262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36263 <limits.h> exists even on freestanding compilers. */
36266 # include <limits.h>
36268 # include <assert.h>
36273 /* Override any gcc2 internal prototype to avoid an error. */
36278 /* We use char because int might match the return type of a gcc2
36279 builtin and then its argument prototype would still apply. */
36281 /* The GNU C library defines this for functions which it implements
36282 to always fail with ENOSYS. Some functions are actually named
36283 something starting with __ and the normal name is an alias. */
36284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36287 char (*f) () = $ac_func;
36296 return f != $ac_func;
36301 rm -f conftest.
$ac_objext conftest
$ac_exeext
36302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36303 (eval $ac_link) 2>conftest.er1
36305 grep -v '^ *+' conftest.er1
>conftest.err
36307 cat conftest.err
>&5
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); } &&
36310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36312 (eval $ac_try) 2>&5
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); }; } &&
36316 { ac_try
='test -s conftest$ac_exeext'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; }; then
36322 eval "$as_ac_var=yes"
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.
$ac_ext >&5
36327 eval "$as_ac_var=no"
36329 rm -f conftest.err conftest.
$ac_objext \
36330 conftest
$ac_exeext conftest.
$ac_ext
36332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36334 if test `eval echo '${'$as_ac_var'}'` = yes; then
36335 cat >>confdefs.h
<<_ACEOF
36336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36338 cat >>confdefs.h
<<\_ACEOF
36339 #define HAVE_INET_ADDR 1
36344 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36345 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36346 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36347 echo $ECHO_N "(cached) $ECHO_C" >&6
36349 ac_check_lib_save_LIBS
=$LIBS
36351 cat >conftest.
$ac_ext <<_ACEOF
36354 cat confdefs.h
>>conftest.
$ac_ext
36355 cat >>conftest.
$ac_ext <<_ACEOF
36356 /* end confdefs.h. */
36358 /* Override any gcc2 internal prototype to avoid an error. */
36362 /* We use char because int might match the return type of a gcc2
36363 builtin and then its argument prototype would still apply. */
36373 rm -f conftest.
$ac_objext conftest
$ac_exeext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36375 (eval $ac_link) 2>conftest.er1
36377 grep -v '^ *+' conftest.er1
>conftest.err
36379 cat conftest.err
>&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36384 (eval $ac_try) 2>&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); }; } &&
36388 { ac_try
='test -s conftest$ac_exeext'
36389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390 (eval $ac_try) 2>&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); }; }; then
36394 ac_cv_lib_nsl_inet_addr
=yes
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.
$ac_ext >&5
36399 ac_cv_lib_nsl_inet_addr
=no
36401 rm -f conftest.err conftest.
$ac_objext \
36402 conftest
$ac_exeext conftest.
$ac_ext
36403 LIBS
=$ac_check_lib_save_LIBS
36405 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36406 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36407 if test $ac_cv_lib_nsl_inet_addr = yes; then
36411 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36412 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36413 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36414 echo $ECHO_N "(cached) $ECHO_C" >&6
36416 ac_check_lib_save_LIBS
=$LIBS
36417 LIBS
="-lresolv $LIBS"
36418 cat >conftest.
$ac_ext <<_ACEOF
36421 cat confdefs.h
>>conftest.
$ac_ext
36422 cat >>conftest.
$ac_ext <<_ACEOF
36423 /* end confdefs.h. */
36425 /* Override any gcc2 internal prototype to avoid an error. */
36429 /* We use char because int might match the return type of a gcc2
36430 builtin and then its argument prototype would still apply. */
36440 rm -f conftest.
$ac_objext conftest
$ac_exeext
36441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36442 (eval $ac_link) 2>conftest.er1
36444 grep -v '^ *+' conftest.er1
>conftest.err
36446 cat conftest.err
>&5
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); } &&
36449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36451 (eval $ac_try) 2>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); }; } &&
36455 { ac_try
='test -s conftest$ac_exeext'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; }; then
36461 ac_cv_lib_resolv_inet_addr
=yes
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.
$ac_ext >&5
36466 ac_cv_lib_resolv_inet_addr
=no
36468 rm -f conftest.err conftest.
$ac_objext \
36469 conftest
$ac_exeext conftest.
$ac_ext
36470 LIBS
=$ac_check_lib_save_LIBS
36472 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36473 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36474 if test $ac_cv_lib_resolv_inet_addr = yes; then
36478 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36479 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36480 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 ac_check_lib_save_LIBS
=$LIBS
36484 LIBS
="-lsocket $LIBS"
36485 cat >conftest.
$ac_ext <<_ACEOF
36488 cat confdefs.h
>>conftest.
$ac_ext
36489 cat >>conftest.
$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36492 /* Override any gcc2 internal prototype to avoid an error. */
36496 /* We use char because int might match the return type of a gcc2
36497 builtin and then its argument prototype would still apply. */
36507 rm -f conftest.
$ac_objext conftest
$ac_exeext
36508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36509 (eval $ac_link) 2>conftest.er1
36511 grep -v '^ *+' conftest.er1
>conftest.err
36513 cat conftest.err
>&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); } &&
36516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36518 (eval $ac_try) 2>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); }; } &&
36522 { ac_try
='test -s conftest$ac_exeext'
36523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36524 (eval $ac_try) 2>&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); }; }; then
36528 ac_cv_lib_socket_inet_addr
=yes
36530 echo "$as_me: failed program was:" >&5
36531 sed 's/^/| /' conftest.
$ac_ext >&5
36533 ac_cv_lib_socket_inet_addr
=no
36535 rm -f conftest.err conftest.
$ac_objext \
36536 conftest
$ac_exeext conftest.
$ac_ext
36537 LIBS
=$ac_check_lib_save_LIBS
36539 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36540 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36541 if test $ac_cv_lib_socket_inet_addr = yes; then
36561 for ac_func
in inet_aton
36563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36564 echo "$as_me:$LINENO: checking for $ac_func" >&5
36565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36566 if eval "test \"\${$as_ac_var+set}\" = set"; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36569 cat >conftest.
$ac_ext <<_ACEOF
36572 cat confdefs.h
>>conftest.
$ac_ext
36573 cat >>conftest.
$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36577 #define $ac_func innocuous_$ac_func
36579 /* System header to define __stub macros and hopefully few prototypes,
36580 which can conflict with char $ac_func (); below.
36581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36582 <limits.h> exists even on freestanding compilers. */
36585 # include <limits.h>
36587 # include <assert.h>
36592 /* Override any gcc2 internal prototype to avoid an error. */
36597 /* We use char because int might match the return type of a gcc2
36598 builtin and then its argument prototype would still apply. */
36600 /* The GNU C library defines this for functions which it implements
36601 to always fail with ENOSYS. Some functions are actually named
36602 something starting with __ and the normal name is an alias. */
36603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36606 char (*f) () = $ac_func;
36615 return f != $ac_func;
36620 rm -f conftest.
$ac_objext conftest
$ac_exeext
36621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36622 (eval $ac_link) 2>conftest.er1
36624 grep -v '^ *+' conftest.er1
>conftest.err
36626 cat conftest.err
>&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } &&
36629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try
='test -s conftest$ac_exeext'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; }; then
36641 eval "$as_ac_var=yes"
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.
$ac_ext >&5
36646 eval "$as_ac_var=no"
36648 rm -f conftest.err conftest.
$ac_objext \
36649 conftest
$ac_exeext conftest.
$ac_ext
36651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36653 if test `eval echo '${'$as_ac_var'}'` = yes; then
36654 cat >>confdefs.h
<<_ACEOF
36655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36657 cat >>confdefs.h
<<\_ACEOF
36658 #define HAVE_INET_ATON 1
36663 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36664 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36665 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36666 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36669 ac_check_lib_save_LIBS
=$LIBS
36670 LIBS
="-l$INET_LINK $LIBS"
36671 cat >conftest.
$ac_ext <<_ACEOF
36674 cat confdefs.h
>>conftest.
$ac_ext
36675 cat >>conftest.
$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36678 /* Override any gcc2 internal prototype to avoid an error. */
36682 /* We use char because int might match the return type of a gcc2
36683 builtin and then its argument prototype would still apply. */
36693 rm -f conftest.
$ac_objext conftest
$ac_exeext
36694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36695 (eval $ac_link) 2>conftest.er1
36697 grep -v '^ *+' conftest.er1
>conftest.err
36699 cat conftest.err
>&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } &&
36702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; } &&
36708 { ac_try
='test -s conftest$ac_exeext'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; }; then
36714 eval "$as_ac_Lib=yes"
36716 echo "$as_me: failed program was:" >&5
36717 sed 's/^/| /' conftest.
$ac_ext >&5
36719 eval "$as_ac_Lib=no"
36721 rm -f conftest.err conftest.
$ac_objext \
36722 conftest
$ac_exeext conftest.
$ac_ext
36723 LIBS
=$ac_check_lib_save_LIBS
36725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36726 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36727 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36728 cat >>confdefs.h
<<\_ACEOF
36729 #define HAVE_INET_ATON 1
36739 if test "x$INET_LINK" != "x"; then
36740 cat >>confdefs.h
<<\_ACEOF
36741 #define HAVE_INET_ADDR 1
36744 INET_LINK
=" -l$INET_LINK"
36752 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36753 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36754 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36757 ac_check_lib_save_LIBS
=$LIBS
36759 cat >conftest.
$ac_ext <<_ACEOF
36762 cat confdefs.h
>>conftest.
$ac_ext
36763 cat >>conftest.
$ac_ext <<_ACEOF
36764 /* end confdefs.h. */
36766 /* Override any gcc2 internal prototype to avoid an error. */
36770 /* We use char because int might match the return type of a gcc2
36771 builtin and then its argument prototype would still apply. */
36781 rm -f conftest.
$ac_objext conftest
$ac_exeext
36782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36783 (eval $ac_link) 2>conftest.er1
36785 grep -v '^ *+' conftest.er1
>conftest.err
36787 cat conftest.err
>&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } &&
36790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36792 (eval $ac_try) 2>&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; } &&
36796 { ac_try
='test -s conftest$ac_exeext'
36797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36798 (eval $ac_try) 2>&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); }; }; then
36802 ac_cv_lib_esd_esd_close
=yes
36804 echo "$as_me: failed program was:" >&5
36805 sed 's/^/| /' conftest.
$ac_ext >&5
36807 ac_cv_lib_esd_esd_close
=no
36809 rm -f conftest.err conftest.
$ac_objext \
36810 conftest
$ac_exeext conftest.
$ac_ext
36811 LIBS
=$ac_check_lib_save_LIBS
36813 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36814 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36815 if test $ac_cv_lib_esd_esd_close = yes; then
36818 for ac_header
in esd.h
36820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36822 echo "$as_me:$LINENO: checking for $ac_header" >&5
36823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36830 # Is the header compilable?
36831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36833 cat >conftest.
$ac_ext <<_ACEOF
36836 cat confdefs.h
>>conftest.
$ac_ext
36837 cat >>conftest.
$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36839 $ac_includes_default
36840 #include <$ac_header>
36842 rm -f conftest.
$ac_objext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36844 (eval $ac_compile) 2>conftest.er1
36846 grep -v '^ *+' conftest.er1
>conftest.err
36848 cat conftest.err
>&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } &&
36851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36853 (eval $ac_try) 2>&5
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); }; } &&
36857 { ac_try
='test -s conftest.$ac_objext'
36858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36859 (eval $ac_try) 2>&5
36861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36862 (exit $ac_status); }; }; then
36863 ac_header_compiler
=yes
36865 echo "$as_me: failed program was:" >&5
36866 sed 's/^/| /' conftest.
$ac_ext >&5
36868 ac_header_compiler
=no
36870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36872 echo "${ECHO_T}$ac_header_compiler" >&6
36874 # Is the header present?
36875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36877 cat >conftest.
$ac_ext <<_ACEOF
36880 cat confdefs.h
>>conftest.
$ac_ext
36881 cat >>conftest.
$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36883 #include <$ac_header>
36885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36888 grep -v '^ *+' conftest.er1
>conftest.err
36890 cat conftest.err
>&5
36891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892 (exit $ac_status); } >/dev
/null
; then
36893 if test -s conftest.err
; then
36894 ac_cpp_err
=$ac_cxx_preproc_warn_flag
36895 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
36902 if test -z "$ac_cpp_err"; then
36903 ac_header_preproc
=yes
36905 echo "$as_me: failed program was:" >&5
36906 sed 's/^/| /' conftest.
$ac_ext >&5
36908 ac_header_preproc
=no
36910 rm -f conftest.err conftest.
$ac_ext
36911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36912 echo "${ECHO_T}$ac_header_preproc" >&6
36914 # So? What about this header?
36915 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
36917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36921 ac_header_preproc
=yes
36924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36938 ## ----------------------------------------- ##
36939 ## Report this to wx-dev@lists.wxwidgets.org ##
36940 ## ----------------------------------------- ##
36943 sed "s/^/$as_me: WARNING: /" >&2
36946 echo "$as_me:$LINENO: checking for $ac_header" >&5
36947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36951 eval "$as_ac_Header=\$ac_header_preproc"
36953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36958 cat >>confdefs.h
<<_ACEOF
36959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36962 EXTRALIBS_ESD
="-lesd"
36973 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36974 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36975 cat >conftest.
$ac_ext <<_ACEOF
36978 cat confdefs.h
>>conftest.
$ac_ext
36979 cat >>conftest.
$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36982 #include <linux/cdrom.h>
36985 #include <sys/cdio.h>
36991 struct cdrom_tocentry entry, old_entry;
36996 rm -f conftest.
$ac_objext
36997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36998 (eval $ac_compile) 2>conftest.er1
37000 grep -v '^ *+' conftest.er1
>conftest.err
37002 cat conftest.err
>&5
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); } &&
37005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37007 (eval $ac_try) 2>&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); }; } &&
37011 { ac_try
='test -s conftest.$ac_objext'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; }; then
37017 echo "$as_me:$LINENO: result: yes" >&5
37018 echo "${ECHO_T}yes" >&6
37019 cat >>confdefs.h
<<\_ACEOF
37020 #define HAVE_KNOWN_CDROM_INTERFACE 1
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.
$ac_ext >&5
37027 echo "$as_me:$LINENO: result: no" >&5
37028 echo "${ECHO_T}no" >&6
37030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37033 cat >confcache
<<\_ACEOF
37034 # This file is a shell script that caches the results of configure
37035 # tests run on this system so they can be shared between configure
37036 # scripts and configure runs, see configure's option --config-cache.
37037 # It is not useful on other systems. If it contains results you don't
37038 # want to keep, you may remove or edit it.
37040 # config.status only pays attention to the cache file if you give it
37041 # the --recheck option to rerun configure.
37043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37045 # following values.
37049 # The following way of writing the cache mishandles newlines in values,
37050 # but we know of no workaround that is simple, portable, and efficient.
37051 # So, don't put newlines in cache variables' values.
37052 # Ultrix sh set writes to stderr and can't be redirected directly,
37053 # and sets the high bit in the cache file unless we assign to the vars.
37056 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37058 # `set' does not quote correctly, so add quotes (double-quote
37059 # substitution turns \\\\ into \\, and sed turns \\ into \).
37062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37065 # `set' quotes correctly as required by POSIX, so do not add quotes.
37067 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37076 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37078 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37079 if test -w $cache_file; then
37080 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37081 cat confcache
>$cache_file
37083 echo "not updating unwritable cache $cache_file"
37089 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37095 if test "$wxUSE_THREADS" = "yes" ; then
37096 if test "$USE_BEOS" = 1; then
37097 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37098 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37103 if test "$wxUSE_THREADS" = "yes" ; then
37106 THREAD_OPTS
="-pthread"
37108 *-*-solaris2* | *-*-sunos4* )
37109 if test "x$GCC" = "xyes"; then
37110 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37112 THREAD_OPTS
="-mt $THREAD_OPTS"
37116 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37118 *-*-darwin* | *-*-cygwin* )
37122 THREAD_OPTS
="pthreads"
37125 if test "x$GCC" = "xyes"; then
37126 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37134 if test "x$GCC" = "xyes"; then
37140 if test "x$GCC" != "xyes"; then
37141 THREAD_OPTS
="-Ethread"
37146 THREAD_OPTS
="$THREAD_OPTS pthread none"
37149 for flag
in $THREAD_OPTS; do
37152 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37153 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37157 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37158 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37159 THREADS_CXXFLAGS
="$flag"
37163 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37164 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37165 THREADS_LINK
="-l$flag"
37170 save_CXXFLAGS
="$CXXFLAGS"
37171 LIBS
="$THREADS_LINK $LIBS"
37172 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37174 cat >conftest.
$ac_ext <<_ACEOF
37177 cat confdefs.h
>>conftest.
$ac_ext
37178 cat >>conftest.
$ac_ext <<_ACEOF
37179 /* end confdefs.h. */
37180 #include <pthread.h>
37184 pthread_create(0,0,0,0);
37189 rm -f conftest.
$ac_objext conftest
$ac_exeext
37190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37191 (eval $ac_link) 2>conftest.er1
37193 grep -v '^ *+' conftest.er1
>conftest.err
37195 cat conftest.err
>&5
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); } &&
37198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; } &&
37204 { ac_try
='test -s conftest$ac_exeext'
37205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206 (eval $ac_try) 2>&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); }; }; then
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.
$ac_ext >&5
37216 rm -f conftest.err conftest.
$ac_objext \
37217 conftest
$ac_exeext conftest.
$ac_ext
37220 CXXFLAGS
="$save_CXXFLAGS"
37222 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37223 echo "${ECHO_T}$THREADS_OK" >&6
37224 if test "x$THREADS_OK" = "xyes"; then
37229 THREADS_CXXFLAGS
=""
37232 if test "x$THREADS_OK" != "xyes"; then
37234 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37235 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37237 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
37238 LIBS
="$THREADS_LINK $LIBS"
37240 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37241 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37245 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37246 flag
="-D_THREAD_SAFE"
37249 flag
="-D_THREAD_SAFE"
37252 flag
="-D_REENTRANT"
37253 if test "x$GCC" != "xyes"; then
37254 flag
="$flag -D_RWSTD_MULTI_THREAD"
37257 *solaris
* | alpha
*-osf*)
37258 flag
="-D_REENTRANT"
37261 echo "$as_me:$LINENO: result: ${flag}" >&5
37262 echo "${ECHO_T}${flag}" >&6
37263 if test "x$flag" != xno
; then
37264 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
37267 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37271 if test "$wxUSE_THREADS" = "yes" ; then
37273 for ac_func
in thr_setconcurrency
37275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37276 echo "$as_me:$LINENO: checking for $ac_func" >&5
37277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37278 if eval "test \"\${$as_ac_var+set}\" = set"; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37281 cat >conftest.
$ac_ext <<_ACEOF
37284 cat confdefs.h
>>conftest.
$ac_ext
37285 cat >>conftest.
$ac_ext <<_ACEOF
37286 /* end confdefs.h. */
37287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37289 #define $ac_func innocuous_$ac_func
37291 /* System header to define __stub macros and hopefully few prototypes,
37292 which can conflict with char $ac_func (); below.
37293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37294 <limits.h> exists even on freestanding compilers. */
37297 # include <limits.h>
37299 # include <assert.h>
37304 /* Override any gcc2 internal prototype to avoid an error. */
37309 /* We use char because int might match the return type of a gcc2
37310 builtin and then its argument prototype would still apply. */
37312 /* The GNU C library defines this for functions which it implements
37313 to always fail with ENOSYS. Some functions are actually named
37314 something starting with __ and the normal name is an alias. */
37315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37318 char (*f) () = $ac_func;
37327 return f != $ac_func;
37332 rm -f conftest.
$ac_objext conftest
$ac_exeext
37333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37334 (eval $ac_link) 2>conftest.er1
37336 grep -v '^ *+' conftest.er1
>conftest.err
37338 cat conftest.err
>&5
37339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37340 (exit $ac_status); } &&
37341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37343 (eval $ac_try) 2>&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); }; } &&
37347 { ac_try
='test -s conftest$ac_exeext'
37348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37349 (eval $ac_try) 2>&5
37351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352 (exit $ac_status); }; }; then
37353 eval "$as_ac_var=yes"
37355 echo "$as_me: failed program was:" >&5
37356 sed 's/^/| /' conftest.
$ac_ext >&5
37358 eval "$as_ac_var=no"
37360 rm -f conftest.err conftest.
$ac_objext \
37361 conftest
$ac_exeext conftest.
$ac_ext
37363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37365 if test `eval echo '${'$as_ac_var'}'` = yes; then
37366 cat >>confdefs.h
<<_ACEOF
37367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37374 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37375 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37376 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37380 cat >conftest.
$ac_ext <<_ACEOF
37383 cat confdefs.h
>>conftest.
$ac_ext
37384 cat >>conftest.
$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 #include <pthread.h>
37387 void ThreadCleanupFunc(void *p);
37394 pthread_cleanup_push(ThreadCleanupFunc, p);
37395 pthread_cleanup_pop(0);
37401 rm -f conftest.
$ac_objext
37402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37403 (eval $ac_compile) 2>conftest.er1
37405 grep -v '^ *+' conftest.er1
>conftest.err
37407 cat conftest.err
>&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); } &&
37410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; } &&
37416 { ac_try
='test -s conftest.$ac_objext'
37417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418 (eval $ac_try) 2>&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); }; }; then
37423 wx_cv_func_pthread_cleanup
=yes
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.
$ac_ext >&5
37430 wx_cv_func_pthread_cleanup
=no
37434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37437 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37438 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37439 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37440 cat >>confdefs.h
<<\_ACEOF
37441 #define wxHAVE_PTHREAD_CLEANUP 1
37447 for ac_header
in sched.h
37449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37451 echo "$as_me:$LINENO: checking for $ac_header" >&5
37452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37459 # Is the header compilable?
37460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37462 cat >conftest.
$ac_ext <<_ACEOF
37465 cat confdefs.h
>>conftest.
$ac_ext
37466 cat >>conftest.
$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37468 $ac_includes_default
37469 #include <$ac_header>
37471 rm -f conftest.
$ac_objext
37472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37473 (eval $ac_compile) 2>conftest.er1
37475 grep -v '^ *+' conftest.er1
>conftest.err
37477 cat conftest.err
>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } &&
37480 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37482 (eval $ac_try) 2>&5
37484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485 (exit $ac_status); }; } &&
37486 { ac_try
='test -s conftest.$ac_objext'
37487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37488 (eval $ac_try) 2>&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); }; }; then
37492 ac_header_compiler
=yes
37494 echo "$as_me: failed program was:" >&5
37495 sed 's/^/| /' conftest.
$ac_ext >&5
37497 ac_header_compiler
=no
37499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37501 echo "${ECHO_T}$ac_header_compiler" >&6
37503 # Is the header present?
37504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37506 cat >conftest.
$ac_ext <<_ACEOF
37509 cat confdefs.h
>>conftest.
$ac_ext
37510 cat >>conftest.
$ac_ext <<_ACEOF
37511 /* end confdefs.h. */
37512 #include <$ac_header>
37514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37517 grep -v '^ *+' conftest.er1
>conftest.err
37519 cat conftest.err
>&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } >/dev
/null
; then
37522 if test -s conftest.err
; then
37523 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37524 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37531 if test -z "$ac_cpp_err"; then
37532 ac_header_preproc
=yes
37534 echo "$as_me: failed program was:" >&5
37535 sed 's/^/| /' conftest.
$ac_ext >&5
37537 ac_header_preproc
=no
37539 rm -f conftest.err conftest.
$ac_ext
37540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37541 echo "${ECHO_T}$ac_header_preproc" >&6
37543 # So? What about this header?
37544 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37549 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37550 ac_header_preproc
=yes
37553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37558 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37560 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37564 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37567 ## ----------------------------------------- ##
37568 ## Report this to wx-dev@lists.wxwidgets.org ##
37569 ## ----------------------------------------- ##
37572 sed "s/^/$as_me: WARNING: /" >&2
37575 echo "$as_me:$LINENO: checking for $ac_header" >&5
37576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37580 eval "$as_ac_Header=\$ac_header_preproc"
37582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37587 cat >>confdefs.h
<<_ACEOF
37588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37595 if test "$ac_cv_header_sched_h" = "yes"; then
37596 echo "$as_me:$LINENO: checking for sched_yield" >&5
37597 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37598 if test "${ac_cv_func_sched_yield+set}" = set; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define sched_yield innocuous_sched_yield
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char sched_yield (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37617 # include <limits.h>
37619 # include <assert.h>
37624 /* Override any gcc2 internal prototype to avoid an error. */
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37631 char sched_yield ();
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37638 char (*f) () = sched_yield;
37647 return f != sched_yield;
37652 rm -f conftest.
$ac_objext conftest
$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37656 grep -v '^ *+' conftest.er1
>conftest.err
37658 cat conftest.err
>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; } &&
37667 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
37673 ac_cv_func_sched_yield
=yes
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.
$ac_ext >&5
37678 ac_cv_func_sched_yield
=no
37680 rm -f conftest.err conftest.
$ac_objext \
37681 conftest
$ac_exeext conftest.
$ac_ext
37683 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37684 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37685 if test $ac_cv_func_sched_yield = yes; then
37686 cat >>confdefs.h
<<\_ACEOF
37687 #define HAVE_SCHED_YIELD 1
37692 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37693 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37694 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 ac_check_lib_save_LIBS
=$LIBS
37698 LIBS
="-lposix4 $LIBS"
37699 cat >conftest.
$ac_ext <<_ACEOF
37702 cat confdefs.h
>>conftest.
$ac_ext
37703 cat >>conftest.
$ac_ext <<_ACEOF
37704 /* end confdefs.h. */
37706 /* Override any gcc2 internal prototype to avoid an error. */
37710 /* We use char because int might match the return type of a gcc2
37711 builtin and then its argument prototype would still apply. */
37712 char sched_yield ();
37721 rm -f conftest.
$ac_objext conftest
$ac_exeext
37722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37723 (eval $ac_link) 2>conftest.er1
37725 grep -v '^ *+' conftest.er1
>conftest.err
37727 cat conftest.err
>&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } &&
37730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; } &&
37736 { ac_try
='test -s conftest$ac_exeext'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; }; then
37742 ac_cv_lib_posix4_sched_yield
=yes
37744 echo "$as_me: failed program was:" >&5
37745 sed 's/^/| /' conftest.
$ac_ext >&5
37747 ac_cv_lib_posix4_sched_yield
=no
37749 rm -f conftest.err conftest.
$ac_objext \
37750 conftest
$ac_exeext conftest.
$ac_ext
37751 LIBS
=$ac_check_lib_save_LIBS
37753 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37754 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37755 if test $ac_cv_lib_posix4_sched_yield = yes; then
37756 cat >>confdefs.h
<<\_ACEOF
37757 #define HAVE_SCHED_YIELD 1
37759 POSIX4_LINK
=" -lposix4"
37761 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37762 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37773 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37774 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37775 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37776 echo $ECHO_N "(cached) $ECHO_C" >&6
37778 cat >conftest.
$ac_ext <<_ACEOF
37781 cat confdefs.h
>>conftest.
$ac_ext
37782 cat >>conftest.
$ac_ext <<_ACEOF
37783 /* end confdefs.h. */
37784 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37786 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37788 /* System header to define __stub macros and hopefully few prototypes,
37789 which can conflict with char pthread_attr_getschedpolicy (); below.
37790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37791 <limits.h> exists even on freestanding compilers. */
37794 # include <limits.h>
37796 # include <assert.h>
37799 #undef pthread_attr_getschedpolicy
37801 /* Override any gcc2 internal prototype to avoid an error. */
37806 /* We use char because int might match the return type of a gcc2
37807 builtin and then its argument prototype would still apply. */
37808 char pthread_attr_getschedpolicy ();
37809 /* The GNU C library defines this for functions which it implements
37810 to always fail with ENOSYS. Some functions are actually named
37811 something starting with __ and the normal name is an alias. */
37812 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37815 char (*f) () = pthread_attr_getschedpolicy;
37824 return f != pthread_attr_getschedpolicy;
37829 rm -f conftest.
$ac_objext conftest
$ac_exeext
37830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37831 (eval $ac_link) 2>conftest.er1
37833 grep -v '^ *+' conftest.er1
>conftest.err
37835 cat conftest.err
>&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); } &&
37838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37840 (eval $ac_try) 2>&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); }; } &&
37844 { ac_try
='test -s conftest$ac_exeext'
37845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37846 (eval $ac_try) 2>&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); }; }; then
37850 ac_cv_func_pthread_attr_getschedpolicy
=yes
37852 echo "$as_me: failed program was:" >&5
37853 sed 's/^/| /' conftest.
$ac_ext >&5
37855 ac_cv_func_pthread_attr_getschedpolicy
=no
37857 rm -f conftest.err conftest.
$ac_objext \
37858 conftest
$ac_exeext conftest.
$ac_ext
37860 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37861 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37862 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37863 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37864 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37865 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 cat >conftest.
$ac_ext <<_ACEOF
37871 cat confdefs.h
>>conftest.
$ac_ext
37872 cat >>conftest.
$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37874 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37876 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37878 /* System header to define __stub macros and hopefully few prototypes,
37879 which can conflict with char pthread_attr_setschedparam (); below.
37880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37881 <limits.h> exists even on freestanding compilers. */
37884 # include <limits.h>
37886 # include <assert.h>
37889 #undef pthread_attr_setschedparam
37891 /* Override any gcc2 internal prototype to avoid an error. */
37896 /* We use char because int might match the return type of a gcc2
37897 builtin and then its argument prototype would still apply. */
37898 char pthread_attr_setschedparam ();
37899 /* The GNU C library defines this for functions which it implements
37900 to always fail with ENOSYS. Some functions are actually named
37901 something starting with __ and the normal name is an alias. */
37902 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37905 char (*f) () = pthread_attr_setschedparam;
37914 return f != pthread_attr_setschedparam;
37919 rm -f conftest.
$ac_objext conftest
$ac_exeext
37920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37921 (eval $ac_link) 2>conftest.er1
37923 grep -v '^ *+' conftest.er1
>conftest.err
37925 cat conftest.err
>&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } &&
37928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; } &&
37934 { ac_try
='test -s conftest$ac_exeext'
37935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936 (eval $ac_try) 2>&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); }; }; then
37940 ac_cv_func_pthread_attr_setschedparam
=yes
37942 echo "$as_me: failed program was:" >&5
37943 sed 's/^/| /' conftest.
$ac_ext >&5
37945 ac_cv_func_pthread_attr_setschedparam
=no
37947 rm -f conftest.err conftest.
$ac_objext \
37948 conftest
$ac_exeext conftest.
$ac_ext
37950 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37951 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37952 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37953 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37954 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37955 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37958 cat >conftest.
$ac_ext <<_ACEOF
37961 cat confdefs.h
>>conftest.
$ac_ext
37962 cat >>conftest.
$ac_ext <<_ACEOF
37963 /* end confdefs.h. */
37964 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37966 #define sched_get_priority_max innocuous_sched_get_priority_max
37968 /* System header to define __stub macros and hopefully few prototypes,
37969 which can conflict with char sched_get_priority_max (); below.
37970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37971 <limits.h> exists even on freestanding compilers. */
37974 # include <limits.h>
37976 # include <assert.h>
37979 #undef sched_get_priority_max
37981 /* Override any gcc2 internal prototype to avoid an error. */
37986 /* We use char because int might match the return type of a gcc2
37987 builtin and then its argument prototype would still apply. */
37988 char sched_get_priority_max ();
37989 /* The GNU C library defines this for functions which it implements
37990 to always fail with ENOSYS. Some functions are actually named
37991 something starting with __ and the normal name is an alias. */
37992 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37995 char (*f) () = sched_get_priority_max;
38004 return f != sched_get_priority_max;
38009 rm -f conftest.
$ac_objext conftest
$ac_exeext
38010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38011 (eval $ac_link) 2>conftest.er1
38013 grep -v '^ *+' conftest.er1
>conftest.err
38015 cat conftest.err
>&5
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); } &&
38018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38020 (eval $ac_try) 2>&5
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); }; } &&
38024 { ac_try
='test -s conftest$ac_exeext'
38025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38026 (eval $ac_try) 2>&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); }; }; then
38030 ac_cv_func_sched_get_priority_max
=yes
38032 echo "$as_me: failed program was:" >&5
38033 sed 's/^/| /' conftest.
$ac_ext >&5
38035 ac_cv_func_sched_get_priority_max
=no
38037 rm -f conftest.err conftest.
$ac_objext \
38038 conftest
$ac_exeext conftest.
$ac_ext
38040 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38041 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38042 if test $ac_cv_func_sched_get_priority_max = yes; then
38045 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38046 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38047 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38048 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 ac_check_lib_save_LIBS
=$LIBS
38051 LIBS
="-lposix4 $LIBS"
38052 cat >conftest.
$ac_ext <<_ACEOF
38055 cat confdefs.h
>>conftest.
$ac_ext
38056 cat >>conftest.
$ac_ext <<_ACEOF
38057 /* end confdefs.h. */
38059 /* Override any gcc2 internal prototype to avoid an error. */
38063 /* We use char because int might match the return type of a gcc2
38064 builtin and then its argument prototype would still apply. */
38065 char sched_get_priority_max ();
38069 sched_get_priority_max ();
38074 rm -f conftest.
$ac_objext conftest
$ac_exeext
38075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38076 (eval $ac_link) 2>conftest.er1
38078 grep -v '^ *+' conftest.er1
>conftest.err
38080 cat conftest.err
>&5
38081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38082 (exit $ac_status); } &&
38083 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38085 (eval $ac_try) 2>&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); }; } &&
38089 { ac_try
='test -s conftest$ac_exeext'
38090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38091 (eval $ac_try) 2>&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); }; }; then
38095 ac_cv_lib_posix4_sched_get_priority_max
=yes
38097 echo "$as_me: failed program was:" >&5
38098 sed 's/^/| /' conftest.
$ac_ext >&5
38100 ac_cv_lib_posix4_sched_get_priority_max
=no
38102 rm -f conftest.err conftest.
$ac_objext \
38103 conftest
$ac_exeext conftest.
$ac_ext
38104 LIBS
=$ac_check_lib_save_LIBS
38106 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38107 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38108 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38111 POSIX4_LINK
=" -lposix4"
38125 if test "$HAVE_PRIOR_FUNCS" = 1; then
38126 cat >>confdefs.h
<<\_ACEOF
38127 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38131 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38132 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38135 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38136 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38137 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38138 echo $ECHO_N "(cached) $ECHO_C" >&6
38140 cat >conftest.
$ac_ext <<_ACEOF
38143 cat confdefs.h
>>conftest.
$ac_ext
38144 cat >>conftest.
$ac_ext <<_ACEOF
38145 /* end confdefs.h. */
38146 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38148 #define pthread_cancel innocuous_pthread_cancel
38150 /* System header to define __stub macros and hopefully few prototypes,
38151 which can conflict with char pthread_cancel (); below.
38152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38153 <limits.h> exists even on freestanding compilers. */
38156 # include <limits.h>
38158 # include <assert.h>
38161 #undef pthread_cancel
38163 /* Override any gcc2 internal prototype to avoid an error. */
38168 /* We use char because int might match the return type of a gcc2
38169 builtin and then its argument prototype would still apply. */
38170 char pthread_cancel ();
38171 /* The GNU C library defines this for functions which it implements
38172 to always fail with ENOSYS. Some functions are actually named
38173 something starting with __ and the normal name is an alias. */
38174 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38177 char (*f) () = pthread_cancel;
38186 return f != pthread_cancel;
38191 rm -f conftest.
$ac_objext conftest
$ac_exeext
38192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38193 (eval $ac_link) 2>conftest.er1
38195 grep -v '^ *+' conftest.er1
>conftest.err
38197 cat conftest.err
>&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } &&
38200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38202 (eval $ac_try) 2>&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); }; } &&
38206 { ac_try
='test -s conftest$ac_exeext'
38207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38208 (eval $ac_try) 2>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); }; }; then
38212 ac_cv_func_pthread_cancel
=yes
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.
$ac_ext >&5
38217 ac_cv_func_pthread_cancel
=no
38219 rm -f conftest.err conftest.
$ac_objext \
38220 conftest
$ac_exeext conftest.
$ac_ext
38222 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38223 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38224 if test $ac_cv_func_pthread_cancel = yes; then
38225 cat >>confdefs.h
<<\_ACEOF
38226 #define HAVE_PTHREAD_CANCEL 1
38230 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38231 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38235 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38236 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38237 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 cat >conftest.
$ac_ext <<_ACEOF
38243 cat confdefs.h
>>conftest.
$ac_ext
38244 cat >>conftest.
$ac_ext <<_ACEOF
38245 /* end confdefs.h. */
38246 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38248 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38250 /* System header to define __stub macros and hopefully few prototypes,
38251 which can conflict with char pthread_attr_setstacksize (); below.
38252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38253 <limits.h> exists even on freestanding compilers. */
38256 # include <limits.h>
38258 # include <assert.h>
38261 #undef pthread_attr_setstacksize
38263 /* Override any gcc2 internal prototype to avoid an error. */
38268 /* We use char because int might match the return type of a gcc2
38269 builtin and then its argument prototype would still apply. */
38270 char pthread_attr_setstacksize ();
38271 /* The GNU C library defines this for functions which it implements
38272 to always fail with ENOSYS. Some functions are actually named
38273 something starting with __ and the normal name is an alias. */
38274 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38277 char (*f) () = pthread_attr_setstacksize;
38286 return f != pthread_attr_setstacksize;
38291 rm -f conftest.
$ac_objext conftest
$ac_exeext
38292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38293 (eval $ac_link) 2>conftest.er1
38295 grep -v '^ *+' conftest.er1
>conftest.err
38297 cat conftest.err
>&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } &&
38300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; } &&
38306 { ac_try
='test -s conftest$ac_exeext'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; }; then
38312 ac_cv_func_pthread_attr_setstacksize
=yes
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.
$ac_ext >&5
38317 ac_cv_func_pthread_attr_setstacksize
=no
38319 rm -f conftest.err conftest.
$ac_objext \
38320 conftest
$ac_exeext conftest.
$ac_ext
38322 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38323 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38324 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38325 cat >>confdefs.h
<<\_ACEOF
38326 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38333 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38334 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38335 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38336 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 cat >conftest.
$ac_ext <<_ACEOF
38342 cat confdefs.h
>>conftest.
$ac_ext
38343 cat >>conftest.
$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345 #include <pthread.h>
38350 pthread_mutexattr_t attr;
38351 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38357 rm -f conftest.
$ac_objext
38358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38359 (eval $ac_compile) 2>conftest.er1
38361 grep -v '^ *+' conftest.er1
>conftest.err
38363 cat conftest.err
>&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } &&
38366 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38368 (eval $ac_try) 2>&5
38370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38371 (exit $ac_status); }; } &&
38372 { ac_try
='test -s conftest.$ac_objext'
38373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38374 (eval $ac_try) 2>&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); }; }; then
38378 wx_cv_type_pthread_mutexattr_t
=yes
38380 echo "$as_me: failed program was:" >&5
38381 sed 's/^/| /' conftest.
$ac_ext >&5
38383 wx_cv_type_pthread_mutexattr_t
=no
38386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38389 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38390 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38392 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38393 cat >>confdefs.h
<<\_ACEOF
38394 #define HAVE_PTHREAD_MUTEXATTR_T 1
38398 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38399 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38400 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38401 echo $ECHO_N "(cached) $ECHO_C" >&6
38404 cat >conftest.
$ac_ext <<_ACEOF
38407 cat confdefs.h
>>conftest.
$ac_ext
38408 cat >>conftest.
$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410 #include <pthread.h>
38415 pthread_mutexattr_t attr;
38416 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38422 rm -f conftest.
$ac_objext
38423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38424 (eval $ac_compile) 2>conftest.er1
38426 grep -v '^ *+' conftest.er1
>conftest.err
38428 cat conftest.err
>&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); } &&
38431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38433 (eval $ac_try) 2>&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); }; } &&
38437 { ac_try
='test -s conftest.$ac_objext'
38438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38439 (eval $ac_try) 2>&5
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); }; }; then
38443 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38445 echo "$as_me: failed program was:" >&5
38446 sed 's/^/| /' conftest.
$ac_ext >&5
38448 wx_cv_func_pthread_mutexattr_settype_decl
=no
38451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38454 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38455 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38456 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38457 cat >>confdefs.h
<<\_ACEOF
38458 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38463 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38464 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38465 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 cat >conftest.
$ac_ext <<_ACEOF
38472 cat confdefs.h
>>conftest.
$ac_ext
38473 cat >>conftest.
$ac_ext <<_ACEOF
38474 /* end confdefs.h. */
38475 #include <pthread.h>
38480 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38486 rm -f conftest.
$ac_objext
38487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38488 (eval $ac_compile) 2>conftest.er1
38490 grep -v '^ *+' conftest.er1
>conftest.err
38492 cat conftest.err
>&5
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); } &&
38495 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; } &&
38501 { ac_try
='test -s conftest.$ac_objext'
38502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38503 (eval $ac_try) 2>&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); }; }; then
38508 wx_cv_type_pthread_rec_mutex_init
=yes
38511 echo "$as_me: failed program was:" >&5
38512 sed 's/^/| /' conftest.
$ac_ext >&5
38515 wx_cv_type_pthread_rec_mutex_init
=no
38519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38522 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38523 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38524 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38525 cat >>confdefs.h
<<\_ACEOF
38526 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38530 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38531 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38537 if test "$wxUSE_THREADS" = "yes" ; then
38540 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38541 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38542 if test "${wx_cv_cflags_mthread+set}" = set; then
38543 echo $ECHO_N "(cached) $ECHO_C" >&6
38546 CXXFLAGS_OLD
="$CXXFLAGS"
38547 CXXFLAGS
="-mthreads $CXXFLAGS"
38548 cat >conftest.
$ac_ext <<_ACEOF
38551 cat confdefs.h
>>conftest.
$ac_ext
38552 cat >>conftest.
$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38563 rm -f conftest.
$ac_objext
38564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38565 (eval $ac_compile) 2>conftest.er1
38567 grep -v '^ *+' conftest.er1
>conftest.err
38569 cat conftest.err
>&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } &&
38572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38574 (eval $ac_try) 2>&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); }; } &&
38578 { ac_try
='test -s conftest.$ac_objext'
38579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38580 (eval $ac_try) 2>&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); }; }; then
38584 wx_cv_cflags_mthread
=yes
38586 echo "$as_me: failed program was:" >&5
38587 sed 's/^/| /' conftest.
$ac_ext >&5
38589 wx_cv_cflags_mthread
=no
38592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38596 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38597 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38599 if test "$wx_cv_cflags_mthread" = "yes"; then
38600 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
38601 LDFLAGS
="$LDFLAGS -mthreads"
38603 CXXFLAGS
="$CXXFLAGS_OLD"
38607 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38608 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38609 LDFLAGS
="$LDFLAGS -Zmt"
38615 echo "$as_me:$LINENO: checking for localtime_r" >&5
38616 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38617 if test "${ac_cv_func_localtime_r+set}" = set; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38620 cat >conftest.
$ac_ext <<_ACEOF
38623 cat confdefs.h
>>conftest.
$ac_ext
38624 cat >>conftest.
$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38628 #define localtime_r innocuous_localtime_r
38630 /* System header to define __stub macros and hopefully few prototypes,
38631 which can conflict with char localtime_r (); below.
38632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38633 <limits.h> exists even on freestanding compilers. */
38636 # include <limits.h>
38638 # include <assert.h>
38643 /* Override any gcc2 internal prototype to avoid an error. */
38648 /* We use char because int might match the return type of a gcc2
38649 builtin and then its argument prototype would still apply. */
38650 char localtime_r ();
38651 /* The GNU C library defines this for functions which it implements
38652 to always fail with ENOSYS. Some functions are actually named
38653 something starting with __ and the normal name is an alias. */
38654 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38657 char (*f) () = localtime_r;
38666 return f != localtime_r;
38671 rm -f conftest.
$ac_objext conftest
$ac_exeext
38672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38673 (eval $ac_link) 2>conftest.er1
38675 grep -v '^ *+' conftest.er1
>conftest.err
38677 cat conftest.err
>&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } &&
38680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38682 (eval $ac_try) 2>&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); }; } &&
38686 { ac_try
='test -s conftest$ac_exeext'
38687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38688 (eval $ac_try) 2>&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); }; }; then
38692 ac_cv_func_localtime_r
=yes
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.
$ac_ext >&5
38697 ac_cv_func_localtime_r
=no
38699 rm -f conftest.err conftest.
$ac_objext \
38700 conftest
$ac_exeext conftest.
$ac_ext
38702 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38703 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38704 if test $ac_cv_func_localtime_r = yes; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define HAVE_LOCALTIME_R 1
38711 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38712 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38713 if test "${ac_cv_func_gmtime_r+set}" = set; then
38714 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 cat >conftest.
$ac_ext <<_ACEOF
38719 cat confdefs.h
>>conftest.
$ac_ext
38720 cat >>conftest.
$ac_ext <<_ACEOF
38721 /* end confdefs.h. */
38722 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38724 #define gmtime_r innocuous_gmtime_r
38726 /* System header to define __stub macros and hopefully few prototypes,
38727 which can conflict with char gmtime_r (); below.
38728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38729 <limits.h> exists even on freestanding compilers. */
38732 # include <limits.h>
38734 # include <assert.h>
38739 /* Override any gcc2 internal prototype to avoid an error. */
38744 /* We use char because int might match the return type of a gcc2
38745 builtin and then its argument prototype would still apply. */
38747 /* The GNU C library defines this for functions which it implements
38748 to always fail with ENOSYS. Some functions are actually named
38749 something starting with __ and the normal name is an alias. */
38750 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38753 char (*f) () = gmtime_r;
38762 return f != gmtime_r;
38767 rm -f conftest.
$ac_objext conftest
$ac_exeext
38768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38769 (eval $ac_link) 2>conftest.er1
38771 grep -v '^ *+' conftest.er1
>conftest.err
38773 cat conftest.err
>&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); } &&
38776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38778 (eval $ac_try) 2>&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); }; } &&
38782 { ac_try
='test -s conftest$ac_exeext'
38783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38784 (eval $ac_try) 2>&5
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); }; }; then
38788 ac_cv_func_gmtime_r
=yes
38790 echo "$as_me: failed program was:" >&5
38791 sed 's/^/| /' conftest.
$ac_ext >&5
38793 ac_cv_func_gmtime_r
=no
38795 rm -f conftest.err conftest.
$ac_objext \
38796 conftest
$ac_exeext conftest.
$ac_ext
38798 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38799 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38800 if test $ac_cv_func_gmtime_r = yes; then
38801 cat >>confdefs.h
<<\_ACEOF
38802 #define HAVE_GMTIME_R 1
38807 echo "$as_me:$LINENO: checking for readdir_r" >&5
38808 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38809 if test "${ac_cv_func_readdir_r+set}" = set; then
38810 echo $ECHO_N "(cached) $ECHO_C" >&6
38812 cat >conftest.
$ac_ext <<_ACEOF
38815 cat confdefs.h
>>conftest.
$ac_ext
38816 cat >>conftest.
$ac_ext <<_ACEOF
38817 /* end confdefs.h. */
38818 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38820 #define readdir_r innocuous_readdir_r
38822 /* System header to define __stub macros and hopefully few prototypes,
38823 which can conflict with char readdir_r (); below.
38824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38825 <limits.h> exists even on freestanding compilers. */
38828 # include <limits.h>
38830 # include <assert.h>
38835 /* Override any gcc2 internal prototype to avoid an error. */
38840 /* We use char because int might match the return type of a gcc2
38841 builtin and then its argument prototype would still apply. */
38843 /* The GNU C library defines this for functions which it implements
38844 to always fail with ENOSYS. Some functions are actually named
38845 something starting with __ and the normal name is an alias. */
38846 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38849 char (*f) () = readdir_r;
38858 return f != readdir_r;
38863 rm -f conftest.
$ac_objext conftest
$ac_exeext
38864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38865 (eval $ac_link) 2>conftest.er1
38867 grep -v '^ *+' conftest.er1
>conftest.err
38869 cat conftest.err
>&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } &&
38872 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38874 (eval $ac_try) 2>&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); }; } &&
38878 { ac_try
='test -s conftest$ac_exeext'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; }; then
38884 ac_cv_func_readdir_r
=yes
38886 echo "$as_me: failed program was:" >&5
38887 sed 's/^/| /' conftest.
$ac_ext >&5
38889 ac_cv_func_readdir_r
=no
38891 rm -f conftest.err conftest.
$ac_objext \
38892 conftest
$ac_exeext conftest.
$ac_ext
38894 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38895 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38896 if test $ac_cv_func_readdir_r = yes; then
38897 cat >>confdefs.h
<<\_ACEOF
38898 #define HAVE_READDIR_R 1
38907 ac_cpp
='$CPP $CPPFLAGS'
38908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38912 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38913 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38915 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38921 ac_cv_func_which_gethostbyname_r
=unknown
38924 # ONE ARGUMENT (sanity check)
38927 # This should fail, as there is no variant of gethostbyname_r() that takes
38928 # a single argument. If it actually compiles, then we can assume that
38929 # netdb.h is not declaring the function, and the compiler is thereby
38930 # assuming an implicit prototype. In which case, we're out of luck.
38932 cat >conftest.
$ac_ext <<_ACEOF
38935 cat confdefs.h
>>conftest.
$ac_ext
38936 cat >>conftest.
$ac_ext <<_ACEOF
38937 /* end confdefs.h. */
38943 char *name = "www.gnu.org";
38944 (void)gethostbyname_r(name) /* ; */
38950 rm -f conftest.
$ac_objext
38951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38952 (eval $ac_compile) 2>conftest.er1
38954 grep -v '^ *+' conftest.er1
>conftest.err
38956 cat conftest.err
>&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); } &&
38959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38961 (eval $ac_try) 2>&5
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); }; } &&
38965 { ac_try
='test -s conftest.$ac_objext'
38966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38967 (eval $ac_try) 2>&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); }; }; then
38971 ac_cv_func_which_gethostbyname_r
=no
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.
$ac_ext >&5
38977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38984 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38986 cat >conftest.
$ac_ext <<_ACEOF
38989 cat confdefs.h
>>conftest.
$ac_ext
38990 cat >>conftest.
$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38997 char *name = "www.gnu.org";
38998 struct hostent ret, *retp;
39002 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39008 rm -f conftest.
$ac_objext
39009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39010 (eval $ac_compile) 2>conftest.er1
39012 grep -v '^ *+' conftest.er1
>conftest.err
39014 cat conftest.err
>&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } &&
39017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; } &&
39023 { ac_try
='test -s conftest.$ac_objext'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; }; then
39029 ac_cv_func_which_gethostbyname_r
=six
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.
$ac_ext >&5
39035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39044 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39046 cat >conftest.
$ac_ext <<_ACEOF
39049 cat confdefs.h
>>conftest.
$ac_ext
39050 cat >>conftest.
$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39057 char *name = "www.gnu.org";
39058 struct hostent ret;
39062 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39068 rm -f conftest.
$ac_objext
39069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39070 (eval $ac_compile) 2>conftest.er1
39072 grep -v '^ *+' conftest.er1
>conftest.err
39074 cat conftest.err
>&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); } &&
39077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39079 (eval $ac_try) 2>&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); }; } &&
39083 { ac_try
='test -s conftest.$ac_objext'
39084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39085 (eval $ac_try) 2>&5
39087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088 (exit $ac_status); }; }; then
39089 ac_cv_func_which_gethostbyname_r
=five
39091 echo "$as_me: failed program was:" >&5
39092 sed 's/^/| /' conftest.
$ac_ext >&5
39095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39101 # (e.g. AIX, HP-UX, Tru64)
39104 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39106 cat >conftest.
$ac_ext <<_ACEOF
39109 cat confdefs.h
>>conftest.
$ac_ext
39110 cat >>conftest.
$ac_ext <<_ACEOF
39111 /* end confdefs.h. */
39117 char *name = "www.gnu.org";
39118 struct hostent ret;
39119 struct hostent_data data;
39120 (void)gethostbyname_r(name, &ret, &data) /* ; */
39126 rm -f conftest.
$ac_objext
39127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39128 (eval $ac_compile) 2>conftest.er1
39130 grep -v '^ *+' conftest.er1
>conftest.err
39132 cat conftest.err
>&5
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); } &&
39135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39137 (eval $ac_try) 2>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; } &&
39141 { ac_try
='test -s conftest.$ac_objext'
39142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143 (eval $ac_try) 2>&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); }; }; then
39147 ac_cv_func_which_gethostbyname_r
=three
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.
$ac_ext >&5
39153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39161 case "$ac_cv_func_which_gethostbyname_r" in
39163 echo "$as_me:$LINENO: result: three" >&5
39164 echo "${ECHO_T}three" >&6
39165 cat >>confdefs.h
<<\_ACEOF
39166 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39172 echo "$as_me:$LINENO: result: five" >&5
39173 echo "${ECHO_T}five" >&6
39174 cat >>confdefs.h
<<\_ACEOF
39175 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39181 echo "$as_me:$LINENO: result: six" >&5
39182 echo "${ECHO_T}six" >&6
39183 cat >>confdefs.h
<<\_ACEOF
39184 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39190 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39191 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39195 echo "$as_me:$LINENO: result: can't tell" >&5
39196 echo "${ECHO_T}can't tell" >&6
39200 { { echo "$as_me:$LINENO: error: internal error" >&5
39201 echo "$as_me: error: internal error" >&2;}
39202 { (exit 1); exit 1; }; }
39207 ac_cpp
='$CXXCPP $CPPFLAGS'
39208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39214 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39215 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39216 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39217 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39218 if test "${ac_cv_func_gethostbyname+set}" = set; then
39219 echo $ECHO_N "(cached) $ECHO_C" >&6
39221 cat >conftest.
$ac_ext <<_ACEOF
39224 cat confdefs.h
>>conftest.
$ac_ext
39225 cat >>conftest.
$ac_ext <<_ACEOF
39226 /* end confdefs.h. */
39227 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39229 #define gethostbyname innocuous_gethostbyname
39231 /* System header to define __stub macros and hopefully few prototypes,
39232 which can conflict with char gethostbyname (); below.
39233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39234 <limits.h> exists even on freestanding compilers. */
39237 # include <limits.h>
39239 # include <assert.h>
39242 #undef gethostbyname
39244 /* Override any gcc2 internal prototype to avoid an error. */
39249 /* We use char because int might match the return type of a gcc2
39250 builtin and then its argument prototype would still apply. */
39251 char gethostbyname ();
39252 /* The GNU C library defines this for functions which it implements
39253 to always fail with ENOSYS. Some functions are actually named
39254 something starting with __ and the normal name is an alias. */
39255 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39258 char (*f) () = gethostbyname;
39267 return f != gethostbyname;
39272 rm -f conftest.
$ac_objext conftest
$ac_exeext
39273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39274 (eval $ac_link) 2>conftest.er1
39276 grep -v '^ *+' conftest.er1
>conftest.err
39278 cat conftest.err
>&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); } &&
39281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39283 (eval $ac_try) 2>&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); }; } &&
39287 { ac_try
='test -s conftest$ac_exeext'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; }; then
39293 ac_cv_func_gethostbyname
=yes
39295 echo "$as_me: failed program was:" >&5
39296 sed 's/^/| /' conftest.
$ac_ext >&5
39298 ac_cv_func_gethostbyname
=no
39300 rm -f conftest.err conftest.
$ac_objext \
39301 conftest
$ac_exeext conftest.
$ac_ext
39303 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39304 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39305 if test $ac_cv_func_gethostbyname = yes; then
39306 cat >>confdefs.h
<<\_ACEOF
39307 #define HAVE_GETHOSTBYNAME 1
39313 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39314 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39315 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39316 echo $ECHO_N "(cached) $ECHO_C" >&6
39318 cat >conftest.
$ac_ext <<_ACEOF
39321 cat confdefs.h
>>conftest.
$ac_ext
39322 cat >>conftest.
$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39324 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39326 #define getservbyname_r innocuous_getservbyname_r
39328 /* System header to define __stub macros and hopefully few prototypes,
39329 which can conflict with char getservbyname_r (); below.
39330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39331 <limits.h> exists even on freestanding compilers. */
39334 # include <limits.h>
39336 # include <assert.h>
39339 #undef getservbyname_r
39341 /* Override any gcc2 internal prototype to avoid an error. */
39346 /* We use char because int might match the return type of a gcc2
39347 builtin and then its argument prototype would still apply. */
39348 char getservbyname_r ();
39349 /* The GNU C library defines this for functions which it implements
39350 to always fail with ENOSYS. Some functions are actually named
39351 something starting with __ and the normal name is an alias. */
39352 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39355 char (*f) () = getservbyname_r;
39364 return f != getservbyname_r;
39369 rm -f conftest.
$ac_objext conftest
$ac_exeext
39370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39371 (eval $ac_link) 2>conftest.er1
39373 grep -v '^ *+' conftest.er1
>conftest.err
39375 cat conftest.err
>&5
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); } &&
39378 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39380 (eval $ac_try) 2>&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); }; } &&
39384 { ac_try
='test -s conftest$ac_exeext'
39385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39386 (eval $ac_try) 2>&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); }; }; then
39390 ac_cv_func_getservbyname_r
=yes
39392 echo "$as_me: failed program was:" >&5
39393 sed 's/^/| /' conftest.
$ac_ext >&5
39395 ac_cv_func_getservbyname_r
=no
39397 rm -f conftest.err conftest.
$ac_objext \
39398 conftest
$ac_exeext conftest.
$ac_ext
39400 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39401 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39402 if test $ac_cv_func_getservbyname_r = yes; then
39403 cat >conftest.
$ac_ext <<_ACEOF
39406 cat confdefs.h
>>conftest.
$ac_ext
39407 cat >>conftest.
$ac_ext <<_ACEOF
39408 /* end confdefs.h. */
39416 struct servent *se;
39417 struct servent_data data;
39418 (void) getservbyname_r(name, proto, se, &data);
39424 rm -f conftest.
$ac_objext
39425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39426 (eval $ac_compile) 2>conftest.er1
39428 grep -v '^ *+' conftest.er1
>conftest.err
39430 cat conftest.err
>&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); } &&
39433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39435 (eval $ac_try) 2>&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; } &&
39439 { ac_try
='test -s conftest.$ac_objext'
39440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39441 (eval $ac_try) 2>&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); }; }; then
39445 ac_cv_func_which_getservbyname_r
=four
39447 echo "$as_me: failed program was:" >&5
39448 sed 's/^/| /' conftest.
$ac_ext >&5
39450 cat >conftest.
$ac_ext <<_ACEOF
39453 cat confdefs.h
>>conftest.
$ac_ext
39454 cat >>conftest.
$ac_ext <<_ACEOF
39455 /* end confdefs.h. */
39463 struct servent *se, *res;
39466 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39472 rm -f conftest.
$ac_objext
39473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39474 (eval $ac_compile) 2>conftest.er1
39476 grep -v '^ *+' conftest.er1
>conftest.err
39478 cat conftest.err
>&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } &&
39481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39483 (eval $ac_try) 2>&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); }; } &&
39487 { ac_try
='test -s conftest.$ac_objext'
39488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489 (eval $ac_try) 2>&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); }; }; then
39493 ac_cv_func_which_getservbyname_r
=six
39495 echo "$as_me: failed program was:" >&5
39496 sed 's/^/| /' conftest.
$ac_ext >&5
39498 cat >conftest.
$ac_ext <<_ACEOF
39501 cat confdefs.h
>>conftest.
$ac_ext
39502 cat >>conftest.
$ac_ext <<_ACEOF
39503 /* end confdefs.h. */
39511 struct servent *se;
39514 (void) getservbyname_r(name, proto, se, buffer, buflen)
39520 rm -f conftest.
$ac_objext
39521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39522 (eval $ac_compile) 2>conftest.er1
39524 grep -v '^ *+' conftest.er1
>conftest.err
39526 cat conftest.err
>&5
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); } &&
39529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39531 (eval $ac_try) 2>&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); }; } &&
39535 { ac_try
='test -s conftest.$ac_objext'
39536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39537 (eval $ac_try) 2>&5
39539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540 (exit $ac_status); }; }; then
39541 ac_cv_func_which_getservbyname_r
=five
39543 echo "$as_me: failed program was:" >&5
39544 sed 's/^/| /' conftest.
$ac_ext >&5
39546 ac_cv_func_which_getservbyname_r
=no
39549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39557 ac_cv_func_which_getservbyname_r
=no
39561 if test $ac_cv_func_which_getservbyname_r = six
; then
39562 cat >>confdefs.h
<<\_ACEOF
39563 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39566 elif test $ac_cv_func_which_getservbyname_r = five
; then
39567 cat >>confdefs.h
<<\_ACEOF
39568 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39571 elif test $ac_cv_func_which_getservbyname_r = four
; then
39572 cat >>confdefs.h
<<\_ACEOF
39573 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39579 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39580 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39582 for ac_func
in getservbyname
39584 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39585 echo "$as_me:$LINENO: checking for $ac_func" >&5
39586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39587 if eval "test \"\${$as_ac_var+set}\" = set"; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 cat >conftest.
$ac_ext <<_ACEOF
39593 cat confdefs.h
>>conftest.
$ac_ext
39594 cat >>conftest.
$ac_ext <<_ACEOF
39595 /* end confdefs.h. */
39596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39598 #define $ac_func innocuous_$ac_func
39600 /* System header to define __stub macros and hopefully few prototypes,
39601 which can conflict with char $ac_func (); below.
39602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39603 <limits.h> exists even on freestanding compilers. */
39606 # include <limits.h>
39608 # include <assert.h>
39613 /* Override any gcc2 internal prototype to avoid an error. */
39618 /* We use char because int might match the return type of a gcc2
39619 builtin and then its argument prototype would still apply. */
39621 /* The GNU C library defines this for functions which it implements
39622 to always fail with ENOSYS. Some functions are actually named
39623 something starting with __ and the normal name is an alias. */
39624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39627 char (*f) () = $ac_func;
39636 return f != $ac_func;
39641 rm -f conftest.
$ac_objext conftest
$ac_exeext
39642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39643 (eval $ac_link) 2>conftest.er1
39645 grep -v '^ *+' conftest.er1
>conftest.err
39647 cat conftest.err
>&5
39648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39649 (exit $ac_status); } &&
39650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39652 (eval $ac_try) 2>&5
39654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39655 (exit $ac_status); }; } &&
39656 { ac_try
='test -s conftest$ac_exeext'
39657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39658 (eval $ac_try) 2>&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); }; }; then
39662 eval "$as_ac_var=yes"
39664 echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.
$ac_ext >&5
39667 eval "$as_ac_var=no"
39669 rm -f conftest.err conftest.
$ac_objext \
39670 conftest
$ac_exeext conftest.
$ac_ext
39672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39674 if test `eval echo '${'$as_ac_var'}'` = yes; then
39675 cat >>confdefs.h
<<_ACEOF
39676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39678 cat >>confdefs.h
<<\_ACEOF
39679 #define HAVE_GETSERVBYNAME 1
39687 if test "$wxUSE_THREADS" = "yes"; then
39688 cat >>confdefs.h
<<\_ACEOF
39689 #define wxUSE_THREADS 1
39693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39695 if test "$ac_cv_func_strtok_r" = "yes"; then
39696 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39697 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39698 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39699 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39700 echo "$as_me:$LINENO: result: yes" >&5
39701 echo "${ECHO_T}yes" >&6
39703 echo "$as_me:$LINENO: result: no" >&5
39704 echo "${ECHO_T}no" >&6
39709 if test "$WXGTK20" = 1 ; then
39710 cat >>confdefs.h
<<_ACEOF
39711 #define __WXGTK20__ $WXGTK20
39717 if test "$WXGTK12" = 1 ; then
39718 cat >>confdefs.h
<<_ACEOF
39719 #define __WXGTK12__ $WXGTK12
39724 if test "$WXGTK127" = 1 ; then
39725 cat >>confdefs.h
<<_ACEOF
39726 #define __WXGTK127__ $WXGTK127
39731 if test "$WXGPE" = 1 ; then
39732 cat >>confdefs.h
<<_ACEOF
39733 #define __WXGPE__ $WXGPE
39739 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39744 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39745 wxUSE_DEBUG_INFO
=yes
39746 if test "$GCC" = yes; then
39747 DEBUG_CFLAGS
="-ggdb"
39751 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39752 cat >>confdefs.h
<<\_ACEOF
39756 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39758 if test "$wxUSE_GTK" = 1 ; then
39759 if test "x$wxGTK_VERSION" = "x1" ; then
39760 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39765 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39766 cat >>confdefs.h
<<\_ACEOF
39767 #define wxUSE_MEMORY_TRACING 1
39770 cat >>confdefs.h
<<\_ACEOF
39771 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39774 cat >>confdefs.h
<<\_ACEOF
39775 #define wxUSE_DEBUG_NEW_ALWAYS 1
39778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39781 if test "$wxUSE_DMALLOC" = "yes" ; then
39782 DMALLOC_LIBS
="-ldmallocthcxx"
39786 if test "$wxUSE_PROFILE" = "yes" ; then
39787 PROFILE_FLAGS
=" -pg"
39790 if test "$GCC" = "yes" ; then
39791 if test "$wxUSE_NO_RTTI" = "yes" ; then
39792 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39794 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39795 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39797 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39798 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39803 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39806 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39812 if test "$wxUSE_OPTIMISE" = "no" ; then
39813 if test "$GCC" = yes ; then
39814 OPTIMISE_CFLAGS
="-O0"
39817 if test "$GCC" = yes ; then
39819 *-pc-os2_emx | *-pc-os2-emx )
39820 OPTIMISE_CFLAGS
="-O2"
39823 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
39827 OPTIMISE_CFLAGS
="-O"
39832 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39833 cat >>confdefs.h
<<\_ACEOF
39834 #define WXWIN_COMPATIBILITY_2_4 1
39838 WXWIN_COMPATIBILITY_2_6
="yes"
39841 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39842 cat >>confdefs.h
<<\_ACEOF
39843 #define WXWIN_COMPATIBILITY_2_6 1
39849 if test "$wxUSE_GUI" = "yes"; then
39850 cat >>confdefs.h
<<\_ACEOF
39851 #define wxUSE_GUI 1
39858 if test "$wxUSE_UNIX" = "yes"; then
39859 cat >>confdefs.h
<<\_ACEOF
39860 #define wxUSE_UNIX 1
39866 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39870 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39871 if test "$USE_DARWIN" = 1; then
39873 elif test "$USE_DOS" = 1; then
39877 for ac_func
in dlopen
39879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39880 echo "$as_me:$LINENO: checking for $ac_func" >&5
39881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39882 if eval "test \"\${$as_ac_var+set}\" = set"; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39885 cat >conftest.
$ac_ext <<_ACEOF
39888 cat confdefs.h
>>conftest.
$ac_ext
39889 cat >>conftest.
$ac_ext <<_ACEOF
39890 /* end confdefs.h. */
39891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39893 #define $ac_func innocuous_$ac_func
39895 /* System header to define __stub macros and hopefully few prototypes,
39896 which can conflict with char $ac_func (); below.
39897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39898 <limits.h> exists even on freestanding compilers. */
39901 # include <limits.h>
39903 # include <assert.h>
39908 /* Override any gcc2 internal prototype to avoid an error. */
39913 /* We use char because int might match the return type of a gcc2
39914 builtin and then its argument prototype would still apply. */
39916 /* The GNU C library defines this for functions which it implements
39917 to always fail with ENOSYS. Some functions are actually named
39918 something starting with __ and the normal name is an alias. */
39919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39922 char (*f) () = $ac_func;
39931 return f != $ac_func;
39936 rm -f conftest.
$ac_objext conftest
$ac_exeext
39937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39938 (eval $ac_link) 2>conftest.er1
39940 grep -v '^ *+' conftest.er1
>conftest.err
39942 cat conftest.err
>&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); } &&
39945 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39947 (eval $ac_try) 2>&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); }; } &&
39951 { ac_try
='test -s conftest$ac_exeext'
39952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39953 (eval $ac_try) 2>&5
39955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39956 (exit $ac_status); }; }; then
39957 eval "$as_ac_var=yes"
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.
$ac_ext >&5
39962 eval "$as_ac_var=no"
39964 rm -f conftest.err conftest.
$ac_objext \
39965 conftest
$ac_exeext conftest.
$ac_ext
39967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39969 if test `eval echo '${'$as_ac_var'}'` = yes; then
39970 cat >>confdefs.h
<<_ACEOF
39971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39974 cat >>confdefs.h
<<\_ACEOF
39975 #define HAVE_DLOPEN 1
39982 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39983 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39984 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39985 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 ac_check_lib_save_LIBS
=$LIBS
39989 cat >conftest.
$ac_ext <<_ACEOF
39992 cat confdefs.h
>>conftest.
$ac_ext
39993 cat >>conftest.
$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39996 /* Override any gcc2 internal prototype to avoid an error. */
40000 /* We use char because int might match the return type of a gcc2
40001 builtin and then its argument prototype would still apply. */
40011 rm -f conftest.
$ac_objext conftest
$ac_exeext
40012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40013 (eval $ac_link) 2>conftest.er1
40015 grep -v '^ *+' conftest.er1
>conftest.err
40017 cat conftest.err
>&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); } &&
40020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40022 (eval $ac_try) 2>&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); }; } &&
40026 { ac_try
='test -s conftest$ac_exeext'
40027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40028 (eval $ac_try) 2>&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); }; }; then
40032 ac_cv_lib_dl_dlopen
=yes
40034 echo "$as_me: failed program was:" >&5
40035 sed 's/^/| /' conftest.
$ac_ext >&5
40037 ac_cv_lib_dl_dlopen
=no
40039 rm -f conftest.err conftest.
$ac_objext \
40040 conftest
$ac_exeext conftest.
$ac_ext
40041 LIBS
=$ac_check_lib_save_LIBS
40043 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40044 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40045 if test $ac_cv_lib_dl_dlopen = yes; then
40047 cat >>confdefs.h
<<\_ACEOF
40048 #define HAVE_DLOPEN 1
40052 DL_LINK
=" -ldl$DL_LINK"
40057 for ac_func
in shl_load
40059 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40060 echo "$as_me:$LINENO: checking for $ac_func" >&5
40061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40062 if eval "test \"\${$as_ac_var+set}\" = set"; then
40063 echo $ECHO_N "(cached) $ECHO_C" >&6
40065 cat >conftest.
$ac_ext <<_ACEOF
40068 cat confdefs.h
>>conftest.
$ac_ext
40069 cat >>conftest.
$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40073 #define $ac_func innocuous_$ac_func
40075 /* System header to define __stub macros and hopefully few prototypes,
40076 which can conflict with char $ac_func (); below.
40077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40078 <limits.h> exists even on freestanding compilers. */
40081 # include <limits.h>
40083 # include <assert.h>
40088 /* Override any gcc2 internal prototype to avoid an error. */
40093 /* We use char because int might match the return type of a gcc2
40094 builtin and then its argument prototype would still apply. */
40096 /* The GNU C library defines this for functions which it implements
40097 to always fail with ENOSYS. Some functions are actually named
40098 something starting with __ and the normal name is an alias. */
40099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40102 char (*f) () = $ac_func;
40111 return f != $ac_func;
40116 rm -f conftest.
$ac_objext conftest
$ac_exeext
40117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40118 (eval $ac_link) 2>conftest.er1
40120 grep -v '^ *+' conftest.er1
>conftest.err
40122 cat conftest.err
>&5
40123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40124 (exit $ac_status); } &&
40125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40127 (eval $ac_try) 2>&5
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); }; } &&
40131 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
40137 eval "$as_ac_var=yes"
40139 echo "$as_me: failed program was:" >&5
40140 sed 's/^/| /' conftest.
$ac_ext >&5
40142 eval "$as_ac_var=no"
40144 rm -f conftest.err conftest.
$ac_objext \
40145 conftest
$ac_exeext conftest.
$ac_ext
40147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40149 if test `eval echo '${'$as_ac_var'}'` = yes; then
40150 cat >>confdefs.h
<<_ACEOF
40151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40154 cat >>confdefs.h
<<\_ACEOF
40155 #define HAVE_SHL_LOAD 1
40162 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40163 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40164 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40165 echo $ECHO_N "(cached) $ECHO_C" >&6
40167 ac_check_lib_save_LIBS
=$LIBS
40168 LIBS
="-lshl_load $LIBS"
40169 cat >conftest.
$ac_ext <<_ACEOF
40172 cat confdefs.h
>>conftest.
$ac_ext
40173 cat >>conftest.
$ac_ext <<_ACEOF
40174 /* end confdefs.h. */
40176 /* Override any gcc2 internal prototype to avoid an error. */
40180 /* We use char because int might match the return type of a gcc2
40181 builtin and then its argument prototype would still apply. */
40191 rm -f conftest.
$ac_objext conftest
$ac_exeext
40192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40193 (eval $ac_link) 2>conftest.er1
40195 grep -v '^ *+' conftest.er1
>conftest.err
40197 cat conftest.err
>&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } &&
40200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202 (eval $ac_try) 2>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); }; } &&
40206 { ac_try
='test -s conftest$ac_exeext'
40207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208 (eval $ac_try) 2>&5
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; }; then
40212 ac_cv_lib_shl_load_dld
=yes
40214 echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.
$ac_ext >&5
40217 ac_cv_lib_shl_load_dld
=no
40219 rm -f conftest.err conftest.
$ac_objext \
40220 conftest
$ac_exeext conftest.
$ac_ext
40221 LIBS
=$ac_check_lib_save_LIBS
40223 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40224 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40225 if test $ac_cv_lib_shl_load_dld = yes; then
40228 DL_LINK
=" -ldld$DL_LINK"
40244 if test "$HAVE_DL_FUNCS" = 1; then
40246 for ac_func
in dlerror
40248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40249 echo "$as_me:$LINENO: checking for $ac_func" >&5
40250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40251 if eval "test \"\${$as_ac_var+set}\" = set"; then
40252 echo $ECHO_N "(cached) $ECHO_C" >&6
40254 cat >conftest.
$ac_ext <<_ACEOF
40257 cat confdefs.h
>>conftest.
$ac_ext
40258 cat >>conftest.
$ac_ext <<_ACEOF
40259 /* end confdefs.h. */
40260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40262 #define $ac_func innocuous_$ac_func
40264 /* System header to define __stub macros and hopefully few prototypes,
40265 which can conflict with char $ac_func (); below.
40266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40267 <limits.h> exists even on freestanding compilers. */
40270 # include <limits.h>
40272 # include <assert.h>
40277 /* Override any gcc2 internal prototype to avoid an error. */
40282 /* We use char because int might match the return type of a gcc2
40283 builtin and then its argument prototype would still apply. */
40285 /* The GNU C library defines this for functions which it implements
40286 to always fail with ENOSYS. Some functions are actually named
40287 something starting with __ and the normal name is an alias. */
40288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40291 char (*f) () = $ac_func;
40300 return f != $ac_func;
40305 rm -f conftest.
$ac_objext conftest
$ac_exeext
40306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40307 (eval $ac_link) 2>conftest.er1
40309 grep -v '^ *+' conftest.er1
>conftest.err
40311 cat conftest.err
>&5
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); } &&
40314 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40316 (eval $ac_try) 2>&5
40318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319 (exit $ac_status); }; } &&
40320 { ac_try
='test -s conftest$ac_exeext'
40321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40322 (eval $ac_try) 2>&5
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); }; }; then
40326 eval "$as_ac_var=yes"
40328 echo "$as_me: failed program was:" >&5
40329 sed 's/^/| /' conftest.
$ac_ext >&5
40331 eval "$as_ac_var=no"
40333 rm -f conftest.err conftest.
$ac_objext \
40334 conftest
$ac_exeext conftest.
$ac_ext
40336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40338 if test `eval echo '${'$as_ac_var'}'` = yes; then
40339 cat >>confdefs.h
<<_ACEOF
40340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40342 cat >>confdefs.h
<<\_ACEOF
40343 #define HAVE_DLERROR 1
40348 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40349 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40350 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40351 echo $ECHO_N "(cached) $ECHO_C" >&6
40353 ac_check_lib_save_LIBS
=$LIBS
40355 cat >conftest.
$ac_ext <<_ACEOF
40358 cat confdefs.h
>>conftest.
$ac_ext
40359 cat >>conftest.
$ac_ext <<_ACEOF
40360 /* end confdefs.h. */
40362 /* Override any gcc2 internal prototype to avoid an error. */
40366 /* We use char because int might match the return type of a gcc2
40367 builtin and then its argument prototype would still apply. */
40377 rm -f conftest.
$ac_objext conftest
$ac_exeext
40378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40379 (eval $ac_link) 2>conftest.er1
40381 grep -v '^ *+' conftest.er1
>conftest.err
40383 cat conftest.err
>&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); } &&
40386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40388 (eval $ac_try) 2>&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); }; } &&
40392 { ac_try
='test -s conftest$ac_exeext'
40393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40394 (eval $ac_try) 2>&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); }; }; then
40398 ac_cv_lib_dl_dlerror
=yes
40400 echo "$as_me: failed program was:" >&5
40401 sed 's/^/| /' conftest.
$ac_ext >&5
40403 ac_cv_lib_dl_dlerror
=no
40405 rm -f conftest.err conftest.
$ac_objext \
40406 conftest
$ac_exeext conftest.
$ac_ext
40407 LIBS
=$ac_check_lib_save_LIBS
40409 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40410 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40411 if test $ac_cv_lib_dl_dlerror = yes; then
40412 cat >>confdefs.h
<<\_ACEOF
40413 #define HAVE_DLERROR 1
40426 if test "$HAVE_DL_FUNCS" = 0; then
40427 if test "$HAVE_SHL_FUNCS" = 0; then
40428 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40429 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40430 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40431 wxUSE_DYNAMIC_LOADER
=no
40432 wxUSE_DYNLIB_CLASS
=no
40434 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40435 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40442 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40443 cat >>confdefs.h
<<\_ACEOF
40444 #define wxUSE_DYNAMIC_LOADER 1
40448 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40449 cat >>confdefs.h
<<\_ACEOF
40450 #define wxUSE_DYNLIB_CLASS 1
40457 if test "$wxUSE_PLUGINS" = "yes" ; then
40458 if test "$wxUSE_SHARED" = "no" ; then
40459 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40460 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40463 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40464 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40465 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40468 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40469 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40470 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40473 if test "$wxUSE_PLUGINS" = "yes" ; then
40474 cat >>confdefs.h
<<\_ACEOF
40475 #define wxUSE_PLUGINS 1
40482 if test "$wxUSE_STL" = "yes"; then
40483 cat >>confdefs.h
<<\_ACEOF
40484 #define wxUSE_STL 1
40489 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40490 cat >>confdefs.h
<<\_ACEOF
40491 #define wxUSE_APPLE_IEEE 1
40496 if test "$wxUSE_TIMER" = "yes"; then
40497 cat >>confdefs.h
<<\_ACEOF
40498 #define wxUSE_TIMER 1
40503 if test "$USE_UNIX" = "1" ; then
40504 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40505 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40506 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40507 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 cat >conftest.
$ac_ext <<_ACEOF
40513 cat confdefs.h
>>conftest.
$ac_ext
40514 cat >>conftest.
$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40517 #include <sys/soundcard.h>
40523 ioctl(0, SNDCTL_DSP_SYNC, 0);
40529 rm -f conftest.
$ac_objext conftest
$ac_exeext
40530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40531 (eval $ac_link) 2>conftest.er1
40533 grep -v '^ *+' conftest.er1
>conftest.err
40535 cat conftest.err
>&5
40536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537 (exit $ac_status); } &&
40538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40540 (eval $ac_try) 2>&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); }; } &&
40544 { ac_try
='test -s conftest$ac_exeext'
40545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40546 (eval $ac_try) 2>&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); }; }; then
40550 ac_cv_header_sys_soundcard
=yes
40552 echo "$as_me: failed program was:" >&5
40553 sed 's/^/| /' conftest.
$ac_ext >&5
40557 LIBS
="$saveLibs -lossaudio"
40558 cat >conftest.
$ac_ext <<_ACEOF
40561 cat confdefs.h
>>conftest.
$ac_ext
40562 cat >>conftest.
$ac_ext <<_ACEOF
40563 /* end confdefs.h. */
40565 #include <sys/soundcard.h>
40571 ioctl(0, SNDCTL_DSP_SYNC, 0);
40577 rm -f conftest.
$ac_objext conftest
$ac_exeext
40578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40579 (eval $ac_link) 2>conftest.er1
40581 grep -v '^ *+' conftest.er1
>conftest.err
40583 cat conftest.err
>&5
40584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40585 (exit $ac_status); } &&
40586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40588 (eval $ac_try) 2>&5
40590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591 (exit $ac_status); }; } &&
40592 { ac_try
='test -s conftest$ac_exeext'
40593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40594 (eval $ac_try) 2>&5
40596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40597 (exit $ac_status); }; }; then
40598 ac_cv_header_sys_soundcard
=yes
40600 echo "$as_me: failed program was:" >&5
40601 sed 's/^/| /' conftest.
$ac_ext >&5
40605 ac_cv_header_sys_soundcard
=no
40609 rm -f conftest.err conftest.
$ac_objext \
40610 conftest
$ac_exeext conftest.
$ac_ext
40614 rm -f conftest.err conftest.
$ac_objext \
40615 conftest
$ac_exeext conftest.
$ac_ext
40618 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40619 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40621 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40622 cat >>confdefs.h
<<\_ACEOF
40623 #define HAVE_SYS_SOUNDCARD_H 1
40627 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40631 if test "$wxUSE_SOUND" = "yes"; then
40632 if test "$USE_UNIX" = "1" ; then
40633 if test "$wxUSE_LIBSDL" != "no"; then
40635 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40636 if test "${with_sdl_prefix+set}" = set; then
40637 withval
="$with_sdl_prefix"
40638 sdl_prefix
="$withval"
40643 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40644 if test "${with_sdl_exec_prefix+set}" = set; then
40645 withval
="$with_sdl_exec_prefix"
40646 sdl_exec_prefix
="$withval"
40650 # Check whether --enable-sdltest or --disable-sdltest was given.
40651 if test "${enable_sdltest+set}" = set; then
40652 enableval
="$enable_sdltest"
40658 if test x
$sdl_exec_prefix != x
; then
40659 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40660 if test x
${SDL_CONFIG+set} != xset
; then
40661 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40664 if test x
$sdl_prefix != x
; then
40665 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40666 if test x
${SDL_CONFIG+set} != xset
; then
40667 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40672 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40673 # Extract the first word of "sdl-config", so it can be a program name with args.
40674 set dummy sdl
-config; ac_word
=$2
40675 echo "$as_me:$LINENO: checking for $ac_word" >&5
40676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40677 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40680 case $SDL_CONFIG in
40682 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40686 for as_dir
in $PATH
40689 test -z "$as_dir" && as_dir
=.
40690 for ac_exec_ext
in '' $ac_executable_extensions; do
40691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40692 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40699 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40703 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40705 if test -n "$SDL_CONFIG"; then
40706 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40707 echo "${ECHO_T}$SDL_CONFIG" >&6
40709 echo "$as_me:$LINENO: result: no" >&5
40710 echo "${ECHO_T}no" >&6
40713 min_sdl_version
=1.2.0
40714 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40715 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40717 if test "$SDL_CONFIG" = "no" ; then
40720 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40721 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40723 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40725 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40727 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40729 if test "x$enable_sdltest" = "xyes" ; then
40730 ac_save_CFLAGS
="$CFLAGS"
40731 ac_save_CXXFLAGS
="$CXXFLAGS"
40732 ac_save_LIBS
="$LIBS"
40733 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40734 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40735 LIBS
="$LIBS $SDL_LIBS"
40737 if test "$cross_compiling" = yes; then
40738 echo $ac_n "cross compiling; assumed OK... $ac_c"
40740 cat >conftest.
$ac_ext <<_ACEOF
40743 cat confdefs.h
>>conftest.
$ac_ext
40744 cat >>conftest.
$ac_ext <<_ACEOF
40745 /* end confdefs.h. */
40748 #include <stdlib.h>
40749 #include <string.h>
40753 my_strdup (char *str)
40759 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40760 strcpy (new_str, str);
40768 int main (int argc, char *argv[])
40770 int major, minor, micro;
40773 /* This hangs on some systems (?)
40774 system ("touch conf.sdltest");
40776 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40778 /* HP/UX 9 (%@#!) writes to sscanf strings */
40779 tmp_version = my_strdup("$min_sdl_version");
40780 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40781 printf("%s, bad version string\n", "$min_sdl_version");
40785 if (($sdl_major_version > major) ||
40786 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40787 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40793 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40794 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40795 printf("*** best to upgrade to the required version.\n");
40796 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40797 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40798 printf("*** config.cache before re-running configure\n");
40805 rm -f conftest
$ac_exeext
40806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40807 (eval $ac_link) 2>&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40812 (eval $ac_try) 2>&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); }; }; then
40818 echo "$as_me: program exited with status $ac_status" >&5
40819 echo "$as_me: failed program was:" >&5
40820 sed 's/^/| /' conftest.
$ac_ext >&5
40822 ( exit $ac_status )
40825 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40827 CFLAGS
="$ac_save_CFLAGS"
40828 CXXFLAGS
="$ac_save_CXXFLAGS"
40829 LIBS
="$ac_save_LIBS"
40832 if test "x$no_sdl" = x
; then
40833 echo "$as_me:$LINENO: result: yes" >&5
40834 echo "${ECHO_T}yes" >&6
40836 EXTRALIBS_SDL
="$SDL_LIBS"
40837 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40838 cat >>confdefs.h
<<\_ACEOF
40839 #define wxUSE_LIBSDL 1
40844 echo "$as_me:$LINENO: result: no" >&5
40845 echo "${ECHO_T}no" >&6
40846 if test "$SDL_CONFIG" = "no" ; then
40847 echo "*** The sdl-config script installed by SDL could not be found"
40848 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40849 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40850 echo "*** full path to sdl-config."
40852 if test -f conf.sdltest
; then
40855 echo "*** Could not run SDL test program, checking why..."
40856 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40857 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40858 LIBS
="$LIBS $SDL_LIBS"
40859 cat >conftest.
$ac_ext <<_ACEOF
40862 cat confdefs.h
>>conftest.
$ac_ext
40863 cat >>conftest.
$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40869 int main(int argc, char *argv[])
40872 #define main K_and_R_C_main
40882 rm -f conftest.
$ac_objext conftest
$ac_exeext
40883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40884 (eval $ac_link) 2>conftest.er1
40886 grep -v '^ *+' conftest.er1
>conftest.err
40888 cat conftest.err
>&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } &&
40891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; } &&
40897 { ac_try
='test -s conftest$ac_exeext'
40898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40899 (eval $ac_try) 2>&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); }; }; then
40903 echo "*** The test program compiled, but did not run. This usually means"
40904 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40905 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40906 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40907 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40908 echo "*** is required on your system"
40910 echo "*** If you have an old version installed, it is best to remove it, although"
40911 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.
$ac_ext >&5
40916 echo "*** The test program failed to compile or link. See the file config.log for the"
40917 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40918 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40919 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40921 rm -f conftest.err conftest.
$ac_objext \
40922 conftest
$ac_exeext conftest.
$ac_ext
40923 CFLAGS
="$ac_save_CFLAGS"
40924 CXXFLAGS
="$ac_save_CXXFLAGS"
40925 LIBS
="$ac_save_LIBS"
40936 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40942 cat >>confdefs.h
<<\_ACEOF
40943 #define wxUSE_SOUND 1
40946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40949 if test "$WXGTK20" = 1; then
40950 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40951 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40956 if test -z "$PKG_CONFIG"; then
40957 # Extract the first word of "pkg-config", so it can be a program name with args.
40958 set dummy pkg
-config; ac_word
=$2
40959 echo "$as_me:$LINENO: checking for $ac_word" >&5
40960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40961 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40962 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 case $PKG_CONFIG in
40966 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40970 for as_dir
in $PATH
40973 test -z "$as_dir" && as_dir
=.
40974 for ac_exec_ext
in '' $ac_executable_extensions; do
40975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40976 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40983 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40987 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40989 if test -n "$PKG_CONFIG"; then
40990 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40991 echo "${ECHO_T}$PKG_CONFIG" >&6
40993 echo "$as_me:$LINENO: result: no" >&5
40994 echo "${ECHO_T}no" >&6
40999 if test "$PKG_CONFIG" = "no" ; then
41000 echo "*** The pkg-config script could not be found. Make sure it is"
41001 echo "*** in your path, or set the PKG_CONFIG environment variable"
41002 echo "*** to the full path to pkg-config."
41003 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41005 PKG_CONFIG_MIN_VERSION
=0.9.0
41006 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41007 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41008 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41010 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41011 echo "$as_me:$LINENO: result: yes" >&5
41012 echo "${ECHO_T}yes" >&6
41015 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41016 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41017 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41018 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41019 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41021 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41022 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41023 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41024 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41025 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41027 LIBGNOMEPRINTUI_CFLAGS
=""
41028 LIBGNOMEPRINTUI_LIBS
=""
41029 ## If we have a custom action on failure, don't print errors, but
41030 ## do set a variable so people can do so.
41031 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41038 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41039 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41043 if test $succeeded = yes; then
41045 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41046 cat >>confdefs.h
<<\_ACEOF
41047 #define wxUSE_LIBGNOMEPRINT 1
41053 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41054 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41055 wxUSE_LIBGNOMEPRINT
="no"
41064 if test "$WXGTK20" = 1; then
41065 if test "$wxUSE_MIMETYPE" = "yes" ; then
41066 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41071 if test -z "$PKG_CONFIG"; then
41072 # Extract the first word of "pkg-config", so it can be a program name with args.
41073 set dummy pkg
-config; ac_word
=$2
41074 echo "$as_me:$LINENO: checking for $ac_word" >&5
41075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41076 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41077 echo $ECHO_N "(cached) $ECHO_C" >&6
41079 case $PKG_CONFIG in
41081 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41085 for as_dir
in $PATH
41088 test -z "$as_dir" && as_dir
=.
41089 for ac_exec_ext
in '' $ac_executable_extensions; do
41090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41091 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41098 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41102 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41104 if test -n "$PKG_CONFIG"; then
41105 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41106 echo "${ECHO_T}$PKG_CONFIG" >&6
41108 echo "$as_me:$LINENO: result: no" >&5
41109 echo "${ECHO_T}no" >&6
41114 if test "$PKG_CONFIG" = "no" ; then
41115 echo "*** The pkg-config script could not be found. Make sure it is"
41116 echo "*** in your path, or set the PKG_CONFIG environment variable"
41117 echo "*** to the full path to pkg-config."
41118 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41120 PKG_CONFIG_MIN_VERSION
=0.9.0
41121 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41122 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41123 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41125 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41126 echo "$as_me:$LINENO: result: yes" >&5
41127 echo "${ECHO_T}yes" >&6
41130 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41131 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41132 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41133 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41134 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41136 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41137 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41138 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41139 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41140 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41144 ## If we have a custom action on failure, don't print errors, but
41145 ## do set a variable so people can do so.
41146 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41153 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41154 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41158 if test $succeeded = yes; then
41160 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41161 cat >>confdefs.h
<<\_ACEOF
41162 #define wxUSE_LIBGNOMEVFS 1
41168 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41169 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41170 wxUSE_LIBGNOMEVFS
="no"
41179 if test "$WXGTK20" = 1; then
41180 if test "$wxUSE_LIBHILDON" = "yes" ; then
41184 if test -z "$PKG_CONFIG"; then
41185 # Extract the first word of "pkg-config", so it can be a program name with args.
41186 set dummy pkg
-config; ac_word
=$2
41187 echo "$as_me:$LINENO: checking for $ac_word" >&5
41188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41189 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41190 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 case $PKG_CONFIG in
41194 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41198 for as_dir
in $PATH
41201 test -z "$as_dir" && as_dir
=.
41202 for ac_exec_ext
in '' $ac_executable_extensions; do
41203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41204 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41211 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41215 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41217 if test -n "$PKG_CONFIG"; then
41218 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41219 echo "${ECHO_T}$PKG_CONFIG" >&6
41221 echo "$as_me:$LINENO: result: no" >&5
41222 echo "${ECHO_T}no" >&6
41227 if test "$PKG_CONFIG" = "no" ; then
41228 echo "*** The pkg-config script could not be found. Make sure it is"
41229 echo "*** in your path, or set the PKG_CONFIG environment variable"
41230 echo "*** to the full path to pkg-config."
41231 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41233 PKG_CONFIG_MIN_VERSION
=0.9.0
41234 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41235 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41236 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41238 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41239 echo "$as_me:$LINENO: result: yes" >&5
41240 echo "${ECHO_T}yes" >&6
41243 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41244 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41245 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41246 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41247 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41249 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41250 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41251 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41252 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41253 echo "${ECHO_T}$HILDON_LIBS" >&6
41257 ## If we have a custom action on failure, don't print errors, but
41258 ## do set a variable so people can do so.
41259 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41266 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41267 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41271 if test $succeeded = yes; then
41273 EXTRALIBS_HILDON
="$HILDON_LIBS"
41274 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41275 cat >>confdefs.h
<<\_ACEOF
41276 #define wxUSE_LIBHILDON 1
41282 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41283 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41284 wxUSE_LIBHILDON
="no"
41292 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41293 cat >>confdefs.h
<<\_ACEOF
41294 #define wxUSE_CMDLINE_PARSER 1
41299 if test "$wxUSE_STOPWATCH" = "yes"; then
41300 cat >>confdefs.h
<<\_ACEOF
41301 #define wxUSE_STOPWATCH 1
41306 if test "$wxUSE_DATETIME" = "yes"; then
41307 cat >>confdefs.h
<<\_ACEOF
41308 #define wxUSE_DATETIME 1
41313 if test "$wxUSE_FILE" = "yes"; then
41314 cat >>confdefs.h
<<\_ACEOF
41315 #define wxUSE_FILE 1
41320 if test "$wxUSE_FFILE" = "yes"; then
41321 cat >>confdefs.h
<<\_ACEOF
41322 #define wxUSE_FFILE 1
41327 if test "$wxUSE_FILESYSTEM" = "yes"; then
41328 cat >>confdefs.h
<<\_ACEOF
41329 #define wxUSE_FILESYSTEM 1
41334 if test "$wxUSE_FS_ZIP" = "yes"; then
41335 cat >>confdefs.h
<<\_ACEOF
41336 #define wxUSE_FS_ZIP 1
41341 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41342 cat >>confdefs.h
<<\_ACEOF
41343 #define wxUSE_ARCHIVE_STREAMS 1
41348 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41349 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41350 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41351 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41352 elif test "$wxUSE_ZLIB" = "no"; then
41353 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41354 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41356 cat >>confdefs.h
<<\_ACEOF
41357 #define wxUSE_ZIPSTREAM 1
41363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41364 if test "$USE_UNIX" != 1; then
41365 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41366 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41367 wxUSE_ON_FATAL_EXCEPTION
=no
41369 cat >>confdefs.h
<<\_ACEOF
41370 #define wxUSE_ON_FATAL_EXCEPTION 1
41376 if test "$wxUSE_STACKWALKER" = "yes"; then
41377 cat >>confdefs.h
<<\_ACEOF
41378 #define wxUSE_STACKWALKER 1
41383 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41384 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41385 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41386 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41387 wxUSE_DEBUGREPORT
=no
41389 cat >>confdefs.h
<<\_ACEOF
41390 #define wxUSE_DEBUGREPORT 1
41393 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41399 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41400 cat >>confdefs.h
<<\_ACEOF
41401 #define wxUSE_SNGLINST_CHECKER 1
41406 if test "$wxUSE_BUSYINFO" = "yes"; then
41407 cat >>confdefs.h
<<\_ACEOF
41408 #define wxUSE_BUSYINFO 1
41413 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41414 cat >>confdefs.h
<<\_ACEOF
41415 #define wxUSE_STD_IOSTREAM 1
41420 if test "$wxUSE_STD_STRING" = "yes"; then
41421 cat >>confdefs.h
<<\_ACEOF
41422 #define wxUSE_STD_STRING 1
41427 if test "$wxUSE_STDPATHS" = "yes"; then
41428 cat >>confdefs.h
<<\_ACEOF
41429 #define wxUSE_STDPATHS 1
41434 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41435 cat >>confdefs.h
<<\_ACEOF
41436 #define wxUSE_TEXTBUFFER 1
41441 if test "$wxUSE_TEXTFILE" = "yes"; then
41442 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41443 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41444 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41446 cat >>confdefs.h
<<\_ACEOF
41447 #define wxUSE_TEXTFILE 1
41453 if test "$wxUSE_CONFIG" = "yes" ; then
41454 if test "$wxUSE_TEXTFILE" != "yes"; then
41455 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41456 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41458 cat >>confdefs.h
<<\_ACEOF
41459 #define wxUSE_CONFIG 1
41462 cat >>confdefs.h
<<\_ACEOF
41463 #define wxUSE_CONFIG_NATIVE 1
41466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41470 if test "$wxUSE_INTL" = "yes" ; then
41471 if test "$wxUSE_FILE" != "yes"; then
41472 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41473 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41475 cat >>confdefs.h
<<\_ACEOF
41476 #define wxUSE_INTL 1
41479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41480 GUIDIST
="$GUIDIST INTL_DIST"
41484 if test "$wxUSE_LOG" = "yes"; then
41485 cat >>confdefs.h
<<\_ACEOF
41486 #define wxUSE_LOG 1
41490 if test "$wxUSE_LOGGUI" = "yes"; then
41491 cat >>confdefs.h
<<\_ACEOF
41492 #define wxUSE_LOGGUI 1
41497 if test "$wxUSE_LOGWINDOW" = "yes"; then
41498 cat >>confdefs.h
<<\_ACEOF
41499 #define wxUSE_LOGWINDOW 1
41504 if test "$wxUSE_LOGDIALOG" = "yes"; then
41505 cat >>confdefs.h
<<\_ACEOF
41506 #define wxUSE_LOG_DIALOG 1
41511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41514 if test "$wxUSE_LONGLONG" = "yes"; then
41515 cat >>confdefs.h
<<\_ACEOF
41516 #define wxUSE_LONGLONG 1
41521 if test "$wxUSE_GEOMETRY" = "yes"; then
41522 cat >>confdefs.h
<<\_ACEOF
41523 #define wxUSE_GEOMETRY 1
41528 if test "$wxUSE_STREAMS" = "yes" ; then
41529 cat >>confdefs.h
<<\_ACEOF
41530 #define wxUSE_STREAMS 1
41536 if test "$wxUSE_DATETIME" = "yes"; then
41538 for ac_func
in strptime
41540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41541 echo "$as_me:$LINENO: checking for $ac_func" >&5
41542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41543 if eval "test \"\${$as_ac_var+set}\" = set"; then
41544 echo $ECHO_N "(cached) $ECHO_C" >&6
41546 cat >conftest.
$ac_ext <<_ACEOF
41549 cat confdefs.h
>>conftest.
$ac_ext
41550 cat >>conftest.
$ac_ext <<_ACEOF
41551 /* end confdefs.h. */
41552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41554 #define $ac_func innocuous_$ac_func
41556 /* System header to define __stub macros and hopefully few prototypes,
41557 which can conflict with char $ac_func (); below.
41558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41559 <limits.h> exists even on freestanding compilers. */
41562 # include <limits.h>
41564 # include <assert.h>
41569 /* Override any gcc2 internal prototype to avoid an error. */
41574 /* We use char because int might match the return type of a gcc2
41575 builtin and then its argument prototype would still apply. */
41577 /* The GNU C library defines this for functions which it implements
41578 to always fail with ENOSYS. Some functions are actually named
41579 something starting with __ and the normal name is an alias. */
41580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41583 char (*f) () = $ac_func;
41592 return f != $ac_func;
41597 rm -f conftest.
$ac_objext conftest
$ac_exeext
41598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41599 (eval $ac_link) 2>conftest.er1
41601 grep -v '^ *+' conftest.er1
>conftest.err
41603 cat conftest.err
>&5
41604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41605 (exit $ac_status); } &&
41606 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41608 (eval $ac_try) 2>&5
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); }; } &&
41612 { ac_try
='test -s conftest$ac_exeext'
41613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41614 (eval $ac_try) 2>&5
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); }; }; then
41618 eval "$as_ac_var=yes"
41620 echo "$as_me: failed program was:" >&5
41621 sed 's/^/| /' conftest.
$ac_ext >&5
41623 eval "$as_ac_var=no"
41625 rm -f conftest.err conftest.
$ac_objext \
41626 conftest
$ac_exeext conftest.
$ac_ext
41628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41630 if test `eval echo '${'$as_ac_var'}'` = yes; then
41631 cat >>confdefs.h
<<_ACEOF
41632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41638 if test "$ac_cv_func_strptime" = "yes"; then
41639 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41640 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41641 if test "${wx_cv_func_strptime_decl+set}" = set; then
41642 echo $ECHO_N "(cached) $ECHO_C" >&6
41645 cat >conftest.
$ac_ext <<_ACEOF
41648 cat confdefs.h
>>conftest.
$ac_ext
41649 cat >>conftest.
$ac_ext <<_ACEOF
41650 /* end confdefs.h. */
41659 strptime("foo", "bar", &t);
41665 rm -f conftest.
$ac_objext
41666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41667 (eval $ac_compile) 2>conftest.er1
41669 grep -v '^ *+' conftest.er1
>conftest.err
41671 cat conftest.err
>&5
41672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41673 (exit $ac_status); } &&
41674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41676 (eval $ac_try) 2>&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); }; } &&
41680 { ac_try
='test -s conftest.$ac_objext'
41681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41682 (eval $ac_try) 2>&5
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); }; }; then
41686 wx_cv_func_strptime_decl
=yes
41688 echo "$as_me: failed program was:" >&5
41689 sed 's/^/| /' conftest.
$ac_ext >&5
41691 wx_cv_func_strptime_decl
=no
41694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41698 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41699 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41701 if test "$wx_cv_func_strptime_decl" = "yes"; then
41702 cat >>confdefs.h
<<\_ACEOF
41703 #define HAVE_STRPTIME_DECL 1
41708 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41709 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41710 if test "${wx_cv_var_timezone+set}" = set; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41714 cat >conftest.
$ac_ext <<_ACEOF
41717 cat confdefs.h
>>conftest.
$ac_ext
41718 cat >>conftest.
$ac_ext <<_ACEOF
41719 /* end confdefs.h. */
41734 rm -f conftest.
$ac_objext
41735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41736 (eval $ac_compile) 2>conftest.er1
41738 grep -v '^ *+' conftest.er1
>conftest.err
41740 cat conftest.err
>&5
41741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41742 (exit $ac_status); } &&
41743 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41745 (eval $ac_try) 2>&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); }; } &&
41749 { ac_try
='test -s conftest.$ac_objext'
41750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41751 (eval $ac_try) 2>&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); }; }; then
41756 wx_cv_var_timezone
=timezone
41759 echo "$as_me: failed program was:" >&5
41760 sed 's/^/| /' conftest.
$ac_ext >&5
41763 cat >conftest.
$ac_ext <<_ACEOF
41766 cat confdefs.h
>>conftest.
$ac_ext
41767 cat >>conftest.
$ac_ext <<_ACEOF
41768 /* end confdefs.h. */
41783 rm -f conftest.
$ac_objext
41784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41785 (eval $ac_compile) 2>conftest.er1
41787 grep -v '^ *+' conftest.er1
>conftest.err
41789 cat conftest.err
>&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } &&
41792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41794 (eval $ac_try) 2>&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; } &&
41798 { ac_try
='test -s conftest.$ac_objext'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; }; then
41805 wx_cv_var_timezone
=_timezone
41808 echo "$as_me: failed program was:" >&5
41809 sed 's/^/| /' conftest.
$ac_ext >&5
41812 cat >conftest.
$ac_ext <<_ACEOF
41815 cat confdefs.h
>>conftest.
$ac_ext
41816 cat >>conftest.
$ac_ext <<_ACEOF
41817 /* end confdefs.h. */
41832 rm -f conftest.
$ac_objext
41833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41834 (eval $ac_compile) 2>conftest.er1
41836 grep -v '^ *+' conftest.er1
>conftest.err
41838 cat conftest.err
>&5
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); } &&
41841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try
='test -s conftest.$ac_objext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41854 wx_cv_var_timezone
=__timezone
41857 echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.
$ac_ext >&5
41861 if test "$USE_DOS" = 0 ; then
41862 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41863 echo "$as_me: WARNING: no timezone variable" >&2;}
41868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41880 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41881 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41883 if test "x$wx_cv_var_timezone" != x
; then
41884 cat >>confdefs.h
<<_ACEOF
41885 #define WX_TIMEZONE $wx_cv_var_timezone
41891 for ac_func
in localtime
41893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41894 echo "$as_me:$LINENO: checking for $ac_func" >&5
41895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41896 if eval "test \"\${$as_ac_var+set}\" = set"; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41899 cat >conftest.
$ac_ext <<_ACEOF
41902 cat confdefs.h
>>conftest.
$ac_ext
41903 cat >>conftest.
$ac_ext <<_ACEOF
41904 /* end confdefs.h. */
41905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41907 #define $ac_func innocuous_$ac_func
41909 /* System header to define __stub macros and hopefully few prototypes,
41910 which can conflict with char $ac_func (); below.
41911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41912 <limits.h> exists even on freestanding compilers. */
41915 # include <limits.h>
41917 # include <assert.h>
41922 /* Override any gcc2 internal prototype to avoid an error. */
41927 /* We use char because int might match the return type of a gcc2
41928 builtin and then its argument prototype would still apply. */
41930 /* The GNU C library defines this for functions which it implements
41931 to always fail with ENOSYS. Some functions are actually named
41932 something starting with __ and the normal name is an alias. */
41933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41936 char (*f) () = $ac_func;
41945 return f != $ac_func;
41950 rm -f conftest.
$ac_objext conftest
$ac_exeext
41951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41952 (eval $ac_link) 2>conftest.er1
41954 grep -v '^ *+' conftest.er1
>conftest.err
41956 cat conftest.err
>&5
41957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41958 (exit $ac_status); } &&
41959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41961 (eval $ac_try) 2>&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); }; } &&
41965 { ac_try
='test -s conftest$ac_exeext'
41966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41967 (eval $ac_try) 2>&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); }; }; then
41971 eval "$as_ac_var=yes"
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.
$ac_ext >&5
41976 eval "$as_ac_var=no"
41978 rm -f conftest.err conftest.
$ac_objext \
41979 conftest
$ac_exeext conftest.
$ac_ext
41981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41983 if test `eval echo '${'$as_ac_var'}'` = yes; then
41984 cat >>confdefs.h
<<_ACEOF
41985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41992 if test "$ac_cv_func_localtime" = "yes"; then
41993 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41994 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41995 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41996 echo $ECHO_N "(cached) $ECHO_C" >&6
41999 cat >conftest.
$ac_ext <<_ACEOF
42002 cat confdefs.h
>>conftest.
$ac_ext
42003 cat >>conftest.
$ac_ext <<_ACEOF
42004 /* end confdefs.h. */
42019 rm -f conftest.
$ac_objext
42020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42021 (eval $ac_compile) 2>conftest.er1
42023 grep -v '^ *+' conftest.er1
>conftest.err
42025 cat conftest.err
>&5
42026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027 (exit $ac_status); } &&
42028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42030 (eval $ac_try) 2>&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); }; } &&
42034 { ac_try
='test -s conftest.$ac_objext'
42035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42036 (eval $ac_try) 2>&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); }; }; then
42041 wx_cv_struct_tm_has_gmtoff
=yes
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.
$ac_ext >&5
42047 wx_cv_struct_tm_has_gmtoff
=no
42050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42053 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42054 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42057 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42058 cat >>confdefs.h
<<\_ACEOF
42059 #define WX_GMTOFF_IN_TM 1
42066 for ac_func
in gettimeofday ftime
42068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42069 echo "$as_me:$LINENO: checking for $ac_func" >&5
42070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42071 if eval "test \"\${$as_ac_var+set}\" = set"; then
42072 echo $ECHO_N "(cached) $ECHO_C" >&6
42074 cat >conftest.
$ac_ext <<_ACEOF
42077 cat confdefs.h
>>conftest.
$ac_ext
42078 cat >>conftest.
$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42082 #define $ac_func innocuous_$ac_func
42084 /* System header to define __stub macros and hopefully few prototypes,
42085 which can conflict with char $ac_func (); below.
42086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42087 <limits.h> exists even on freestanding compilers. */
42090 # include <limits.h>
42092 # include <assert.h>
42097 /* Override any gcc2 internal prototype to avoid an error. */
42102 /* We use char because int might match the return type of a gcc2
42103 builtin and then its argument prototype would still apply. */
42105 /* The GNU C library defines this for functions which it implements
42106 to always fail with ENOSYS. Some functions are actually named
42107 something starting with __ and the normal name is an alias. */
42108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42111 char (*f) () = $ac_func;
42120 return f != $ac_func;
42125 rm -f conftest.
$ac_objext conftest
$ac_exeext
42126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42127 (eval $ac_link) 2>conftest.er1
42129 grep -v '^ *+' conftest.er1
>conftest.err
42131 cat conftest.err
>&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); } &&
42134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42136 (eval $ac_try) 2>&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); }; } &&
42140 { ac_try
='test -s conftest$ac_exeext'
42141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42142 (eval $ac_try) 2>&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); }; }; then
42146 eval "$as_ac_var=yes"
42148 echo "$as_me: failed program was:" >&5
42149 sed 's/^/| /' conftest.
$ac_ext >&5
42151 eval "$as_ac_var=no"
42153 rm -f conftest.err conftest.
$ac_objext \
42154 conftest
$ac_exeext conftest.
$ac_ext
42156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42158 if test `eval echo '${'$as_ac_var'}'` = yes; then
42159 cat >>confdefs.h
<<_ACEOF
42160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42167 if test "$ac_cv_func_gettimeofday" = "yes"; then
42168 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42169 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42170 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42171 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 cat >conftest.
$ac_ext <<_ACEOF
42177 cat confdefs.h
>>conftest.
$ac_ext
42178 cat >>conftest.
$ac_ext <<_ACEOF
42179 /* end confdefs.h. */
42181 #include <sys/time.h>
42182 #include <unistd.h>
42189 gettimeofday(&tv, NULL);
42195 rm -f conftest.
$ac_objext
42196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42197 (eval $ac_compile) 2>conftest.er1
42199 grep -v '^ *+' conftest.er1
>conftest.err
42201 cat conftest.err
>&5
42202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42203 (exit $ac_status); } &&
42204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42206 (eval $ac_try) 2>&5
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); }; } &&
42210 { ac_try
='test -s conftest.$ac_objext'
42211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42212 (eval $ac_try) 2>&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); }; }; then
42216 wx_cv_func_gettimeofday_has_2_args
=yes
42218 echo "$as_me: failed program was:" >&5
42219 sed 's/^/| /' conftest.
$ac_ext >&5
42221 cat >conftest.
$ac_ext <<_ACEOF
42224 cat confdefs.h
>>conftest.
$ac_ext
42225 cat >>conftest.
$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42228 #include <sys/time.h>
42229 #include <unistd.h>
42242 rm -f conftest.
$ac_objext
42243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42244 (eval $ac_compile) 2>conftest.er1
42246 grep -v '^ *+' conftest.er1
>conftest.err
42248 cat conftest.err
>&5
42249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250 (exit $ac_status); } &&
42251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42253 (eval $ac_try) 2>&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); }; } &&
42257 { ac_try
='test -s conftest.$ac_objext'
42258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42259 (eval $ac_try) 2>&5
42261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42262 (exit $ac_status); }; }; then
42263 wx_cv_func_gettimeofday_has_2_args
=no
42265 echo "$as_me: failed program was:" >&5
42266 sed 's/^/| /' conftest.
$ac_ext >&5
42269 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42270 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42271 wx_cv_func_gettimeofday_has_2_args
=unknown
42275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42281 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42282 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42284 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42285 cat >>confdefs.h
<<\_ACEOF
42286 #define WX_GETTIMEOFDAY_NO_TZ 1
42292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42296 if test "$wxUSE_SOCKETS" = "yes"; then
42297 if test "$wxUSE_MGL" = "1"; then
42298 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42299 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42304 if test "$wxUSE_SOCKETS" = "yes"; then
42305 if test "$TOOLKIT" != "MSW"; then
42306 echo "$as_me:$LINENO: checking for socket" >&5
42307 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42308 if test "${ac_cv_func_socket+set}" = set; then
42309 echo $ECHO_N "(cached) $ECHO_C" >&6
42311 cat >conftest.
$ac_ext <<_ACEOF
42314 cat confdefs.h
>>conftest.
$ac_ext
42315 cat >>conftest.
$ac_ext <<_ACEOF
42316 /* end confdefs.h. */
42317 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42319 #define socket innocuous_socket
42321 /* System header to define __stub macros and hopefully few prototypes,
42322 which can conflict with char socket (); below.
42323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42324 <limits.h> exists even on freestanding compilers. */
42327 # include <limits.h>
42329 # include <assert.h>
42334 /* Override any gcc2 internal prototype to avoid an error. */
42339 /* We use char because int might match the return type of a gcc2
42340 builtin and then its argument prototype would still apply. */
42342 /* The GNU C library defines this for functions which it implements
42343 to always fail with ENOSYS. Some functions are actually named
42344 something starting with __ and the normal name is an alias. */
42345 #if defined (__stub_socket) || defined (__stub___socket)
42348 char (*f) () = socket;
42357 return f != socket;
42362 rm -f conftest.
$ac_objext conftest
$ac_exeext
42363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42364 (eval $ac_link) 2>conftest.er1
42366 grep -v '^ *+' conftest.er1
>conftest.err
42368 cat conftest.err
>&5
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); } &&
42371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42373 (eval $ac_try) 2>&5
42375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42376 (exit $ac_status); }; } &&
42377 { ac_try
='test -s conftest$ac_exeext'
42378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42379 (eval $ac_try) 2>&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); }; }; then
42383 ac_cv_func_socket
=yes
42385 echo "$as_me: failed program was:" >&5
42386 sed 's/^/| /' conftest.
$ac_ext >&5
42388 ac_cv_func_socket
=no
42390 rm -f conftest.err conftest.
$ac_objext \
42391 conftest
$ac_exeext conftest.
$ac_ext
42393 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42394 echo "${ECHO_T}$ac_cv_func_socket" >&6
42395 if test $ac_cv_func_socket = yes; then
42399 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42400 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42401 if test "${ac_cv_lib_socket_socket+set}" = set; then
42402 echo $ECHO_N "(cached) $ECHO_C" >&6
42404 ac_check_lib_save_LIBS
=$LIBS
42405 LIBS
="-lsocket $LIBS"
42406 cat >conftest.
$ac_ext <<_ACEOF
42409 cat confdefs.h
>>conftest.
$ac_ext
42410 cat >>conftest.
$ac_ext <<_ACEOF
42411 /* end confdefs.h. */
42413 /* Override any gcc2 internal prototype to avoid an error. */
42417 /* We use char because int might match the return type of a gcc2
42418 builtin and then its argument prototype would still apply. */
42428 rm -f conftest.
$ac_objext conftest
$ac_exeext
42429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42430 (eval $ac_link) 2>conftest.er1
42432 grep -v '^ *+' conftest.er1
>conftest.err
42434 cat conftest.err
>&5
42435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42436 (exit $ac_status); } &&
42437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42439 (eval $ac_try) 2>&5
42441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42442 (exit $ac_status); }; } &&
42443 { ac_try
='test -s conftest$ac_exeext'
42444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42445 (eval $ac_try) 2>&5
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); }; }; then
42449 ac_cv_lib_socket_socket
=yes
42451 echo "$as_me: failed program was:" >&5
42452 sed 's/^/| /' conftest.
$ac_ext >&5
42454 ac_cv_lib_socket_socket
=no
42456 rm -f conftest.err conftest.
$ac_objext \
42457 conftest
$ac_exeext conftest.
$ac_ext
42458 LIBS
=$ac_check_lib_save_LIBS
42460 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42461 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42462 if test $ac_cv_lib_socket_socket = yes; then
42463 if test "$INET_LINK" != " -lsocket"; then
42464 INET_LINK
="$INET_LINK -lsocket"
42468 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42469 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42482 if test "$wxUSE_SOCKETS" = "yes" ; then
42483 if test "$TOOLKIT" != "MSW"; then
42484 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42485 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42486 if test "${wx_cv_type_getsockname3+set}" = set; then
42487 echo $ECHO_N "(cached) $ECHO_C" >&6
42490 cat >conftest.
$ac_ext <<_ACEOF
42493 cat confdefs.h
>>conftest.
$ac_ext
42494 cat >>conftest.
$ac_ext <<_ACEOF
42495 /* end confdefs.h. */
42497 #include <sys/types.h>
42498 #include <sys/socket.h>
42505 getsockname(0, 0, &len);
42511 rm -f conftest.
$ac_objext
42512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42513 (eval $ac_compile) 2>conftest.er1
42515 grep -v '^ *+' conftest.er1
>conftest.err
42517 cat conftest.err
>&5
42518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42519 (exit $ac_status); } &&
42520 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42522 (eval $ac_try) 2>&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); }; } &&
42526 { ac_try
='test -s conftest.$ac_objext'
42527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42528 (eval $ac_try) 2>&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); }; }; then
42532 wx_cv_type_getsockname3
=socklen_t
42534 echo "$as_me: failed program was:" >&5
42535 sed 's/^/| /' conftest.
$ac_ext >&5
42538 CXXFLAGS_OLD
="$CXXFLAGS"
42539 if test "$GCC" = yes ; then
42540 CXXFLAGS
="-Werror $CXXFLAGS"
42543 cat >conftest.
$ac_ext <<_ACEOF
42546 cat confdefs.h
>>conftest.
$ac_ext
42547 cat >>conftest.
$ac_ext <<_ACEOF
42548 /* end confdefs.h. */
42550 #include <sys/types.h>
42551 #include <sys/socket.h>
42558 getsockname(0, 0, &len);
42564 rm -f conftest.
$ac_objext
42565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42566 (eval $ac_compile) 2>conftest.er1
42568 grep -v '^ *+' conftest.er1
>conftest.err
42570 cat conftest.err
>&5
42571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42572 (exit $ac_status); } &&
42573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42575 (eval $ac_try) 2>&5
42577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578 (exit $ac_status); }; } &&
42579 { ac_try
='test -s conftest.$ac_objext'
42580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42581 (eval $ac_try) 2>&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); }; }; then
42585 wx_cv_type_getsockname3
=size_t
42587 echo "$as_me: failed program was:" >&5
42588 sed 's/^/| /' conftest.
$ac_ext >&5
42590 cat >conftest.
$ac_ext <<_ACEOF
42593 cat confdefs.h
>>conftest.
$ac_ext
42594 cat >>conftest.
$ac_ext <<_ACEOF
42595 /* end confdefs.h. */
42597 #include <sys/types.h>
42598 #include <sys/socket.h>
42605 getsockname(0, 0, &len);
42611 rm -f conftest.
$ac_objext
42612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42613 (eval $ac_compile) 2>conftest.er1
42615 grep -v '^ *+' conftest.er1
>conftest.err
42617 cat conftest.err
>&5
42618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619 (exit $ac_status); } &&
42620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622 (eval $ac_try) 2>&5
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; } &&
42626 { ac_try
='test -s conftest.$ac_objext'
42627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42628 (eval $ac_try) 2>&5
42630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42631 (exit $ac_status); }; }; then
42632 wx_cv_type_getsockname3
=int
42634 echo "$as_me: failed program was:" >&5
42635 sed 's/^/| /' conftest.
$ac_ext >&5
42637 wx_cv_type_getsockname3
=unknown
42640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42645 CXXFLAGS
="$CXXFLAGS_OLD"
42649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42652 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42653 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42655 if test "$wx_cv_type_getsockname3" = "unknown"; then
42657 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42658 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42660 cat >>confdefs.h
<<_ACEOF
42661 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42665 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42666 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42667 if test "${wx_cv_type_getsockopt5+set}" = set; then
42668 echo $ECHO_N "(cached) $ECHO_C" >&6
42671 cat >conftest.
$ac_ext <<_ACEOF
42674 cat confdefs.h
>>conftest.
$ac_ext
42675 cat >>conftest.
$ac_ext <<_ACEOF
42676 /* end confdefs.h. */
42678 #include <sys/types.h>
42679 #include <sys/socket.h>
42686 getsockopt(0, 0, 0, 0, &len);
42692 rm -f conftest.
$ac_objext
42693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42694 (eval $ac_compile) 2>conftest.er1
42696 grep -v '^ *+' conftest.er1
>conftest.err
42698 cat conftest.err
>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } &&
42701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703 (eval $ac_try) 2>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; } &&
42707 { ac_try
='test -s conftest.$ac_objext'
42708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42709 (eval $ac_try) 2>&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); }; }; then
42713 wx_cv_type_getsockopt5
=socklen_t
42715 echo "$as_me: failed program was:" >&5
42716 sed 's/^/| /' conftest.
$ac_ext >&5
42719 CXXFLAGS_OLD
="$CXXFLAGS"
42720 if test "$GCC" = yes ; then
42721 CXXFLAGS
="-Werror $CXXFLAGS"
42724 cat >conftest.
$ac_ext <<_ACEOF
42727 cat confdefs.h
>>conftest.
$ac_ext
42728 cat >>conftest.
$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42731 #include <sys/types.h>
42732 #include <sys/socket.h>
42739 getsockopt(0, 0, 0, 0, &len);
42745 rm -f conftest.
$ac_objext
42746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42747 (eval $ac_compile) 2>conftest.er1
42749 grep -v '^ *+' conftest.er1
>conftest.err
42751 cat conftest.err
>&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } &&
42754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42756 (eval $ac_try) 2>&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); }; } &&
42760 { ac_try
='test -s conftest.$ac_objext'
42761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42762 (eval $ac_try) 2>&5
42764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765 (exit $ac_status); }; }; then
42766 wx_cv_type_getsockopt5
=size_t
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.
$ac_ext >&5
42771 cat >conftest.
$ac_ext <<_ACEOF
42774 cat confdefs.h
>>conftest.
$ac_ext
42775 cat >>conftest.
$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42778 #include <sys/types.h>
42779 #include <sys/socket.h>
42786 getsockopt(0, 0, 0, 0, &len);
42792 rm -f conftest.
$ac_objext
42793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42794 (eval $ac_compile) 2>conftest.er1
42796 grep -v '^ *+' conftest.er1
>conftest.err
42798 cat conftest.err
>&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); } &&
42801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42803 (eval $ac_try) 2>&5
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); }; } &&
42807 { ac_try
='test -s conftest.$ac_objext'
42808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42809 (eval $ac_try) 2>&5
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); }; }; then
42813 wx_cv_type_getsockopt5
=int
42815 echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.
$ac_ext >&5
42818 wx_cv_type_getsockopt5
=unknown
42821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42826 CXXFLAGS
="$CXXFLAGS_OLD"
42830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42833 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42834 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42836 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42838 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42839 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42841 cat >>confdefs.h
<<_ACEOF
42842 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42849 if test "$wxUSE_SOCKETS" = "yes" ; then
42850 cat >>confdefs.h
<<\_ACEOF
42851 #define wxUSE_SOCKETS 1
42854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42857 if test "$wxUSE_PROTOCOL" = "yes"; then
42858 if test "$wxUSE_SOCKETS" != "yes"; then
42859 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42860 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42865 if test "$wxUSE_PROTOCOL" = "yes"; then
42866 cat >>confdefs.h
<<\_ACEOF
42867 #define wxUSE_PROTOCOL 1
42871 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42872 cat >>confdefs.h
<<\_ACEOF
42873 #define wxUSE_PROTOCOL_HTTP 1
42877 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42878 cat >>confdefs.h
<<\_ACEOF
42879 #define wxUSE_PROTOCOL_FTP 1
42883 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42884 cat >>confdefs.h
<<\_ACEOF
42885 #define wxUSE_PROTOCOL_FILE 1
42890 if test "$wxUSE_FS_INET" = "yes"; then
42891 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42892 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42897 if test "$wxUSE_URL" = "yes"; then
42898 if test "$wxUSE_PROTOCOL" != "yes"; then
42899 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42900 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42903 if test "$wxUSE_URL" = "yes"; then
42904 cat >>confdefs.h
<<\_ACEOF
42905 #define wxUSE_URL 1
42911 if test "$wxUSE_FS_INET" = "yes"; then
42912 cat >>confdefs.h
<<\_ACEOF
42913 #define wxUSE_FS_INET 1
42919 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42922 if test "$TOOLKIT" = "MSW"; then
42925 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42926 if test "$USE_DARWIN" = 1; then
42927 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42928 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42929 cat >conftest.
$ac_ext <<_ACEOF
42932 cat confdefs.h
>>conftest.
$ac_ext
42933 cat >>conftest.
$ac_ext <<_ACEOF
42934 /* end confdefs.h. */
42935 #include <IOKit/hid/IOHIDLib.h>
42939 IOHIDQueueInterface *qi = NULL;
42940 IOHIDCallbackFunction cb = NULL;
42941 qi->setEventCallout(NULL, cb, NULL, NULL);
42946 rm -f conftest.
$ac_objext
42947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42948 (eval $ac_compile) 2>conftest.er1
42950 grep -v '^ *+' conftest.er1
>conftest.err
42952 cat conftest.err
>&5
42953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42954 (exit $ac_status); } &&
42955 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42957 (eval $ac_try) 2>&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); }; } &&
42961 { ac_try
='test -s conftest.$ac_objext'
42962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42963 (eval $ac_try) 2>&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); }; }; then
42970 echo "$as_me: failed program was:" >&5
42971 sed 's/^/| /' conftest.
$ac_ext >&5
42974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42975 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42976 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42981 for ac_header
in linux
/joystick.h
42983 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42985 echo "$as_me:$LINENO: checking for $ac_header" >&5
42986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42988 echo $ECHO_N "(cached) $ECHO_C" >&6
42990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42993 # Is the header compilable?
42994 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42995 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42996 cat >conftest.
$ac_ext <<_ACEOF
42999 cat confdefs.h
>>conftest.
$ac_ext
43000 cat >>conftest.
$ac_ext <<_ACEOF
43001 /* end confdefs.h. */
43002 $ac_includes_default
43003 #include <$ac_header>
43005 rm -f conftest.
$ac_objext
43006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43007 (eval $ac_compile) 2>conftest.er1
43009 grep -v '^ *+' conftest.er1
>conftest.err
43011 cat conftest.err
>&5
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); } &&
43014 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43016 (eval $ac_try) 2>&5
43018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43019 (exit $ac_status); }; } &&
43020 { ac_try
='test -s conftest.$ac_objext'
43021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43022 (eval $ac_try) 2>&5
43024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43025 (exit $ac_status); }; }; then
43026 ac_header_compiler
=yes
43028 echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.
$ac_ext >&5
43031 ac_header_compiler
=no
43033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43035 echo "${ECHO_T}$ac_header_compiler" >&6
43037 # Is the header present?
43038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43040 cat >conftest.
$ac_ext <<_ACEOF
43043 cat confdefs.h
>>conftest.
$ac_ext
43044 cat >>conftest.
$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43046 #include <$ac_header>
43048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43049 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43051 grep -v '^ *+' conftest.er1
>conftest.err
43053 cat conftest.err
>&5
43054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43055 (exit $ac_status); } >/dev
/null
; then
43056 if test -s conftest.err
; then
43057 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43058 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43065 if test -z "$ac_cpp_err"; then
43066 ac_header_preproc
=yes
43068 echo "$as_me: failed program was:" >&5
43069 sed 's/^/| /' conftest.
$ac_ext >&5
43071 ac_header_preproc
=no
43073 rm -f conftest.err conftest.
$ac_ext
43074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43075 echo "${ECHO_T}$ac_header_preproc" >&6
43077 # So? What about this header?
43078 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43084 ac_header_preproc
=yes
43087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43091 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43093 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43094 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43097 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43101 ## ----------------------------------------- ##
43102 ## Report this to wx-dev@lists.wxwidgets.org ##
43103 ## ----------------------------------------- ##
43106 sed "s/^/$as_me: WARNING: /" >&2
43109 echo "$as_me:$LINENO: checking for $ac_header" >&5
43110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43112 echo $ECHO_N "(cached) $ECHO_C" >&6
43114 eval "$as_ac_Header=\$ac_header_preproc"
43116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43121 cat >>confdefs.h
<<_ACEOF
43122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43131 if test "$wxUSE_JOYSTICK" = "yes"; then
43132 cat >>confdefs.h
<<\_ACEOF
43133 #define wxUSE_JOYSTICK 1
43136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43138 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43139 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43145 if test "$wxUSE_FONTMAP" = "yes" ; then
43146 cat >>confdefs.h
<<\_ACEOF
43147 #define wxUSE_FONTMAP 1
43152 if test "$wxUSE_UNICODE" = "yes" ; then
43153 cat >>confdefs.h
<<\_ACEOF
43154 #define wxUSE_UNICODE 1
43158 if test "$USE_WIN32" != 1; then
43159 wxUSE_UNICODE_MSLU
=no
43162 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43163 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43164 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43165 if test "${ac_cv_lib_unicows_main+set}" = set; then
43166 echo $ECHO_N "(cached) $ECHO_C" >&6
43168 ac_check_lib_save_LIBS
=$LIBS
43169 LIBS
="-lunicows $LIBS"
43170 cat >conftest.
$ac_ext <<_ACEOF
43173 cat confdefs.h
>>conftest.
$ac_ext
43174 cat >>conftest.
$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43186 rm -f conftest.
$ac_objext conftest
$ac_exeext
43187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43188 (eval $ac_link) 2>conftest.er1
43190 grep -v '^ *+' conftest.er1
>conftest.err
43192 cat conftest.err
>&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } &&
43195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; } &&
43201 { ac_try
='test -s conftest$ac_exeext'
43202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43203 (eval $ac_try) 2>&5
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); }; }; then
43207 ac_cv_lib_unicows_main
=yes
43209 echo "$as_me: failed program was:" >&5
43210 sed 's/^/| /' conftest.
$ac_ext >&5
43212 ac_cv_lib_unicows_main
=no
43214 rm -f conftest.err conftest.
$ac_objext \
43215 conftest
$ac_exeext conftest.
$ac_ext
43216 LIBS
=$ac_check_lib_save_LIBS
43218 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43219 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43220 if test $ac_cv_lib_unicows_main = yes; then
43222 cat >>confdefs.h
<<\_ACEOF
43223 #define wxUSE_UNICODE_MSLU 1
43229 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43230 Applications will only run on Windows NT/2000/XP!" >&5
43231 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43232 Applications will only run on Windows NT/2000/XP!" >&2;}
43233 wxUSE_UNICODE_MSLU
=no
43240 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43241 cat >>confdefs.h
<<\_ACEOF
43242 #define wxUSE_EXPERIMENTAL_PRINTF 1
43248 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43249 cat >>confdefs.h
<<\_ACEOF
43250 #define wxUSE_POSTSCRIPT 1
43255 cat >>confdefs.h
<<\_ACEOF
43256 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43260 cat >>confdefs.h
<<\_ACEOF
43261 #define wxUSE_NORMALIZED_PS_FONTS 1
43266 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43267 cat >>confdefs.h
<<\_ACEOF
43268 #define wxUSE_CONSTRAINTS 1
43271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43274 if test "$wxUSE_MDI" = "yes"; then
43275 cat >>confdefs.h
<<\_ACEOF
43276 #define wxUSE_MDI 1
43280 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43281 cat >>confdefs.h
<<\_ACEOF
43282 #define wxUSE_MDI_ARCHITECTURE 1
43285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43289 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43290 cat >>confdefs.h
<<\_ACEOF
43291 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43295 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43300 if test "$wxUSE_HELP" = "yes"; then
43301 cat >>confdefs.h
<<\_ACEOF
43302 #define wxUSE_HELP 1
43305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43307 if test "$wxUSE_MSW" = 1; then
43308 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43309 cat >>confdefs.h
<<\_ACEOF
43310 #define wxUSE_MS_HTML_HELP 1
43316 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43317 if test "$wxUSE_HTML" = "yes"; then
43318 cat >>confdefs.h
<<\_ACEOF
43319 #define wxUSE_WXHTML_HELP 1
43323 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43324 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43325 wxUSE_WXHTML_HELP
=no
43330 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43331 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43332 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43333 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43335 cat >>confdefs.h
<<\_ACEOF
43336 #define wxUSE_PRINTING_ARCHITECTURE 1
43340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43343 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43344 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43345 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43346 { (exit 1); exit 1; }; }
43350 if test "$wxUSE_METAFILE" = "yes"; then
43351 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43352 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43353 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43359 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43360 -o "$wxUSE_CLIPBOARD" = "yes" \
43361 -o "$wxUSE_OLE" = "yes" \
43362 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43364 for ac_header
in ole2.h
43366 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43368 echo "$as_me:$LINENO: checking for $ac_header" >&5
43369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43371 echo $ECHO_N "(cached) $ECHO_C" >&6
43373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43376 # Is the header compilable?
43377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43379 cat >conftest.
$ac_ext <<_ACEOF
43382 cat confdefs.h
>>conftest.
$ac_ext
43383 cat >>conftest.
$ac_ext <<_ACEOF
43384 /* end confdefs.h. */
43385 $ac_includes_default
43386 #include <$ac_header>
43388 rm -f conftest.
$ac_objext
43389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43390 (eval $ac_compile) 2>conftest.er1
43392 grep -v '^ *+' conftest.er1
>conftest.err
43394 cat conftest.err
>&5
43395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43396 (exit $ac_status); } &&
43397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43399 (eval $ac_try) 2>&5
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); }; } &&
43403 { ac_try
='test -s conftest.$ac_objext'
43404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43405 (eval $ac_try) 2>&5
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); }; }; then
43409 ac_header_compiler
=yes
43411 echo "$as_me: failed program was:" >&5
43412 sed 's/^/| /' conftest.
$ac_ext >&5
43414 ac_header_compiler
=no
43416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43418 echo "${ECHO_T}$ac_header_compiler" >&6
43420 # Is the header present?
43421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43423 cat >conftest.
$ac_ext <<_ACEOF
43426 cat confdefs.h
>>conftest.
$ac_ext
43427 cat >>conftest.
$ac_ext <<_ACEOF
43428 /* end confdefs.h. */
43429 #include <$ac_header>
43431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43434 grep -v '^ *+' conftest.er1
>conftest.err
43436 cat conftest.err
>&5
43437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438 (exit $ac_status); } >/dev
/null
; then
43439 if test -s conftest.err
; then
43440 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43441 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43448 if test -z "$ac_cpp_err"; then
43449 ac_header_preproc
=yes
43451 echo "$as_me: failed program was:" >&5
43452 sed 's/^/| /' conftest.
$ac_ext >&5
43454 ac_header_preproc
=no
43456 rm -f conftest.err conftest.
$ac_ext
43457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43458 echo "${ECHO_T}$ac_header_preproc" >&6
43460 # So? What about this header?
43461 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43467 ac_header_preproc
=yes
43470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43484 ## ----------------------------------------- ##
43485 ## Report this to wx-dev@lists.wxwidgets.org ##
43486 ## ----------------------------------------- ##
43489 sed "s/^/$as_me: WARNING: /" >&2
43492 echo "$as_me:$LINENO: checking for $ac_header" >&5
43493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43497 eval "$as_ac_Header=\$ac_header_preproc"
43499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43504 cat >>confdefs.h
<<_ACEOF
43505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43513 if test "$ac_cv_header_ole2_h" = "yes" ; then
43514 if test "$GCC" = yes ; then
43515 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43516 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43517 cat >conftest.
$ac_ext <<_ACEOF
43520 cat confdefs.h
>>conftest.
$ac_ext
43521 cat >>conftest.
$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 #include <windows.h>
43533 rm -f conftest.
$ac_objext
43534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43535 (eval $ac_compile) 2>conftest.er1
43537 grep -v '^ *+' conftest.er1
>conftest.err
43539 cat conftest.err
>&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); } &&
43542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43544 (eval $ac_try) 2>&5
43546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43547 (exit $ac_status); }; } &&
43548 { ac_try
='test -s conftest.$ac_objext'
43549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43550 (eval $ac_try) 2>&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); }; }; then
43554 echo "$as_me:$LINENO: result: no" >&5
43555 echo "${ECHO_T}no" >&6
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.
$ac_ext >&5
43560 echo "$as_me:$LINENO: result: yes" >&5
43561 echo "${ECHO_T}yes" >&6
43562 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43565 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43566 if test "$wxUSE_OLE" = "yes" ; then
43567 cat >>confdefs.h
<<\_ACEOF
43568 #define wxUSE_OLE 1
43571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43575 if test "$wxUSE_DATAOBJ" = "yes" ; then
43576 cat >>confdefs.h
<<\_ACEOF
43577 #define wxUSE_DATAOBJ 1
43582 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43583 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43586 wxUSE_DRAG_AND_DROP
=no
43591 if test "$wxUSE_METAFILE" = "yes"; then
43592 cat >>confdefs.h
<<\_ACEOF
43593 #define wxUSE_METAFILE 1
43597 cat >>confdefs.h
<<\_ACEOF
43598 #define wxUSE_ENH_METAFILE 1
43604 if test "$wxUSE_IPC" = "yes"; then
43605 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43606 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43607 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43611 if test "$wxUSE_IPC" = "yes"; then
43612 cat >>confdefs.h
<<\_ACEOF
43613 #define wxUSE_IPC 1
43616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43620 if test "$wxUSE_DATAOBJ" = "yes"; then
43621 if test "$wxUSE_MGL" = 1; then
43622 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43623 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43626 cat >>confdefs.h
<<\_ACEOF
43627 #define wxUSE_DATAOBJ 1
43632 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43633 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43635 wxUSE_DRAG_AND_DROP
=no
43638 if test "$wxUSE_CLIPBOARD" = "yes"; then
43639 if test "$wxUSE_MGL" = 1; then
43640 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43641 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43645 if test "$wxUSE_CLIPBOARD" = "yes"; then
43646 cat >>confdefs.h
<<\_ACEOF
43647 #define wxUSE_CLIPBOARD 1
43653 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43654 if test "$wxUSE_GTK" = 1; then
43655 if test "$WXGTK12" != 1; then
43656 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43657 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43658 wxUSE_DRAG_AND_DROP
=no
43662 if test "$wxUSE_MOTIF" = 1; then
43663 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43664 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43665 wxUSE_DRAG_AND_DROP
=no
43668 if test "$wxUSE_X11" = 1; then
43669 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43670 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43671 wxUSE_DRAG_AND_DROP
=no
43674 if test "$wxUSE_MGL" = 1; then
43675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43676 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43677 wxUSE_DRAG_AND_DROP
=no
43680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43681 cat >>confdefs.h
<<\_ACEOF
43682 #define wxUSE_DRAG_AND_DROP 1
43689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43693 if test "$wxUSE_SPLINES" = "yes" ; then
43694 cat >>confdefs.h
<<\_ACEOF
43695 #define wxUSE_SPLINES 1
43700 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43701 cat >>confdefs.h
<<\_ACEOF
43702 #define wxUSE_MOUSEWHEEL 1
43709 if test "$wxUSE_CONTROLS" = "yes"; then
43713 if test "$wxUSE_ACCEL" = "yes"; then
43714 cat >>confdefs.h
<<\_ACEOF
43715 #define wxUSE_ACCEL 1
43721 if test "$wxUSE_BUTTON" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_BUTTON 1
43729 if test "$wxUSE_BMPBUTTON" = "yes"; then
43730 cat >>confdefs.h
<<\_ACEOF
43731 #define wxUSE_BMPBUTTON 1
43737 if test "$wxUSE_CALCTRL" = "yes"; then
43738 cat >>confdefs.h
<<\_ACEOF
43739 #define wxUSE_CALENDARCTRL 1
43743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43746 if test "$wxUSE_CARET" = "yes"; then
43747 cat >>confdefs.h
<<\_ACEOF
43748 #define wxUSE_CARET 1
43752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43755 if test "$wxUSE_COMBOBOX" = "yes"; then
43756 cat >>confdefs.h
<<\_ACEOF
43757 #define wxUSE_COMBOBOX 1
43763 if test "$wxUSE_COMBOCTRL" = "yes"; then
43764 cat >>confdefs.h
<<\_ACEOF
43765 #define wxUSE_COMBOCTRL 1
43771 if test "$wxUSE_CHOICE" = "yes"; then
43772 cat >>confdefs.h
<<\_ACEOF
43773 #define wxUSE_CHOICE 1
43779 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43780 cat >>confdefs.h
<<\_ACEOF
43781 #define wxUSE_CHOICEBOOK 1
43787 if test "$wxUSE_CHECKBOX" = "yes"; then
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_CHECKBOX 1
43795 if test "$wxUSE_CHECKLST" = "yes"; then
43796 cat >>confdefs.h
<<\_ACEOF
43797 #define wxUSE_CHECKLISTBOX 1
43801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43804 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43805 cat >>confdefs.h
<<\_ACEOF
43806 #define wxUSE_DATEPICKCTRL 1
43812 if test "$wxUSE_DISPLAY" = "yes"; then
43813 cat >>confdefs.h
<<\_ACEOF
43814 #define wxUSE_DISPLAY 1
43817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43820 if test "$wxUSE_GAUGE" = "yes"; then
43821 cat >>confdefs.h
<<\_ACEOF
43822 #define wxUSE_GAUGE 1
43828 if test "$wxUSE_GRID" = "yes"; then
43829 cat >>confdefs.h
<<\_ACEOF
43830 #define wxUSE_GRID 1
43834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43837 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
43838 cat >>confdefs.h
<<\_ACEOF
43839 #define wxUSE_HYPERLINKCTRL 1
43845 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43846 cat >>confdefs.h
<<\_ACEOF
43847 #define wxUSE_DATAVIEWCTRL 1
43851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43854 if test "$wxUSE_IMAGLIST" = "yes"; then
43855 cat >>confdefs.h
<<\_ACEOF
43856 #define wxUSE_IMAGLIST 1
43861 if test "$wxUSE_LISTBOOK" = "yes"; then
43862 cat >>confdefs.h
<<\_ACEOF
43863 #define wxUSE_LISTBOOK 1
43869 if test "$wxUSE_LISTBOX" = "yes"; then
43870 cat >>confdefs.h
<<\_ACEOF
43871 #define wxUSE_LISTBOX 1
43875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43878 if test "$wxUSE_LISTCTRL" = "yes"; then
43879 if test "$wxUSE_IMAGLIST" = "yes"; then
43880 cat >>confdefs.h
<<\_ACEOF
43881 #define wxUSE_LISTCTRL 1
43885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43887 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43888 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43892 if test "$wxUSE_NOTEBOOK" = "yes"; then
43893 cat >>confdefs.h
<<\_ACEOF
43894 #define wxUSE_NOTEBOOK 1
43898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43901 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
43902 cat >>confdefs.h
<<\_ACEOF
43903 #define wxUSE_ODCOMBOBOX 1
43907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
43911 if test "$wxUSE_RADIOBOX" = "yes"; then
43912 cat >>confdefs.h
<<\_ACEOF
43913 #define wxUSE_RADIOBOX 1
43919 if test "$wxUSE_RADIOBTN" = "yes"; then
43920 cat >>confdefs.h
<<\_ACEOF
43921 #define wxUSE_RADIOBTN 1
43927 if test "$wxUSE_SASH" = "yes"; then
43928 cat >>confdefs.h
<<\_ACEOF
43929 #define wxUSE_SASH 1
43932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43935 if test "$wxUSE_SCROLLBAR" = "yes"; then
43936 cat >>confdefs.h
<<\_ACEOF
43937 #define wxUSE_SCROLLBAR 1
43941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43944 if test "$wxUSE_SLIDER" = "yes"; then
43945 cat >>confdefs.h
<<\_ACEOF
43946 #define wxUSE_SLIDER 1
43952 if test "$wxUSE_SPINBTN" = "yes"; then
43953 cat >>confdefs.h
<<\_ACEOF
43954 #define wxUSE_SPINBTN 1
43960 if test "$wxUSE_SPINCTRL" = "yes"; then
43961 cat >>confdefs.h
<<\_ACEOF
43962 #define wxUSE_SPINCTRL 1
43968 if test "$wxUSE_SPLITTER" = "yes"; then
43969 cat >>confdefs.h
<<\_ACEOF
43970 #define wxUSE_SPLITTER 1
43973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43976 if test "$wxUSE_STATBMP" = "yes"; then
43977 cat >>confdefs.h
<<\_ACEOF
43978 #define wxUSE_STATBMP 1
43984 if test "$wxUSE_STATBOX" = "yes"; then
43985 cat >>confdefs.h
<<\_ACEOF
43986 #define wxUSE_STATBOX 1
43992 if test "$wxUSE_STATTEXT" = "yes"; then
43993 cat >>confdefs.h
<<\_ACEOF
43994 #define wxUSE_STATTEXT 1
44000 if test "$wxUSE_STATLINE" = "yes"; then
44001 cat >>confdefs.h
<<\_ACEOF
44002 #define wxUSE_STATLINE 1
44008 if test "$wxUSE_STATUSBAR" = "yes"; then
44009 cat >>confdefs.h
<<\_ACEOF
44010 #define wxUSE_NATIVE_STATUSBAR 1
44013 cat >>confdefs.h
<<\_ACEOF
44014 #define wxUSE_STATUSBAR 1
44019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44022 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44023 cat >>confdefs.h
<<\_ACEOF
44024 #define wxUSE_TAB_DIALOG 1
44029 if test "$wxUSE_TEXTCTRL" = "yes"; then
44030 cat >>confdefs.h
<<\_ACEOF
44031 #define wxUSE_TEXTCTRL 1
44035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44038 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44039 if test "$wxUSE_COCOA" = 1 ; then
44040 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44041 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44045 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44046 cat >>confdefs.h
<<\_ACEOF
44047 #define wxUSE_TOGGLEBTN 1
44054 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44055 cat >>confdefs.h
<<\_ACEOF
44056 #define wxUSE_TOOLBAR_SIMPLE 1
44059 wxUSE_TOOLBAR
="yes"
44063 if test "$wxUSE_TOOLBAR" = "yes"; then
44064 cat >>confdefs.h
<<\_ACEOF
44065 #define wxUSE_TOOLBAR 1
44070 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44071 wxUSE_TOOLBAR_NATIVE
="yes"
44074 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44075 cat >>confdefs.h
<<\_ACEOF
44076 #define wxUSE_TOOLBAR_NATIVE 1
44082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44085 if test "$wxUSE_TOOLTIPS" = "yes"; then
44086 if test "$wxUSE_MOTIF" = 1; then
44087 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44088 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44090 if test "$wxUSE_UNIVERSAL" = "yes"; then
44091 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44092 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_TOOLTIPS 1
44102 if test "$wxUSE_TREEBOOK" = "yes"; then
44103 cat >>confdefs.h
<<\_ACEOF
44104 #define wxUSE_TREEBOOK 1
44110 if test "$wxUSE_TOOLBOOK" = "yes"; then
44111 cat >>confdefs.h
<<\_ACEOF
44112 #define wxUSE_TOOLBOOK 1
44118 if test "$wxUSE_TREECTRL" = "yes"; then
44119 if test "$wxUSE_IMAGLIST" = "yes"; then
44120 cat >>confdefs.h
<<\_ACEOF
44121 #define wxUSE_TREECTRL 1
44125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44127 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44128 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44132 if test "$wxUSE_POPUPWIN" = "yes"; then
44133 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44134 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44135 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44137 if test "$wxUSE_PM" = 1; then
44138 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44139 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44141 cat >>confdefs.h
<<\_ACEOF
44142 #define wxUSE_POPUPWIN 1
44145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44152 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44153 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44154 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44155 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44157 cat >>confdefs.h
<<\_ACEOF
44158 #define wxUSE_DIALUP_MANAGER 1
44161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44165 if test "$wxUSE_TIPWINDOW" = "yes"; then
44166 if test "$wxUSE_PM" = 1; then
44167 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44168 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44170 cat >>confdefs.h
<<\_ACEOF
44171 #define wxUSE_TIPWINDOW 1
44177 if test "$USES_CONTROLS" = 1; then
44178 cat >>confdefs.h
<<\_ACEOF
44179 #define wxUSE_CONTROLS 1
44185 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44186 cat >>confdefs.h
<<\_ACEOF
44187 #define wxUSE_ACCESSIBILITY 1
44190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44193 if test "$wxUSE_DC_CACHEING" = "yes"; then
44194 cat >>confdefs.h
<<\_ACEOF
44195 #define wxUSE_DC_CACHEING 1
44200 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44201 cat >>confdefs.h
<<\_ACEOF
44202 #define wxUSE_DRAGIMAGE 1
44205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44208 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44209 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44210 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44211 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44213 cat >>confdefs.h
<<\_ACEOF
44214 #define wxUSE_EXCEPTIONS 1
44217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44222 if test "$wxUSE_HTML" = "yes"; then
44223 cat >>confdefs.h
<<\_ACEOF
44224 #define wxUSE_HTML 1
44228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44229 if test "$wxUSE_MAC" = 1; then
44230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44233 if test "$wxUSE_WEBKIT" = "yes"; then
44234 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44235 old_CPPFLAGS
="$CPPFLAGS"
44236 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44237 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44238 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44239 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44240 echo $ECHO_N "(cached) $ECHO_C" >&6
44242 cat >conftest.
$ac_ext <<_ACEOF
44245 cat confdefs.h
>>conftest.
$ac_ext
44246 cat >>conftest.
$ac_ext <<_ACEOF
44247 /* end confdefs.h. */
44248 #include <Carbon/Carbon.h>
44250 #include <WebKit/HIWebView.h>
44252 rm -f conftest.
$ac_objext
44253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44254 (eval $ac_compile) 2>conftest.er1
44256 grep -v '^ *+' conftest.er1
>conftest.err
44258 cat conftest.err
>&5
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); } &&
44261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44263 (eval $ac_try) 2>&5
44265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44266 (exit $ac_status); }; } &&
44267 { ac_try
='test -s conftest.$ac_objext'
44268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44269 (eval $ac_try) 2>&5
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); }; }; then
44273 ac_cv_header_WebKit_HIWebView_h
=yes
44275 echo "$as_me: failed program was:" >&5
44276 sed 's/^/| /' conftest.
$ac_ext >&5
44278 ac_cv_header_WebKit_HIWebView_h
=no
44280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44282 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44283 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44284 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44286 cat >>confdefs.h
<<\_ACEOF
44287 #define wxUSE_WEBKIT 1
44290 WEBKIT_LINK
="-framework WebKit"
44294 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44295 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44301 CPPFLAGS
="$old_CPPFLAGS"
44302 elif test "$wxUSE_COCOA" = 1; then
44303 cat >>confdefs.h
<<\_ACEOF
44304 #define wxUSE_WEBKIT 1
44313 if test "$wxUSE_XRC" = "yes"; then
44314 if test "$wxUSE_XML" != "yes"; then
44315 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44316 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_XRC 1
44324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44328 if test "$wxUSE_MENUS" = "yes"; then
44329 cat >>confdefs.h
<<\_ACEOF
44330 #define wxUSE_MENUS 1
44333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44336 if test "$wxUSE_METAFILE" = "yes"; then
44337 cat >>confdefs.h
<<\_ACEOF
44338 #define wxUSE_METAFILE 1
44343 if test "$wxUSE_MIMETYPE" = "yes"; then
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_MIMETYPE 1
44350 if test "$wxUSE_MINIFRAME" = "yes"; then
44351 cat >>confdefs.h
<<\_ACEOF
44352 #define wxUSE_MINIFRAME 1
44355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44358 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44359 cat >>confdefs.h
<<\_ACEOF
44360 #define wxUSE_SYSTEM_OPTIONS 1
44363 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44364 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44370 if test "$wxUSE_VALIDATORS" = "yes"; then
44371 cat >>confdefs.h
<<\_ACEOF
44372 #define wxUSE_VALIDATORS 1
44375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44378 if test "$wxUSE_PALETTE" = "yes" ; then
44379 cat >>confdefs.h
<<\_ACEOF
44380 #define wxUSE_PALETTE 1
44385 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44386 LIBS
=" -lunicows $LIBS"
44390 if test "$wxUSE_RICHTEXT" = "yes"; then
44391 cat >>confdefs.h
<<\_ACEOF
44392 #define wxUSE_RICHTEXT 1
44396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44400 if test "$wxUSE_IMAGE" = "yes" ; then
44401 cat >>confdefs.h
<<\_ACEOF
44402 #define wxUSE_IMAGE 1
44406 if test "$wxUSE_GIF" = "yes" ; then
44407 cat >>confdefs.h
<<\_ACEOF
44408 #define wxUSE_GIF 1
44413 if test "$wxUSE_PCX" = "yes" ; then
44414 cat >>confdefs.h
<<\_ACEOF
44415 #define wxUSE_PCX 1
44420 if test "$wxUSE_IFF" = "yes" ; then
44421 cat >>confdefs.h
<<\_ACEOF
44422 #define wxUSE_IFF 1
44427 if test "$wxUSE_PNM" = "yes" ; then
44428 cat >>confdefs.h
<<\_ACEOF
44429 #define wxUSE_PNM 1
44434 if test "$wxUSE_XPM" = "yes" ; then
44435 cat >>confdefs.h
<<\_ACEOF
44436 #define wxUSE_XPM 1
44441 if test "$wxUSE_ICO_CUR" = "yes" ; then
44442 cat >>confdefs.h
<<\_ACEOF
44443 #define wxUSE_ICO_CUR 1
44450 if test "$wxUSE_CHOICEDLG" = "yes"; then
44451 cat >>confdefs.h
<<\_ACEOF
44452 #define wxUSE_CHOICEDLG 1
44457 if test "$wxUSE_COLOURDLG" = "yes"; then
44458 cat >>confdefs.h
<<\_ACEOF
44459 #define wxUSE_COLOURDLG 1
44464 if test "$wxUSE_FILEDLG" = "yes"; then
44465 cat >>confdefs.h
<<\_ACEOF
44466 #define wxUSE_FILEDLG 1
44471 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44472 cat >>confdefs.h
<<\_ACEOF
44473 #define wxUSE_FINDREPLDLG 1
44478 if test "$wxUSE_FONTDLG" = "yes"; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_FONTDLG 1
44485 if test "$wxUSE_DIRDLG" = "yes"; then
44486 if test "$wxUSE_TREECTRL" != "yes"; then
44487 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44488 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44490 cat >>confdefs.h
<<\_ACEOF
44491 #define wxUSE_DIRDLG 1
44497 if test "$wxUSE_MSGDLG" = "yes"; then
44498 cat >>confdefs.h
<<\_ACEOF
44499 #define wxUSE_MSGDLG 1
44504 if test "$wxUSE_NUMBERDLG" = "yes"; then
44505 cat >>confdefs.h
<<\_ACEOF
44506 #define wxUSE_NUMBERDLG 1
44511 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44512 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44513 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44514 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44516 cat >>confdefs.h
<<\_ACEOF
44517 #define wxUSE_PROGRESSDLG 1
44523 if test "$wxUSE_SPLASH" = "yes"; then
44524 cat >>confdefs.h
<<\_ACEOF
44525 #define wxUSE_SPLASH 1
44528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44531 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44532 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44533 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44534 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_STARTUP_TIPS 1
44543 if test "$wxUSE_TEXTDLG" = "yes"; then
44544 cat >>confdefs.h
<<\_ACEOF
44545 #define wxUSE_TEXTDLG 1
44550 if test "$wxUSE_WIZARDDLG" = "yes"; then
44551 cat >>confdefs.h
<<\_ACEOF
44552 #define wxUSE_WIZARDDLG 1
44555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44561 if test "$wxUSE_MEDIACTRL" = "yes"; then
44562 if test "$wxUSE_GTK" = 1; then
44563 wxUSE_GSTREAMER
="yes"
44565 GST_VERSION_MAJOR
=0
44566 GST_VERSION_MINOR
=10
44567 GST_VERSION_RELEASE
=0
44568 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44569 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44571 if test "$wxUSE_GSTREAMER8" = "no"; then
44575 if test -z "$PKG_CONFIG"; then
44576 # Extract the first word of "pkg-config", so it can be a program name with args.
44577 set dummy pkg
-config; ac_word
=$2
44578 echo "$as_me:$LINENO: checking for $ac_word" >&5
44579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44580 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44581 echo $ECHO_N "(cached) $ECHO_C" >&6
44583 case $PKG_CONFIG in
44585 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44589 for as_dir
in $PATH
44592 test -z "$as_dir" && as_dir
=.
44593 for ac_exec_ext
in '' $ac_executable_extensions; do
44594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44595 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44602 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44606 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44608 if test -n "$PKG_CONFIG"; then
44609 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44610 echo "${ECHO_T}$PKG_CONFIG" >&6
44612 echo "$as_me:$LINENO: result: no" >&5
44613 echo "${ECHO_T}no" >&6
44618 if test "$PKG_CONFIG" = "no" ; then
44619 echo "*** The pkg-config script could not be found. Make sure it is"
44620 echo "*** in your path, or set the PKG_CONFIG environment variable"
44621 echo "*** to the full path to pkg-config."
44622 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44624 PKG_CONFIG_MIN_VERSION
=0.9.0
44625 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44626 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44627 gstreamer-plugins-base-$GST_MAJORMINOR
44629 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44630 gstreamer-plugins-base-$GST_MAJORMINOR
44631 gconf-2.0... $ECHO_C" >&6
44633 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44634 gstreamer-plugins-base-$GST_MAJORMINOR
44636 echo "$as_me:$LINENO: result: yes" >&5
44637 echo "${ECHO_T}yes" >&6
44640 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44641 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44642 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44643 gstreamer-plugins-base-$GST_MAJORMINOR
44645 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44646 echo "${ECHO_T}$GST_CFLAGS" >&6
44648 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44649 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44650 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44651 gstreamer-plugins-base-$GST_MAJORMINOR
44653 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44654 echo "${ECHO_T}$GST_LIBS" >&6
44658 ## If we have a custom action on failure, don't print errors, but
44659 ## do set a variable so people can do so.
44660 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44661 gstreamer-plugins-base-$GST_MAJORMINOR
44669 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44670 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44674 if test $succeeded = yes; then
44676 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44677 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44681 GST_VERSION_MINOR
=8
44686 GST_VERSION_MINOR
=8
44689 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44690 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44692 if test x
$GST_VERSION_MINOR = x8
; then
44696 if test -z "$PKG_CONFIG"; then
44697 # Extract the first word of "pkg-config", so it can be a program name with args.
44698 set dummy pkg
-config; ac_word
=$2
44699 echo "$as_me:$LINENO: checking for $ac_word" >&5
44700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44701 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44702 echo $ECHO_N "(cached) $ECHO_C" >&6
44704 case $PKG_CONFIG in
44706 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44710 for as_dir
in $PATH
44713 test -z "$as_dir" && as_dir
=.
44714 for ac_exec_ext
in '' $ac_executable_extensions; do
44715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44716 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44723 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44727 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44729 if test -n "$PKG_CONFIG"; then
44730 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44731 echo "${ECHO_T}$PKG_CONFIG" >&6
44733 echo "$as_me:$LINENO: result: no" >&5
44734 echo "${ECHO_T}no" >&6
44739 if test "$PKG_CONFIG" = "no" ; then
44740 echo "*** The pkg-config script could not be found. Make sure it is"
44741 echo "*** in your path, or set the PKG_CONFIG environment variable"
44742 echo "*** to the full path to pkg-config."
44743 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44745 PKG_CONFIG_MIN_VERSION
=0.9.0
44746 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44747 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44748 gstreamer-interfaces-$GST_MAJORMINOR
44749 gstreamer-gconf-$GST_MAJORMINOR" >&5
44750 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44751 gstreamer-interfaces-$GST_MAJORMINOR
44752 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44754 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44755 gstreamer-interfaces-$GST_MAJORMINOR
44756 gstreamer-gconf-$GST_MAJORMINOR" ; then
44757 echo "$as_me:$LINENO: result: yes" >&5
44758 echo "${ECHO_T}yes" >&6
44761 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44762 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44763 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44764 gstreamer-interfaces-$GST_MAJORMINOR
44765 gstreamer-gconf-$GST_MAJORMINOR"`
44766 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44767 echo "${ECHO_T}$GST_CFLAGS" >&6
44769 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44770 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44771 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44772 gstreamer-interfaces-$GST_MAJORMINOR
44773 gstreamer-gconf-$GST_MAJORMINOR"`
44774 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44775 echo "${ECHO_T}$GST_LIBS" >&6
44779 ## If we have a custom action on failure, don't print errors, but
44780 ## do set a variable so people can do so.
44781 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44782 gstreamer-interfaces-$GST_MAJORMINOR
44783 gstreamer-gconf-$GST_MAJORMINOR"`
44790 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44791 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44795 if test $succeeded = yes; then
44797 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44798 LIBS
="$LIBS $GST_LIBS"
44802 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44803 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44804 wxUSE_GSTREAMER
="no"
44811 if test "$wxUSE_GSTREAMER" = "yes"; then
44812 cat >>confdefs.h
<<\_ACEOF
44813 #define wxUSE_GSTREAMER 1
44816 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44817 echo "${ECHO_T}GStreamer detection successful" >&6
44821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44822 cat >>confdefs.h
<<\_ACEOF
44823 #define wxUSE_MEDIACTRL 1
44829 if test "$cross_compiling" = "yes"; then
44832 OSINFO
=`uname -s -r -m`
44833 OSINFO
="\"$OSINFO\""
44836 cat >>confdefs.h
<<_ACEOF
44837 #define WXWIN_OS_DESCRIPTION $OSINFO
44842 if test "x$prefix" != "xNONE"; then
44845 wxPREFIX
=$ac_default_prefix
44848 cat >>confdefs.h
<<_ACEOF
44849 #define wxINSTALL_PREFIX "$wxPREFIX"
44855 CORE_BASE_LIBS
="net base"
44856 CORE_GUI_LIBS
="adv core"
44858 if test "$wxUSE_XML" = "yes" ; then
44859 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44861 if test "$wxUSE_ODBC" != "no" ; then
44862 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44863 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44865 if test "$wxUSE_HTML" = "yes" ; then
44866 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44868 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44869 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44871 if test "$wxUSE_XRC" = "yes" ; then
44872 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44875 if test "$wxUSE_GUI" != "yes"; then
44884 ac_cpp
='$CPP $CPPFLAGS'
44885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44891 if test "$wxUSE_MAC" = 1 ; then
44892 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44893 if test "$USE_DARWIN" = 1; then
44894 LDFLAGS
="$LDFLAGS -framework QuickTime"
44896 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44899 if test "$USE_DARWIN" = 1; then
44900 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44902 LDFLAGS
="$LDFLAGS -lCarbonLib"
44905 if test "$wxUSE_COCOA" = 1 ; then
44906 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44907 if test "$wxUSE_MEDIACTRL" = "yes"; then
44908 LDFLAGS
="$LDFLAGS -framework QuickTime"
44911 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44912 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44915 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44917 if test "$wxUSE_GUI" = "yes"; then
44920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
44921 dynamic erase event exec font image minimal mobile \
44922 mobile/wxedit mobile/styles propsize render \
44923 rotate shaped vscroll widgets"
44925 if test "$wxUSE_MONOLITHIC" != "yes"; then
44926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
44928 if test "$TOOLKIT" = "MSW"; then
44929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
44930 if test "$wxUSE_UNIVERSAL" != "yes"; then
44931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
44934 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
44935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
44938 SAMPLES_SUBDIRS
="console"
44942 if test "x$INTELCC" = "xyes" ; then
44943 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
44944 elif test "$GCC" = yes ; then
44945 CWARNINGS
="-Wall -Wundef"
44948 if test "x$INTELCXX" = "xyes" ; then
44949 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
44950 elif test "$GXX" = yes ; then
44951 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
44955 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
44956 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
44959 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
44960 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
44961 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
44964 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
44965 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
44966 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
44968 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
44971 if test "x$MWCC" = "xyes"; then
44973 CC
="$CC -cwd source -I-"
44974 CXX
="$CXX -cwd source -I-"
44979 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
44980 EXTRALIBS_XML
="$EXPAT_LINK"
44981 EXTRALIBS_HTML
="$MSPACK_LINK"
44982 EXTRALIBS_ODBC
="$ODBC_LINK"
44983 if test "$wxUSE_GUI" = "yes"; then
44984 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
44986 if test "$wxUSE_OPENGL" = "yes"; then
44987 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
44990 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
44992 WXCONFIG_LIBS
="$LIBS"
44994 if test "$wxUSE_REGEX" = "builtin" ; then
44995 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
44997 if test "$wxUSE_EXPAT" = "builtin" ; then
44998 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45000 if test "$wxUSE_ODBC" = "builtin" ; then
45001 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45003 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45004 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45006 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45007 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45009 if test "$wxUSE_LIBPNG" = "builtin" ; then
45010 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45012 if test "$wxUSE_ZLIB" = "builtin" ; then
45013 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45016 for i
in $wxconfig_3rdparty ; do
45017 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45021 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45035 if test $wxUSE_MONOLITHIC = "yes" ; then
45041 if test $wxUSE_PLUGINS = "yes" ; then
45047 if test $wxUSE_ODBC != "no" ; then
45053 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45059 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45089 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45100 TOOLKIT_USER
="GTK+"
45101 if test "$WXGTK20" = 1; then
45102 TOOLKIT_USER
="$TOOLKIT_USER 2"
45107 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45111 if test "$wxUSE_WINE" = "yes"; then
45112 BAKEFILE_FORCE_PLATFORM
=win32
45115 if test "$wxUSE_MAC" = 1 ; then
45116 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45117 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45118 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45119 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45122 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45123 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45124 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45130 if test "x$BAKEFILE_HOST" = "x"; then
45131 if test "x${host}" = "x" ; then
45132 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45133 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45134 { (exit 1); exit 1; }; }
45137 BAKEFILE_HOST
="${host}"
45140 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45142 if test -n "$ac_tool_prefix"; then
45143 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45144 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45145 echo "$as_me:$LINENO: checking for $ac_word" >&5
45146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45147 if test "${ac_cv_prog_RANLIB+set}" = set; then
45148 echo $ECHO_N "(cached) $ECHO_C" >&6
45150 if test -n "$RANLIB"; then
45151 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45154 for as_dir
in $PATH
45157 test -z "$as_dir" && as_dir
=.
45158 for ac_exec_ext
in '' $ac_executable_extensions; do
45159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45160 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45169 RANLIB
=$ac_cv_prog_RANLIB
45170 if test -n "$RANLIB"; then
45171 echo "$as_me:$LINENO: result: $RANLIB" >&5
45172 echo "${ECHO_T}$RANLIB" >&6
45174 echo "$as_me:$LINENO: result: no" >&5
45175 echo "${ECHO_T}no" >&6
45179 if test -z "$ac_cv_prog_RANLIB"; then
45180 ac_ct_RANLIB
=$RANLIB
45181 # Extract the first word of "ranlib", so it can be a program name with args.
45182 set dummy ranlib
; ac_word
=$2
45183 echo "$as_me:$LINENO: checking for $ac_word" >&5
45184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45185 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45186 echo $ECHO_N "(cached) $ECHO_C" >&6
45188 if test -n "$ac_ct_RANLIB"; then
45189 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45192 for as_dir
in $PATH
45195 test -z "$as_dir" && as_dir
=.
45196 for ac_exec_ext
in '' $ac_executable_extensions; do
45197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45198 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45205 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45208 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45209 if test -n "$ac_ct_RANLIB"; then
45210 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45211 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45213 echo "$as_me:$LINENO: result: no" >&5
45214 echo "${ECHO_T}no" >&6
45217 RANLIB
=$ac_ct_RANLIB
45219 RANLIB
="$ac_cv_prog_RANLIB"
45222 # Find a good install program. We prefer a C program (faster),
45223 # so one script is as good as another. But avoid the broken or
45224 # incompatible versions:
45225 # SysV /etc/install, /usr/sbin/install
45226 # SunOS /usr/etc/install
45227 # IRIX /sbin/install
45229 # AmigaOS /C/install, which installs bootblocks on floppy discs
45230 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45231 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45232 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45233 # OS/2's system install, which has a completely different semantic
45234 # ./install, which can be erroneously created by make from ./install.sh.
45235 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45236 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45237 if test -z "$INSTALL"; then
45238 if test "${ac_cv_path_install+set}" = set; then
45239 echo $ECHO_N "(cached) $ECHO_C" >&6
45241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45242 for as_dir
in $PATH
45245 test -z "$as_dir" && as_dir
=.
45246 # Account for people who put trailing slashes in PATH elements.
45248 .
/ | .
// | /cC
/* | \
45249 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45250 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45253 # OSF1 and SCO ODT 3.0 have their own names for install.
45254 # Don't use installbsd from OSF since it installs stuff as root
45256 for ac_prog
in ginstall scoinst
install; do
45257 for ac_exec_ext
in '' $ac_executable_extensions; do
45258 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45259 if test $ac_prog = install &&
45260 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45261 # AIX install. It has an incompatible calling convention.
45263 elif test $ac_prog = install &&
45264 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45265 # program-specific install script used by HP pwplus--don't use.
45268 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45280 if test "${ac_cv_path_install+set}" = set; then
45281 INSTALL
=$ac_cv_path_install
45283 # As a last resort, use the slow shell script. We don't cache a
45284 # path for INSTALL within a source directory, because that will
45285 # break other packages using the cache if that directory is
45286 # removed, or if the path is relative.
45287 INSTALL
=$ac_install_sh
45290 echo "$as_me:$LINENO: result: $INSTALL" >&5
45291 echo "${ECHO_T}$INSTALL" >&6
45293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45294 # It thinks the first close brace ends the variable substitution.
45295 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45297 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45299 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45301 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45302 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45304 if test "$LN_S" = "ln -s"; then
45305 echo "$as_me:$LINENO: result: yes" >&5
45306 echo "${ECHO_T}yes" >&6
45308 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45309 echo "${ECHO_T}no, using $LN_S" >&6
45313 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45314 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45315 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45316 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45317 echo $ECHO_N "(cached) $ECHO_C" >&6
45319 cat >conftest.
make <<\_ACEOF
45321 @
echo 'ac_maketemp="$(MAKE)"'
45323 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45324 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45325 if test -n "$ac_maketemp"; then
45326 eval ac_cv_prog_make_
${ac_make}_set
=yes
45328 eval ac_cv_prog_make_
${ac_make}_set
=no
45330 rm -f conftest.
make
45332 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45333 echo "$as_me:$LINENO: result: yes" >&5
45334 echo "${ECHO_T}yes" >&6
45337 echo "$as_me:$LINENO: result: no" >&5
45338 echo "${ECHO_T}no" >&6
45339 SET_MAKE
="MAKE=${MAKE-make}"
45344 if test -n "$ac_tool_prefix"; then
45345 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45346 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45347 echo "$as_me:$LINENO: checking for $ac_word" >&5
45348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45349 if test "${ac_cv_prog_AR+set}" = set; then
45350 echo $ECHO_N "(cached) $ECHO_C" >&6
45352 if test -n "$AR"; then
45353 ac_cv_prog_AR
="$AR" # Let the user override the test.
45355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45356 for as_dir
in $PATH
45359 test -z "$as_dir" && as_dir
=.
45360 for ac_exec_ext
in '' $ac_executable_extensions; do
45361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45362 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45372 if test -n "$AR"; then
45373 echo "$as_me:$LINENO: result: $AR" >&5
45374 echo "${ECHO_T}$AR" >&6
45376 echo "$as_me:$LINENO: result: no" >&5
45377 echo "${ECHO_T}no" >&6
45381 if test -z "$ac_cv_prog_AR"; then
45383 # Extract the first word of "ar", so it can be a program name with args.
45384 set dummy
ar; ac_word
=$2
45385 echo "$as_me:$LINENO: checking for $ac_word" >&5
45386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45387 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45388 echo $ECHO_N "(cached) $ECHO_C" >&6
45390 if test -n "$ac_ct_AR"; then
45391 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45394 for as_dir
in $PATH
45397 test -z "$as_dir" && as_dir
=.
45398 for ac_exec_ext
in '' $ac_executable_extensions; do
45399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45400 ac_cv_prog_ac_ct_AR
="ar"
45401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45407 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45410 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45411 if test -n "$ac_ct_AR"; then
45412 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45413 echo "${ECHO_T}$ac_ct_AR" >&6
45415 echo "$as_me:$LINENO: result: no" >&5
45416 echo "${ECHO_T}no" >&6
45421 AR
="$ac_cv_prog_AR"
45424 if test -n "$ac_tool_prefix"; then
45425 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45426 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45427 echo "$as_me:$LINENO: checking for $ac_word" >&5
45428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45429 if test "${ac_cv_prog_STRIP+set}" = set; then
45430 echo $ECHO_N "(cached) $ECHO_C" >&6
45432 if test -n "$STRIP"; then
45433 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45436 for as_dir
in $PATH
45439 test -z "$as_dir" && as_dir
=.
45440 for ac_exec_ext
in '' $ac_executable_extensions; do
45441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45442 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45451 STRIP
=$ac_cv_prog_STRIP
45452 if test -n "$STRIP"; then
45453 echo "$as_me:$LINENO: result: $STRIP" >&5
45454 echo "${ECHO_T}$STRIP" >&6
45456 echo "$as_me:$LINENO: result: no" >&5
45457 echo "${ECHO_T}no" >&6
45461 if test -z "$ac_cv_prog_STRIP"; then
45463 # Extract the first word of "strip", so it can be a program name with args.
45464 set dummy strip
; ac_word
=$2
45465 echo "$as_me:$LINENO: checking for $ac_word" >&5
45466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45468 echo $ECHO_N "(cached) $ECHO_C" >&6
45470 if test -n "$ac_ct_STRIP"; then
45471 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45474 for as_dir
in $PATH
45477 test -z "$as_dir" && as_dir
=.
45478 for ac_exec_ext
in '' $ac_executable_extensions; do
45479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45480 ac_cv_prog_ac_ct_STRIP
="strip"
45481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45487 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45490 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45491 if test -n "$ac_ct_STRIP"; then
45492 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45493 echo "${ECHO_T}$ac_ct_STRIP" >&6
45495 echo "$as_me:$LINENO: result: no" >&5
45496 echo "${ECHO_T}no" >&6
45501 STRIP
="$ac_cv_prog_STRIP"
45504 if test -n "$ac_tool_prefix"; then
45505 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45506 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45507 echo "$as_me:$LINENO: checking for $ac_word" >&5
45508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45509 if test "${ac_cv_prog_NM+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45512 if test -n "$NM"; then
45513 ac_cv_prog_NM
="$NM" # Let the user override the test.
45515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45516 for as_dir
in $PATH
45519 test -z "$as_dir" && as_dir
=.
45520 for ac_exec_ext
in '' $ac_executable_extensions; do
45521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45522 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45532 if test -n "$NM"; then
45533 echo "$as_me:$LINENO: result: $NM" >&5
45534 echo "${ECHO_T}$NM" >&6
45536 echo "$as_me:$LINENO: result: no" >&5
45537 echo "${ECHO_T}no" >&6
45541 if test -z "$ac_cv_prog_NM"; then
45543 # Extract the first word of "nm", so it can be a program name with args.
45544 set dummy nm
; ac_word
=$2
45545 echo "$as_me:$LINENO: checking for $ac_word" >&5
45546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45547 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45548 echo $ECHO_N "(cached) $ECHO_C" >&6
45550 if test -n "$ac_ct_NM"; then
45551 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45554 for as_dir
in $PATH
45557 test -z "$as_dir" && as_dir
=.
45558 for ac_exec_ext
in '' $ac_executable_extensions; do
45559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45560 ac_cv_prog_ac_ct_NM
="nm"
45561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45567 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45570 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45571 if test -n "$ac_ct_NM"; then
45572 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45573 echo "${ECHO_T}$ac_ct_NM" >&6
45575 echo "$as_me:$LINENO: result: no" >&5
45576 echo "${ECHO_T}no" >&6
45581 NM
="$ac_cv_prog_NM"
45585 case ${BAKEFILE_HOST} in
45587 INSTALL_DIR
="mkdir -p"
45589 *) INSTALL_DIR
="$INSTALL -d"
45595 case ${BAKEFILE_HOST} in
45596 *-*-cygwin* | *-*-mingw32* )
45597 LDFLAGS_GUI
="-mwindows"
45603 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45604 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45605 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45609 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45610 egrep -s GNU
> /dev
/null
); then
45611 bakefile_cv_prog_makeisgnu
="yes"
45613 bakefile_cv_prog_makeisgnu
="no"
45617 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45618 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45620 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45637 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45638 case "${BAKEFILE_HOST}" in
45645 *-pc-os2_emx | *-pc-os2-emx )
45655 powerpc
-apple-macos* )
45664 case "$BAKEFILE_FORCE_PLATFORM" in
45685 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45686 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45687 { (exit 1); exit 1; }; }
45702 # Check whether --enable-omf or --disable-omf was given.
45703 if test "${enable_omf+set}" = set; then
45704 enableval
="$enable_omf"
45705 bk_os2_use_omf
="$enableval"
45708 case "${BAKEFILE_HOST}" in
45710 if test "x$GCC" = "xyes"; then
45711 CFLAGS
="$CFLAGS -fno-common"
45712 CXXFLAGS
="$CXXFLAGS -fno-common"
45714 if test "x$XLCC" = "xyes"; then
45715 CFLAGS
="$CFLAGS -qnocommon"
45716 CXXFLAGS
="$CXXFLAGS -qnocommon"
45720 *-pc-os2_emx | *-pc-os2-emx )
45721 if test "x$bk_os2_use_omf" = "xyes" ; then
45724 LDFLAGS
="-Zomf $LDFLAGS"
45725 CFLAGS
="-Zomf $CFLAGS"
45726 CXXFLAGS
="-Zomf $CXXFLAGS"
45734 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45740 SO_SUFFIX_MODULE
="so"
45745 DLLPREFIX_MODULE
=""
45749 case "${BAKEFILE_HOST}" in
45752 SO_SUFFIX_MODULE
="sl"
45756 SO_SUFFIX_MODULE
="a"
45760 SO_SUFFIX_MODULE
="dll"
45761 DLLIMP_SUFFIX
="dll.a"
45768 SO_SUFFIX_MODULE
="dll"
45769 DLLIMP_SUFFIX
="dll.a"
45779 *-pc-os2_emx | *-pc-os2-emx )
45781 SO_SUFFIX_MODULE
="dll"
45782 DLLIMP_SUFFIX
=$OS2_LIBEXT
45786 LIBEXT
=".$OS2_LIBEXT"
45791 SO_SUFFIX_MODULE
="bundle"
45795 if test "x$DLLIMP_SUFFIX" = "x" ; then
45796 DLLIMP_SUFFIX
="$SO_SUFFIX"
45811 if test "x$GCC" = "xyes"; then
45815 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45816 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45819 case "${BAKEFILE_HOST}" in
45821 if test "x$GCC" != "xyes"; then
45822 LDFLAGS
="$LDFLAGS -L/usr/lib"
45824 SHARED_LD_CC
="${CC} -b -o"
45825 SHARED_LD_CXX
="${CXX} -b -o"
45831 if test "x$GCC" != "xyes"; then
45832 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45833 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45834 if test "${bakefile_cv_prog_icc+set}" = set; then
45835 echo $ECHO_N "(cached) $ECHO_C" >&6
45838 cat >conftest.
$ac_ext <<_ACEOF
45841 cat confdefs.h
>>conftest.
$ac_ext
45842 cat >>conftest.
$ac_ext <<_ACEOF
45843 /* end confdefs.h. */
45849 #ifndef __INTEL_COMPILER
45857 rm -f conftest.
$ac_objext
45858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45859 (eval $ac_compile) 2>conftest.er1
45861 grep -v '^ *+' conftest.er1
>conftest.err
45863 cat conftest.err
>&5
45864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45865 (exit $ac_status); } &&
45866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45868 (eval $ac_try) 2>&5
45870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45871 (exit $ac_status); }; } &&
45872 { ac_try
='test -s conftest.$ac_objext'
45873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45874 (eval $ac_try) 2>&5
45876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45877 (exit $ac_status); }; }; then
45878 bakefile_cv_prog_icc
=yes
45880 echo "$as_me: failed program was:" >&5
45881 sed 's/^/| /' conftest.
$ac_ext >&5
45883 bakefile_cv_prog_icc
=no
45886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45889 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
45890 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
45891 if test "$bakefile_cv_prog_icc" = "yes"; then
45898 if test "x$GCC" != xyes
; then
45899 SHARED_LD_CC
="${CC} -G -o"
45900 SHARED_LD_CXX
="${CXX} -G -o"
45908 cat <<EOF >shared-ld-sh
45910 #-----------------------------------------------------------------------------
45911 #-- Name: distrib/mac/shared-ld-sh
45912 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
45913 #-- Author: Gilles Depeyrot
45914 #-- Copyright: (c) 2002 Gilles Depeyrot
45915 #-- Licence: any use permitted
45916 #-----------------------------------------------------------------------------
45921 linking_flag="-dynamiclib"
45922 ldargs="-r -keep_private_externs -nostdlib"
45924 while test ${D}# -gt 0; do
45931 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
45932 # collect these options and values
45933 args="${D}{args} ${D}1 ${D}2"
45938 # collect these load args
45939 ldargs="${D}{ldargs} ${D}1"
45942 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
45943 # collect these options
45944 args="${D}{args} ${D}1"
45947 -dynamiclib|-bundle)
45948 linking_flag="${D}1"
45952 echo "shared-ld: unhandled option '${D}1'"
45956 *.o | *.a | *.dylib)
45957 # collect object files
45958 objects="${D}{objects} ${D}1"
45962 echo "shared-ld: unhandled argument '${D}1'"
45973 # Link one module containing all the others
45975 if test ${D}{verbose} = 1; then
45976 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
45978 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
45982 # Link the shared library from the single module created, but only if the
45983 # previous command didn't fail:
45985 if test ${D}{status} = 0; then
45986 if test ${D}{verbose} = 1; then
45987 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
45989 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
45994 # Remove intermediate module
45996 rm -f master.${D}${D}.o
46001 chmod +x shared
-ld-sh
46003 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46004 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46007 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46008 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46009 if test "${bakefile_cv_gcc31+set}" = set; then
46010 echo $ECHO_N "(cached) $ECHO_C" >&6
46013 cat >conftest.
$ac_ext <<_ACEOF
46016 cat confdefs.h
>>conftest.
$ac_ext
46017 cat >>conftest.
$ac_ext <<_ACEOF
46018 /* end confdefs.h. */
46024 #if (__GNUC__ < 3) || \
46025 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46033 rm -f conftest.
$ac_objext
46034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46035 (eval $ac_compile) 2>conftest.er1
46037 grep -v '^ *+' conftest.er1
>conftest.err
46039 cat conftest.err
>&5
46040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46041 (exit $ac_status); } &&
46042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46044 (eval $ac_try) 2>&5
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); }; } &&
46048 { ac_try
='test -s conftest.$ac_objext'
46049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46050 (eval $ac_try) 2>&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); }; }; then
46055 bakefile_cv_gcc31
=yes
46058 echo "$as_me: failed program was:" >&5
46059 sed 's/^/| /' conftest.
$ac_ext >&5
46062 bakefile_cv_gcc31
=no
46066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46069 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46070 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46071 if test "$bakefile_cv_gcc31" = "no"; then
46072 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46073 SHARED_LD_CXX
="$SHARED_LD_CC"
46075 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46076 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46079 if test "x$GCC" == "xyes"; then
46080 PIC_FLAG
="-dynamic -fPIC"
46082 if test "x$XLCC" = "xyes"; then
46083 PIC_FLAG
="-dynamic -DPIC"
46088 if test "x$GCC" = "xyes"; then
46091 case "${BAKEFILE_HOST}" in
46093 LD_EXPFULL
="-Wl,-bexpfull"
46097 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46098 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46100 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46101 set dummy makeC
++SharedLib
; ac_word
=$2
46102 echo "$as_me:$LINENO: checking for $ac_word" >&5
46103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46104 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46105 echo $ECHO_N "(cached) $ECHO_C" >&6
46107 if test -n "$AIX_CXX_LD"; then
46108 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46111 for as_dir
in $PATH
46114 test -z "$as_dir" && as_dir
=.
46115 for ac_exec_ext
in '' $ac_executable_extensions; do
46116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46117 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46124 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46127 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46128 if test -n "$AIX_CXX_LD"; then
46129 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46130 echo "${ECHO_T}$AIX_CXX_LD" >&6
46132 echo "$as_me:$LINENO: result: no" >&5
46133 echo "${ECHO_T}no" >&6
46136 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46137 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46142 SHARED_LD_CC
="${LD} -nostart -o"
46143 SHARED_LD_CXX
="${LD} -nostart -o"
46147 if test "x$GCC" != "xyes"; then
46152 *-*-cygwin* | *-*-mingw32* )
46154 SHARED_LD_CC
="\$(CC) -shared -o"
46155 SHARED_LD_CXX
="\$(CXX) -shared -o"
46159 *-pc-os2_emx | *-pc-os2-emx )
46160 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46161 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46165 cat <<EOF >dllar.sh
46168 # dllar - a tool to build both a .dll and an .a file
46169 # from a set of object (.o) files for EMX/OS2.
46171 # Written by Andrew Zabolotny, bit@freya.etu.ru
46172 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46174 # This script will accept a set of files on the command line.
46175 # All the public symbols from the .o files will be exported into
46176 # a .DEF file, then linker will be run (through gcc) against them to
46177 # build a shared library consisting of all given .o files. All libraries
46178 # (.a) will be first decompressed into component .o files then act as
46179 # described above. You can optionally give a description (-d "description")
46180 # which will be put into .DLL. To see the list of accepted options (as well
46181 # as command-line format) simply run this program without options. The .DLL
46182 # is built to be imported by name (there is no guarantee that new versions
46183 # of the library you build will have same ordinals for same symbols).
46185 # dllar is free software; you can redistribute it and/or modify
46186 # it under the terms of the GNU General Public License as published by
46187 # the Free Software Foundation; either version 2, or (at your option)
46188 # any later version.
46190 # dllar is distributed in the hope that it will be useful,
46191 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46192 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46193 # GNU General Public License for more details.
46195 # You should have received a copy of the GNU General Public License
46196 # along with dllar; see the file COPYING. If not, write to the Free
46197 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46200 # To successfuly run this program you will need:
46201 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46202 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46204 # (used to build the .dll)
46206 # (used to create .def file from .o files)
46208 # (used to create .a file from .def file)
46209 # - GNU text utilites (cat, sort, uniq)
46210 # used to process emxexp output
46211 # - GNU file utilities (mv, rm)
46213 # - lxlite (optional, see flag below)
46214 # (used for general .dll cleanup)
46221 # basnam, variant of basename, which does _not_ remove the path, _iff_
46222 # second argument (suffix to remove) is given
46226 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46229 echo ${D}1 | sed 's/'${D}2'${D}//'
46232 echo "error in basnam ${D}*"
46238 # Cleanup temporary files and output
46241 for i in ${D}inputFiles ; do
46244 rm -rf \`basnam ${D}i !\`
46251 # Kill result in case of failure as there is just to many stupid make/nmake
46252 # things out there which doesn't do this.
46253 if [ ${D}# -eq 0 ]; then
46254 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46258 # Print usage and exit script with rc=1.
46260 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46261 echo ' [-name-mangler-script script.sh]'
46262 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46263 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46264 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46265 echo ' [*.o] [*.a]'
46266 echo '*> "output_file" should have no extension.'
46267 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46268 echo ' The import library name is derived from this and is set to "name".a,'
46269 echo ' unless overridden by -import'
46270 echo '*> "importlib_name" should have no extension.'
46271 echo ' If it has the .o, or .a extension, it is automatically removed.'
46272 echo ' This name is used as the import library name and may be longer and'
46273 echo ' more descriptive than the DLL name which has to follow the old '
46274 echo ' 8.3 convention of FAT.'
46275 echo '*> "script.sh may be given to override the output_file name by a'
46276 echo ' different name. It is mainly useful if the regular make process'
46277 echo ' of some package does not take into account OS/2 restriction of'
46278 echo ' DLL name lengths. It takes the importlib name as input and is'
46279 echo ' supposed to procude a shorter name as output. The script should'
46280 echo ' expect to get importlib_name without extension and should produce'
46281 echo ' a (max.) 8 letter name without extension.'
46282 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46283 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46284 echo ' These flags will be put at the start of GCC command line.'
46285 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46286 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46287 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46288 echo ' If the last character of a symbol is "*", all symbols beginning'
46289 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46290 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46291 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46292 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46293 echo ' C runtime DLLs.'
46294 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46295 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46296 echo ' unchanged to GCC at the end of command line.'
46297 echo '*> If you create a DLL from a library and you do not specify -o,'
46298 echo ' the basename for DLL and import library will be set to library name,'
46299 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46300 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46301 echo ' library will be renamed into gcc_s.a.'
46304 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46305 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46310 # Execute a command.
46311 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46312 # @Uses Whatever CleanUp() uses.
46318 if [ ${D}rcCmd -ne 0 ]; then
46319 echo "command failed, exit code="${D}rcCmd
46334 CFLAGS="-s -Zcrtdll"
46336 EXPORT_BY_ORDINALS=0
46341 case ${D}curDirS in
46345 curDirS=${D}{curDirS}"/"
46348 # Parse commandline
46351 while [ ${D}1 ]; do
46354 EXPORT_BY_ORDINALS=1;
46364 -name-mangler-script)
46385 exclude_symbols=${D}{exclude_symbols}${D}1" "
46389 library_flags=${D}{library_flags}${D}1" "
46408 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46411 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46412 if [ ${D}omfLinking -eq 1 ]; then
46413 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46415 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46420 if [ ${D}libsToLink -ne 0 ]; then
46421 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46423 for file in ${D}1 ; do
46424 if [ -f ${D}file ]; then
46425 inputFiles="${D}{inputFiles} ${D}file"
46429 if [ ${D}found -eq 0 ]; then
46430 echo "ERROR: No file(s) found: "${D}1
46437 done # iterate cmdline words
46440 if [ -z "${D}inputFiles" ]; then
46441 echo "dllar: no input files"
46445 # Now extract all .o files from .a files
46447 for file in ${D}inputFiles ; do
46458 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46463 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46465 if [ ${D}? -ne 0 ]; then
46466 echo "Failed to create subdirectory ./${D}dirname"
46470 # Append '!' to indicate archive
46471 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46472 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46475 for subfile in ${D}dirname/*.o* ; do
46476 if [ -f ${D}subfile ]; then
46478 if [ -s ${D}subfile ]; then
46479 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46480 newInputFiles="${D}newInputFiles ${D}subfile"
46484 if [ ${D}found -eq 0 ]; then
46485 echo "WARNING: there are no files in archive \\'${D}file\\'"
46489 newInputFiles="${D}{newInputFiles} ${D}file"
46493 inputFiles="${D}newInputFiles"
46495 # Output filename(s).
46497 if [ -z ${D}outFile ]; then
46499 set outFile ${D}inputFiles; outFile=${D}2
46502 # If it is an archive, remove the '!' and the '_%' suffixes
46503 case ${D}outFile in
46505 outFile=\`basnam ${D}outFile _%!\`
46510 case ${D}outFile in
46512 outFile=\`basnam ${D}outFile .dll\`
46515 outFile=\`basnam ${D}outFile .DLL\`
46518 outFile=\`basnam ${D}outFile .o\`
46521 outFile=\`basnam ${D}outFile .obj\`
46524 outFile=\`basnam ${D}outFile .a\`
46527 outFile=\`basnam ${D}outFile .lib\`
46532 case ${D}outimpFile in
46534 outimpFile=\`basnam ${D}outimpFile .a\`
46537 outimpFile=\`basnam ${D}outimpFile .lib\`
46542 if [ -z ${D}outimpFile ]; then
46543 outimpFile=${D}outFile
46545 defFile="${D}{outFile}.def"
46546 arcFile="${D}{outimpFile}.a"
46547 arcFile2="${D}{outimpFile}.lib"
46549 #create ${D}dllFile as something matching 8.3 restrictions,
46550 if [ -z ${D}renameScript ] ; then
46551 dllFile="${D}outFile"
46553 dllFile=\`${D}renameScript ${D}outimpFile\`
46556 if [ ${D}do_backup -ne 0 ] ; then
46557 if [ -f ${D}arcFile ] ; then
46558 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46560 if [ -f ${D}arcFile2 ] ; then
46561 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46565 # Extract public symbols from all the object files.
46566 tmpdefFile=${D}{defFile}_%
46567 rm -f ${D}tmpdefFile
46568 for file in ${D}inputFiles ; do
46573 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46578 # Create the def file.
46580 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46581 dllFile="${D}{dllFile}.dll"
46582 if [ ! -z ${D}description ]; then
46583 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46585 echo "EXPORTS" >> ${D}defFile
46587 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46588 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46590 # Checks if the export is ok or not.
46591 for word in ${D}exclude_symbols; do
46592 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46593 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46597 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46598 sed "=" < ${D}tmpdefFile | \\
46602 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46604 ' > ${D}{tmpdefFile}%
46605 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46607 rm -f ${D}{tmpdefFile}%
46609 cat ${D}tmpdefFile >> ${D}defFile
46610 rm -f ${D}tmpdefFile
46612 # Do linking, create implib, and apply lxlite.
46614 for file in ${D}inputFiles ; do
46619 gccCmdl="${D}gccCmdl ${D}file"
46623 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46624 touch "${D}{outFile}.dll"
46626 doCommand "emximp -o ${D}arcFile ${D}defFile"
46627 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46629 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46632 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46634 doCommand "emxomf -s -l ${D}arcFile"
46644 powerpc
-apple-macos* | \
46645 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46654 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46655 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46656 { (exit 1); exit 1; }; }
46659 if test "x$PIC_FLAG" != "x" ; then
46660 PIC_FLAG
="$PIC_FLAG -DPIC"
46663 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46664 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46666 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46667 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46686 case "${BAKEFILE_HOST}" in
46687 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46688 SONAME_FLAG
="-Wl,-soname,"
46722 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
46723 if test "${enable_dependency_tracking+set}" = set; then
46724 enableval
="$enable_dependency_tracking"
46725 bk_use_trackdeps
="$enableval"
46728 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46729 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46731 if test "x$bk_use_trackdeps" = "xno" ; then
46733 echo "$as_me:$LINENO: result: disabled" >&5
46734 echo "${ECHO_T}disabled" >&6
46738 if test "x$GCC" = "xyes"; then
46740 case "${BAKEFILE_HOST}" in
46742 DEPSFLAG
="-no-cpp-precomp -MMD"
46748 echo "$as_me:$LINENO: result: gcc" >&5
46749 echo "${ECHO_T}gcc" >&6
46750 elif test "x$MWCC" = "xyes"; then
46753 echo "$as_me:$LINENO: result: mwcc" >&5
46754 echo "${ECHO_T}mwcc" >&6
46755 elif test "x$SUNCC" = "xyes"; then
46758 echo "$as_me:$LINENO: result: Sun cc" >&5
46759 echo "${ECHO_T}Sun cc" >&6
46760 elif test "x$SGICC" = "xyes"; then
46763 echo "$as_me:$LINENO: result: SGI cc" >&5
46764 echo "${ECHO_T}SGI cc" >&6
46765 elif test "x$HPCC" = "xyes"; then
46768 echo "$as_me:$LINENO: result: HP cc" >&5
46769 echo "${ECHO_T}HP cc" >&6
46770 elif test "x$COMPAQCC" = "xyes"; then
46773 echo "$as_me:$LINENO: result: Compaq cc" >&5
46774 echo "${ECHO_T}Compaq cc" >&6
46777 echo "$as_me:$LINENO: result: none" >&5
46778 echo "${ECHO_T}none" >&6
46781 if test $DEPS_TRACKING = 1 ; then
46787 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46788 # script. It is used to track C/C++ files dependencies in portable way.
46790 # Permission is given to use this file in any way.
46792 DEPSMODE=${DEPSMODE}
46794 DEPSFLAG="${DEPSFLAG}"
46796 mkdir -p ${D}DEPSDIR
46798 if test ${D}DEPSMODE = gcc ; then
46799 ${D}* ${D}{DEPSFLAG}
46801 if test ${D}{status} != 0 ; then
46804 # move created file to the location we want it in:
46805 while test ${D}# -gt 0; do
46819 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46820 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46821 if test -f ${D}depfile ; then
46822 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46825 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46826 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46827 if test ! -f ${D}depfile ; then
46828 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46829 depfile="${D}objfile.d"
46831 if test -f ${D}depfile ; then
46832 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46837 elif test ${D}DEPSMODE = mwcc ; then
46838 ${D}* || exit ${D}?
46839 # Run mwcc again with -MM and redirect into the dep file we want
46840 # NOTE: We can't use shift here because we need ${D}* to be valid
46842 for arg in ${D}* ; do
46843 if test "${D}prevarg" = "-o"; then
46856 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46858 elif test ${D}DEPSMODE = unixcc; then
46859 ${D}* || exit ${D}?
46860 # Run compiler again with deps flag and redirect into the dep file.
46861 # It doesn't work if the '-o FILE' option is used, but without it the
46862 # dependency file will contain the wrong name for the object. So it is
46863 # removed from the command line, and the dep file is fixed with sed.
46865 while test ${D}# -gt 0; do
46872 eval arg${D}#=\\${D}1
46873 cmd="${D}cmd \\${D}arg${D}#"
46878 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
46893 case ${BAKEFILE_HOST} in
46894 *-*-cygwin* | *-*-mingw32* )
46895 if test -n "$ac_tool_prefix"; then
46896 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
46897 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
46898 echo "$as_me:$LINENO: checking for $ac_word" >&5
46899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46900 if test "${ac_cv_prog_WINDRES+set}" = set; then
46901 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 if test -n "$WINDRES"; then
46904 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
46906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46907 for as_dir
in $PATH
46910 test -z "$as_dir" && as_dir
=.
46911 for ac_exec_ext
in '' $ac_executable_extensions; do
46912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46913 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
46914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46922 WINDRES
=$ac_cv_prog_WINDRES
46923 if test -n "$WINDRES"; then
46924 echo "$as_me:$LINENO: result: $WINDRES" >&5
46925 echo "${ECHO_T}$WINDRES" >&6
46927 echo "$as_me:$LINENO: result: no" >&5
46928 echo "${ECHO_T}no" >&6
46932 if test -z "$ac_cv_prog_WINDRES"; then
46933 ac_ct_WINDRES
=$WINDRES
46934 # Extract the first word of "windres", so it can be a program name with args.
46935 set dummy windres
; ac_word
=$2
46936 echo "$as_me:$LINENO: checking for $ac_word" >&5
46937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46938 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
46939 echo $ECHO_N "(cached) $ECHO_C" >&6
46941 if test -n "$ac_ct_WINDRES"; then
46942 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
46944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46945 for as_dir
in $PATH
46948 test -z "$as_dir" && as_dir
=.
46949 for ac_exec_ext
in '' $ac_executable_extensions; do
46950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46951 ac_cv_prog_ac_ct_WINDRES
="windres"
46952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46960 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
46961 if test -n "$ac_ct_WINDRES"; then
46962 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
46963 echo "${ECHO_T}$ac_ct_WINDRES" >&6
46965 echo "$as_me:$LINENO: result: no" >&5
46966 echo "${ECHO_T}no" >&6
46969 WINDRES
=$ac_ct_WINDRES
46971 WINDRES
="$ac_cv_prog_WINDRES"
46976 *-*-darwin* | powerpc
-apple-macos* )
46977 # Extract the first word of "Rez", so it can be a program name with args.
46978 set dummy Rez
; ac_word
=$2
46979 echo "$as_me:$LINENO: checking for $ac_word" >&5
46980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46981 if test "${ac_cv_prog_REZ+set}" = set; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46984 if test -n "$REZ"; then
46985 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
46987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46988 for as_dir
in $PATH
46991 test -z "$as_dir" && as_dir
=.
46992 for ac_exec_ext
in '' $ac_executable_extensions; do
46993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46994 ac_cv_prog_REZ
="Rez"
46995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47001 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47004 REZ
=$ac_cv_prog_REZ
47005 if test -n "$REZ"; then
47006 echo "$as_me:$LINENO: result: $REZ" >&5
47007 echo "${ECHO_T}$REZ" >&6
47009 echo "$as_me:$LINENO: result: no" >&5
47010 echo "${ECHO_T}no" >&6
47013 # Extract the first word of "SetFile", so it can be a program name with args.
47014 set dummy SetFile
; ac_word
=$2
47015 echo "$as_me:$LINENO: checking for $ac_word" >&5
47016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47017 if test "${ac_cv_prog_SETFILE+set}" = set; then
47018 echo $ECHO_N "(cached) $ECHO_C" >&6
47020 if test -n "$SETFILE"; then
47021 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47024 for as_dir
in $PATH
47027 test -z "$as_dir" && as_dir
=.
47028 for ac_exec_ext
in '' $ac_executable_extensions; do
47029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47030 ac_cv_prog_SETFILE
="SetFile"
47031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47037 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47040 SETFILE
=$ac_cv_prog_SETFILE
47041 if test -n "$SETFILE"; then
47042 echo "$as_me:$LINENO: result: $SETFILE" >&5
47043 echo "${ECHO_T}$SETFILE" >&6
47045 echo "$as_me:$LINENO: result: no" >&5
47046 echo "${ECHO_T}no" >&6
47057 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47060 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47064 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47065 if test "${enable_precomp_headers+set}" = set; then
47066 enableval
="$enable_precomp_headers"
47067 bk_use_pch
="$enableval"
47074 case ${BAKEFILE_HOST} in
47080 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47081 if test "x$GCC" = "xyes"; then
47082 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47083 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47084 cat >conftest.
$ac_ext <<_ACEOF
47087 cat confdefs.h
>>conftest.
$ac_ext
47088 cat >>conftest.
$ac_ext <<_ACEOF
47089 /* end confdefs.h. */
47095 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47096 There is no PCH support
47099 There is no PCH support
47101 #if (__GNUC__ == 3) && \
47102 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47103 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47104 ( defined(__INTEL_COMPILER) )
47105 There is no PCH support
47112 rm -f conftest.
$ac_objext
47113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47114 (eval $ac_compile) 2>conftest.er1
47116 grep -v '^ *+' conftest.er1
>conftest.err
47118 cat conftest.err
>&5
47119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47120 (exit $ac_status); } &&
47121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47123 (eval $ac_try) 2>&5
47125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47126 (exit $ac_status); }; } &&
47127 { ac_try
='test -s conftest.$ac_objext'
47128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47129 (eval $ac_try) 2>&5
47131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47132 (exit $ac_status); }; }; then
47134 echo "$as_me:$LINENO: result: yes" >&5
47135 echo "${ECHO_T}yes" >&6
47139 echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.
$ac_ext >&5
47143 cat >conftest.
$ac_ext <<_ACEOF
47146 cat confdefs.h
>>conftest.
$ac_ext
47147 cat >>conftest.
$ac_ext <<_ACEOF
47148 /* end confdefs.h. */
47154 #if !defined(__INTEL_COMPILER) || \
47155 (__INTEL_COMPILER < 800)
47156 There is no PCH support
47163 rm -f conftest.
$ac_objext
47164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47165 (eval $ac_compile) 2>conftest.er1
47167 grep -v '^ *+' conftest.er1
>conftest.err
47169 cat conftest.err
>&5
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); } &&
47172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47174 (eval $ac_try) 2>&5
47176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177 (exit $ac_status); }; } &&
47178 { ac_try
='test -s conftest.$ac_objext'
47179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47180 (eval $ac_try) 2>&5
47182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47183 (exit $ac_status); }; }; then
47185 echo "$as_me:$LINENO: result: yes" >&5
47186 echo "${ECHO_T}yes" >&6
47190 echo "$as_me: failed program was:" >&5
47191 sed 's/^/| /' conftest.
$ac_ext >&5
47194 echo "$as_me:$LINENO: result: no" >&5
47195 echo "${ECHO_T}no" >&6
47198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47202 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47206 cat <<EOF >bk-make-pch
47209 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47210 # script. It is used to generated precompiled headers.
47212 # Permission is given to use this file in any way.
47222 while test ${D}{#} -gt 0; do
47226 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47227 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47228 headerfile="${D}{incdir}/${D}{header}"
47231 -use-pch|-use_pch )
47236 if test ${D}add_to_cmdline = 1 ; then
47237 compiler="${D}{compiler} ${D}{1}"
47242 if test "x${D}{headerfile}" = "x" ; then
47243 echo "error: can't find header ${D}{header} in include paths" >&2
47245 if test -f ${D}{outfile} ; then
47246 rm -f ${D}{outfile}
47248 mkdir -p \`dirname ${D}{outfile}\`
47250 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47252 if test "x${GCC_PCH}" = "x1" ; then
47253 # can do this because gcc is >= 3.4:
47254 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47255 elif test "x${ICC_PCH}" = "x1" ; then
47256 filename=pch_gen-${D}${D}
47257 file=${D}{filename}.c
47258 dfile=${D}{filename}.d
47259 cat > ${D}file <<EOT
47260 #include "${D}header"
47262 # using -MF icc complains about differing command lines in creation/use
47263 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47264 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47265 rm -f ${D}file ${D}dfile ${D}{filename}.o
47271 chmod +x bk
-make-pch
47279 COND_BUILD_DEBUG
="#"
47280 if test "x$BUILD" = "xdebug" ; then
47281 COND_BUILD_DEBUG
=""
47284 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47285 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47286 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47289 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47290 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47291 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47294 COND_BUILD_DEBUG_UNICODE_0
="#"
47295 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47296 COND_BUILD_DEBUG_UNICODE_0
=""
47299 COND_BUILD_DEBUG_UNICODE_1
="#"
47300 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47301 COND_BUILD_DEBUG_UNICODE_1
=""
47304 COND_BUILD_RELEASE
="#"
47305 if test "x$BUILD" = "xrelease" ; then
47306 COND_BUILD_RELEASE
=""
47309 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47310 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47311 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47314 COND_BUILD_RELEASE_UNICODE_0
="#"
47315 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47316 COND_BUILD_RELEASE_UNICODE_0
=""
47319 COND_BUILD_RELEASE_UNICODE_1
="#"
47320 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47321 COND_BUILD_RELEASE_UNICODE_1
=""
47324 COND_DEBUG_FLAG_1
="#"
47325 if test "x$DEBUG_FLAG" = "x1" ; then
47326 COND_DEBUG_FLAG_1
=""
47329 COND_DEBUG_INFO_0
="#"
47330 if test "x$DEBUG_INFO" = "x0" ; then
47331 COND_DEBUG_INFO_0
=""
47334 COND_DEBUG_INFO_1
="#"
47335 if test "x$DEBUG_INFO" = "x1" ; then
47336 COND_DEBUG_INFO_1
=""
47339 COND_DEPS_TRACKING_0
="#"
47340 if test "x$DEPS_TRACKING" = "x0" ; then
47341 COND_DEPS_TRACKING_0
=""
47344 COND_DEPS_TRACKING_1
="#"
47345 if test "x$DEPS_TRACKING" = "x1" ; then
47346 COND_DEPS_TRACKING_1
=""
47350 if test "x$GCC_PCH" = "x1" ; then
47355 if test "x$ICC_PCH" = "x1" ; then
47359 COND_MONOLITHIC_0
="#"
47360 if test "x$MONOLITHIC" = "x0" ; then
47361 COND_MONOLITHIC_0
=""
47364 COND_MONOLITHIC_0_SHARED_0
="#"
47365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47366 COND_MONOLITHIC_0_SHARED_0
=""
47369 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47371 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47374 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47376 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47379 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47381 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47384 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47386 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47389 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47391 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47394 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47396 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47399 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47401 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47404 COND_MONOLITHIC_0_SHARED_1
="#"
47405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47406 COND_MONOLITHIC_0_SHARED_1
=""
47409 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47411 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47414 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47416 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47419 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47421 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47424 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47426 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47429 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47431 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47434 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47436 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47439 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47441 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47444 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47445 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47446 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47449 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47450 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47451 COND_MONOLITHIC_0_USE_ODBC_1
=""
47454 COND_MONOLITHIC_1
="#"
47455 if test "x$MONOLITHIC" = "x1" ; then
47456 COND_MONOLITHIC_1
=""
47459 COND_MONOLITHIC_1_SHARED_0
="#"
47460 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47461 COND_MONOLITHIC_1_SHARED_0
=""
47464 COND_MONOLITHIC_1_SHARED_1
="#"
47465 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47466 COND_MONOLITHIC_1_SHARED_1
=""
47469 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47470 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47471 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47474 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47475 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47476 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47479 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47480 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47481 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47484 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47485 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47486 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47489 COND_PLATFORM_MACOSX_1
="#"
47490 if test "x$PLATFORM_MACOSX" = "x1" ; then
47491 COND_PLATFORM_MACOSX_1
=""
47494 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47495 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47496 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47499 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47500 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47501 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47504 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47505 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47506 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47509 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47510 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47511 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47514 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47516 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47519 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47520 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47521 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47524 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47525 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47526 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47529 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47531 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47534 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47536 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47539 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47541 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47544 COND_PLATFORM_MACOS_1
="#"
47545 if test "x$PLATFORM_MACOS" = "x1" ; then
47546 COND_PLATFORM_MACOS_1
=""
47549 COND_PLATFORM_MAC_1
="#"
47550 if test "x$PLATFORM_MAC" = "x1" ; then
47551 COND_PLATFORM_MAC_1
=""
47554 COND_PLATFORM_MSDOS_0
="#"
47555 if test "x$PLATFORM_MSDOS" = "x0" ; then
47556 COND_PLATFORM_MSDOS_0
=""
47559 COND_PLATFORM_MSDOS_1
="#"
47560 if test "x$PLATFORM_MSDOS" = "x1" ; then
47561 COND_PLATFORM_MSDOS_1
=""
47564 COND_PLATFORM_OS2_1
="#"
47565 if test "x$PLATFORM_OS2" = "x1" ; then
47566 COND_PLATFORM_OS2_1
=""
47569 COND_PLATFORM_UNIX_0
="#"
47570 if test "x$PLATFORM_UNIX" = "x0" ; then
47571 COND_PLATFORM_UNIX_0
=""
47574 COND_PLATFORM_UNIX_1
="#"
47575 if test "x$PLATFORM_UNIX" = "x1" ; then
47576 COND_PLATFORM_UNIX_1
=""
47579 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47580 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47581 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47584 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47585 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47586 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47589 COND_PLATFORM_WIN32_0
="#"
47590 if test "x$PLATFORM_WIN32" = "x0" ; then
47591 COND_PLATFORM_WIN32_0
=""
47594 COND_PLATFORM_WIN32_1
="#"
47595 if test "x$PLATFORM_WIN32" = "x1" ; then
47596 COND_PLATFORM_WIN32_1
=""
47600 if test "x$SHARED" = "x0" ; then
47604 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47605 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47606 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47609 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47610 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47611 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47614 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47615 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47616 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47619 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47620 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47621 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47624 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47625 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47626 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47629 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47630 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47631 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47634 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47635 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47636 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47639 COND_SHARED_0_USE_XRC_1
="#"
47640 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47641 COND_SHARED_0_USE_XRC_1
=""
47644 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47645 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47646 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47649 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47650 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47651 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47654 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47655 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47656 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47659 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47660 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47661 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47665 if test "x$SHARED" = "x1" ; then
47669 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47670 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47671 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47674 COND_SHARED_1_USE_XRC_1
="#"
47675 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47676 COND_SHARED_1_USE_XRC_1
=""
47680 if test "x$TOOLKIT" = "x" ; then
47684 COND_TOOLKIT_COCOA
="#"
47685 if test "x$TOOLKIT" = "xCOCOA" ; then
47686 COND_TOOLKIT_COCOA
=""
47689 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47690 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47691 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47694 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47695 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47696 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47699 COND_TOOLKIT_GTK
="#"
47700 if test "x$TOOLKIT" = "xGTK" ; then
47701 COND_TOOLKIT_GTK
=""
47704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47705 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47709 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47710 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47714 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47715 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47716 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47720 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47721 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47725 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47726 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47729 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47730 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47734 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47735 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47736 COND_TOOLKIT_GTK_USE_GUI_1
=""
47739 COND_TOOLKIT_MAC
="#"
47740 if test "x$TOOLKIT" = "xMAC" ; then
47741 COND_TOOLKIT_MAC
=""
47744 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47745 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47746 COND_TOOLKIT_MAC_USE_GUI_1
=""
47749 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47750 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47751 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47754 COND_TOOLKIT_MGL
="#"
47755 if test "x$TOOLKIT" = "xMGL" ; then
47756 COND_TOOLKIT_MGL
=""
47759 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47760 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47761 COND_TOOLKIT_MGL_USE_GUI_1
=""
47764 COND_TOOLKIT_MOTIF
="#"
47765 if test "x$TOOLKIT" = "xMOTIF" ; then
47766 COND_TOOLKIT_MOTIF
=""
47769 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47770 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47771 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47774 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47775 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47776 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47779 COND_TOOLKIT_MSW
="#"
47780 if test "x$TOOLKIT" = "xMSW" ; then
47781 COND_TOOLKIT_MSW
=""
47784 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47785 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47786 COND_TOOLKIT_MSW_USE_GUI_1
=""
47789 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47790 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47791 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47794 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47795 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47796 COND_TOOLKIT_MSW_WXUNIV_0
=""
47799 COND_TOOLKIT_PM
="#"
47800 if test "x$TOOLKIT" = "xPM" ; then
47804 COND_TOOLKIT_PM_USE_GUI_1
="#"
47805 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47806 COND_TOOLKIT_PM_USE_GUI_1
=""
47809 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47810 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47811 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47814 COND_TOOLKIT_WINCE
="#"
47815 if test "x$TOOLKIT" = "xWINCE" ; then
47816 COND_TOOLKIT_WINCE
=""
47819 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47820 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47821 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47824 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47825 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47826 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47829 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47830 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47831 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47834 COND_TOOLKIT_X11
="#"
47835 if test "x$TOOLKIT" = "xX11" ; then
47836 COND_TOOLKIT_X11
=""
47839 COND_TOOLKIT_X11_USE_GUI_1
="#"
47840 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47841 COND_TOOLKIT_X11_USE_GUI_1
=""
47845 if test "x$UNICODE" = "x1" ; then
47849 COND_USE_EXCEPTIONS_0
="#"
47850 if test "x$USE_EXCEPTIONS" = "x0" ; then
47851 COND_USE_EXCEPTIONS_0
=""
47854 COND_USE_EXCEPTIONS_1
="#"
47855 if test "x$USE_EXCEPTIONS" = "x1" ; then
47856 COND_USE_EXCEPTIONS_1
=""
47860 if test "x$USE_GUI" = "x0" ; then
47865 if test "x$USE_GUI" = "x1" ; then
47869 COND_USE_GUI_1_WXUNIV_0
="#"
47870 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47871 COND_USE_GUI_1_WXUNIV_0
=""
47874 COND_USE_GUI_1_WXUNIV_1
="#"
47875 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47876 COND_USE_GUI_1_WXUNIV_1
=""
47879 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47880 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47881 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47884 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47885 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47886 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47889 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47890 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47891 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47894 COND_USE_ODBC_1
="#"
47895 if test "x$USE_ODBC" = "x1" ; then
47899 COND_USE_OPENGL_1
="#"
47900 if test "x$USE_OPENGL" = "x1" ; then
47901 COND_USE_OPENGL_1
=""
47905 if test "x$USE_PCH" = "x1" ; then
47909 COND_USE_PLUGINS_0
="#"
47910 if test "x$USE_PLUGINS" = "x0" ; then
47911 COND_USE_PLUGINS_0
=""
47914 COND_USE_RTTI_0
="#"
47915 if test "x$USE_RTTI" = "x0" ; then
47919 COND_USE_RTTI_1
="#"
47920 if test "x$USE_RTTI" = "x1" ; then
47924 COND_USE_SOSYMLINKS_1
="#"
47925 if test "x$USE_SOSYMLINKS" = "x1" ; then
47926 COND_USE_SOSYMLINKS_1
=""
47929 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47930 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47931 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47934 COND_USE_SOVERLINUX_1
="#"
47935 if test "x$USE_SOVERLINUX" = "x1" ; then
47936 COND_USE_SOVERLINUX_1
=""
47939 COND_USE_SOVERSION_0
="#"
47940 if test "x$USE_SOVERSION" = "x0" ; then
47941 COND_USE_SOVERSION_0
=""
47944 COND_USE_SOVERSOLARIS_1
="#"
47945 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47946 COND_USE_SOVERSOLARIS_1
=""
47949 COND_USE_THREADS_0
="#"
47950 if test "x$USE_THREADS" = "x0" ; then
47951 COND_USE_THREADS_0
=""
47954 COND_USE_THREADS_1
="#"
47955 if test "x$USE_THREADS" = "x1" ; then
47956 COND_USE_THREADS_1
=""
47960 if test "x$USE_XRC" = "x1" ; then
47964 COND_WINDOWS_IMPLIB_1
="#"
47965 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47966 COND_WINDOWS_IMPLIB_1
=""
47969 COND_WITH_PLUGIN_SDL_1
="#"
47970 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47971 COND_WITH_PLUGIN_SDL_1
=""
47975 if test "x$WXUNIV" = "x0" ; then
47980 if test "x$WXUNIV" = "x1" ; then
47984 COND_WXUSE_EXPAT_BUILTIN
="#"
47985 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
47986 COND_WXUSE_EXPAT_BUILTIN
=""
47989 COND_WXUSE_LIBJPEG_BUILTIN
="#"
47990 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47991 COND_WXUSE_LIBJPEG_BUILTIN
=""
47994 COND_WXUSE_LIBPNG_BUILTIN
="#"
47995 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47996 COND_WXUSE_LIBPNG_BUILTIN
=""
47999 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48000 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48001 COND_WXUSE_LIBTIFF_BUILTIN
=""
48004 COND_WXUSE_ODBC_BUILTIN
="#"
48005 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48006 COND_WXUSE_ODBC_BUILTIN
=""
48009 COND_WXUSE_REGEX_BUILTIN
="#"
48010 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48011 COND_WXUSE_REGEX_BUILTIN
=""
48014 COND_WXUSE_ZLIB_BUILTIN
="#"
48015 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48016 COND_WXUSE_ZLIB_BUILTIN
=""
48021 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48022 { { 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
48023 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;}
48024 { (exit 1); exit 1; }; }
48027 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48028 { { 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
48029 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;}
48030 { (exit 1); exit 1; }; }
48035 if test "$wxUSE_MAC" = 1 ; then
48036 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48037 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48043 if test "$wxUSE_SHARED" = "yes"; then
48045 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48046 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48049 *-pc-os2_emx | *-pc-os2-emx )
48050 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48051 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48052 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48053 cp -p ${srcdir}/src
/os
2/dllar.sh .
48058 EXE_LINKER
="$CXX -o"
48061 if test "$wxUSE_OMF" = "yes"; then
48063 *-pc-os2_emx | *-pc-os2-emx )
48064 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48065 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48066 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48071 if test $GCC_PCH = 1 ; then
48072 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48075 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48077 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48139 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48140 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48141 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48142 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48143 echo $ECHO_N "(cached) $ECHO_C" >&6
48145 cat >conftest.
make <<\_ACEOF
48147 @
echo 'ac_maketemp="$(MAKE)"'
48149 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48150 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48151 if test -n "$ac_maketemp"; then
48152 eval ac_cv_prog_make_
${ac_make}_set
=yes
48154 eval ac_cv_prog_make_
${ac_make}_set
=no
48156 rm -f conftest.
make
48158 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48159 echo "$as_me:$LINENO: result: yes" >&5
48160 echo "${ECHO_T}yes" >&6
48163 echo "$as_me:$LINENO: result: no" >&5
48164 echo "${ECHO_T}no" >&6
48165 SET_MAKE
="MAKE=${MAKE-make}"
48170 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48173 if test "$USE_WIN32" = 1; then
48174 ac_config_commands
="$ac_config_commands
48180 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48183 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48186 ac_config_files
="$ac_config_files version-script Makefile"
48189 ac_config_commands
="$ac_config_commands wx-config"
48193 if test "$wxWITH_SUBDIRS" != "no"; then
48194 if test "$wxUSE_GUI" = "yes"; then
48195 SUBDIRS
="samples demos utils contrib"
48196 else SUBDIRS
="samples utils"
48201 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48202 if test "${with_cppunit_prefix+set}" = set; then
48203 withval
="$with_cppunit_prefix"
48204 cppunit_config_prefix
="$withval"
48206 cppunit_config_prefix
=""
48209 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48210 if test "${with_cppunit_exec_prefix+set}" = set; then
48211 withval
="$with_cppunit_exec_prefix"
48212 cppunit_config_exec_prefix
="$withval"
48214 cppunit_config_exec_prefix
=""
48217 if test x
$cppunit_config_exec_prefix != x
; then
48218 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48219 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48220 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48223 if test x
$cppunit_config_prefix != x
; then
48224 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48225 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48226 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48230 # Extract the first word of "cppunit-config", so it can be a program name with args.
48231 set dummy cppunit
-config; ac_word
=$2
48232 echo "$as_me:$LINENO: checking for $ac_word" >&5
48233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48234 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48235 echo $ECHO_N "(cached) $ECHO_C" >&6
48237 case $CPPUNIT_CONFIG in
48239 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48243 for as_dir
in $PATH
48246 test -z "$as_dir" && as_dir
=.
48247 for ac_exec_ext
in '' $ac_executable_extensions; do
48248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48249 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48256 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48260 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48262 if test -n "$CPPUNIT_CONFIG"; then
48263 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48264 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48266 echo "$as_me:$LINENO: result: no" >&5
48267 echo "${ECHO_T}no" >&6
48270 cppunit_version_min
=1.8.0
48272 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48273 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48275 if test "$CPPUNIT_CONFIG" = "no" ; then
48278 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48279 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48280 cppunit_version
=`$CPPUNIT_CONFIG --version`
48282 cppunit_major_version
=`echo $cppunit_version | \
48283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48284 cppunit_minor_version
=`echo $cppunit_version | \
48285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48286 cppunit_micro_version
=`echo $cppunit_version | \
48287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48289 cppunit_major_min
=`echo $cppunit_version_min | \
48290 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48291 cppunit_minor_min
=`echo $cppunit_version_min | \
48292 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48293 cppunit_micro_min
=`echo $cppunit_version_min | \
48294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48296 cppunit_version_proper
=`expr \
48297 $cppunit_major_version \> $cppunit_major_min \| \
48298 $cppunit_major_version \= $cppunit_major_min \& \
48299 $cppunit_minor_version \> $cppunit_minor_min \| \
48300 $cppunit_major_version \= $cppunit_major_min \& \
48301 $cppunit_minor_version \= $cppunit_minor_min \& \
48302 $cppunit_micro_version \>= $cppunit_micro_min `
48304 if test "$cppunit_version_proper" = "1" ; then
48305 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48306 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48308 echo "$as_me:$LINENO: result: no" >&5
48309 echo "${ECHO_T}no" >&6
48314 if test "x$no_cppunit" = x
; then
48315 SUBDIRS
="$SUBDIRS tests"
48326 for subdir
in `echo $SUBDIRS`; do
48327 if test -d ${srcdir}/${subdir} ; then
48328 if test "$wxUSE_GUI" = "yes"; then
48329 if test ${subdir} = "samples"; then
48330 makefiles
="samples/Makefile.in $makefiles"
48331 for sample
in `echo $SAMPLES_SUBDIRS`; do
48332 if test -d $srcdir/samples
/$sample; then
48333 makefiles
="samples/$sample/Makefile.in $makefiles"
48337 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48338 eval "disabled=\$$disabled_var"
48339 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48340 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48342 else if test ${subdir} = "samples"; then
48343 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48344 elif test ${subdir} = "utils"; then
48346 for util
in HelpGen tex2rtf
; do
48347 if test -d $srcdir/utils
/$util ; then
48348 makefiles
="utils/$util/Makefile.in \
48349 utils/$util/src/Makefile.in \
48353 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48357 for mkin
in $makefiles ; do
48358 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48359 ac_config_files
="$ac_config_files $mk"
48365 cat >confcache
<<\_ACEOF
48366 # This file is a shell script that caches the results of configure
48367 # tests run on this system so they can be shared between configure
48368 # scripts and configure runs, see configure's option --config-cache.
48369 # It is not useful on other systems. If it contains results you don't
48370 # want to keep, you may remove or edit it.
48372 # config.status only pays attention to the cache file if you give it
48373 # the --recheck option to rerun configure.
48375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48377 # following values.
48381 # The following way of writing the cache mishandles newlines in values,
48382 # but we know of no workaround that is simple, portable, and efficient.
48383 # So, don't put newlines in cache variables' values.
48384 # Ultrix sh set writes to stderr and can't be redirected directly,
48385 # and sets the high bit in the cache file unless we assign to the vars.
48388 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48390 # `set' does not quote correctly, so add quotes (double-quote
48391 # substitution turns \\\\ into \\, and sed turns \\ into \).
48394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48397 # `set' quotes correctly as required by POSIX, so do not add quotes.
48399 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48408 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48410 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48411 if test -w $cache_file; then
48412 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48413 cat confcache
>$cache_file
48415 echo "not updating unwritable cache $cache_file"
48420 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48421 # Let make expand exec_prefix.
48422 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48424 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48425 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48426 # trailing colons and then remove the whole line if VPATH becomes empty
48427 # (actually we leave an empty line to preserve line numbers).
48428 if test "x$srcdir" = x.
; then
48429 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48430 s/:*\$(srcdir):*/:/;
48431 s/:*\${srcdir}:*/:/;
48433 s/^\([^=]*=[ ]*\):*/\1/;
48439 DEFS
=-DHAVE_CONFIG_H
48443 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48444 # 1. Remove the extension, and $U if already installed.
48445 ac_i
=`echo "$ac_i" |
48446 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48448 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48449 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48451 LIBOBJS
=$ac_libobjs
48453 LTLIBOBJS
=$ac_ltlibobjs
48457 : ${CONFIG_STATUS=./config.status}
48458 ac_clean_files_save
=$ac_clean_files
48459 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48460 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48461 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48462 cat >$CONFIG_STATUS <<_ACEOF
48464 # Generated by $as_me.
48465 # Run this file to recreate the current configuration.
48466 # Compiler output produced by configure, useful for debugging
48467 # configure, is in config.log if it exists.
48470 ac_cs_recheck=false
48472 SHELL=\${CONFIG_SHELL-$SHELL}
48475 cat >>$CONFIG_STATUS <<\_ACEOF
48476 ## --------------------- ##
48477 ## M4sh Initialization. ##
48478 ## --------------------- ##
48480 # Be Bourne compatible
48481 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48484 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48485 # is contrary to our usage. Disable this feature.
48486 alias -g '${1+"$@"}'='"$@"'
48487 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48490 DUALCASE
=1; export DUALCASE
# for MKS sh
48492 # Support unset when possible.
48493 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48500 # Work around bugs in pre-3.0 UWIN ksh.
48501 $as_unset ENV MAIL MAILPATH
48508 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48509 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48510 LC_TELEPHONE LC_TIME
48512 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48513 eval $as_var=C
; export $as_var
48519 # Required to use basename.
48520 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48526 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48527 as_basename
=basename
48533 # Name of the executable.
48534 as_me
=`$as_basename "$0" ||
48535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48536 X"$0" : 'X\(//\)$' \| \
48537 X"$0" : 'X\(/\)$' \| \
48538 . : '\(.\)' 2>/dev/null ||
48540 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48541 /^X\/\(\/\/\)$/{ s//\1/; q; }
48542 /^X\/\(\/\).*/{ s//\1/; q; }
48546 # PATH needs CR, and LINENO needs CR and PATH.
48547 # Avoid depending upon Character Ranges.
48548 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48549 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48550 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48551 as_cr_digits
='0123456789'
48552 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48554 # The user is always right.
48555 if test "${PATH_SEPARATOR+set}" != set; then
48556 echo "#! /bin/sh" >conf$$.sh
48557 echo "exit 0" >>conf$$.sh
48559 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48568 as_lineno_1
=$LINENO
48569 as_lineno_2
=$LINENO
48570 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48571 test "x$as_lineno_1" != "x$as_lineno_2" &&
48572 test "x$as_lineno_3" = "x$as_lineno_2" || {
48573 # Find who we are. Look in the path if we contain no path at all
48576 *[\\/]* ) as_myself
=$0 ;;
48577 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48578 for as_dir
in $PATH
48581 test -z "$as_dir" && as_dir
=.
48582 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48587 # We did not find ourselves, most probably we were run as `sh COMMAND'
48588 # in which case we are not to be found in the path.
48589 if test "x$as_myself" = x
; then
48592 if test ! -f "$as_myself"; then
48593 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48594 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48595 { (exit 1); exit 1; }; }
48597 case $CONFIG_SHELL in
48599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48600 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48603 test -z "$as_dir" && as_dir
=.
48604 for as_base
in sh bash ksh sh5
; do
48607 if ("$as_dir/$as_base" -c '
48608 as_lineno_1=$LINENO
48609 as_lineno_2=$LINENO
48610 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48611 test "x$as_lineno_1" != "x$as_lineno_2" &&
48612 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48613 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48614 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48615 CONFIG_SHELL
=$as_dir/$as_base
48616 export CONFIG_SHELL
48617 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48625 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48626 # uniformly replaced by the line number. The first 'sed' inserts a
48627 # line-number line before each line; the second 'sed' does the real
48628 # work. The second script uses 'N' to pair each line-number line
48629 # with the numbered line, and appends trailing '-' during
48630 # substitution so that $LINENO is not a special case at line end.
48631 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48632 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48633 sed '=' <$as_myself |
48638 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48641 s,^['$as_cr_digits']*\n,,
48642 ' >$as_me.lineno
&&
48643 chmod +x
$as_me.lineno
||
48644 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48645 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48646 { (exit 1); exit 1; }; }
48648 # Don't try to exec as it changes $[0], causing all sort of problems
48649 # (the dirname of $[0] is not the place where we might find the
48650 # original and so on. Autoconf is especially sensible to this).
48652 # Exit status is that of the last command.
48657 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48658 *c
*,-n*) ECHO_N
= ECHO_C
='
48660 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48661 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48664 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48670 rm -f conf$$ conf$$.exe conf$$.
file
48672 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48673 # We could just check for DJGPP; but this test a) works b) is more generic
48674 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48675 if test -f conf$$.exe
; then
48676 # Don't use ln at all; we don't have any links
48681 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48686 rm -f conf$$ conf$$.exe conf$$.
file
48688 if mkdir -p .
2>/dev
/null
; then
48691 test -d .
/-p && rmdir .
/-p
48695 as_executable_p
="test -f"
48697 # Sed expression to map a string onto a valid CPP name.
48698 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48700 # Sed expression to map a string onto a valid variable name.
48701 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48705 # We need space, tab and new line, in precisely that order.
48715 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48716 # report actual input values of CONFIG_FILES etc. instead of their
48717 # values after options handling. Logging --version etc. is OK.
48721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48722 ## Running $as_me. ##
48727 This file was extended by wxWidgets $as_me 2.7.0, which was
48728 generated by GNU Autoconf 2.59. Invocation command line was
48730 CONFIG_FILES = $CONFIG_FILES
48731 CONFIG_HEADERS = $CONFIG_HEADERS
48732 CONFIG_LINKS = $CONFIG_LINKS
48733 CONFIG_COMMANDS = $CONFIG_COMMANDS
48737 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48741 # Files that config.status was made for.
48742 if test -n "$ac_config_files"; then
48743 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48746 if test -n "$ac_config_headers"; then
48747 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48750 if test -n "$ac_config_links"; then
48751 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48754 if test -n "$ac_config_commands"; then
48755 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48758 cat >>$CONFIG_STATUS <<\_ACEOF
48761 \`$as_me' instantiates files from templates according to the
48762 current configuration.
48764 Usage: $0 [OPTIONS] [FILE]...
48766 -h, --help print this help, then exit
48767 -V, --version print version number, then exit
48768 -q, --quiet do not print progress messages
48769 -d, --debug don't remove temporary files
48770 --recheck update $as_me by reconfiguring in the same conditions
48771 --file=FILE[:TEMPLATE]
48772 instantiate the configuration file FILE
48773 --header=FILE[:TEMPLATE]
48774 instantiate the configuration header FILE
48776 Configuration files:
48779 Configuration headers:
48782 Configuration commands:
48785 Report bugs to <bug-autoconf@gnu.org>."
48788 cat >>$CONFIG_STATUS <<_ACEOF
48790 wxWidgets config.status 2.7.0
48791 configured by $0, generated by GNU Autoconf 2.59,
48792 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48794 Copyright (C) 2003 Free Software Foundation, Inc.
48795 This config.status script is free software; the Free Software Foundation
48796 gives unlimited permission to copy, distribute and modify it."
48801 cat >>$CONFIG_STATUS <<\_ACEOF
48802 # If no file are specified by the user, then we need to provide default
48803 # value. By we need to know if files were specified by the user.
48809 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48810 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48818 *) # This is not an option, so the user has probably given explicit
48821 ac_need_defaults
=false
;;
48825 # Handling of the options.
48827 cat >>$CONFIG_STATUS <<\_ACEOF
48828 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48830 --version | --vers* | -V )
48831 echo "$ac_cs_version"; exit 0 ;;
48833 # Conflict between --help and --header
48834 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48835 Try \`$0 --help' for more information." >&5
48836 echo "$as_me: error: ambiguous option: $1
48837 Try \`$0 --help' for more information." >&2;}
48838 { (exit 1); exit 1; }; };;
48839 --help | --hel | -h )
48840 echo "$ac_cs_usage"; exit 0 ;;
48841 --debug | --d* | -d )
48843 --file | --fil | --fi | --f )
48845 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48846 ac_need_defaults
=false
;;
48847 --header | --heade | --head | --hea )
48849 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48850 ac_need_defaults
=false
;;
48851 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48852 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48855 # This is an error.
48856 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48857 Try \`$0 --help' for more information." >&5
48858 echo "$as_me: error: unrecognized option: $1
48859 Try \`$0 --help' for more information." >&2;}
48860 { (exit 1); exit 1; }; } ;;
48862 *) ac_config_targets
="$ac_config_targets $1" ;;
48868 ac_configure_extra_args
=
48870 if $ac_cs_silent; then
48872 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48876 cat >>$CONFIG_STATUS <<_ACEOF
48877 if \$ac_cs_recheck; then
48878 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48879 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48884 cat >>$CONFIG_STATUS <<_ACEOF
48886 # INIT-COMMANDS section.
48891 infile="$srcdir/include/wx/msw/genrcdefs.h"
48892 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48895 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48896 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48897 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48905 cat >>$CONFIG_STATUS <<\_ACEOF
48906 for ac_config_target
in $ac_config_targets
48908 case "$ac_config_target" in
48909 # Handling of arguments.
48910 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48911 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48912 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48913 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48914 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48915 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48916 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48917 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48918 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48919 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48920 { (exit 1); exit 1; }; };;
48924 # If the user did not use the arguments to specify the items to instantiate,
48925 # then the envvar interface is used. Set only those that are not.
48926 # We use the long form for the default assignment because of an extremely
48927 # bizarre bug on SunOS 4.1.3.
48928 if $ac_need_defaults; then
48929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48930 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48931 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48934 # Have a temporary directory for convenience. Make it in the build tree
48935 # simply because there is no reason to put it here, and in addition,
48936 # creating and moving files from /tmp can sometimes cause problems.
48937 # Create a temporary directory, and hook for its removal unless debugging.
48940 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48941 trap '{ (exit 1); exit 1; }' 1 2 13 15
48944 # Create a (secure) tmp directory for tmp files.
48947 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48948 test -n "$tmp" && test -d "$tmp"
48951 tmp
=.
/confstat$$
-$RANDOM
48952 (umask 077 && mkdir $tmp)
48955 echo "$me: cannot create a temporary directory in ." >&2
48956 { (exit 1); exit 1; }
48961 cat >>$CONFIG_STATUS <<_ACEOF
48964 # CONFIG_FILES section.
48967 # No need to generate the scripts if there are no CONFIG_FILES.
48968 # This happens for instance when ./config.status config.h
48969 if test -n "\$CONFIG_FILES"; then
48970 # Protect against being on the right side of a sed subst in config.status.
48971 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48972 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48973 s,@SHELL@,$SHELL,;t t
48974 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48975 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48976 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48977 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48978 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48979 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48980 s,@exec_prefix@,$exec_prefix,;t t
48981 s,@prefix@,$prefix,;t t
48982 s,@program_transform_name@,$program_transform_name,;t t
48983 s,@bindir@,$bindir,;t t
48984 s,@sbindir@,$sbindir,;t t
48985 s,@libexecdir@,$libexecdir,;t t
48986 s,@datadir@,$datadir,;t t
48987 s,@sysconfdir@,$sysconfdir,;t t
48988 s,@sharedstatedir@,$sharedstatedir,;t t
48989 s,@localstatedir@,$localstatedir,;t t
48990 s,@libdir@,$libdir,;t t
48991 s,@includedir@,$includedir,;t t
48992 s,@oldincludedir@,$oldincludedir,;t t
48993 s,@infodir@,$infodir,;t t
48994 s,@mandir@,$mandir,;t t
48995 s,@build_alias@,$build_alias,;t t
48996 s,@host_alias@,$host_alias,;t t
48997 s,@target_alias@,$target_alias,;t t
48998 s,@DEFS@,$DEFS,;t t
48999 s,@ECHO_C@,$ECHO_C,;t t
49000 s,@ECHO_N@,$ECHO_N,;t t
49001 s,@ECHO_T@,$ECHO_T,;t t
49002 s,@LIBS@,$LIBS,;t t
49003 s,@build@,$build,;t t
49004 s,@build_cpu@,$build_cpu,;t t
49005 s,@build_vendor@,$build_vendor,;t t
49006 s,@build_os@,$build_os,;t t
49007 s,@host@,$host,;t t
49008 s,@host_cpu@,$host_cpu,;t t
49009 s,@host_vendor@,$host_vendor,;t t
49010 s,@host_os@,$host_os,;t t
49011 s,@target@,$target,;t t
49012 s,@target_cpu@,$target_cpu,;t t
49013 s,@target_vendor@,$target_vendor,;t t
49014 s,@target_os@,$target_os,;t t
49016 s,@CFLAGS@,$CFLAGS,;t t
49017 s,@LDFLAGS@,$LDFLAGS,;t t
49018 s,@CPPFLAGS@,$CPPFLAGS,;t t
49019 s,@ac_ct_CC@,$ac_ct_CC,;t t
49020 s,@EXEEXT@,$EXEEXT,;t t
49021 s,@OBJEXT@,$OBJEXT,;t t
49023 s,@EGREP@,$EGREP,;t t
49025 s,@CXXFLAGS@,$CXXFLAGS,;t t
49026 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49027 s,@RANLIB@,$RANLIB,;t t
49028 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49030 s,@ac_ct_AR@,$ac_ct_AR,;t t
49031 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49032 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49033 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49034 s,@STRIP@,$STRIP,;t t
49035 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49036 s,@WINDRES@,$WINDRES,;t t
49037 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49038 s,@DLLTOOL@,$DLLTOOL,;t t
49039 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49040 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49041 s,@LN_S@,$LN_S,;t t
49042 s,@CXXCPP@,$CXXCPP,;t t
49043 s,@subdirs@,$subdirs,;t t
49044 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49045 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49046 s,@GTK_LIBS@,$GTK_LIBS,;t t
49047 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49048 s,@X_CFLAGS@,$X_CFLAGS,;t t
49049 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49050 s,@X_LIBS@,$X_LIBS,;t t
49051 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49052 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49053 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49054 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49055 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49056 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49057 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49059 s,@DEREZ@,$DEREZ,;t t
49060 s,@SETFILE@,$SETFILE,;t t
49061 s,@LIBICONV@,$LIBICONV,;t t
49062 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49063 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49064 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49065 s,@SDL_LIBS@,$SDL_LIBS,;t t
49066 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49067 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49068 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49069 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49070 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49071 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49072 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49073 s,@GST_LIBS@,$GST_LIBS,;t t
49074 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49075 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49076 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49077 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49078 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49079 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49080 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49081 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49082 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49083 s,@VENDOR@,$VENDOR,;t t
49084 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49085 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49086 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49087 s,@WXUNIV@,$WXUNIV,;t t
49088 s,@MONOLITHIC@,$MONOLITHIC,;t t
49089 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49090 s,@EXTRALIBS@,$EXTRALIBS,;t t
49091 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49092 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49093 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49094 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49095 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49096 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49097 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49098 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49099 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49100 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49101 s,@UNICODE@,$UNICODE,;t t
49102 s,@BUILD@,$BUILD,;t t
49103 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49104 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49105 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49106 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49107 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49108 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49109 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49110 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49111 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49112 s,@SET_MAKE@,$SET_MAKE,;t t
49113 s,@MAKE_SET@,$MAKE_SET,;t t
49115 s,@ac_ct_NM@,$ac_ct_NM,;t t
49116 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49117 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49118 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49119 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49120 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49121 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49122 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49123 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49124 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49125 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49126 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49127 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49128 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49129 s,@LIBPREFIX@,$LIBPREFIX,;t t
49130 s,@LIBEXT@,$LIBEXT,;t t
49131 s,@DLLPREFIX@,$DLLPREFIX,;t t
49132 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49133 s,@dlldir@,$dlldir,;t t
49134 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49135 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49136 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49137 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49138 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49139 s,@PIC_FLAG@,$PIC_FLAG,;t t
49140 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49141 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49142 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49143 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49144 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49145 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49146 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49147 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49148 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49149 s,@GCC_PCH@,$GCC_PCH,;t t
49150 s,@ICC_PCH@,$ICC_PCH,;t t
49151 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49152 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49153 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49154 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49155 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49156 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49157 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49158 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49159 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49160 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49161 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49162 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49163 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49164 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49165 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49166 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49167 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49168 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49169 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49170 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
49171 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
49172 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
49173 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
49174 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49175 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49176 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49177 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49178 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
49179 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
49180 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
49181 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
49182 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49183 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49184 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49185 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49186 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49187 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49188 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49189 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49190 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49191 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49192 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49193 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49194 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49195 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49196 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49197 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49198 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49199 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
49200 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49201 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49202 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49203 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49204 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49205 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49206 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49207 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49208 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49209 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49210 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49211 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49212 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49213 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49214 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49215 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49216 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49217 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49218 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49219 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49220 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49221 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49222 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49223 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49224 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49225 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49226 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49227 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49228 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49229 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49230 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49231 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49232 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49233 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49234 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49235 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49236 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49237 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49238 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49239 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
49240 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49241 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49242 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49243 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49244 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49245 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49246 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49247 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49248 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49249 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49250 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49251 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49252 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49253 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49254 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49255 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49256 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49257 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49258 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49259 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49260 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49261 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49262 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49263 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49264 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49265 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49266 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49267 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49268 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49269 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49270 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49271 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49272 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49273 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49274 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49275 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49276 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49277 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49278 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49279 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49280 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49281 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49282 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49283 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49284 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49285 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49286 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49287 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49288 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49289 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49290 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49291 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49292 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49293 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49294 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49295 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49296 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49297 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49298 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49299 s,@SHARED@,$SHARED,;t t
49300 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49301 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49302 s,@USE_GUI@,$USE_GUI,;t t
49303 s,@AFMINSTALL@,$AFMINSTALL,;t t
49304 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49305 s,@TOOLKIT@,$TOOLKIT,;t t
49306 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49307 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49308 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49309 s,@cross_compiling@,$cross_compiling,;t t
49310 s,@WIDGET_SET@,$WIDGET_SET,;t t
49311 s,@WX_RELEASE@,$WX_RELEASE,;t t
49312 s,@WX_VERSION@,$WX_VERSION,;t t
49313 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49314 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49315 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49316 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49317 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49318 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49319 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49320 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49321 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49322 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49323 s,@EXE_LINKER@,$EXE_LINKER,;t t
49324 s,@GUIDIST@,$GUIDIST,;t t
49325 s,@DISTDIR@,$DISTDIR,;t t
49326 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49327 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49328 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49329 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49330 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49331 s,@RESCOMP@,$RESCOMP,;t t
49332 s,@RESFLAGS@,$RESFLAGS,;t t
49333 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49334 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49335 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49336 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49337 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49338 s,@MACSETFILE@,$MACSETFILE,;t t
49340 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49341 s,@LIBOBJS@,$LIBOBJS,;t t
49342 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49347 cat >>$CONFIG_STATUS <<\_ACEOF
49348 # Split the substitutions into bite-sized pieces for seds with
49349 # small command number limits, like on Digital OSF/1 and HP-UX.
49350 ac_max_sed_lines
=48
49351 ac_sed_frag
=1 # Number of current file.
49352 ac_beg
=1 # First line for current file.
49353 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49356 while $ac_more_lines; do
49357 if test $ac_beg -gt 1; then
49358 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49360 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49362 if test ! -s $tmp/subs.frag
; then
49363 ac_more_lines
=false
49365 # The purpose of the label and of the branching condition is to
49366 # speed up the sed processing (if there are no `@' at all, there
49367 # is no need to browse any of the substitutions).
49368 # These are the two extra sed commands mentioned above.
49370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49371 if test -z "$ac_sed_cmds"; then
49372 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49374 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49376 ac_sed_frag
=`expr $ac_sed_frag + 1`
49378 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49381 if test -z "$ac_sed_cmds"; then
49384 fi # test -n "$CONFIG_FILES"
49387 cat >>$CONFIG_STATUS <<\_ACEOF
49388 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49389 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49391 - | *:- | *:-:* ) # input from stdin
49393 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49394 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49395 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49396 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49397 * ) ac_file_in
=$ac_file.
in ;;
49400 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49401 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49403 X"$ac_file" : 'X\(//\)[^/]' \| \
49404 X"$ac_file" : 'X\(//\)$' \| \
49405 X"$ac_file" : 'X\(/\)' \| \
49406 . : '\(.\)' 2>/dev/null ||
49408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49410 /^X\(\/\/\)$/{ s//\1/; q; }
49411 /^X\(\/\).*/{ s//\1/; q; }
49413 { if $as_mkdir_p; then
49418 while test ! -d "$as_dir"; do
49419 as_dirs
="$as_dir $as_dirs"
49420 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49422 X"$as_dir" : 'X\(//\)[^/]' \| \
49423 X"$as_dir" : 'X\(//\)$' \| \
49424 X"$as_dir" : 'X\(/\)' \| \
49425 . : '\(.\)' 2>/dev/null ||
49427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49429 /^X\(\/\/\)$/{ s//\1/; q; }
49430 /^X\(\/\).*/{ s//\1/; q; }
49433 test ! -n "$as_dirs" || mkdir $as_dirs
49434 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49435 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49436 { (exit 1); exit 1; }; }; }
49440 if test "$ac_dir" != .
; then
49441 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49442 # A "../" for each directory in $ac_dir_suffix.
49443 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49445 ac_dir_suffix
= ac_top_builddir
=
49449 .
) # No --srcdir option. We are building in place.
49451 if test -z "$ac_top_builddir"; then
49454 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49456 [\\/]* | ?
:[\\/]* ) # Absolute path.
49457 ac_srcdir
=$srcdir$ac_dir_suffix;
49458 ac_top_srcdir
=$srcdir ;;
49459 *) # Relative path.
49460 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49461 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49464 # Do not use `cd foo && pwd` to compute absolute paths, because
49465 # the directories may not exist.
49467 .
) ac_abs_builddir
="$ac_dir";;
49470 .
) ac_abs_builddir
=`pwd`;;
49471 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49472 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49475 case $ac_abs_builddir in
49476 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49478 case ${ac_top_builddir}.
in
49479 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49480 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49481 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49484 case $ac_abs_builddir in
49485 .
) ac_abs_srcdir
=$ac_srcdir;;
49488 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49489 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49490 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49493 case $ac_abs_builddir in
49494 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49496 case $ac_top_srcdir in
49497 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49498 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49499 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49505 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49506 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49509 # Let's still pretend it is `configure' which instantiates (i.e., don't
49510 # use $as_me), people would be surprised to read:
49511 # /* config.h. Generated by config.status. */
49512 if test x
"$ac_file" = x
-; then
49515 configure_input
="$ac_file. "
49517 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49518 sed 's,.*/,,'` by configure."
49520 # First look for the input files in the build tree, otherwise in the
49522 ac_file_inputs
=`IFS=:
49523 for f in $ac_file_in; do
49525 -) echo $tmp/stdin ;;
49527 # Absolute (can't be DOS-style, as IFS=:)
49528 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49529 echo "$as_me: error: cannot find input file: $f" >&2;}
49530 { (exit 1); exit 1; }; }
49533 if test -f "$f"; then
49536 elif test -f "$srcdir/$f"; then
49541 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49542 echo "$as_me: error: cannot find input file: $f" >&2;}
49543 { (exit 1); exit 1; }; }
49546 done` || { (exit 1); exit 1; }
49548 if test x
"$ac_file" != x
-; then
49549 { echo "$as_me:$LINENO: creating $ac_file" >&5
49550 echo "$as_me: creating $ac_file" >&6;}
49554 cat >>$CONFIG_STATUS <<_ACEOF
49558 cat >>$CONFIG_STATUS <<\_ACEOF
49560 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49561 s
,@configure_input@
,$configure_input,;t t
49562 s
,@srcdir@
,$ac_srcdir,;t t
49563 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49564 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49565 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49566 s
,@builddir@
,$ac_builddir,;t t
49567 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49568 s
,@top_builddir@
,$ac_top_builddir,;t t
49569 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49570 s
,@INSTALL@
,$ac_INSTALL,;t t
49571 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49573 if test x"$ac_file" != x-; then
49574 mv $tmp/out $ac_file
49580 # Run the commands associated with the file.
49582 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49583 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49587 cat >>$CONFIG_STATUS <<\_ACEOF
49590 # CONFIG_HEADER section.
49593 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49594 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49596 # ac_d sets the value in "#define NAME VALUE" lines.
49597 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49598 ac_dB
='[ ].*$,\1#\2'
49601 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49602 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49603 ac_uB
='$,\1#\2define\3'
49607 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49608 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49610 - | *:- | *:-:* ) # input from stdin
49612 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49613 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49614 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49615 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49616 * ) ac_file_in
=$ac_file.
in ;;
49619 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49620 echo "$as_me: creating $ac_file" >&6;}
49622 # First look for the input files in the build tree, otherwise in the
49624 ac_file_inputs
=`IFS=:
49625 for f in $ac_file_in; do
49627 -) echo $tmp/stdin ;;
49629 # Absolute (can't be DOS-style, as IFS=:)
49630 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49631 echo "$as_me: error: cannot find input file: $f" >&2;}
49632 { (exit 1); exit 1; }; }
49633 # Do quote $f, to prevent DOS paths from being IFS'd.
49636 if test -f "$f"; then
49639 elif test -f "$srcdir/$f"; then
49644 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49645 echo "$as_me: error: cannot find input file: $f" >&2;}
49646 { (exit 1); exit 1; }; }
49649 done` || { (exit 1); exit 1; }
49650 # Remove the trailing spaces.
49651 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49655 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49656 # `conftest.undefs', that substitutes the proper values into
49657 # config.h.in to produce config.h. The first handles `#define'
49658 # templates, and the second `#undef' templates.
49659 # And first: Protect against being on the right side of a sed subst in
49660 # config.status. Protect against being in an unquoted here document
49661 # in config.status.
49662 rm -f conftest.defines conftest.undefs
49663 # Using a here document instead of a string reduces the quoting nightmare.
49664 # Putting comments in sed scripts is not portable.
49666 # `end' is used to avoid that the second main sed command (meant for
49667 # 0-ary CPP macros) applies to n-ary macro definitions.
49668 # See the Autoconf documentation for `clear'.
49669 cat >confdef2sed.
sed <<\_ACEOF
49674 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49676 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49679 # If some macros were called several times there might be several times
49680 # the same #defines, which is useless. Nevertheless, we may not want to
49681 # sort them, since we want the *last* AC-DEFINE to be honored.
49682 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49683 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49684 rm -f confdef2sed.sed
49686 # This sed command replaces #undef with comments. This is necessary, for
49687 # example, in the case of _POSIX_SOURCE, which is predefined and required
49688 # on some systems where configure will not decide to define it.
49689 cat >>conftest.undefs <<\_ACEOF
49690 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49693 # Break up conftest.defines because some shells have a limit on the size
49694 # of here documents, and old seds have small limits too (100 cmds).
49695 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49696 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49697 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49698 echo ' :' >>$CONFIG_STATUS
49699 rm -f conftest.tail
49700 while grep . conftest.defines >/dev/null
49702 # Write a limited-size here document to $tmp/defines.sed.
49703 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49704 # Speed up: don't consider the non `#define' lines.
49705 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49706 # Work around the forget-to-reset-the-flag bug.
49707 echo 't clr' >>$CONFIG_STATUS
49708 echo ': clr' >>$CONFIG_STATUS
49709 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49711 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49713 mv $tmp/out $tmp/in
49715 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49716 rm -f conftest.defines
49717 mv conftest.
tail conftest.defines
49719 rm -f conftest.defines
49720 echo ' fi # grep' >>$CONFIG_STATUS
49721 echo >>$CONFIG_STATUS
49723 # Break up conftest.undefs because some shells have a limit on the size
49724 # of here documents, and old seds have small limits too (100 cmds).
49725 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49726 rm -f conftest.
tail
49727 while grep . conftest.undefs
>/dev
/null
49729 # Write a limited-size here document to $tmp/undefs.sed.
49730 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49731 # Speed up: don't consider the non
`#undef'
49732 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49733 # Work around the forget-to-reset-the-flag bug.
49734 echo 't clr' >>$CONFIG_STATUS
49735 echo ': clr' >>$CONFIG_STATUS
49736 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49738 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49740 mv $tmp/out $tmp/in
49742 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49743 rm -f conftest.undefs
49744 mv conftest.tail conftest.undefs
49746 rm -f conftest.undefs
49748 cat >>$CONFIG_STATUS <<\_ACEOF
49749 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49750 # use $as_me), people would be surprised to read:
49751 # /* config.h. Generated by config.status. */
49752 if test x
"$ac_file" = x
-; then
49753 echo "/* Generated by configure. */" >$tmp/config.h
49755 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49757 cat $tmp/in >>$tmp/config.h
49759 if test x
"$ac_file" != x
-; then
49760 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49761 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49762 echo "$as_me: $ac_file is unchanged" >&6;}
49764 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49766 X"$ac_file" : 'X\(//\)[^/]' \| \
49767 X"$ac_file" : 'X\(//\)$' \| \
49768 X"$ac_file" : 'X\(/\)' \| \
49769 . : '\(.\)' 2>/dev/null ||
49771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49772 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49773 /^X\(\/\/\)$/{ s//\1/; q; }
49774 /^X\(\/\).*/{ s//\1/; q; }
49776 { if $as_mkdir_p; then
49781 while test ! -d "$as_dir"; do
49782 as_dirs
="$as_dir $as_dirs"
49783 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49785 X"$as_dir" : 'X\(//\)[^/]' \| \
49786 X"$as_dir" : 'X\(//\)$' \| \
49787 X"$as_dir" : 'X\(/\)' \| \
49788 . : '\(.\)' 2>/dev/null ||
49790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49792 /^X\(\/\/\)$/{ s//\1/; q; }
49793 /^X\(\/\).*/{ s//\1/; q; }
49796 test ! -n "$as_dirs" || mkdir $as_dirs
49797 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49798 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49799 { (exit 1); exit 1; }; }; }
49802 mv $tmp/config.h
$ac_file
49806 rm -f $tmp/config.h
49810 cat >>$CONFIG_STATUS <<\_ACEOF
49813 # CONFIG_COMMANDS section.
49815 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49816 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49817 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49818 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49819 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49820 X"$ac_dest" : 'X\(//\)[^/]' \| \
49821 X"$ac_dest" : 'X\(//\)$' \| \
49822 X"$ac_dest" : 'X\(/\)' \| \
49823 . : '\(.\)' 2>/dev/null ||
49825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49826 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49827 /^X\(\/\/\)$/{ s//\1/; q; }
49828 /^X\(\/\).*/{ s//\1/; q; }
49830 { if $as_mkdir_p; then
49835 while test ! -d "$as_dir"; do
49836 as_dirs
="$as_dir $as_dirs"
49837 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49839 X"$as_dir" : 'X\(//\)[^/]' \| \
49840 X"$as_dir" : 'X\(//\)$' \| \
49841 X"$as_dir" : 'X\(/\)' \| \
49842 . : '\(.\)' 2>/dev/null ||
49844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49846 /^X\(\/\/\)$/{ s//\1/; q; }
49847 /^X\(\/\).*/{ s//\1/; q; }
49850 test ! -n "$as_dirs" || mkdir $as_dirs
49851 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49853 { (exit 1); exit 1; }; }; }
49857 if test "$ac_dir" != .
; then
49858 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49859 # A "../" for each directory in $ac_dir_suffix.
49860 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49862 ac_dir_suffix
= ac_top_builddir
=
49866 .
) # No --srcdir option. We are building in place.
49868 if test -z "$ac_top_builddir"; then
49871 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49873 [\\/]* | ?
:[\\/]* ) # Absolute path.
49874 ac_srcdir
=$srcdir$ac_dir_suffix;
49875 ac_top_srcdir
=$srcdir ;;
49876 *) # Relative path.
49877 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49878 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49881 # Do not use `cd foo && pwd` to compute absolute paths, because
49882 # the directories may not exist.
49884 .
) ac_abs_builddir
="$ac_dir";;
49887 .
) ac_abs_builddir
=`pwd`;;
49888 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49889 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49892 case $ac_abs_builddir in
49893 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49895 case ${ac_top_builddir}.
in
49896 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49897 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49898 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49901 case $ac_abs_builddir in
49902 .
) ac_abs_srcdir
=$ac_srcdir;;
49905 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49906 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49907 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49910 case $ac_abs_builddir in
49911 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49913 case $ac_top_srcdir in
49914 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49915 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49916 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49921 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49922 echo "$as_me: executing $ac_dest commands" >&6;}
49925 mkdir -p $outdir &&
49926 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49928 wx
-config ) rm -f wx
-config
49929 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49935 cat >>$CONFIG_STATUS <<\_ACEOF
49937 { (exit 0); exit 0; }
49939 chmod +x
$CONFIG_STATUS
49940 ac_clean_files
=$ac_clean_files_save
49943 # configure is writing to config.log, and then calls config.status.
49944 # config.status does its own redirection, appending to config.log.
49945 # Unfortunately, on DOS this fails, as config.log is still kept open
49946 # by configure, so config.status won't be able to write to it; its
49947 # output is simply discarded. So we exec the FD to /dev/null,
49948 # effectively closing config.log, so it can be properly (re)opened and
49949 # appended to by config.status. When coming back to configure, we
49950 # need to make the FD available again.
49951 if test "$no_create" != yes; then
49953 ac_config_status_args
=
49954 test "$silent" = yes &&
49955 ac_config_status_args
="$ac_config_status_args --quiet"
49957 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49959 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49960 # would make configure fail if this is the last instruction.
49961 $ac_cs_success || { (exit 1); exit 1; }
49965 # CONFIG_SUBDIRS section.
49967 if test "$no_recursion" != yes; then
49969 # Remove --cache-file and --srcdir arguments so they do not pile up.
49970 ac_sub_configure_args
=
49972 for ac_arg
in $ac_configure_args; do
49973 if test -n "$ac_prev"; then
49978 -cache-file | --cache-file | --cache-fil | --cache-fi \
49979 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49980 ac_prev
=cache_file
;;
49981 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49982 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49985 --config-cache | -C)
49987 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49989 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
49993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
49995 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
49999 # Always prepend --prefix to ensure using the same prefix
50000 # in subdir configurations.
50001 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50004 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50006 # Do not complain, so a configure script can configure whichever
50007 # parts of a large source tree are present.
50008 test -d $srcdir/$ac_dir || continue
50010 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50011 echo "$as_me: configuring in $ac_dir" >&6;}
50012 { if $as_mkdir_p; then
50017 while test ! -d "$as_dir"; do
50018 as_dirs
="$as_dir $as_dirs"
50019 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50021 X"$as_dir" : 'X\(//\)[^/]' \| \
50022 X"$as_dir" : 'X\(//\)$' \| \
50023 X"$as_dir" : 'X\(/\)' \| \
50024 . : '\(.\)' 2>/dev/null ||
50026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50028 /^X\(\/\/\)$/{ s//\1/; q; }
50029 /^X\(\/\).*/{ s//\1/; q; }
50032 test ! -n "$as_dirs" || mkdir $as_dirs
50033 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50034 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50035 { (exit 1); exit 1; }; }; }
50039 if test "$ac_dir" != .
; then
50040 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50041 # A "../" for each directory in $ac_dir_suffix.
50042 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50044 ac_dir_suffix
= ac_top_builddir
=
50048 .
) # No --srcdir option. We are building in place.
50050 if test -z "$ac_top_builddir"; then
50053 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50055 [\\/]* | ?
:[\\/]* ) # Absolute path.
50056 ac_srcdir
=$srcdir$ac_dir_suffix;
50057 ac_top_srcdir
=$srcdir ;;
50058 *) # Relative path.
50059 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50060 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50063 # Do not use `cd foo && pwd` to compute absolute paths, because
50064 # the directories may not exist.
50066 .
) ac_abs_builddir
="$ac_dir";;
50069 .
) ac_abs_builddir
=`pwd`;;
50070 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50071 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50074 case $ac_abs_builddir in
50075 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50077 case ${ac_top_builddir}.
in
50078 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50079 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50080 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50083 case $ac_abs_builddir in
50084 .
) ac_abs_srcdir
=$ac_srcdir;;
50087 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50088 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50089 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50092 case $ac_abs_builddir in
50093 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50095 case $ac_top_srcdir in
50096 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50097 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50098 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50105 # Check for guested configure; otherwise get Cygnus style configure.
50106 if test -f $ac_srcdir/configure.gnu
; then
50107 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50108 elif test -f $ac_srcdir/configure
; then
50109 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50110 elif test -f $ac_srcdir/configure.
in; then
50111 ac_sub_configure
=$ac_configure
50113 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50118 # The recursion is here.
50119 if test -n "$ac_sub_configure"; then
50120 # Make the cache file name correct relative to the subdirectory.
50121 case $cache_file in
50122 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50123 *) # Relative path.
50124 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50127 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50128 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50129 # The eval makes quoting arguments work.
50130 eval $ac_sub_configure $ac_sub_configure_args \
50131 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50132 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50133 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50134 { (exit 1); exit 1; }; }
50143 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50145 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50146 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50148 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50149 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50150 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50152 echo " What level of wxWidgets compatibility should be enabled?"
50153 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50154 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50156 echo " Which libraries should wxWidgets use?"
50157 echo " jpeg ${wxUSE_LIBJPEG-none}"
50158 echo " png ${wxUSE_LIBPNG-none}"
50159 echo " regex ${wxUSE_REGEX}"
50160 echo " tiff ${wxUSE_LIBTIFF-none}"
50161 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50162 echo " xpm ${wxUSE_LIBXPM-none}"
50164 echo " zlib ${wxUSE_ZLIB}"
50165 echo " odbc ${wxUSE_ODBC}"
50166 echo " expat ${wxUSE_EXPAT}"
50167 echo " libmspack ${wxUSE_LIBMSPACK}"
50168 echo " sdl ${wxUSE_LIBSDL}"
50169 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50170 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50171 echo " hildon ${wxUSE_LIBHILDON-none}"