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-datepick use wxDatePickerCtrl class
983 --enable-display use wxDisplay class
984 --enable-gauge use wxGauge class
985 --enable-grid use wxGrid class
986 --enable-dataviewctrl, use wxDataViewCtrl class
987 --enable-imaglist use wxImageList class
988 --enable-listbook use wxListbook class
989 --enable-listbox use wxListBox class
990 --enable-listctrl use wxListCtrl class
991 --enable-notebook use wxNotebook class
992 --enable-radiobox use wxRadioBox class
993 --enable-radiobtn use wxRadioButton class
994 --enable-sash use wxSashWindow class
995 --enable-scrollbar use wxScrollBar class and scrollable windows
996 --enable-slider use wxSlider class
997 --enable-spinbtn use wxSpinButton class
998 --enable-spinctrl use wxSpinCtrl class
999 --enable-splitter use wxSplitterWindow class
1000 --enable-statbmp use wxStaticBitmap class
1001 --enable-statbox use wxStaticBox class
1002 --enable-statline use wxStaticLine class
1003 --enable-stattext use wxStaticText class
1004 --enable-statusbar use wxStatusBar class
1005 --enable-tabdialog use wxTabControl class
1006 --enable-textctrl use wxTextCtrl class
1007 --enable-togglebtn use wxToggleButton class
1008 --enable-toolbar use wxToolBar class
1009 --enable-tbarnative use native wxToolBar class
1010 --enable-tbarsmpl use wxToolBarSimple class
1011 --enable-treebook use wxTreebook class
1012 --enable-toolbook use wxToolbook class
1013 --enable-treectrl use wxTreeCtrl class
1014 --enable-tipwindow use wxTipWindow class
1015 --enable-popupwin use wxPopUpWindow class
1016 --enable-commondlg use all common dialogs
1017 --enable-choicedlg use wxChoiceDialog
1018 --enable-coldlg use wxColourDialog
1019 --enable-filedlg use wxFileDialog
1020 --enable-finddlg use wxFindReplaceDialog
1021 --enable-fontdlg use wxFontDialog
1022 --enable-dirdlg use wxDirDialog
1023 --enable-msgdlg use wxMessageDialog
1024 --enable-numberdlg use wxNumberEntryDialog
1025 --enable-splash use wxSplashScreen
1026 --enable-textdlg use wxTextDialog
1027 --enable-tipdlg use startup tips
1028 --enable-progressdlg use wxProgressDialog
1029 --enable-wizarddlg use wxWizard
1030 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1031 --enable-miniframe use wxMiniFrame class
1032 --enable-tooltips use wxToolTip class
1033 --enable-splines use spline drawing code
1034 --enable-mousewheel use mousewheel
1035 --enable-validators use wxValidator and derived classes
1036 --enable-busyinfo use wxBusyInfo
1037 --enable-joystick use wxJoystick
1038 --enable-metafiles use wxMetaFile
(Win32 only
)
1039 --enable-dragimage use wxDragImage
1040 --enable-accessibility enable accessibility support
1041 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1042 --enable-palette use wxPalette class
1043 --enable-image use wxImage class
1044 --enable-gif use gif images
(GIF
file format
)
1045 --enable-pcx use pcx images
(PCX
file format
)
1046 --enable-iff use iff images
(IFF
file format
)
1047 --enable-pnm use pnm images
(PNM
file format
)
1048 --enable-xpm use xpm images
(XPM
file format
)
1049 --enable-icocur use Windows ICO and CUR formats
1050 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1051 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1052 --disable-largefile omit support
for large files
1053 --disable-gtktest do not try to compile and run a
test GTK
+ program
1054 --disable-gtktest Do not try to compile and run a
test GTK program
1055 --disable-sdltest Do not try to compile and run a
test SDL program
1056 --enable-omf use OMF object format
(OS
/2)
1057 --disable-dependency-tracking
1058 don
't use dependency tracking even if the compiler
1060 --disable-precomp-headers
1061 don't use precompiled headers even
if compiler can
1064 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1065 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1066 --without-subdirs don
't generate makefiles for samples/demos/...
1067 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1068 --with-motif use Motif/Lesstif
1069 --with-mac use Mac OS X
1070 --with-cocoa use Cocoa
1071 --with-wine use Wine
1072 --with-msw use MS-Windows
1073 --with-pm use OS/2 Presentation Manager
1074 --with-mgl use SciTech MGL
1075 --with-microwin use MicroWindows
1077 --with-libpng use libpng (PNG image format)
1078 --with-libjpeg use libjpeg (JPEG file format)
1079 --with-libtiff use libtiff (TIFF file format)
1080 --with-libxpm use libxpm (XPM file format)
1081 --with-libmspack use libmspack (CHM help files loading)
1082 --with-sdl use SDL for audio on Unix
1083 --with-gnomeprint use GNOME print for printing under GNOME
1084 --with-gnomevfs use GNOME VFS for associating MIME types
1085 --with-hildon use Hildon framework for Nokia 770
1086 --with-opengl use OpenGL (or Mesa)
1087 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1088 --with-regex enable support for wxRegEx class
1089 --with-zlib use zlib for LZW compression
1090 --with-odbc use the IODBC and wxODBC classes
1091 --with-expat enable XML support using expat parser
1092 --with-flavour=NAME specify a name to identify this build
1093 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1094 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1095 --with-x use the X Window System
1096 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1097 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1098 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1099 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1100 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1102 Some influential environment variables:
1103 CC C compiler command
1104 CFLAGS C compiler flags
1105 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1106 nonstandard directory <lib dir>
1107 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1108 headers in a nonstandard directory <include dir>
1110 CXX C++ compiler command
1111 CXXFLAGS C++ compiler flags
1112 CXXCPP C++ preprocessor
1114 Use these variables to override the choices made by `configure' or to
help
1115 it to
find libraries and programs with nonstandard names
/locations.
1117 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1121 if test "$ac_init_help" = "recursive"; then
1122 # If there are subdirs, report their specific --help.
1124 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1125 test -d $ac_dir || continue
1128 if test "$ac_dir" != .
; then
1129 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1130 # A "../" for each directory in $ac_dir_suffix.
1131 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1133 ac_dir_suffix
= ac_top_builddir
=
1137 .
) # No --srcdir option. We are building in place.
1139 if test -z "$ac_top_builddir"; then
1142 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1144 [\\/]* | ?
:[\\/]* ) # Absolute path.
1145 ac_srcdir
=$srcdir$ac_dir_suffix;
1146 ac_top_srcdir
=$srcdir ;;
1148 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1149 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1152 # Do not use `cd foo && pwd` to compute absolute paths, because
1153 # the directories may not exist.
1155 .
) ac_abs_builddir
="$ac_dir";;
1158 .
) ac_abs_builddir
=`pwd`;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1160 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1163 case $ac_abs_builddir in
1164 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1166 case ${ac_top_builddir}.
in
1167 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1168 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1169 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1172 case $ac_abs_builddir in
1173 .
) ac_abs_srcdir
=$ac_srcdir;;
1176 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1177 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1178 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1181 case $ac_abs_builddir in
1182 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1184 case $ac_top_srcdir in
1185 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1186 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1187 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1192 # Check for guested configure; otherwise get Cygnus style configure.
1193 if test -f $ac_srcdir/configure.gnu
; then
1195 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1196 elif test -f $ac_srcdir/configure
; then
1198 $SHELL $ac_srcdir/configure
--help=recursive
1199 elif test -f $ac_srcdir/configure.ac
||
1200 test -f $ac_srcdir/configure.
in; then
1202 $ac_configure --help
1204 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1210 test -n "$ac_init_help" && exit 0
1211 if $ac_init_version; then
1213 wxWidgets configure
2.7.0
1214 generated by GNU Autoconf
2.59
1216 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1217 This configure
script is free software
; the Free Software Foundation
1218 gives unlimited permission to copy
, distribute and modify it.
1224 This file contains any messages produced by compilers while
1225 running configure, to aid debugging if configure makes a mistake.
1227 It was created by wxWidgets $as_me 2.7.0, which was
1228 generated by GNU Autoconf 2.59. Invocation command line was
1239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1251 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1262 test -z "$as_dir" && as_dir
=.
1263 echo "PATH: $as_dir"
1278 # Keep a trace of the command line.
1279 # Strip out --no-create and --no-recursion so they do not pile up.
1280 # Strip out --silent because we don't want to record it for future runs.
1281 # Also quote any args containing shell meta-characters.
1282 # Make two passes to allow for proper duplicate-argument suppression.
1287 ac_must_keep_next
=false
1293 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295 | -silent | --silent | --silen | --sile | --sil)
1297 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1298 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1301 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1303 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1304 if test $ac_must_keep_next = true
; then
1305 ac_must_keep_next
=false
# Got value, back to normal.
1308 *=* | --config-cache | -C | -disable-* | --disable-* \
1309 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1310 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1311 | -with-* | --with-* | -without-* | --without-* | --x)
1312 case "$ac_configure_args0 " in
1313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1316 -* ) ac_must_keep_next
=true
;;
1319 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1320 # Get rid of the leading space.
1326 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1327 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1329 # When interrupted or exit'd, cleanup temporary files, and complete
1330 # config.log. We remove comments because anyway the quotes in there
1331 # would cause problems or look ugly.
1332 # WARNING: Be sure not to use single quotes in there, as some shells,
1333 # such as our DU 5.0 friend, will then `close' the trap.
1334 trap 'exit_status=$?
1335 # Save into config.log some information that might help in debugging.
1340 ## ---------------- ##
1341 ## Cache variables. ##
1342 ## ---------------- ##
1345 # The following way of writing the cache mishandles newlines in values,
1348 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1351 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1356 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1363 ## ----------------- ##
1364 ## Output variables. ##
1365 ## ----------------- ##
1368 for ac_var in $ac_subst_vars
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -n "$ac_subst_files"; then
1382 for ac_var in $ac_subst_files
1384 eval ac_val=$`echo $ac_var`
1385 echo "$ac_var='"'"'$ac_val'"'"'"
1390 if test -s confdefs.h; then
1397 sed "/^$/d" confdefs.h | sort
1400 test "$ac_signal" != 0 &&
1401 echo "$as_me: caught signal $ac_signal"
1402 echo "$as_me: exit $exit_status"
1404 rm -f core *.core &&
1405 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1408 for ac_signal
in 1 2 13 15; do
1409 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1414 rm -rf conftest
* confdefs.h
1415 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1418 # Predefined preprocessor variables.
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_NAME "$PACKAGE_NAME"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1430 cat >>confdefs.h
<<_ACEOF
1431 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1435 cat >>confdefs.h
<<_ACEOF
1436 #define PACKAGE_STRING "$PACKAGE_STRING"
1440 cat >>confdefs.h
<<_ACEOF
1441 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1445 # Let the site file select an alternate cache file if it wants to.
1446 # Prefer explicitly selected file to automatically selected ones.
1447 if test -z "$CONFIG_SITE"; then
1448 if test "x$prefix" != xNONE
; then
1449 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1451 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1454 for ac_site_file
in $CONFIG_SITE; do
1455 if test -r "$ac_site_file"; then
1456 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1457 echo "$as_me: loading site script $ac_site_file" >&6;}
1458 sed 's/^/| /' "$ac_site_file" >&5
1463 if test -r "$cache_file"; then
1464 # Some versions of bash will fail to source /dev/null (special
1465 # files actually), so we avoid doing that.
1466 if test -f "$cache_file"; then
1467 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1468 echo "$as_me: loading cache $cache_file" >&6;}
1470 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1471 *) . .
/$cache_file;;
1475 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1476 echo "$as_me: creating cache $cache_file" >&6;}
1480 # Check that the precious variables saved in the cache have kept the same
1482 ac_cache_corrupted
=false
1483 for ac_var
in `(set) 2>&1 |
1484 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1485 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1486 eval ac_new_set
=\
$ac_env_${ac_var}_set
1487 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1488 eval ac_new_val
="\$ac_env_${ac_var}_value"
1489 case $ac_old_set,$ac_new_set in
1491 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1492 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1493 ac_cache_corrupted
=: ;;
1495 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1496 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1497 ac_cache_corrupted
=: ;;
1500 if test "x$ac_old_val" != "x$ac_new_val"; then
1501 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1502 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1503 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1504 echo "$as_me: former value: $ac_old_val" >&2;}
1505 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1506 echo "$as_me: current value: $ac_new_val" >&2;}
1507 ac_cache_corrupted
=:
1510 # Pass precious variables to config.status.
1511 if test "$ac_new_set" = set; then
1513 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1514 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 *) ac_arg
=$ac_var=$ac_new_val ;;
1517 case " $ac_configure_args " in
1518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1519 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1523 if $ac_cache_corrupted; then
1524 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1525 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1526 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1527 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1528 { (exit 1); exit 1; }; }
1532 ac_cpp
='$CPP $CPPFLAGS'
1533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1567 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1568 if test -f $ac_dir/install-sh; then
1570 ac_install_sh
="$ac_aux_dir/install-sh -c"
1572 elif test -f $ac_dir/install.sh
; then
1574 ac_install_sh
="$ac_aux_dir/install.sh -c"
1576 elif test -f $ac_dir/shtool
; then
1578 ac_install_sh
="$ac_aux_dir/shtool install -c"
1582 if test -z "$ac_aux_dir"; then
1583 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1584 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1585 { (exit 1); exit 1; }; }
1587 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1588 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1589 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1591 # Make sure we can run config.sub.
1592 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1593 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1594 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1595 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: checking build system type" >&5
1598 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1599 if test "${ac_cv_build+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_build_alias
=$build_alias
1603 test -z "$ac_cv_build_alias" &&
1604 ac_cv_build_alias
=`$ac_config_guess`
1605 test -z "$ac_cv_build_alias" &&
1606 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1607 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1608 { (exit 1); exit 1; }; }
1609 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1616 echo "${ECHO_T}$ac_cv_build" >&6
1618 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking host system type" >&5
1624 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1625 if test "${ac_cv_host+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_host_alias
=$host_alias
1629 test -z "$ac_cv_host_alias" &&
1630 ac_cv_host_alias
=$ac_cv_build_alias
1631 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1638 echo "${ECHO_T}$ac_cv_host" >&6
1640 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 echo "$as_me:$LINENO: checking target system type" >&5
1646 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1647 if test "${ac_cv_target+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 ac_cv_target_alias
=$target_alias
1651 test "x$ac_cv_target_alias" = "x" &&
1652 ac_cv_target_alias
=$ac_cv_host_alias
1653 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1660 echo "${ECHO_T}$ac_cv_target" >&6
1661 target
=$ac_cv_target
1662 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 # The aliases save the names the user supplied, while $host etc.
1668 # will get canonicalized.
1669 test -n "$target_alias" &&
1670 test "$program_prefix$program_suffix$program_transform_name" = \
1672 program_prefix
=${target_alias}-
1676 wx_major_version_number
=2
1677 wx_minor_version_number
=7
1679 wx_subrelease_number
=0
1681 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1682 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1683 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1685 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1698 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1704 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1710 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1712 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1714 DEFAULT_wxUSE_COCOA
=0
1718 DEFAULT_wxUSE_MICROWIN
=0
1719 DEFAULT_wxUSE_MOTIF
=0
1724 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1725 DEFAULT_DEFAULT_wxUSE_GTK
=0
1726 DEFAULT_DEFAULT_wxUSE_MAC
=0
1727 DEFAULT_DEFAULT_wxUSE_MGL
=0
1728 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1729 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1730 DEFAULT_DEFAULT_wxUSE_MSW
=0
1731 DEFAULT_DEFAULT_wxUSE_PM
=0
1732 DEFAULT_DEFAULT_wxUSE_X11
=0
1737 SAMPLES_RPATH_POSTLINK
=
1739 DEFAULT_STD_FLAG
=yes
1744 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1745 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1747 cat >>confdefs.h
<<\_ACEOF
1752 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1756 cat >>confdefs.h
<<\_ACEOF
1761 if test "x$TMP" = "xalpha"; then
1763 cat >>confdefs.h
<<\_ACEOF
1768 DEFAULT_DEFAULT_wxUSE_GTK
=1
1770 *-*-gnu* | *-*-k*bsd
*-gnu )
1773 if test "x$TMP" = "xalpha"; then
1775 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_GTK
=1
1782 *-*-irix5* | *-*-irix6* )
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1804 #define __SOLARIS__ 1
1807 cat >>confdefs.h
<<\_ACEOF
1811 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1818 cat >>confdefs.h
<<\_ACEOF
1822 cat >>confdefs.h
<<\_ACEOF
1826 cat >>confdefs.h
<<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1835 cat >>confdefs.h
<<\_ACEOF
1836 #define __FREEBSD__ 1
1839 cat >>confdefs.h
<<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_GTK
=1
1848 cat >>confdefs.h
<<\_ACEOF
1849 #define __OPENBSD__ 1
1852 cat >>confdefs.h
<<\_ACEOF
1856 DEFAULT_DEFAULT_wxUSE_GTK
=1
1861 cat >>confdefs.h
<<\_ACEOF
1862 #define __NETBSD__ 1
1865 cat >>confdefs.h
<<\_ACEOF
1869 DEFAULT_DEFAULT_wxUSE_GTK
=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1877 cat >>confdefs.h
<<\_ACEOF
1881 cat >>confdefs.h
<<\_ACEOF
1885 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1891 cat >>confdefs.h
<<\_ACEOF
1895 cat >>confdefs.h
<<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 cat >>confdefs.h
<<\_ACEOF
1923 cat >>confdefs.h
<<\_ACEOF
1927 cat >>confdefs.h
<<\_ACEOF
1931 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1938 cat >>confdefs.h
<<\_ACEOF
1939 #define __UNIXWARE__ 1
1944 *-*-cygwin* | *-*-mingw32* )
1947 DEFAULT_DEFAULT_wxUSE_MSW
=1
1954 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_MGL
=1
1962 *-pc-os2_emx | *-pc-os2-emx )
1963 cat >>confdefs.h
<<\_ACEOF
1968 cat >>confdefs.h
<<\_ACEOF
1973 DEFAULT_DEFAULT_wxUSE_PM
=1
1975 LDFLAGS
="$LDFLAGS -Zcrtdll"
1976 ac_executable_extensions
=".exe"
1977 export ac_executable_extensions
1981 for ac_dir
in $PATH; do
1983 if test -z "$ac_TEMP_PATH"; then
1984 ac_TEMP_PATH
="$ac_dir"
1986 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1989 export PATH
="$ac_TEMP_PATH"
1998 cat >>confdefs.h
<<\_ACEOF
2002 cat >>confdefs.h
<<\_ACEOF
2003 #define __DARWIN__ 1
2006 cat >>confdefs.h
<<\_ACEOF
2007 #define TARGET_CARBON 1
2010 DEFAULT_DEFAULT_wxUSE_MAC
=1
2013 powerpc
-apple-macos* )
2015 ac_cv_c_bigendian
=yes
2017 DEFAULT_DEFAULT_wxUSE_MAC
=1
2023 cat >>confdefs.h
<<\_ACEOF
2030 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2031 echo "$as_me: error: unknown system type ${host}." >&2;}
2032 { (exit 1); exit 1; }; }
2038 wx_arg_cache_file
="configarg.cache"
2039 echo "loading argument cache $wx_arg_cache_file"
2040 rm -f ${wx_arg_cache_file}.tmp
2041 touch ${wx_arg_cache_file}.tmp
2042 touch ${wx_arg_cache_file}
2046 if test $DEBUG_CONFIGURE = 1; then
2047 DEFAULT_wxUSE_UNIVERSAL
=no
2048 DEFAULT_wxUSE_STL
=no
2050 DEFAULT_wxUSE_NANOX
=no
2052 DEFAULT_wxUSE_THREADS
=yes
2054 DEFAULT_wxUSE_SHARED
=yes
2055 DEFAULT_wxUSE_OPTIMISE
=no
2056 DEFAULT_wxUSE_PROFILE
=no
2057 DEFAULT_wxUSE_NO_DEPS
=no
2058 DEFAULT_wxUSE_NO_RTTI
=no
2059 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2060 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2061 DEFAULT_wxUSE_RPATH
=yes
2062 DEFAULT_wxUSE_PERMISSIVE
=no
2063 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2064 DEFAULT_wxUSE_DEBUG_INFO
=yes
2065 DEFAULT_wxUSE_DEBUG_GDB
=yes
2066 DEFAULT_wxUSE_MEM_TRACING
=no
2067 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2068 DEFAULT_wxUSE_DMALLOC
=no
2069 DEFAULT_wxUSE_APPLE_IEEE
=no
2071 DEFAULT_wxUSE_EXCEPTIONS
=no
2072 DEFAULT_wxUSE_LOG
=yes
2073 DEFAULT_wxUSE_LOGWINDOW
=no
2074 DEFAULT_wxUSE_LOGGUI
=no
2075 DEFAULT_wxUSE_LOGDIALOG
=no
2077 DEFAULT_wxUSE_GUI
=yes
2078 DEFAULT_wxUSE_CONTROLS
=no
2080 DEFAULT_wxUSE_REGEX
=no
2081 DEFAULT_wxUSE_XML
=no
2082 DEFAULT_wxUSE_EXPAT
=no
2083 DEFAULT_wxUSE_ZLIB
=no
2084 DEFAULT_wxUSE_LIBPNG
=no
2085 DEFAULT_wxUSE_LIBJPEG
=no
2086 DEFAULT_wxUSE_LIBTIFF
=no
2087 DEFAULT_wxUSE_LIBXPM
=no
2088 DEFAULT_wxUSE_LIBMSPACK
=no
2089 DEFAULT_wxUSE_LIBSDL
=no
2090 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2091 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2092 DEFAULT_wxUSE_LIBHILDON
=no
2093 DEFAULT_wxUSE_ODBC
=no
2094 DEFAULT_wxUSE_OPENGL
=no
2096 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2097 DEFAULT_wxUSE_STACKWALKER
=no
2098 DEFAULT_wxUSE_DEBUGREPORT
=no
2099 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2100 DEFAULT_wxUSE_STD_IOSTREAM
=no
2101 DEFAULT_wxUSE_STD_STRING
=no
2102 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2103 DEFAULT_wxUSE_DATETIME
=no
2104 DEFAULT_wxUSE_TIMER
=no
2105 DEFAULT_wxUSE_STOPWATCH
=no
2106 DEFAULT_wxUSE_FILE
=no
2107 DEFAULT_wxUSE_FFILE
=no
2108 DEFAULT_wxUSE_STDPATHS
=no
2109 DEFAULT_wxUSE_TEXTBUFFER
=no
2110 DEFAULT_wxUSE_TEXTFILE
=no
2111 DEFAULT_wxUSE_SOUND
=no
2112 DEFAULT_wxUSE_MEDIACTRL
=no
2113 DEFAULT_wxUSE_GSTREAMER8
=no
2114 DEFAULT_wxUSE_INTL
=no
2115 DEFAULT_wxUSE_CONFIG
=no
2116 DEFAULT_wxUSE_FONTMAP
=no
2117 DEFAULT_wxUSE_STREAMS
=no
2118 DEFAULT_wxUSE_SOCKETS
=no
2119 DEFAULT_wxUSE_OLE
=no
2120 DEFAULT_wxUSE_DATAOBJ
=no
2121 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2122 DEFAULT_wxUSE_JOYSTICK
=no
2123 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2124 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2125 DEFAULT_wxUSE_LONGLONG
=no
2126 DEFAULT_wxUSE_GEOMETRY
=no
2128 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2129 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2130 DEFAULT_wxUSE_POSTSCRIPT
=no
2132 DEFAULT_wxUSE_CLIPBOARD
=no
2133 DEFAULT_wxUSE_TOOLTIPS
=no
2134 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2135 DEFAULT_wxUSE_DRAGIMAGE
=no
2136 DEFAULT_wxUSE_SPLINES
=no
2137 DEFAULT_wxUSE_MOUSEWHEEL
=no
2139 DEFAULT_wxUSE_MDI
=no
2140 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2141 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2142 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2144 DEFAULT_wxUSE_RESOURCES
=no
2145 DEFAULT_wxUSE_CONSTRAINTS
=no
2146 DEFAULT_wxUSE_IPC
=no
2147 DEFAULT_wxUSE_HELP
=no
2148 DEFAULT_wxUSE_MS_HTML_HELP
=no
2149 DEFAULT_wxUSE_WXHTML_HELP
=no
2150 DEFAULT_wxUSE_TREELAYOUT
=no
2151 DEFAULT_wxUSE_METAFILE
=no
2152 DEFAULT_wxUSE_MIMETYPE
=no
2153 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2154 DEFAULT_wxUSE_PROTOCOL
=no
2155 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2156 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2157 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2158 DEFAULT_wxUSE_URL
=no
2160 DEFAULT_wxUSE_COMMONDLGS
=no
2161 DEFAULT_wxUSE_CHOICEDLG
=no
2162 DEFAULT_wxUSE_COLOURDLG
=no
2163 DEFAULT_wxUSE_DIRDLG
=no
2164 DEFAULT_wxUSE_FILEDLG
=no
2165 DEFAULT_wxUSE_FINDREPLDLG
=no
2166 DEFAULT_wxUSE_FONTDLG
=no
2167 DEFAULT_wxUSE_MSGDLG
=no
2168 DEFAULT_wxUSE_NUMBERDLG
=no
2169 DEFAULT_wxUSE_TEXTDLG
=no
2170 DEFAULT_wxUSE_SPLASH
=no
2171 DEFAULT_wxUSE_STARTUP_TIPS
=no
2172 DEFAULT_wxUSE_PROGRESSDLG
=no
2173 DEFAULT_wxUSE_WIZARDDLG
=no
2175 DEFAULT_wxUSE_MENUS
=no
2176 DEFAULT_wxUSE_MINIFRAME
=no
2177 DEFAULT_wxUSE_HTML
=no
2178 DEFAULT_wxUSE_RICHTEXT
=no
2179 DEFAULT_wxUSE_XRC
=no
2180 DEFAULT_wxUSE_WEBKIT
=no
2181 DEFAULT_wxUSE_FILESYSTEM
=no
2182 DEFAULT_wxUSE_FS_INET
=no
2183 DEFAULT_wxUSE_FS_ZIP
=no
2184 DEFAULT_wxUSE_BUSYINFO
=no
2185 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2186 DEFAULT_wxUSE_ZIPSTREAM
=no
2187 DEFAULT_wxUSE_VALIDATORS
=no
2189 DEFAULT_wxUSE_ACCEL
=no
2190 DEFAULT_wxUSE_BUTTON
=no
2191 DEFAULT_wxUSE_BMPBUTTON
=no
2192 DEFAULT_wxUSE_CALCTRL
=no
2193 DEFAULT_wxUSE_CARET
=no
2194 DEFAULT_wxUSE_CHECKBOX
=no
2195 DEFAULT_wxUSE_CHECKLST
=no
2196 DEFAULT_wxUSE_CHOICE
=no
2197 DEFAULT_wxUSE_CHOICEBOOK
=no
2198 DEFAULT_wxUSE_COMBOBOX
=no
2199 DEFAULT_wxUSE_DATEPICKCTRL
=no
2200 DEFAULT_wxUSE_DISPLAY
=no
2201 DEFAULT_wxUSE_GAUGE
=no
2202 DEFAULT_wxUSE_GRID
=no
2203 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2204 DEFAULT_wxUSE_IMAGLIST
=no
2205 DEFAULT_wxUSE_LISTBOOK
=no
2206 DEFAULT_wxUSE_LISTBOX
=no
2207 DEFAULT_wxUSE_LISTCTRL
=no
2208 DEFAULT_wxUSE_NOTEBOOK
=no
2209 DEFAULT_wxUSE_RADIOBOX
=no
2210 DEFAULT_wxUSE_RADIOBTN
=no
2211 DEFAULT_wxUSE_SASH
=no
2212 DEFAULT_wxUSE_SCROLLBAR
=no
2213 DEFAULT_wxUSE_SLIDER
=no
2214 DEFAULT_wxUSE_SPINBTN
=no
2215 DEFAULT_wxUSE_SPINCTRL
=no
2216 DEFAULT_wxUSE_SPLITTER
=no
2217 DEFAULT_wxUSE_STATBMP
=no
2218 DEFAULT_wxUSE_STATBOX
=no
2219 DEFAULT_wxUSE_STATLINE
=no
2220 DEFAULT_wxUSE_STATTEXT
=no
2221 DEFAULT_wxUSE_STATUSBAR
=yes
2222 DEFAULT_wxUSE_TAB_DIALOG
=no
2223 DEFAULT_wxUSE_TEXTCTRL
=no
2224 DEFAULT_wxUSE_TOGGLEBTN
=no
2225 DEFAULT_wxUSE_TOOLBAR
=no
2226 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2227 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2228 DEFAULT_wxUSE_TREEBOOK
=no
2229 DEFAULT_wxUSE_TOOLBOOK
=no
2230 DEFAULT_wxUSE_TREECTRL
=no
2231 DEFAULT_wxUSE_POPUPWIN
=no
2232 DEFAULT_wxUSE_TIPWINDOW
=no
2234 DEFAULT_wxUSE_UNICODE
=no
2235 DEFAULT_wxUSE_UNICODE_MSLU
=no
2236 DEFAULT_wxUSE_WCSRTOMBS
=no
2238 DEFAULT_wxUSE_PALETTE
=no
2239 DEFAULT_wxUSE_IMAGE
=no
2240 DEFAULT_wxUSE_GIF
=no
2241 DEFAULT_wxUSE_PCX
=no
2242 DEFAULT_wxUSE_PNM
=no
2243 DEFAULT_wxUSE_IFF
=no
2244 DEFAULT_wxUSE_XPM
=no
2245 DEFAULT_wxUSE_ICO_CUR
=no
2246 DEFAULT_wxUSE_ACCESSIBILITY
=no
2248 DEFAULT_wxUSE_MONOLITHIC
=no
2249 DEFAULT_wxUSE_PLUGINS
=no
2250 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2252 DEFAULT_wxUSE_UNIVERSAL
=no
2253 DEFAULT_wxUSE_STL
=no
2255 DEFAULT_wxUSE_NANOX
=no
2257 DEFAULT_wxUSE_THREADS
=yes
2259 DEFAULT_wxUSE_SHARED
=yes
2260 DEFAULT_wxUSE_OPTIMISE
=yes
2261 DEFAULT_wxUSE_PROFILE
=no
2262 DEFAULT_wxUSE_NO_DEPS
=no
2263 DEFAULT_wxUSE_NO_RTTI
=no
2264 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2265 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2266 DEFAULT_wxUSE_RPATH
=yes
2267 DEFAULT_wxUSE_PERMISSIVE
=no
2268 DEFAULT_wxUSE_DEBUG_FLAG
=no
2269 DEFAULT_wxUSE_DEBUG_INFO
=no
2270 DEFAULT_wxUSE_DEBUG_GDB
=no
2271 DEFAULT_wxUSE_MEM_TRACING
=no
2272 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2273 DEFAULT_wxUSE_DMALLOC
=no
2274 DEFAULT_wxUSE_APPLE_IEEE
=yes
2276 DEFAULT_wxUSE_EXCEPTIONS
=yes
2277 DEFAULT_wxUSE_LOG
=yes
2278 DEFAULT_wxUSE_LOGWINDOW
=yes
2279 DEFAULT_wxUSE_LOGGUI
=yes
2280 DEFAULT_wxUSE_LOGDIALOG
=yes
2282 DEFAULT_wxUSE_GUI
=yes
2284 DEFAULT_wxUSE_REGEX
=yes
2285 DEFAULT_wxUSE_XML
=yes
2286 DEFAULT_wxUSE_EXPAT
=yes
2287 DEFAULT_wxUSE_ZLIB
=yes
2288 DEFAULT_wxUSE_LIBPNG
=yes
2289 DEFAULT_wxUSE_LIBJPEG
=yes
2290 DEFAULT_wxUSE_LIBTIFF
=yes
2291 DEFAULT_wxUSE_LIBXPM
=yes
2292 DEFAULT_wxUSE_LIBMSPACK
=yes
2293 DEFAULT_wxUSE_LIBSDL
=no
2294 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2295 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2296 DEFAULT_wxUSE_LIBHILDON
=no
2297 DEFAULT_wxUSE_ODBC
=no
2298 DEFAULT_wxUSE_OPENGL
=no
2300 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2301 DEFAULT_wxUSE_STACKWALKER
=yes
2302 DEFAULT_wxUSE_DEBUGREPORT
=yes
2303 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2304 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2305 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2306 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2307 DEFAULT_wxUSE_DATETIME
=yes
2308 DEFAULT_wxUSE_TIMER
=yes
2309 DEFAULT_wxUSE_STOPWATCH
=yes
2310 DEFAULT_wxUSE_FILE
=yes
2311 DEFAULT_wxUSE_FFILE
=yes
2312 DEFAULT_wxUSE_STDPATHS
=yes
2313 DEFAULT_wxUSE_TEXTBUFFER
=yes
2314 DEFAULT_wxUSE_TEXTFILE
=yes
2315 DEFAULT_wxUSE_SOUND
=yes
2316 DEFAULT_wxUSE_MEDIACTRL
=no
2317 DEFAULT_wxUSE_GSTREAMER8
=no
2318 DEFAULT_wxUSE_INTL
=yes
2319 DEFAULT_wxUSE_CONFIG
=yes
2320 DEFAULT_wxUSE_FONTMAP
=yes
2321 DEFAULT_wxUSE_STREAMS
=yes
2322 DEFAULT_wxUSE_SOCKETS
=yes
2323 DEFAULT_wxUSE_OLE
=yes
2324 DEFAULT_wxUSE_DATAOBJ
=yes
2325 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2326 DEFAULT_wxUSE_JOYSTICK
=yes
2327 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2328 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2329 DEFAULT_wxUSE_LONGLONG
=yes
2330 DEFAULT_wxUSE_GEOMETRY
=yes
2332 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2333 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2334 DEFAULT_wxUSE_POSTSCRIPT
=yes
2336 DEFAULT_wxUSE_CLIPBOARD
=yes
2337 DEFAULT_wxUSE_TOOLTIPS
=yes
2338 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2339 DEFAULT_wxUSE_DRAGIMAGE
=yes
2340 DEFAULT_wxUSE_SPLINES
=yes
2341 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2343 DEFAULT_wxUSE_MDI
=yes
2344 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2345 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2346 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2348 DEFAULT_wxUSE_RESOURCES
=no
2349 DEFAULT_wxUSE_CONSTRAINTS
=yes
2350 DEFAULT_wxUSE_IPC
=yes
2351 DEFAULT_wxUSE_HELP
=yes
2352 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2353 DEFAULT_wxUSE_WXHTML_HELP
=yes
2354 DEFAULT_wxUSE_TREELAYOUT
=yes
2355 DEFAULT_wxUSE_METAFILE
=yes
2356 DEFAULT_wxUSE_MIMETYPE
=yes
2357 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2358 DEFAULT_wxUSE_PROTOCOL
=yes
2359 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2360 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2361 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2362 DEFAULT_wxUSE_URL
=yes
2364 DEFAULT_wxUSE_COMMONDLGS
=yes
2365 DEFAULT_wxUSE_CHOICEDLG
=yes
2366 DEFAULT_wxUSE_COLOURDLG
=yes
2367 DEFAULT_wxUSE_DIRDLG
=yes
2368 DEFAULT_wxUSE_FILEDLG
=yes
2369 DEFAULT_wxUSE_FINDREPLDLG
=yes
2370 DEFAULT_wxUSE_FONTDLG
=yes
2371 DEFAULT_wxUSE_MSGDLG
=yes
2372 DEFAULT_wxUSE_NUMBERDLG
=yes
2373 DEFAULT_wxUSE_TEXTDLG
=yes
2374 DEFAULT_wxUSE_SPLASH
=yes
2375 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2376 DEFAULT_wxUSE_PROGRESSDLG
=yes
2377 DEFAULT_wxUSE_WIZARDDLG
=yes
2379 DEFAULT_wxUSE_MENUS
=yes
2380 DEFAULT_wxUSE_MINIFRAME
=yes
2381 DEFAULT_wxUSE_HTML
=yes
2382 DEFAULT_wxUSE_RICHTEXT
=yes
2383 DEFAULT_wxUSE_XRC
=yes
2384 DEFAULT_wxUSE_WEBKIT
=yes
2385 DEFAULT_wxUSE_FILESYSTEM
=yes
2386 DEFAULT_wxUSE_FS_INET
=yes
2387 DEFAULT_wxUSE_FS_ZIP
=yes
2388 DEFAULT_wxUSE_BUSYINFO
=yes
2389 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2390 DEFAULT_wxUSE_ZIPSTREAM
=yes
2391 DEFAULT_wxUSE_VALIDATORS
=yes
2393 DEFAULT_wxUSE_ACCEL
=yes
2394 DEFAULT_wxUSE_BUTTON
=yes
2395 DEFAULT_wxUSE_BMPBUTTON
=yes
2396 DEFAULT_wxUSE_CALCTRL
=yes
2397 DEFAULT_wxUSE_CARET
=yes
2398 DEFAULT_wxUSE_CHECKBOX
=yes
2399 DEFAULT_wxUSE_CHECKLST
=yes
2400 DEFAULT_wxUSE_CHOICE
=yes
2401 DEFAULT_wxUSE_CHOICEBOOK
=yes
2402 DEFAULT_wxUSE_COMBOBOX
=yes
2403 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2404 DEFAULT_wxUSE_DISPLAY
=yes
2405 DEFAULT_wxUSE_GAUGE
=yes
2406 DEFAULT_wxUSE_GRID
=yes
2407 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2408 DEFAULT_wxUSE_IMAGLIST
=yes
2409 DEFAULT_wxUSE_LISTBOOK
=yes
2410 DEFAULT_wxUSE_LISTBOX
=yes
2411 DEFAULT_wxUSE_LISTCTRL
=yes
2412 DEFAULT_wxUSE_NOTEBOOK
=yes
2413 DEFAULT_wxUSE_RADIOBOX
=yes
2414 DEFAULT_wxUSE_RADIOBTN
=yes
2415 DEFAULT_wxUSE_SASH
=yes
2416 DEFAULT_wxUSE_SCROLLBAR
=yes
2417 DEFAULT_wxUSE_SLIDER
=yes
2418 DEFAULT_wxUSE_SPINBTN
=yes
2419 DEFAULT_wxUSE_SPINCTRL
=yes
2420 DEFAULT_wxUSE_SPLITTER
=yes
2421 DEFAULT_wxUSE_STATBMP
=yes
2422 DEFAULT_wxUSE_STATBOX
=yes
2423 DEFAULT_wxUSE_STATLINE
=yes
2424 DEFAULT_wxUSE_STATTEXT
=yes
2425 DEFAULT_wxUSE_STATUSBAR
=yes
2426 DEFAULT_wxUSE_TAB_DIALOG
=no
2427 DEFAULT_wxUSE_TEXTCTRL
=yes
2428 DEFAULT_wxUSE_TOGGLEBTN
=yes
2429 DEFAULT_wxUSE_TOOLBAR
=yes
2430 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2431 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2432 DEFAULT_wxUSE_TREEBOOK
=yes
2433 DEFAULT_wxUSE_TOOLBOOK
=yes
2434 DEFAULT_wxUSE_TREECTRL
=yes
2435 DEFAULT_wxUSE_POPUPWIN
=yes
2436 DEFAULT_wxUSE_TIPWINDOW
=yes
2438 DEFAULT_wxUSE_UNICODE
=no
2439 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2440 DEFAULT_wxUSE_WCSRTOMBS
=no
2442 DEFAULT_wxUSE_PALETTE
=yes
2443 DEFAULT_wxUSE_IMAGE
=yes
2444 DEFAULT_wxUSE_GIF
=yes
2445 DEFAULT_wxUSE_PCX
=yes
2446 DEFAULT_wxUSE_IFF
=no
2447 DEFAULT_wxUSE_PNM
=yes
2448 DEFAULT_wxUSE_XPM
=yes
2449 DEFAULT_wxUSE_ICO_CUR
=yes
2450 DEFAULT_wxUSE_ACCESSIBILITY
=no
2452 DEFAULT_wxUSE_MONOLITHIC
=no
2453 DEFAULT_wxUSE_PLUGINS
=no
2454 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2456 DEFAULT_wxUSE_GTK2
=yes
2462 for toolkit
in `echo $ALL_TOOLKITS`; do
2463 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2464 if test "x$LINE" != "x" ; then
2465 has_toolkit_in_cache
=1
2466 eval "DEFAULT_$LINE"
2467 eval "CACHE_$toolkit=1"
2469 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2470 if test "x$LINE" != "x" ; then
2471 eval "DEFAULT_$LINE"
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2482 # Check whether --enable-gui or --disable-gui was given.
2483 if test "${enable_gui+set}" = set; then
2484 enableval
="$enable_gui"
2486 if test "$enableval" = yes; then
2487 ac_cv_use_gui
='wxUSE_GUI=yes'
2489 ac_cv_use_gui
='wxUSE_GUI=no'
2494 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x
; then
2496 eval "DEFAULT_$LINE"
2501 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2505 eval "$ac_cv_use_gui"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2510 if test "$wxUSE_GUI" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2521 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2523 # Check whether --enable-monolithic or --disable-monolithic was given.
2524 if test "${enable_monolithic+set}" = set; then
2525 enableval
="$enable_monolithic"
2527 if test "$enableval" = yes; then
2528 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2530 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2535 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x
; then
2537 eval "DEFAULT_$LINE"
2542 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2546 eval "$ac_cv_use_monolithic"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2551 if test "$wxUSE_MONOLITHIC" = yes; then
2552 echo "$as_me:$LINENO: result: yes" >&5
2553 echo "${ECHO_T}yes" >&6
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2562 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2564 # Check whether --enable-plugins or --disable-plugins was given.
2565 if test "${enable_plugins+set}" = set; then
2566 enableval
="$enable_plugins"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2571 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2576 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2587 eval "$ac_cv_use_plugins"
2588 if test "$no_cache" != 1; then
2589 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2592 if test "$wxUSE_PLUGINS" = yes; then
2593 echo "$as_me:$LINENO: result: yes" >&5
2594 echo "${ECHO_T}yes" >&6
2596 echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6
2602 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2603 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2606 # Check whether --with-subdirs or --without-subdirs was given.
2607 if test "${with_subdirs+set}" = set; then
2608 withval
="$with_subdirs"
2610 if test "$withval" = yes; then
2611 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2613 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2618 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2619 if test "x$LINE" != x
; then
2620 eval "DEFAULT_$LINE"
2625 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2629 eval "$ac_cv_use_subdirs"
2630 if test "$no_cache" != 1; then
2631 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2634 if test "$wxWITH_SUBDIRS" = yes; then
2635 echo "$as_me:$LINENO: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2638 echo "$as_me:$LINENO: result: no" >&5
2639 echo "${ECHO_T}no" >&6
2643 if test "$wxUSE_GUI" = "yes"; then
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2650 # Check whether --enable-universal or --disable-universal was given.
2651 if test "${enable_universal+set}" = set; then
2652 enableval
="$enable_universal"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2657 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2662 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2673 eval "$ac_cv_use_universal"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_UNIVERSAL" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2687 # Check whether --with-gtk or --without-gtk was given.
2688 if test "${with_gtk+set}" = set; then
2690 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2693 # Check whether --with-motif or --without-motif was given.
2694 if test "${with_motif+set}" = set; then
2695 withval
="$with_motif"
2696 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2699 # Check whether --with-mac or --without-mac was given.
2700 if test "${with_mac+set}" = set; then
2702 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2705 # Check whether --with-cocoa or --without-cocoa was given.
2706 if test "${with_cocoa+set}" = set; then
2707 withval
="$with_cocoa"
2708 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2711 # Check whether --with-wine or --without-wine was given.
2712 if test "${with_wine+set}" = set; then
2713 withval
="$with_wine"
2714 wxUSE_WINE
="$withval" CACHE_WINE
=1
2717 # Check whether --with-msw or --without-msw was given.
2718 if test "${with_msw+set}" = set; then
2720 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2723 # Check whether --with-pm or --without-pm was given.
2724 if test "${with_pm+set}" = set; then
2726 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2729 # Check whether --with-mgl or --without-mgl was given.
2730 if test "${with_mgl+set}" = set; then
2732 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2735 # Check whether --with-microwin or --without-microwin was given.
2736 if test "${with_microwin+set}" = set; then
2737 withval
="$with_microwin"
2738 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2741 # Check whether --with-x11 or --without-x11 was given.
2742 if test "${with_x11+set}" = set; then
2744 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2749 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2751 # Check whether --enable-nanox or --disable-nanox was given.
2752 if test "${enable_nanox+set}" = set; then
2753 enableval
="$enable_nanox"
2755 if test "$enableval" = yes; then
2756 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2758 ac_cv_use_nanox
='wxUSE_NANOX=no'
2763 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2774 eval "$ac_cv_use_nanox"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_NANOX" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2788 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2789 if test "${enable_gtk2+set}" = set; then
2790 enableval
="$enable_gtk2"
2791 wxUSE_GTK2
="$enableval"
2795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2796 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2798 # Check whether --enable-gpe or --disable-gpe was given.
2799 if test "${enable_gpe+set}" = set; then
2800 enableval
="$enable_gpe"
2802 if test "$enableval" = yes; then
2803 ac_cv_use_gpe
='wxUSE_GPE=yes'
2805 ac_cv_use_gpe
='wxUSE_GPE=no'
2810 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x
; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2821 eval "$ac_cv_use_gpe"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2826 if test "$wxUSE_GPE" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2836 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2837 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2840 # Check whether --with-libpng or --without-libpng was given.
2841 if test "${with_libpng+set}" = set; then
2842 withval
="$with_libpng"
2844 if test "$withval" = yes; then
2845 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2846 elif test "$withval" = no
; then
2847 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2848 elif test "$withval" = sys
; then
2849 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2860 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2871 eval "$ac_cv_use_libpng"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2876 if test "$wxUSE_LIBPNG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBPNG" = no
; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBPNG" = sys
; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBPNG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2896 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2899 # Check whether --with-libjpeg or --without-libjpeg was given.
2900 if test "${with_libjpeg+set}" = set; then
2901 withval
="$with_libjpeg"
2903 if test "$withval" = yes; then
2904 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2905 elif test "$withval" = no
; then
2906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2907 elif test "$withval" = sys
; then
2908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2919 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2930 eval "$ac_cv_use_libjpeg"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_LIBJPEG" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBJPEG" = no
; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBJPEG" = sys
; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBJPEG" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2954 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2955 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2958 # Check whether --with-libtiff or --without-libtiff was given.
2959 if test "${with_libtiff+set}" = set; then
2960 withval
="$with_libtiff"
2962 if test "$withval" = yes; then
2963 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2964 elif test "$withval" = no
; then
2965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2966 elif test "$withval" = sys
; then
2967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2978 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2989 eval "$ac_cv_use_libtiff"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_LIBTIFF" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBTIFF" = no
; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBTIFF" = sys
; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBTIFF" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3013 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3014 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3017 # Check whether --with-libxpm or --without-libxpm was given.
3018 if test "${with_libxpm+set}" = set; then
3019 withval
="$with_libxpm"
3021 if test "$withval" = yes; then
3022 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3023 elif test "$withval" = no
; then
3024 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3025 elif test "$withval" = sys
; then
3026 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3027 elif test "$withval" = builtin; then
3028 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3030 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3031 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3032 { (exit 1); exit 1; }; }
3037 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3048 eval "$ac_cv_use_libxpm"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_LIBXPM" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 elif test "$wxUSE_LIBXPM" = no
; then
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 elif test "$wxUSE_LIBXPM" = sys
; then
3060 echo "$as_me:$LINENO: result: system version" >&5
3061 echo "${ECHO_T}system version" >&6
3062 elif test "$wxUSE_LIBXPM" = builtin; then
3063 echo "$as_me:$LINENO: result: builtin version" >&5
3064 echo "${ECHO_T}builtin version" >&6
3066 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3067 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3068 { (exit 1); exit 1; }; }
3073 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3074 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3077 # Check whether --with-libmspack or --without-libmspack was given.
3078 if test "${with_libmspack+set}" = set; then
3079 withval
="$with_libmspack"
3081 if test "$withval" = yes; then
3082 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3084 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3089 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x
; then
3091 eval "DEFAULT_$LINE"
3096 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3100 eval "$ac_cv_use_libmspack"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3105 if test "$wxUSE_LIBMSPACK" = yes; then
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3115 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3116 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3119 # Check whether --with-sdl or --without-sdl was given.
3120 if test "${with_sdl+set}" = set; then
3123 if test "$withval" = yes; then
3124 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3126 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3131 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x
; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3142 eval "$ac_cv_use_sdl"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_LIBSDL" = yes; then
3148 echo "$as_me:$LINENO: result: yes" >&5
3149 echo "${ECHO_T}yes" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3157 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3158 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3161 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3162 if test "${with_gnomeprint+set}" = set; then
3163 withval
="$with_gnomeprint"
3165 if test "$withval" = yes; then
3166 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3168 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3173 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3184 eval "$ac_cv_use_gnomeprint"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3199 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3200 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3203 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3204 if test "${with_gnomevfs+set}" = set; then
3205 withval
="$with_gnomevfs"
3207 if test "$withval" = yes; then
3208 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3210 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3215 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3226 eval "$ac_cv_use_gnomevfs"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3241 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3242 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3245 # Check whether --with-hildon or --without-hildon was given.
3246 if test "${with_hildon+set}" = set; then
3247 withval
="$with_hildon"
3249 if test "$withval" = yes; then
3250 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3252 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3257 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3268 eval "$ac_cv_use_hildon"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3273 if test "$wxUSE_LIBHILDON" = yes; then
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3287 # Check whether --with-opengl or --without-opengl was given.
3288 if test "${with_opengl+set}" = set; then
3289 withval
="$with_opengl"
3291 if test "$withval" = yes; then
3292 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3294 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3299 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3310 eval "$ac_cv_use_opengl"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_OPENGL" = yes; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3332 # Check whether --with-dmalloc or --without-dmalloc was given.
3333 if test "${with_dmalloc+set}" = set; then
3334 withval
="$with_dmalloc"
3336 if test "$withval" = yes; then
3337 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3339 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3344 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3355 eval "$ac_cv_use_dmalloc"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_DMALLOC" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3369 echo "$as_me:$LINENO: checking for --with-regex" >&5
3370 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3373 # Check whether --with-regex or --without-regex was given.
3374 if test "${with_regex+set}" = set; then
3375 withval
="$with_regex"
3377 if test "$withval" = yes; then
3378 ac_cv_use_regex
='wxUSE_REGEX=yes'
3379 elif test "$withval" = no
; then
3380 ac_cv_use_regex
='wxUSE_REGEX=no'
3381 elif test "$withval" = sys
; then
3382 ac_cv_use_regex
='wxUSE_REGEX=sys'
3383 elif test "$withval" = builtin; then
3384 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3386 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3387 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3388 { (exit 1); exit 1; }; }
3393 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x
; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3404 eval "$ac_cv_use_regex"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_REGEX" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 elif test "$wxUSE_REGEX" = no
; then
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 elif test "$wxUSE_REGEX" = sys
; then
3416 echo "$as_me:$LINENO: result: system version" >&5
3417 echo "${ECHO_T}system version" >&6
3418 elif test "$wxUSE_REGEX" = builtin; then
3419 echo "$as_me:$LINENO: result: builtin version" >&5
3420 echo "${ECHO_T}builtin version" >&6
3422 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3423 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3424 { (exit 1); exit 1; }; }
3428 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3429 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3432 # Check whether --with-zlib or --without-zlib was given.
3433 if test "${with_zlib+set}" = set; then
3434 withval
="$with_zlib"
3436 if test "$withval" = yes; then
3437 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3438 elif test "$withval" = no
; then
3439 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3440 elif test "$withval" = sys
; then
3441 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3442 elif test "$withval" = builtin; then
3443 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3445 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3446 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3447 { (exit 1); exit 1; }; }
3452 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x
; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3463 eval "$ac_cv_use_zlib"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3468 if test "$wxUSE_ZLIB" = yes; then
3469 echo "$as_me:$LINENO: result: yes" >&5
3470 echo "${ECHO_T}yes" >&6
3471 elif test "$wxUSE_ZLIB" = no
; then
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 elif test "$wxUSE_ZLIB" = sys
; then
3475 echo "$as_me:$LINENO: result: system version" >&5
3476 echo "${ECHO_T}system version" >&6
3477 elif test "$wxUSE_ZLIB" = builtin; then
3478 echo "$as_me:$LINENO: result: builtin version" >&5
3479 echo "${ECHO_T}builtin version" >&6
3481 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3482 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3483 { (exit 1); exit 1; }; }
3487 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3488 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3491 # Check whether --with-odbc or --without-odbc was given.
3492 if test "${with_odbc+set}" = set; then
3493 withval
="$with_odbc"
3495 if test "$withval" = yes; then
3496 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3497 elif test "$withval" = no
; then
3498 ac_cv_use_odbc
='wxUSE_ODBC=no'
3499 elif test "$withval" = sys
; then
3500 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3501 elif test "$withval" = builtin; then
3502 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3504 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3505 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3506 { (exit 1); exit 1; }; }
3511 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x
; then
3513 eval "DEFAULT_$LINE"
3518 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3522 eval "$ac_cv_use_odbc"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3527 if test "$wxUSE_ODBC" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3530 elif test "$wxUSE_ODBC" = no
; then
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3533 elif test "$wxUSE_ODBC" = sys
; then
3534 echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6
3536 elif test "$wxUSE_ODBC" = builtin; then
3537 echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3546 echo "$as_me:$LINENO: checking for --with-expat" >&5
3547 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3550 # Check whether --with-expat or --without-expat was given.
3551 if test "${with_expat+set}" = set; then
3552 withval
="$with_expat"
3554 if test "$withval" = yes; then
3555 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3556 elif test "$withval" = no
; then
3557 ac_cv_use_expat
='wxUSE_EXPAT=no'
3558 elif test "$withval" = sys
; then
3559 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3560 elif test "$withval" = builtin; then
3561 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3570 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x
; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3581 eval "$ac_cv_use_expat"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_EXPAT" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 elif test "$wxUSE_EXPAT" = no
; then
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 elif test "$wxUSE_EXPAT" = sys
; then
3593 echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6
3595 elif test "$wxUSE_EXPAT" = builtin; then
3596 echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3611 # Check whether --enable-shared or --disable-shared was given.
3612 if test "${enable_shared+set}" = set; then
3613 enableval
="$enable_shared"
3615 if test "$enableval" = yes; then
3616 ac_cv_use_shared
='wxUSE_SHARED=yes'
3618 ac_cv_use_shared
='wxUSE_SHARED=no'
3623 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3634 eval "$ac_cv_use_shared"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_SHARED" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3652 # Check whether --enable-optimise or --disable-optimise was given.
3653 if test "${enable_optimise+set}" = set; then
3654 enableval
="$enable_optimise"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3659 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3664 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3675 eval "$ac_cv_use_optimise"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_OPTIMISE" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3693 # Check whether --enable-debug or --disable-debug was given.
3694 if test "${enable_debug+set}" = set; then
3695 enableval
="$enable_debug"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3700 ac_cv_use_debug
='wxUSE_DEBUG=no'
3705 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x
; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3716 eval "$ac_cv_use_debug"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DEBUG" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3734 # Check whether --enable-stl or --disable-stl was given.
3735 if test "${enable_stl+set}" = set; then
3736 enableval
="$enable_stl"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_stl
='wxUSE_STL=yes'
3741 ac_cv_use_stl
='wxUSE_STL=no'
3746 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3757 eval "$ac_cv_use_stl"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_STL" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3770 if test "$USE_OS2" = "1"; then
3771 DEFAULT_wxUSE_OMF
=no
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3777 # Check whether --enable-omf or --disable-omf was given.
3778 if test "${enable_omf+set}" = set; then
3779 enableval
="$enable_omf"
3781 if test "$enableval" = yes; then
3782 ac_cv_use_omf
='wxUSE_OMF=yes'
3784 ac_cv_use_omf
='wxUSE_OMF=no'
3789 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x
; then
3791 eval "DEFAULT_$LINE"
3796 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3800 eval "$ac_cv_use_omf"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3805 if test "$wxUSE_OMF" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3815 if test "$wxUSE_DEBUG" = "yes"; then
3816 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3817 DEFAULT_wxUSE_DEBUG_INFO
=yes
3819 elif test "$wxUSE_DEBUG" = "no"; then
3820 DEFAULT_wxUSE_DEBUG_FLAG
=no
3821 DEFAULT_wxUSE_DEBUG_INFO
=no
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3830 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3831 if test "${enable_debug_flag+set}" = set; then
3832 enableval
="$enable_debug_flag"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3837 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3842 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3853 eval "$ac_cv_use_debug_flag"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_DEBUG_FLAG" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3871 # Check whether --enable-debug_info or --disable-debug_info was given.
3872 if test "${enable_debug_info+set}" = set; then
3873 enableval
="$enable_debug_info"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3878 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3883 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3894 eval "$ac_cv_use_debug_info"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_DEBUG_INFO" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3912 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3913 if test "${enable_debug_gdb+set}" = set; then
3914 enableval
="$enable_debug_gdb"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3919 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3924 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3935 eval "$ac_cv_use_debug_gdb"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_DEBUG_GDB" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3953 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3954 if test "${enable_debug_cntxt+set}" = set; then
3955 enableval
="$enable_debug_cntxt"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3960 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3965 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3976 eval "$ac_cv_use_debug_cntxt"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3994 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3995 if test "${enable_mem_tracing+set}" = set; then
3996 enableval
="$enable_mem_tracing"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4001 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4006 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4017 eval "$ac_cv_use_mem_tracing"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_MEM_TRACING" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4035 # Check whether --enable-profile or --disable-profile was given.
4036 if test "${enable_profile+set}" = set; then
4037 enableval
="$enable_profile"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4042 ac_cv_use_profile
='wxUSE_PROFILE=no'
4047 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4058 eval "$ac_cv_use_profile"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_PROFILE" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4074 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4076 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4077 if test "${enable_no_rtti+set}" = set; then
4078 enableval
="$enable_no_rtti"
4080 if test "$enableval" = yes; then
4081 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4083 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4088 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x
; then
4090 eval "DEFAULT_$LINE"
4095 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4099 eval "$ac_cv_use_no_rtti"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_NO_RTTI" = yes; then
4105 echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4117 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4118 if test "${enable_no_exceptions+set}" = set; then
4119 enableval
="$enable_no_exceptions"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4124 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4129 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4140 eval "$ac_cv_use_no_exceptions"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4158 # Check whether --enable-permissive or --disable-permissive was given.
4159 if test "${enable_permissive+set}" = set; then
4160 enableval
="$enable_permissive"
4162 if test "$enableval" = yes; then
4163 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4165 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4170 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x
; then
4172 eval "DEFAULT_$LINE"
4177 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4181 eval "$ac_cv_use_permissive"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4186 if test "$wxUSE_PERMISSIVE" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4199 # Check whether --enable-no_deps or --disable-no_deps was given.
4200 if test "${enable_no_deps+set}" = set; then
4201 enableval
="$enable_no_deps"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4206 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4211 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x
; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4222 eval "$ac_cv_use_no_deps"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_NO_DEPS" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4240 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4241 if test "${enable_universal_binary+set}" = set; then
4242 enableval
="$enable_universal_binary"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4247 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4252 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x
; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4263 eval "$ac_cv_use_universal_binary"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4282 # Check whether --enable-compat24 or --disable-compat24 was given.
4283 if test "${enable_compat24+set}" = set; then
4284 enableval
="$enable_compat24"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4289 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4294 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4305 eval "$ac_cv_use_compat24"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4310 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4319 enablestring
=disable
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4323 # Check whether --enable-compat26 or --disable-compat26 was given.
4324 if test "${enable_compat26+set}" = set; then
4325 enableval
="$enable_compat26"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4330 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4335 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4346 eval "$ac_cv_use_compat26"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4351 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4365 # Check whether --enable-rpath or --disable-rpath was given.
4366 if test "${enable_rpath+set}" = set; then
4367 enableval
="$enable_rpath"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4372 ac_cv_use_rpath
='wxUSE_RPATH=no'
4377 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x
; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4388 eval "$ac_cv_use_rpath"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_RPATH" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4409 # Check whether --enable-intl or --disable-intl was given.
4410 if test "${enable_intl+set}" = set; then
4411 enableval
="$enable_intl"
4413 if test "$enableval" = yes; then
4414 ac_cv_use_intl
='wxUSE_INTL=yes'
4416 ac_cv_use_intl
='wxUSE_INTL=no'
4421 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x
; then
4423 eval "DEFAULT_$LINE"
4428 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4432 eval "$ac_cv_use_intl"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4437 if test "$wxUSE_INTL" = yes; then
4438 echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4450 # Check whether --enable-config or --disable-config was given.
4451 if test "${enable_config+set}" = set; then
4452 enableval
="$enable_config"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_config
='wxUSE_CONFIG=yes'
4457 ac_cv_use_config
='wxUSE_CONFIG=no'
4462 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4473 eval "$ac_cv_use_config"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_CONFIG" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4492 # Check whether --enable-protocols or --disable-protocols was given.
4493 if test "${enable_protocols+set}" = set; then
4494 enableval
="$enable_protocols"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4499 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4504 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4515 eval "$ac_cv_use_protocols"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_PROTOCOL" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4533 # Check whether --enable-ftp or --disable-ftp was given.
4534 if test "${enable_ftp+set}" = set; then
4535 enableval
="$enable_ftp"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4540 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4545 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4556 eval "$ac_cv_use_ftp"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4574 # Check whether --enable-http or --disable-http was given.
4575 if test "${enable_http+set}" = set; then
4576 enableval
="$enable_http"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4581 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4586 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4597 eval "$ac_cv_use_http"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4615 # Check whether --enable-fileproto or --disable-fileproto was given.
4616 if test "${enable_fileproto+set}" = set; then
4617 enableval
="$enable_fileproto"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4622 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4627 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4638 eval "$ac_cv_use_fileproto"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4656 # Check whether --enable-sockets or --disable-sockets was given.
4657 if test "${enable_sockets+set}" = set; then
4658 enableval
="$enable_sockets"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4663 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4668 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4679 eval "$ac_cv_use_sockets"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_SOCKETS" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4697 # Check whether --enable-ole or --disable-ole was given.
4698 if test "${enable_ole+set}" = set; then
4699 enableval
="$enable_ole"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_ole
='wxUSE_OLE=yes'
4704 ac_cv_use_ole
='wxUSE_OLE=no'
4709 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4720 eval "$ac_cv_use_ole"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_OLE" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4738 # Check whether --enable-dataobj or --disable-dataobj was given.
4739 if test "${enable_dataobj+set}" = set; then
4740 enableval
="$enable_dataobj"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4745 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4750 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4761 eval "$ac_cv_use_dataobj"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DATAOBJ" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4780 # Check whether --enable-ipc or --disable-ipc was given.
4781 if test "${enable_ipc+set}" = set; then
4782 enableval
="$enable_ipc"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_ipc
='wxUSE_IPC=yes'
4787 ac_cv_use_ipc
='wxUSE_IPC=no'
4792 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4803 eval "$ac_cv_use_ipc"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_IPC" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4822 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4823 if test "${enable_apple_ieee+set}" = set; then
4824 enableval
="$enable_apple_ieee"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4829 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4834 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4845 eval "$ac_cv_use_apple_ieee"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_APPLE_IEEE" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4863 # Check whether --enable-arcstream or --disable-arcstream was given.
4864 if test "${enable_arcstream+set}" = set; then
4865 enableval
="$enable_arcstream"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4870 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4875 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4886 eval "$ac_cv_use_arcstream"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4904 # Check whether --enable-backtrace or --disable-backtrace was given.
4905 if test "${enable_backtrace+set}" = set; then
4906 enableval
="$enable_backtrace"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4911 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4916 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4927 eval "$ac_cv_use_backtrace"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_STACKWALKER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4945 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4946 if test "${enable_catch_segvs+set}" = set; then
4947 enableval
="$enable_catch_segvs"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4952 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4957 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4968 eval "$ac_cv_use_catch_segvs"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4986 # Check whether --enable-cmdline or --disable-cmdline was given.
4987 if test "${enable_cmdline+set}" = set; then
4988 enableval
="$enable_cmdline"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4993 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4998 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5009 eval "$ac_cv_use_cmdline"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5027 # Check whether --enable-datetime or --disable-datetime was given.
5028 if test "${enable_datetime+set}" = set; then
5029 enableval
="$enable_datetime"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5034 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5039 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5050 eval "$ac_cv_use_datetime"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_DATETIME" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5068 # Check whether --enable-debugreport or --disable-debugreport was given.
5069 if test "${enable_debugreport+set}" = set; then
5070 enableval
="$enable_debugreport"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5075 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5080 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5091 eval "$ac_cv_use_debugreport"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_DEBUGREPORT" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5109 # Check whether --enable-dialupman or --disable-dialupman was given.
5110 if test "${enable_dialupman+set}" = set; then
5111 enableval
="$enable_dialupman"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5116 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5121 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5132 eval "$ac_cv_use_dialupman"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5150 # Check whether --enable-dynlib or --disable-dynlib was given.
5151 if test "${enable_dynlib+set}" = set; then
5152 enableval
="$enable_dynlib"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5157 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5162 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5173 eval "$ac_cv_use_dynlib"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5191 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5192 if test "${enable_dynamicloader+set}" = set; then
5193 enableval
="$enable_dynamicloader"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5198 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5203 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5214 eval "$ac_cv_use_dynamicloader"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5232 # Check whether --enable-exceptions or --disable-exceptions was given.
5233 if test "${enable_exceptions+set}" = set; then
5234 enableval
="$enable_exceptions"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5239 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5244 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5255 eval "$ac_cv_use_exceptions"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_EXCEPTIONS" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5273 # Check whether --enable-ffile or --disable-ffile was given.
5274 if test "${enable_ffile+set}" = set; then
5275 enableval
="$enable_ffile"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5280 ac_cv_use_ffile
='wxUSE_FFILE=no'
5285 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5296 eval "$ac_cv_use_ffile"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_FFILE" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5314 # Check whether --enable-file or --disable-file was given.
5315 if test "${enable_file+set}" = set; then
5316 enableval
="$enable_file"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_file
='wxUSE_FILE=yes'
5321 ac_cv_use_file
='wxUSE_FILE=no'
5326 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5337 eval "$ac_cv_use_file"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_FILE" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5355 # Check whether --enable-filesystem or --disable-filesystem was given.
5356 if test "${enable_filesystem+set}" = set; then
5357 enableval
="$enable_filesystem"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5362 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5367 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5378 eval "$ac_cv_use_filesystem"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_FILESYSTEM" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5396 # Check whether --enable-fontmap or --disable-fontmap was given.
5397 if test "${enable_fontmap+set}" = set; then
5398 enableval
="$enable_fontmap"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5403 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5408 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5419 eval "$ac_cv_use_fontmap"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_FONTMAP" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5437 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5438 if test "${enable_fs_inet+set}" = set; then
5439 enableval
="$enable_fs_inet"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5444 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5449 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5460 eval "$ac_cv_use_fs_inet"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_FS_INET" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5478 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5479 if test "${enable_fs_zip+set}" = set; then
5480 enableval
="$enable_fs_zip"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5485 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5490 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5501 eval "$ac_cv_use_fs_zip"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_FS_ZIP" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5519 # Check whether --enable-geometry or --disable-geometry was given.
5520 if test "${enable_geometry+set}" = set; then
5521 enableval
="$enable_geometry"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5526 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5531 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5542 eval "$ac_cv_use_geometry"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_GEOMETRY" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5560 # Check whether --enable-log or --disable-log was given.
5561 if test "${enable_log+set}" = set; then
5562 enableval
="$enable_log"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_log
='wxUSE_LOG=yes'
5567 ac_cv_use_log
='wxUSE_LOG=no'
5572 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5583 eval "$ac_cv_use_log"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_LOG" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5601 # Check whether --enable-longlong or --disable-longlong was given.
5602 if test "${enable_longlong+set}" = set; then
5603 enableval
="$enable_longlong"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5608 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5613 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5624 eval "$ac_cv_use_longlong"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_LONGLONG" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5642 # Check whether --enable-mimetype or --disable-mimetype was given.
5643 if test "${enable_mimetype+set}" = set; then
5644 enableval
="$enable_mimetype"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5649 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5654 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5665 eval "$ac_cv_use_mimetype"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_MIMETYPE" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5683 # Check whether --enable-mslu or --disable-mslu was given.
5684 if test "${enable_mslu+set}" = set; then
5685 enableval
="$enable_mslu"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5690 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5695 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5706 eval "$ac_cv_use_mslu"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_UNICODE_MSLU" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5724 # Check whether --enable-snglinst or --disable-snglinst was given.
5725 if test "${enable_snglinst+set}" = set; then
5726 enableval
="$enable_snglinst"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5731 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5736 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5747 eval "$ac_cv_use_snglinst"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5765 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5766 if test "${enable_std_iostreams+set}" = set; then
5767 enableval
="$enable_std_iostreams"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5772 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5777 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5788 eval "$ac_cv_use_std_iostreams"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_STD_IOSTREAM" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5806 # Check whether --enable-std_string or --disable-std_string was given.
5807 if test "${enable_std_string+set}" = set; then
5808 enableval
="$enable_std_string"
5810 if test "$enableval" = yes; then
5811 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5813 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5818 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x
; then
5820 eval "DEFAULT_$LINE"
5825 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5829 eval "$ac_cv_use_std_string"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_STD_STRING" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5847 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5848 if test "${enable_stdpaths+set}" = set; then
5849 enableval
="$enable_stdpaths"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5854 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5859 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5870 eval "$ac_cv_use_stdpaths"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_STDPATHS" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5888 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5889 if test "${enable_stopwatch+set}" = set; then
5890 enableval
="$enable_stopwatch"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5895 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5900 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5911 eval "$ac_cv_use_stopwatch"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_STOPWATCH" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5929 # Check whether --enable-streams or --disable-streams was given.
5930 if test "${enable_streams+set}" = set; then
5931 enableval
="$enable_streams"
5933 if test "$enableval" = yes; then
5934 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5936 ac_cv_use_streams
='wxUSE_STREAMS=no'
5941 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x
; then
5943 eval "DEFAULT_$LINE"
5948 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5952 eval "$ac_cv_use_streams"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_STREAMS" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5970 # Check whether --enable-system_options or --disable-system_options was given.
5971 if test "${enable_system_options+set}" = set; then
5972 enableval
="$enable_system_options"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5977 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5982 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5993 eval "$ac_cv_use_system_options"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6011 # Check whether --enable-textbuf or --disable-textbuf was given.
6012 if test "${enable_textbuf+set}" = set; then
6013 enableval
="$enable_textbuf"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6018 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6023 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6034 eval "$ac_cv_use_textbuf"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_TEXTBUFFER" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6052 # Check whether --enable-textfile or --disable-textfile was given.
6053 if test "${enable_textfile+set}" = set; then
6054 enableval
="$enable_textfile"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6059 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6064 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6075 eval "$ac_cv_use_textfile"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_TEXTFILE" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6093 # Check whether --enable-timer or --disable-timer was given.
6094 if test "${enable_timer+set}" = set; then
6095 enableval
="$enable_timer"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_timer
='wxUSE_TIMER=yes'
6100 ac_cv_use_timer
='wxUSE_TIMER=no'
6105 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6116 eval "$ac_cv_use_timer"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_TIMER" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6132 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6134 # Check whether --enable-unicode or --disable-unicode was given.
6135 if test "${enable_unicode+set}" = set; then
6136 enableval
="$enable_unicode"
6138 if test "$enableval" = yes; then
6139 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6141 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6146 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6147 if test "x$LINE" != x
; then
6148 eval "DEFAULT_$LINE"
6153 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6157 eval "$ac_cv_use_unicode"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6162 if test "$wxUSE_UNICODE" = yes; then
6163 echo "$as_me:$LINENO: result: yes" >&5
6164 echo "${ECHO_T}yes" >&6
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6175 # Check whether --enable-sound or --disable-sound was given.
6176 if test "${enable_sound+set}" = set; then
6177 enableval
="$enable_sound"
6179 if test "$enableval" = yes; then
6180 ac_cv_use_sound
='wxUSE_SOUND=yes'
6182 ac_cv_use_sound
='wxUSE_SOUND=no'
6187 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x
; then
6189 eval "DEFAULT_$LINE"
6194 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6198 eval "$ac_cv_use_sound"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6203 if test "$wxUSE_SOUND" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6216 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6217 if test "${enable_mediactrl+set}" = set; then
6218 enableval
="$enable_mediactrl"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6223 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6228 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x
; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6239 eval "$ac_cv_use_mediactrl"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6244 if test "$wxUSE_MEDIACTRL" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6257 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6258 if test "${enable_gstreamer8+set}" = set; then
6259 enableval
="$enable_gstreamer8"
6261 if test "$enableval" = yes; then
6262 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6264 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6269 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x
; then
6271 eval "DEFAULT_$LINE"
6276 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6280 eval "$ac_cv_use_gstreamer8"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_GSTREAMER8" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6298 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6299 if test "${enable_wxprintfv+set}" = set; then
6300 enableval
="$enable_wxprintfv"
6302 if test "$enableval" = yes; then
6303 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6305 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6310 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x
; then
6312 eval "DEFAULT_$LINE"
6317 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6321 eval "$ac_cv_use_wxprintfv"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6326 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6327 echo "$as_me:$LINENO: result: yes" >&5
6328 echo "${ECHO_T}yes" >&6
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6339 # Check whether --enable-zipstream or --disable-zipstream was given.
6340 if test "${enable_zipstream+set}" = set; then
6341 enableval
="$enable_zipstream"
6343 if test "$enableval" = yes; then
6344 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6346 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6351 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x
; then
6353 eval "DEFAULT_$LINE"
6358 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6362 eval "$ac_cv_use_zipstream"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6367 if test "$wxUSE_ZIPSTREAM" = yes; then
6368 echo "$as_me:$LINENO: result: yes" >&5
6369 echo "${ECHO_T}yes" >&6
6371 echo "$as_me:$LINENO: result: no" >&5
6372 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6381 # Check whether --enable-url or --disable-url was given.
6382 if test "${enable_url+set}" = set; then
6383 enableval
="$enable_url"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_url
='wxUSE_URL=yes'
6388 ac_cv_use_url
='wxUSE_URL=no'
6393 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6404 eval "$ac_cv_use_url"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_URL" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6422 # Check whether --enable-protocol or --disable-protocol was given.
6423 if test "${enable_protocol+set}" = set; then
6424 enableval
="$enable_protocol"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6429 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6434 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6445 eval "$ac_cv_use_protocol"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_PROTOCOL" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6463 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6464 if test "${enable_protocol_http+set}" = set; then
6465 enableval
="$enable_protocol_http"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6470 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6475 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6486 eval "$ac_cv_use_protocol_http"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6504 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6505 if test "${enable_protocol_ftp+set}" = set; then
6506 enableval
="$enable_protocol_ftp"
6508 if test "$enableval" = yes; then
6509 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6511 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6516 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x
; then
6518 eval "DEFAULT_$LINE"
6523 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6527 eval "$ac_cv_use_protocol_ftp"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6545 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6546 if test "${enable_protocol_file+set}" = set; then
6547 enableval
="$enable_protocol_file"
6549 if test "$enableval" = yes; then
6550 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6552 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6557 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x
; then
6559 eval "DEFAULT_$LINE"
6564 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6568 eval "$ac_cv_use_protocol_file"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6573 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6589 # Check whether --enable-threads or --disable-threads was given.
6590 if test "${enable_threads+set}" = set; then
6591 enableval
="$enable_threads"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_threads
='wxUSE_THREADS=yes'
6596 ac_cv_use_threads
='wxUSE_THREADS=no'
6601 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6612 eval "$ac_cv_use_threads"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_THREADS" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6626 if test "$wxUSE_GUI" = "yes"; then
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6634 # Check whether --enable-docview or --disable-docview was given.
6635 if test "${enable_docview+set}" = set; then
6636 enableval
="$enable_docview"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6641 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6646 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6657 eval "$ac_cv_use_docview"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6675 # Check whether --enable-help or --disable-help was given.
6676 if test "${enable_help+set}" = set; then
6677 enableval
="$enable_help"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_help
='wxUSE_HELP=yes'
6682 ac_cv_use_help
='wxUSE_HELP=no'
6687 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6698 eval "$ac_cv_use_help"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_HELP" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6716 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6717 if test "${enable_mshtmlhelp+set}" = set; then
6718 enableval
="$enable_mshtmlhelp"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6723 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6728 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6739 eval "$ac_cv_use_mshtmlhelp"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_MS_HTML_HELP" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6757 # Check whether --enable-html or --disable-html was given.
6758 if test "${enable_html+set}" = set; then
6759 enableval
="$enable_html"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_html
='wxUSE_HTML=yes'
6764 ac_cv_use_html
='wxUSE_HTML=no'
6769 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6780 eval "$ac_cv_use_html"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_HTML" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6798 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6799 if test "${enable_htmlhelp+set}" = set; then
6800 enableval
="$enable_htmlhelp"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6805 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6810 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6821 eval "$ac_cv_use_htmlhelp"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_WXHTML_HELP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6839 # Check whether --enable-xrc or --disable-xrc was given.
6840 if test "${enable_xrc+set}" = set; then
6841 enableval
="$enable_xrc"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_xrc
='wxUSE_XRC=yes'
6846 ac_cv_use_xrc
='wxUSE_XRC=no'
6851 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6862 eval "$ac_cv_use_xrc"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_XRC" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6880 # Check whether --enable-constraints or --disable-constraints was given.
6881 if test "${enable_constraints+set}" = set; then
6882 enableval
="$enable_constraints"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6887 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6892 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6903 eval "$ac_cv_use_constraints"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_CONSTRAINTS" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6921 # Check whether --enable-printarch or --disable-printarch was given.
6922 if test "${enable_printarch+set}" = set; then
6923 enableval
="$enable_printarch"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6928 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6933 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6944 eval "$ac_cv_use_printarch"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6960 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6962 # Check whether --enable-mdi or --disable-mdi was given.
6963 if test "${enable_mdi+set}" = set; then
6964 enableval
="$enable_mdi"
6966 if test "$enableval" = yes; then
6967 ac_cv_use_mdi
='wxUSE_MDI=yes'
6969 ac_cv_use_mdi
='wxUSE_MDI=no'
6974 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x
; then
6976 eval "DEFAULT_$LINE"
6981 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6985 eval "$ac_cv_use_mdi"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6990 if test "$wxUSE_MDI" = yes; then
6991 echo "$as_me:$LINENO: result: yes" >&5
6992 echo "${ECHO_T}yes" >&6
6994 echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6
7000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7003 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7004 if test "${enable_mdidoc+set}" = set; then
7005 enableval
="$enable_mdidoc"
7007 if test "$enableval" = yes; then
7008 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7010 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7015 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x
; then
7017 eval "DEFAULT_$LINE"
7022 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7026 eval "$ac_cv_use_mdidoc"
7027 if test "$no_cache" != 1; then
7028 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7031 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7032 echo "$as_me:$LINENO: result: yes" >&5
7033 echo "${ECHO_T}yes" >&6
7035 echo "$as_me:$LINENO: result: no" >&5
7036 echo "${ECHO_T}no" >&6
7041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7044 # Check whether --enable-loggui or --disable-loggui was given.
7045 if test "${enable_loggui+set}" = set; then
7046 enableval
="$enable_loggui"
7048 if test "$enableval" = yes; then
7049 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7051 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7056 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x
; then
7058 eval "DEFAULT_$LINE"
7063 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7067 eval "$ac_cv_use_loggui"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_LOGGUI" = yes; then
7073 echo "$as_me:$LINENO: result: yes" >&5
7074 echo "${ECHO_T}yes" >&6
7076 echo "$as_me:$LINENO: result: no" >&5
7077 echo "${ECHO_T}no" >&6
7082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7085 # Check whether --enable-logwin or --disable-logwin was given.
7086 if test "${enable_logwin+set}" = set; then
7087 enableval
="$enable_logwin"
7089 if test "$enableval" = yes; then
7090 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7092 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7097 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7098 if test "x$LINE" != x
; then
7099 eval "DEFAULT_$LINE"
7104 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7108 eval "$ac_cv_use_logwin"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7113 if test "$wxUSE_LOGWINDOW" = yes; then
7114 echo "$as_me:$LINENO: result: yes" >&5
7115 echo "${ECHO_T}yes" >&6
7117 echo "$as_me:$LINENO: result: no" >&5
7118 echo "${ECHO_T}no" >&6
7123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7126 # Check whether --enable-logdialog or --disable-logdialog was given.
7127 if test "${enable_logdialog+set}" = set; then
7128 enableval
="$enable_logdialog"
7130 if test "$enableval" = yes; then
7131 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7133 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7138 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x
; then
7140 eval "DEFAULT_$LINE"
7145 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7149 eval "$ac_cv_use_logdialog"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7154 if test "$wxUSE_LOGDIALOG" = yes; then
7155 echo "$as_me:$LINENO: result: yes" >&5
7156 echo "${ECHO_T}yes" >&6
7158 echo "$as_me:$LINENO: result: no" >&5
7159 echo "${ECHO_T}no" >&6
7164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7167 # Check whether --enable-webkit or --disable-webkit was given.
7168 if test "${enable_webkit+set}" = set; then
7169 enableval
="$enable_webkit"
7171 if test "$enableval" = yes; then
7172 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7174 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7179 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x
; then
7181 eval "DEFAULT_$LINE"
7186 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7190 eval "$ac_cv_use_webkit"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7195 if test "$wxUSE_WEBKIT" = yes; then
7196 echo "$as_me:$LINENO: result: yes" >&5
7197 echo "${ECHO_T}yes" >&6
7199 echo "$as_me:$LINENO: result: no" >&5
7200 echo "${ECHO_T}no" >&6
7205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7208 # Check whether --enable-html or --disable-html was given.
7209 if test "${enable_html+set}" = set; then
7210 enableval
="$enable_html"
7212 if test "$enableval" = yes; then
7213 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7215 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7220 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x
; then
7222 eval "DEFAULT_$LINE"
7227 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7231 eval "$ac_cv_use_html"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7236 if test "$wxUSE_RICHTEXT" = yes; then
7237 echo "$as_me:$LINENO: result: yes" >&5
7238 echo "${ECHO_T}yes" >&6
7240 echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7250 # Check whether --enable-postscript or --disable-postscript was given.
7251 if test "${enable_postscript+set}" = set; then
7252 enableval
="$enable_postscript"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7257 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7262 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7273 eval "$ac_cv_use_postscript"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_POSTSCRIPT" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7294 # Check whether --enable-prologio or --disable-prologio was given.
7295 if test "${enable_prologio+set}" = set; then
7296 enableval
="$enable_prologio"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7301 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7306 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7317 eval "$ac_cv_use_prologio"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_PROLOGIO" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7335 # Check whether --enable-resources or --disable-resources was given.
7336 if test "${enable_resources+set}" = set; then
7337 enableval
="$enable_resources"
7339 if test "$enableval" = yes; then
7340 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7342 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7347 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x
; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7358 eval "$ac_cv_use_resources"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_RESOURCES" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7378 # Check whether --enable-clipboard or --disable-clipboard was given.
7379 if test "${enable_clipboard+set}" = set; then
7380 enableval
="$enable_clipboard"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7385 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7390 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7401 eval "$ac_cv_use_clipboard"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_CLIPBOARD" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7419 # Check whether --enable-dnd or --disable-dnd was given.
7420 if test "${enable_dnd+set}" = set; then
7421 enableval
="$enable_dnd"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7426 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7431 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7442 eval "$ac_cv_use_dnd"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7460 # Check whether --enable-metafile or --disable-metafile was given.
7461 if test "${enable_metafile+set}" = set; then
7462 enableval
="$enable_metafile"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7467 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7472 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7483 eval "$ac_cv_use_metafile"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_METAFILE" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7504 # Check whether --enable-controls or --disable-controls was given.
7505 if test "${enable_controls+set}" = set; then
7506 enableval
="$enable_controls"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7511 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7516 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7527 eval "$ac_cv_use_controls"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_CONTROLS" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7541 if test "$wxUSE_CONTROLS" = "yes"; then
7542 DEFAULT_wxUSE_ACCEL
=yes
7543 DEFAULT_wxUSE_BMPBUTTON
=yes
7544 DEFAULT_wxUSE_BUTTON
=yes
7545 DEFAULT_wxUSE_CALCTRL
=yes
7546 DEFAULT_wxUSE_CARET
=yes
7547 DEFAULT_wxUSE_COMBOBOX
=yes
7548 DEFAULT_wxUSE_CHECKBOX
=yes
7549 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7550 DEFAULT_wxUSE_CHOICE
=yes
7551 DEFAULT_wxUSE_CHOICEBOOK
=yes
7552 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7553 DEFAULT_wxUSE_GAUGE
=yes
7554 DEFAULT_wxUSE_GRID
=yes
7555 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7556 DEFAULT_wxUSE_IMAGLIST
=yes
7557 DEFAULT_wxUSE_LISTBOOK
=yes
7558 DEFAULT_wxUSE_LISTBOX
=yes
7559 DEFAULT_wxUSE_LISTCTRL
=yes
7560 DEFAULT_wxUSE_NOTEBOOK
=yes
7561 DEFAULT_wxUSE_RADIOBOX
=yes
7562 DEFAULT_wxUSE_RADIOBTN
=yes
7563 DEFAULT_wxUSE_SASH
=yes
7564 DEFAULT_wxUSE_SCROLLBAR
=yes
7565 DEFAULT_wxUSE_SLIDER
=yes
7566 DEFAULT_wxUSE_SPINBTN
=yes
7567 DEFAULT_wxUSE_SPINCTRL
=yes
7568 DEFAULT_wxUSE_SPLITTER
=yes
7569 DEFAULT_wxUSE_STATBMP
=yes
7570 DEFAULT_wxUSE_STATBOX
=yes
7571 DEFAULT_wxUSE_STATLINE
=yes
7572 DEFAULT_wxUSE_STATUSBAR
=yes
7573 DEFAULT_wxUSE_TAB_DIALOG
=yes
7574 DEFAULT_wxUSE_TOGGLEBTN
=yes
7575 DEFAULT_wxUSE_TOOLBAR
=yes
7576 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7577 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7578 DEFAULT_wxUSE_TOOLTIPS
=yes
7579 DEFAULT_wxUSE_TREEBOOK
=yes
7580 DEFAULT_wxUSE_TOOLBOOK
=yes
7581 DEFAULT_wxUSE_TREECTRL
=yes
7582 DEFAULT_wxUSE_POPUPWIN
=yes
7583 DEFAULT_wxUSE_TIPWINDOW
=yes
7584 elif test "$wxUSE_CONTROLS" = "no"; then
7585 DEFAULT_wxUSE_ACCEL
=no
7586 DEFAULT_wxUSE_BMPBUTTON
=no
7587 DEFAULT_wxUSE_BUTTON
=no
7588 DEFAULT_wxUSE_CALCTRL
=no
7589 DEFAULT_wxUSE_CARET
=no
7590 DEFAULT_wxUSE_COMBOBOX
=no
7591 DEFAULT_wxUSE_CHECKBOX
=no
7592 DEFAULT_wxUSE_CHECKLISTBOX
=no
7593 DEFAULT_wxUSE_CHOICE
=no
7594 DEFAULT_wxUSE_CHOICEBOOK
=no
7595 DEFAULT_wxUSE_DATEPICKCTRL
=no
7596 DEFAULT_wxUSE_GAUGE
=no
7597 DEFAULT_wxUSE_GRID
=no
7598 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7599 DEFAULT_wxUSE_IMAGLIST
=no
7600 DEFAULT_wxUSE_LISTBOOK
=no
7601 DEFAULT_wxUSE_LISTBOX
=no
7602 DEFAULT_wxUSE_LISTCTRL
=no
7603 DEFAULT_wxUSE_NOTEBOOK
=no
7604 DEFAULT_wxUSE_RADIOBOX
=no
7605 DEFAULT_wxUSE_RADIOBTN
=no
7606 DEFAULT_wxUSE_SASH
=no
7607 DEFAULT_wxUSE_SCROLLBAR
=no
7608 DEFAULT_wxUSE_SLIDER
=no
7609 DEFAULT_wxUSE_SPINBTN
=no
7610 DEFAULT_wxUSE_SPINCTRL
=no
7611 DEFAULT_wxUSE_SPLITTER
=no
7612 DEFAULT_wxUSE_STATBMP
=no
7613 DEFAULT_wxUSE_STATBOX
=no
7614 DEFAULT_wxUSE_STATLINE
=no
7615 DEFAULT_wxUSE_STATUSBAR
=no
7616 DEFAULT_wxUSE_TAB_DIALOG
=no
7617 DEFAULT_wxUSE_TOGGLEBTN
=no
7618 DEFAULT_wxUSE_TOOLBAR
=no
7619 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7620 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7621 DEFAULT_wxUSE_TOOLTIPS
=no
7622 DEFAULT_wxUSE_TREEBOOK
=no
7623 DEFAULT_wxUSE_TOOLBOOK
=no
7624 DEFAULT_wxUSE_TREECTRL
=no
7625 DEFAULT_wxUSE_POPUPWIN
=no
7626 DEFAULT_wxUSE_TIPWINDOW
=no
7631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7632 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7634 # Check whether --enable-accel or --disable-accel was given.
7635 if test "${enable_accel+set}" = set; then
7636 enableval
="$enable_accel"
7638 if test "$enableval" = yes; then
7639 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7641 ac_cv_use_accel
='wxUSE_ACCEL=no'
7646 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x
; then
7648 eval "DEFAULT_$LINE"
7653 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7657 eval "$ac_cv_use_accel"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7662 if test "$wxUSE_ACCEL" = yes; then
7663 echo "$as_me:$LINENO: result: yes" >&5
7664 echo "${ECHO_T}yes" >&6
7666 echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7675 # Check whether --enable-button or --disable-button was given.
7676 if test "${enable_button+set}" = set; then
7677 enableval
="$enable_button"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_button
='wxUSE_BUTTON=yes'
7682 ac_cv_use_button
='wxUSE_BUTTON=no'
7687 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x
; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7698 eval "$ac_cv_use_button"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_BUTTON" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7716 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7717 if test "${enable_bmpbutton+set}" = set; then
7718 enableval
="$enable_bmpbutton"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7723 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7728 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7739 eval "$ac_cv_use_bmpbutton"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_BMPBUTTON" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7757 # Check whether --enable-calendar or --disable-calendar was given.
7758 if test "${enable_calendar+set}" = set; then
7759 enableval
="$enable_calendar"
7761 if test "$enableval" = yes; then
7762 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7764 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7769 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x
; then
7771 eval "DEFAULT_$LINE"
7776 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7780 eval "$ac_cv_use_calendar"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_CALCTRL" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7798 # Check whether --enable-caret or --disable-caret was given.
7799 if test "${enable_caret+set}" = set; then
7800 enableval
="$enable_caret"
7802 if test "$enableval" = yes; then
7803 ac_cv_use_caret
='wxUSE_CARET=yes'
7805 ac_cv_use_caret
='wxUSE_CARET=no'
7810 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x
; then
7812 eval "DEFAULT_$LINE"
7817 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7821 eval "$ac_cv_use_caret"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7826 if test "$wxUSE_CARET" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7839 # Check whether --enable-checkbox or --disable-checkbox was given.
7840 if test "${enable_checkbox+set}" = set; then
7841 enableval
="$enable_checkbox"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7846 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7851 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x
; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7862 eval "$ac_cv_use_checkbox"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_CHECKBOX" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7880 # Check whether --enable-checklst or --disable-checklst was given.
7881 if test "${enable_checklst+set}" = set; then
7882 enableval
="$enable_checklst"
7884 if test "$enableval" = yes; then
7885 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7887 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7892 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x
; then
7894 eval "DEFAULT_$LINE"
7899 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7903 eval "$ac_cv_use_checklst"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_CHECKLST" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7921 # Check whether --enable-choice or --disable-choice was given.
7922 if test "${enable_choice+set}" = set; then
7923 enableval
="$enable_choice"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7928 ac_cv_use_choice
='wxUSE_CHOICE=no'
7933 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7944 eval "$ac_cv_use_choice"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_CHOICE" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7962 # Check whether --enable-choicebook or --disable-choicebook was given.
7963 if test "${enable_choicebook+set}" = set; then
7964 enableval
="$enable_choicebook"
7966 if test "$enableval" = yes; then
7967 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7969 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7974 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x
; then
7976 eval "DEFAULT_$LINE"
7981 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7985 eval "$ac_cv_use_choicebook"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7990 if test "$wxUSE_CHOICEBOOK" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8003 # Check whether --enable-combobox or --disable-combobox was given.
8004 if test "${enable_combobox+set}" = set; then
8005 enableval
="$enable_combobox"
8007 if test "$enableval" = yes; then
8008 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8010 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8015 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x
; then
8017 eval "DEFAULT_$LINE"
8022 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8026 eval "$ac_cv_use_combobox"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_COMBOBOX" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8044 # Check whether --enable-datepick or --disable-datepick was given.
8045 if test "${enable_datepick+set}" = set; then
8046 enableval
="$enable_datepick"
8048 if test "$enableval" = yes; then
8049 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8051 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8056 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x
; then
8058 eval "DEFAULT_$LINE"
8063 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8067 eval "$ac_cv_use_datepick"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8072 if test "$wxUSE_DATEPICKCTRL" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8085 # Check whether --enable-display or --disable-display was given.
8086 if test "${enable_display+set}" = set; then
8087 enableval
="$enable_display"
8089 if test "$enableval" = yes; then
8090 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8092 ac_cv_use_display
='wxUSE_DISPLAY=no'
8097 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x
; then
8099 eval "DEFAULT_$LINE"
8104 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8108 eval "$ac_cv_use_display"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8113 if test "$wxUSE_DISPLAY" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8126 # Check whether --enable-gauge or --disable-gauge was given.
8127 if test "${enable_gauge+set}" = set; then
8128 enableval
="$enable_gauge"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8133 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8138 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8149 eval "$ac_cv_use_gauge"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8154 if test "$wxUSE_GAUGE" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8167 # Check whether --enable-grid or --disable-grid was given.
8168 if test "${enable_grid+set}" = set; then
8169 enableval
="$enable_grid"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_grid
='wxUSE_GRID=yes'
8174 ac_cv_use_grid
='wxUSE_GRID=no'
8179 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x
; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8190 eval "$ac_cv_use_grid"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_GRID" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8208 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8209 if test "${enable_dataviewctrl+set}" = set; then
8210 enableval
="$enable_dataviewctrl"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8215 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8220 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x
; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8231 eval "$ac_cv_use_dataviewctrl"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8236 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8249 # Check whether --enable-imaglist or --disable-imaglist was given.
8250 if test "${enable_imaglist+set}" = set; then
8251 enableval
="$enable_imaglist"
8253 if test "$enableval" = yes; then
8254 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8256 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8261 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x
; then
8263 eval "DEFAULT_$LINE"
8268 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8272 eval "$ac_cv_use_imaglist"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_IMAGLIST" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8290 # Check whether --enable-listbook or --disable-listbook was given.
8291 if test "${enable_listbook+set}" = set; then
8292 enableval
="$enable_listbook"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8297 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8302 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x
; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8313 eval "$ac_cv_use_listbook"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8318 if test "$wxUSE_LISTBOOK" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8331 # Check whether --enable-listbox or --disable-listbox was given.
8332 if test "${enable_listbox+set}" = set; then
8333 enableval
="$enable_listbox"
8335 if test "$enableval" = yes; then
8336 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8338 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8343 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x
; then
8345 eval "DEFAULT_$LINE"
8350 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8354 eval "$ac_cv_use_listbox"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_LISTBOX" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8372 # Check whether --enable-listctrl or --disable-listctrl was given.
8373 if test "${enable_listctrl+set}" = set; then
8374 enableval
="$enable_listctrl"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8379 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8384 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x
; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8395 eval "$ac_cv_use_listctrl"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_LISTCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8413 # Check whether --enable-notebook or --disable-notebook was given.
8414 if test "${enable_notebook+set}" = set; then
8415 enableval
="$enable_notebook"
8417 if test "$enableval" = yes; then
8418 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8420 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8425 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x
; then
8427 eval "DEFAULT_$LINE"
8432 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8436 eval "$ac_cv_use_notebook"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_NOTEBOOK" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8454 # Check whether --enable-radiobox or --disable-radiobox was given.
8455 if test "${enable_radiobox+set}" = set; then
8456 enableval
="$enable_radiobox"
8458 if test "$enableval" = yes; then
8459 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8461 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8466 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x
; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8477 eval "$ac_cv_use_radiobox"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_RADIOBOX" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8495 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8496 if test "${enable_radiobtn+set}" = set; then
8497 enableval
="$enable_radiobtn"
8499 if test "$enableval" = yes; then
8500 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8502 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8507 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x
; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8518 eval "$ac_cv_use_radiobtn"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8523 if test "$wxUSE_RADIOBTN" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8536 # Check whether --enable-sash or --disable-sash was given.
8537 if test "${enable_sash+set}" = set; then
8538 enableval
="$enable_sash"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_sash
='wxUSE_SASH=yes'
8543 ac_cv_use_sash
='wxUSE_SASH=no'
8548 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x
; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8559 eval "$ac_cv_use_sash"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8564 if test "$wxUSE_SASH" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8577 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8578 if test "${enable_scrollbar+set}" = set; then
8579 enableval
="$enable_scrollbar"
8581 if test "$enableval" = yes; then
8582 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8584 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8589 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x
; then
8591 eval "DEFAULT_$LINE"
8596 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8600 eval "$ac_cv_use_scrollbar"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_SCROLLBAR" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8618 # Check whether --enable-slider or --disable-slider was given.
8619 if test "${enable_slider+set}" = set; then
8620 enableval
="$enable_slider"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8625 ac_cv_use_slider
='wxUSE_SLIDER=no'
8630 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x
; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8641 eval "$ac_cv_use_slider"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8646 if test "$wxUSE_SLIDER" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8659 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8660 if test "${enable_spinbtn+set}" = set; then
8661 enableval
="$enable_spinbtn"
8663 if test "$enableval" = yes; then
8664 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8666 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8671 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x
; then
8673 eval "DEFAULT_$LINE"
8678 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8682 eval "$ac_cv_use_spinbtn"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_SPINBTN" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8700 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8701 if test "${enable_spinctrl+set}" = set; then
8702 enableval
="$enable_spinctrl"
8704 if test "$enableval" = yes; then
8705 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8707 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8712 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x
; then
8714 eval "DEFAULT_$LINE"
8719 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8723 eval "$ac_cv_use_spinctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8728 if test "$wxUSE_SPINCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8741 # Check whether --enable-splitter or --disable-splitter was given.
8742 if test "${enable_splitter+set}" = set; then
8743 enableval
="$enable_splitter"
8745 if test "$enableval" = yes; then
8746 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8748 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8753 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x
; then
8755 eval "DEFAULT_$LINE"
8760 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8764 eval "$ac_cv_use_splitter"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8769 if test "$wxUSE_SPLITTER" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8782 # Check whether --enable-statbmp or --disable-statbmp was given.
8783 if test "${enable_statbmp+set}" = set; then
8784 enableval
="$enable_statbmp"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8789 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8794 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x
; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8805 eval "$ac_cv_use_statbmp"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_STATBMP" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8823 # Check whether --enable-statbox or --disable-statbox was given.
8824 if test "${enable_statbox+set}" = set; then
8825 enableval
="$enable_statbox"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8830 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8835 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x
; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8846 eval "$ac_cv_use_statbox"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_STATBOX" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8864 # Check whether --enable-statline or --disable-statline was given.
8865 if test "${enable_statline+set}" = set; then
8866 enableval
="$enable_statline"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8871 ac_cv_use_statline
='wxUSE_STATLINE=no'
8876 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x
; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8887 eval "$ac_cv_use_statline"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_STATLINE" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8905 # Check whether --enable-stattext or --disable-stattext was given.
8906 if test "${enable_stattext+set}" = set; then
8907 enableval
="$enable_stattext"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8912 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8917 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x
; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8928 eval "$ac_cv_use_stattext"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_STATTEXT" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8946 # Check whether --enable-statusbar or --disable-statusbar was given.
8947 if test "${enable_statusbar+set}" = set; then
8948 enableval
="$enable_statusbar"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8953 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8958 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x
; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8969 eval "$ac_cv_use_statusbar"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_STATUSBAR" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8987 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8988 if test "${enable_tabdialog+set}" = set; then
8989 enableval
="$enable_tabdialog"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
8994 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
8999 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x
; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9010 eval "$ac_cv_use_tabdialog"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_TAB_DIALOG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9028 # Check whether --enable-textctrl or --disable-textctrl was given.
9029 if test "${enable_textctrl+set}" = set; then
9030 enableval
="$enable_textctrl"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9035 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9040 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x
; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9051 eval "$ac_cv_use_textctrl"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_TEXTCTRL" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9069 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9070 if test "${enable_togglebtn+set}" = set; then
9071 enableval
="$enable_togglebtn"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9076 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9081 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x
; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9092 eval "$ac_cv_use_togglebtn"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_TOGGLEBTN" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9110 # Check whether --enable-toolbar or --disable-toolbar was given.
9111 if test "${enable_toolbar+set}" = set; then
9112 enableval
="$enable_toolbar"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9117 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9122 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x
; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9133 eval "$ac_cv_use_toolbar"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_TOOLBAR" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9151 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9152 if test "${enable_tbarnative+set}" = set; then
9153 enableval
="$enable_tbarnative"
9155 if test "$enableval" = yes; then
9156 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9158 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9163 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x
; then
9165 eval "DEFAULT_$LINE"
9170 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9174 eval "$ac_cv_use_tbarnative"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9179 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9192 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9193 if test "${enable_tbarsmpl+set}" = set; then
9194 enableval
="$enable_tbarsmpl"
9196 if test "$enableval" = yes; then
9197 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9199 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9204 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x
; then
9206 eval "DEFAULT_$LINE"
9211 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9215 eval "$ac_cv_use_tbarsmpl"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9220 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9233 # Check whether --enable-treebook or --disable-treebook was given.
9234 if test "${enable_treebook+set}" = set; then
9235 enableval
="$enable_treebook"
9237 if test "$enableval" = yes; then
9238 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9240 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9245 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x
; then
9247 eval "DEFAULT_$LINE"
9252 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9256 eval "$ac_cv_use_treebook"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9261 if test "$wxUSE_TREEBOOK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9274 # Check whether --enable-toolbook or --disable-toolbook was given.
9275 if test "${enable_toolbook+set}" = set; then
9276 enableval
="$enable_toolbook"
9278 if test "$enableval" = yes; then
9279 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9281 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9286 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x
; then
9288 eval "DEFAULT_$LINE"
9293 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9297 eval "$ac_cv_use_toolbook"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9302 if test "$wxUSE_TOOLBOOK" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9315 # Check whether --enable-treectrl or --disable-treectrl was given.
9316 if test "${enable_treectrl+set}" = set; then
9317 enableval
="$enable_treectrl"
9319 if test "$enableval" = yes; then
9320 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9322 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9327 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x
; then
9329 eval "DEFAULT_$LINE"
9334 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9338 eval "$ac_cv_use_treectrl"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9343 if test "$wxUSE_TREECTRL" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9356 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9357 if test "${enable_tipwindow+set}" = set; then
9358 enableval
="$enable_tipwindow"
9360 if test "$enableval" = yes; then
9361 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9363 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9368 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x
; then
9370 eval "DEFAULT_$LINE"
9375 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9379 eval "$ac_cv_use_tipwindow"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9384 if test "$wxUSE_TIPWINDOW" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9397 # Check whether --enable-popupwin or --disable-popupwin was given.
9398 if test "${enable_popupwin+set}" = set; then
9399 enableval
="$enable_popupwin"
9401 if test "$enableval" = yes; then
9402 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9404 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9409 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9410 if test "x$LINE" != x
; then
9411 eval "DEFAULT_$LINE"
9416 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9420 eval "$ac_cv_use_popupwin"
9421 if test "$no_cache" != 1; then
9422 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9425 if test "$wxUSE_POPUPWIN" = yes; then
9426 echo "$as_me:$LINENO: result: yes" >&5
9427 echo "${ECHO_T}yes" >&6
9429 echo "$as_me:$LINENO: result: no" >&5
9430 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9440 # Check whether --enable-commondlg or --disable-commondlg was given.
9441 if test "${enable_commondlg+set}" = set; then
9442 enableval
="$enable_commondlg"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9447 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9452 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x
; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9463 eval "$ac_cv_use_commondlg"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_COMMONDLGS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9481 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9482 if test "${enable_choicedlg+set}" = set; then
9483 enableval
="$enable_choicedlg"
9485 if test "$enableval" = yes; then
9486 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9488 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9493 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x
; then
9495 eval "DEFAULT_$LINE"
9500 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9504 eval "$ac_cv_use_choicedlg"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9509 if test "$wxUSE_CHOICEDLG" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9522 # Check whether --enable-coldlg or --disable-coldlg was given.
9523 if test "${enable_coldlg+set}" = set; then
9524 enableval
="$enable_coldlg"
9526 if test "$enableval" = yes; then
9527 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9529 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9534 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x
; then
9536 eval "DEFAULT_$LINE"
9541 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9545 eval "$ac_cv_use_coldlg"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9550 if test "$wxUSE_COLOURDLG" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9563 # Check whether --enable-filedlg or --disable-filedlg was given.
9564 if test "${enable_filedlg+set}" = set; then
9565 enableval
="$enable_filedlg"
9567 if test "$enableval" = yes; then
9568 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9570 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9575 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x
; then
9577 eval "DEFAULT_$LINE"
9582 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9586 eval "$ac_cv_use_filedlg"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9591 if test "$wxUSE_FILEDLG" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9604 # Check whether --enable-finddlg or --disable-finddlg was given.
9605 if test "${enable_finddlg+set}" = set; then
9606 enableval
="$enable_finddlg"
9608 if test "$enableval" = yes; then
9609 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9611 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9616 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x
; then
9618 eval "DEFAULT_$LINE"
9623 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9627 eval "$ac_cv_use_finddlg"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9632 if test "$wxUSE_FINDREPLDLG" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9645 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9646 if test "${enable_fontdlg+set}" = set; then
9647 enableval
="$enable_fontdlg"
9649 if test "$enableval" = yes; then
9650 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9652 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9657 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x
; then
9659 eval "DEFAULT_$LINE"
9664 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9668 eval "$ac_cv_use_fontdlg"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9673 if test "$wxUSE_FONTDLG" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9686 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9687 if test "${enable_dirdlg+set}" = set; then
9688 enableval
="$enable_dirdlg"
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9693 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9698 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x
; then
9700 eval "DEFAULT_$LINE"
9705 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9709 eval "$ac_cv_use_dirdlg"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9714 if test "$wxUSE_DIRDLG" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9727 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9728 if test "${enable_msgdlg+set}" = set; then
9729 enableval
="$enable_msgdlg"
9731 if test "$enableval" = yes; then
9732 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9734 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9739 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x
; then
9741 eval "DEFAULT_$LINE"
9746 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9750 eval "$ac_cv_use_msgdlg"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9755 if test "$wxUSE_MSGDLG" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9768 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9769 if test "${enable_numberdlg+set}" = set; then
9770 enableval
="$enable_numberdlg"
9772 if test "$enableval" = yes; then
9773 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9775 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9780 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9781 if test "x$LINE" != x
; then
9782 eval "DEFAULT_$LINE"
9787 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9791 eval "$ac_cv_use_numberdlg"
9792 if test "$no_cache" != 1; then
9793 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9796 if test "$wxUSE_NUMBERDLG" = yes; then
9797 echo "$as_me:$LINENO: result: yes" >&5
9798 echo "${ECHO_T}yes" >&6
9800 echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6
9806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9809 # Check whether --enable-splash or --disable-splash was given.
9810 if test "${enable_splash+set}" = set; then
9811 enableval
="$enable_splash"
9813 if test "$enableval" = yes; then
9814 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9816 ac_cv_use_splash
='wxUSE_SPLASH=no'
9821 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x
; then
9823 eval "DEFAULT_$LINE"
9828 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9832 eval "$ac_cv_use_splash"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9837 if test "$wxUSE_SPLASH" = yes; then
9838 echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9850 # Check whether --enable-textdlg or --disable-textdlg was given.
9851 if test "${enable_textdlg+set}" = set; then
9852 enableval
="$enable_textdlg"
9854 if test "$enableval" = yes; then
9855 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9857 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9862 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x
; then
9864 eval "DEFAULT_$LINE"
9869 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9873 eval "$ac_cv_use_textdlg"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9878 if test "$wxUSE_TEXTDLG" = yes; then
9879 echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6
9882 echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9891 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9892 if test "${enable_tipdlg+set}" = set; then
9893 enableval
="$enable_tipdlg"
9895 if test "$enableval" = yes; then
9896 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9898 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9903 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x
; then
9905 eval "DEFAULT_$LINE"
9910 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9914 eval "$ac_cv_use_tipdlg"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9919 if test "$wxUSE_STARTUP_TIPS" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9932 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9933 if test "${enable_progressdlg+set}" = set; then
9934 enableval
="$enable_progressdlg"
9936 if test "$enableval" = yes; then
9937 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9939 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9944 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x
; then
9946 eval "DEFAULT_$LINE"
9951 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9955 eval "$ac_cv_use_progressdlg"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9960 if test "$wxUSE_PROGRESSDLG" = yes; then
9961 echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6
9964 echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6
9970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9973 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9974 if test "${enable_wizarddlg+set}" = set; then
9975 enableval
="$enable_wizarddlg"
9977 if test "$enableval" = yes; then
9978 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9980 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9985 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x
; then
9987 eval "DEFAULT_$LINE"
9992 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9996 eval "$ac_cv_use_wizarddlg"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10001 if test "$wxUSE_WIZARDDLG" = yes; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10016 # Check whether --enable-menus or --disable-menus was given.
10017 if test "${enable_menus+set}" = set; then
10018 enableval
="$enable_menus"
10020 if test "$enableval" = yes; then
10021 ac_cv_use_menus
='wxUSE_MENUS=yes'
10023 ac_cv_use_menus
='wxUSE_MENUS=no'
10028 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x
; then
10030 eval "DEFAULT_$LINE"
10035 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10039 eval "$ac_cv_use_menus"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10044 if test "$wxUSE_MENUS" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10057 # Check whether --enable-miniframe or --disable-miniframe was given.
10058 if test "${enable_miniframe+set}" = set; then
10059 enableval
="$enable_miniframe"
10061 if test "$enableval" = yes; then
10062 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10064 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10069 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x
; then
10071 eval "DEFAULT_$LINE"
10076 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10080 eval "$ac_cv_use_miniframe"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10085 if test "$wxUSE_MINIFRAME" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087 echo "${ECHO_T}yes" >&6
10089 echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10098 # Check whether --enable-tooltips or --disable-tooltips was given.
10099 if test "${enable_tooltips+set}" = set; then
10100 enableval
="$enable_tooltips"
10102 if test "$enableval" = yes; then
10103 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10105 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10110 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x
; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10121 eval "$ac_cv_use_tooltips"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10126 if test "$wxUSE_TOOLTIPS" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10139 # Check whether --enable-splines or --disable-splines was given.
10140 if test "${enable_splines+set}" = set; then
10141 enableval
="$enable_splines"
10143 if test "$enableval" = yes; then
10144 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10146 ac_cv_use_splines
='wxUSE_SPLINES=no'
10151 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x
; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10162 eval "$ac_cv_use_splines"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10167 if test "$wxUSE_SPLINES" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10180 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10181 if test "${enable_mousewheel+set}" = set; then
10182 enableval
="$enable_mousewheel"
10184 if test "$enableval" = yes; then
10185 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10187 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10192 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x
; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10203 eval "$ac_cv_use_mousewheel"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10208 if test "$wxUSE_MOUSEWHEEL" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10221 # Check whether --enable-validators or --disable-validators was given.
10222 if test "${enable_validators+set}" = set; then
10223 enableval
="$enable_validators"
10225 if test "$enableval" = yes; then
10226 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10228 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10233 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x
; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10244 eval "$ac_cv_use_validators"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10249 if test "$wxUSE_VALIDATORS" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10262 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10263 if test "${enable_busyinfo+set}" = set; then
10264 enableval
="$enable_busyinfo"
10266 if test "$enableval" = yes; then
10267 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10269 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10274 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x
; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10285 eval "$ac_cv_use_busyinfo"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10290 if test "$wxUSE_BUSYINFO" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10303 # Check whether --enable-joystick or --disable-joystick was given.
10304 if test "${enable_joystick+set}" = set; then
10305 enableval
="$enable_joystick"
10307 if test "$enableval" = yes; then
10308 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10310 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10315 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x
; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10326 eval "$ac_cv_use_joystick"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10331 if test "$wxUSE_JOYSTICK" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10344 # Check whether --enable-metafile or --disable-metafile was given.
10345 if test "${enable_metafile+set}" = set; then
10346 enableval
="$enable_metafile"
10348 if test "$enableval" = yes; then
10349 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10351 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10356 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x
; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10367 eval "$ac_cv_use_metafile"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10372 if test "$wxUSE_METAFILE" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10385 # Check whether --enable-dragimage or --disable-dragimage was given.
10386 if test "${enable_dragimage+set}" = set; then
10387 enableval
="$enable_dragimage"
10389 if test "$enableval" = yes; then
10390 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10392 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10397 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x
; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10408 eval "$ac_cv_use_dragimage"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10413 if test "$wxUSE_DRAGIMAGE" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10426 # Check whether --enable-accessibility or --disable-accessibility was given.
10427 if test "${enable_accessibility+set}" = set; then
10428 enableval
="$enable_accessibility"
10430 if test "$enableval" = yes; then
10431 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10433 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10438 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x
; then
10440 eval "DEFAULT_$LINE"
10445 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10449 eval "$ac_cv_use_accessibility"
10450 if test "$no_cache" != 1; then
10451 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10454 if test "$wxUSE_ACCESSIBILITY" = yes; then
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10458 echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6
10463 if test "$wxUSE_MSW" = "1"; then
10466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10469 # Check whether --enable-dccache or --disable-dccache was given.
10470 if test "${enable_dccache+set}" = set; then
10471 enableval
="$enable_dccache"
10473 if test "$enableval" = yes; then
10474 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10476 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10481 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10482 if test "x$LINE" != x
; then
10483 eval "DEFAULT_$LINE"
10488 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10492 eval "$ac_cv_use_dccache"
10493 if test "$no_cache" != 1; then
10494 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10497 if test "$wxUSE_DC_CACHEING" = yes; then
10498 echo "$as_me:$LINENO: result: yes" >&5
10499 echo "${ECHO_T}yes" >&6
10501 echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6
10510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10513 # Check whether --enable-palette or --disable-palette was given.
10514 if test "${enable_palette+set}" = set; then
10515 enableval
="$enable_palette"
10517 if test "$enableval" = yes; then
10518 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10520 ac_cv_use_palette
='wxUSE_PALETTE=no'
10525 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10526 if test "x$LINE" != x
; then
10527 eval "DEFAULT_$LINE"
10532 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10536 eval "$ac_cv_use_palette"
10537 if test "$no_cache" != 1; then
10538 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10541 if test "$wxUSE_PALETTE" = yes; then
10542 echo "$as_me:$LINENO: result: yes" >&5
10543 echo "${ECHO_T}yes" >&6
10545 echo "$as_me:$LINENO: result: no" >&5
10546 echo "${ECHO_T}no" >&6
10551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10554 # Check whether --enable-image or --disable-image was given.
10555 if test "${enable_image+set}" = set; then
10556 enableval
="$enable_image"
10558 if test "$enableval" = yes; then
10559 ac_cv_use_image
='wxUSE_IMAGE=yes'
10561 ac_cv_use_image
='wxUSE_IMAGE=no'
10566 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10567 if test "x$LINE" != x
; then
10568 eval "DEFAULT_$LINE"
10573 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10577 eval "$ac_cv_use_image"
10578 if test "$no_cache" != 1; then
10579 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10582 if test "$wxUSE_IMAGE" = yes; then
10583 echo "$as_me:$LINENO: result: yes" >&5
10584 echo "${ECHO_T}yes" >&6
10586 echo "$as_me:$LINENO: result: no" >&5
10587 echo "${ECHO_T}no" >&6
10592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10595 # Check whether --enable-gif or --disable-gif was given.
10596 if test "${enable_gif+set}" = set; then
10597 enableval
="$enable_gif"
10599 if test "$enableval" = yes; then
10600 ac_cv_use_gif
='wxUSE_GIF=yes'
10602 ac_cv_use_gif
='wxUSE_GIF=no'
10607 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10608 if test "x$LINE" != x
; then
10609 eval "DEFAULT_$LINE"
10614 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10618 eval "$ac_cv_use_gif"
10619 if test "$no_cache" != 1; then
10620 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10623 if test "$wxUSE_GIF" = yes; then
10624 echo "$as_me:$LINENO: result: yes" >&5
10625 echo "${ECHO_T}yes" >&6
10627 echo "$as_me:$LINENO: result: no" >&5
10628 echo "${ECHO_T}no" >&6
10633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10636 # Check whether --enable-pcx or --disable-pcx was given.
10637 if test "${enable_pcx+set}" = set; then
10638 enableval
="$enable_pcx"
10640 if test "$enableval" = yes; then
10641 ac_cv_use_pcx
='wxUSE_PCX=yes'
10643 ac_cv_use_pcx
='wxUSE_PCX=no'
10648 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10649 if test "x$LINE" != x
; then
10650 eval "DEFAULT_$LINE"
10655 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10659 eval "$ac_cv_use_pcx"
10660 if test "$no_cache" != 1; then
10661 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10664 if test "$wxUSE_PCX" = yes; then
10665 echo "$as_me:$LINENO: result: yes" >&5
10666 echo "${ECHO_T}yes" >&6
10668 echo "$as_me:$LINENO: result: no" >&5
10669 echo "${ECHO_T}no" >&6
10674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10677 # Check whether --enable-iff or --disable-iff was given.
10678 if test "${enable_iff+set}" = set; then
10679 enableval
="$enable_iff"
10681 if test "$enableval" = yes; then
10682 ac_cv_use_iff
='wxUSE_IFF=yes'
10684 ac_cv_use_iff
='wxUSE_IFF=no'
10689 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10690 if test "x$LINE" != x
; then
10691 eval "DEFAULT_$LINE"
10696 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10700 eval "$ac_cv_use_iff"
10701 if test "$no_cache" != 1; then
10702 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10705 if test "$wxUSE_IFF" = yes; then
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10709 echo "$as_me:$LINENO: result: no" >&5
10710 echo "${ECHO_T}no" >&6
10715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10716 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10718 # Check whether --enable-pnm or --disable-pnm was given.
10719 if test "${enable_pnm+set}" = set; then
10720 enableval
="$enable_pnm"
10722 if test "$enableval" = yes; then
10723 ac_cv_use_pnm
='wxUSE_PNM=yes'
10725 ac_cv_use_pnm
='wxUSE_PNM=no'
10730 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10731 if test "x$LINE" != x
; then
10732 eval "DEFAULT_$LINE"
10737 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10741 eval "$ac_cv_use_pnm"
10742 if test "$no_cache" != 1; then
10743 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10746 if test "$wxUSE_PNM" = yes; then
10747 echo "$as_me:$LINENO: result: yes" >&5
10748 echo "${ECHO_T}yes" >&6
10750 echo "$as_me:$LINENO: result: no" >&5
10751 echo "${ECHO_T}no" >&6
10756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10759 # Check whether --enable-xpm or --disable-xpm was given.
10760 if test "${enable_xpm+set}" = set; then
10761 enableval
="$enable_xpm"
10763 if test "$enableval" = yes; then
10764 ac_cv_use_xpm
='wxUSE_XPM=yes'
10766 ac_cv_use_xpm
='wxUSE_XPM=no'
10771 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10772 if test "x$LINE" != x
; then
10773 eval "DEFAULT_$LINE"
10778 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10782 eval "$ac_cv_use_xpm"
10783 if test "$no_cache" != 1; then
10784 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10787 if test "$wxUSE_XPM" = yes; then
10788 echo "$as_me:$LINENO: result: yes" >&5
10789 echo "${ECHO_T}yes" >&6
10791 echo "$as_me:$LINENO: result: no" >&5
10792 echo "${ECHO_T}no" >&6
10797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10798 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10800 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10801 if test "${enable_ico_cur+set}" = set; then
10802 enableval
="$enable_ico_cur"
10804 if test "$enableval" = yes; then
10805 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10807 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10812 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10813 if test "x$LINE" != x
; then
10814 eval "DEFAULT_$LINE"
10819 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10823 eval "$ac_cv_use_ico_cur"
10824 if test "$no_cache" != 1; then
10825 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10828 if test "$wxUSE_ICO_CUR" = yes; then
10829 echo "$as_me:$LINENO: result: yes" >&5
10830 echo "${ECHO_T}yes" >&6
10832 echo "$as_me:$LINENO: result: no" >&5
10833 echo "${ECHO_T}no" >&6
10841 # Check whether --with-flavour or --without-flavour was given.
10842 if test "${with_flavour+set}" = set; then
10843 withval
="$with_flavour"
10844 WX_FLAVOUR
="$withval"
10850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10853 # Check whether --enable-official_build or --disable-official_build was given.
10854 if test "${enable_official_build+set}" = set; then
10855 enableval
="$enable_official_build"
10857 if test "$enableval" = yes; then
10858 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10860 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10865 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x
; then
10867 eval "DEFAULT_$LINE"
10872 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10876 eval "$ac_cv_use_official_build"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10881 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10882 echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6
10885 echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6
10889 # Check whether --enable-vendor or --disable-vendor was given.
10890 if test "${enable_vendor+set}" = set; then
10891 enableval
="$enable_vendor"
10892 VENDOR
="$enableval"
10894 if test "x$VENDOR" = "x"; then
10901 echo "saving argument cache $wx_arg_cache_file"
10902 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10906 echo "$as_me:$LINENO: checking for toolkit" >&5
10907 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10909 # In Wine, we need to default to MSW, not GTK or MOTIF
10910 if test "$wxUSE_WINE" = "yes"; then
10911 DEFAULT_DEFAULT_wxUSE_GTK
=0
10912 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10913 DEFAULT_DEFAULT_wxUSE_MSW
=1
10918 if test "$wxUSE_GUI" = "yes"; then
10920 if test "$USE_BEOS" = 1; then
10921 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10922 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10923 { (exit 1); exit 1; }; }
10926 if test "$TOOLKIT_GIVEN" = 1; then
10927 for toolkit
in `echo $ALL_TOOLKITS`; do
10929 eval "value=\$${var}"
10930 if test "x$value" = "xno"; then
10932 elif test "x$value" != "x"; then
10936 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10937 eval "wx${toolkit}_VERSION=$value"
10941 for toolkit
in `echo $ALL_TOOLKITS`; do
10942 if test "$has_toolkit_in_cache" != 1; then
10943 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10945 var
=DEFAULT_wxUSE_
$toolkit
10947 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10948 if test "x$version" != "x"; then
10949 eval "wx${toolkit}_VERSION=$version"
10952 eval "wxUSE_$toolkit=\$${var}"
10956 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10957 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10958 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10961 *-pc-os2_emx | *-pc-os2-emx )
10962 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10965 case "$NUM_TOOLKITS" in
10969 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10970 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10971 { (exit 1); exit 1; }; }
10974 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10975 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10976 { (exit 1); exit 1; }; }
10979 # to be removed when --disable-gtk2 isn't needed
10980 if test "x$wxUSE_GTK2" = "xyes"; then
10982 elif test "x$wxUSE_GTK2" = "xno"; then
10986 for toolkit
in `echo $ALL_TOOLKITS`; do
10988 eval "value=\$${var}"
10989 if test "x$value" != x
; then
10990 cache_var
=CACHE_
$toolkit
10991 eval "cache=\$${cache_var}"
10992 if test "$cache" = 1; then
10993 echo "$var=$value" >> ${wx_arg_cache_file}
10994 eval "version=\$wx${toolkit}_VERSION"
10995 if test "x$version" != "x"; then
10996 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10999 if test "$value" = 1; then
11000 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11001 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11002 echo "${ECHO_T}$toolkit_echo" >&6
11007 if test "x$host_alias" != "x"; then
11008 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11009 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11011 echo "$as_me:$LINENO: result: base only" >&5
11012 echo "${ECHO_T}base only" >&6
11017 doesnt_want_win32
=0
11020 if test "$wxUSE_MSW" = 1 ; then
11022 BAKEFILE_FORCE_PLATFORM
=win32
11024 doesnt_want_win32
=1
11032 if test "$wxUSE_WINE" = "yes"; then
11036 LDFLAGS_GUI
="-mwindows"
11039 if test "$wants_win32" = 1 ; then
11042 cat >>confdefs.h
<<\_ACEOF
11043 #define __WIN32__ 1
11046 cat >>confdefs.h
<<\_ACEOF
11047 #define __WIN95__ 1
11050 cat >>confdefs.h
<<\_ACEOF
11051 #define __WINDOWS__ 1
11054 cat >>confdefs.h
<<\_ACEOF
11055 #define __GNUWIN32__ 1
11058 cat >>confdefs.h
<<\_ACEOF
11062 cat >>confdefs.h
<<\_ACEOF
11063 #define WINVER 0x0400
11067 if test "$doesnt_want_win32" = 1 ; then
11072 if test "$USE_UNIX" = 1 ; then
11074 cat >>confdefs.h
<<\_ACEOF
11081 cat >confcache
<<\_ACEOF
11082 # This file is a shell script that caches the results of configure
11083 # tests run on this system so they can be shared between configure
11084 # scripts and configure runs, see configure's option --config-cache.
11085 # It is not useful on other systems. If it contains results you don't
11086 # want to keep, you may remove or edit it.
11088 # config.status only pays attention to the cache file if you give it
11089 # the --recheck option to rerun configure.
11091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11093 # following values.
11097 # The following way of writing the cache mishandles newlines in values,
11098 # but we know of no workaround that is simple, portable, and efficient.
11099 # So, don't put newlines in cache variables' values.
11100 # Ultrix sh set writes to stderr and can't be redirected directly,
11101 # and sets the high bit in the cache file unless we assign to the vars.
11104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11106 # `set' does not quote correctly, so add quotes (double-quote
11107 # substitution turns \\\\ into \\, and sed turns \\ into \).
11110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11113 # `set' quotes correctly as required by POSIX, so do not add quotes.
11115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11124 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11126 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11127 if test -w $cache_file; then
11128 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11129 cat confcache
>$cache_file
11131 echo "not updating unwritable cache $cache_file"
11141 ac_cpp
='$CPP $CPPFLAGS'
11142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11145 if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11147 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11148 echo "$as_me:$LINENO: checking for $ac_word" >&5
11149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150 if test "${ac_cv_prog_CC+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 if test -n "$CC"; then
11154 ac_cv_prog_CC
="$CC" # Let the user override the test.
11156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11157 for as_dir
in $PATH
11160 test -z "$as_dir" && as_dir
=.
11161 for ac_exec_ext
in '' $ac_executable_extensions; do
11162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11173 if test -n "$CC"; then
11174 echo "$as_me:$LINENO: result: $CC" >&5
11175 echo "${ECHO_T}$CC" >&6
11177 echo "$as_me:$LINENO: result: no" >&5
11178 echo "${ECHO_T}no" >&6
11182 if test -z "$ac_cv_prog_CC"; then
11184 # Extract the first word of "gcc", so it can be a program name with args.
11185 set dummy gcc
; ac_word
=$2
11186 echo "$as_me:$LINENO: checking for $ac_word" >&5
11187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 if test -n "$ac_ct_CC"; then
11192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11195 for as_dir
in $PATH
11198 test -z "$as_dir" && as_dir
=.
11199 for ac_exec_ext
in '' $ac_executable_extensions; do
11200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_ac_ct_CC
="gcc"
11202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11211 if test -n "$ac_ct_CC"; then
11212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11213 echo "${ECHO_T}$ac_ct_CC" >&6
11215 echo "$as_me:$LINENO: result: no" >&5
11216 echo "${ECHO_T}no" >&6
11221 CC
="$ac_cv_prog_CC"
11224 if test -z "$CC"; then
11225 if test -n "$ac_tool_prefix"; then
11226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11227 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11228 echo "$as_me:$LINENO: checking for $ac_word" >&5
11229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11230 if test "${ac_cv_prog_CC+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 if test -n "$CC"; then
11234 ac_cv_prog_CC
="$CC" # Let the user override the test.
11236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11237 for as_dir
in $PATH
11240 test -z "$as_dir" && as_dir
=.
11241 for ac_exec_ext
in '' $ac_executable_extensions; do
11242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11253 if test -n "$CC"; then
11254 echo "$as_me:$LINENO: result: $CC" >&5
11255 echo "${ECHO_T}$CC" >&6
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11262 if test -z "$ac_cv_prog_CC"; then
11264 # Extract the first word of "cc", so it can be a program name with args.
11265 set dummy cc
; ac_word
=$2
11266 echo "$as_me:$LINENO: checking for $ac_word" >&5
11267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 if test -n "$ac_ct_CC"; then
11272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11275 for as_dir
in $PATH
11278 test -z "$as_dir" && as_dir
=.
11279 for ac_exec_ext
in '' $ac_executable_extensions; do
11280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11281 ac_cv_prog_ac_ct_CC
="cc"
11282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11290 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11291 if test -n "$ac_ct_CC"; then
11292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11293 echo "${ECHO_T}$ac_ct_CC" >&6
11295 echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6
11301 CC
="$ac_cv_prog_CC"
11305 if test -z "$CC"; then
11306 # Extract the first word of "cc", so it can be a program name with args.
11307 set dummy cc
; ac_word
=$2
11308 echo "$as_me:$LINENO: checking for $ac_word" >&5
11309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11310 if test "${ac_cv_prog_CC+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 if test -n "$CC"; then
11314 ac_cv_prog_CC
="$CC" # Let the user override the test.
11316 ac_prog_rejected
=no
11317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11318 for as_dir
in $PATH
11321 test -z "$as_dir" && as_dir
=.
11322 for ac_exec_ext
in '' $ac_executable_extensions; do
11323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11325 ac_prog_rejected
=yes
11329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11335 if test $ac_prog_rejected = yes; then
11336 # We found a bogon in the path, so make sure we never use it.
11337 set dummy
$ac_cv_prog_CC
11339 if test $# != 0; then
11340 # We chose a different compiler from the bogus one.
11341 # However, it has the same basename, so the bogon will be chosen
11342 # first if we set CC to just the basename; use the full file name.
11344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11350 if test -n "$CC"; then
11351 echo "$as_me:$LINENO: result: $CC" >&5
11352 echo "${ECHO_T}$CC" >&6
11354 echo "$as_me:$LINENO: result: no" >&5
11355 echo "${ECHO_T}no" >&6
11359 if test -z "$CC"; then
11360 if test -n "$ac_tool_prefix"; then
11363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11365 echo "$as_me:$LINENO: checking for $ac_word" >&5
11366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11367 if test "${ac_cv_prog_CC+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 if test -n "$CC"; then
11371 ac_cv_prog_CC
="$CC" # Let the user override the test.
11373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11374 for as_dir
in $PATH
11377 test -z "$as_dir" && as_dir
=.
11378 for ac_exec_ext
in '' $ac_executable_extensions; do
11379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11390 if test -n "$CC"; then
11391 echo "$as_me:$LINENO: result: $CC" >&5
11392 echo "${ECHO_T}$CC" >&6
11394 echo "$as_me:$LINENO: result: no" >&5
11395 echo "${ECHO_T}no" >&6
11398 test -n "$CC" && break
11401 if test -z "$CC"; then
11405 # Extract the first word of "$ac_prog", so it can be a program name with args.
11406 set dummy
$ac_prog; ac_word
=$2
11407 echo "$as_me:$LINENO: checking for $ac_word" >&5
11408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 if test -n "$ac_ct_CC"; then
11413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11416 for as_dir
in $PATH
11419 test -z "$as_dir" && as_dir
=.
11420 for ac_exec_ext
in '' $ac_executable_extensions; do
11421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11422 ac_cv_prog_ac_ct_CC
="$ac_prog"
11423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11432 if test -n "$ac_ct_CC"; then
11433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11434 echo "${ECHO_T}$ac_ct_CC" >&6
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11440 test -n "$ac_ct_CC" && break
11449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11450 See \`config.log' for more details." >&5
11451 echo "$as_me: error: no acceptable C compiler found in \$PATH
11452 See \`config.log' for more details." >&2;}
11453 { (exit 1); exit 1; }; }
11455 # Provide some information about the compiler.
11456 echo "$as_me:$LINENO:" \
11457 "checking for C compiler version" >&5
11458 ac_compiler
=`set X $ac_compile; echo $2`
11459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11460 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }
11464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11465 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }
11469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11470 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11475 cat >conftest.
$ac_ext <<_ACEOF
11478 cat confdefs.h
>>conftest.
$ac_ext
11479 cat >>conftest.
$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11490 ac_clean_files_save
=$ac_clean_files
11491 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11492 # Try to create an executable without -o first, disregard a.out.
11493 # It will help us diagnose broken compilers, and finding out an intuition
11495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11497 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11499 (eval $ac_link_default) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; then
11503 # Find the output, starting from the most likely. This scheme is
11504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11507 # Be careful to initialize this variable, since it used to be cached.
11508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11510 # b.out is created by i960 compilers.
11511 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11513 test -f "$ac_file" || continue
11515 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11518 # This is the source file.
11521 # We found the default executable, but exeext='' is most
11525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11526 # FIXME: I believe we export ac_cv_exeext for Libtool,
11527 # but it would be cool to find out if it's true. Does anybody
11528 # maintain Libtool? --akim.
11529 export ac_cv_exeext
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.
$ac_ext >&5
11539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11540 See \`config.log' for more details." >&5
11541 echo "$as_me: error: C compiler cannot create executables
11542 See \`config.log' for more details." >&2;}
11543 { (exit 77); exit 77; }; }
11546 ac_exeext
=$ac_cv_exeext
11547 echo "$as_me:$LINENO: result: $ac_file" >&5
11548 echo "${ECHO_T}$ac_file" >&6
11550 # Check the compiler produces executables we can run. If not, either
11551 # the compiler is broken, or we cross compile.
11552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11555 # If not cross compiling, check that we can run a simple program.
11556 if test "$cross_compiling" != yes; then
11557 if { ac_try
='./$ac_file'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; }; then
11565 if test "$cross_compiling" = maybe
; then
11566 cross_compiling
=yes
11568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11569 If you meant to cross compile, use \`--host'.
11570 See \`config.log' for more details." >&5
11571 echo "$as_me: error: cannot run C compiled programs.
11572 If you meant to cross compile, use \`--host'.
11573 See \`config.log' for more details." >&2;}
11574 { (exit 1); exit 1; }; }
11578 echo "$as_me:$LINENO: result: yes" >&5
11579 echo "${ECHO_T}yes" >&6
11581 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11582 ac_clean_files
=$ac_clean_files_save
11583 # Check the compiler produces executables we can run. If not, either
11584 # the compiler is broken, or we cross compile.
11585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11588 echo "${ECHO_T}$cross_compiling" >&6
11590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; then
11597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11599 # work properly (i.e., refer to `conftest.exe'), while it won't with
11601 for ac_file
in conftest.exe conftest conftest.
*; do
11602 test -f "$ac_file" || continue
11604 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11605 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11606 export ac_cv_exeext
11612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11613 See \`config.log' for more details." >&5
11614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11615 See \`config.log' for more details." >&2;}
11616 { (exit 1); exit 1; }; }
11619 rm -f conftest
$ac_cv_exeext
11620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11621 echo "${ECHO_T}$ac_cv_exeext" >&6
11623 rm -f conftest.
$ac_ext
11624 EXEEXT
=$ac_cv_exeext
11626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11628 if test "${ac_cv_objext+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 cat >conftest.
$ac_ext <<_ACEOF
11634 cat confdefs.h
>>conftest.
$ac_ext
11635 cat >>conftest.
$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11646 rm -f conftest.o conftest.obj
11647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 (eval $ac_compile) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; then
11652 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11654 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11655 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.
$ac_ext >&5
11663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11664 See \`config.log' for more details." >&5
11665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11666 See \`config.log' for more details." >&2;}
11667 { (exit 1); exit 1; }; }
11670 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11673 echo "${ECHO_T}$ac_cv_objext" >&6
11674 OBJEXT
=$ac_cv_objext
11676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 cat >conftest.
$ac_ext <<_ACEOF
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11699 rm -f conftest.
$ac_objext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11701 (eval $ac_compile) 2>conftest.er1
11703 grep -v '^ *+' conftest.er1
>conftest.err
11705 cat conftest.err
>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try
='test -z "$ac_c_werror_flag"
11709 || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try
='test -s conftest.$ac_objext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_compiler_gnu
=yes
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.
$ac_ext >&5
11728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11729 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11732 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11733 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11734 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11735 ac_test_CFLAGS
=${CFLAGS+set}
11736 ac_save_CFLAGS
=$CFLAGS
11738 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11739 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11740 if test "${ac_cv_prog_cc_g+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 cat >conftest.
$ac_ext <<_ACEOF
11746 cat confdefs.h
>>conftest.
$ac_ext
11747 cat >>conftest.
$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11758 rm -f conftest.
$ac_objext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11760 (eval $ac_compile) 2>conftest.er1
11762 grep -v '^ *+' conftest.er1
>conftest.err
11764 cat conftest.err
>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try
='test -z "$ac_c_werror_flag"
11768 || test ! -s conftest.err'
11769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770 (eval $ac_try) 2>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); }; } &&
11774 { ac_try
='test -s conftest.$ac_objext'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; }; then
11780 ac_cv_prog_cc_g
=yes
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.
$ac_ext >&5
11787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11790 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11791 if test "$ac_test_CFLAGS" = set; then
11792 CFLAGS
=$ac_save_CFLAGS
11793 elif test $ac_cv_prog_cc_g = yes; then
11794 if test "$GCC" = yes; then
11800 if test "$GCC" = yes; then
11806 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11807 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11808 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 ac_cv_prog_cc_stdc
=no
11813 cat >conftest.
$ac_ext <<_ACEOF
11816 cat confdefs.h
>>conftest.
$ac_ext
11817 cat >>conftest.
$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #include <stdarg.h>
11821 #include <sys/types.h>
11822 #include <sys/stat.h>
11823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11824 struct buf { int x; };
11825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11826 static char *e (p, i)
11832 static char *f (char * (*g) (char **, int), char **p, ...)
11837 s = g (p, va_arg (v,int));
11842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11843 function prototypes and stuff, but not '\xHH' hex character constants.
11844 These don't provoke an error unfortunately, instead are silently treated
11845 as 'x'. The following induces an error, until -std1 is added to get
11846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11847 array size at least. It's necessary to write '\x00'==0 to get something
11848 that's true only with -std1. */
11849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11851 int test (int i, double x);
11852 struct s1 {int (*f) (int a);};
11853 struct s2 {int (*f) (double a);};
11854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11865 # Don't try gcc -ansi; that turns off useful extensions and
11866 # breaks some systems' header files.
11867 # AIX -qlanglvl=ansi
11868 # Ultrix and OSF/1 -std1
11869 # HP-UX 10.20 and later -Ae
11870 # HP-UX older versions -Aa -D_HPUX_SOURCE
11871 # SVR4 -Xc -D__EXTENSIONS__
11872 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11874 CC
="$ac_save_CC $ac_arg"
11875 rm -f conftest.
$ac_objext
11876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11877 (eval $ac_compile) 2>conftest.er1
11879 grep -v '^ *+' conftest.er1
>conftest.err
11881 cat conftest.err
>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try
='test -z "$ac_c_werror_flag"
11885 || test ! -s conftest.err'
11886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887 (eval $ac_try) 2>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; } &&
11891 { ac_try
='test -s conftest.$ac_objext'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; }; then
11897 ac_cv_prog_cc_stdc
=$ac_arg
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.
$ac_ext >&5
11904 rm -f conftest.err conftest.
$ac_objext
11906 rm -f conftest.
$ac_ext conftest.
$ac_objext
11911 case "x$ac_cv_prog_cc_stdc" in
11913 echo "$as_me:$LINENO: result: none needed" >&5
11914 echo "${ECHO_T}none needed" >&6 ;;
11916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11917 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11918 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11921 # Some people use a C++ compiler to compile C. Since we use `exit',
11922 # in C++ we need to declare it. In case someone uses the same compiler
11923 # for both compiling C and C++ we need to have the C++ compiler decide
11924 # the declaration of exit, since it's the most demanding environment.
11925 cat >conftest.
$ac_ext <<_ACEOF
11926 #ifndef __cplusplus
11930 rm -f conftest.
$ac_objext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11932 (eval $ac_compile) 2>conftest.er1
11934 grep -v '^ *+' conftest.er1
>conftest.err
11936 cat conftest.err
>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try
='test -z "$ac_c_werror_flag"
11940 || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try
='test -s conftest.$ac_objext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 for ac_declaration
in \
11954 'extern "C" void std::exit (int) throw (); using std::exit;' \
11955 'extern "C" void std::exit (int); using std::exit;' \
11956 'extern "C" void exit (int) throw ();' \
11957 'extern "C" void exit (int);' \
11960 cat >conftest.
$ac_ext <<_ACEOF
11963 cat confdefs.h
>>conftest.
$ac_ext
11964 cat >>conftest.
$ac_ext <<_ACEOF
11965 /* end confdefs.h. */
11967 #include <stdlib.h>
11976 rm -f conftest.
$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978 (eval $ac_compile) 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try
='test -z "$ac_c_werror_flag"
11986 || test ! -s conftest.err'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try
='test -s conftest.$ac_objext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.
$ac_ext >&5
12005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12006 cat >conftest.
$ac_ext <<_ACEOF
12009 cat confdefs.h
>>conftest.
$ac_ext
12010 cat >>conftest.
$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12021 rm -f conftest.
$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 (eval $ac_compile) 2>conftest.er1
12025 grep -v '^ *+' conftest.er1
>conftest.err
12027 cat conftest.err
>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -z "$ac_c_werror_flag"
12031 || test ! -s conftest.err'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try
='test -s conftest.$ac_objext'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; }; then
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.
$ac_ext >&5
12049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12052 if test -n "$ac_declaration"; then
12053 echo '#ifdef __cplusplus' >>confdefs.h
12054 echo $ac_declaration >>confdefs.h
12055 echo '#endif' >>confdefs.h
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.
$ac_ext >&5
12063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12065 ac_cpp
='$CPP $CPPFLAGS'
12066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12073 ac_cpp
='$CPP $CPPFLAGS'
12074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12078 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12079 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12080 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 cat >conftest.
$ac_ext <<_ACEOF
12086 cat confdefs.h
>>conftest.
$ac_ext
12087 cat >>conftest.
$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12094 #ifndef __INTEL_COMPILER
12102 rm -f conftest.
$ac_objext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12104 (eval $ac_compile) 2>conftest.er1
12106 grep -v '^ *+' conftest.er1
>conftest.err
12108 cat conftest.err
>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try
='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try
='test -s conftest.$ac_objext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12136 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12137 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12139 ac_cpp
='$CPP $CPPFLAGS'
12140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12144 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12151 if test "x$GCC" != "xyes"; then
12152 if test "xCC" = "xC"; then
12153 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12154 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12155 if test "${bakefile_cv_c_exto+set}" = set; then
12156 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12173 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12175 (eval $ac_compile) 2>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; then
12179 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12181 conftest.
$ac_ext.o
)
12182 bakefile_cv_c_exto
="-ext o"
12189 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12190 See \`config.log' for more details." >&5
12191 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12192 See \`config.log' for more details." >&2;}
12193 { (exit 1); exit 1; }; }
12197 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12200 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12201 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12202 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12203 if test "c" = "c"; then
12204 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12206 if test "c" = "cxx"; then
12207 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12211 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12212 unset ac_cv_prog_cc_g
12213 ac_test_CFLAGS
=${CFLAGS+set}
12214 ac_save_CFLAGS
=$CFLAGS
12216 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12217 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12218 if test "${ac_cv_prog_cc_g+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 cat >conftest.
$ac_ext <<_ACEOF
12224 cat confdefs.h
>>conftest.
$ac_ext
12225 cat >>conftest.
$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12236 rm -f conftest.
$ac_objext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12238 (eval $ac_compile) 2>conftest.er1
12240 grep -v '^ *+' conftest.er1
>conftest.err
12242 cat conftest.err
>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } &&
12245 { ac_try
='test -z "$ac_c_werror_flag"
12246 || test ! -s conftest.err'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; } &&
12252 { ac_try
='test -s conftest.$ac_objext'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 ac_cv_prog_cc_g
=yes
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.
$ac_ext >&5
12265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12267 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12268 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12269 if test "$ac_test_CFLAGS" = set; then
12270 CFLAGS
=$ac_save_CFLAGS
12271 elif test $ac_cv_prog_cc_g = yes; then
12272 if test "$GCC" = yes; then
12278 if test "$GCC" = yes; then
12290 ac_cpp
='$CPP $CPPFLAGS'
12291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12295 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12296 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12297 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12318 rm -f conftest.
$ac_objext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12320 (eval $ac_compile) 2>conftest.er1
12322 grep -v '^ *+' conftest.er1
>conftest.err
12324 cat conftest.err
>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); } &&
12327 { ac_try
='test -z "$ac_c_werror_flag"
12328 || test ! -s conftest.err'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; } &&
12334 { ac_try
='test -s conftest.$ac_objext'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; }; then
12340 bakefile_compiler_xlc
=yes
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12345 bakefile_compiler_xlc
=no
12347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12348 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12351 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12352 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12354 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12356 ac_cpp
='$CPP $CPPFLAGS'
12357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12366 ac_cpp
='$CPP $CPPFLAGS'
12367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12371 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12372 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12373 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12374 echo $ECHO_N "(cached) $ECHO_C" >&6
12376 cat >conftest.
$ac_ext <<_ACEOF
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12394 rm -f conftest.
$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>conftest.er1
12398 grep -v '^ *+' conftest.er1
>conftest.err
12400 cat conftest.err
>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try
='test -z "$ac_c_werror_flag"
12404 || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try
='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 bakefile_compiler_mwerks
=yes
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12421 bakefile_compiler_mwerks
=no
12423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12424 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12427 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12428 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12430 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12432 ac_cpp
='$CPP $CPPFLAGS'
12433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12439 ac_cpp
='$CPP $CPPFLAGS'
12440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12444 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12445 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12446 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 cat >conftest.
$ac_ext <<_ACEOF
12452 cat confdefs.h
>>conftest.
$ac_ext
12453 cat >>conftest.
$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12467 rm -f conftest.
$ac_objext
12468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12469 (eval $ac_compile) 2>conftest.er1
12471 grep -v '^ *+' conftest.er1
>conftest.err
12473 cat conftest.err
>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try
='test -z "$ac_c_werror_flag"
12477 || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try
='test -s conftest.$ac_objext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 bakefile_compiler_xlc
=yes
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.
$ac_ext >&5
12494 bakefile_compiler_xlc
=no
12496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12497 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12500 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12501 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12503 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12505 ac_cpp
='$CPP $CPPFLAGS'
12506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12517 ac_cpp
='$CPP $CPPFLAGS'
12518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12522 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12523 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12524 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12527 cat >conftest.
$ac_ext <<_ACEOF
12530 cat confdefs.h
>>conftest.
$ac_ext
12531 cat >>conftest.
$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12538 #ifndef _SGI_COMPILER_VERSION
12546 rm -f conftest.
$ac_objext
12547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12548 (eval $ac_compile) 2>conftest.er1
12550 grep -v '^ *+' conftest.er1
>conftest.err
12552 cat conftest.err
>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } &&
12555 { ac_try
='test -z "$ac_c_werror_flag"
12556 || test ! -s conftest.err'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; } &&
12562 { ac_try
='test -s conftest.$ac_objext'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; }; then
12568 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12570 echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.
$ac_ext >&5
12573 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12580 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12581 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12583 ac_cpp
='$CPP $CPPFLAGS'
12584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12588 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12601 ac_cpp
='$CPP $CPPFLAGS'
12602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12606 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12607 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12608 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12611 cat >conftest.
$ac_ext <<_ACEOF
12614 cat confdefs.h
>>conftest.
$ac_ext
12615 cat >>conftest.
$ac_ext <<_ACEOF
12616 /* end confdefs.h. */
12630 rm -f conftest.
$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag"
12640 || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 bakefile_cv_c_compiler___HP_cc
=yes
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12657 bakefile_cv_c_compiler___HP_cc
=no
12660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12664 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12665 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12667 ac_cpp
='$CPP $CPPFLAGS'
12668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12672 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12685 ac_cpp
='$CPP $CPPFLAGS'
12686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12690 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12691 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12692 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12714 rm -f conftest.
$ac_objext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12716 (eval $ac_compile) 2>conftest.er1
12718 grep -v '^ *+' conftest.er1
>conftest.err
12720 cat conftest.err
>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } &&
12723 { ac_try
='test -z "$ac_c_werror_flag"
12724 || test ! -s conftest.err'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; } &&
12730 { ac_try
='test -s conftest.$ac_objext'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; }; then
12736 bakefile_cv_c_compiler___DECC
=yes
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.
$ac_ext >&5
12741 bakefile_cv_c_compiler___DECC
=no
12744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12748 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12749 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12751 ac_cpp
='$CPP $CPPFLAGS'
12752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12756 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12769 ac_cpp
='$CPP $CPPFLAGS'
12770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12774 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12775 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12776 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 cat >conftest.
$ac_ext <<_ACEOF
12782 cat confdefs.h
>>conftest.
$ac_ext
12783 cat >>conftest.
$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12798 rm -f conftest.
$ac_objext
12799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12800 (eval $ac_compile) 2>conftest.er1
12802 grep -v '^ *+' conftest.er1
>conftest.err
12804 cat conftest.err
>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } &&
12807 { ac_try
='test -z "$ac_c_werror_flag"
12808 || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try
='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 bakefile_cv_c_compiler___SUNPRO_C
=yes
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.
$ac_ext >&5
12825 bakefile_cv_c_compiler___SUNPRO_C
=no
12828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12832 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12833 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12835 ac_cpp
='$CPP $CPPFLAGS'
12836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12840 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12854 ac_cpp
='$CPP $CPPFLAGS'
12855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12858 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12859 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12860 # On Suns, sometimes $CPP names a directory.
12861 if test -n "$CPP" && test -d "$CPP"; then
12864 if test -z "$CPP"; then
12865 if test "${ac_cv_prog_CPP+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 # Double quotes because CPP needs to be expanded
12869 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12871 ac_preproc_ok
=false
12872 for ac_c_preproc_warn_flag
in '' yes
12874 # Use a header file that comes with gcc, so configuring glibc
12875 # with a fresh cross-compiler works.
12876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12877 # <limits.h> exists even on freestanding compilers.
12878 # On the NeXT, cc -E runs the code through the compiler's parser,
12879 # not just through cpp. "Syntax error" is here to catch this case.
12880 cat >conftest.
$ac_ext <<_ACEOF
12883 cat confdefs.h
>>conftest.
$ac_ext
12884 cat >>conftest.
$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12887 # include <limits.h>
12889 # include <assert.h>
12893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12896 grep -v '^ *+' conftest.er1
>conftest.err
12898 cat conftest.err
>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } >/dev
/null
; then
12901 if test -s conftest.err
; then
12902 ac_cpp_err
=$ac_c_preproc_warn_flag
12903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12910 if test -z "$ac_cpp_err"; then
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.
$ac_ext >&5
12916 # Broken: fails on valid input.
12919 rm -f conftest.err conftest.
$ac_ext
12921 # OK, works on sane cases. Now check whether non-existent headers
12922 # can be detected and how.
12923 cat >conftest.
$ac_ext <<_ACEOF
12926 cat confdefs.h
>>conftest.
$ac_ext
12927 cat >>conftest.
$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12929 #include <ac_nonexistent.h>
12931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12934 grep -v '^ *+' conftest.er1
>conftest.err
12936 cat conftest.err
>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev
/null
; then
12939 if test -s conftest.err
; then
12940 ac_cpp_err
=$ac_c_preproc_warn_flag
12941 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12948 if test -z "$ac_cpp_err"; then
12949 # Broken: success on invalid input.
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.
$ac_ext >&5
12955 # Passes both tests.
12959 rm -f conftest.err conftest.
$ac_ext
12962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12963 rm -f conftest.err conftest.
$ac_ext
12964 if $ac_preproc_ok; then
12969 ac_cv_prog_CPP
=$CPP
12972 CPP
=$ac_cv_prog_CPP
12974 ac_cv_prog_CPP
=$CPP
12976 echo "$as_me:$LINENO: result: $CPP" >&5
12977 echo "${ECHO_T}$CPP" >&6
12978 ac_preproc_ok
=false
12979 for ac_c_preproc_warn_flag
in '' yes
12981 # Use a header file that comes with gcc, so configuring glibc
12982 # with a fresh cross-compiler works.
12983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12984 # <limits.h> exists even on freestanding compilers.
12985 # On the NeXT, cc -E runs the code through the compiler's parser,
12986 # not just through cpp. "Syntax error" is here to catch this case.
12987 cat >conftest.
$ac_ext <<_ACEOF
12990 cat confdefs.h
>>conftest.
$ac_ext
12991 cat >>conftest.
$ac_ext <<_ACEOF
12992 /* end confdefs.h. */
12994 # include <limits.h>
12996 # include <assert.h>
13000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13003 grep -v '^ *+' conftest.er1
>conftest.err
13005 cat conftest.err
>&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } >/dev
/null
; then
13008 if test -s conftest.err
; then
13009 ac_cpp_err
=$ac_c_preproc_warn_flag
13010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13017 if test -z "$ac_cpp_err"; then
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 # Broken: fails on valid input.
13026 rm -f conftest.err conftest.
$ac_ext
13028 # OK, works on sane cases. Now check whether non-existent headers
13029 # can be detected and how.
13030 cat >conftest.
$ac_ext <<_ACEOF
13033 cat confdefs.h
>>conftest.
$ac_ext
13034 cat >>conftest.
$ac_ext <<_ACEOF
13035 /* end confdefs.h. */
13036 #include <ac_nonexistent.h>
13038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13041 grep -v '^ *+' conftest.er1
>conftest.err
13043 cat conftest.err
>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } >/dev
/null
; then
13046 if test -s conftest.err
; then
13047 ac_cpp_err
=$ac_c_preproc_warn_flag
13048 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13055 if test -z "$ac_cpp_err"; then
13056 # Broken: success on invalid input.
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.
$ac_ext >&5
13062 # Passes both tests.
13066 rm -f conftest.err conftest.
$ac_ext
13069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13070 rm -f conftest.err conftest.
$ac_ext
13071 if $ac_preproc_ok; then
13074 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13075 See \`config.log' for more details." >&5
13076 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13077 See \`config.log' for more details." >&2;}
13078 { (exit 1); exit 1; }; }
13082 ac_cpp
='$CPP $CPPFLAGS'
13083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13088 echo "$as_me:$LINENO: checking for egrep" >&5
13089 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13090 if test "${ac_cv_prog_egrep+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13094 then ac_cv_prog_egrep
='grep -E'
13095 else ac_cv_prog_egrep
='egrep'
13098 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13099 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13100 EGREP
=$ac_cv_prog_egrep
13103 if test $ac_cv_c_compiler_gnu = yes; then
13104 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13105 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13106 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 ac_pattern
="Autoconf.*'x'"
13110 cat >conftest.
$ac_ext <<_ACEOF
13113 cat confdefs.h
>>conftest.
$ac_ext
13114 cat >>conftest.
$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13120 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13121 ac_cv_prog_gcc_traditional
=yes
13123 ac_cv_prog_gcc_traditional
=no
13128 if test $ac_cv_prog_gcc_traditional = no
; then
13129 cat >conftest.
$ac_ext <<_ACEOF
13132 cat confdefs.h
>>conftest.
$ac_ext
13133 cat >>conftest.
$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 #include <termio.h>
13138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13139 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13140 ac_cv_prog_gcc_traditional
=yes
13146 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13147 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13148 if test $ac_cv_prog_gcc_traditional = yes; then
13149 CC
="$CC -traditional"
13155 ac_cpp
='$CXXCPP $CPPFLAGS'
13156 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13161 CXXFLAGS
=${CXXFLAGS:=}
13166 ac_cpp
='$CXXCPP $CPPFLAGS'
13167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13170 if test -n "$ac_tool_prefix"; then
13171 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13174 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13175 echo "$as_me:$LINENO: checking for $ac_word" >&5
13176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13177 if test "${ac_cv_prog_CXX+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 if test -n "$CXX"; then
13181 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13184 for as_dir
in $PATH
13187 test -z "$as_dir" && as_dir
=.
13188 for ac_exec_ext
in '' $ac_executable_extensions; do
13189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13199 CXX
=$ac_cv_prog_CXX
13200 if test -n "$CXX"; then
13201 echo "$as_me:$LINENO: result: $CXX" >&5
13202 echo "${ECHO_T}$CXX" >&6
13204 echo "$as_me:$LINENO: result: no" >&5
13205 echo "${ECHO_T}no" >&6
13208 test -n "$CXX" && break
13211 if test -z "$CXX"; then
13213 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13215 # Extract the first word of "$ac_prog", so it can be a program name with args.
13216 set dummy
$ac_prog; ac_word
=$2
13217 echo "$as_me:$LINENO: checking for $ac_word" >&5
13218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13219 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 if test -n "$ac_ct_CXX"; then
13223 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13226 for as_dir
in $PATH
13229 test -z "$as_dir" && as_dir
=.
13230 for ac_exec_ext
in '' $ac_executable_extensions; do
13231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13232 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13241 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13242 if test -n "$ac_ct_CXX"; then
13243 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13244 echo "${ECHO_T}$ac_ct_CXX" >&6
13246 echo "$as_me:$LINENO: result: no" >&5
13247 echo "${ECHO_T}no" >&6
13250 test -n "$ac_ct_CXX" && break
13252 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13258 # Provide some information about the compiler.
13259 echo "$as_me:$LINENO:" \
13260 "checking for C++ compiler version" >&5
13261 ac_compiler
=`set X $ac_compile; echo $2`
13262 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13263 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }
13267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13268 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }
13272 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13273 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }
13278 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13279 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13280 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 cat >conftest.
$ac_ext <<_ACEOF
13286 cat confdefs.h
>>conftest.
$ac_ext
13287 cat >>conftest.
$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13301 rm -f conftest.
$ac_objext
13302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13303 (eval $ac_compile) 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } &&
13310 { ac_try
='test -z "$ac_cxx_werror_flag"
13311 || test ! -s conftest.err'
13312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13313 (eval $ac_try) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }; } &&
13317 { ac_try
='test -s conftest.$ac_objext'
13318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13319 (eval $ac_try) 2>&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; }; then
13323 ac_compiler_gnu
=yes
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.
$ac_ext >&5
13330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13331 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13334 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13336 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13337 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13338 ac_save_CXXFLAGS
=$CXXFLAGS
13340 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13341 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13342 if test "${ac_cv_prog_cxx_g+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 cat >conftest.
$ac_ext <<_ACEOF
13348 cat confdefs.h
>>conftest.
$ac_ext
13349 cat >>conftest.
$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13360 rm -f conftest.
$ac_objext
13361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13362 (eval $ac_compile) 2>conftest.er1
13364 grep -v '^ *+' conftest.er1
>conftest.err
13366 cat conftest.err
>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
13369 { ac_try
='test -z "$ac_cxx_werror_flag"
13370 || test ! -s conftest.err'
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; } &&
13376 { ac_try
='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_cv_prog_cxx_g
=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 ac_cv_prog_cxx_g
=no
13389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13391 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13392 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13393 if test "$ac_test_CXXFLAGS" = set; then
13394 CXXFLAGS
=$ac_save_CXXFLAGS
13395 elif test $ac_cv_prog_cxx_g = yes; then
13396 if test "$GXX" = yes; then
13402 if test "$GXX" = yes; then
13408 for ac_declaration
in \
13410 'extern "C" void std::exit (int) throw (); using std::exit;' \
13411 'extern "C" void std::exit (int); using std::exit;' \
13412 'extern "C" void exit (int) throw ();' \
13413 'extern "C" void exit (int);' \
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 #include <stdlib.h>
13432 rm -f conftest.
$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_cxx_werror_flag"
13442 || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try
='test -s conftest.$ac_objext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13462 cat >conftest.
$ac_ext <<_ACEOF
13465 cat confdefs.h
>>conftest.
$ac_ext
13466 cat >>conftest.
$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13477 rm -f conftest.
$ac_objext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13479 (eval $ac_compile) 2>conftest.er1
13481 grep -v '^ *+' conftest.er1
>conftest.err
13483 cat conftest.err
>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try
='test -z "$ac_cxx_werror_flag"
13487 || 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
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.
$ac_ext >&5
13505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13508 if test -n "$ac_declaration"; then
13509 echo '#ifdef __cplusplus' >>confdefs.h
13510 echo $ac_declaration >>confdefs.h
13511 echo '#endif' >>confdefs.h
13515 ac_cpp
='$CXXCPP $CPPFLAGS'
13516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13523 ac_cpp
='$CXXCPP $CPPFLAGS'
13524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13528 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13529 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13530 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13533 cat >conftest.
$ac_ext <<_ACEOF
13536 cat confdefs.h
>>conftest.
$ac_ext
13537 cat >>conftest.
$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13544 #ifndef __INTEL_COMPILER
13552 rm -f conftest.
$ac_objext
13553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13554 (eval $ac_compile) 2>conftest.er1
13556 grep -v '^ *+' conftest.er1
>conftest.err
13558 cat conftest.err
>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } &&
13561 { ac_try
='test -z "$ac_cxx_werror_flag"
13562 || test ! -s conftest.err'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; } &&
13568 { ac_try
='test -s conftest.$ac_objext'
13569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570 (eval $ac_try) 2>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); }; }; then
13574 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.
$ac_ext >&5
13579 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13586 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13587 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13589 ac_cpp
='$CXXCPP $CPPFLAGS'
13590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13594 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13601 if test "x$GCXX" != "xyes"; then
13602 if test "xCXX" = "xC"; then
13603 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13604 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13605 if test "${bakefile_cv_cxx_exto+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 cat >conftest.
$ac_ext <<_ACEOF
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13623 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13625 (eval $ac_compile) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; then
13629 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13631 conftest.
$ac_ext.o
)
13632 bakefile_cv_cxx_exto
="-ext o"
13639 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13640 See \`config.log' for more details." >&5
13641 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13642 See \`config.log' for more details." >&2;}
13643 { (exit 1); exit 1; }; }
13647 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13650 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13651 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13652 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13653 if test "cxx" = "c"; then
13654 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13656 if test "cxx" = "cxx"; then
13657 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13661 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13662 unset ac_cv_prog_cc_g
13663 ac_test_CFLAGS
=${CFLAGS+set}
13664 ac_save_CFLAGS
=$CFLAGS
13666 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13668 if test "${ac_cv_prog_cc_g+set}" = set; then
13669 echo $ECHO_N "(cached) $ECHO_C" >&6
13671 cat >conftest.
$ac_ext <<_ACEOF
13674 cat confdefs.h
>>conftest.
$ac_ext
13675 cat >>conftest.
$ac_ext <<_ACEOF
13676 /* end confdefs.h. */
13686 rm -f conftest.
$ac_objext
13687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13688 (eval $ac_compile) 2>conftest.er1
13690 grep -v '^ *+' conftest.er1
>conftest.err
13692 cat conftest.err
>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } &&
13695 { ac_try
='test -z "$ac_cxx_werror_flag"
13696 || test ! -s conftest.err'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; } &&
13702 { ac_try
='test -s conftest.$ac_objext'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; }; then
13708 ac_cv_prog_cc_g
=yes
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.
$ac_ext >&5
13715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13717 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13718 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13719 if test "$ac_test_CFLAGS" = set; then
13720 CFLAGS
=$ac_save_CFLAGS
13721 elif test $ac_cv_prog_cc_g = yes; then
13722 if test "$GCC" = yes; then
13728 if test "$GCC" = yes; then
13740 ac_cpp
='$CXXCPP $CPPFLAGS'
13741 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13742 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13743 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13745 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13746 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13747 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13768 rm -f conftest.
$ac_objext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13770 (eval $ac_compile) 2>conftest.er1
13772 grep -v '^ *+' conftest.er1
>conftest.err
13774 cat conftest.err
>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try
='test -z "$ac_cxx_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try
='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 bakefile_compiler_xlc
=yes
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.
$ac_ext >&5
13795 bakefile_compiler_xlc
=no
13797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13798 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13801 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13802 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13804 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13806 ac_cpp
='$CXXCPP $CPPFLAGS'
13807 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13816 ac_cpp
='$CXXCPP $CPPFLAGS'
13817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13821 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13822 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13823 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 cat >conftest.
$ac_ext <<_ACEOF
13829 cat confdefs.h
>>conftest.
$ac_ext
13830 cat >>conftest.
$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13844 rm -f conftest.
$ac_objext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>conftest.er1
13848 grep -v '^ *+' conftest.er1
>conftest.err
13850 cat conftest.err
>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } &&
13853 { ac_try
='test -z "$ac_cxx_werror_flag"
13854 || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try
='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 bakefile_compiler_mwerks
=yes
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 bakefile_compiler_mwerks
=no
13873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13874 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13877 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13878 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13880 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13882 ac_cpp
='$CXXCPP $CPPFLAGS'
13883 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13884 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13885 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13889 ac_cpp
='$CXXCPP $CPPFLAGS'
13890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13894 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13895 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13896 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 cat >conftest.
$ac_ext <<_ACEOF
13902 cat confdefs.h
>>conftest.
$ac_ext
13903 cat >>conftest.
$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try
='test -z "$ac_cxx_werror_flag"
13927 || test ! -s conftest.err'
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929 (eval $ac_try) 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; } &&
13933 { ac_try
='test -s conftest.$ac_objext'
13934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935 (eval $ac_try) 2>&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); }; }; then
13939 bakefile_compiler_xlc
=yes
13941 echo "$as_me: failed program was:" >&5
13942 sed 's/^/| /' conftest.
$ac_ext >&5
13944 bakefile_compiler_xlc
=no
13946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13947 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13950 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13951 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13953 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13955 ac_cpp
='$CXXCPP $CPPFLAGS'
13956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13967 ac_cpp
='$CXXCPP $CPPFLAGS'
13968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13972 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13973 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13974 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 cat >conftest.
$ac_ext <<_ACEOF
13980 cat confdefs.h
>>conftest.
$ac_ext
13981 cat >>conftest.
$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13988 #ifndef _SGI_COMPILER_VERSION
13996 rm -f conftest.
$ac_objext
13997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13998 (eval $ac_compile) 2>conftest.er1
14000 grep -v '^ *+' conftest.er1
>conftest.err
14002 cat conftest.err
>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } &&
14005 { ac_try
='test -z "$ac_cxx_werror_flag"
14006 || test ! -s conftest.err'
14007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14008 (eval $ac_try) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }; } &&
14012 { ac_try
='test -s conftest.$ac_objext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.
$ac_ext >&5
14023 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14030 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14031 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14033 ac_cpp
='$CXXCPP $CPPFLAGS'
14034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14038 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14051 ac_cpp
='$CXXCPP $CPPFLAGS'
14052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14056 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14057 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14058 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 cat >conftest.
$ac_ext <<_ACEOF
14064 cat confdefs.h
>>conftest.
$ac_ext
14065 cat >>conftest.
$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14080 rm -f conftest.
$ac_objext
14081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14082 (eval $ac_compile) 2>conftest.er1
14084 grep -v '^ *+' conftest.er1
>conftest.err
14086 cat conftest.err
>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } &&
14089 { ac_try
='test -z "$ac_cxx_werror_flag"
14090 || test ! -s conftest.err'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try
='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 bakefile_cv_cxx_compiler___HP_aCC
=yes
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.
$ac_ext >&5
14107 bakefile_cv_cxx_compiler___HP_aCC
=no
14110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14114 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14115 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14117 ac_cpp
='$CXXCPP $CPPFLAGS'
14118 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14119 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14120 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14122 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14135 ac_cpp
='$CXXCPP $CPPFLAGS'
14136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14140 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14141 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14142 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 cat >conftest.
$ac_ext <<_ACEOF
14148 cat confdefs.h
>>conftest.
$ac_ext
14149 cat >>conftest.
$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14164 rm -f conftest.
$ac_objext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>conftest.er1
14168 grep -v '^ *+' conftest.er1
>conftest.err
14170 cat conftest.err
>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try
='test -z "$ac_cxx_werror_flag"
14174 || test ! -s conftest.err'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; } &&
14180 { ac_try
='test -s conftest.$ac_objext'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; }; then
14186 bakefile_cv_cxx_compiler___DECCXX
=yes
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.
$ac_ext >&5
14191 bakefile_cv_cxx_compiler___DECCXX
=no
14194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14198 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14199 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14201 ac_cpp
='$CXXCPP $CPPFLAGS'
14202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14206 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14219 ac_cpp
='$CXXCPP $CPPFLAGS'
14220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14224 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14225 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14226 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 cat >conftest.
$ac_ext <<_ACEOF
14232 cat confdefs.h
>>conftest.
$ac_ext
14233 cat >>conftest.
$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14240 #ifndef __SUNPRO_CC
14248 rm -f conftest.
$ac_objext
14249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250 (eval $ac_compile) 2>conftest.er1
14252 grep -v '^ *+' conftest.er1
>conftest.err
14254 cat conftest.err
>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try
='test -z "$ac_cxx_werror_flag"
14258 || test ! -s conftest.err'
14259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260 (eval $ac_try) 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; } &&
14264 { ac_try
='test -s conftest.$ac_objext'
14265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14266 (eval $ac_try) 2>&5
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); }; }; then
14270 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14272 echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.
$ac_ext >&5
14275 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14282 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14283 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14285 ac_cpp
='$CXXCPP $CPPFLAGS'
14286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14290 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14304 ac_cpp
='$CPP $CPPFLAGS'
14305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14310 if test -n "$ac_tool_prefix"; then
14311 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14312 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14313 echo "$as_me:$LINENO: checking for $ac_word" >&5
14314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14315 if test "${ac_cv_prog_RANLIB+set}" = set; then
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 if test -n "$RANLIB"; then
14319 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14322 for as_dir
in $PATH
14325 test -z "$as_dir" && as_dir
=.
14326 for ac_exec_ext
in '' $ac_executable_extensions; do
14327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14328 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14337 RANLIB
=$ac_cv_prog_RANLIB
14338 if test -n "$RANLIB"; then
14339 echo "$as_me:$LINENO: result: $RANLIB" >&5
14340 echo "${ECHO_T}$RANLIB" >&6
14342 echo "$as_me:$LINENO: result: no" >&5
14343 echo "${ECHO_T}no" >&6
14347 if test -z "$ac_cv_prog_RANLIB"; then
14348 ac_ct_RANLIB
=$RANLIB
14349 # Extract the first word of "ranlib", so it can be a program name with args.
14350 set dummy ranlib
; ac_word
=$2
14351 echo "$as_me:$LINENO: checking for $ac_word" >&5
14352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14353 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 if test -n "$ac_ct_RANLIB"; then
14357 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14360 for as_dir
in $PATH
14363 test -z "$as_dir" && as_dir
=.
14364 for ac_exec_ext
in '' $ac_executable_extensions; do
14365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14366 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14373 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14376 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14377 if test -n "$ac_ct_RANLIB"; then
14378 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14379 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14381 echo "$as_me:$LINENO: result: no" >&5
14382 echo "${ECHO_T}no" >&6
14385 RANLIB
=$ac_ct_RANLIB
14387 RANLIB
="$ac_cv_prog_RANLIB"
14391 if test -n "$ac_tool_prefix"; then
14392 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14393 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14394 echo "$as_me:$LINENO: checking for $ac_word" >&5
14395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14396 if test "${ac_cv_prog_AR+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14399 if test -n "$AR"; then
14400 ac_cv_prog_AR
="$AR" # Let the user override the test.
14402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14403 for as_dir
in $PATH
14406 test -z "$as_dir" && as_dir
=.
14407 for ac_exec_ext
in '' $ac_executable_extensions; do
14408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14409 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14419 if test -n "$AR"; then
14420 echo "$as_me:$LINENO: result: $AR" >&5
14421 echo "${ECHO_T}$AR" >&6
14423 echo "$as_me:$LINENO: result: no" >&5
14424 echo "${ECHO_T}no" >&6
14428 if test -z "$ac_cv_prog_AR"; then
14430 # Extract the first word of "ar", so it can be a program name with args.
14431 set dummy
ar; ac_word
=$2
14432 echo "$as_me:$LINENO: checking for $ac_word" >&5
14433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14434 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 if test -n "$ac_ct_AR"; then
14438 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14441 for as_dir
in $PATH
14444 test -z "$as_dir" && as_dir
=.
14445 for ac_exec_ext
in '' $ac_executable_extensions; do
14446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14447 ac_cv_prog_ac_ct_AR
="ar"
14448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14456 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14457 if test -n "$ac_ct_AR"; then
14458 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14459 echo "${ECHO_T}$ac_ct_AR" >&6
14461 echo "$as_me:$LINENO: result: no" >&5
14462 echo "${ECHO_T}no" >&6
14467 AR
="$ac_cv_prog_AR"
14470 if test "x$AR" = "x" ; then
14471 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14472 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14473 { (exit 1); exit 1; }; }
14476 # Find a good install program. We prefer a C program (faster),
14477 # so one script is as good as another. But avoid the broken or
14478 # incompatible versions:
14479 # SysV /etc/install, /usr/sbin/install
14480 # SunOS /usr/etc/install
14481 # IRIX /sbin/install
14483 # AmigaOS /C/install, which installs bootblocks on floppy discs
14484 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14485 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14486 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14487 # OS/2's system install, which has a completely different semantic
14488 # ./install, which can be erroneously created by make from ./install.sh.
14489 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14490 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14491 if test -z "$INSTALL"; then
14492 if test "${ac_cv_path_install+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14496 for as_dir
in $PATH
14499 test -z "$as_dir" && as_dir
=.
14500 # Account for people who put trailing slashes in PATH elements.
14502 .
/ | .
// | /cC
/* | \
14503 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14504 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14507 # OSF1 and SCO ODT 3.0 have their own names for install.
14508 # Don't use installbsd from OSF since it installs stuff as root
14510 for ac_prog
in ginstall scoinst
install; do
14511 for ac_exec_ext
in '' $ac_executable_extensions; do
14512 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14513 if test $ac_prog = install &&
14514 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14515 # AIX install. It has an incompatible calling convention.
14517 elif test $ac_prog = install &&
14518 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14519 # program-specific install script used by HP pwplus--don't use.
14522 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14534 if test "${ac_cv_path_install+set}" = set; then
14535 INSTALL
=$ac_cv_path_install
14537 # As a last resort, use the slow shell script. We don't cache a
14538 # path for INSTALL within a source directory, because that will
14539 # break other packages using the cache if that directory is
14540 # removed, or if the path is relative.
14541 INSTALL
=$ac_install_sh
14544 echo "$as_me:$LINENO: result: $INSTALL" >&5
14545 echo "${ECHO_T}$INSTALL" >&6
14547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14548 # It thinks the first close brace ends the variable substitution.
14549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14553 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14559 ?
:* ) # Drive letter, considered as absolute.
14562 INSTALL
=`pwd`/${INSTALL} ;;
14569 INSTALL_PROGRAM
="cp -fp"
14570 INSTALL_DATA
="cp -fp"
14576 if test -n "$ac_tool_prefix"; then
14577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14578 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14579 echo "$as_me:$LINENO: checking for $ac_word" >&5
14580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14581 if test "${ac_cv_prog_STRIP+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14584 if test -n "$STRIP"; then
14585 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14588 for as_dir
in $PATH
14591 test -z "$as_dir" && as_dir
=.
14592 for ac_exec_ext
in '' $ac_executable_extensions; do
14593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14594 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14603 STRIP
=$ac_cv_prog_STRIP
14604 if test -n "$STRIP"; then
14605 echo "$as_me:$LINENO: result: $STRIP" >&5
14606 echo "${ECHO_T}$STRIP" >&6
14608 echo "$as_me:$LINENO: result: no" >&5
14609 echo "${ECHO_T}no" >&6
14613 if test -z "$ac_cv_prog_STRIP"; then
14615 # Extract the first word of "strip", so it can be a program name with args.
14616 set dummy strip
; ac_word
=$2
14617 echo "$as_me:$LINENO: checking for $ac_word" >&5
14618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14622 if test -n "$ac_ct_STRIP"; then
14623 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14626 for as_dir
in $PATH
14629 test -z "$as_dir" && as_dir
=.
14630 for ac_exec_ext
in '' $ac_executable_extensions; do
14631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14632 ac_cv_prog_ac_ct_STRIP
="strip"
14633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14639 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14642 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14643 if test -n "$ac_ct_STRIP"; then
14644 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14645 echo "${ECHO_T}$ac_ct_STRIP" >&6
14647 echo "$as_me:$LINENO: result: no" >&5
14648 echo "${ECHO_T}no" >&6
14653 STRIP
="$ac_cv_prog_STRIP"
14657 if test "$wxUSE_WINE" = "yes"; then
14658 if test -n "$ac_tool_prefix"; then
14659 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14660 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14661 echo "$as_me:$LINENO: checking for $ac_word" >&5
14662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14663 if test "${ac_cv_prog_WINDRES+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 if test -n "$WINDRES"; then
14667 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14670 for as_dir
in $PATH
14673 test -z "$as_dir" && as_dir
=.
14674 for ac_exec_ext
in '' $ac_executable_extensions; do
14675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14676 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14685 WINDRES
=$ac_cv_prog_WINDRES
14686 if test -n "$WINDRES"; then
14687 echo "$as_me:$LINENO: result: $WINDRES" >&5
14688 echo "${ECHO_T}$WINDRES" >&6
14690 echo "$as_me:$LINENO: result: no" >&5
14691 echo "${ECHO_T}no" >&6
14695 if test -z "$ac_cv_prog_WINDRES"; then
14696 ac_ct_WINDRES
=$WINDRES
14697 # Extract the first word of "wrc", so it can be a program name with args.
14698 set dummy wrc
; ac_word
=$2
14699 echo "$as_me:$LINENO: checking for $ac_word" >&5
14700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14701 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 if test -n "$ac_ct_WINDRES"; then
14705 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14708 for as_dir
in $PATH
14711 test -z "$as_dir" && as_dir
=.
14712 for ac_exec_ext
in '' $ac_executable_extensions; do
14713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14714 ac_cv_prog_ac_ct_WINDRES
="wrc"
14715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14723 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14724 if test -n "$ac_ct_WINDRES"; then
14725 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14726 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14728 echo "$as_me:$LINENO: result: no" >&5
14729 echo "${ECHO_T}no" >&6
14732 WINDRES
=$ac_ct_WINDRES
14734 WINDRES
="$ac_cv_prog_WINDRES"
14740 *-*-cygwin* | *-*-mingw32* )
14741 if test -n "$ac_tool_prefix"; then
14742 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14743 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14744 echo "$as_me:$LINENO: checking for $ac_word" >&5
14745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14746 if test "${ac_cv_prog_WINDRES+set}" = set; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14749 if test -n "$WINDRES"; then
14750 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14753 for as_dir
in $PATH
14756 test -z "$as_dir" && as_dir
=.
14757 for ac_exec_ext
in '' $ac_executable_extensions; do
14758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14759 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14768 WINDRES
=$ac_cv_prog_WINDRES
14769 if test -n "$WINDRES"; then
14770 echo "$as_me:$LINENO: result: $WINDRES" >&5
14771 echo "${ECHO_T}$WINDRES" >&6
14773 echo "$as_me:$LINENO: result: no" >&5
14774 echo "${ECHO_T}no" >&6
14778 if test -z "$ac_cv_prog_WINDRES"; then
14779 ac_ct_WINDRES
=$WINDRES
14780 # Extract the first word of "windres", so it can be a program name with args.
14781 set dummy windres
; ac_word
=$2
14782 echo "$as_me:$LINENO: checking for $ac_word" >&5
14783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14784 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 if test -n "$ac_ct_WINDRES"; then
14788 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14791 for as_dir
in $PATH
14794 test -z "$as_dir" && as_dir
=.
14795 for ac_exec_ext
in '' $ac_executable_extensions; do
14796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14797 ac_cv_prog_ac_ct_WINDRES
="windres"
14798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14806 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14807 if test -n "$ac_ct_WINDRES"; then
14808 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14809 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14811 echo "$as_me:$LINENO: result: no" >&5
14812 echo "${ECHO_T}no" >&6
14815 WINDRES
=$ac_ct_WINDRES
14817 WINDRES
="$ac_cv_prog_WINDRES"
14821 if test -n "$ac_tool_prefix"; then
14822 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14823 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14824 echo "$as_me:$LINENO: checking for $ac_word" >&5
14825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14826 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14829 if test -n "$DLLTOOL"; then
14830 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14833 for as_dir
in $PATH
14836 test -z "$as_dir" && as_dir
=.
14837 for ac_exec_ext
in '' $ac_executable_extensions; do
14838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14839 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14848 DLLTOOL
=$ac_cv_prog_DLLTOOL
14849 if test -n "$DLLTOOL"; then
14850 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14851 echo "${ECHO_T}$DLLTOOL" >&6
14853 echo "$as_me:$LINENO: result: no" >&5
14854 echo "${ECHO_T}no" >&6
14858 if test -z "$ac_cv_prog_DLLTOOL"; then
14859 ac_ct_DLLTOOL
=$DLLTOOL
14860 # Extract the first word of "dlltool", so it can be a program name with args.
14861 set dummy dlltool
; ac_word
=$2
14862 echo "$as_me:$LINENO: checking for $ac_word" >&5
14863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14864 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 if test -n "$ac_ct_DLLTOOL"; then
14868 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14871 for as_dir
in $PATH
14874 test -z "$as_dir" && as_dir
=.
14875 for ac_exec_ext
in '' $ac_executable_extensions; do
14876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14877 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14886 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14887 if test -n "$ac_ct_DLLTOOL"; then
14888 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14889 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14891 echo "$as_me:$LINENO: result: no" >&5
14892 echo "${ECHO_T}no" >&6
14895 DLLTOOL
=$ac_ct_DLLTOOL
14897 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14904 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14905 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14906 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14911 egrep -s GNU
> /dev
/null
); then
14912 wx_cv_prog_makeisgnu
="yes"
14914 wx_cv_prog_makeisgnu
="no"
14918 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14919 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14921 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14929 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14930 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14931 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14932 if test "${wx_cv_prog_makevpath+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 cat - << EOF > confMake
14942 if test ! -d sub
; then
14945 echo dummy
> sub
/file
14946 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14948 rm -f sub
/file check final_file confMake
14950 if test "$RESULT" = 0; then
14951 wx_cv_prog_makevpath
="yes"
14953 wx_cv_prog_makevpath
="no"
14957 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14958 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14960 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14961 { { echo "$as_me:$LINENO: error:
14962 You need a make-utility that is able to use the variable
14964 If your version of make does not support VPATH correctly,
14965 please install GNU-make (possibly as gmake), and start
14966 configure with the following command:
14967 export MAKE=gmake; ./configure for sh-type shells
14968 setenv MAKE gmake; ./configure for csh-type shells
14969 Also please do remember to use gmake in this case every time
14970 you are trying to compile.
14972 echo "$as_me: error:
14973 You need a make-utility that is able to use the variable
14975 If your version of make does not support VPATH correctly,
14976 please install GNU-make (possibly as gmake), and start
14977 configure with the following command:
14978 export MAKE=gmake; ./configure for sh-type shells
14979 setenv MAKE gmake; ./configure for csh-type shells
14980 Also please do remember to use gmake in this case every time
14981 you are trying to compile.
14983 { (exit 1); exit 1; }; }
14985 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14988 if test "$LN_S" = "ln -s"; then
14989 echo "$as_me:$LINENO: result: yes" >&5
14990 echo "${ECHO_T}yes" >&6
14992 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14993 echo "${ECHO_T}no, using $LN_S" >&6
14999 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15000 CXXFLAGS
="-qunique $CXXFLAGS"
15004 powerpc
-*-darwin* )
15005 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15006 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15007 cat >conftest.
$ac_ext <<_ACEOF
15010 cat confdefs.h
>>conftest.
$ac_ext
15011 cat >>conftest.
$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15017 #ifndef __POWERPC__
15018 choke me for lack of PowerPC
15025 rm -f conftest.
$ac_objext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027 (eval $ac_compile) 2>conftest.er1
15029 grep -v '^ *+' conftest.er1
>conftest.err
15031 cat conftest.err
>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try
='test -z "$ac_c_werror_flag"
15035 || test ! -s conftest.err'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; } &&
15041 { ac_try
='test -s conftest.$ac_objext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 echo "$as_me:$LINENO: result: yes" >&5
15048 echo "${ECHO_T}yes" >&6
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15053 echo "$as_me:$LINENO: result: no" >&5
15054 echo "${ECHO_T}no" >&6
15055 cat >>confdefs.h
<<\_ACEOF
15056 #define __POWERPC__ 1
15061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15067 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15068 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15069 cat >conftest.
$ac_ext <<_ACEOF
15072 cat confdefs.h
>>conftest.
$ac_ext
15073 cat >>conftest.
$ac_ext <<_ACEOF
15074 /* end confdefs.h. */
15075 #include <CoreFoundation/CFBase.h>
15085 rm -f conftest.
$ac_objext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087 (eval $ac_compile) 2>conftest.er1
15089 grep -v '^ *+' conftest.er1
>conftest.err
15091 cat conftest.err
>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try
='test -z "$ac_c_werror_flag"
15095 || test ! -s conftest.err'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; } &&
15101 { ac_try
='test -s conftest.$ac_objext'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15107 echo "$as_me:$LINENO: result: yes" >&5
15108 echo "${ECHO_T}yes" >&6
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.
$ac_ext >&5
15113 echo "$as_me:$LINENO: result: no" >&5
15114 echo "${ECHO_T}no" >&6
15115 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15116 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15117 cat >conftest.
$ac_ext <<_ACEOF
15120 cat confdefs.h
>>conftest.
$ac_ext
15121 cat >>conftest.
$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 #define __CF_USE_FRAMEWORK_INCLUDES__
15124 #include <CoreFoundation/CFBase.h>
15134 rm -f conftest.
$ac_objext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15136 (eval $ac_compile) 2>conftest.er1
15138 grep -v '^ *+' conftest.er1
>conftest.err
15140 cat conftest.err
>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); } &&
15143 { ac_try
='test -z "$ac_c_werror_flag"
15144 || test ! -s conftest.err'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; } &&
15150 { ac_try
='test -s conftest.$ac_objext'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15156 echo "$as_me:$LINENO: result: yes" >&5
15157 echo "${ECHO_T}yes" >&6
15158 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.
$ac_ext >&5
15163 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15164 See \`config.log' for more details." >&5
15165 echo "$as_me: error: no. CoreFoundation not available.
15166 See \`config.log' for more details." >&2;}
15167 { (exit 1); exit 1; }; }
15170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15179 *-pc-os2_emx | *-pc-os2-emx )
15180 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15181 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15182 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15183 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 ac_check_lib_save_LIBS
=$LIBS
15187 LIBS
="-lcExt $LIBS"
15188 cat >conftest.
$ac_ext <<_ACEOF
15191 cat confdefs.h
>>conftest.
$ac_ext
15192 cat >>conftest.
$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15195 /* Override any gcc2 internal prototype to avoid an error. */
15199 /* We use char because int might match the return type of a gcc2
15200 builtin and then its argument prototype would still apply. */
15210 rm -f conftest.
$ac_objext conftest
$ac_exeext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15212 (eval $ac_link) 2>conftest.er1
15214 grep -v '^ *+' conftest.er1
>conftest.err
15216 cat conftest.err
>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } &&
15219 { ac_try
='test -z "$ac_c_werror_flag"
15220 || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try
='test -s conftest$ac_exeext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_lib_cExt_drand48
=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ac_cv_lib_cExt_drand48
=no
15239 rm -f conftest.err conftest.
$ac_objext \
15240 conftest
$ac_exeext conftest.
$ac_ext
15241 LIBS
=$ac_check_lib_save_LIBS
15243 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15244 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15245 if test $ac_cv_lib_cExt_drand48 = yes; then
15246 LIBS
="$LIBS -lcExt"
15250 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15252 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15253 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15254 if test "${wx_cv_gccversion+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 if test "$cross_compiling" = yes; then
15259 wx_cv_gccversion
="EMX2"
15262 cat >conftest.
$ac_ext <<_ACEOF
15265 cat confdefs.h
>>conftest.
$ac_ext
15266 cat >>conftest.
$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15273 FILE *f=fopen("conftestval", "w");
15278 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15280 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15290 rm -f conftest
$ac_exeext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15292 (eval $ac_link) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; }; then
15301 wx_cv_gccversion
=`cat conftestval`
15303 echo "$as_me: program exited with status $ac_status" >&5
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.
$ac_ext >&5
15307 ( exit $ac_status )
15308 wx_cv_gccversion
="EMX2"
15310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15314 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15315 echo "${ECHO_T}$wx_cv_gccversion" >&6
15316 if test "$wx_cv_gccversion" = "EMX2"; then
15317 LIBS
="$LIBS -lstdcpp"
15318 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15320 if test "$wx_cv_gccversion" = "EMX3"; then
15321 LIBS
="$LIBS -lstdcxx -lgcc"
15322 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15324 LIBS
="$LIBS -lstdc++"
15327 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15328 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15329 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15337 ac_cpp
='$CXXCPP $CPPFLAGS'
15338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15343 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15344 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15345 if test "${ac_cv_string_strcasecmp+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 cat >conftest.
$ac_ext <<_ACEOF
15352 cat confdefs.h
>>conftest.
$ac_ext
15353 cat >>conftest.
$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15356 #include <string.h>
15362 strcasecmp("foo", "bar");
15368 rm -f conftest.
$ac_objext conftest
$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 (eval $ac_link) 2>conftest.er1
15372 grep -v '^ *+' conftest.er1
>conftest.err
15374 cat conftest.err
>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try
='test -z "$ac_cxx_werror_flag"
15378 || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try
='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_string_strcasecmp
=yes
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.
$ac_ext >&5
15395 ac_cv_string_strcasecmp
=no
15398 rm -f conftest.err conftest.
$ac_objext \
15399 conftest
$ac_exeext conftest.
$ac_ext
15402 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15403 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15405 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15406 cat >>confdefs.h
<<\_ACEOF
15407 #define HAVE_STRCASECMP_IN_STRING_H 1
15411 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15412 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15413 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 cat >conftest.
$ac_ext <<_ACEOF
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15424 #include <strings.h>
15430 strcasecmp("foo", "bar");
15436 rm -f conftest.
$ac_objext conftest
$ac_exeext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15438 (eval $ac_link) 2>conftest.er1
15440 grep -v '^ *+' conftest.er1
>conftest.err
15442 cat conftest.err
>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try
='test -z "$ac_cxx_werror_flag"
15446 || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_strings_strcasecmp
=yes
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.
$ac_ext >&5
15463 ac_cv_strings_strcasecmp
=no
15466 rm -f conftest.err conftest.
$ac_objext \
15467 conftest
$ac_exeext conftest.
$ac_ext
15470 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15471 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15473 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15474 cat >>confdefs.h
<<\_ACEOF
15475 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15479 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15480 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15481 { (exit 1); exit 1; }; }
15486 ac_cpp
='$CPP $CPPFLAGS'
15487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15495 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15497 if test "${ac_cv_header_stdc+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 cat >conftest.
$ac_ext <<_ACEOF
15503 cat confdefs.h
>>conftest.
$ac_ext
15504 cat >>conftest.
$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506 #include <stdlib.h>
15507 #include <stdarg.h>
15508 #include <string.h>
15519 rm -f conftest.
$ac_objext
15520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15521 (eval $ac_compile) 2>conftest.er1
15523 grep -v '^ *+' conftest.er1
>conftest.err
15525 cat conftest.err
>&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); } &&
15528 { ac_try
='test -z "$ac_c_werror_flag"
15529 || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try
='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 ac_cv_header_stdc
=yes
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.
$ac_ext >&5
15546 ac_cv_header_stdc
=no
15548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15550 if test $ac_cv_header_stdc = yes; then
15551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15552 cat >conftest.
$ac_ext <<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 #include <string.h>
15561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15562 $EGREP "memchr" >/dev
/null
2>&1; then
15565 ac_cv_header_stdc
=no
15571 if test $ac_cv_header_stdc = yes; then
15572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15573 cat >conftest.
$ac_ext <<_ACEOF
15576 cat confdefs.h
>>conftest.
$ac_ext
15577 cat >>conftest.
$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15579 #include <stdlib.h>
15582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15583 $EGREP "free" >/dev
/null
2>&1; then
15586 ac_cv_header_stdc
=no
15592 if test $ac_cv_header_stdc = yes; then
15593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15594 if test "$cross_compiling" = yes; then
15597 cat >conftest.
$ac_ext <<_ACEOF
15600 cat confdefs.h
>>conftest.
$ac_ext
15601 cat >>conftest.
$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15604 #if ((' ' & 0x0FF) == 0x020)
15605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15608 # define ISLOWER(c) \
15609 (('a' <= (c) && (c) <= 'i') \
15610 || ('j' <= (c) && (c) <= 'r') \
15611 || ('s' <= (c) && (c) <= 'z'))
15612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15620 for (i = 0; i < 256; i++)
15621 if (XOR (islower (i), ISLOWER (i))
15622 || toupper (i) != TOUPPER (i))
15627 rm -f conftest
$ac_exeext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15629 (eval $ac_link) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15640 echo "$as_me: program exited with status $ac_status" >&5
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.
$ac_ext >&5
15644 ( exit $ac_status )
15645 ac_cv_header_stdc
=no
15647 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15651 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15652 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15653 if test $ac_cv_header_stdc = yes; then
15655 cat >>confdefs.h
<<\_ACEOF
15656 #define STDC_HEADERS 1
15661 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15671 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15672 inttypes.h stdint.h unistd.h
15674 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15675 echo "$as_me:$LINENO: checking for $ac_header" >&5
15676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15678 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 cat >conftest.
$ac_ext <<_ACEOF
15683 cat confdefs.h
>>conftest.
$ac_ext
15684 cat >>conftest.
$ac_ext <<_ACEOF
15685 /* end confdefs.h. */
15686 $ac_includes_default
15688 #include <$ac_header>
15690 rm -f conftest.
$ac_objext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15692 (eval $ac_compile) 2>conftest.er1
15694 grep -v '^ *+' conftest.er1
>conftest.err
15696 cat conftest.err
>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try
='test -z "$ac_c_werror_flag"
15700 || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try
='test -s conftest.$ac_objext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 eval "$as_ac_Header=yes"
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.
$ac_ext >&5
15717 eval "$as_ac_Header=no"
15719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15724 cat >>confdefs.h
<<_ACEOF
15725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15734 for ac_header
in stdlib.h
15736 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15738 echo "$as_me:$LINENO: checking for $ac_header" >&5
15739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15746 # Is the header compilable?
15747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15749 cat >conftest.
$ac_ext <<_ACEOF
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15756 #include <$ac_header>
15758 rm -f conftest.
$ac_objext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15760 (eval $ac_compile) 2>conftest.er1
15762 grep -v '^ *+' conftest.er1
>conftest.err
15764 cat conftest.err
>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } &&
15767 { ac_try
='test -z "$ac_c_werror_flag"
15768 || test ! -s conftest.err'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } &&
15774 { ac_try
='test -s conftest.$ac_objext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_header_compiler
=yes
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.
$ac_ext >&5
15785 ac_header_compiler
=no
15787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15789 echo "${ECHO_T}$ac_header_compiler" >&6
15791 # Is the header present?
15792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 #include <$ac_header>
15802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15805 grep -v '^ *+' conftest.er1
>conftest.err
15807 cat conftest.err
>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } >/dev
/null
; then
15810 if test -s conftest.err
; then
15811 ac_cpp_err
=$ac_c_preproc_warn_flag
15812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15819 if test -z "$ac_cpp_err"; then
15820 ac_header_preproc
=yes
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.
$ac_ext >&5
15825 ac_header_preproc
=no
15827 rm -f conftest.err conftest.
$ac_ext
15828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15829 echo "${ECHO_T}$ac_header_preproc" >&6
15831 # So? What about this header?
15832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15838 ac_header_preproc
=yes
15841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15855 ## ----------------------------------------- ##
15856 ## Report this to wx-dev@lists.wxwidgets.org ##
15857 ## ----------------------------------------- ##
15860 sed "s/^/$as_me: WARNING: /" >&2
15863 echo "$as_me:$LINENO: checking for $ac_header" >&5
15864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15868 eval "$as_ac_Header=\$ac_header_preproc"
15870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15875 cat >>confdefs.h
<<_ACEOF
15876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15884 for ac_header
in malloc.h
15886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15888 echo "$as_me:$LINENO: checking for $ac_header" >&5
15889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15891 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15896 # Is the header compilable?
15897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15899 cat >conftest.
$ac_ext <<_ACEOF
15902 cat confdefs.h
>>conftest.
$ac_ext
15903 cat >>conftest.
$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 $ac_includes_default
15906 #include <$ac_header>
15908 rm -f conftest.
$ac_objext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15910 (eval $ac_compile) 2>conftest.er1
15912 grep -v '^ *+' conftest.er1
>conftest.err
15914 cat conftest.err
>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } &&
15917 { ac_try
='test -z "$ac_c_werror_flag"
15918 || test ! -s conftest.err'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; } &&
15924 { ac_try
='test -s conftest.$ac_objext'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; }; then
15930 ac_header_compiler
=yes
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.
$ac_ext >&5
15935 ac_header_compiler
=no
15937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15939 echo "${ECHO_T}$ac_header_compiler" >&6
15941 # Is the header present?
15942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15944 cat >conftest.
$ac_ext <<_ACEOF
15947 cat confdefs.h
>>conftest.
$ac_ext
15948 cat >>conftest.
$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 #include <$ac_header>
15952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15955 grep -v '^ *+' conftest.er1
>conftest.err
15957 cat conftest.err
>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } >/dev
/null
; then
15960 if test -s conftest.err
; then
15961 ac_cpp_err
=$ac_c_preproc_warn_flag
15962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15969 if test -z "$ac_cpp_err"; then
15970 ac_header_preproc
=yes
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15975 ac_header_preproc
=no
15977 rm -f conftest.err conftest.
$ac_ext
15978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15979 echo "${ECHO_T}$ac_header_preproc" >&6
15981 # So? What about this header?
15982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15988 ac_header_preproc
=yes
15991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16005 ## ----------------------------------------- ##
16006 ## Report this to wx-dev@lists.wxwidgets.org ##
16007 ## ----------------------------------------- ##
16010 sed "s/^/$as_me: WARNING: /" >&2
16013 echo "$as_me:$LINENO: checking for $ac_header" >&5
16014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16018 eval "$as_ac_Header=\$ac_header_preproc"
16020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16025 cat >>confdefs.h
<<_ACEOF
16026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16034 for ac_header
in unistd.h
16036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16038 echo "$as_me:$LINENO: checking for $ac_header" >&5
16039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16041 echo $ECHO_N "(cached) $ECHO_C" >&6
16043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16046 # Is the header compilable?
16047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 $ac_includes_default
16056 #include <$ac_header>
16058 rm -f conftest.
$ac_objext
16059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>conftest.er1
16062 grep -v '^ *+' conftest.er1
>conftest.err
16064 cat conftest.err
>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try
='test -z "$ac_c_werror_flag"
16068 || test ! -s conftest.err'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; } &&
16074 { ac_try
='test -s conftest.$ac_objext'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; }; then
16080 ac_header_compiler
=yes
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.
$ac_ext >&5
16085 ac_header_compiler
=no
16087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16089 echo "${ECHO_T}$ac_header_compiler" >&6
16091 # Is the header present?
16092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16094 cat >conftest.
$ac_ext <<_ACEOF
16097 cat confdefs.h
>>conftest.
$ac_ext
16098 cat >>conftest.
$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 #include <$ac_header>
16102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16105 grep -v '^ *+' conftest.er1
>conftest.err
16107 cat conftest.err
>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } >/dev
/null
; then
16110 if test -s conftest.err
; then
16111 ac_cpp_err
=$ac_c_preproc_warn_flag
16112 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16119 if test -z "$ac_cpp_err"; then
16120 ac_header_preproc
=yes
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.
$ac_ext >&5
16125 ac_header_preproc
=no
16127 rm -f conftest.err conftest.
$ac_ext
16128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16129 echo "${ECHO_T}$ac_header_preproc" >&6
16131 # So? What about this header?
16132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16138 ac_header_preproc
=yes
16141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16155 ## ----------------------------------------- ##
16156 ## Report this to wx-dev@lists.wxwidgets.org ##
16157 ## ----------------------------------------- ##
16160 sed "s/^/$as_me: WARNING: /" >&2
16163 echo "$as_me:$LINENO: checking for $ac_header" >&5
16164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 eval "$as_ac_Header=\$ac_header_preproc"
16170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16175 cat >>confdefs.h
<<_ACEOF
16176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16184 for ac_header
in wchar.h
16186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16188 echo "$as_me:$LINENO: checking for $ac_header" >&5
16189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16196 # Is the header compilable?
16197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16206 #include <$ac_header>
16208 rm -f conftest.
$ac_objext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>conftest.er1
16212 grep -v '^ *+' conftest.er1
>conftest.err
16214 cat conftest.err
>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try
='test -z "$ac_c_werror_flag"
16218 || test ! -s conftest.err'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; } &&
16224 { ac_try
='test -s conftest.$ac_objext'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; }; then
16230 ac_header_compiler
=yes
16232 echo "$as_me: failed program was:" >&5
16233 sed 's/^/| /' conftest.
$ac_ext >&5
16235 ac_header_compiler
=no
16237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16239 echo "${ECHO_T}$ac_header_compiler" >&6
16241 # Is the header present?
16242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16244 cat >conftest.
$ac_ext <<_ACEOF
16247 cat confdefs.h
>>conftest.
$ac_ext
16248 cat >>conftest.
$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16250 #include <$ac_header>
16252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16255 grep -v '^ *+' conftest.er1
>conftest.err
16257 cat conftest.err
>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } >/dev
/null
; then
16260 if test -s conftest.err
; then
16261 ac_cpp_err
=$ac_c_preproc_warn_flag
16262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16269 if test -z "$ac_cpp_err"; then
16270 ac_header_preproc
=yes
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.
$ac_ext >&5
16275 ac_header_preproc
=no
16277 rm -f conftest.err conftest.
$ac_ext
16278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16279 echo "${ECHO_T}$ac_header_preproc" >&6
16281 # So? What about this header?
16282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16288 ac_header_preproc
=yes
16291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16305 ## ----------------------------------------- ##
16306 ## Report this to wx-dev@lists.wxwidgets.org ##
16307 ## ----------------------------------------- ##
16310 sed "s/^/$as_me: WARNING: /" >&2
16313 echo "$as_me:$LINENO: checking for $ac_header" >&5
16314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16316 echo $ECHO_N "(cached) $ECHO_C" >&6
16318 eval "$as_ac_Header=\$ac_header_preproc"
16320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16325 cat >>confdefs.h
<<_ACEOF
16326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16334 if test "$ac_cv_header_wchar_h" != "yes"; then
16336 for ac_header
in wcstr.h
16338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16340 echo "$as_me:$LINENO: checking for $ac_header" >&5
16341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16348 # Is the header compilable?
16349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16351 cat >conftest.
$ac_ext <<_ACEOF
16354 cat confdefs.h
>>conftest.
$ac_ext
16355 cat >>conftest.
$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 $ac_includes_default
16358 #include <$ac_header>
16360 rm -f conftest.
$ac_objext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16362 (eval $ac_compile) 2>conftest.er1
16364 grep -v '^ *+' conftest.er1
>conftest.err
16366 cat conftest.err
>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try
='test -z "$ac_c_werror_flag"
16370 || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try
='test -s conftest.$ac_objext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_header_compiler
=yes
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.
$ac_ext >&5
16387 ac_header_compiler
=no
16389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16391 echo "${ECHO_T}$ac_header_compiler" >&6
16393 # Is the header present?
16394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16396 cat >conftest.
$ac_ext <<_ACEOF
16399 cat confdefs.h
>>conftest.
$ac_ext
16400 cat >>conftest.
$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402 #include <$ac_header>
16404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16407 grep -v '^ *+' conftest.er1
>conftest.err
16409 cat conftest.err
>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } >/dev
/null
; then
16412 if test -s conftest.err
; then
16413 ac_cpp_err
=$ac_c_preproc_warn_flag
16414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16421 if test -z "$ac_cpp_err"; then
16422 ac_header_preproc
=yes
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.
$ac_ext >&5
16427 ac_header_preproc
=no
16429 rm -f conftest.err conftest.
$ac_ext
16430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16431 echo "${ECHO_T}$ac_header_preproc" >&6
16433 # So? What about this header?
16434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16440 ac_header_preproc
=yes
16443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16457 ## ----------------------------------------- ##
16458 ## Report this to wx-dev@lists.wxwidgets.org ##
16459 ## ----------------------------------------- ##
16462 sed "s/^/$as_me: WARNING: /" >&2
16465 echo "$as_me:$LINENO: checking for $ac_header" >&5
16466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 eval "$as_ac_Header=\$ac_header_preproc"
16472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16477 cat >>confdefs.h
<<_ACEOF
16478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16488 for ac_header
in fnmatch.h
16490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16492 echo "$as_me:$LINENO: checking for $ac_header" >&5
16493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16495 echo $ECHO_N "(cached) $ECHO_C" >&6
16497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16500 # Is the header compilable?
16501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16503 cat >conftest.
$ac_ext <<_ACEOF
16506 cat confdefs.h
>>conftest.
$ac_ext
16507 cat >>conftest.
$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 $ac_includes_default
16510 #include <$ac_header>
16512 rm -f conftest.
$ac_objext
16513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16514 (eval $ac_compile) 2>conftest.er1
16516 grep -v '^ *+' conftest.er1
>conftest.err
16518 cat conftest.err
>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } &&
16521 { ac_try
='test -z "$ac_c_werror_flag"
16522 || test ! -s conftest.err'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; } &&
16528 { ac_try
='test -s conftest.$ac_objext'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16534 ac_header_compiler
=yes
16536 echo "$as_me: failed program was:" >&5
16537 sed 's/^/| /' conftest.
$ac_ext >&5
16539 ac_header_compiler
=no
16541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16543 echo "${ECHO_T}$ac_header_compiler" >&6
16545 # Is the header present?
16546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16548 cat >conftest.
$ac_ext <<_ACEOF
16551 cat confdefs.h
>>conftest.
$ac_ext
16552 cat >>conftest.
$ac_ext <<_ACEOF
16553 /* end confdefs.h. */
16554 #include <$ac_header>
16556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16559 grep -v '^ *+' conftest.er1
>conftest.err
16561 cat conftest.err
>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } >/dev
/null
; then
16564 if test -s conftest.err
; then
16565 ac_cpp_err
=$ac_c_preproc_warn_flag
16566 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16573 if test -z "$ac_cpp_err"; then
16574 ac_header_preproc
=yes
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_header_preproc
=no
16581 rm -f conftest.err conftest.
$ac_ext
16582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16583 echo "${ECHO_T}$ac_header_preproc" >&6
16585 # So? What about this header?
16586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16592 ac_header_preproc
=yes
16595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16609 ## ----------------------------------------- ##
16610 ## Report this to wx-dev@lists.wxwidgets.org ##
16611 ## ----------------------------------------- ##
16614 sed "s/^/$as_me: WARNING: /" >&2
16617 echo "$as_me:$LINENO: checking for $ac_header" >&5
16618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16622 eval "$as_ac_Header=\$ac_header_preproc"
16624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16629 cat >>confdefs.h
<<_ACEOF
16630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16639 for ac_header
in langinfo.h
16641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16643 echo "$as_me:$LINENO: checking for $ac_header" >&5
16644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16651 # Is the header compilable?
16652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16654 cat >conftest.
$ac_ext <<_ACEOF
16657 cat confdefs.h
>>conftest.
$ac_ext
16658 cat >>conftest.
$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 $ac_includes_default
16661 #include <$ac_header>
16663 rm -f conftest.
$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>conftest.er1
16667 grep -v '^ *+' conftest.er1
>conftest.err
16669 cat conftest.err
>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try
='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try
='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 ac_header_compiler
=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 ac_header_compiler
=no
16692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16694 echo "${ECHO_T}$ac_header_compiler" >&6
16696 # Is the header present?
16697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <$ac_header>
16707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16710 grep -v '^ *+' conftest.er1
>conftest.err
16712 cat conftest.err
>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } >/dev
/null
; then
16715 if test -s conftest.err
; then
16716 ac_cpp_err
=$ac_c_preproc_warn_flag
16717 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16724 if test -z "$ac_cpp_err"; then
16725 ac_header_preproc
=yes
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.
$ac_ext >&5
16730 ac_header_preproc
=no
16732 rm -f conftest.err conftest.
$ac_ext
16733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16734 echo "${ECHO_T}$ac_header_preproc" >&6
16736 # So? What about this header?
16737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16743 ac_header_preproc
=yes
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16760 ## ----------------------------------------- ##
16761 ## Report this to wx-dev@lists.wxwidgets.org ##
16762 ## ----------------------------------------- ##
16765 sed "s/^/$as_me: WARNING: /" >&2
16768 echo "$as_me:$LINENO: checking for $ac_header" >&5
16769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 eval "$as_ac_Header=\$ac_header_preproc"
16775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16780 cat >>confdefs.h
<<_ACEOF
16781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16790 *-pc-os2_emx | *-pc-os2-emx )
16791 if test $ac_cv_header_langinfo_h = "yes" \
16792 -a \
( "$wx_cv_gccversion" = "EMX2" \
16793 -o "$wx_cv_gccversion" = "EMX3" \
16794 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16795 LIBS
="$LIBS -lintl"
16801 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16802 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16803 if test "${ac_cv_c_const+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16816 /* FIXME: Include the comments suggested by Paul. */
16817 #ifndef __cplusplus
16818 /* Ultrix mips cc rejects this. */
16819 typedef int charset[2];
16821 /* SunOS 4.1.1 cc rejects this. */
16822 char const *const *ccp;
16824 /* NEC SVR4.0.2 mips cc rejects this. */
16825 struct point {int x, y;};
16826 static struct point const zero = {0,0};
16827 /* AIX XL C 1.02.0.0 rejects this.
16828 It does not let you subtract one const X* pointer from another in
16829 an arm of an if-expression whose if-part is not a constant
16831 const char *g = "string";
16832 ccp = &g + (g ? g-g : 0);
16833 /* HPUX 7.0 cc rejects these. */
16836 ccp = (char const *const *) p;
16837 { /* SCO 3.2v4 cc rejects this. */
16839 char const *s = 0 ? (char *) 0 : (char const *) 0;
16843 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16844 int x[] = {25, 17};
16845 const int *foo = &x[0];
16848 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16849 typedef const int *iptr;
16853 { /* AIX XL C 1.02.0.0 rejects this saying
16854 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16855 struct s { int j; const int *ap[3]; };
16856 struct s *b; b->j = 5;
16858 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16859 const int foo = 10;
16867 rm -f conftest.
$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16871 grep -v '^ *+' conftest.er1
>conftest.err
16873 cat conftest.err
>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try
='test -z "$ac_c_werror_flag"
16877 || test ! -s conftest.err'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; } &&
16883 { ac_try
='test -s conftest.$ac_objext'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; }; then
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.
$ac_ext >&5
16896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16898 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16899 echo "${ECHO_T}$ac_cv_c_const" >&6
16900 if test $ac_cv_c_const = no
; then
16902 cat >>confdefs.h
<<\_ACEOF
16908 echo "$as_me:$LINENO: checking for inline" >&5
16909 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16910 if test "${ac_cv_c_inline+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 for ac_kw
in inline __inline__ __inline
; do
16915 cat >conftest.
$ac_ext <<_ACEOF
16918 cat confdefs.h
>>conftest.
$ac_ext
16919 cat >>conftest.
$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 #ifndef __cplusplus
16923 static $ac_kw foo_t static_foo () {return 0; }
16924 $ac_kw foo_t foo () {return 0; }
16928 rm -f conftest.
$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16932 grep -v '^ *+' conftest.er1
>conftest.err
16934 cat conftest.err
>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -z "$ac_c_werror_flag"
16938 || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try
='test -s conftest.$ac_objext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_c_inline
=$ac_kw; break
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.
$ac_ext >&5
16956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16960 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16961 echo "${ECHO_T}$ac_cv_c_inline" >&6
16964 case $ac_cv_c_inline in
16967 case $ac_cv_c_inline in
16969 *) ac_val
=$ac_cv_c_inline;;
16971 cat >>confdefs.h
<<_ACEOF
16972 #ifndef __cplusplus
16973 #define inline $ac_val
16980 echo "$as_me:$LINENO: checking for char" >&5
16981 echo $ECHO_N "checking for char... $ECHO_C" >&6
16982 if test "${ac_cv_type_char+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 cat >conftest.
$ac_ext <<_ACEOF
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try
='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_cv_type_char
=yes
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17034 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17035 echo "${ECHO_T}$ac_cv_type_char" >&6
17037 echo "$as_me:$LINENO: checking size of char" >&5
17038 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17039 if test "${ac_cv_sizeof_char+set}" = set; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 if test "$ac_cv_type_char" = yes; then
17043 # The cast to unsigned long works around a bug in the HP C Compiler
17044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17046 # This bug is HP SR number 8606223364.
17047 if test "$cross_compiling" = yes; then
17048 # Depending upon the size, compute the lo and hi bounds.
17049 cat >conftest.
$ac_ext <<_ACEOF
17052 cat confdefs.h
>>conftest.
$ac_ext
17053 cat >>conftest.
$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 $ac_includes_default
17059 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17066 rm -f conftest.
$ac_objext
17067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17068 (eval $ac_compile) 2>conftest.er1
17070 grep -v '^ *+' conftest.er1
>conftest.err
17072 cat conftest.err
>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
17075 { ac_try
='test -z "$ac_c_werror_flag"
17076 || test ! -s conftest.err'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; } &&
17082 { ac_try
='test -s conftest.$ac_objext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17090 cat >conftest.
$ac_ext <<_ACEOF
17093 cat confdefs.h
>>conftest.
$ac_ext
17094 cat >>conftest.
$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17100 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17107 rm -f conftest.
$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17111 grep -v '^ *+' conftest.er1
>conftest.err
17113 cat conftest.err
>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try
='test -z "$ac_c_werror_flag"
17117 || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try
='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_hi
=$ac_mid; break
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 ac_lo
=`expr $ac_mid + 1`
17135 if test $ac_lo -le $ac_mid; then
17139 ac_mid
=`expr 2 '*' $ac_mid + 1`
17141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.
$ac_ext >&5
17147 cat >conftest.
$ac_ext <<_ACEOF
17150 cat confdefs.h
>>conftest.
$ac_ext
17151 cat >>conftest.
$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 $ac_includes_default
17157 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17164 rm -f conftest.
$ac_objext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>conftest.er1
17168 grep -v '^ *+' conftest.er1
>conftest.err
17170 cat conftest.err
>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try
='test -z "$ac_c_werror_flag"
17174 || test ! -s conftest.err'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; } &&
17180 { ac_try
='test -s conftest.$ac_objext'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17198 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17205 rm -f conftest.
$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17209 grep -v '^ *+' conftest.er1
>conftest.err
17211 cat conftest.err
>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -z "$ac_c_werror_flag"
17215 || test ! -s conftest.err'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; } &&
17221 { ac_try
='test -s conftest.$ac_objext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_lo
=$ac_mid; break
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.
$ac_ext >&5
17232 ac_hi
=`expr '(' $ac_mid ')' - 1`
17233 if test $ac_mid -le $ac_hi; then
17237 ac_mid
=`expr 2 '*' $ac_mid`
17239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.
$ac_ext >&5
17247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17250 # Binary search between lo and hi bounds.
17251 while test "x$ac_lo" != "x$ac_hi"; do
17252 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17253 cat >conftest.
$ac_ext <<_ACEOF
17256 cat confdefs.h
>>conftest.
$ac_ext
17257 cat >>conftest.
$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259 $ac_includes_default
17263 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17270 rm -f conftest.
$ac_objext
17271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17272 (eval $ac_compile) 2>conftest.er1
17274 grep -v '^ *+' conftest.er1
>conftest.err
17276 cat conftest.err
>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } &&
17279 { ac_try
='test -z "$ac_c_werror_flag"
17280 || test ! -s conftest.err'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; } &&
17286 { ac_try
='test -s conftest.$ac_objext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.
$ac_ext >&5
17297 ac_lo
=`expr '(' $ac_mid ')' + 1`
17299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17302 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17303 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17304 See \`config.log' for more details." >&5
17305 echo "$as_me: error: cannot compute sizeof (char), 77
17306 See \`config.log' for more details." >&2;}
17307 { (exit 1); exit 1; }; } ;;
17310 if test "$cross_compiling" = yes; then
17311 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17312 See \`config.log' for more details." >&5
17313 echo "$as_me: error: cannot run test program while cross compiling
17314 See \`config.log' for more details." >&2;}
17315 { (exit 1); exit 1; }; }
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17324 long longval () { return (long) (sizeof (char)); }
17325 unsigned long ulongval () { return (long) (sizeof (char)); }
17327 #include <stdlib.h>
17332 FILE *f = fopen ("conftest.val", "w");
17335 if (((long) (sizeof (char))) < 0)
17337 long i = longval ();
17338 if (i != ((long) (sizeof (char))))
17340 fprintf (f, "%ld\n", i);
17344 unsigned long i = ulongval ();
17345 if (i != ((long) (sizeof (char))))
17347 fprintf (f, "%lu\n", i);
17349 exit (ferror (f) || fclose (f) != 0);
17355 rm -f conftest
$ac_exeext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17357 (eval $ac_link) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_cv_sizeof_char
=`cat conftest.val`
17368 echo "$as_me: program exited with status $ac_status" >&5
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17372 ( exit $ac_status )
17373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17374 See \`config.log' for more details." >&5
17375 echo "$as_me: error: cannot compute sizeof (char), 77
17376 See \`config.log' for more details." >&2;}
17377 { (exit 1); exit 1; }; }
17379 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17384 ac_cv_sizeof_char
=0
17387 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17388 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17389 cat >>confdefs.h
<<_ACEOF
17390 #define SIZEOF_CHAR $ac_cv_sizeof_char
17394 echo "$as_me:$LINENO: checking for short" >&5
17395 echo $ECHO_N "checking for short... $ECHO_C" >&6
17396 if test "${ac_cv_type_short+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 cat >conftest.
$ac_ext <<_ACEOF
17402 cat confdefs.h
>>conftest.
$ac_ext
17403 cat >>conftest.
$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 $ac_includes_default
17411 if (sizeof (short))
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_c_werror_flag"
17427 || test ! -s conftest.err'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; } &&
17433 { ac_try
='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_cv_type_short
=yes
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17444 ac_cv_type_short
=no
17446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17448 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17449 echo "${ECHO_T}$ac_cv_type_short" >&6
17451 echo "$as_me:$LINENO: checking size of short" >&5
17452 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17453 if test "${ac_cv_sizeof_short+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17456 if test "$ac_cv_type_short" = yes; then
17457 # The cast to unsigned long works around a bug in the HP C Compiler
17458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17460 # This bug is HP SR number 8606223364.
17461 if test "$cross_compiling" = yes; then
17462 # Depending upon the size, compute the lo and hi bounds.
17463 cat >conftest.
$ac_ext <<_ACEOF
17466 cat confdefs.h
>>conftest.
$ac_ext
17467 cat >>conftest.
$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 $ac_includes_default
17473 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17480 rm -f conftest.
$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17484 grep -v '^ *+' conftest.er1
>conftest.err
17486 cat conftest.err
>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try
='test -z "$ac_c_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try
='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17504 cat >conftest.
$ac_ext <<_ACEOF
17507 cat confdefs.h
>>conftest.
$ac_ext
17508 cat >>conftest.
$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 $ac_includes_default
17514 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17521 rm -f conftest.
$ac_objext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17523 (eval $ac_compile) 2>conftest.er1
17525 grep -v '^ *+' conftest.er1
>conftest.err
17527 cat conftest.err
>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try
='test -z "$ac_c_werror_flag"
17531 || test ! -s conftest.err'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; } &&
17537 { ac_try
='test -s conftest.$ac_objext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17543 ac_hi
=$ac_mid; break
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.
$ac_ext >&5
17548 ac_lo
=`expr $ac_mid + 1`
17549 if test $ac_lo -le $ac_mid; then
17553 ac_mid
=`expr 2 '*' $ac_mid + 1`
17555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.
$ac_ext >&5
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 $ac_includes_default
17571 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17578 rm -f conftest.
$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17582 grep -v '^ *+' conftest.er1
>conftest.err
17584 cat conftest.err
>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try
='test -z "$ac_c_werror_flag"
17588 || test ! -s conftest.err'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; } &&
17594 { ac_try
='test -s conftest.$ac_objext'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17602 cat >conftest.
$ac_ext <<_ACEOF
17605 cat confdefs.h
>>conftest.
$ac_ext
17606 cat >>conftest.
$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608 $ac_includes_default
17612 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17619 rm -f conftest.
$ac_objext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17621 (eval $ac_compile) 2>conftest.er1
17623 grep -v '^ *+' conftest.er1
>conftest.err
17625 cat conftest.err
>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try
='test -z "$ac_c_werror_flag"
17629 || test ! -s conftest.err'
17630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17631 (eval $ac_try) 2>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; } &&
17635 { ac_try
='test -s conftest.$ac_objext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17641 ac_lo
=$ac_mid; break
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.
$ac_ext >&5
17646 ac_hi
=`expr '(' $ac_mid ')' - 1`
17647 if test $ac_mid -le $ac_hi; then
17651 ac_mid
=`expr 2 '*' $ac_mid`
17653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.
$ac_ext >&5
17661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17664 # Binary search between lo and hi bounds.
17665 while test "x$ac_lo" != "x$ac_hi"; do
17666 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17667 cat >conftest.
$ac_ext <<_ACEOF
17670 cat confdefs.h
>>conftest.
$ac_ext
17671 cat >>conftest.
$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673 $ac_includes_default
17677 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17684 rm -f conftest.
$ac_objext
17685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17686 (eval $ac_compile) 2>conftest.er1
17688 grep -v '^ *+' conftest.er1
>conftest.err
17690 cat conftest.err
>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } &&
17693 { ac_try
='test -z "$ac_c_werror_flag"
17694 || test ! -s conftest.err'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; } &&
17700 { ac_try
='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.
$ac_ext >&5
17711 ac_lo
=`expr '(' $ac_mid ')' + 1`
17713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17717 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17718 See \`config.log' for more details." >&5
17719 echo "$as_me: error: cannot compute sizeof (short), 77
17720 See \`config.log' for more details." >&2;}
17721 { (exit 1); exit 1; }; } ;;
17724 if test "$cross_compiling" = yes; then
17725 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17726 See \`config.log' for more details." >&5
17727 echo "$as_me: error: cannot run test program while cross compiling
17728 See \`config.log' for more details." >&2;}
17729 { (exit 1); exit 1; }; }
17731 cat >conftest.
$ac_ext <<_ACEOF
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738 long longval () { return (long) (sizeof (short)); }
17739 unsigned long ulongval () { return (long) (sizeof (short)); }
17741 #include <stdlib.h>
17746 FILE *f = fopen ("conftest.val", "w");
17749 if (((long) (sizeof (short))) < 0)
17751 long i = longval ();
17752 if (i != ((long) (sizeof (short))))
17754 fprintf (f, "%ld\n", i);
17758 unsigned long i = ulongval ();
17759 if (i != ((long) (sizeof (short))))
17761 fprintf (f, "%lu\n", i);
17763 exit (ferror (f) || fclose (f) != 0);
17769 rm -f conftest
$ac_exeext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771 (eval $ac_link) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_cv_sizeof_short
=`cat conftest.val`
17782 echo "$as_me: program exited with status $ac_status" >&5
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 ( exit $ac_status )
17787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17788 See \`config.log' for more details." >&5
17789 echo "$as_me: error: cannot compute sizeof (short), 77
17790 See \`config.log' for more details." >&2;}
17791 { (exit 1); exit 1; }; }
17793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17798 ac_cv_sizeof_short
=0
17801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17802 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17803 cat >>confdefs.h
<<_ACEOF
17804 #define SIZEOF_SHORT $ac_cv_sizeof_short
17808 echo "$as_me:$LINENO: checking for void *" >&5
17809 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17810 if test "${ac_cv_type_void_p+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 cat >conftest.
$ac_ext <<_ACEOF
17816 cat confdefs.h
>>conftest.
$ac_ext
17817 cat >>conftest.
$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17819 $ac_includes_default
17825 if (sizeof (void *))
17831 rm -f conftest.
$ac_objext
17832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17833 (eval $ac_compile) 2>conftest.er1
17835 grep -v '^ *+' conftest.er1
>conftest.err
17837 cat conftest.err
>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } &&
17840 { ac_try
='test -z "$ac_c_werror_flag"
17841 || test ! -s conftest.err'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try
='test -s conftest.$ac_objext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 ac_cv_type_void_p
=yes
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 ac_cv_type_void_p
=no
17860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17862 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17863 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17865 echo "$as_me:$LINENO: checking size of void *" >&5
17866 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17867 if test "${ac_cv_sizeof_void_p+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 if test "$ac_cv_type_void_p" = yes; then
17871 # The cast to unsigned long works around a bug in the HP C Compiler
17872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17874 # This bug is HP SR number 8606223364.
17875 if test "$cross_compiling" = yes; then
17876 # Depending upon the size, compute the lo and hi bounds.
17877 cat >conftest.
$ac_ext <<_ACEOF
17880 cat confdefs.h
>>conftest.
$ac_ext
17881 cat >>conftest.
$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 $ac_includes_default
17887 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17894 rm -f conftest.
$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>conftest.er1
17898 grep -v '^ *+' conftest.er1
>conftest.err
17900 cat conftest.err
>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } &&
17903 { ac_try
='test -z "$ac_c_werror_flag"
17904 || test ! -s conftest.err'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; } &&
17910 { ac_try
='test -s conftest.$ac_objext'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17918 cat >conftest.
$ac_ext <<_ACEOF
17921 cat confdefs.h
>>conftest.
$ac_ext
17922 cat >>conftest.
$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 $ac_includes_default
17928 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17935 rm -f conftest.
$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17939 grep -v '^ *+' conftest.er1
>conftest.err
17941 cat conftest.err
>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try
='test -z "$ac_c_werror_flag"
17945 || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try
='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_hi
=$ac_mid; break
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17962 ac_lo
=`expr $ac_mid + 1`
17963 if test $ac_lo -le $ac_mid; then
17967 ac_mid
=`expr 2 '*' $ac_mid + 1`
17969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.
$ac_ext >&5
17975 cat >conftest.
$ac_ext <<_ACEOF
17978 cat confdefs.h
>>conftest.
$ac_ext
17979 cat >>conftest.
$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 $ac_includes_default
17985 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17992 rm -f conftest.
$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17996 grep -v '^ *+' conftest.er1
>conftest.err
17998 cat conftest.err
>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try
='test -z "$ac_c_werror_flag"
18002 || test ! -s conftest.err'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try
='test -s conftest.$ac_objext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18016 cat >conftest.
$ac_ext <<_ACEOF
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18026 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18033 rm -f conftest.
$ac_objext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18035 (eval $ac_compile) 2>conftest.er1
18037 grep -v '^ *+' conftest.er1
>conftest.err
18039 cat conftest.err
>&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try
='test -z "$ac_c_werror_flag"
18043 || test ! -s conftest.err'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; } &&
18049 { ac_try
='test -s conftest.$ac_objext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 ac_lo
=$ac_mid; break
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 ac_hi
=`expr '(' $ac_mid ')' - 1`
18061 if test $ac_mid -le $ac_hi; then
18065 ac_mid
=`expr 2 '*' $ac_mid`
18067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.
$ac_ext >&5
18075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18078 # Binary search between lo and hi bounds.
18079 while test "x$ac_lo" != "x$ac_hi"; do
18080 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18081 cat >conftest.
$ac_ext <<_ACEOF
18084 cat confdefs.h
>>conftest.
$ac_ext
18085 cat >>conftest.
$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18087 $ac_includes_default
18091 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18098 rm -f conftest.
$ac_objext
18099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18100 (eval $ac_compile) 2>conftest.er1
18102 grep -v '^ *+' conftest.er1
>conftest.err
18104 cat conftest.err
>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } &&
18107 { ac_try
='test -z "$ac_c_werror_flag"
18108 || test ! -s conftest.err'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; } &&
18114 { ac_try
='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.
$ac_ext >&5
18125 ac_lo
=`expr '(' $ac_mid ')' + 1`
18127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18130 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18131 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18132 See \`config.log' for more details." >&5
18133 echo "$as_me: error: cannot compute sizeof (void *), 77
18134 See \`config.log' for more details." >&2;}
18135 { (exit 1); exit 1; }; } ;;
18138 if test "$cross_compiling" = yes; then
18139 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18140 See \`config.log' for more details." >&5
18141 echo "$as_me: error: cannot run test program while cross compiling
18142 See \`config.log' for more details." >&2;}
18143 { (exit 1); exit 1; }; }
18145 cat >conftest.
$ac_ext <<_ACEOF
18148 cat confdefs.h
>>conftest.
$ac_ext
18149 cat >>conftest.
$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 $ac_includes_default
18152 long longval () { return (long) (sizeof (void *)); }
18153 unsigned long ulongval () { return (long) (sizeof (void *)); }
18155 #include <stdlib.h>
18160 FILE *f = fopen ("conftest.val", "w");
18163 if (((long) (sizeof (void *))) < 0)
18165 long i = longval ();
18166 if (i != ((long) (sizeof (void *))))
18168 fprintf (f, "%ld\n", i);
18172 unsigned long i = ulongval ();
18173 if (i != ((long) (sizeof (void *))))
18175 fprintf (f, "%lu\n", i);
18177 exit (ferror (f) || fclose (f) != 0);
18183 rm -f conftest
$ac_exeext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18185 (eval $ac_link) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 ac_cv_sizeof_void_p
=`cat conftest.val`
18196 echo "$as_me: program exited with status $ac_status" >&5
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.
$ac_ext >&5
18200 ( exit $ac_status )
18201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18202 See \`config.log' for more details." >&5
18203 echo "$as_me: error: cannot compute sizeof (void *), 77
18204 See \`config.log' for more details." >&2;}
18205 { (exit 1); exit 1; }; }
18207 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18212 ac_cv_sizeof_void_p
=0
18215 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18216 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18217 cat >>confdefs.h
<<_ACEOF
18218 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18222 echo "$as_me:$LINENO: checking for int" >&5
18223 echo $ECHO_N "checking for int... $ECHO_C" >&6
18224 if test "${ac_cv_type_int+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 cat >conftest.
$ac_ext <<_ACEOF
18230 cat confdefs.h
>>conftest.
$ac_ext
18231 cat >>conftest.
$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18245 rm -f conftest.
$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18249 grep -v '^ *+' conftest.er1
>conftest.err
18251 cat conftest.err
>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try
='test -z "$ac_c_werror_flag"
18255 || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try
='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.
$ac_ext >&5
18274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18276 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18277 echo "${ECHO_T}$ac_cv_type_int" >&6
18279 echo "$as_me:$LINENO: checking size of int" >&5
18280 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18281 if test "${ac_cv_sizeof_int+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18284 if test "$ac_cv_type_int" = yes; then
18285 # The cast to unsigned long works around a bug in the HP C Compiler
18286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18288 # This bug is HP SR number 8606223364.
18289 if test "$cross_compiling" = yes; then
18290 # Depending upon the size, compute the lo and hi bounds.
18291 cat >conftest.
$ac_ext <<_ACEOF
18294 cat confdefs.h
>>conftest.
$ac_ext
18295 cat >>conftest.
$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 $ac_includes_default
18301 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18308 rm -f conftest.
$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18312 grep -v '^ *+' conftest.er1
>conftest.err
18314 cat conftest.err
>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try
='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try
='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18332 cat >conftest.
$ac_ext <<_ACEOF
18335 cat confdefs.h
>>conftest.
$ac_ext
18336 cat >>conftest.
$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18342 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18349 rm -f conftest.
$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_c_werror_flag"
18359 || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try
='test -s conftest.$ac_objext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 ac_hi
=$ac_mid; break
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 ac_lo
=`expr $ac_mid + 1`
18377 if test $ac_lo -le $ac_mid; then
18381 ac_mid
=`expr 2 '*' $ac_mid + 1`
18383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.
$ac_ext >&5
18389 cat >conftest.
$ac_ext <<_ACEOF
18392 cat confdefs.h
>>conftest.
$ac_ext
18393 cat >>conftest.
$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 $ac_includes_default
18399 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18406 rm -f conftest.
$ac_objext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18408 (eval $ac_compile) 2>conftest.er1
18410 grep -v '^ *+' conftest.er1
>conftest.err
18412 cat conftest.err
>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try
='test -z "$ac_c_werror_flag"
18416 || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try
='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18430 cat >conftest.
$ac_ext <<_ACEOF
18433 cat confdefs.h
>>conftest.
$ac_ext
18434 cat >>conftest.
$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 $ac_includes_default
18440 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18447 rm -f conftest.
$ac_objext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>conftest.er1
18451 grep -v '^ *+' conftest.er1
>conftest.err
18453 cat conftest.err
>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try
='test -z "$ac_c_werror_flag"
18457 || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try
='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_lo
=$ac_mid; break
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 ac_hi
=`expr '(' $ac_mid ')' - 1`
18475 if test $ac_mid -le $ac_hi; then
18479 ac_mid
=`expr 2 '*' $ac_mid`
18481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.
$ac_ext >&5
18489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18492 # Binary search between lo and hi bounds.
18493 while test "x$ac_lo" != "x$ac_hi"; do
18494 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18495 cat >conftest.
$ac_ext <<_ACEOF
18498 cat confdefs.h
>>conftest.
$ac_ext
18499 cat >>conftest.
$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18505 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18512 rm -f conftest.
$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1
>conftest.err
18518 cat conftest.err
>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try
='test -z "$ac_c_werror_flag"
18522 || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try
='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.
$ac_ext >&5
18539 ac_lo
=`expr '(' $ac_mid ')' + 1`
18541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18544 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18545 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18546 See \`config.log' for more details." >&5
18547 echo "$as_me: error: cannot compute sizeof (int), 77
18548 See \`config.log' for more details." >&2;}
18549 { (exit 1); exit 1; }; } ;;
18552 if test "$cross_compiling" = yes; then
18553 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18554 See \`config.log' for more details." >&5
18555 echo "$as_me: error: cannot run test program while cross compiling
18556 See \`config.log' for more details." >&2;}
18557 { (exit 1); exit 1; }; }
18559 cat >conftest.
$ac_ext <<_ACEOF
18562 cat confdefs.h
>>conftest.
$ac_ext
18563 cat >>conftest.
$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 $ac_includes_default
18566 long longval () { return (long) (sizeof (int)); }
18567 unsigned long ulongval () { return (long) (sizeof (int)); }
18569 #include <stdlib.h>
18574 FILE *f = fopen ("conftest.val", "w");
18577 if (((long) (sizeof (int))) < 0)
18579 long i = longval ();
18580 if (i != ((long) (sizeof (int))))
18582 fprintf (f, "%ld\n", i);
18586 unsigned long i = ulongval ();
18587 if (i != ((long) (sizeof (int))))
18589 fprintf (f, "%lu\n", i);
18591 exit (ferror (f) || fclose (f) != 0);
18597 rm -f conftest
$ac_exeext
18598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18599 (eval $ac_link) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18604 (eval $ac_try) 2>&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); }; }; then
18608 ac_cv_sizeof_int
=`cat conftest.val`
18610 echo "$as_me: program exited with status $ac_status" >&5
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.
$ac_ext >&5
18614 ( exit $ac_status )
18615 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18616 See \`config.log' for more details." >&5
18617 echo "$as_me: error: cannot compute sizeof (int), 77
18618 See \`config.log' for more details." >&2;}
18619 { (exit 1); exit 1; }; }
18621 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18629 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18630 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18631 cat >>confdefs.h
<<_ACEOF
18632 #define SIZEOF_INT $ac_cv_sizeof_int
18636 echo "$as_me:$LINENO: checking for long" >&5
18637 echo $ECHO_N "checking for long... $ECHO_C" >&6
18638 if test "${ac_cv_type_long+set}" = set; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18641 cat >conftest.
$ac_ext <<_ACEOF
18644 cat confdefs.h
>>conftest.
$ac_ext
18645 cat >>conftest.
$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 $ac_includes_default
18659 rm -f conftest.
$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>conftest.er1
18663 grep -v '^ *+' conftest.er1
>conftest.err
18665 cat conftest.err
>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try
='test -z "$ac_c_werror_flag"
18669 || test ! -s conftest.err'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; } &&
18675 { ac_try
='test -s conftest.$ac_objext'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_type_long
=yes
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.
$ac_ext >&5
18688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18690 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18691 echo "${ECHO_T}$ac_cv_type_long" >&6
18693 echo "$as_me:$LINENO: checking size of long" >&5
18694 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18695 if test "${ac_cv_sizeof_long+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 if test "$ac_cv_type_long" = yes; then
18699 # The cast to unsigned long works around a bug in the HP C Compiler
18700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18702 # This bug is HP SR number 8606223364.
18703 if test "$cross_compiling" = yes; then
18704 # Depending upon the size, compute the lo and hi bounds.
18705 cat >conftest.
$ac_ext <<_ACEOF
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 $ac_includes_default
18715 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18722 rm -f conftest.
$ac_objext
18723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724 (eval $ac_compile) 2>conftest.er1
18726 grep -v '^ *+' conftest.er1
>conftest.err
18728 cat conftest.err
>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try
='test -z "$ac_c_werror_flag"
18732 || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try
='test -s conftest.$ac_objext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 $ac_includes_default
18756 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18763 rm -f conftest.
$ac_objext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765 (eval $ac_compile) 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try
='test -z "$ac_c_werror_flag"
18773 || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try
='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_hi
=$ac_mid; break
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.
$ac_ext >&5
18790 ac_lo
=`expr $ac_mid + 1`
18791 if test $ac_lo -le $ac_mid; then
18795 ac_mid
=`expr 2 '*' $ac_mid + 1`
18797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.
$ac_ext >&5
18803 cat >conftest.
$ac_ext <<_ACEOF
18806 cat confdefs.h
>>conftest.
$ac_ext
18807 cat >>conftest.
$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 $ac_includes_default
18813 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18820 rm -f conftest.
$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try
='test -z "$ac_c_werror_flag"
18830 || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try
='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18844 cat >conftest.
$ac_ext <<_ACEOF
18847 cat confdefs.h
>>conftest.
$ac_ext
18848 cat >>conftest.
$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 $ac_includes_default
18854 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18861 rm -f conftest.
$ac_objext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18863 (eval $ac_compile) 2>conftest.er1
18865 grep -v '^ *+' conftest.er1
>conftest.err
18867 cat conftest.err
>&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } &&
18870 { ac_try
='test -z "$ac_c_werror_flag"
18871 || test ! -s conftest.err'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; } &&
18877 { ac_try
='test -s conftest.$ac_objext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 ac_lo
=$ac_mid; break
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.
$ac_ext >&5
18888 ac_hi
=`expr '(' $ac_mid ')' - 1`
18889 if test $ac_mid -le $ac_hi; then
18893 ac_mid
=`expr 2 '*' $ac_mid`
18895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18906 # Binary search between lo and hi bounds.
18907 while test "x$ac_lo" != "x$ac_hi"; do
18908 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 $ac_includes_default
18919 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18926 rm -f conftest.
$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18930 grep -v '^ *+' conftest.er1
>conftest.err
18932 cat conftest.err
>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try
='test -z "$ac_c_werror_flag"
18936 || test ! -s conftest.err'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try
='test -s conftest.$ac_objext'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; }; then
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.
$ac_ext >&5
18953 ac_lo
=`expr '(' $ac_mid ')' + 1`
18955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18958 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18959 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18960 See \`config.log' for more details." >&5
18961 echo "$as_me: error: cannot compute sizeof (long), 77
18962 See \`config.log' for more details." >&2;}
18963 { (exit 1); exit 1; }; } ;;
18966 if test "$cross_compiling" = yes; then
18967 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18968 See \`config.log' for more details." >&5
18969 echo "$as_me: error: cannot run test program while cross compiling
18970 See \`config.log' for more details." >&2;}
18971 { (exit 1); exit 1; }; }
18973 cat >conftest.
$ac_ext <<_ACEOF
18976 cat confdefs.h
>>conftest.
$ac_ext
18977 cat >>conftest.
$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 $ac_includes_default
18980 long longval () { return (long) (sizeof (long)); }
18981 unsigned long ulongval () { return (long) (sizeof (long)); }
18983 #include <stdlib.h>
18988 FILE *f = fopen ("conftest.val", "w");
18991 if (((long) (sizeof (long))) < 0)
18993 long i = longval ();
18994 if (i != ((long) (sizeof (long))))
18996 fprintf (f, "%ld\n", i);
19000 unsigned long i = ulongval ();
19001 if (i != ((long) (sizeof (long))))
19003 fprintf (f, "%lu\n", i);
19005 exit (ferror (f) || fclose (f) != 0);
19011 rm -f conftest
$ac_exeext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19013 (eval $ac_link) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
19022 ac_cv_sizeof_long
=`cat conftest.val`
19024 echo "$as_me: program exited with status $ac_status" >&5
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.
$ac_ext >&5
19028 ( exit $ac_status )
19029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19030 See \`config.log' for more details." >&5
19031 echo "$as_me: error: cannot compute sizeof (long), 77
19032 See \`config.log' for more details." >&2;}
19033 { (exit 1); exit 1; }; }
19035 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19040 ac_cv_sizeof_long
=0
19043 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19044 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19045 cat >>confdefs.h
<<_ACEOF
19046 #define SIZEOF_LONG $ac_cv_sizeof_long
19050 echo "$as_me:$LINENO: checking for size_t" >&5
19051 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19052 if test "${ac_cv_type_size_t+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 cat >conftest.
$ac_ext <<_ACEOF
19058 cat confdefs.h
>>conftest.
$ac_ext
19059 cat >>conftest.
$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 $ac_includes_default
19067 if (sizeof (size_t))
19073 rm -f conftest.
$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19077 grep -v '^ *+' conftest.er1
>conftest.err
19079 cat conftest.err
>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try
='test -z "$ac_c_werror_flag"
19083 || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try
='test -s conftest.$ac_objext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_type_size_t
=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.
$ac_ext >&5
19100 ac_cv_type_size_t
=no
19102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19105 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19107 echo "$as_me:$LINENO: checking size of size_t" >&5
19108 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19109 if test "${ac_cv_sizeof_size_t+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19112 if test "$ac_cv_type_size_t" = yes; then
19113 # The cast to unsigned long works around a bug in the HP C Compiler
19114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19116 # This bug is HP SR number 8606223364.
19117 if test "$cross_compiling" = yes; then
19118 # Depending upon the size, compute the lo and hi bounds.
19119 cat >conftest.
$ac_ext <<_ACEOF
19122 cat confdefs.h
>>conftest.
$ac_ext
19123 cat >>conftest.
$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19129 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19136 rm -f conftest.
$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19140 grep -v '^ *+' conftest.er1
>conftest.err
19142 cat conftest.err
>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try
='test -z "$ac_c_werror_flag"
19146 || 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
19160 cat >conftest.
$ac_ext <<_ACEOF
19163 cat confdefs.h
>>conftest.
$ac_ext
19164 cat >>conftest.
$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 $ac_includes_default
19170 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19177 rm -f conftest.
$ac_objext
19178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19179 (eval $ac_compile) 2>conftest.er1
19181 grep -v '^ *+' conftest.er1
>conftest.err
19183 cat conftest.err
>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try
='test -z "$ac_c_werror_flag"
19187 || test ! -s conftest.err'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try
='test -s conftest.$ac_objext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 ac_hi
=$ac_mid; break
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.
$ac_ext >&5
19204 ac_lo
=`expr $ac_mid + 1`
19205 if test $ac_lo -le $ac_mid; then
19209 ac_mid
=`expr 2 '*' $ac_mid + 1`
19211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.
$ac_ext >&5
19217 cat >conftest.
$ac_ext <<_ACEOF
19220 cat confdefs.h
>>conftest.
$ac_ext
19221 cat >>conftest.
$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19227 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19234 rm -f conftest.
$ac_objext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19236 (eval $ac_compile) 2>conftest.er1
19238 grep -v '^ *+' conftest.er1
>conftest.err
19240 cat conftest.err
>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try
='test -z "$ac_c_werror_flag"
19244 || test ! -s conftest.err'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try
='test -s conftest.$ac_objext'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19258 cat >conftest.
$ac_ext <<_ACEOF
19261 cat confdefs.h
>>conftest.
$ac_ext
19262 cat >>conftest.
$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 $ac_includes_default
19268 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19275 rm -f conftest.
$ac_objext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19277 (eval $ac_compile) 2>conftest.er1
19279 grep -v '^ *+' conftest.er1
>conftest.err
19281 cat conftest.err
>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try
='test -z "$ac_c_werror_flag"
19285 || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try
='test -s conftest.$ac_objext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 ac_lo
=$ac_mid; break
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.
$ac_ext >&5
19302 ac_hi
=`expr '(' $ac_mid ')' - 1`
19303 if test $ac_mid -le $ac_hi; then
19307 ac_mid
=`expr 2 '*' $ac_mid`
19309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.
$ac_ext >&5
19317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19320 # Binary search between lo and hi bounds.
19321 while test "x$ac_lo" != "x$ac_hi"; do
19322 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19323 cat >conftest.
$ac_ext <<_ACEOF
19326 cat confdefs.h
>>conftest.
$ac_ext
19327 cat >>conftest.
$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19333 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19340 rm -f conftest.
$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19344 grep -v '^ *+' conftest.er1
>conftest.err
19346 cat conftest.err
>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try
='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try
='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.
$ac_ext >&5
19367 ac_lo
=`expr '(' $ac_mid ')' + 1`
19369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19372 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19373 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19374 See \`config.log' for more details." >&5
19375 echo "$as_me: error: cannot compute sizeof (size_t), 77
19376 See \`config.log' for more details." >&2;}
19377 { (exit 1); exit 1; }; } ;;
19380 if test "$cross_compiling" = yes; then
19381 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19382 See \`config.log' for more details." >&5
19383 echo "$as_me: error: cannot run test program while cross compiling
19384 See \`config.log' for more details." >&2;}
19385 { (exit 1); exit 1; }; }
19387 cat >conftest.
$ac_ext <<_ACEOF
19390 cat confdefs.h
>>conftest.
$ac_ext
19391 cat >>conftest.
$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 $ac_includes_default
19394 long longval () { return (long) (sizeof (size_t)); }
19395 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19397 #include <stdlib.h>
19402 FILE *f = fopen ("conftest.val", "w");
19405 if (((long) (sizeof (size_t))) < 0)
19407 long i = longval ();
19408 if (i != ((long) (sizeof (size_t))))
19410 fprintf (f, "%ld\n", i);
19414 unsigned long i = ulongval ();
19415 if (i != ((long) (sizeof (size_t))))
19417 fprintf (f, "%lu\n", i);
19419 exit (ferror (f) || fclose (f) != 0);
19425 rm -f conftest
$ac_exeext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19427 (eval $ac_link) 2>&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 ac_cv_sizeof_size_t
=`cat conftest.val`
19438 echo "$as_me: program exited with status $ac_status" >&5
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.
$ac_ext >&5
19442 ( exit $ac_status )
19443 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19444 See \`config.log' for more details." >&5
19445 echo "$as_me: error: cannot compute sizeof (size_t), 77
19446 See \`config.log' for more details." >&2;}
19447 { (exit 1); exit 1; }; }
19449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19454 ac_cv_sizeof_size_t
=0
19457 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19458 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19459 cat >>confdefs.h
<<_ACEOF
19460 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19467 echo "$as_me:$LINENO: checking for long long" >&5
19468 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19469 if test "${ac_cv_type_long_long+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 cat >conftest.
$ac_ext <<_ACEOF
19475 cat confdefs.h
>>conftest.
$ac_ext
19476 cat >>conftest.
$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19478 $ac_includes_default
19482 if ((long long *) 0)
19484 if (sizeof (long long))
19490 rm -f conftest.
$ac_objext
19491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19492 (eval $ac_compile) 2>conftest.er1
19494 grep -v '^ *+' conftest.er1
>conftest.err
19496 cat conftest.err
>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } &&
19499 { ac_try
='test -z "$ac_c_werror_flag"
19500 || test ! -s conftest.err'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; } &&
19506 { ac_try
='test -s conftest.$ac_objext'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 ac_cv_type_long_long
=yes
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.
$ac_ext >&5
19517 ac_cv_type_long_long
=no
19519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19521 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19522 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19524 echo "$as_me:$LINENO: checking size of long long" >&5
19525 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19526 if test "${ac_cv_sizeof_long_long+set}" = set; then
19527 echo $ECHO_N "(cached) $ECHO_C" >&6
19529 if test "$ac_cv_type_long_long" = yes; then
19530 # The cast to unsigned long works around a bug in the HP C Compiler
19531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19533 # This bug is HP SR number 8606223364.
19534 if test "$cross_compiling" = yes; then
19535 # Depending upon the size, compute the lo and hi bounds.
19536 cat >conftest.
$ac_ext <<_ACEOF
19539 cat confdefs.h
>>conftest.
$ac_ext
19540 cat >>conftest.
$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19546 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19553 rm -f conftest.
$ac_objext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>conftest.er1
19557 grep -v '^ *+' conftest.er1
>conftest.err
19559 cat conftest.err
>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try
='test -z "$ac_c_werror_flag"
19563 || test ! -s conftest.err'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; } &&
19569 { ac_try
='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19577 cat >conftest.
$ac_ext <<_ACEOF
19580 cat confdefs.h
>>conftest.
$ac_ext
19581 cat >>conftest.
$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19583 $ac_includes_default
19587 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19594 rm -f conftest.
$ac_objext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596 (eval $ac_compile) 2>conftest.er1
19598 grep -v '^ *+' conftest.er1
>conftest.err
19600 cat conftest.err
>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try
='test -z "$ac_c_werror_flag"
19604 || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try
='test -s conftest.$ac_objext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 ac_hi
=$ac_mid; break
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.
$ac_ext >&5
19621 ac_lo
=`expr $ac_mid + 1`
19622 if test $ac_lo -le $ac_mid; then
19626 ac_mid
=`expr 2 '*' $ac_mid + 1`
19628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.
$ac_ext >&5
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19644 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19651 rm -f conftest.
$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_c_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try
='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19675 cat >conftest.
$ac_ext <<_ACEOF
19678 cat confdefs.h
>>conftest.
$ac_ext
19679 cat >>conftest.
$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19685 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19692 rm -f conftest.
$ac_objext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19694 (eval $ac_compile) 2>conftest.er1
19696 grep -v '^ *+' conftest.er1
>conftest.err
19698 cat conftest.err
>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try
='test -z "$ac_c_werror_flag"
19702 || test ! -s conftest.err'
19703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704 (eval $ac_try) 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; } &&
19708 { ac_try
='test -s conftest.$ac_objext'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; }; then
19714 ac_lo
=$ac_mid; break
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.
$ac_ext >&5
19719 ac_hi
=`expr '(' $ac_mid ')' - 1`
19720 if test $ac_mid -le $ac_hi; then
19724 ac_mid
=`expr 2 '*' $ac_mid`
19726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.
$ac_ext >&5
19734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19737 # Binary search between lo and hi bounds.
19738 while test "x$ac_lo" != "x$ac_hi"; do
19739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19740 cat >conftest.
$ac_ext <<_ACEOF
19743 cat confdefs.h
>>conftest.
$ac_ext
19744 cat >>conftest.
$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 $ac_includes_default
19750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19757 rm -f conftest.
$ac_objext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19759 (eval $ac_compile) 2>conftest.er1
19761 grep -v '^ *+' conftest.er1
>conftest.err
19763 cat conftest.err
>&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } &&
19766 { ac_try
='test -z "$ac_c_werror_flag"
19767 || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try
='test -s conftest.$ac_objext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.
$ac_ext >&5
19784 ac_lo
=`expr '(' $ac_mid ')' + 1`
19786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19791 See \`config.log' for more details." >&5
19792 echo "$as_me: error: cannot compute sizeof (long long), 77
19793 See \`config.log' for more details." >&2;}
19794 { (exit 1); exit 1; }; } ;;
19797 if test "$cross_compiling" = yes; then
19798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19799 See \`config.log' for more details." >&5
19800 echo "$as_me: error: cannot run test program while cross compiling
19801 See \`config.log' for more details." >&2;}
19802 { (exit 1); exit 1; }; }
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19811 long longval () { return (long) (sizeof (long long)); }
19812 unsigned long ulongval () { return (long) (sizeof (long long)); }
19814 #include <stdlib.h>
19819 FILE *f = fopen ("conftest.val", "w");
19822 if (((long) (sizeof (long long))) < 0)
19824 long i = longval ();
19825 if (i != ((long) (sizeof (long long))))
19827 fprintf (f, "%ld\n", i);
19831 unsigned long i = ulongval ();
19832 if (i != ((long) (sizeof (long long))))
19834 fprintf (f, "%lu\n", i);
19836 exit (ferror (f) || fclose (f) != 0);
19842 rm -f conftest
$ac_exeext
19843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19844 (eval $ac_link) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19853 ac_cv_sizeof_long_long
=`cat conftest.val`
19855 echo "$as_me: program exited with status $ac_status" >&5
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.
$ac_ext >&5
19859 ( exit $ac_status )
19860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19861 See \`config.log' for more details." >&5
19862 echo "$as_me: error: cannot compute sizeof (long long), 77
19863 See \`config.log' for more details." >&2;}
19864 { (exit 1); exit 1; }; }
19866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19871 ac_cv_sizeof_long_long
=0
19874 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19875 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19876 cat >>confdefs.h
<<_ACEOF
19877 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19883 echo "$as_me:$LINENO: checking for long long" >&5
19884 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19885 if test "${ac_cv_type_long_long+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 cat >conftest.
$ac_ext <<_ACEOF
19891 cat confdefs.h
>>conftest.
$ac_ext
19892 cat >>conftest.
$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19898 if ((long long *) 0)
19900 if (sizeof (long long))
19906 rm -f conftest.
$ac_objext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19908 (eval $ac_compile) 2>conftest.er1
19910 grep -v '^ *+' conftest.er1
>conftest.err
19912 cat conftest.err
>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } &&
19915 { ac_try
='test -z "$ac_c_werror_flag"
19916 || test ! -s conftest.err'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; } &&
19922 { ac_try
='test -s conftest.$ac_objext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_cv_type_long_long
=yes
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.
$ac_ext >&5
19933 ac_cv_type_long_long
=no
19935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19937 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19938 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19940 echo "$as_me:$LINENO: checking size of long long" >&5
19941 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19942 if test "${ac_cv_sizeof_long_long+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 if test "$ac_cv_type_long_long" = yes; then
19946 # The cast to unsigned long works around a bug in the HP C Compiler
19947 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19948 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19949 # This bug is HP SR number 8606223364.
19950 if test "$cross_compiling" = yes; then
19951 # Depending upon the size, compute the lo and hi bounds.
19952 cat >conftest.
$ac_ext <<_ACEOF
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 $ac_includes_default
19962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19969 rm -f conftest.
$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19973 grep -v '^ *+' conftest.er1
>conftest.err
19975 cat conftest.err
>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try
='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19993 cat >conftest.
$ac_ext <<_ACEOF
19996 cat confdefs.h
>>conftest.
$ac_ext
19997 cat >>conftest.
$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 $ac_includes_default
20003 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20010 rm -f conftest.
$ac_objext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20012 (eval $ac_compile) 2>conftest.er1
20014 grep -v '^ *+' conftest.er1
>conftest.err
20016 cat conftest.err
>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try
='test -z "$ac_c_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try
='test -s conftest.$ac_objext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 ac_hi
=$ac_mid; break
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.
$ac_ext >&5
20037 ac_lo
=`expr $ac_mid + 1`
20038 if test $ac_lo -le $ac_mid; then
20042 ac_mid
=`expr 2 '*' $ac_mid + 1`
20044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.
$ac_ext >&5
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 $ac_includes_default
20060 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20067 rm -f conftest.
$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>conftest.er1
20071 grep -v '^ *+' conftest.er1
>conftest.err
20073 cat conftest.err
>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try
='test -z "$ac_c_werror_flag"
20077 || test ! -s conftest.err'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try
='test -s conftest.$ac_objext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20091 cat >conftest.
$ac_ext <<_ACEOF
20094 cat confdefs.h
>>conftest.
$ac_ext
20095 cat >>conftest.
$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 $ac_includes_default
20101 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20108 rm -f conftest.
$ac_objext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20110 (eval $ac_compile) 2>conftest.er1
20112 grep -v '^ *+' conftest.er1
>conftest.err
20114 cat conftest.err
>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } &&
20117 { ac_try
='test -z "$ac_c_werror_flag"
20118 || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try
='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_lo
=$ac_mid; break
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.
$ac_ext >&5
20135 ac_hi
=`expr '(' $ac_mid ')' - 1`
20136 if test $ac_mid -le $ac_hi; then
20140 ac_mid
=`expr 2 '*' $ac_mid`
20142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.
$ac_ext >&5
20150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20153 # Binary search between lo and hi bounds.
20154 while test "x$ac_lo" != "x$ac_hi"; do
20155 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20166 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20173 rm -f conftest.
$ac_objext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20175 (eval $ac_compile) 2>conftest.er1
20177 grep -v '^ *+' conftest.er1
>conftest.err
20179 cat conftest.err
>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try
='test -z "$ac_c_werror_flag"
20183 || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try
='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.
$ac_ext >&5
20200 ac_lo
=`expr '(' $ac_mid ')' + 1`
20202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20205 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20206 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20207 See \`config.log' for more details." >&5
20208 echo "$as_me: error: cannot compute sizeof (long long), 77
20209 See \`config.log' for more details." >&2;}
20210 { (exit 1); exit 1; }; } ;;
20213 if test "$cross_compiling" = yes; then
20214 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20215 See \`config.log' for more details." >&5
20216 echo "$as_me: error: cannot run test program while cross compiling
20217 See \`config.log' for more details." >&2;}
20218 { (exit 1); exit 1; }; }
20220 cat >conftest.
$ac_ext <<_ACEOF
20223 cat confdefs.h
>>conftest.
$ac_ext
20224 cat >>conftest.
$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20226 $ac_includes_default
20227 long longval () { return (long) (sizeof (long long)); }
20228 unsigned long ulongval () { return (long) (sizeof (long long)); }
20230 #include <stdlib.h>
20235 FILE *f = fopen ("conftest.val", "w");
20238 if (((long) (sizeof (long long))) < 0)
20240 long i = longval ();
20241 if (i != ((long) (sizeof (long long))))
20243 fprintf (f, "%ld\n", i);
20247 unsigned long i = ulongval ();
20248 if (i != ((long) (sizeof (long long))))
20250 fprintf (f, "%lu\n", i);
20252 exit (ferror (f) || fclose (f) != 0);
20258 rm -f conftest
$ac_exeext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20260 (eval $ac_link) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_cv_sizeof_long_long
=`cat conftest.val`
20271 echo "$as_me: program exited with status $ac_status" >&5
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.
$ac_ext >&5
20275 ( exit $ac_status )
20276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20277 See \`config.log' for more details." >&5
20278 echo "$as_me: error: cannot compute sizeof (long long), 77
20279 See \`config.log' for more details." >&2;}
20280 { (exit 1); exit 1; }; }
20282 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20287 ac_cv_sizeof_long_long
=0
20290 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20291 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20292 cat >>confdefs.h
<<_ACEOF
20293 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20297 if test "$ac_cv_sizeof_long_long" != "0"; then
20298 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20302 echo "$as_me:$LINENO: checking for long long" >&5
20303 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20304 if test "${ac_cv_type_long_long+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313 $ac_includes_default
20317 if ((long long *) 0)
20319 if (sizeof (long long))
20325 rm -f conftest.
$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20329 grep -v '^ *+' conftest.er1
>conftest.err
20331 cat conftest.err
>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try
='test -z "$ac_c_werror_flag"
20335 || test ! -s conftest.err'
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); }; } &&
20341 { ac_try
='test -s conftest.$ac_objext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_cv_type_long_long
=yes
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.
$ac_ext >&5
20352 ac_cv_type_long_long
=no
20354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20356 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20357 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20359 echo "$as_me:$LINENO: checking size of long long" >&5
20360 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20361 if test "${ac_cv_sizeof_long_long+set}" = set; then
20362 echo $ECHO_N "(cached) $ECHO_C" >&6
20364 if test "$ac_cv_type_long_long" = yes; then
20365 # The cast to unsigned long works around a bug in the HP C Compiler
20366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20368 # This bug is HP SR number 8606223364.
20369 if test "$cross_compiling" = yes; then
20370 # Depending upon the size, compute the lo and hi bounds.
20371 cat >conftest.
$ac_ext <<_ACEOF
20374 cat confdefs.h
>>conftest.
$ac_ext
20375 cat >>conftest.
$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 $ac_includes_default
20381 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20388 rm -f conftest.
$ac_objext
20389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20390 (eval $ac_compile) 2>conftest.er1
20392 grep -v '^ *+' conftest.er1
>conftest.err
20394 cat conftest.err
>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } &&
20397 { ac_try
='test -z "$ac_c_werror_flag"
20398 || test ! -s conftest.err'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try
='test -s conftest.$ac_objext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20412 cat >conftest.
$ac_ext <<_ACEOF
20415 cat confdefs.h
>>conftest.
$ac_ext
20416 cat >>conftest.
$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 $ac_includes_default
20422 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20429 rm -f conftest.
$ac_objext
20430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20431 (eval $ac_compile) 2>conftest.er1
20433 grep -v '^ *+' conftest.er1
>conftest.err
20435 cat conftest.err
>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } &&
20438 { ac_try
='test -z "$ac_c_werror_flag"
20439 || test ! -s conftest.err'
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); }; } &&
20445 { ac_try
='test -s conftest.$ac_objext'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; }; then
20451 ac_hi
=$ac_mid; break
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.
$ac_ext >&5
20456 ac_lo
=`expr $ac_mid + 1`
20457 if test $ac_lo -le $ac_mid; then
20461 ac_mid
=`expr 2 '*' $ac_mid + 1`
20463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 $ac_includes_default
20479 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20486 rm -f conftest.
$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>conftest.er1
20490 grep -v '^ *+' conftest.er1
>conftest.err
20492 cat conftest.err
>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try
='test -z "$ac_c_werror_flag"
20496 || test ! -s conftest.err'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; } &&
20502 { ac_try
='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20510 cat >conftest.
$ac_ext <<_ACEOF
20513 cat confdefs.h
>>conftest.
$ac_ext
20514 cat >>conftest.
$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20520 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20527 rm -f conftest.
$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20531 grep -v '^ *+' conftest.er1
>conftest.err
20533 cat conftest.err
>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try
='test -z "$ac_c_werror_flag"
20537 || test ! -s conftest.err'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; } &&
20543 { ac_try
='test -s conftest.$ac_objext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_lo
=$ac_mid; break
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.
$ac_ext >&5
20554 ac_hi
=`expr '(' $ac_mid ')' - 1`
20555 if test $ac_mid -le $ac_hi; then
20559 ac_mid
=`expr 2 '*' $ac_mid`
20561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.
$ac_ext >&5
20569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20572 # Binary search between lo and hi bounds.
20573 while test "x$ac_lo" != "x$ac_hi"; do
20574 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20575 cat >conftest.
$ac_ext <<_ACEOF
20578 cat confdefs.h
>>conftest.
$ac_ext
20579 cat >>conftest.
$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 $ac_includes_default
20585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20592 rm -f conftest.
$ac_objext
20593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20594 (eval $ac_compile) 2>conftest.er1
20596 grep -v '^ *+' conftest.er1
>conftest.err
20598 cat conftest.err
>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try
='test -z "$ac_c_werror_flag"
20602 || test ! -s conftest.err'
20603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604 (eval $ac_try) 2>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; } &&
20608 { ac_try
='test -s conftest.$ac_objext'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; }; then
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.
$ac_ext >&5
20619 ac_lo
=`expr '(' $ac_mid ')' + 1`
20621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20624 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20625 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20626 See \`config.log' for more details." >&5
20627 echo "$as_me: error: cannot compute sizeof (long long), 77
20628 See \`config.log' for more details." >&2;}
20629 { (exit 1); exit 1; }; } ;;
20632 if test "$cross_compiling" = yes; then
20633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20634 See \`config.log' for more details." >&5
20635 echo "$as_me: error: cannot run test program while cross compiling
20636 See \`config.log' for more details." >&2;}
20637 { (exit 1); exit 1; }; }
20639 cat >conftest.
$ac_ext <<_ACEOF
20642 cat confdefs.h
>>conftest.
$ac_ext
20643 cat >>conftest.
$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 $ac_includes_default
20646 long longval () { return (long) (sizeof (long long)); }
20647 unsigned long ulongval () { return (long) (sizeof (long long)); }
20649 #include <stdlib.h>
20654 FILE *f = fopen ("conftest.val", "w");
20657 if (((long) (sizeof (long long))) < 0)
20659 long i = longval ();
20660 if (i != ((long) (sizeof (long long))))
20662 fprintf (f, "%ld\n", i);
20666 unsigned long i = ulongval ();
20667 if (i != ((long) (sizeof (long long))))
20669 fprintf (f, "%lu\n", i);
20671 exit (ferror (f) || fclose (f) != 0);
20677 rm -f conftest
$ac_exeext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20679 (eval $ac_link) 2>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; }; then
20688 ac_cv_sizeof_long_long
=`cat conftest.val`
20690 echo "$as_me: program exited with status $ac_status" >&5
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.
$ac_ext >&5
20694 ( exit $ac_status )
20695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20696 See \`config.log' for more details." >&5
20697 echo "$as_me: error: cannot compute sizeof (long long), 77
20698 See \`config.log' for more details." >&2;}
20699 { (exit 1); exit 1; }; }
20701 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20706 ac_cv_sizeof_long_long
=0
20709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20710 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20711 cat >>confdefs.h
<<_ACEOF
20712 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20718 echo "$as_me:$LINENO: checking for wchar_t" >&5
20719 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20720 if test "${ac_cv_type_wchar_t+set}" = set; then
20721 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 cat >conftest.
$ac_ext <<_ACEOF
20726 cat confdefs.h
>>conftest.
$ac_ext
20727 cat >>conftest.
$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20730 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20731 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20732 # error "fake wchar_t"
20734 #ifdef HAVE_WCHAR_H
20736 # include <stddef.h>
20738 # include <wchar.h>
20740 #ifdef HAVE_STDLIB_H
20741 # include <stdlib.h>
20752 if (sizeof (wchar_t))
20758 rm -f conftest.
$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>conftest.er1
20762 grep -v '^ *+' conftest.er1
>conftest.err
20764 cat conftest.err
>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try
='test -z "$ac_c_werror_flag"
20768 || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try
='test -s conftest.$ac_objext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 ac_cv_type_wchar_t
=yes
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.
$ac_ext >&5
20785 ac_cv_type_wchar_t
=no
20787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20789 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20790 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20792 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20793 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20794 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 if test "$ac_cv_type_wchar_t" = yes; then
20798 # The cast to unsigned long works around a bug in the HP C Compiler
20799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20801 # This bug is HP SR number 8606223364.
20802 if test "$cross_compiling" = yes; then
20803 # Depending upon the size, compute the lo and hi bounds.
20804 cat >conftest.
$ac_ext <<_ACEOF
20807 cat confdefs.h
>>conftest.
$ac_ext
20808 cat >>conftest.
$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20811 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20812 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20813 # error "fake wchar_t"
20815 #ifdef HAVE_WCHAR_H
20817 # include <stddef.h>
20819 # include <wchar.h>
20821 #ifdef HAVE_STDLIB_H
20822 # include <stdlib.h>
20831 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20838 rm -f conftest.
$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>conftest.er1
20842 grep -v '^ *+' conftest.er1
>conftest.err
20844 cat conftest.err
>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try
='test -z "$ac_c_werror_flag"
20848 || test ! -s conftest.err'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; } &&
20854 { ac_try
='test -s conftest.$ac_objext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20862 cat >conftest.
$ac_ext <<_ACEOF
20865 cat confdefs.h
>>conftest.
$ac_ext
20866 cat >>conftest.
$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20869 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20870 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20871 # error "fake wchar_t"
20873 #ifdef HAVE_WCHAR_H
20875 # include <stddef.h>
20877 # include <wchar.h>
20879 #ifdef HAVE_STDLIB_H
20880 # include <stdlib.h>
20889 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20896 rm -f conftest.
$ac_objext
20897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20898 (eval $ac_compile) 2>conftest.er1
20900 grep -v '^ *+' conftest.er1
>conftest.err
20902 cat conftest.err
>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); } &&
20905 { ac_try
='test -z "$ac_c_werror_flag"
20906 || test ! -s conftest.err'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; } &&
20912 { ac_try
='test -s conftest.$ac_objext'
20913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20914 (eval $ac_try) 2>&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); }; }; then
20918 ac_hi
=$ac_mid; break
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.
$ac_ext >&5
20923 ac_lo
=`expr $ac_mid + 1`
20924 if test $ac_lo -le $ac_mid; then
20928 ac_mid
=`expr 2 '*' $ac_mid + 1`
20930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.
$ac_ext >&5
20936 cat >conftest.
$ac_ext <<_ACEOF
20939 cat confdefs.h
>>conftest.
$ac_ext
20940 cat >>conftest.
$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20943 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20944 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20945 # error "fake wchar_t"
20947 #ifdef HAVE_WCHAR_H
20949 # include <stddef.h>
20951 # include <wchar.h>
20953 #ifdef HAVE_STDLIB_H
20954 # include <stdlib.h>
20963 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20970 rm -f conftest.
$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try
='test -z "$ac_c_werror_flag"
20980 || test ! -s conftest.err'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; } &&
20986 { ac_try
='test -s conftest.$ac_objext'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; }; then
20994 cat >conftest.
$ac_ext <<_ACEOF
20997 cat confdefs.h
>>conftest.
$ac_ext
20998 cat >>conftest.
$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21001 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21002 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21003 # error "fake wchar_t"
21005 #ifdef HAVE_WCHAR_H
21007 # include <stddef.h>
21009 # include <wchar.h>
21011 #ifdef HAVE_STDLIB_H
21012 # include <stdlib.h>
21021 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21028 rm -f conftest.
$ac_objext
21029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21030 (eval $ac_compile) 2>conftest.er1
21032 grep -v '^ *+' conftest.er1
>conftest.err
21034 cat conftest.err
>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } &&
21037 { ac_try
='test -z "$ac_c_werror_flag"
21038 || test ! -s conftest.err'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try
='test -s conftest.$ac_objext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_lo
=$ac_mid; break
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.
$ac_ext >&5
21055 ac_hi
=`expr '(' $ac_mid ')' - 1`
21056 if test $ac_mid -le $ac_hi; then
21060 ac_mid
=`expr 2 '*' $ac_mid`
21062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21073 # Binary search between lo and hi bounds.
21074 while test "x$ac_lo" != "x$ac_hi"; do
21075 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21083 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21085 # error "fake wchar_t"
21087 #ifdef HAVE_WCHAR_H
21089 # include <stddef.h>
21091 # include <wchar.h>
21093 #ifdef HAVE_STDLIB_H
21094 # include <stdlib.h>
21103 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21110 rm -f conftest.
$ac_objext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21112 (eval $ac_compile) 2>conftest.er1
21114 grep -v '^ *+' conftest.er1
>conftest.err
21116 cat conftest.err
>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } &&
21119 { ac_try
='test -z "$ac_c_werror_flag"
21120 || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try
='test -s conftest.$ac_objext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.
$ac_ext >&5
21137 ac_lo
=`expr '(' $ac_mid ')' + 1`
21139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21142 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21144 See \`config.log' for more details." >&5
21145 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21146 See \`config.log' for more details." >&2;}
21147 { (exit 1); exit 1; }; } ;;
21150 if test "$cross_compiling" = yes; then
21151 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21152 See \`config.log' for more details." >&5
21153 echo "$as_me: error: cannot run test program while cross compiling
21154 See \`config.log' for more details." >&2;}
21155 { (exit 1); exit 1; }; }
21157 cat >conftest.
$ac_ext <<_ACEOF
21160 cat confdefs.h
>>conftest.
$ac_ext
21161 cat >>conftest.
$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21164 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21165 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21166 # error "fake wchar_t"
21168 #ifdef HAVE_WCHAR_H
21170 # include <stddef.h>
21172 # include <wchar.h>
21174 #ifdef HAVE_STDLIB_H
21175 # include <stdlib.h>
21181 long longval () { return (long) (sizeof (wchar_t)); }
21182 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21184 #include <stdlib.h>
21189 FILE *f = fopen ("conftest.val", "w");
21192 if (((long) (sizeof (wchar_t))) < 0)
21194 long i = longval ();
21195 if (i != ((long) (sizeof (wchar_t))))
21197 fprintf (f, "%ld\n", i);
21201 unsigned long i = ulongval ();
21202 if (i != ((long) (sizeof (wchar_t))))
21204 fprintf (f, "%lu\n", i);
21206 exit (ferror (f) || fclose (f) != 0);
21212 rm -f conftest
$ac_exeext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21214 (eval $ac_link) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21225 echo "$as_me: program exited with status $ac_status" >&5
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.
$ac_ext >&5
21229 ( exit $ac_status )
21230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21231 See \`config.log' for more details." >&5
21232 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21233 See \`config.log' for more details." >&2;}
21234 { (exit 1); exit 1; }; }
21236 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21241 ac_cv_sizeof_wchar_t
=0
21244 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21245 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21246 cat >>confdefs.h
<<_ACEOF
21247 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21251 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21257 echo "$as_me:$LINENO: checking for va_copy" >&5
21258 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21259 if test "${wx_cv_func_va_copy+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 cat >conftest.
$ac_ext <<_ACEOF
21265 #include <stdarg.h>
21266 void foo(char *f, ...)
21280 rm -f conftest.
$ac_objext conftest
$ac_exeext
21281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21282 (eval $ac_link) 2>conftest.er1
21284 grep -v '^ *+' conftest.er1
>conftest.err
21286 cat conftest.err
>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } &&
21289 { ac_try
='test -z "$ac_c_werror_flag"
21290 || test ! -s conftest.err'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; } &&
21296 { ac_try
='test -s conftest$ac_exeext'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 wx_cv_func_va_copy
=yes
21304 echo "$as_me: failed program was:" >&5
21305 sed 's/^/| /' conftest.
$ac_ext >&5
21307 wx_cv_func_va_copy
=no
21310 rm -f conftest.err conftest.
$ac_objext \
21311 conftest
$ac_exeext conftest.
$ac_ext
21315 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21316 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21318 if test $wx_cv_func_va_copy = "yes"; then
21319 cat >>confdefs.h
<<\_ACEOF
21320 #define HAVE_VA_COPY 1
21324 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21325 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21326 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21330 if test "$cross_compiling" = yes; then
21331 wx_cv_type_va_list_lvalue
=yes
21334 cat >conftest.
$ac_ext <<_ACEOF
21336 #include <stdarg.h>
21337 int foo(char *f, ...)
21342 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21350 return foo("hi", 17);
21353 rm -f conftest
$ac_exeext
21354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21355 (eval $ac_link) 2>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 wx_cv_type_va_list_lvalue
=yes
21366 echo "$as_me: program exited with status $ac_status" >&5
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.
$ac_ext >&5
21370 ( exit $ac_status )
21371 wx_cv_type_va_list_lvalue
=no
21373 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21378 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21379 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21381 if test $wx_cv_type_va_list_lvalue != "yes"; then
21382 cat >>confdefs.h
<<\_ACEOF
21383 #define VA_LIST_IS_ARRAY 1
21389 # Check whether --enable-largefile or --disable-largefile was given.
21390 if test "${enable_largefile+set}" = set; then
21391 enableval
="$enable_largefile"
21394 if test "$enable_largefile" != no
; then
21397 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21398 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21399 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 cat >conftest.
$ac_ext <<_ACEOF
21406 cat confdefs.h
>>conftest.
$ac_ext
21407 cat >>conftest.
$ac_ext <<_ACEOF
21408 /* end confdefs.h. */
21409 #define _FILE_OFFSET_BITS 64
21410 #include <sys/types.h>
21415 unsigned int field: sizeof(off_t) == 8;
21422 rm -f conftest.
$ac_objext
21423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21424 (eval $ac_compile) 2>conftest.er1
21426 grep -v '^ *+' conftest.er1
>conftest.err
21428 cat conftest.err
>&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } &&
21431 { ac_try
='test -z "$ac_c_werror_flag"
21432 || test ! -s conftest.err'
21433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21434 (eval $ac_try) 2>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; } &&
21438 { ac_try
='test -s conftest.$ac_objext'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; }; then
21444 ac_cv_sys_file_offset_bits
=64
21446 echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.
$ac_ext >&5
21449 ac_cv_sys_file_offset_bits
=no
21451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21455 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21456 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21458 if test "$ac_cv_sys_file_offset_bits" != no
; then
21460 cat >>confdefs.h
<<_ACEOF
21461 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21466 if test "x$wx_largefile" != "xyes"; then
21468 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21469 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21470 if test "${ac_cv_sys_large_files+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 cat >conftest.
$ac_ext <<_ACEOF
21477 cat confdefs.h
>>conftest.
$ac_ext
21478 cat >>conftest.
$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21480 #define _LARGE_FILES 1
21481 #include <sys/types.h>
21486 unsigned int field: sizeof(off_t) == 8;
21493 rm -f conftest.
$ac_objext
21494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21495 (eval $ac_compile) 2>conftest.er1
21497 grep -v '^ *+' conftest.er1
>conftest.err
21499 cat conftest.err
>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try
='test -z "$ac_c_werror_flag"
21503 || test ! -s conftest.err'
21504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21505 (eval $ac_try) 2>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); }; } &&
21509 { ac_try
='test -s conftest.$ac_objext'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; }; then
21515 ac_cv_sys_large_files
=1
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.
$ac_ext >&5
21520 ac_cv_sys_large_files
=no
21522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21526 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21527 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21529 if test "$ac_cv_sys_large_files" != no
; then
21531 cat >>confdefs.h
<<_ACEOF
21532 #define _LARGE_FILES $ac_cv_sys_large_files
21539 echo "$as_me:$LINENO: checking if large file support is available" >&5
21540 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21541 if test "x$wx_largefile" = "xyes"; then
21542 cat >>confdefs.h
<<\_ACEOF
21543 #define HAVE_LARGEFILE_SUPPORT 1
21547 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21548 echo "${ECHO_T}$wx_largefile" >&6
21552 if test "x$wx_largefile" = "xyes"; then
21553 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21554 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21556 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21557 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21558 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21559 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21564 ac_cpp
='$CXXCPP $CPPFLAGS'
21565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21569 cat >conftest.
$ac_ext <<_ACEOF
21572 cat confdefs.h
>>conftest.
$ac_ext
21573 cat >>conftest.
$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21580 #ifndef __STDC_EXT__
21588 rm -f conftest.
$ac_objext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21590 (eval $ac_compile) 2>conftest.er1
21592 grep -v '^ *+' conftest.er1
>conftest.err
21594 cat conftest.err
>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try
='test -z "$ac_cxx_werror_flag"
21598 || test ! -s conftest.err'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; } &&
21604 { ac_try
='test -s conftest.$ac_objext'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 wx_cv_STDC_EXT_required
=no
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.
$ac_ext >&5
21615 wx_cv_STDC_EXT_required
=yes
21618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21620 ac_cpp
='$CPP $CPPFLAGS'
21621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21628 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21629 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21630 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21631 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21635 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21637 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21638 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21639 if test "${ac_cv_sys_largefile_source+set}" = set; then
21640 echo $ECHO_N "(cached) $ECHO_C" >&6
21643 ac_cv_sys_largefile_source
=no
21644 cat >conftest.
$ac_ext <<_ACEOF
21647 cat confdefs.h
>>conftest.
$ac_ext
21648 cat >>conftest.
$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21659 rm -f conftest.
$ac_objext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21661 (eval $ac_compile) 2>conftest.er1
21663 grep -v '^ *+' conftest.er1
>conftest.err
21665 cat conftest.err
>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try
='test -z "$ac_c_werror_flag"
21669 || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try
='test -s conftest.$ac_objext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.
$ac_ext >&5
21687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21688 cat >conftest.
$ac_ext <<_ACEOF
21691 cat confdefs.h
>>conftest.
$ac_ext
21692 cat >>conftest.
$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21694 #define _LARGEFILE_SOURCE 1
21704 rm -f conftest.
$ac_objext
21705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21706 (eval $ac_compile) 2>conftest.er1
21708 grep -v '^ *+' conftest.er1
>conftest.err
21710 cat conftest.err
>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try
='test -z "$ac_c_werror_flag"
21714 || test ! -s conftest.err'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; } &&
21720 { ac_try
='test -s conftest.$ac_objext'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 ac_cv_sys_largefile_source
=1; break
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.
$ac_ext >&5
21732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21736 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21737 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21738 if test "$ac_cv_sys_largefile_source" != no
; then
21740 cat >>confdefs.h
<<_ACEOF
21741 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21747 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21748 # in glibc 2.1.3, but that breaks too many other things.
21749 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21750 echo "$as_me:$LINENO: checking for fseeko" >&5
21751 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21752 if test "${ac_cv_func_fseeko+set}" = set; then
21753 echo $ECHO_N "(cached) $ECHO_C" >&6
21755 cat >conftest.
$ac_ext <<_ACEOF
21758 cat confdefs.h
>>conftest.
$ac_ext
21759 cat >>conftest.
$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21765 return fseeko && fseeko (stdin, 0, 0);
21770 rm -f conftest.
$ac_objext conftest
$ac_exeext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21772 (eval $ac_link) 2>conftest.er1
21774 grep -v '^ *+' conftest.er1
>conftest.err
21776 cat conftest.err
>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try
='test -z "$ac_c_werror_flag"
21780 || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try
='test -s conftest$ac_exeext'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 ac_cv_func_fseeko
=yes
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.
$ac_ext >&5
21797 ac_cv_func_fseeko
=no
21799 rm -f conftest.err conftest.
$ac_objext \
21800 conftest
$ac_exeext conftest.
$ac_ext
21802 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21803 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21804 if test $ac_cv_func_fseeko = yes; then
21806 cat >>confdefs.h
<<\_ACEOF
21807 #define HAVE_FSEEKO 1
21812 if test "$ac_cv_sys_largefile_source" != no
; then
21813 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21817 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21818 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21819 if test "${ac_cv_c_bigendian+set}" = set; then
21820 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 ac_cv_c_bigendian
=unknown
21823 # See if sys/param.h defines the BYTE_ORDER macro.
21824 cat >conftest.
$ac_ext <<_ACEOF
21827 cat confdefs.h
>>conftest.
$ac_ext
21828 cat >>conftest.
$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830 #include <sys/types.h>
21831 #include <sys/param.h>
21836 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21837 bogus endian macros
21843 rm -f conftest.
$ac_objext
21844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21845 (eval $ac_compile) 2>conftest.er1
21847 grep -v '^ *+' conftest.er1
>conftest.err
21849 cat conftest.err
>&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } &&
21852 { ac_try
='test -z "$ac_c_werror_flag"
21853 || test ! -s conftest.err'
21854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855 (eval $ac_try) 2>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; } &&
21859 { ac_try
='test -s conftest.$ac_objext'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; }; then
21865 # It does; now see whether it defined to BIG_ENDIAN or not.
21866 cat >conftest.
$ac_ext <<_ACEOF
21869 cat confdefs.h
>>conftest.
$ac_ext
21870 cat >>conftest.
$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 #include <sys/types.h>
21873 #include <sys/param.h>
21878 #if BYTE_ORDER != BIG_ENDIAN
21885 rm -f conftest.
$ac_objext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21887 (eval $ac_compile) 2>conftest.er1
21889 grep -v '^ *+' conftest.er1
>conftest.err
21891 cat conftest.err
>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } &&
21894 { ac_try
='test -z "$ac_c_werror_flag"
21895 || test ! -s conftest.err'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; } &&
21901 { ac_try
='test -s conftest.$ac_objext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_c_bigendian
=yes
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.
$ac_ext >&5
21912 ac_cv_c_bigendian
=no
21914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.
$ac_ext >&5
21920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21921 if test $ac_cv_c_bigendian = unknown
; then
21922 if test "$cross_compiling" = yes; then
21923 ac_cv_c_bigendian
=unknown
21925 cat >conftest.
$ac_ext <<_ACEOF
21928 cat confdefs.h
>>conftest.
$ac_ext
21929 cat >>conftest.
$ac_ext <<_ACEOF
21930 /* end confdefs.h. */
21932 /* Are we little or big endian? From Harbison&Steele. */
21936 char c[sizeof (long)];
21939 exit (u.c[sizeof (long) - 1] == 1);
21942 rm -f conftest
$ac_exeext
21943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21944 (eval $ac_link) 2>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 ac_cv_c_bigendian
=no
21955 echo "$as_me: program exited with status $ac_status" >&5
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.
$ac_ext >&5
21959 ( exit $ac_status )
21960 ac_cv_c_bigendian
=yes
21962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21966 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21967 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21968 if test $ac_cv_c_bigendian = unknown
; then
21969 { 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
21970 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;}
21972 if test $ac_cv_c_bigendian = yes; then
21973 cat >>confdefs.h
<<\_ACEOF
21974 #define WORDS_BIGENDIAN 1
21981 ac_cpp
='$CXXCPP $CPPFLAGS'
21982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21985 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21986 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21987 if test -z "$CXXCPP"; then
21988 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21991 # Double quotes because CXXCPP needs to be expanded
21992 for CXXCPP
in "$CXX -E" "/lib/cpp"
21994 ac_preproc_ok
=false
21995 for ac_cxx_preproc_warn_flag
in '' yes
21997 # Use a header file that comes with gcc, so configuring glibc
21998 # with a fresh cross-compiler works.
21999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22000 # <limits.h> exists even on freestanding compilers.
22001 # On the NeXT, cc -E runs the code through the compiler's parser,
22002 # not just through cpp. "Syntax error" is here to catch this case.
22003 cat >conftest.
$ac_ext <<_ACEOF
22006 cat confdefs.h
>>conftest.
$ac_ext
22007 cat >>conftest.
$ac_ext <<_ACEOF
22008 /* end confdefs.h. */
22010 # include <limits.h>
22012 # include <assert.h>
22016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22017 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22019 grep -v '^ *+' conftest.er1
>conftest.err
22021 cat conftest.err
>&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } >/dev
/null
; then
22024 if test -s conftest.err
; then
22025 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22026 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22033 if test -z "$ac_cpp_err"; then
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.
$ac_ext >&5
22039 # Broken: fails on valid input.
22042 rm -f conftest.err conftest.
$ac_ext
22044 # OK, works on sane cases. Now check whether non-existent headers
22045 # can be detected and how.
22046 cat >conftest.
$ac_ext <<_ACEOF
22049 cat confdefs.h
>>conftest.
$ac_ext
22050 cat >>conftest.
$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 #include <ac_nonexistent.h>
22054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22057 grep -v '^ *+' conftest.er1
>conftest.err
22059 cat conftest.err
>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } >/dev
/null
; then
22062 if test -s conftest.err
; then
22063 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22064 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22071 if test -z "$ac_cpp_err"; then
22072 # Broken: success on invalid input.
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.
$ac_ext >&5
22078 # Passes both tests.
22082 rm -f conftest.err conftest.
$ac_ext
22085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22086 rm -f conftest.err conftest.
$ac_ext
22087 if $ac_preproc_ok; then
22092 ac_cv_prog_CXXCPP
=$CXXCPP
22095 CXXCPP
=$ac_cv_prog_CXXCPP
22097 ac_cv_prog_CXXCPP
=$CXXCPP
22099 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22100 echo "${ECHO_T}$CXXCPP" >&6
22101 ac_preproc_ok
=false
22102 for ac_cxx_preproc_warn_flag
in '' yes
22104 # Use a header file that comes with gcc, so configuring glibc
22105 # with a fresh cross-compiler works.
22106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22107 # <limits.h> exists even on freestanding compilers.
22108 # On the NeXT, cc -E runs the code through the compiler's parser,
22109 # not just through cpp. "Syntax error" is here to catch this case.
22110 cat >conftest.
$ac_ext <<_ACEOF
22113 cat confdefs.h
>>conftest.
$ac_ext
22114 cat >>conftest.
$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22117 # include <limits.h>
22119 # include <assert.h>
22123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22126 grep -v '^ *+' conftest.er1
>conftest.err
22128 cat conftest.err
>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } >/dev
/null
; then
22131 if test -s conftest.err
; then
22132 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22133 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22140 if test -z "$ac_cpp_err"; then
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.
$ac_ext >&5
22146 # Broken: fails on valid input.
22149 rm -f conftest.err conftest.
$ac_ext
22151 # OK, works on sane cases. Now check whether non-existent headers
22152 # can be detected and how.
22153 cat >conftest.
$ac_ext <<_ACEOF
22156 cat confdefs.h
>>conftest.
$ac_ext
22157 cat >>conftest.
$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 #include <ac_nonexistent.h>
22161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22164 grep -v '^ *+' conftest.er1
>conftest.err
22166 cat conftest.err
>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } >/dev
/null
; then
22169 if test -s conftest.err
; then
22170 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22171 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22178 if test -z "$ac_cpp_err"; then
22179 # Broken: success on invalid input.
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.
$ac_ext >&5
22185 # Passes both tests.
22189 rm -f conftest.err conftest.
$ac_ext
22192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22193 rm -f conftest.err conftest.
$ac_ext
22194 if $ac_preproc_ok; then
22197 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22198 See \`config.log' for more details." >&5
22199 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22200 See \`config.log' for more details." >&2;}
22201 { (exit 1); exit 1; }; }
22205 ac_cpp
='$CXXCPP $CPPFLAGS'
22206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22215 ac_cpp
='$CXXCPP $CPPFLAGS'
22216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22222 for ac_header
in iostream
22224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22226 echo "$as_me:$LINENO: checking for $ac_header" >&5
22227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22229 echo $ECHO_N "(cached) $ECHO_C" >&6
22231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22234 # Is the header compilable?
22235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22237 cat >conftest.
$ac_ext <<_ACEOF
22240 cat confdefs.h
>>conftest.
$ac_ext
22241 cat >>conftest.
$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 $ac_includes_default
22244 #include <$ac_header>
22246 rm -f conftest.
$ac_objext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22248 (eval $ac_compile) 2>conftest.er1
22250 grep -v '^ *+' conftest.er1
>conftest.err
22252 cat conftest.err
>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try
='test -z "$ac_cxx_werror_flag"
22256 || test ! -s conftest.err'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; } &&
22262 { ac_try
='test -s conftest.$ac_objext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_header_compiler
=yes
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.
$ac_ext >&5
22273 ac_header_compiler
=no
22275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22277 echo "${ECHO_T}$ac_header_compiler" >&6
22279 # Is the header present?
22280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22282 cat >conftest.
$ac_ext <<_ACEOF
22285 cat confdefs.h
>>conftest.
$ac_ext
22286 cat >>conftest.
$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 #include <$ac_header>
22290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22293 grep -v '^ *+' conftest.er1
>conftest.err
22295 cat conftest.err
>&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); } >/dev
/null
; then
22298 if test -s conftest.err
; then
22299 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22300 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22307 if test -z "$ac_cpp_err"; then
22308 ac_header_preproc
=yes
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.
$ac_ext >&5
22313 ac_header_preproc
=no
22315 rm -f conftest.err conftest.
$ac_ext
22316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22317 echo "${ECHO_T}$ac_header_preproc" >&6
22319 # So? What about this header?
22320 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22326 ac_header_preproc
=yes
22329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22343 ## ----------------------------------------- ##
22344 ## Report this to wx-dev@lists.wxwidgets.org ##
22345 ## ----------------------------------------- ##
22348 sed "s/^/$as_me: WARNING: /" >&2
22351 echo "$as_me:$LINENO: checking for $ac_header" >&5
22352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 eval "$as_ac_Header=\$ac_header_preproc"
22358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22363 cat >>confdefs.h
<<_ACEOF
22364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22372 if test "$ac_cv_header_iostream" = "yes" ; then
22375 cat >>confdefs.h
<<\_ACEOF
22376 #define wxUSE_IOSTREAMH 1
22382 ac_cpp
='$CPP $CPPFLAGS'
22383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22390 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22391 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22392 if test "${wx_cv_cpp_bool+set}" = set; then
22393 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 ac_cpp
='$CXXCPP $CPPFLAGS'
22400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22405 cat >conftest.
$ac_ext <<_ACEOF
22408 cat confdefs.h
>>conftest.
$ac_ext
22409 cat >>conftest.
$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22425 rm -f conftest.
$ac_objext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22427 (eval $ac_compile) 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try
='test -z "$ac_cxx_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try
='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.
$ac_ext >&5
22459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22462 ac_cpp
='$CPP $CPPFLAGS'
22463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22469 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22470 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22472 if test "$wx_cv_cpp_bool" = "yes"; then
22473 cat >>confdefs.h
<<\_ACEOF
22474 #define HAVE_BOOL 1
22481 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22482 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22483 if test "${wx_cv_explicit+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 ac_cpp
='$CXXCPP $CPPFLAGS'
22491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22496 cat >conftest.
$ac_ext <<_ACEOF
22499 cat confdefs.h
>>conftest.
$ac_ext
22500 cat >>conftest.
$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22503 class Foo { public: explicit Foo(int) {} };
22515 rm -f conftest.
$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22519 grep -v '^ *+' conftest.er1
>conftest.err
22521 cat conftest.err
>&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try
='test -z "$ac_cxx_werror_flag"
22525 || test ! -s conftest.err'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; } &&
22531 { ac_try
='test -s conftest.$ac_objext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
22538 cat >conftest.
$ac_ext <<_ACEOF
22541 cat confdefs.h
>>conftest.
$ac_ext
22542 cat >>conftest.
$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22545 class Foo { public: explicit Foo(int) {} };
22546 static void TakeFoo(const Foo& foo) { }
22559 rm -f conftest.
$ac_objext
22560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22561 (eval $ac_compile) 2>conftest.er1
22563 grep -v '^ *+' conftest.er1
>conftest.err
22565 cat conftest.err
>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try
='test -z "$ac_cxx_werror_flag"
22569 || test ! -s conftest.err'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; } &&
22575 { ac_try
='test -s conftest.$ac_objext'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; }; then
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.
$ac_ext >&5
22589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.
$ac_ext >&5
22598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22601 ac_cpp
='$CPP $CPPFLAGS'
22602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22608 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22609 echo "${ECHO_T}$wx_cv_explicit" >&6
22611 if test "$wx_cv_explicit" = "yes"; then
22612 cat >>confdefs.h
<<\_ACEOF
22613 #define HAVE_EXPLICIT 1
22619 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22620 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22621 if test "${ac_cv_cxx_const_cast+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 ac_cpp
='$CXXCPP $CPPFLAGS'
22628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22632 cat >conftest.
$ac_ext <<_ACEOF
22635 cat confdefs.h
>>conftest.
$ac_ext
22636 cat >>conftest.
$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22642 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22647 rm -f conftest.
$ac_objext
22648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22649 (eval $ac_compile) 2>conftest.er1
22651 grep -v '^ *+' conftest.er1
>conftest.err
22653 cat conftest.err
>&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } &&
22656 { ac_try
='test -z "$ac_cxx_werror_flag"
22657 || test ! -s conftest.err'
22658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22659 (eval $ac_try) 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; } &&
22663 { ac_try
='test -s conftest.$ac_objext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_cxx_const_cast
=yes
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.
$ac_ext >&5
22674 ac_cv_cxx_const_cast
=no
22676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22678 ac_cpp
='$CPP $CPPFLAGS'
22679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22685 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22686 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22687 if test "$ac_cv_cxx_const_cast" = yes; then
22689 cat >>confdefs.h
<<\_ACEOF
22690 #define HAVE_CONST_CAST
22695 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22696 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22697 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 ac_cpp
='$CXXCPP $CPPFLAGS'
22704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22708 cat >conftest.
$ac_ext <<_ACEOF
22711 cat confdefs.h
>>conftest.
$ac_ext
22712 cat >>conftest.
$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22714 #include <typeinfo>
22715 class Base { public : Base () {} virtual void f () = 0;};
22716 class Derived : public Base { public : Derived () {} virtual void f () {} };
22717 class Unrelated { public : Unrelated () {} };
22718 int g (Unrelated&) { return 0; }
22723 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22728 rm -f conftest.
$ac_objext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22730 (eval $ac_compile) 2>conftest.er1
22732 grep -v '^ *+' conftest.er1
>conftest.err
22734 cat conftest.err
>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } &&
22737 { ac_try
='test -z "$ac_cxx_werror_flag"
22738 || test ! -s conftest.err'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; } &&
22744 { ac_try
='test -s conftest.$ac_objext'
22745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746 (eval $ac_try) 2>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; }; then
22750 ac_cv_cxx_reinterpret_cast
=yes
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.
$ac_ext >&5
22755 ac_cv_cxx_reinterpret_cast
=no
22757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22759 ac_cpp
='$CPP $CPPFLAGS'
22760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22766 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22767 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22768 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22770 cat >>confdefs.h
<<\_ACEOF
22771 #define HAVE_REINTERPRET_CAST
22776 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22777 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22778 if test "${ac_cv_cxx_static_cast+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22784 ac_cpp
='$CXXCPP $CPPFLAGS'
22785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22789 cat >conftest.
$ac_ext <<_ACEOF
22792 cat confdefs.h
>>conftest.
$ac_ext
22793 cat >>conftest.
$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22795 #include <typeinfo>
22796 class Base { public : Base () {} virtual void f () = 0; };
22797 class Derived : public Base { public : Derived () {} virtual void f () {} };
22798 int g (Derived&) { return 0; }
22803 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22808 rm -f conftest.
$ac_objext
22809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22810 (eval $ac_compile) 2>conftest.er1
22812 grep -v '^ *+' conftest.er1
>conftest.err
22814 cat conftest.err
>&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } &&
22817 { ac_try
='test -z "$ac_cxx_werror_flag"
22818 || test ! -s conftest.err'
22819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820 (eval $ac_try) 2>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); }; } &&
22824 { ac_try
='test -s conftest.$ac_objext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_cxx_static_cast
=yes
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.
$ac_ext >&5
22835 ac_cv_cxx_static_cast
=no
22837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22839 ac_cpp
='$CPP $CPPFLAGS'
22840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22846 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22847 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22848 if test "$ac_cv_cxx_static_cast" = yes; then
22850 cat >>confdefs.h
<<\_ACEOF
22851 #define HAVE_STATIC_CAST
22857 if test "x$SUNCXX" = xyes
; then
22858 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22861 if test "x$SUNCC" = xyes
; then
22862 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22865 if test "x$SGICC" = "xyes"; then
22866 CFLAGS
="-woff 3970 $CFLAGS"
22868 if test "x$SGICXX" = "xyes"; then
22869 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22872 if test "x$HPCC" = "xyes"; then
22873 CFLAGS
="+W 2011,2450 $CFLAGS"
22875 if test "x$HPCXX" = "xyes"; then
22876 CXXFLAGS
="+W 2340 $CXXFLAGS"
22879 if test "x$COMPAQCXX" = "xyes"; then
22880 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22883 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22885 ac_cpp
='$CXXCPP $CPPFLAGS'
22886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22891 if test "$wxUSE_UNICODE" = "yes"; then
22892 std_string
="std::wstring"
22893 char_type
="wchar_t"
22895 std_string
="std::string"
22899 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22900 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22901 cat >conftest.
$ac_ext <<_ACEOF
22904 cat confdefs.h
>>conftest.
$ac_ext
22905 cat >>conftest.
$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22916 rm -f conftest.
$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22920 grep -v '^ *+' conftest.er1
>conftest.err
22922 cat conftest.err
>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try
='test -z "$ac_cxx_werror_flag"
22926 || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try
='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 echo "$as_me:$LINENO: result: yes" >&5
22939 echo "${ECHO_T}yes" >&6
22940 cat >>confdefs.h
<<\_ACEOF
22941 #define HAVE_STD_WSTRING 1
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.
$ac_ext >&5
22948 echo "$as_me:$LINENO: result: no" >&5
22949 echo "${ECHO_T}no" >&6
22950 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22951 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22952 cat >conftest.
$ac_ext <<_ACEOF
22955 cat confdefs.h
>>conftest.
$ac_ext
22956 cat >>conftest.
$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22959 #ifdef HAVE_WCHAR_H
22961 # include <stddef.h>
22963 # include <wchar.h>
22965 #ifdef HAVE_STDLIB_H
22966 # include <stdlib.h>
22974 std::basic_string<$char_type> foo;
22975 const $char_type* dummy = foo.c_str();
22980 rm -f conftest.
$ac_objext
22981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22982 (eval $ac_compile) 2>conftest.er1
22984 grep -v '^ *+' conftest.er1
>conftest.err
22986 cat conftest.err
>&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); } &&
22989 { ac_try
='test -z "$ac_cxx_werror_flag"
22990 || test ! -s conftest.err'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; } &&
22996 { ac_try
='test -s conftest.$ac_objext'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; }; then
23002 echo "$as_me:$LINENO: result: yes" >&5
23003 echo "${ECHO_T}yes" >&6
23005 echo "$as_me: failed program was:" >&5
23006 sed 's/^/| /' conftest.
$ac_ext >&5
23008 echo "$as_me:$LINENO: result: no" >&5
23009 echo "${ECHO_T}no" >&6
23010 if test "$wxUSE_STL" = "yes"; then
23011 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23012 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23013 { (exit 1); exit 1; }; }
23014 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23015 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23016 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23017 { (exit 1); exit 1; }; }
23019 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23020 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23021 wxUSE_STD_STRING
=no
23026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23032 ac_cpp
='$CPP $CPPFLAGS'
23033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23039 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23041 ac_cpp
='$CXXCPP $CPPFLAGS'
23042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23047 echo "$as_me:$LINENO: checking for std::istream" >&5
23048 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23049 if test "${ac_cv_type_std__istream+set}" = set; then
23050 echo $ECHO_N "(cached) $ECHO_C" >&6
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <iostream>
23063 if ((std::istream *) 0)
23065 if (sizeof (std::istream))
23071 rm -f conftest.
$ac_objext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23073 (eval $ac_compile) 2>conftest.er1
23075 grep -v '^ *+' conftest.er1
>conftest.err
23077 cat conftest.err
>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try
='test -z "$ac_cxx_werror_flag"
23081 || test ! -s conftest.err'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; } &&
23087 { ac_try
='test -s conftest.$ac_objext'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; }; then
23093 ac_cv_type_std__istream
=yes
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.
$ac_ext >&5
23098 ac_cv_type_std__istream
=no
23100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23102 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23103 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23104 if test $ac_cv_type_std__istream = yes; then
23106 cat >>confdefs.h
<<_ACEOF
23107 #define HAVE_STD__ISTREAM 1
23112 wxUSE_STD_IOSTREAM
=no
23114 echo "$as_me:$LINENO: checking for std::ostream" >&5
23115 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23116 if test "${ac_cv_type_std__ostream+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 cat >conftest.
$ac_ext <<_ACEOF
23122 cat confdefs.h
>>conftest.
$ac_ext
23123 cat >>conftest.
$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125 #include <iostream>
23130 if ((std::ostream *) 0)
23132 if (sizeof (std::ostream))
23138 rm -f conftest.
$ac_objext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23140 (eval $ac_compile) 2>conftest.er1
23142 grep -v '^ *+' conftest.er1
>conftest.err
23144 cat conftest.err
>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try
='test -z "$ac_cxx_werror_flag"
23148 || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try
='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_type_std__ostream
=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23165 ac_cv_type_std__ostream
=no
23167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23169 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23170 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23171 if test $ac_cv_type_std__ostream = yes; then
23173 cat >>confdefs.h
<<_ACEOF
23174 #define HAVE_STD__OSTREAM 1
23179 wxUSE_STD_IOSTREAM
=no
23183 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23184 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23185 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23186 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23187 { (exit 1); exit 1; }; }
23189 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23190 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23195 ac_cpp
='$CPP $CPPFLAGS'
23196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23202 if test "$wxUSE_STL" = "yes"; then
23204 ac_cpp
='$CXXCPP $CPPFLAGS'
23205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23210 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23211 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23212 cat >conftest.
$ac_ext <<_ACEOF
23215 cat confdefs.h
>>conftest.
$ac_ext
23216 cat >>conftest.
$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23219 #include <functional>
23220 #include <algorithm>
23226 std::vector<int> moo;
23227 std::list<int> foo;
23228 std::vector<int>::iterator it =
23229 std::find_if(moo.begin(), moo.end(),
23230 std::bind2nd(std::less<int>(), 3));
23235 rm -f conftest.
$ac_objext
23236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23237 (eval $ac_compile) 2>conftest.er1
23239 grep -v '^ *+' conftest.er1
>conftest.err
23241 cat conftest.err
>&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } &&
23244 { ac_try
='test -z "$ac_cxx_werror_flag"
23245 || test ! -s conftest.err'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; } &&
23251 { ac_try
='test -s conftest.$ac_objext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 echo "$as_me:$LINENO: result: yes" >&5
23258 echo "${ECHO_T}yes" >&6
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.
$ac_ext >&5
23263 echo "$as_me:$LINENO: result: no" >&5
23264 echo "${ECHO_T}no" >&6
23265 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23266 echo "$as_me: error: Basic STL functionality missing" >&2;}
23267 { (exit 1); exit 1; }; }
23269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23271 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23272 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23273 cat >conftest.
$ac_ext <<_ACEOF
23276 cat confdefs.h
>>conftest.
$ac_ext
23277 cat >>conftest.
$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23283 std::string foo, bar;
23285 foo.compare(1, 1, bar);
23286 foo.compare(1, 1, bar, 1, 1);
23288 foo.compare(1, 1, "");
23289 foo.compare(1, 1, "", 2);
23294 rm -f conftest.
$ac_objext
23295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23296 (eval $ac_compile) 2>conftest.er1
23298 grep -v '^ *+' conftest.er1
>conftest.err
23300 cat conftest.err
>&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } &&
23303 { ac_try
='test -z "$ac_cxx_werror_flag"
23304 || test ! -s conftest.err'
23305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23306 (eval $ac_try) 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); }; } &&
23310 { ac_try
='test -s conftest.$ac_objext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 echo "$as_me:$LINENO: result: yes" >&5
23317 echo "${ECHO_T}yes" >&6
23318 cat >>confdefs.h
<<\_ACEOF
23319 #define HAVE_STD_STRING_COMPARE 1
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.
$ac_ext >&5
23326 echo "$as_me:$LINENO: result: no" >&5
23327 echo "${ECHO_T}no" >&6
23329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23331 if test "${ac_cv_header_hash_map+set}" = set; then
23332 echo "$as_me:$LINENO: checking for hash_map" >&5
23333 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23334 if test "${ac_cv_header_hash_map+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23337 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23338 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23340 # Is the header compilable?
23341 echo "$as_me:$LINENO: checking hash_map usability" >&5
23342 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23343 cat >conftest.
$ac_ext <<_ACEOF
23346 cat confdefs.h
>>conftest.
$ac_ext
23347 cat >>conftest.
$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23349 $ac_includes_default
23350 #include <hash_map>
23352 rm -f conftest.
$ac_objext
23353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23354 (eval $ac_compile) 2>conftest.er1
23356 grep -v '^ *+' conftest.er1
>conftest.err
23358 cat conftest.err
>&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); } &&
23361 { ac_try
='test -z "$ac_cxx_werror_flag"
23362 || test ! -s conftest.err'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; } &&
23368 { ac_try
='test -s conftest.$ac_objext'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; }; then
23374 ac_header_compiler
=yes
23376 echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.
$ac_ext >&5
23379 ac_header_compiler
=no
23381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23383 echo "${ECHO_T}$ac_header_compiler" >&6
23385 # Is the header present?
23386 echo "$as_me:$LINENO: checking hash_map presence" >&5
23387 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23388 cat >conftest.
$ac_ext <<_ACEOF
23391 cat confdefs.h
>>conftest.
$ac_ext
23392 cat >>conftest.
$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23394 #include <hash_map>
23396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23397 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23399 grep -v '^ *+' conftest.er1
>conftest.err
23401 cat conftest.err
>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } >/dev
/null
; then
23404 if test -s conftest.err
; then
23405 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23406 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23413 if test -z "$ac_cpp_err"; then
23414 ac_header_preproc
=yes
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.
$ac_ext >&5
23419 ac_header_preproc
=no
23421 rm -f conftest.err conftest.
$ac_ext
23422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23423 echo "${ECHO_T}$ac_header_preproc" >&6
23425 # So? What about this header?
23426 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23428 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23429 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23430 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23431 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23432 ac_header_preproc
=yes
23435 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23436 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23437 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23438 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23439 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23440 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23441 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23442 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23443 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23444 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23445 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23446 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23449 ## ----------------------------------------- ##
23450 ## Report this to wx-dev@lists.wxwidgets.org ##
23451 ## ----------------------------------------- ##
23454 sed "s/^/$as_me: WARNING: /" >&2
23457 echo "$as_me:$LINENO: checking for hash_map" >&5
23458 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23459 if test "${ac_cv_header_hash_map+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 ac_cv_header_hash_map
=$ac_header_preproc
23464 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23465 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23468 if test $ac_cv_header_hash_map = yes; then
23469 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23470 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23471 cat >conftest.
$ac_ext <<_ACEOF
23474 cat confdefs.h
>>conftest.
$ac_ext
23475 cat >>conftest.
$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <hash_map>
23478 #include <hash_set>
23482 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23483 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23488 rm -f conftest.
$ac_objext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23490 (eval $ac_compile) 2>conftest.er1
23492 grep -v '^ *+' conftest.er1
>conftest.err
23494 cat conftest.err
>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try
='test -z "$ac_cxx_werror_flag"
23498 || test ! -s conftest.err'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; } &&
23504 { ac_try
='test -s conftest.$ac_objext'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23510 echo "$as_me:$LINENO: result: yes" >&5
23511 echo "${ECHO_T}yes" >&6
23512 cat >>confdefs.h
<<\_ACEOF
23513 #define HAVE_HASH_MAP 1
23516 cat >>confdefs.h
<<\_ACEOF
23517 #define HAVE_STD_HASH_MAP 1
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.
$ac_ext >&5
23524 echo "$as_me:$LINENO: result: no" >&5
23525 echo "${ECHO_T}no" >&6
23527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23533 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23534 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23535 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23536 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23539 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23540 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23542 # Is the header compilable?
23543 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23544 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23545 cat >conftest.
$ac_ext <<_ACEOF
23548 cat confdefs.h
>>conftest.
$ac_ext
23549 cat >>conftest.
$ac_ext <<_ACEOF
23550 /* end confdefs.h. */
23551 $ac_includes_default
23552 #include <ext/hash_map>
23554 rm -f conftest.
$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23558 grep -v '^ *+' conftest.er1
>conftest.err
23560 cat conftest.err
>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try
='test -z "$ac_cxx_werror_flag"
23564 || test ! -s conftest.err'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; } &&
23570 { ac_try
='test -s conftest.$ac_objext'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; }; then
23576 ac_header_compiler
=yes
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.
$ac_ext >&5
23581 ac_header_compiler
=no
23583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23585 echo "${ECHO_T}$ac_header_compiler" >&6
23587 # Is the header present?
23588 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23589 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23590 cat >conftest.
$ac_ext <<_ACEOF
23593 cat confdefs.h
>>conftest.
$ac_ext
23594 cat >>conftest.
$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #include <ext/hash_map>
23598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23599 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23601 grep -v '^ *+' conftest.er1
>conftest.err
23603 cat conftest.err
>&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); } >/dev
/null
; then
23606 if test -s conftest.err
; then
23607 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23608 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23615 if test -z "$ac_cpp_err"; then
23616 ac_header_preproc
=yes
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.
$ac_ext >&5
23621 ac_header_preproc
=no
23623 rm -f conftest.err conftest.
$ac_ext
23624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23625 echo "${ECHO_T}$ac_header_preproc" >&6
23627 # So? What about this header?
23628 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23630 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23631 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23632 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23633 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23634 ac_header_preproc
=yes
23637 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23638 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23639 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23640 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23641 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23642 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23643 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23644 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23645 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23646 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23647 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23648 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23651 ## ----------------------------------------- ##
23652 ## Report this to wx-dev@lists.wxwidgets.org ##
23653 ## ----------------------------------------- ##
23656 sed "s/^/$as_me: WARNING: /" >&2
23659 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23660 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23661 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23664 ac_cv_header_ext_hash_map
=$ac_header_preproc
23666 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23667 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23670 if test $ac_cv_header_ext_hash_map = yes; then
23671 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23672 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23673 cat >conftest.
$ac_ext <<_ACEOF
23676 cat confdefs.h
>>conftest.
$ac_ext
23677 cat >>conftest.
$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679 #include <ext/hash_map>
23680 #include <ext/hash_set>
23684 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23685 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23690 rm -f conftest.
$ac_objext
23691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23692 (eval $ac_compile) 2>conftest.er1
23694 grep -v '^ *+' conftest.er1
>conftest.err
23696 cat conftest.err
>&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); } &&
23699 { ac_try
='test -z "$ac_cxx_werror_flag"
23700 || test ! -s conftest.err'
23701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23702 (eval $ac_try) 2>&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); }; } &&
23706 { ac_try
='test -s conftest.$ac_objext'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; }; then
23712 echo "$as_me:$LINENO: result: yes" >&5
23713 echo "${ECHO_T}yes" >&6
23714 cat >>confdefs.h
<<\_ACEOF
23715 #define HAVE_EXT_HASH_MAP 1
23718 cat >>confdefs.h
<<\_ACEOF
23719 #define HAVE_GNU_CXX_HASH_MAP 1
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.
$ac_ext >&5
23726 echo "$as_me:$LINENO: result: no" >&5
23727 echo "${ECHO_T}no" >&6
23729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23736 ac_cpp
='$CPP $CPPFLAGS'
23737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23745 /usr/local/include \
23747 /usr/Motif-2.1/include \
23748 /usr/Motif-1.2/include \
23749 /usr/include/Motif1.2 \
23752 /usr/openwin/include \
23756 /usr/X11R6/include \
23757 /usr/X11R6.4/include \
23758 /usr/X11R5/include \
23759 /usr/X11R4/include \
23761 /usr/include/X11R6 \
23762 /usr/include/X11R5 \
23763 /usr/include/X11R4 \
23765 /usr/local/X11R6/include \
23766 /usr/local/X11R5/include \
23767 /usr/local/X11R4/include \
23769 /usr/local/include/X11R6 \
23770 /usr/local/include/X11R5 \
23771 /usr/local/include/X11R4 \
23775 /usr/local/X11/include \
23776 /usr/local/include/X11 \
23778 /usr/XFree86/include/X11 \
23781 /usr/openwin/share/include"
23783 echo "$as_me:$LINENO: checking for libraries directory" >&5
23784 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23788 if test "${wx_cv_std_libpath+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23793 for e
in a so sl dylib dll.a
; do
23795 if test -f $libc; then
23798 cat >conftest.
$ac_ext <<_ACEOF
23799 int main() { return 0; }
23801 rm -f conftest.
$ac_objext conftest
$ac_exeext
23802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23803 (eval $ac_link) 2>conftest.er1
23805 grep -v '^ *+' conftest.er1
>conftest.err
23807 cat conftest.err
>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } &&
23810 { ac_try
='test -z "$ac_c_werror_flag"
23811 || test ! -s conftest.err'
23812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23813 (eval $ac_try) 2>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try
='test -s conftest$ac_exeext'
23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819 (eval $ac_try) 2>&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); }; }; then
23823 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.
$ac_ext >&5
23829 rm -f conftest.err conftest.
$ac_objext \
23830 conftest
$ac_exeext conftest.
$ac_ext
23832 if test "x$wx_cv_std_libpath" != "x"; then
23838 if test "x$wx_cv_std_libpath" = "x"; then
23839 wx_cv_std_libpath
="lib"
23848 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23849 wx_cv_std_libpath
="lib/64"
23851 wx_cv_std_libpath
="lib"
23856 if test "$ac_cv_sizeof_void_p" = 8 -a \
23857 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23858 wx_cv_std_libpath
="lib64"
23860 wx_cv_std_libpath
="lib"
23865 wx_cv_std_libpath
="lib";
23869 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23870 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23872 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23874 if test "$build" != "$host" -a "$GCC" = yes; then
23875 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23876 cross_root
=`dirname $cross_root`
23877 cross_root
=`dirname $cross_root`
23879 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23880 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23881 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23883 if test -z "$PKG_CONFIG_PATH"; then
23884 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23885 export PKG_CONFIG_PATH
23888 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23891 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23893 if test -f "$ac_dir/X11/Intrinsic.h"; then
23894 ac_find_includes
=$ac_dir
23899 x_includes
=$ac_find_includes
23901 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23904 for ac_dir
in $SEARCH_LIB;
23906 for ac_extension
in a so sl dylib dll.a
; do
23907 if test -f "$ac_dir/libXt.$ac_extension"; then
23908 ac_find_libraries
=$ac_dir
23914 x_libraries
=$ac_find_libraries
23920 cat >confcache
<<\_ACEOF
23921 # This file is a shell script that caches the results of configure
23922 # tests run on this system so they can be shared between configure
23923 # scripts and configure runs, see configure's option --config-cache.
23924 # It is not useful on other systems. If it contains results you don't
23925 # want to keep, you may remove or edit it.
23927 # config.status only pays attention to the cache file if you give it
23928 # the --recheck option to rerun configure.
23930 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23932 # following values.
23936 # The following way of writing the cache mishandles newlines in values,
23937 # but we know of no workaround that is simple, portable, and efficient.
23938 # So, don't put newlines in cache variables' values.
23939 # Ultrix sh set writes to stderr and can't be redirected directly,
23940 # and sets the high bit in the cache file unless we assign to the vars.
23943 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23945 # `set' does not quote correctly, so add quotes (double-quote
23946 # substitution turns \\\\ into \\, and sed turns \\ into \).
23949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23952 # `set' quotes correctly as required by POSIX, so do not add quotes.
23954 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23963 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23965 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23966 if test -w $cache_file; then
23967 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23968 cat confcache
>$cache_file
23970 echo "not updating unwritable cache $cache_file"
23975 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23976 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23977 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23978 if test "${wx_cv_lib_glibc21+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 cat >conftest.
$ac_ext <<_ACEOF
23985 cat confdefs.h
>>conftest.
$ac_ext
23986 cat >>conftest.
$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 #include <features.h>
23993 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24001 rm -f conftest.
$ac_objext
24002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24003 (eval $ac_compile) 2>conftest.er1
24005 grep -v '^ *+' conftest.er1
>conftest.err
24007 cat conftest.err
>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } &&
24010 { ac_try
='test -z "$ac_c_werror_flag"
24011 || test ! -s conftest.err'
24012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013 (eval $ac_try) 2>&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; } &&
24017 { ac_try
='test -s conftest.$ac_objext'
24018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24019 (eval $ac_try) 2>&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); }; }; then
24024 wx_cv_lib_glibc21
=yes
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.
$ac_ext >&5
24031 wx_cv_lib_glibc21
=no
24035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24038 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24039 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24040 if test "$wx_cv_lib_glibc21" = "yes"; then
24041 cat >>confdefs.h
<<\_ACEOF
24042 #define wxHAVE_GLIBC2 1
24048 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24049 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24050 cat >>confdefs.h
<<\_ACEOF
24051 #define _GNU_SOURCE 1
24059 if test "$wxUSE_REGEX" != "no"; then
24060 cat >>confdefs.h
<<\_ACEOF
24061 #define wxUSE_REGEX 1
24065 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24066 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24067 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24068 wxUSE_REGEX
=builtin
24071 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24072 if test "${ac_cv_header_regex_h+set}" = set; then
24073 echo "$as_me:$LINENO: checking for regex.h" >&5
24074 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24075 if test "${ac_cv_header_regex_h+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24078 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24079 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24081 # Is the header compilable?
24082 echo "$as_me:$LINENO: checking regex.h usability" >&5
24083 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24084 cat >conftest.
$ac_ext <<_ACEOF
24087 cat confdefs.h
>>conftest.
$ac_ext
24088 cat >>conftest.
$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 $ac_includes_default
24093 rm -f conftest.
$ac_objext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24095 (eval $ac_compile) 2>conftest.er1
24097 grep -v '^ *+' conftest.er1
>conftest.err
24099 cat conftest.err
>&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try
='test -z "$ac_c_werror_flag"
24103 || test ! -s conftest.err'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; } &&
24109 { ac_try
='test -s conftest.$ac_objext'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 ac_header_compiler
=yes
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.
$ac_ext >&5
24120 ac_header_compiler
=no
24122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24124 echo "${ECHO_T}$ac_header_compiler" >&6
24126 # Is the header present?
24127 echo "$as_me:$LINENO: checking regex.h presence" >&5
24128 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24129 cat >conftest.
$ac_ext <<_ACEOF
24132 cat confdefs.h
>>conftest.
$ac_ext
24133 cat >>conftest.
$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24140 grep -v '^ *+' conftest.er1
>conftest.err
24142 cat conftest.err
>&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } >/dev
/null
; then
24145 if test -s conftest.err
; then
24146 ac_cpp_err
=$ac_c_preproc_warn_flag
24147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24154 if test -z "$ac_cpp_err"; then
24155 ac_header_preproc
=yes
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.
$ac_ext >&5
24160 ac_header_preproc
=no
24162 rm -f conftest.err conftest.
$ac_ext
24163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24164 echo "${ECHO_T}$ac_header_preproc" >&6
24166 # So? What about this header?
24167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24169 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24170 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24171 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24172 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24173 ac_header_preproc
=yes
24176 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24177 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24178 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24179 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24180 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24181 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24182 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24183 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24184 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24185 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24186 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24187 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24190 ## ----------------------------------------- ##
24191 ## Report this to wx-dev@lists.wxwidgets.org ##
24192 ## ----------------------------------------- ##
24195 sed "s/^/$as_me: WARNING: /" >&2
24198 echo "$as_me:$LINENO: checking for regex.h" >&5
24199 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24200 if test "${ac_cv_header_regex_h+set}" = set; then
24201 echo $ECHO_N "(cached) $ECHO_C" >&6
24203 ac_cv_header_regex_h
=$ac_header_preproc
24205 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24206 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24209 if test $ac_cv_header_regex_h = yes; then
24212 for ac_func
in regcomp re_search
24214 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24215 echo "$as_me:$LINENO: checking for $ac_func" >&5
24216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24217 if eval "test \"\${$as_ac_var+set}\" = set"; then
24218 echo $ECHO_N "(cached) $ECHO_C" >&6
24220 cat >conftest.
$ac_ext <<_ACEOF
24223 cat confdefs.h
>>conftest.
$ac_ext
24224 cat >>conftest.
$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24228 #define $ac_func innocuous_$ac_func
24230 /* System header to define __stub macros and hopefully few prototypes,
24231 which can conflict with char $ac_func (); below.
24232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24233 <limits.h> exists even on freestanding compilers. */
24236 # include <limits.h>
24238 # include <assert.h>
24243 /* Override any gcc2 internal prototype to avoid an error. */
24248 /* We use char because int might match the return type of a gcc2
24249 builtin and then its argument prototype would still apply. */
24251 /* The GNU C library defines this for functions which it implements
24252 to always fail with ENOSYS. Some functions are actually named
24253 something starting with __ and the normal name is an alias. */
24254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24257 char (*f) () = $ac_func;
24266 return f != $ac_func;
24271 rm -f conftest.
$ac_objext conftest
$ac_exeext
24272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24273 (eval $ac_link) 2>conftest.er1
24275 grep -v '^ *+' conftest.er1
>conftest.err
24277 cat conftest.err
>&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } &&
24280 { ac_try
='test -z "$ac_c_werror_flag"
24281 || test ! -s conftest.err'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; } &&
24287 { ac_try
='test -s conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 eval "$as_ac_var=yes"
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.
$ac_ext >&5
24298 eval "$as_ac_var=no"
24300 rm -f conftest.err conftest.
$ac_objext \
24301 conftest
$ac_exeext conftest.
$ac_ext
24303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24305 if test `eval echo '${'$as_ac_var'}'` = yes; then
24306 cat >>confdefs.h
<<_ACEOF
24307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24317 if test "x$ac_cv_func_regcomp" != "xyes"; then
24318 if test "$wxUSE_REGEX" = "sys" ; then
24319 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24320 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24321 { (exit 1); exit 1; }; }
24323 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24324 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24325 wxUSE_REGEX
=builtin
24329 cat >>confdefs.h
<<\_ACEOF
24330 #define WX_NO_REGEX_ADVANCED 1
24339 if test "$wxUSE_ZLIB" != "no" ; then
24340 cat >>confdefs.h
<<\_ACEOF
24341 #define wxUSE_ZLIB 1
24345 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24346 if test "$USE_DARWIN" = 1; then
24347 system_zlib_h_ok
="yes"
24349 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24350 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24351 if test "${ac_cv_header_zlib_h+set}" = set; then
24352 echo $ECHO_N "(cached) $ECHO_C" >&6
24354 if test "$cross_compiling" = yes; then
24355 unset ac_cv_header_zlib_h
24358 cat >conftest.
$ac_ext <<_ACEOF
24361 cat confdefs.h
>>conftest.
$ac_ext
24362 cat >>conftest.
$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24370 FILE *f=fopen("conftestval", "w");
24373 ZLIB_VERSION[0] == '1' &&
24374 (ZLIB_VERSION[2] > '1' ||
24375 (ZLIB_VERSION[2] == '1' &&
24376 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24381 rm -f conftest
$ac_exeext
24382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24383 (eval $ac_link) 2>&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_cv_header_zlib_h
=`cat conftestval`
24394 echo "$as_me: program exited with status $ac_status" >&5
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.
$ac_ext >&5
24398 ( exit $ac_status )
24399 ac_cv_header_zlib_h
=no
24401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24405 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24406 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24407 if test "${ac_cv_header_zlib_h+set}" = set; then
24408 echo "$as_me:$LINENO: checking for zlib.h" >&5
24409 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24410 if test "${ac_cv_header_zlib_h+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24414 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24416 # Is the header compilable?
24417 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24418 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24419 cat >conftest.
$ac_ext <<_ACEOF
24422 cat confdefs.h
>>conftest.
$ac_ext
24423 cat >>conftest.
$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 $ac_includes_default
24428 rm -f conftest.
$ac_objext
24429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24430 (eval $ac_compile) 2>conftest.er1
24432 grep -v '^ *+' conftest.er1
>conftest.err
24434 cat conftest.err
>&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } &&
24437 { ac_try
='test -z "$ac_c_werror_flag"
24438 || test ! -s conftest.err'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; } &&
24444 { ac_try
='test -s conftest.$ac_objext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450 ac_header_compiler
=yes
24452 echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.
$ac_ext >&5
24455 ac_header_compiler
=no
24457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24459 echo "${ECHO_T}$ac_header_compiler" >&6
24461 # Is the header present?
24462 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24463 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24464 cat >conftest.
$ac_ext <<_ACEOF
24467 cat confdefs.h
>>conftest.
$ac_ext
24468 cat >>conftest.
$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24475 grep -v '^ *+' conftest.er1
>conftest.err
24477 cat conftest.err
>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } >/dev
/null
; then
24480 if test -s conftest.err
; then
24481 ac_cpp_err
=$ac_c_preproc_warn_flag
24482 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24489 if test -z "$ac_cpp_err"; then
24490 ac_header_preproc
=yes
24492 echo "$as_me: failed program was:" >&5
24493 sed 's/^/| /' conftest.
$ac_ext >&5
24495 ac_header_preproc
=no
24497 rm -f conftest.err conftest.
$ac_ext
24498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24499 echo "${ECHO_T}$ac_header_preproc" >&6
24501 # So? What about this header?
24502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24504 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24505 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24506 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24507 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24508 ac_header_preproc
=yes
24511 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24512 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24513 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24514 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24515 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24516 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24517 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24518 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24520 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24521 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24522 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24525 ## ----------------------------------------- ##
24526 ## Report this to wx-dev@lists.wxwidgets.org ##
24527 ## ----------------------------------------- ##
24530 sed "s/^/$as_me: WARNING: /" >&2
24533 echo "$as_me:$LINENO: checking for zlib.h" >&5
24534 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24535 if test "${ac_cv_header_zlib_h+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24538 ac_cv_header_zlib_h
=$ac_header_preproc
24540 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24541 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24547 system_zlib_h_ok
=$ac_cv_header_zlib_h
24550 if test "$system_zlib_h_ok" = "yes"; then
24551 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24552 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24553 if test "${ac_cv_lib_z_deflate+set}" = set; then
24554 echo $ECHO_N "(cached) $ECHO_C" >&6
24556 ac_check_lib_save_LIBS
=$LIBS
24558 cat >conftest.
$ac_ext <<_ACEOF
24561 cat confdefs.h
>>conftest.
$ac_ext
24562 cat >>conftest.
$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24565 /* Override any gcc2 internal prototype to avoid an error. */
24569 /* We use char because int might match the return type of a gcc2
24570 builtin and then its argument prototype would still apply. */
24580 rm -f conftest.
$ac_objext conftest
$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>conftest.er1
24584 grep -v '^ *+' conftest.er1
>conftest.err
24586 cat conftest.err
>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try
='test -z "$ac_c_werror_flag"
24590 || test ! -s conftest.err'
24591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592 (eval $ac_try) 2>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); }; } &&
24596 { ac_try
='test -s conftest$ac_exeext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_cv_lib_z_deflate
=yes
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.
$ac_ext >&5
24607 ac_cv_lib_z_deflate
=no
24609 rm -f conftest.err conftest.
$ac_objext \
24610 conftest
$ac_exeext conftest.
$ac_ext
24611 LIBS
=$ac_check_lib_save_LIBS
24613 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24614 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24615 if test $ac_cv_lib_z_deflate = yes; then
24621 if test "x$ZLIB_LINK" = "x" ; then
24622 if test "$wxUSE_ZLIB" = "sys" ; then
24623 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24624 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24625 { (exit 1); exit 1; }; }
24627 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24628 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24639 if test "$wxUSE_LIBPNG" != "no" ; then
24640 cat >>confdefs.h
<<\_ACEOF
24641 #define wxUSE_LIBPNG 1
24645 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24646 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24647 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24651 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24652 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24653 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24654 wxUSE_LIBPNG
=builtin
24657 if test "$wxUSE_MGL" != 1 ; then
24658 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24659 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24660 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24661 if test "${ac_cv_header_png_h+set}" = set; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 if test "$cross_compiling" = yes; then
24665 unset ac_cv_header_png_h
24668 cat >conftest.
$ac_ext <<_ACEOF
24671 cat confdefs.h
>>conftest.
$ac_ext
24672 cat >>conftest.
$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24680 FILE *f=fopen("conftestval", "w");
24683 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24688 rm -f conftest
$ac_exeext
24689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24690 (eval $ac_link) 2>&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24695 (eval $ac_try) 2>&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; }; then
24699 ac_cv_header_png_h
=`cat conftestval`
24701 echo "$as_me: program exited with status $ac_status" >&5
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.
$ac_ext >&5
24705 ( exit $ac_status )
24706 ac_cv_header_png_h
=no
24708 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24712 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24713 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24714 if test "${ac_cv_header_png_h+set}" = set; then
24715 echo "$as_me:$LINENO: checking for png.h" >&5
24716 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24717 if test "${ac_cv_header_png_h+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24720 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24721 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24723 # Is the header compilable?
24724 echo "$as_me:$LINENO: checking png.h usability" >&5
24725 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24726 cat >conftest.
$ac_ext <<_ACEOF
24729 cat confdefs.h
>>conftest.
$ac_ext
24730 cat >>conftest.
$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24732 $ac_includes_default
24735 rm -f conftest.
$ac_objext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24737 (eval $ac_compile) 2>conftest.er1
24739 grep -v '^ *+' conftest.er1
>conftest.err
24741 cat conftest.err
>&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try
='test -z "$ac_c_werror_flag"
24745 || test ! -s conftest.err'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; } &&
24751 { ac_try
='test -s conftest.$ac_objext'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; }; then
24757 ac_header_compiler
=yes
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.
$ac_ext >&5
24762 ac_header_compiler
=no
24764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24766 echo "${ECHO_T}$ac_header_compiler" >&6
24768 # Is the header present?
24769 echo "$as_me:$LINENO: checking png.h presence" >&5
24770 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24771 cat >conftest.
$ac_ext <<_ACEOF
24774 cat confdefs.h
>>conftest.
$ac_ext
24775 cat >>conftest.
$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24782 grep -v '^ *+' conftest.er1
>conftest.err
24784 cat conftest.err
>&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } >/dev
/null
; then
24787 if test -s conftest.err
; then
24788 ac_cpp_err
=$ac_c_preproc_warn_flag
24789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24796 if test -z "$ac_cpp_err"; then
24797 ac_header_preproc
=yes
24799 echo "$as_me: failed program was:" >&5
24800 sed 's/^/| /' conftest.
$ac_ext >&5
24802 ac_header_preproc
=no
24804 rm -f conftest.err conftest.
$ac_ext
24805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24806 echo "${ECHO_T}$ac_header_preproc" >&6
24808 # So? What about this header?
24809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24811 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24812 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24813 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24814 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24815 ac_header_preproc
=yes
24818 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24819 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24820 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24821 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24822 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24823 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24824 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24825 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24826 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24827 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24828 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24829 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24832 ## ----------------------------------------- ##
24833 ## Report this to wx-dev@lists.wxwidgets.org ##
24834 ## ----------------------------------------- ##
24837 sed "s/^/$as_me: WARNING: /" >&2
24840 echo "$as_me:$LINENO: checking for png.h" >&5
24841 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24842 if test "${ac_cv_header_png_h+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 ac_cv_header_png_h
=$ac_header_preproc
24847 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24848 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24854 if test "$ac_cv_header_png_h" = "yes"; then
24855 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24856 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24857 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 ac_check_lib_save_LIBS
=$LIBS
24861 LIBS
="-lpng -lz -lm $LIBS"
24862 cat >conftest.
$ac_ext <<_ACEOF
24865 cat confdefs.h
>>conftest.
$ac_ext
24866 cat >>conftest.
$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24869 /* Override any gcc2 internal prototype to avoid an error. */
24873 /* We use char because int might match the return type of a gcc2
24874 builtin and then its argument prototype would still apply. */
24875 char png_check_sig ();
24884 rm -f conftest.
$ac_objext conftest
$ac_exeext
24885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24886 (eval $ac_link) 2>conftest.er1
24888 grep -v '^ *+' conftest.er1
>conftest.err
24890 cat conftest.err
>&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } &&
24893 { ac_try
='test -z "$ac_c_werror_flag"
24894 || test ! -s conftest.err'
24895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896 (eval $ac_try) 2>&5
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); }; } &&
24900 { ac_try
='test -s conftest$ac_exeext'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; }; then
24906 ac_cv_lib_png_png_check_sig
=yes
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.
$ac_ext >&5
24911 ac_cv_lib_png_png_check_sig
=no
24913 rm -f conftest.err conftest.
$ac_objext \
24914 conftest
$ac_exeext conftest.
$ac_ext
24915 LIBS
=$ac_check_lib_save_LIBS
24917 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24918 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24919 if test $ac_cv_lib_png_png_check_sig = yes; then
24920 PNG_LINK
=" -lpng -lz"
24925 if test "x$PNG_LINK" = "x" ; then
24926 if test "$wxUSE_LIBPNG" = "sys" ; then
24927 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24928 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24929 { (exit 1); exit 1; }; }
24931 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24932 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24933 wxUSE_LIBPNG
=builtin
24941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24946 if test "$wxUSE_LIBJPEG" != "no" ; then
24947 cat >>confdefs.h
<<\_ACEOF
24948 #define wxUSE_LIBJPEG 1
24952 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24953 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24954 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24958 if test "$wxUSE_MGL" != 1 ; then
24959 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24960 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24961 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24962 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24965 cat >conftest.
$ac_ext <<_ACEOF
24968 cat confdefs.h
>>conftest.
$ac_ext
24969 cat >>conftest.
$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24972 #undef HAVE_STDLIB_H
24974 #include <jpeglib.h>
24985 rm -f conftest.
$ac_objext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24987 (eval $ac_compile) 2>conftest.er1
24989 grep -v '^ *+' conftest.er1
>conftest.err
24991 cat conftest.err
>&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try
='test -z "$ac_c_werror_flag"
24995 || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try
='test -s conftest.$ac_objext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 ac_cv_header_jpeglib_h
=yes
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.
$ac_ext >&5
25012 ac_cv_header_jpeglib_h
=no
25015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25019 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25020 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25022 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25023 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25024 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25025 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25026 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 ac_check_lib_save_LIBS
=$LIBS
25029 LIBS
="-ljpeg $LIBS"
25030 cat >conftest.
$ac_ext <<_ACEOF
25033 cat confdefs.h
>>conftest.
$ac_ext
25034 cat >>conftest.
$ac_ext <<_ACEOF
25035 /* end confdefs.h. */
25037 /* Override any gcc2 internal prototype to avoid an error. */
25041 /* We use char because int might match the return type of a gcc2
25042 builtin and then its argument prototype would still apply. */
25043 char jpeg_read_header ();
25047 jpeg_read_header ();
25052 rm -f conftest.
$ac_objext conftest
$ac_exeext
25053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25054 (eval $ac_link) 2>conftest.er1
25056 grep -v '^ *+' conftest.er1
>conftest.err
25058 cat conftest.err
>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try
='test -z "$ac_c_werror_flag"
25062 || test ! -s conftest.err'
25063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25064 (eval $ac_try) 2>&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); }; } &&
25068 { ac_try
='test -s conftest$ac_exeext'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; }; then
25074 ac_cv_lib_jpeg_jpeg_read_header
=yes
25076 echo "$as_me: failed program was:" >&5
25077 sed 's/^/| /' conftest.
$ac_ext >&5
25079 ac_cv_lib_jpeg_jpeg_read_header
=no
25081 rm -f conftest.err conftest.
$ac_objext \
25082 conftest
$ac_exeext conftest.
$ac_ext
25083 LIBS
=$ac_check_lib_save_LIBS
25085 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25086 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25087 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25088 JPEG_LINK
=" -ljpeg"
25093 if test "x$JPEG_LINK" = "x" ; then
25094 if test "$wxUSE_LIBJPEG" = "sys" ; then
25095 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25096 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25097 { (exit 1); exit 1; }; }
25099 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25100 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25101 wxUSE_LIBJPEG
=builtin
25112 TIFF_PREREQ_LINKS
=-lm
25113 if test "$wxUSE_LIBTIFF" != "no" ; then
25114 cat >>confdefs.h
<<\_ACEOF
25115 #define wxUSE_LIBTIFF 1
25119 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25120 if test "$wxUSE_LIBJPEG" = "sys"; then
25121 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25123 if test "$wxUSE_ZLIB" = "sys"; then
25124 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25126 if test "${ac_cv_header_tiffio_h+set}" = set; then
25127 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25128 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25129 if test "${ac_cv_header_tiffio_h+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25133 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25135 # Is the header compilable?
25136 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25137 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25138 cat >conftest.
$ac_ext <<_ACEOF
25141 cat confdefs.h
>>conftest.
$ac_ext
25142 cat >>conftest.
$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25144 $ac_includes_default
25145 #include <tiffio.h>
25147 rm -f conftest.
$ac_objext
25148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25149 (eval $ac_compile) 2>conftest.er1
25151 grep -v '^ *+' conftest.er1
>conftest.err
25153 cat conftest.err
>&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); } &&
25156 { ac_try
='test -z "$ac_c_werror_flag"
25157 || test ! -s conftest.err'
25158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25159 (eval $ac_try) 2>&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); }; } &&
25163 { ac_try
='test -s conftest.$ac_objext'
25164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165 (eval $ac_try) 2>&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }; }; then
25169 ac_header_compiler
=yes
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.
$ac_ext >&5
25174 ac_header_compiler
=no
25176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25178 echo "${ECHO_T}$ac_header_compiler" >&6
25180 # Is the header present?
25181 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25182 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25183 cat >conftest.
$ac_ext <<_ACEOF
25186 cat confdefs.h
>>conftest.
$ac_ext
25187 cat >>conftest.
$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189 #include <tiffio.h>
25191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25194 grep -v '^ *+' conftest.er1
>conftest.err
25196 cat conftest.err
>&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); } >/dev
/null
; then
25199 if test -s conftest.err
; then
25200 ac_cpp_err
=$ac_c_preproc_warn_flag
25201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25208 if test -z "$ac_cpp_err"; then
25209 ac_header_preproc
=yes
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.
$ac_ext >&5
25214 ac_header_preproc
=no
25216 rm -f conftest.err conftest.
$ac_ext
25217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25218 echo "${ECHO_T}$ac_header_preproc" >&6
25220 # So? What about this header?
25221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25223 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25224 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25225 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25226 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25227 ac_header_preproc
=yes
25230 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25231 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25232 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25233 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25234 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25235 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25236 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25237 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25238 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25239 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25240 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25241 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25244 ## ----------------------------------------- ##
25245 ## Report this to wx-dev@lists.wxwidgets.org ##
25246 ## ----------------------------------------- ##
25249 sed "s/^/$as_me: WARNING: /" >&2
25252 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25253 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25254 if test "${ac_cv_header_tiffio_h+set}" = set; then
25255 echo $ECHO_N "(cached) $ECHO_C" >&6
25257 ac_cv_header_tiffio_h
=$ac_header_preproc
25259 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25260 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25263 if test $ac_cv_header_tiffio_h = yes; then
25265 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25266 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25267 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 ac_check_lib_save_LIBS
=$LIBS
25271 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25272 cat >conftest.
$ac_ext <<_ACEOF
25275 cat confdefs.h
>>conftest.
$ac_ext
25276 cat >>conftest.
$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25279 /* Override any gcc2 internal prototype to avoid an error. */
25283 /* We use char because int might match the return type of a gcc2
25284 builtin and then its argument prototype would still apply. */
25294 rm -f conftest.
$ac_objext conftest
$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>conftest.er1
25298 grep -v '^ *+' conftest.er1
>conftest.err
25300 cat conftest.err
>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } &&
25303 { ac_try
='test -z "$ac_c_werror_flag"
25304 || test ! -s conftest.err'
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; } &&
25310 { ac_try
='test -s conftest$ac_exeext'
25311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25312 (eval $ac_try) 2>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); }; }; then
25316 ac_cv_lib_tiff_TIFFError
=yes
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.
$ac_ext >&5
25321 ac_cv_lib_tiff_TIFFError
=no
25323 rm -f conftest.err conftest.
$ac_objext \
25324 conftest
$ac_exeext conftest.
$ac_ext
25325 LIBS
=$ac_check_lib_save_LIBS
25327 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25328 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25329 if test $ac_cv_lib_tiff_TIFFError = yes; then
25330 TIFF_LINK
=" -ltiff"
25339 if test "x$TIFF_LINK" = "x" ; then
25340 if test "$wxUSE_LIBTIFF" = "sys" ; then
25341 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25342 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25343 { (exit 1); exit 1; }; }
25345 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25346 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25347 wxUSE_LIBTIFF
=builtin
25356 if test "$wxUSE_WCHAR_T" != "yes"; then
25357 if test "$wxUSE_EXPAT" != "no"; then
25358 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25359 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25362 if test "$wxUSE_XML" != "no"; then
25363 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25364 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25369 if test "$wxUSE_EXPAT" != "no"; then
25371 cat >>confdefs.h
<<\_ACEOF
25372 #define wxUSE_EXPAT 1
25375 cat >>confdefs.h
<<\_ACEOF
25376 #define wxUSE_XML 1
25380 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25381 if test "${ac_cv_header_expat_h+set}" = set; then
25382 echo "$as_me:$LINENO: checking for expat.h" >&5
25383 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25384 if test "${ac_cv_header_expat_h+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25388 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25390 # Is the header compilable?
25391 echo "$as_me:$LINENO: checking expat.h usability" >&5
25392 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25393 cat >conftest.
$ac_ext <<_ACEOF
25396 cat confdefs.h
>>conftest.
$ac_ext
25397 cat >>conftest.
$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399 $ac_includes_default
25402 rm -f conftest.
$ac_objext
25403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25404 (eval $ac_compile) 2>conftest.er1
25406 grep -v '^ *+' conftest.er1
>conftest.err
25408 cat conftest.err
>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); } &&
25411 { ac_try
='test -z "$ac_c_werror_flag"
25412 || test ! -s conftest.err'
25413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25414 (eval $ac_try) 2>&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); }; } &&
25418 { ac_try
='test -s conftest.$ac_objext'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; }; then
25424 ac_header_compiler
=yes
25426 echo "$as_me: failed program was:" >&5
25427 sed 's/^/| /' conftest.
$ac_ext >&5
25429 ac_header_compiler
=no
25431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25432 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25433 echo "${ECHO_T}$ac_header_compiler" >&6
25435 # Is the header present?
25436 echo "$as_me:$LINENO: checking expat.h presence" >&5
25437 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25438 cat >conftest.
$ac_ext <<_ACEOF
25441 cat confdefs.h
>>conftest.
$ac_ext
25442 cat >>conftest.
$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25449 grep -v '^ *+' conftest.er1
>conftest.err
25451 cat conftest.err
>&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } >/dev
/null
; then
25454 if test -s conftest.err
; then
25455 ac_cpp_err
=$ac_c_preproc_warn_flag
25456 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25463 if test -z "$ac_cpp_err"; then
25464 ac_header_preproc
=yes
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.
$ac_ext >&5
25469 ac_header_preproc
=no
25471 rm -f conftest.err conftest.
$ac_ext
25472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25473 echo "${ECHO_T}$ac_header_preproc" >&6
25475 # So? What about this header?
25476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25478 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25479 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25481 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25482 ac_header_preproc
=yes
25485 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25486 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25487 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25488 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25490 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25492 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25494 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25495 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25496 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25499 ## ----------------------------------------- ##
25500 ## Report this to wx-dev@lists.wxwidgets.org ##
25501 ## ----------------------------------------- ##
25504 sed "s/^/$as_me: WARNING: /" >&2
25507 echo "$as_me:$LINENO: checking for expat.h" >&5
25508 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25509 if test "${ac_cv_header_expat_h+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 ac_cv_header_expat_h
=$ac_header_preproc
25514 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25515 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25518 if test $ac_cv_header_expat_h = yes; then
25523 if test "x$found_expat_h" = "x1"; then
25524 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25525 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25526 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 ac_cpp
='$CXXCPP $CPPFLAGS'
25532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25536 cat >conftest.
$ac_ext <<_ACEOF
25539 cat confdefs.h
>>conftest.
$ac_ext
25540 cat >>conftest.
$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25551 rm -f conftest.
$ac_objext
25552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25553 (eval $ac_compile) 2>conftest.er1
25555 grep -v '^ *+' conftest.er1
>conftest.err
25557 cat conftest.err
>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } &&
25560 { ac_try
='test -z "$ac_cxx_werror_flag"
25561 || test ! -s conftest.err'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; } &&
25567 { ac_try
='test -s conftest.$ac_objext'
25568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569 (eval $ac_try) 2>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); }; }; then
25573 wx_cv_expat_is_not_broken
=yes
25575 echo "$as_me: failed program was:" >&5
25576 sed 's/^/| /' conftest.
$ac_ext >&5
25578 wx_cv_expat_is_not_broken
=no
25581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25583 ac_cpp
='$CPP $CPPFLAGS'
25584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25591 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25592 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25593 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25594 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25595 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25596 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25599 ac_check_lib_save_LIBS
=$LIBS
25600 LIBS
="-lexpat $LIBS"
25601 cat >conftest.
$ac_ext <<_ACEOF
25604 cat confdefs.h
>>conftest.
$ac_ext
25605 cat >>conftest.
$ac_ext <<_ACEOF
25606 /* end confdefs.h. */
25608 /* Override any gcc2 internal prototype to avoid an error. */
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25614 char XML_ParserCreate ();
25618 XML_ParserCreate ();
25623 rm -f conftest.
$ac_objext conftest
$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25627 grep -v '^ *+' conftest.er1
>conftest.err
25629 cat conftest.err
>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try
='test -z "$ac_c_werror_flag"
25633 || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try
='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645 ac_cv_lib_expat_XML_ParserCreate
=yes
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.
$ac_ext >&5
25650 ac_cv_lib_expat_XML_ParserCreate
=no
25652 rm -f conftest.err conftest.
$ac_objext \
25653 conftest
$ac_exeext conftest.
$ac_ext
25654 LIBS
=$ac_check_lib_save_LIBS
25656 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25657 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25658 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25659 EXPAT_LINK
=" -lexpat"
25664 if test "x$EXPAT_LINK" = "x" ; then
25665 if test "$wxUSE_EXPAT" = "sys" ; then
25666 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25667 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25668 { (exit 1); exit 1; }; }
25670 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25671 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25672 wxUSE_EXPAT
=builtin
25678 if test "$wxUSE_EXPAT" = "builtin" ; then
25681 subdirs
="$subdirs src/expat"
25688 if test "$wxUSE_LIBMSPACK" != "no"; then
25689 if test "${ac_cv_header_mspack_h+set}" = set; then
25690 echo "$as_me:$LINENO: checking for mspack.h" >&5
25691 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25692 if test "${ac_cv_header_mspack_h+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25696 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25698 # Is the header compilable?
25699 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25700 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25701 cat >conftest.
$ac_ext <<_ACEOF
25704 cat confdefs.h
>>conftest.
$ac_ext
25705 cat >>conftest.
$ac_ext <<_ACEOF
25706 /* end confdefs.h. */
25707 $ac_includes_default
25708 #include <mspack.h>
25710 rm -f conftest.
$ac_objext
25711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25712 (eval $ac_compile) 2>conftest.er1
25714 grep -v '^ *+' conftest.er1
>conftest.err
25716 cat conftest.err
>&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } &&
25719 { ac_try
='test -z "$ac_c_werror_flag"
25720 || test ! -s conftest.err'
25721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25722 (eval $ac_try) 2>&5
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); }; } &&
25726 { ac_try
='test -s conftest.$ac_objext'
25727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25728 (eval $ac_try) 2>&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); }; }; then
25732 ac_header_compiler
=yes
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.
$ac_ext >&5
25737 ac_header_compiler
=no
25739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25741 echo "${ECHO_T}$ac_header_compiler" >&6
25743 # Is the header present?
25744 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25745 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25746 cat >conftest.
$ac_ext <<_ACEOF
25749 cat confdefs.h
>>conftest.
$ac_ext
25750 cat >>conftest.
$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 #include <mspack.h>
25754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25757 grep -v '^ *+' conftest.er1
>conftest.err
25759 cat conftest.err
>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } >/dev
/null
; then
25762 if test -s conftest.err
; then
25763 ac_cpp_err
=$ac_c_preproc_warn_flag
25764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25771 if test -z "$ac_cpp_err"; then
25772 ac_header_preproc
=yes
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.
$ac_ext >&5
25777 ac_header_preproc
=no
25779 rm -f conftest.err conftest.
$ac_ext
25780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25781 echo "${ECHO_T}$ac_header_preproc" >&6
25783 # So? What about this header?
25784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25786 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25787 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25788 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25789 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25790 ac_header_preproc
=yes
25793 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25794 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25795 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25796 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25797 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25798 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25799 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25800 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25801 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25802 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25803 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25804 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25807 ## ----------------------------------------- ##
25808 ## Report this to wx-dev@lists.wxwidgets.org ##
25809 ## ----------------------------------------- ##
25812 sed "s/^/$as_me: WARNING: /" >&2
25815 echo "$as_me:$LINENO: checking for mspack.h" >&5
25816 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25817 if test "${ac_cv_header_mspack_h+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25820 ac_cv_header_mspack_h
=$ac_header_preproc
25822 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25823 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25826 if test $ac_cv_header_mspack_h = yes; then
25831 if test "x$found_mspack_h" = "x1"; then
25832 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25833 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25834 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25837 ac_check_lib_save_LIBS
=$LIBS
25838 LIBS
="-lmspack $LIBS"
25839 cat >conftest.
$ac_ext <<_ACEOF
25842 cat confdefs.h
>>conftest.
$ac_ext
25843 cat >>conftest.
$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25846 /* Override any gcc2 internal prototype to avoid an error. */
25850 /* We use char because int might match the return type of a gcc2
25851 builtin and then its argument prototype would still apply. */
25852 char mspack_create_chm_decompressor ();
25856 mspack_create_chm_decompressor ();
25861 rm -f conftest.
$ac_objext conftest
$ac_exeext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25863 (eval $ac_link) 2>conftest.er1
25865 grep -v '^ *+' conftest.er1
>conftest.err
25867 cat conftest.err
>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } &&
25870 { ac_try
='test -z "$ac_c_werror_flag"
25871 || test ! -s conftest.err'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; } &&
25877 { ac_try
='test -s conftest$ac_exeext'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; }; then
25883 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.
$ac_ext >&5
25888 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25890 rm -f conftest.err conftest.
$ac_objext \
25891 conftest
$ac_exeext conftest.
$ac_ext
25892 LIBS
=$ac_check_lib_save_LIBS
25894 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25895 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25896 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25897 MSPACK_LINK
=" -lmspack"
25901 if test "x$MSPACK_LINK" = "x" ; then
25906 if test "$wxUSE_LIBMSPACK" != "no"; then
25907 cat >>confdefs.h
<<\_ACEOF
25908 #define wxUSE_LIBMSPACK 1
25922 if test "$USE_WIN32" = 1 ; then
25924 for ac_header
in w32api.h
25926 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25928 echo "$as_me:$LINENO: checking for $ac_header" >&5
25929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25936 # Is the header compilable?
25937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25939 cat >conftest.
$ac_ext <<_ACEOF
25942 cat confdefs.h
>>conftest.
$ac_ext
25943 cat >>conftest.
$ac_ext <<_ACEOF
25944 /* end confdefs.h. */
25945 $ac_includes_default
25946 #include <$ac_header>
25948 rm -f conftest.
$ac_objext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25950 (eval $ac_compile) 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_c_werror_flag"
25958 || test ! -s conftest.err'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; } &&
25964 { ac_try
='test -s conftest.$ac_objext'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 ac_header_compiler
=yes
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.
$ac_ext >&5
25975 ac_header_compiler
=no
25977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25979 echo "${ECHO_T}$ac_header_compiler" >&6
25981 # Is the header present?
25982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990 #include <$ac_header>
25992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25995 grep -v '^ *+' conftest.er1
>conftest.err
25997 cat conftest.err
>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } >/dev
/null
; then
26000 if test -s conftest.err
; then
26001 ac_cpp_err
=$ac_c_preproc_warn_flag
26002 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26009 if test -z "$ac_cpp_err"; then
26010 ac_header_preproc
=yes
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.
$ac_ext >&5
26015 ac_header_preproc
=no
26017 rm -f conftest.err conftest.
$ac_ext
26018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26019 echo "${ECHO_T}$ac_header_preproc" >&6
26021 # So? What about this header?
26022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26028 ac_header_preproc
=yes
26031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26045 ## ----------------------------------------- ##
26046 ## Report this to wx-dev@lists.wxwidgets.org ##
26047 ## ----------------------------------------- ##
26050 sed "s/^/$as_me: WARNING: /" >&2
26053 echo "$as_me:$LINENO: checking for $ac_header" >&5
26054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26056 echo $ECHO_N "(cached) $ECHO_C" >&6
26058 eval "$as_ac_Header=\$ac_header_preproc"
26060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26065 cat >>confdefs.h
<<_ACEOF
26066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26073 if test "${ac_cv_header_windows_h+set}" = set; then
26074 echo "$as_me:$LINENO: checking for windows.h" >&5
26075 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26076 if test "${ac_cv_header_windows_h+set}" = set; then
26077 echo $ECHO_N "(cached) $ECHO_C" >&6
26079 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26080 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26082 # Is the header compilable?
26083 echo "$as_me:$LINENO: checking windows.h usability" >&5
26084 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26085 cat >conftest.
$ac_ext <<_ACEOF
26088 cat confdefs.h
>>conftest.
$ac_ext
26089 cat >>conftest.
$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26091 $ac_includes_default
26092 #include <windows.h>
26094 rm -f conftest.
$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>conftest.er1
26098 grep -v '^ *+' conftest.er1
>conftest.err
26100 cat conftest.err
>&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } &&
26103 { ac_try
='test -z "$ac_c_werror_flag"
26104 || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try
='test -s conftest.$ac_objext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26116 ac_header_compiler
=yes
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.
$ac_ext >&5
26121 ac_header_compiler
=no
26123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26125 echo "${ECHO_T}$ac_header_compiler" >&6
26127 # Is the header present?
26128 echo "$as_me:$LINENO: checking windows.h presence" >&5
26129 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26130 cat >conftest.
$ac_ext <<_ACEOF
26133 cat confdefs.h
>>conftest.
$ac_ext
26134 cat >>conftest.
$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26136 #include <windows.h>
26138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26141 grep -v '^ *+' conftest.er1
>conftest.err
26143 cat conftest.err
>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } >/dev
/null
; then
26146 if test -s conftest.err
; then
26147 ac_cpp_err
=$ac_c_preproc_warn_flag
26148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26155 if test -z "$ac_cpp_err"; then
26156 ac_header_preproc
=yes
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.
$ac_ext >&5
26161 ac_header_preproc
=no
26163 rm -f conftest.err conftest.
$ac_ext
26164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26165 echo "${ECHO_T}$ac_header_preproc" >&6
26167 # So? What about this header?
26168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26170 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26171 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26172 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26173 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26174 ac_header_preproc
=yes
26177 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26178 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26179 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26180 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26181 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26182 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26183 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26184 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26185 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26186 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26187 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26188 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26191 ## ----------------------------------------- ##
26192 ## Report this to wx-dev@lists.wxwidgets.org ##
26193 ## ----------------------------------------- ##
26196 sed "s/^/$as_me: WARNING: /" >&2
26199 echo "$as_me:$LINENO: checking for windows.h" >&5
26200 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26201 if test "${ac_cv_header_windows_h+set}" = set; then
26202 echo $ECHO_N "(cached) $ECHO_C" >&6
26204 ac_cv_header_windows_h
=$ac_header_preproc
26206 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26207 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26210 if test $ac_cv_header_windows_h = yes; then
26214 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26215 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26216 { (exit 1); exit 1; }; }
26222 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26224 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26225 LIBS
="$LIBS -loleacc"
26230 LIBS
="$LIBS -lkernel32 -luser32"
26233 if test "$wxUSE_ODBC" = "sys" ; then
26236 if test "$wxUSE_ODBC" = "yes" ; then
26237 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26238 cat >>confdefs.h
<<\_ACEOF
26239 #define wxUSE_ODBC 1
26244 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26245 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26247 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26249 WIN32INSTALL
=win32install
26252 if test "$wxUSE_GUI" = "yes"; then
26262 if test "$wxUSE_COCOA" = 1 ; then
26263 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26264 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26265 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26266 wxUSE_PRINTING_ARCHITECTURE
=no
26268 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26269 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26270 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26271 wxUSE_DRAG_AND_DROP
=no
26273 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26274 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26275 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26280 if test "$wxUSE_MSW" = 1 ; then
26286 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26290 if test "$wxUSE_GTK" = 1; then
26291 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26292 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26294 gtk_version_cached
=1
26295 if test "${wx_cv_lib_gtk+set}" = set; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26299 gtk_version_cached
=0
26300 echo "$as_me:$LINENO: result: " >&5
26301 echo "${ECHO_T}" >&6
26304 if test "$wxUSE_THREADS" = "yes"; then
26305 GTK_MODULES
=gthread
26309 if test "x$wxGTK_VERSION" != "x1"
26313 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26318 # Check whether --enable-gtktest or --disable-gtktest was given.
26319 if test "${enable_gtktest+set}" = set; then
26320 enableval
="$enable_gtktest"
26326 pkg_config_args
=gtk
+-2.0
26327 for module
in .
$GTK_MODULES
26331 pkg_config_args
="$pkg_config_args gthread-2.0"
26338 # Extract the first word of "pkg-config", so it can be a program name with args.
26339 set dummy pkg
-config; ac_word
=$2
26340 echo "$as_me:$LINENO: checking for $ac_word" >&5
26341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26342 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 case $PKG_CONFIG in
26347 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26351 for as_dir
in $PATH
26354 test -z "$as_dir" && as_dir
=.
26355 for ac_exec_ext
in '' $ac_executable_extensions; do
26356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26357 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26364 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26368 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26370 if test -n "$PKG_CONFIG"; then
26371 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26372 echo "${ECHO_T}$PKG_CONFIG" >&6
26374 echo "$as_me:$LINENO: result: no" >&5
26375 echo "${ECHO_T}no" >&6
26379 if test x
$PKG_CONFIG != xno
; then
26380 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26383 echo "*** pkg-config too old; version 0.7 or better required."
26391 min_gtk_version
=2.0.0
26392 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26393 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26395 if test x
$PKG_CONFIG != xno
; then
26396 ## don't try to run the test against uninstalled libtool libs
26397 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26398 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26402 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26409 if test x
"$no_gtk" = x
; then
26410 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26411 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26412 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26413 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26414 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26416 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26417 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26418 if test "x$enable_gtktest" = "xyes" ; then
26419 ac_save_CFLAGS
="$CFLAGS"
26420 ac_save_LIBS
="$LIBS"
26421 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26422 LIBS
="$GTK_LIBS $LIBS"
26424 if test "$cross_compiling" = yes; then
26425 echo $ac_n "cross compiling; assumed OK... $ac_c"
26427 cat >conftest.
$ac_ext <<_ACEOF
26430 cat confdefs.h
>>conftest.
$ac_ext
26431 cat >>conftest.
$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26434 #include <gtk/gtk.h>
26436 #include <stdlib.h>
26441 int major, minor, micro;
26444 system ("touch conf.gtktest");
26446 /* HP/UX 9 (%@#!) writes to sscanf strings */
26447 tmp_version = g_strdup("$min_gtk_version");
26448 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26449 printf("%s, bad version string\n", "$min_gtk_version");
26453 if ((gtk_major_version != $gtk_config_major_version) ||
26454 (gtk_minor_version != $gtk_config_minor_version) ||
26455 (gtk_micro_version != $gtk_config_micro_version))
26457 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26458 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26459 gtk_major_version, gtk_minor_version, gtk_micro_version);
26460 printf ("*** was found! If pkg-config was correct, then it is best\n");
26461 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26462 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26463 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26464 printf("*** required on your system.\n");
26465 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26466 printf("*** to point to the correct configuration files\n");
26468 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26469 (gtk_minor_version != GTK_MINOR_VERSION) ||
26470 (gtk_micro_version != GTK_MICRO_VERSION))
26472 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26473 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26474 printf("*** library (version %d.%d.%d)\n",
26475 gtk_major_version, gtk_minor_version, gtk_micro_version);
26479 if ((gtk_major_version > major) ||
26480 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26481 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26487 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26488 gtk_major_version, gtk_minor_version, gtk_micro_version);
26489 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26490 major, minor, micro);
26491 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26493 printf("*** If you have already installed a sufficiently new version, this error\n");
26494 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26495 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26496 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26497 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26498 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26499 printf("*** so that the correct libraries are found at run-time))\n");
26506 rm -f conftest
$ac_exeext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26508 (eval $ac_link) 2>&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; }; then
26519 echo "$as_me: program exited with status $ac_status" >&5
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.
$ac_ext >&5
26523 ( exit $ac_status )
26526 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26528 CFLAGS
="$ac_save_CFLAGS"
26529 LIBS
="$ac_save_LIBS"
26532 if test "x$no_gtk" = x
; then
26533 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26534 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26537 echo "$as_me:$LINENO: result: no" >&5
26538 echo "${ECHO_T}no" >&6
26539 if test "$PKG_CONFIG" = "no" ; then
26540 echo "*** A new enough version of pkg-config was not found."
26541 echo "*** See http://pkgconfig.sourceforge.net"
26543 if test -f conf.gtktest
; then
26546 echo "*** Could not run GTK+ test program, checking why..."
26547 ac_save_CFLAGS
="$CFLAGS"
26548 ac_save_LIBS
="$LIBS"
26549 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26550 LIBS
="$LIBS $GTK_LIBS"
26551 cat >conftest.
$ac_ext <<_ACEOF
26554 cat confdefs.h
>>conftest.
$ac_ext
26555 cat >>conftest.
$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26558 #include <gtk/gtk.h>
26564 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26569 rm -f conftest.
$ac_objext conftest
$ac_exeext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26571 (eval $ac_link) 2>conftest.er1
26573 grep -v '^ *+' conftest.er1
>conftest.err
26575 cat conftest.err
>&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } &&
26578 { ac_try
='test -z "$ac_c_werror_flag"
26579 || test ! -s conftest.err'
26580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581 (eval $ac_try) 2>&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); }; } &&
26585 { ac_try
='test -s conftest$ac_exeext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 echo "*** The test program compiled, but did not run. This usually means"
26592 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26593 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26594 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26595 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26596 echo "*** is required on your system"
26598 echo "*** If you have an old version installed, it is best to remove it, although"
26599 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26601 echo "$as_me: failed program was:" >&5
26602 sed 's/^/| /' conftest.
$ac_ext >&5
26604 echo "*** The test program failed to compile or link. See the file config.log for the"
26605 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26607 rm -f conftest.err conftest.
$ac_objext \
26608 conftest
$ac_exeext conftest.
$ac_ext
26609 CFLAGS
="$ac_save_CFLAGS"
26610 LIBS
="$ac_save_LIBS"
26624 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26625 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26626 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26628 if test "$wxUSE_SHARED" != "yes"; then
26629 GTK_LIBS
="$GTK_LIBS -lX11"
26634 if test -z "$wx_cv_lib_gtk"; then
26635 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26637 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26638 if test "${with_gtk_prefix+set}" = set; then
26639 withval
="$with_gtk_prefix"
26640 gtk_config_prefix
="$withval"
26642 gtk_config_prefix
=""
26645 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26646 if test "${with_gtk_exec_prefix+set}" = set; then
26647 withval
="$with_gtk_exec_prefix"
26648 gtk_config_exec_prefix
="$withval"
26650 gtk_config_exec_prefix
=""
26652 # Check whether --enable-gtktest or --disable-gtktest was given.
26653 if test "${enable_gtktest+set}" = set; then
26654 enableval
="$enable_gtktest"
26660 for module
in .
$GTK_MODULES
26664 gtk_config_args
="$gtk_config_args gthread"
26669 if test x
$gtk_config_exec_prefix != x
; then
26670 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26671 if test x
${GTK_CONFIG+set} != xset
; then
26672 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26675 if test x
$gtk_config_prefix != x
; then
26676 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26677 if test x
${GTK_CONFIG+set} != xset
; then
26678 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26682 # Extract the first word of "gtk-config", so it can be a program name with args.
26683 set dummy gtk
-config; ac_word
=$2
26684 echo "$as_me:$LINENO: checking for $ac_word" >&5
26685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26686 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 case $GTK_CONFIG in
26691 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26695 for as_dir
in $PATH
26698 test -z "$as_dir" && as_dir
=.
26699 for ac_exec_ext
in '' $ac_executable_extensions; do
26700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26701 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26708 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26712 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26714 if test -n "$GTK_CONFIG"; then
26715 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26716 echo "${ECHO_T}$GTK_CONFIG" >&6
26718 echo "$as_me:$LINENO: result: no" >&5
26719 echo "${ECHO_T}no" >&6
26722 min_gtk_version
=1.2.7
26723 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26724 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26726 if test "$GTK_CONFIG" = "no" ; then
26729 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26730 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26731 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26733 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26735 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26737 if test "x$enable_gtktest" = "xyes" ; then
26738 ac_save_CFLAGS
="$CFLAGS"
26739 ac_save_LIBS
="$LIBS"
26740 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26741 LIBS
="$GTK_LIBS $LIBS"
26743 if test "$cross_compiling" = yes; then
26744 echo $ac_n "cross compiling; assumed OK... $ac_c"
26746 cat >conftest.
$ac_ext <<_ACEOF
26749 cat confdefs.h
>>conftest.
$ac_ext
26750 cat >>conftest.
$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26753 #include <gtk/gtk.h>
26755 #include <stdlib.h>
26760 int major, minor, micro;
26763 system ("touch conf.gtktest");
26765 /* HP/UX 9 (%@#!) writes to sscanf strings */
26766 tmp_version = g_strdup("$min_gtk_version");
26767 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26768 printf("%s, bad version string\n", "$min_gtk_version");
26772 if ((gtk_major_version != $gtk_config_major_version) ||
26773 (gtk_minor_version != $gtk_config_minor_version) ||
26774 (gtk_micro_version != $gtk_config_micro_version))
26776 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26777 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26778 gtk_major_version, gtk_minor_version, gtk_micro_version);
26779 printf ("*** was found! If gtk-config was correct, then it is best\n");
26780 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26781 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26782 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26783 printf("*** required on your system.\n");
26784 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26785 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26786 printf("*** before re-running configure\n");
26788 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26789 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26790 (gtk_minor_version != GTK_MINOR_VERSION) ||
26791 (gtk_micro_version != GTK_MICRO_VERSION))
26793 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26794 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26795 printf("*** library (version %d.%d.%d)\n",
26796 gtk_major_version, gtk_minor_version, gtk_micro_version);
26798 #endif /* defined (GTK_MAJOR_VERSION) ... */
26801 if ((gtk_major_version > major) ||
26802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26810 gtk_major_version, gtk_minor_version, gtk_micro_version);
26811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26812 major, minor, micro);
26813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26815 printf("*** If you have already installed a sufficiently new version, this error\n");
26816 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26818 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26819 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26821 printf("*** so that the correct libraries are found at run-time))\n");
26828 rm -f conftest
$ac_exeext
26829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26830 (eval $ac_link) 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; }; then
26841 echo "$as_me: program exited with status $ac_status" >&5
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.
$ac_ext >&5
26845 ( exit $ac_status )
26848 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26850 CFLAGS
="$ac_save_CFLAGS"
26851 LIBS
="$ac_save_LIBS"
26854 if test "x$no_gtk" = x
; then
26855 echo "$as_me:$LINENO: result: yes" >&5
26856 echo "${ECHO_T}yes" >&6
26857 wx_cv_lib_gtk
=1.2.7
26859 echo "$as_me:$LINENO: result: no" >&5
26860 echo "${ECHO_T}no" >&6
26861 if test "$GTK_CONFIG" = "no" ; then
26862 echo "*** The gtk-config script installed by GTK could not be found"
26863 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26864 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26865 echo "*** full path to gtk-config."
26867 if test -f conf.gtktest
; then
26870 echo "*** Could not run GTK test program, checking why..."
26871 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26872 LIBS
="$LIBS $GTK_LIBS"
26873 cat >conftest.
$ac_ext <<_ACEOF
26876 cat confdefs.h
>>conftest.
$ac_ext
26877 cat >>conftest.
$ac_ext <<_ACEOF
26878 /* end confdefs.h. */
26880 #include <gtk/gtk.h>
26886 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26891 rm -f conftest.
$ac_objext conftest
$ac_exeext
26892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26893 (eval $ac_link) 2>conftest.er1
26895 grep -v '^ *+' conftest.er1
>conftest.err
26897 cat conftest.err
>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try
='test -z "$ac_c_werror_flag"
26901 || test ! -s conftest.err'
26902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903 (eval $ac_try) 2>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); }; } &&
26907 { ac_try
='test -s conftest$ac_exeext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26913 echo "*** The test program compiled, but did not run. This usually means"
26914 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26915 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26918 echo "*** is required on your system"
26920 echo "*** If you have an old version installed, it is best to remove it, although"
26921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26923 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26924 echo "*** came with the system with the command"
26926 echo "*** rpm --erase --nodeps gtk gtk-devel"
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.
$ac_ext >&5
26931 echo "*** The test program failed to compile or link. See the file config.log for the"
26932 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26933 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26934 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26936 rm -f conftest.err conftest.
$ac_objext \
26937 conftest
$ac_exeext conftest.
$ac_ext
26938 CFLAGS
="$ac_save_CFLAGS"
26939 LIBS
="$ac_save_LIBS"
26951 if test -z "$wx_cv_lib_gtk"; then
26953 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26954 if test "${with_gtk_prefix+set}" = set; then
26955 withval
="$with_gtk_prefix"
26956 gtk_config_prefix
="$withval"
26958 gtk_config_prefix
=""
26961 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26962 if test "${with_gtk_exec_prefix+set}" = set; then
26963 withval
="$with_gtk_exec_prefix"
26964 gtk_config_exec_prefix
="$withval"
26966 gtk_config_exec_prefix
=""
26968 # Check whether --enable-gtktest or --disable-gtktest was given.
26969 if test "${enable_gtktest+set}" = set; then
26970 enableval
="$enable_gtktest"
26976 for module
in .
$GTK_MODULES
26980 gtk_config_args
="$gtk_config_args gthread"
26985 if test x
$gtk_config_exec_prefix != x
; then
26986 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26987 if test x
${GTK_CONFIG+set} != xset
; then
26988 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26991 if test x
$gtk_config_prefix != x
; then
26992 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26993 if test x
${GTK_CONFIG+set} != xset
; then
26994 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26998 # Extract the first word of "gtk-config", so it can be a program name with args.
26999 set dummy gtk
-config; ac_word
=$2
27000 echo "$as_me:$LINENO: checking for $ac_word" >&5
27001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27002 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27005 case $GTK_CONFIG in
27007 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27011 for as_dir
in $PATH
27014 test -z "$as_dir" && as_dir
=.
27015 for ac_exec_ext
in '' $ac_executable_extensions; do
27016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27017 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27024 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27028 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27030 if test -n "$GTK_CONFIG"; then
27031 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27032 echo "${ECHO_T}$GTK_CONFIG" >&6
27034 echo "$as_me:$LINENO: result: no" >&5
27035 echo "${ECHO_T}no" >&6
27038 min_gtk_version
=1.2.3
27039 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27040 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27042 if test "$GTK_CONFIG" = "no" ; then
27045 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27046 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27047 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27049 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27051 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27053 if test "x$enable_gtktest" = "xyes" ; then
27054 ac_save_CFLAGS
="$CFLAGS"
27055 ac_save_LIBS
="$LIBS"
27056 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27057 LIBS
="$GTK_LIBS $LIBS"
27059 if test "$cross_compiling" = yes; then
27060 echo $ac_n "cross compiling; assumed OK... $ac_c"
27062 cat >conftest.
$ac_ext <<_ACEOF
27065 cat confdefs.h
>>conftest.
$ac_ext
27066 cat >>conftest.
$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27069 #include <gtk/gtk.h>
27071 #include <stdlib.h>
27076 int major, minor, micro;
27079 system ("touch conf.gtktest");
27081 /* HP/UX 9 (%@#!) writes to sscanf strings */
27082 tmp_version = g_strdup("$min_gtk_version");
27083 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27084 printf("%s, bad version string\n", "$min_gtk_version");
27088 if ((gtk_major_version != $gtk_config_major_version) ||
27089 (gtk_minor_version != $gtk_config_minor_version) ||
27090 (gtk_micro_version != $gtk_config_micro_version))
27092 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27093 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27094 gtk_major_version, gtk_minor_version, gtk_micro_version);
27095 printf ("*** was found! If gtk-config was correct, then it is best\n");
27096 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27097 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27098 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27099 printf("*** required on your system.\n");
27100 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27101 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27102 printf("*** before re-running configure\n");
27104 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27105 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27106 (gtk_minor_version != GTK_MINOR_VERSION) ||
27107 (gtk_micro_version != GTK_MICRO_VERSION))
27109 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27110 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27111 printf("*** library (version %d.%d.%d)\n",
27112 gtk_major_version, gtk_minor_version, gtk_micro_version);
27114 #endif /* defined (GTK_MAJOR_VERSION) ... */
27117 if ((gtk_major_version > major) ||
27118 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27119 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27125 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27126 gtk_major_version, gtk_minor_version, gtk_micro_version);
27127 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27128 major, minor, micro);
27129 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27131 printf("*** If you have already installed a sufficiently new version, this error\n");
27132 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27133 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27134 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27135 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27136 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27137 printf("*** so that the correct libraries are found at run-time))\n");
27144 rm -f conftest
$ac_exeext
27145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27146 (eval $ac_link) 2>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; }; then
27157 echo "$as_me: program exited with status $ac_status" >&5
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.
$ac_ext >&5
27161 ( exit $ac_status )
27164 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27166 CFLAGS
="$ac_save_CFLAGS"
27167 LIBS
="$ac_save_LIBS"
27170 if test "x$no_gtk" = x
; then
27171 echo "$as_me:$LINENO: result: yes" >&5
27172 echo "${ECHO_T}yes" >&6
27173 wx_cv_lib_gtk
=1.2.3
27175 echo "$as_me:$LINENO: result: no" >&5
27176 echo "${ECHO_T}no" >&6
27177 if test "$GTK_CONFIG" = "no" ; then
27178 echo "*** The gtk-config script installed by GTK could not be found"
27179 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27180 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27181 echo "*** full path to gtk-config."
27183 if test -f conf.gtktest
; then
27186 echo "*** Could not run GTK test program, checking why..."
27187 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27188 LIBS
="$LIBS $GTK_LIBS"
27189 cat >conftest.
$ac_ext <<_ACEOF
27192 cat confdefs.h
>>conftest.
$ac_ext
27193 cat >>conftest.
$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27196 #include <gtk/gtk.h>
27202 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27207 rm -f conftest.
$ac_objext conftest
$ac_exeext
27208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27209 (eval $ac_link) 2>conftest.er1
27211 grep -v '^ *+' conftest.er1
>conftest.err
27213 cat conftest.err
>&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); } &&
27216 { ac_try
='test -z "$ac_c_werror_flag"
27217 || test ! -s conftest.err'
27218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219 (eval $ac_try) 2>&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); }; } &&
27223 { ac_try
='test -s conftest$ac_exeext'
27224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27225 (eval $ac_try) 2>&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); }; }; then
27229 echo "*** The test program compiled, but did not run. This usually means"
27230 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27231 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27232 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27233 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27234 echo "*** is required on your system"
27236 echo "*** If you have an old version installed, it is best to remove it, although"
27237 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27239 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27240 echo "*** came with the system with the command"
27242 echo "*** rpm --erase --nodeps gtk gtk-devel"
27244 echo "$as_me: failed program was:" >&5
27245 sed 's/^/| /' conftest.
$ac_ext >&5
27247 echo "*** The test program failed to compile or link. See the file config.log for the"
27248 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27249 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27250 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27252 rm -f conftest.err conftest.
$ac_objext \
27253 conftest
$ac_exeext conftest.
$ac_ext
27254 CFLAGS
="$ac_save_CFLAGS"
27255 LIBS
="$ac_save_LIBS"
27270 if test -z "$wx_cv_lib_gtk"; then
27273 wx_cv_cflags_gtk
=$GTK_CFLAGS
27274 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27281 if test "$gtk_version_cached" = 1; then
27282 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27283 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27286 case "$wx_cv_lib_gtk" in
27295 *) { { echo "$as_me:$LINENO: error:
27296 The development files for GTK+ were not found. For GTK+ 2, please
27297 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27298 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27299 and that the version is 1.2.3 or above. Also check that the
27300 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27301 --libs' are in the LD_LIBRARY_PATH or equivalent.
27303 echo "$as_me: error:
27304 The development files for GTK+ were not found. For GTK+ 2, please
27305 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27306 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27307 and that the version is 1.2.3 or above. Also check that the
27308 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27309 --libs' are in the LD_LIBRARY_PATH or equivalent.
27311 { (exit 1); exit 1; }; }
27315 if test "$WXGTK20" = 1; then
27316 save_CFLAGS
="$CFLAGS"
27318 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27319 LIBS
="$LIBS $wx_cv_libs_gtk"
27321 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27322 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27323 cat >conftest.
$ac_ext <<_ACEOF
27326 cat confdefs.h
>>conftest.
$ac_ext
27327 cat >>conftest.
$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27330 #include <gtk/gtk.h>
27336 void *f = gtk_icon_size_lookup;
27342 rm -f conftest.
$ac_objext
27343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27344 (eval $ac_compile) 2>conftest.er1
27346 grep -v '^ *+' conftest.er1
>conftest.err
27348 cat conftest.err
>&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); } &&
27351 { ac_try
='test -z "$ac_c_werror_flag"
27352 || test ! -s conftest.err'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; } &&
27358 { ac_try
='test -s conftest.$ac_objext'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; }; then
27365 echo "$as_me:$LINENO: result: no" >&5
27366 echo "${ECHO_T}no" >&6
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.
$ac_ext >&5
27373 cat >>confdefs.h
<<\_ACEOF
27374 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27377 echo "$as_me:$LINENO: result: yes" >&5
27378 echo "${ECHO_T}yes" >&6
27381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27383 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27384 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27385 cat >conftest.
$ac_ext <<_ACEOF
27388 cat confdefs.h
>>conftest.
$ac_ext
27389 cat >>conftest.
$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27392 #include <gtk/gtk.h>
27398 #if !GTK_CHECK_VERSION(2,4,0)
27406 rm -f conftest.
$ac_objext
27407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27408 (eval $ac_compile) 2>conftest.er1
27410 grep -v '^ *+' conftest.er1
>conftest.err
27412 cat conftest.err
>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); } &&
27415 { ac_try
='test -z "$ac_c_werror_flag"
27416 || test ! -s conftest.err'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; } &&
27422 { ac_try
='test -s conftest.$ac_objext'
27423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27424 (eval $ac_try) 2>&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; }; then
27429 cat >>confdefs.h
<<\_ACEOF
27430 #define __WXGTK24__ 1
27433 echo "$as_me:$LINENO: result: yes" >&5
27434 echo "${ECHO_T}yes" >&6
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.
$ac_ext >&5
27441 echo "$as_me:$LINENO: result: no" >&5
27442 echo "${ECHO_T}no" >&6
27445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27447 CFLAGS
="$save_CFLAGS"
27450 if test "$wxUSE_UNICODE" = "yes"; then
27451 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27452 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27457 if test "$USE_DARWIN" != 1; then
27459 for ac_func
in poll
27461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27462 echo "$as_me:$LINENO: checking for $ac_func" >&5
27463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27464 if eval "test \"\${$as_ac_var+set}\" = set"; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 cat >conftest.
$ac_ext <<_ACEOF
27470 cat confdefs.h
>>conftest.
$ac_ext
27471 cat >>conftest.
$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27475 #define $ac_func innocuous_$ac_func
27477 /* System header to define __stub macros and hopefully few prototypes,
27478 which can conflict with char $ac_func (); below.
27479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27480 <limits.h> exists even on freestanding compilers. */
27483 # include <limits.h>
27485 # include <assert.h>
27490 /* Override any gcc2 internal prototype to avoid an error. */
27495 /* We use char because int might match the return type of a gcc2
27496 builtin and then its argument prototype would still apply. */
27498 /* The GNU C library defines this for functions which it implements
27499 to always fail with ENOSYS. Some functions are actually named
27500 something starting with __ and the normal name is an alias. */
27501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27504 char (*f) () = $ac_func;
27513 return f != $ac_func;
27518 rm -f conftest.
$ac_objext conftest
$ac_exeext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27520 (eval $ac_link) 2>conftest.er1
27522 grep -v '^ *+' conftest.er1
>conftest.err
27524 cat conftest.err
>&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try
='test -z "$ac_c_werror_flag"
27528 || test ! -s conftest.err'
27529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530 (eval $ac_try) 2>&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); }; } &&
27534 { ac_try
='test -s conftest$ac_exeext'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; }; then
27540 eval "$as_ac_var=yes"
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.
$ac_ext >&5
27545 eval "$as_ac_var=no"
27547 rm -f conftest.err conftest.
$ac_objext \
27548 conftest
$ac_exeext conftest.
$ac_ext
27550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27552 if test `eval echo '${'$as_ac_var'}'` = yes; then
27553 cat >>confdefs.h
<<_ACEOF
27554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27562 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27563 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27565 AFMINSTALL
=afminstall
27569 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27570 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27571 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 ac_check_lib_save_LIBS
=$LIBS
27576 cat >conftest.
$ac_ext <<_ACEOF
27579 cat confdefs.h
>>conftest.
$ac_ext
27580 cat >>conftest.
$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27583 /* Override any gcc2 internal prototype to avoid an error. */
27587 /* We use char because int might match the return type of a gcc2
27588 builtin and then its argument prototype would still apply. */
27589 char gdk_im_open ();
27598 rm -f conftest.
$ac_objext conftest
$ac_exeext
27599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27600 (eval $ac_link) 2>conftest.er1
27602 grep -v '^ *+' conftest.er1
>conftest.err
27604 cat conftest.err
>&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); } &&
27607 { ac_try
='test -z "$ac_c_werror_flag"
27608 || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try
='test -s conftest$ac_exeext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27620 ac_cv_lib_gdk_gdk_im_open
=yes
27622 echo "$as_me: failed program was:" >&5
27623 sed 's/^/| /' conftest.
$ac_ext >&5
27625 ac_cv_lib_gdk_gdk_im_open
=no
27627 rm -f conftest.err conftest.
$ac_objext \
27628 conftest
$ac_exeext conftest.
$ac_ext
27629 LIBS
=$ac_check_lib_save_LIBS
27631 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27632 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27633 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27634 cat >>confdefs.h
<<\_ACEOF
27642 if test "$wxUSE_GPE" = "yes"; then
27643 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27644 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27647 for ac_dir
in $SEARCH_LIB;
27649 for ac_extension
in a so sl dylib dll.a
; do
27650 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27651 ac_find_libraries
=$ac_dir
27657 if test "$ac_find_libraries" != "" ; then
27659 if test "$ac_find_libraries" = "default location"; then
27662 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27664 if test $result = 0; then
27667 ac_path_to_link
=" -L$ac_find_libraries"
27671 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27673 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27674 echo "${ECHO_T}found in $ac_find_libraries" >&6
27676 echo "$as_me:$LINENO: result: not found" >&5
27677 echo "${ECHO_T}not found" >&6
27683 if test "$wxUSE_MGL" = 1; then
27684 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27685 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27686 if test "x$MGL_ROOT" = x
; then
27687 echo "$as_me:$LINENO: result: not found" >&5
27688 echo "${ECHO_T}not found" >&6
27689 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27690 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27691 { (exit 1); exit 1; }; }
27693 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27694 echo "${ECHO_T}$MGL_ROOT" >&6
27697 echo "$as_me:$LINENO: checking for libmgl location" >&5
27698 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27701 if test "x$wxUSE_SHARED" = xyes
; then
27702 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27704 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27708 mgl_os_candidates
="dos32/dj2"
27711 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27712 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27713 { (exit 1); exit 1; }; }
27719 for mgl_os_i
in $mgl_os_candidates ; do
27720 if test "x$mgl_os" = x
; then
27721 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27722 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27723 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27728 if test "x$mgl_lib_type" = x
; then
27729 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27730 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27731 mgl_lib_type
=release
27738 if test "x$mgl_os" = x
; then
27739 echo "$as_me:$LINENO: result: not found" >&5
27740 echo "${ECHO_T}not found" >&6
27741 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27742 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27743 { (exit 1); exit 1; }; }
27745 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27746 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27748 wxUSE_UNIVERSAL
="yes"
27750 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27751 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27753 AFMINSTALL
=afminstall
27758 if test "$wxUSE_MICROWIN" = 1; then
27759 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27760 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27761 if test "x$MICROWINDOWS" = x
; then
27762 echo "$as_me:$LINENO: result: not found" >&5
27763 echo "${ECHO_T}not found" >&6
27764 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27765 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27766 { (exit 1); exit 1; }; }
27768 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27769 echo "${ECHO_T}$MICROWINDOWS" >&6
27772 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27773 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27774 echo "${ECHO_T}MicroWindows' libraries found." >&6
27776 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27777 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27778 { (exit 1); exit 1; }; }
27781 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27782 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27784 wxUSE_UNIVERSAL
="yes"
27786 AFMINSTALL
=afminstall
27788 GUIDIST
=MICROWIN_DIST
27790 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27793 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27794 echo "$as_me:$LINENO: checking for X" >&5
27795 echo $ECHO_N "checking for X... $ECHO_C" >&6
27798 # Check whether --with-x or --without-x was given.
27799 if test "${with_x+set}" = set; then
27803 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27804 if test "x$with_x" = xno
; then
27805 # The user explicitly disabled X.
27808 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27809 # Both variables are already set.
27812 if test "${ac_cv_have_x+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27815 # One or both of the vars are not set, and there is no cached value.
27816 ac_x_includes
=no ac_x_libraries
=no
27817 rm -fr conftest.dir
27818 if mkdir conftest.dir
; then
27820 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27821 cat >Imakefile
<<'_ACEOF'
27823 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27825 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27827 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27828 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27829 for ac_extension
in a so sl
; do
27830 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27831 test -f $ac_im_libdir/libX11.
$ac_extension; then
27832 ac_im_usrlibdir
=$ac_im_libdir; break
27835 # Screen out bogus values from the imake configuration. They are
27836 # bogus both because they are the default anyway, and because
27837 # using them would break gcc on systems where it needs fixed includes.
27838 case $ac_im_incroot in
27840 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27842 case $ac_im_usrlibdir in
27843 /usr
/lib
| /lib
) ;;
27844 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27848 rm -fr conftest.dir
27851 # Standard set of common directories for X headers.
27852 # Check X11 before X11Rn because it is often a symlink to the current release.
27864 /usr/local/X11/include
27865 /usr/local/X11R6/include
27866 /usr/local/X11R5/include
27867 /usr/local/X11R4/include
27869 /usr/local/include/X11
27870 /usr/local/include/X11R6
27871 /usr/local/include/X11R5
27872 /usr/local/include/X11R4
27876 /usr/XFree86/include/X11
27880 /usr/unsupported/include
27881 /usr/athena/include
27882 /usr/local/x11r5/include
27883 /usr/lpp/Xamples/include
27885 /usr/openwin/include
27886 /usr/openwin/share/include'
27888 if test "$ac_x_includes" = no
; then
27889 # Guess where to find include files, by looking for Intrinsic.h.
27890 # First, try using that file with no special directory specified.
27891 cat >conftest.
$ac_ext <<_ACEOF
27894 cat confdefs.h
>>conftest.
$ac_ext
27895 cat >>conftest.
$ac_ext <<_ACEOF
27896 /* end confdefs.h. */
27897 #include <X11/Intrinsic.h>
27899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27902 grep -v '^ *+' conftest.er1
>conftest.err
27904 cat conftest.err
>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } >/dev
/null
; then
27907 if test -s conftest.err
; then
27908 ac_cpp_err
=$ac_c_preproc_warn_flag
27909 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27916 if test -z "$ac_cpp_err"; then
27917 # We can compile using X headers with no special include directory.
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.
$ac_ext >&5
27923 for ac_dir
in $ac_x_header_dirs; do
27924 if test -r "$ac_dir/X11/Intrinsic.h"; then
27925 ac_x_includes
=$ac_dir
27930 rm -f conftest.err conftest.
$ac_ext
27931 fi # $ac_x_includes = no
27933 if test "$ac_x_libraries" = no
; then
27934 # Check for the libraries.
27935 # See if we find them without any special options.
27936 # Don't add to $LIBS permanently.
27939 cat >conftest.
$ac_ext <<_ACEOF
27942 cat confdefs.h
>>conftest.
$ac_ext
27943 cat >>conftest.
$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27945 #include <X11/Intrinsic.h>
27954 rm -f conftest.
$ac_objext conftest
$ac_exeext
27955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27956 (eval $ac_link) 2>conftest.er1
27958 grep -v '^ *+' conftest.er1
>conftest.err
27960 cat conftest.err
>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); } &&
27963 { ac_try
='test -z "$ac_c_werror_flag"
27964 || test ! -s conftest.err'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; } &&
27970 { ac_try
='test -s conftest$ac_exeext'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; }; then
27977 # We can link X programs with no special library path.
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.
$ac_ext >&5
27984 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27986 # Don't even attempt the hair of trying to link an X program!
27987 for ac_extension
in a so sl
; do
27988 if test -r $ac_dir/libXt.
$ac_extension; then
27989 ac_x_libraries
=$ac_dir
27995 rm -f conftest.err conftest.
$ac_objext \
27996 conftest
$ac_exeext conftest.
$ac_ext
27997 fi # $ac_x_libraries = no
27999 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28000 # Didn't find X anywhere. Cache the known absence of X.
28001 ac_cv_have_x
="have_x=no"
28003 # Record where we found X for the cache.
28004 ac_cv_have_x
="have_x=yes \
28005 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28010 eval "$ac_cv_have_x"
28013 if test "$have_x" != yes; then
28014 echo "$as_me:$LINENO: result: $have_x" >&5
28015 echo "${ECHO_T}$have_x" >&6
28018 # If each of the values was on the command line, it overrides each guess.
28019 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28020 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28021 # Update the cache value to reflect the command line values.
28022 ac_cv_have_x
="have_x=yes \
28023 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28024 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28025 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28028 if test "$no_x" = yes; then
28029 # Not all programs may use this symbol, but it does not hurt to define it.
28031 cat >>confdefs.h
<<\_ACEOF
28032 #define X_DISPLAY_MISSING 1
28035 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28037 if test -n "$x_includes"; then
28038 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28041 # It would also be nice to do this for all -L options, not just this one.
28042 if test -n "$x_libraries"; then
28043 X_LIBS
="$X_LIBS -L$x_libraries"
28044 # For Solaris; some versions of Sun CC require a space after -R and
28045 # others require no space. Words are not sufficient . . . .
28046 case `(uname -sr) 2>/dev/null` in
28048 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28049 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28050 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28051 cat >conftest.
$ac_ext <<_ACEOF
28054 cat confdefs.h
>>conftest.
$ac_ext
28055 cat >>conftest.
$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28066 rm -f conftest.
$ac_objext conftest
$ac_exeext
28067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28068 (eval $ac_link) 2>conftest.er1
28070 grep -v '^ *+' conftest.er1
>conftest.err
28072 cat conftest.err
>&5
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); } &&
28075 { ac_try
='test -z "$ac_c_werror_flag"
28076 || test ! -s conftest.err'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; } &&
28082 { ac_try
='test -s conftest$ac_exeext'
28083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084 (eval $ac_try) 2>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); }; }; then
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.
$ac_ext >&5
28095 rm -f conftest.err conftest.
$ac_objext \
28096 conftest
$ac_exeext conftest.
$ac_ext
28097 if test $ac_R_nospace = yes; then
28098 echo "$as_me:$LINENO: result: no" >&5
28099 echo "${ECHO_T}no" >&6
28100 X_LIBS
="$X_LIBS -R$x_libraries"
28102 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28103 cat >conftest.
$ac_ext <<_ACEOF
28106 cat confdefs.h
>>conftest.
$ac_ext
28107 cat >>conftest.
$ac_ext <<_ACEOF
28108 /* end confdefs.h. */
28118 rm -f conftest.
$ac_objext conftest
$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>conftest.er1
28122 grep -v '^ *+' conftest.er1
>conftest.err
28124 cat conftest.err
>&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } &&
28127 { ac_try
='test -z "$ac_c_werror_flag"
28128 || test ! -s conftest.err'
28129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28130 (eval $ac_try) 2>&5
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); }; } &&
28134 { ac_try
='test -s conftest$ac_exeext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.
$ac_ext >&5
28147 rm -f conftest.err conftest.
$ac_objext \
28148 conftest
$ac_exeext conftest.
$ac_ext
28149 if test $ac_R_space = yes; then
28150 echo "$as_me:$LINENO: result: yes" >&5
28151 echo "${ECHO_T}yes" >&6
28152 X_LIBS
="$X_LIBS -R $x_libraries"
28154 echo "$as_me:$LINENO: result: neither works" >&5
28155 echo "${ECHO_T}neither works" >&6
28158 LIBS
=$ac_xsave_LIBS
28162 # Check for system-dependent libraries X programs must link with.
28163 # Do this before checking for the system-independent R6 libraries
28164 # (-lICE), since we may need -lsocket or whatever for X linking.
28166 if test "$ISC" = yes; then
28167 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28169 # Martyn Johnson says this is needed for Ultrix, if the X
28170 # libraries were built with DECnet support. And Karl Berry says
28171 # the Alpha needs dnet_stub (dnet does not exist).
28172 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28173 cat >conftest.
$ac_ext <<_ACEOF
28176 cat confdefs.h
>>conftest.
$ac_ext
28177 cat >>conftest.
$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28180 /* Override any gcc2 internal prototype to avoid an error. */
28184 /* We use char because int might match the return type of a gcc2
28185 builtin and then its argument prototype would still apply. */
28186 char XOpenDisplay ();
28195 rm -f conftest.
$ac_objext conftest
$ac_exeext
28196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28197 (eval $ac_link) 2>conftest.er1
28199 grep -v '^ *+' conftest.er1
>conftest.err
28201 cat conftest.err
>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } &&
28204 { ac_try
='test -z "$ac_c_werror_flag"
28205 || test ! -s conftest.err'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; } &&
28211 { ac_try
='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.
$ac_ext >&5
28222 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28223 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28224 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28225 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 ac_check_lib_save_LIBS
=$LIBS
28228 LIBS
="-ldnet $LIBS"
28229 cat >conftest.
$ac_ext <<_ACEOF
28232 cat confdefs.h
>>conftest.
$ac_ext
28233 cat >>conftest.
$ac_ext <<_ACEOF
28234 /* end confdefs.h. */
28236 /* Override any gcc2 internal prototype to avoid an error. */
28240 /* We use char because int might match the return type of a gcc2
28241 builtin and then its argument prototype would still apply. */
28251 rm -f conftest.
$ac_objext conftest
$ac_exeext
28252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28253 (eval $ac_link) 2>conftest.er1
28255 grep -v '^ *+' conftest.er1
>conftest.err
28257 cat conftest.err
>&5
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); } &&
28260 { ac_try
='test -z "$ac_c_werror_flag"
28261 || test ! -s conftest.err'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; } &&
28267 { ac_try
='test -s conftest$ac_exeext'
28268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28269 (eval $ac_try) 2>&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); }; }; then
28273 ac_cv_lib_dnet_dnet_ntoa
=yes
28275 echo "$as_me: failed program was:" >&5
28276 sed 's/^/| /' conftest.
$ac_ext >&5
28278 ac_cv_lib_dnet_dnet_ntoa
=no
28280 rm -f conftest.err conftest.
$ac_objext \
28281 conftest
$ac_exeext conftest.
$ac_ext
28282 LIBS
=$ac_check_lib_save_LIBS
28284 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28285 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28286 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28287 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28290 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28291 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28292 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28293 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28294 echo $ECHO_N "(cached) $ECHO_C" >&6
28296 ac_check_lib_save_LIBS
=$LIBS
28297 LIBS
="-ldnet_stub $LIBS"
28298 cat >conftest.
$ac_ext <<_ACEOF
28301 cat confdefs.h
>>conftest.
$ac_ext
28302 cat >>conftest.
$ac_ext <<_ACEOF
28303 /* end confdefs.h. */
28305 /* Override any gcc2 internal prototype to avoid an error. */
28309 /* We use char because int might match the return type of a gcc2
28310 builtin and then its argument prototype would still apply. */
28320 rm -f conftest.
$ac_objext conftest
$ac_exeext
28321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28322 (eval $ac_link) 2>conftest.er1
28324 grep -v '^ *+' conftest.er1
>conftest.err
28326 cat conftest.err
>&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } &&
28329 { ac_try
='test -z "$ac_c_werror_flag"
28330 || test ! -s conftest.err'
28331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28332 (eval $ac_try) 2>&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); }; } &&
28336 { ac_try
='test -s conftest$ac_exeext'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; }; then
28342 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28344 echo "$as_me: failed program was:" >&5
28345 sed 's/^/| /' conftest.
$ac_ext >&5
28347 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28349 rm -f conftest.err conftest.
$ac_objext \
28350 conftest
$ac_exeext conftest.
$ac_ext
28351 LIBS
=$ac_check_lib_save_LIBS
28353 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28354 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28355 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28361 rm -f conftest.err conftest.
$ac_objext \
28362 conftest
$ac_exeext conftest.
$ac_ext
28363 LIBS
="$ac_xsave_LIBS"
28365 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28366 # to get the SysV transport functions.
28367 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28369 # The nsl library prevents programs from opening the X display
28370 # on Irix 5.2, according to T.E. Dickey.
28371 # The functions gethostbyname, getservbyname, and inet_addr are
28372 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28373 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28374 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28375 if test "${ac_cv_func_gethostbyname+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 cat >conftest.
$ac_ext <<_ACEOF
28381 cat confdefs.h
>>conftest.
$ac_ext
28382 cat >>conftest.
$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28384 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28386 #define gethostbyname innocuous_gethostbyname
28388 /* System header to define __stub macros and hopefully few prototypes,
28389 which can conflict with char gethostbyname (); below.
28390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28391 <limits.h> exists even on freestanding compilers. */
28394 # include <limits.h>
28396 # include <assert.h>
28399 #undef gethostbyname
28401 /* Override any gcc2 internal prototype to avoid an error. */
28406 /* We use char because int might match the return type of a gcc2
28407 builtin and then its argument prototype would still apply. */
28408 char gethostbyname ();
28409 /* The GNU C library defines this for functions which it implements
28410 to always fail with ENOSYS. Some functions are actually named
28411 something starting with __ and the normal name is an alias. */
28412 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28415 char (*f) () = gethostbyname;
28424 return f != gethostbyname;
28429 rm -f conftest.
$ac_objext conftest
$ac_exeext
28430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28431 (eval $ac_link) 2>conftest.er1
28433 grep -v '^ *+' conftest.er1
>conftest.err
28435 cat conftest.err
>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); } &&
28438 { ac_try
='test -z "$ac_c_werror_flag"
28439 || test ! -s conftest.err'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; } &&
28445 { ac_try
='test -s conftest$ac_exeext'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; }; then
28451 ac_cv_func_gethostbyname
=yes
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.
$ac_ext >&5
28456 ac_cv_func_gethostbyname
=no
28458 rm -f conftest.err conftest.
$ac_objext \
28459 conftest
$ac_exeext conftest.
$ac_ext
28461 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28462 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28464 if test $ac_cv_func_gethostbyname = no
; then
28465 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28466 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28467 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28470 ac_check_lib_save_LIBS
=$LIBS
28472 cat >conftest.
$ac_ext <<_ACEOF
28475 cat confdefs.h
>>conftest.
$ac_ext
28476 cat >>conftest.
$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28479 /* Override any gcc2 internal prototype to avoid an error. */
28483 /* We use char because int might match the return type of a gcc2
28484 builtin and then its argument prototype would still apply. */
28485 char gethostbyname ();
28494 rm -f conftest.
$ac_objext conftest
$ac_exeext
28495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28496 (eval $ac_link) 2>conftest.er1
28498 grep -v '^ *+' conftest.er1
>conftest.err
28500 cat conftest.err
>&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); } &&
28503 { ac_try
='test -z "$ac_c_werror_flag"
28504 || test ! -s conftest.err'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; } &&
28510 { ac_try
='test -s conftest$ac_exeext'
28511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28512 (eval $ac_try) 2>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); }; }; then
28516 ac_cv_lib_nsl_gethostbyname
=yes
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.
$ac_ext >&5
28521 ac_cv_lib_nsl_gethostbyname
=no
28523 rm -f conftest.err conftest.
$ac_objext \
28524 conftest
$ac_exeext conftest.
$ac_ext
28525 LIBS
=$ac_check_lib_save_LIBS
28527 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28528 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28529 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28530 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28533 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28534 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28535 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28536 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28537 echo $ECHO_N "(cached) $ECHO_C" >&6
28539 ac_check_lib_save_LIBS
=$LIBS
28541 cat >conftest.
$ac_ext <<_ACEOF
28544 cat confdefs.h
>>conftest.
$ac_ext
28545 cat >>conftest.
$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28548 /* Override any gcc2 internal prototype to avoid an error. */
28552 /* We use char because int might match the return type of a gcc2
28553 builtin and then its argument prototype would still apply. */
28554 char gethostbyname ();
28563 rm -f conftest.
$ac_objext conftest
$ac_exeext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28565 (eval $ac_link) 2>conftest.er1
28567 grep -v '^ *+' conftest.er1
>conftest.err
28569 cat conftest.err
>&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try
='test -z "$ac_c_werror_flag"
28573 || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try
='test -s conftest$ac_exeext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585 ac_cv_lib_bsd_gethostbyname
=yes
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.
$ac_ext >&5
28590 ac_cv_lib_bsd_gethostbyname
=no
28592 rm -f conftest.err conftest.
$ac_objext \
28593 conftest
$ac_exeext conftest.
$ac_ext
28594 LIBS
=$ac_check_lib_save_LIBS
28596 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28597 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28598 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28599 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28605 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28606 # socket/setsockopt and other routines are undefined under SCO ODT
28607 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28608 # on later versions), says Simon Leinen: it contains gethostby*
28609 # variants that don't use the name server (or something). -lsocket
28610 # must be given before -lnsl if both are needed. We assume that
28611 # if connect needs -lnsl, so does gethostbyname.
28612 echo "$as_me:$LINENO: checking for connect" >&5
28613 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28614 if test "${ac_cv_func_connect+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 cat >conftest.
$ac_ext <<_ACEOF
28620 cat confdefs.h
>>conftest.
$ac_ext
28621 cat >>conftest.
$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28625 #define connect innocuous_connect
28627 /* System header to define __stub macros and hopefully few prototypes,
28628 which can conflict with char connect (); below.
28629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28630 <limits.h> exists even on freestanding compilers. */
28633 # include <limits.h>
28635 # include <assert.h>
28640 /* Override any gcc2 internal prototype to avoid an error. */
28645 /* We use char because int might match the return type of a gcc2
28646 builtin and then its argument prototype would still apply. */
28648 /* The GNU C library defines this for functions which it implements
28649 to always fail with ENOSYS. Some functions are actually named
28650 something starting with __ and the normal name is an alias. */
28651 #if defined (__stub_connect) || defined (__stub___connect)
28654 char (*f) () = connect;
28663 return f != connect;
28668 rm -f conftest.
$ac_objext conftest
$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28672 grep -v '^ *+' conftest.er1
>conftest.err
28674 cat conftest.err
>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try
='test -z "$ac_c_werror_flag"
28678 || test ! -s conftest.err'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; } &&
28684 { ac_try
='test -s conftest$ac_exeext'
28685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 (eval $ac_try) 2>&5
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; }; then
28690 ac_cv_func_connect
=yes
28692 echo "$as_me: failed program was:" >&5
28693 sed 's/^/| /' conftest.
$ac_ext >&5
28695 ac_cv_func_connect
=no
28697 rm -f conftest.err conftest.
$ac_objext \
28698 conftest
$ac_exeext conftest.
$ac_ext
28700 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28701 echo "${ECHO_T}$ac_cv_func_connect" >&6
28703 if test $ac_cv_func_connect = no
; then
28704 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28705 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28706 if test "${ac_cv_lib_socket_connect+set}" = set; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 ac_check_lib_save_LIBS
=$LIBS
28710 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28711 cat >conftest.
$ac_ext <<_ACEOF
28714 cat confdefs.h
>>conftest.
$ac_ext
28715 cat >>conftest.
$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28718 /* Override any gcc2 internal prototype to avoid an error. */
28722 /* We use char because int might match the return type of a gcc2
28723 builtin and then its argument prototype would still apply. */
28733 rm -f conftest.
$ac_objext conftest
$ac_exeext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28735 (eval $ac_link) 2>conftest.er1
28737 grep -v '^ *+' conftest.er1
>conftest.err
28739 cat conftest.err
>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try
='test -z "$ac_c_werror_flag"
28743 || test ! -s conftest.err'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try
='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 ac_cv_lib_socket_connect
=yes
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.
$ac_ext >&5
28760 ac_cv_lib_socket_connect
=no
28762 rm -f conftest.err conftest.
$ac_objext \
28763 conftest
$ac_exeext conftest.
$ac_ext
28764 LIBS
=$ac_check_lib_save_LIBS
28766 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28767 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28768 if test $ac_cv_lib_socket_connect = yes; then
28769 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28774 # Guillermo Gomez says -lposix is necessary on A/UX.
28775 echo "$as_me:$LINENO: checking for remove" >&5
28776 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28777 if test "${ac_cv_func_remove+set}" = set; then
28778 echo $ECHO_N "(cached) $ECHO_C" >&6
28780 cat >conftest.
$ac_ext <<_ACEOF
28783 cat confdefs.h
>>conftest.
$ac_ext
28784 cat >>conftest.
$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28786 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28788 #define remove innocuous_remove
28790 /* System header to define __stub macros and hopefully few prototypes,
28791 which can conflict with char remove (); below.
28792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28793 <limits.h> exists even on freestanding compilers. */
28796 # include <limits.h>
28798 # include <assert.h>
28803 /* Override any gcc2 internal prototype to avoid an error. */
28808 /* We use char because int might match the return type of a gcc2
28809 builtin and then its argument prototype would still apply. */
28811 /* The GNU C library defines this for functions which it implements
28812 to always fail with ENOSYS. Some functions are actually named
28813 something starting with __ and the normal name is an alias. */
28814 #if defined (__stub_remove) || defined (__stub___remove)
28817 char (*f) () = remove;
28826 return f != remove;
28831 rm -f conftest.
$ac_objext conftest
$ac_exeext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28833 (eval $ac_link) 2>conftest.er1
28835 grep -v '^ *+' conftest.er1
>conftest.err
28837 cat conftest.err
>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try
='test -z "$ac_c_werror_flag"
28841 || test ! -s conftest.err'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; } &&
28847 { ac_try
='test -s conftest$ac_exeext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 ac_cv_func_remove
=yes
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.
$ac_ext >&5
28858 ac_cv_func_remove
=no
28860 rm -f conftest.err conftest.
$ac_objext \
28861 conftest
$ac_exeext conftest.
$ac_ext
28863 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28864 echo "${ECHO_T}$ac_cv_func_remove" >&6
28866 if test $ac_cv_func_remove = no
; then
28867 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28868 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28869 if test "${ac_cv_lib_posix_remove+set}" = set; then
28870 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 ac_check_lib_save_LIBS
=$LIBS
28873 LIBS
="-lposix $LIBS"
28874 cat >conftest.
$ac_ext <<_ACEOF
28877 cat confdefs.h
>>conftest.
$ac_ext
28878 cat >>conftest.
$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28881 /* Override any gcc2 internal prototype to avoid an error. */
28885 /* We use char because int might match the return type of a gcc2
28886 builtin and then its argument prototype would still apply. */
28896 rm -f conftest.
$ac_objext conftest
$ac_exeext
28897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28898 (eval $ac_link) 2>conftest.er1
28900 grep -v '^ *+' conftest.er1
>conftest.err
28902 cat conftest.err
>&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); } &&
28905 { ac_try
='test -z "$ac_c_werror_flag"
28906 || test ! -s conftest.err'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; } &&
28912 { ac_try
='test -s conftest$ac_exeext'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; }; then
28918 ac_cv_lib_posix_remove
=yes
28920 echo "$as_me: failed program was:" >&5
28921 sed 's/^/| /' conftest.
$ac_ext >&5
28923 ac_cv_lib_posix_remove
=no
28925 rm -f conftest.err conftest.
$ac_objext \
28926 conftest
$ac_exeext conftest.
$ac_ext
28927 LIBS
=$ac_check_lib_save_LIBS
28929 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28930 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28931 if test $ac_cv_lib_posix_remove = yes; then
28932 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28937 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28938 echo "$as_me:$LINENO: checking for shmat" >&5
28939 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28940 if test "${ac_cv_func_shmat+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 shmat to an innocuous variant, in case <limits.h> declares shmat.
28950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28951 #define shmat innocuous_shmat
28953 /* System header to define __stub macros and hopefully few prototypes,
28954 which can conflict with char shmat (); 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_shmat) || defined (__stub___shmat)
28980 char (*f) () = shmat;
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_c_werror_flag"
29004 || test ! -s conftest.err'
29005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29006 (eval $ac_try) 2>&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); }; } &&
29010 { ac_try
='test -s conftest$ac_exeext'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; }; then
29016 ac_cv_func_shmat
=yes
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.
$ac_ext >&5
29021 ac_cv_func_shmat
=no
29023 rm -f conftest.err conftest.
$ac_objext \
29024 conftest
$ac_exeext conftest.
$ac_ext
29026 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29027 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29029 if test $ac_cv_func_shmat = no
; then
29030 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29031 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29032 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 ac_check_lib_save_LIBS
=$LIBS
29037 cat >conftest.
$ac_ext <<_ACEOF
29040 cat confdefs.h
>>conftest.
$ac_ext
29041 cat >>conftest.
$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29044 /* Override any gcc2 internal prototype to avoid an error. */
29048 /* We use char because int might match the return type of a gcc2
29049 builtin and then its argument prototype would still apply. */
29059 rm -f conftest.
$ac_objext conftest
$ac_exeext
29060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29061 (eval $ac_link) 2>conftest.er1
29063 grep -v '^ *+' conftest.er1
>conftest.err
29065 cat conftest.err
>&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } &&
29068 { ac_try
='test -z "$ac_c_werror_flag"
29069 || test ! -s conftest.err'
29070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29071 (eval $ac_try) 2>&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; } &&
29075 { ac_try
='test -s conftest$ac_exeext'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; }; then
29081 ac_cv_lib_ipc_shmat
=yes
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.
$ac_ext >&5
29086 ac_cv_lib_ipc_shmat
=no
29088 rm -f conftest.err conftest.
$ac_objext \
29089 conftest
$ac_exeext conftest.
$ac_ext
29090 LIBS
=$ac_check_lib_save_LIBS
29092 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29093 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29094 if test $ac_cv_lib_ipc_shmat = yes; then
29095 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29101 # Check for libraries that X11R6 Xt/Xaw programs need.
29102 ac_save_LDFLAGS
=$LDFLAGS
29103 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29104 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29105 # check for ICE first), but we must link in the order -lSM -lICE or
29106 # we get undefined symbols. So assume we have SM if we have ICE.
29107 # These have to be linked with before -lX11, unlike the other
29108 # libraries we check for below, so use a different variable.
29109 # John Interrante, Karl Berry
29110 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29111 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29112 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29113 echo $ECHO_N "(cached) $ECHO_C" >&6
29115 ac_check_lib_save_LIBS
=$LIBS
29116 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29117 cat >conftest.
$ac_ext <<_ACEOF
29120 cat confdefs.h
>>conftest.
$ac_ext
29121 cat >>conftest.
$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29124 /* Override any gcc2 internal prototype to avoid an error. */
29128 /* We use char because int might match the return type of a gcc2
29129 builtin and then its argument prototype would still apply. */
29130 char IceConnectionNumber ();
29134 IceConnectionNumber ();
29139 rm -f conftest.
$ac_objext conftest
$ac_exeext
29140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29141 (eval $ac_link) 2>conftest.er1
29143 grep -v '^ *+' conftest.er1
>conftest.err
29145 cat conftest.err
>&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } &&
29148 { ac_try
='test -z "$ac_c_werror_flag"
29149 || test ! -s conftest.err'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; } &&
29155 { ac_try
='test -s conftest$ac_exeext'
29156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29157 (eval $ac_try) 2>&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); }; }; then
29161 ac_cv_lib_ICE_IceConnectionNumber
=yes
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.
$ac_ext >&5
29166 ac_cv_lib_ICE_IceConnectionNumber
=no
29168 rm -f conftest.err conftest.
$ac_objext \
29169 conftest
$ac_exeext conftest.
$ac_ext
29170 LIBS
=$ac_check_lib_save_LIBS
29172 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29173 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29174 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29175 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29178 LDFLAGS
=$ac_save_LDFLAGS
29183 if test "$no_x" = "yes"; then
29184 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29185 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29186 { (exit 1); exit 1; }; }
29189 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29190 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29191 AFMINSTALL
=afminstall
29192 COMPILED_X_PROGRAM
=0
29196 if test "$wxUSE_X11" = 1; then
29197 if test "$wxUSE_NANOX" = "yes"; then
29198 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29199 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29200 if test "x$MICROWIN" = x
; then
29201 echo "$as_me:$LINENO: result: not found" >&5
29202 echo "${ECHO_T}not found" >&6
29203 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29204 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29205 { (exit 1); exit 1; }; }
29207 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29208 echo "${ECHO_T}$MICROWIN" >&6
29209 cat >>confdefs.h
<<\_ACEOF
29210 #define wxUSE_NANOX 1
29216 if test "$wxUSE_UNICODE" = "yes"; then
29220 if test -z "$PKG_CONFIG"; then
29221 # Extract the first word of "pkg-config", so it can be a program name with args.
29222 set dummy pkg
-config; ac_word
=$2
29223 echo "$as_me:$LINENO: checking for $ac_word" >&5
29224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29225 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29228 case $PKG_CONFIG in
29230 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29234 for as_dir
in $PATH
29237 test -z "$as_dir" && as_dir
=.
29238 for ac_exec_ext
in '' $ac_executable_extensions; do
29239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29240 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29247 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29251 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29253 if test -n "$PKG_CONFIG"; then
29254 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29255 echo "${ECHO_T}$PKG_CONFIG" >&6
29257 echo "$as_me:$LINENO: result: no" >&5
29258 echo "${ECHO_T}no" >&6
29263 if test "$PKG_CONFIG" = "no" ; then
29264 echo "*** The pkg-config script could not be found. Make sure it is"
29265 echo "*** in your path, or set the PKG_CONFIG environment variable"
29266 echo "*** to the full path to pkg-config."
29267 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29269 PKG_CONFIG_MIN_VERSION
=0.9.0
29270 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29271 echo "$as_me:$LINENO: checking for pangox" >&5
29272 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29274 if $PKG_CONFIG --exists "pangox" ; then
29275 echo "$as_me:$LINENO: result: yes" >&5
29276 echo "${ECHO_T}yes" >&6
29279 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29280 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29281 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29282 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29283 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29285 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29286 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29287 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29288 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29289 echo "${ECHO_T}$PANGOX_LIBS" >&6
29293 ## If we have a custom action on failure, don't print errors, but
29294 ## do set a variable so people can do so.
29295 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29302 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29303 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29307 if test $succeeded = yes; then
29309 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29310 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29314 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29315 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29316 { (exit 1); exit 1; }; }
29324 if test -z "$PKG_CONFIG"; then
29325 # Extract the first word of "pkg-config", so it can be a program name with args.
29326 set dummy pkg
-config; ac_word
=$2
29327 echo "$as_me:$LINENO: checking for $ac_word" >&5
29328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 case $PKG_CONFIG in
29334 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29338 for as_dir
in $PATH
29341 test -z "$as_dir" && as_dir
=.
29342 for ac_exec_ext
in '' $ac_executable_extensions; do
29343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29344 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29355 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29357 if test -n "$PKG_CONFIG"; then
29358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29359 echo "${ECHO_T}$PKG_CONFIG" >&6
29361 echo "$as_me:$LINENO: result: no" >&5
29362 echo "${ECHO_T}no" >&6
29367 if test "$PKG_CONFIG" = "no" ; then
29368 echo "*** The pkg-config script could not be found. Make sure it is"
29369 echo "*** in your path, or set the PKG_CONFIG environment variable"
29370 echo "*** to the full path to pkg-config."
29371 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29373 PKG_CONFIG_MIN_VERSION
=0.9.0
29374 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29375 echo "$as_me:$LINENO: checking for pangoft2" >&5
29376 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29378 if $PKG_CONFIG --exists "pangoft2" ; then
29379 echo "$as_me:$LINENO: result: yes" >&5
29380 echo "${ECHO_T}yes" >&6
29383 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29384 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29385 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29386 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29387 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29389 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29390 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29391 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29392 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29393 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29397 ## If we have a custom action on failure, don't print errors, but
29398 ## do set a variable so people can do so.
29399 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29406 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29407 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29411 if test $succeeded = yes; then
29413 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29414 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29418 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29419 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29420 wxUSE_PRINTING_ARCHITECTURE
="no"
29428 if test -z "$PKG_CONFIG"; then
29429 # Extract the first word of "pkg-config", so it can be a program name with args.
29430 set dummy pkg
-config; ac_word
=$2
29431 echo "$as_me:$LINENO: checking for $ac_word" >&5
29432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29433 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29436 case $PKG_CONFIG in
29438 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29442 for as_dir
in $PATH
29445 test -z "$as_dir" && as_dir
=.
29446 for ac_exec_ext
in '' $ac_executable_extensions; do
29447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29448 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29455 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29459 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29461 if test -n "$PKG_CONFIG"; then
29462 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29463 echo "${ECHO_T}$PKG_CONFIG" >&6
29465 echo "$as_me:$LINENO: result: no" >&5
29466 echo "${ECHO_T}no" >&6
29471 if test "$PKG_CONFIG" = "no" ; then
29472 echo "*** The pkg-config script could not be found. Make sure it is"
29473 echo "*** in your path, or set the PKG_CONFIG environment variable"
29474 echo "*** to the full path to pkg-config."
29475 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29477 PKG_CONFIG_MIN_VERSION
=0.9.0
29478 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29479 echo "$as_me:$LINENO: checking for pangoxft" >&5
29480 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29482 if $PKG_CONFIG --exists "pangoxft" ; then
29483 echo "$as_me:$LINENO: result: yes" >&5
29484 echo "${ECHO_T}yes" >&6
29487 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29488 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29489 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29490 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29491 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29493 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29494 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29495 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29496 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29497 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29501 ## If we have a custom action on failure, don't print errors, but
29502 ## do set a variable so people can do so.
29503 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29510 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29511 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29515 if test $succeeded = yes; then
29517 cat >>confdefs.h
<<\_ACEOF
29518 #define HAVE_PANGO_XFT 1
29521 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29522 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29526 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29527 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29532 save_CFLAGS
="$CFLAGS"
29534 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29535 LIBS
="$LIBS $PANGOX_LIBS"
29537 for ac_func
in pango_font_family_is_monospace
29539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29540 echo "$as_me:$LINENO: checking for $ac_func" >&5
29541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29542 if eval "test \"\${$as_ac_var+set}\" = set"; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 cat >conftest.
$ac_ext <<_ACEOF
29548 cat confdefs.h
>>conftest.
$ac_ext
29549 cat >>conftest.
$ac_ext <<_ACEOF
29550 /* end confdefs.h. */
29551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29553 #define $ac_func innocuous_$ac_func
29555 /* System header to define __stub macros and hopefully few prototypes,
29556 which can conflict with char $ac_func (); below.
29557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29558 <limits.h> exists even on freestanding compilers. */
29561 # include <limits.h>
29563 # include <assert.h>
29568 /* Override any gcc2 internal prototype to avoid an error. */
29573 /* We use char because int might match the return type of a gcc2
29574 builtin and then its argument prototype would still apply. */
29576 /* The GNU C library defines this for functions which it implements
29577 to always fail with ENOSYS. Some functions are actually named
29578 something starting with __ and the normal name is an alias. */
29579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29582 char (*f) () = $ac_func;
29591 return f != $ac_func;
29596 rm -f conftest.
$ac_objext conftest
$ac_exeext
29597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29600 grep -v '^ *+' conftest.er1
>conftest.err
29602 cat conftest.err
>&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try
='test -z "$ac_c_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try
='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 eval "$as_ac_var=yes"
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.
$ac_ext >&5
29623 eval "$as_ac_var=no"
29625 rm -f conftest.err conftest.
$ac_objext \
29626 conftest
$ac_exeext conftest.
$ac_ext
29628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29630 if test `eval echo '${'$as_ac_var'}'` = yes; then
29631 cat >>confdefs.h
<<_ACEOF
29632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29638 CFLAGS
="$save_CFLAGS"
29642 wxUSE_UNIVERSAL
="yes"
29644 if test "$wxUSE_NANOX" = "yes"; then
29645 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29646 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"
29647 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29649 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29656 if test "$wxUSE_MOTIF" = 1; then
29657 if test "$wxUSE_UNICODE" = "yes"; then
29658 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29659 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29660 { (exit 1); exit 1; }; }
29663 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29664 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29667 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29669 if test -f "$ac_dir/Xm/Xm.h"; then
29670 ac_find_includes
=$ac_dir
29675 if test "$ac_find_includes" != "" ; then
29676 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29677 echo "${ECHO_T}found in $ac_find_includes" >&6
29679 if test "x$ac_find_includes" = "x/usr/include"; then
29680 ac_path_to_include
=""
29682 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29684 if test $result = 0; then
29685 ac_path_to_include
=""
29687 ac_path_to_include
=" -I$ac_find_includes"
29691 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29693 save_CFLAGS
=$CFLAGS
29694 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29696 cat >conftest.
$ac_ext <<_ACEOF
29699 cat confdefs.h
>>conftest.
$ac_ext
29700 cat >>conftest.
$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29710 version = xmUseVersion;
29716 rm -f conftest.
$ac_objext
29717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29718 (eval $ac_compile) 2>conftest.er1
29720 grep -v '^ *+' conftest.er1
>conftest.err
29722 cat conftest.err
>&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } &&
29725 { ac_try
='test -z "$ac_c_werror_flag"
29726 || test ! -s conftest.err'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; } &&
29732 { ac_try
='test -s conftest.$ac_objext'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; }; then
29739 echo "$as_me:$LINENO: result: found in default search path" >&5
29740 echo "${ECHO_T}found in default search path" >&6
29741 COMPILED_X_PROGRAM
=1
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.
$ac_ext >&5
29748 echo "$as_me:$LINENO: result: no" >&5
29749 echo "${ECHO_T}no" >&6
29750 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29751 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29752 { (exit 1); exit 1; }; }
29756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29758 CFLAGS
=$save_CFLAGS
29762 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29763 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29766 for ac_dir
in $SEARCH_LIB;
29768 for ac_extension
in a so sl dylib dll.a
; do
29769 if test -f "$ac_dir/libXm.$ac_extension"; then
29770 ac_find_libraries
=$ac_dir
29777 if test "x$ac_find_libraries" != "x" ; then
29778 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29779 echo "${ECHO_T}found in $ac_find_libraries" >&6
29782 if test "$ac_find_libraries" = "default location"; then
29785 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29787 if test $result = 0; then
29790 ac_path_to_link
=" -L$ac_find_libraries"
29794 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29796 save_CFLAGS
=$CFLAGS
29797 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29799 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29801 cat >conftest.
$ac_ext <<_ACEOF
29804 cat confdefs.h
>>conftest.
$ac_ext
29805 cat >>conftest.
$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29815 version = xmUseVersion;
29821 rm -f conftest.
$ac_objext conftest
$ac_exeext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29823 (eval $ac_link) 2>conftest.er1
29825 grep -v '^ *+' conftest.er1
>conftest.err
29827 cat conftest.err
>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try
='test -z "$ac_c_werror_flag"
29831 || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try
='test -s conftest$ac_exeext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29844 echo "$as_me:$LINENO: result: found in default search path" >&5
29845 echo "${ECHO_T}found in default search path" >&6
29846 COMPILED_X_PROGRAM
=1
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.
$ac_ext >&5
29853 echo "$as_me:$LINENO: result: no" >&5
29854 echo "${ECHO_T}no" >&6
29855 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29856 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29857 { (exit 1); exit 1; }; }
29861 rm -f conftest.err conftest.
$ac_objext \
29862 conftest
$ac_exeext conftest.
$ac_ext
29864 CFLAGS
=$save_CFLAGS
29868 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29869 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29873 for libp
in "" " -lXp"; do
29874 if test "$libs_found" = "0"; then
29875 for libsm_ice
in "" " -lSM -lICE"; do
29876 if test "$libs_found" = "0"; then
29878 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29879 save_CFLAGS
=$CFLAGS
29880 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29882 cat >conftest.
$ac_ext <<_ACEOF
29885 cat confdefs.h
>>conftest.
$ac_ext
29886 cat >>conftest.
$ac_ext <<_ACEOF
29887 /* end confdefs.h. */
29890 #include <Xm/List.h>
29896 XmString string = NULL;
29899 XmListAddItem(w, string, position);
29905 rm -f conftest.
$ac_objext conftest
$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29909 grep -v '^ *+' conftest.er1
>conftest.err
29911 cat conftest.err
>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try
='test -z "$ac_c_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try
='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29929 libsm_ice_link
="$libsm_ice"
29930 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29931 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29935 echo "$as_me: failed program was:" >&5
29936 sed 's/^/| /' conftest.
$ac_ext >&5
29941 rm -f conftest.err conftest.
$ac_objext \
29942 conftest
$ac_exeext conftest.
$ac_ext
29945 CFLAGS
=$save_CFLAGS
29951 if test "$libs_found" = "0"; then
29952 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29953 echo "${ECHO_T}can't find the right libraries" >&6
29954 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29955 echo "$as_me: error: can't link a simple motif program" >&2;}
29956 { (exit 1); exit 1; }; }
29959 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29960 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29961 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29962 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 ac_check_lib_save_LIBS
=$LIBS
29966 cat >conftest.
$ac_ext <<_ACEOF
29969 cat confdefs.h
>>conftest.
$ac_ext
29970 cat >>conftest.
$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29973 /* Override any gcc2 internal prototype to avoid an error. */
29977 /* We use char because int might match the return type of a gcc2
29978 builtin and then its argument prototype would still apply. */
29979 char SgCreateList ();
29988 rm -f conftest.
$ac_objext conftest
$ac_exeext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29990 (eval $ac_link) 2>conftest.er1
29992 grep -v '^ *+' conftest.er1
>conftest.err
29994 cat conftest.err
>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } &&
29997 { ac_try
='test -z "$ac_c_werror_flag"
29998 || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try
='test -s conftest$ac_exeext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_cv_lib_Sgm_SgCreateList
=yes
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.
$ac_ext >&5
30015 ac_cv_lib_Sgm_SgCreateList
=no
30017 rm -f conftest.err conftest.
$ac_objext \
30018 conftest
$ac_exeext conftest.
$ac_ext
30019 LIBS
=$ac_check_lib_save_LIBS
30021 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30022 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30023 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30024 libsgm_link
=" -lSgm"
30028 save_CFLAGS
=$CFLAGS
30029 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30031 echo "$as_me:$LINENO: checking for Motif 2" >&5
30032 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30033 if test "${wx_cv_lib_motif2+set}" = set; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30036 cat >conftest.
$ac_ext <<_ACEOF
30039 cat confdefs.h
>>conftest.
$ac_ext
30040 cat >>conftest.
$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30049 #if XmVersion < 2000
30057 rm -f conftest.
$ac_objext
30058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30059 (eval $ac_compile) 2>conftest.er1
30061 grep -v '^ *+' conftest.er1
>conftest.err
30063 cat conftest.err
>&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } &&
30066 { ac_try
='test -z "$ac_c_werror_flag"
30067 || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try
='test -s conftest.$ac_objext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 wx_cv_lib_motif2
="yes"
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.
$ac_ext >&5
30084 wx_cv_lib_motif2
="no"
30086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30088 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30089 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30090 if test "$wx_cv_lib_motif2" = "yes"; then
30091 cat >>confdefs.h
<<\_ACEOF
30092 #define __WXMOTIF20__ 1
30096 cat >>confdefs.h
<<\_ACEOF
30097 #define __WXMOTIF20__ 0
30102 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30103 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30104 if test "${wx_cv_lib_lesstif+set}" = set; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30107 cat >conftest.
$ac_ext <<_ACEOF
30110 cat confdefs.h
>>conftest.
$ac_ext
30111 cat >>conftest.
$ac_ext <<_ACEOF
30112 /* end confdefs.h. */
30120 #if !defined(LesstifVersion) || LesstifVersion <= 0
30128 rm -f conftest.
$ac_objext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30130 (eval $ac_compile) 2>conftest.er1
30132 grep -v '^ *+' conftest.er1
>conftest.err
30134 cat conftest.err
>&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } &&
30137 { ac_try
='test -z "$ac_c_werror_flag"
30138 || test ! -s conftest.err'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; } &&
30144 { ac_try
='test -s conftest.$ac_objext'
30145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146 (eval $ac_try) 2>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; }; then
30150 wx_cv_lib_lesstif
="yes"
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.
$ac_ext >&5
30155 wx_cv_lib_lesstif
="no"
30157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30160 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30161 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30162 if test "$wx_cv_lib_lesstif" = "yes"; then
30163 cat >>confdefs.h
<<\_ACEOF
30164 #define __WXLESSTIF__ 1
30168 cat >>confdefs.h
<<\_ACEOF
30169 #define __WXLESSTIF__ 0
30174 CFLAGS
=$save_CFLAGS
30176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30181 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30182 if test "$wxUSE_LIBXPM" = "sys"; then
30183 echo "$as_me:$LINENO: checking for Xpm library" >&5
30184 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30187 for ac_dir
in $SEARCH_LIB;
30189 for ac_extension
in a so sl dylib dll.a
; do
30190 if test -f "$ac_dir/libXpm.$ac_extension"; then
30191 ac_find_libraries
=$ac_dir
30197 if test "$ac_find_libraries" != "" ; then
30199 if test "$ac_find_libraries" = "default location"; then
30202 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30204 if test $result = 0; then
30207 ac_path_to_link
=" -L$ac_find_libraries"
30211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30212 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30213 echo "${ECHO_T}found in $ac_find_libraries" >&6
30215 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30216 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30217 if test "${wx_cv_x11_xpm_h+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30221 save_CFLAGS
=$CFLAGS
30222 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30224 cat >conftest.
$ac_ext <<_ACEOF
30227 cat confdefs.h
>>conftest.
$ac_ext
30228 cat >>conftest.
$ac_ext <<_ACEOF
30229 /* end confdefs.h. */
30231 #include <X11/xpm.h>
30238 version = XpmLibraryVersion();
30244 rm -f conftest.
$ac_objext
30245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30246 (eval $ac_compile) 2>conftest.er1
30248 grep -v '^ *+' conftest.er1
>conftest.err
30250 cat conftest.err
>&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try
='test -z "$ac_c_werror_flag"
30254 || test ! -s conftest.err'
30255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30256 (eval $ac_try) 2>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; } &&
30260 { ac_try
='test -s conftest.$ac_objext'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; }; then
30266 wx_cv_x11_xpm_h
=yes
30268 echo "$as_me: failed program was:" >&5
30269 sed 's/^/| /' conftest.
$ac_ext >&5
30274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30276 CFLAGS
=$save_CFLAGS
30280 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30281 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30283 if test $wx_cv_x11_xpm_h = "yes"; then
30284 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30285 cat >>confdefs.h
<<\_ACEOF
30286 #define wxHAVE_LIB_XPM 1
30290 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30291 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30297 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30298 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30299 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30300 echo $ECHO_N "(cached) $ECHO_C" >&6
30302 ac_check_lib_save_LIBS
=$LIBS
30303 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30304 cat >conftest.
$ac_ext <<_ACEOF
30307 cat confdefs.h
>>conftest.
$ac_ext
30308 cat >>conftest.
$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30311 /* Override any gcc2 internal prototype to avoid an error. */
30315 /* We use char because int might match the return type of a gcc2
30316 builtin and then its argument prototype would still apply. */
30317 char XShapeQueryExtension ();
30321 XShapeQueryExtension ();
30326 rm -f conftest.
$ac_objext conftest
$ac_exeext
30327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30328 (eval $ac_link) 2>conftest.er1
30330 grep -v '^ *+' conftest.er1
>conftest.err
30332 cat conftest.err
>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); } &&
30335 { ac_try
='test -z "$ac_c_werror_flag"
30336 || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try
='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.
$ac_ext >&5
30353 ac_cv_lib_Xext_XShapeQueryExtension
=no
30355 rm -f conftest.err conftest.
$ac_objext \
30356 conftest
$ac_exeext conftest.
$ac_ext
30357 LIBS
=$ac_check_lib_save_LIBS
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30360 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30361 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30363 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30369 if test "$wxHAVE_XEXT_LIB" = 1; then
30370 save_CFLAGS
="$CFLAGS"
30371 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30373 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30374 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30375 cat >conftest.
$ac_ext <<_ACEOF
30378 cat confdefs.h
>>conftest.
$ac_ext
30379 cat >>conftest.
$ac_ext <<_ACEOF
30380 /* end confdefs.h. */
30382 #include <X11/Xlib.h>
30383 #include <X11/extensions/shape.h>
30389 int dummy1, dummy2;
30390 XShapeQueryExtension((Display*)NULL,
30391 (int*)NULL, (int*)NULL);
30397 rm -f conftest.
$ac_objext
30398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30399 (eval $ac_compile) 2>conftest.er1
30401 grep -v '^ *+' conftest.er1
>conftest.err
30403 cat conftest.err
>&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } &&
30406 { ac_try
='test -z "$ac_c_werror_flag"
30407 || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try
='test -s conftest.$ac_objext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30420 cat >>confdefs.h
<<\_ACEOF
30421 #define HAVE_XSHAPE 1
30424 echo "$as_me:$LINENO: result: found" >&5
30425 echo "${ECHO_T}found" >&6
30428 echo "$as_me: failed program was:" >&5
30429 sed 's/^/| /' conftest.
$ac_ext >&5
30432 echo "$as_me:$LINENO: result: not found" >&5
30433 echo "${ECHO_T}not found" >&6
30436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30437 CFLAGS
="$save_CFLAGS"
30442 if test "$wxUSE_MAC" = 1; then
30443 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30444 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30445 if test "$GCC" = yes; then
30446 echo "$as_me:$LINENO: result: gcc" >&5
30447 echo "${ECHO_T}gcc" >&6
30448 CPPFLAGS_PASCAL
="-fpascal-strings"
30449 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30450 echo "$as_me:$LINENO: result: xlc" >&5
30451 echo "${ECHO_T}xlc" >&6
30452 CPPFLAGS_PASCAL
="-qmacpstr"
30454 echo "$as_me:$LINENO: result: none" >&5
30455 echo "${ECHO_T}none" >&6
30458 if test "x$wxUSE_UNIX" = "xyes"; then
30459 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30461 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30466 WXBASEPORT
="_carbon"
30469 if test "$wxUSE_COCOA" = 1; then
30474 if test "$wxUSE_PM" = 1; then
30477 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30478 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30479 if test "${wx_cv_spbcdata+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 cat >conftest.
$ac_ext <<_ACEOF
30486 cat confdefs.h
>>conftest.
$ac_ext
30487 cat >>conftest.
$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30503 rm -f conftest.
$ac_objext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30505 (eval $ac_compile) 2>conftest.er1
30507 grep -v '^ *+' conftest.er1
>conftest.err
30509 cat conftest.err
>&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try
='test -z "$ac_c_werror_flag"
30513 || test ! -s conftest.err'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; } &&
30519 { ac_try
='test -s conftest.$ac_objext'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.
$ac_ext >&5
30533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30537 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30538 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30540 if test $wx_cv_spbcdata = "yes"; then
30541 cat >>confdefs.h
<<\_ACEOF
30542 #define HAVE_SPBCDATA 1
30548 if test "$TOOLKIT" = "PM" ; then
30551 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30554 if test "$wxUSE_UNIVERSAL" = "yes"; then
30555 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30559 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30560 DISTDIR
="wx\$(TOOLKIT)"
30566 if test "$USE_WIN32" = 1 ; then
30570 GUIDIST
="BASE_DIST"
30575 if test "$wxUSE_GUI" = "yes"; then
30576 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30578 for ac_header
in X
11/Xlib.h
30580 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30582 echo "$as_me:$LINENO: checking for $ac_header" >&5
30583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30585 echo $ECHO_N "(cached) $ECHO_C" >&6
30587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30590 # Is the header compilable?
30591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30593 cat >conftest.
$ac_ext <<_ACEOF
30596 cat confdefs.h
>>conftest.
$ac_ext
30597 cat >>conftest.
$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30599 $ac_includes_default
30600 #include <$ac_header>
30602 rm -f conftest.
$ac_objext
30603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30604 (eval $ac_compile) 2>conftest.er1
30606 grep -v '^ *+' conftest.er1
>conftest.err
30608 cat conftest.err
>&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } &&
30611 { ac_try
='test -z "$ac_c_werror_flag"
30612 || test ! -s conftest.err'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; } &&
30618 { ac_try
='test -s conftest.$ac_objext'
30619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30620 (eval $ac_try) 2>&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); }; }; then
30624 ac_header_compiler
=yes
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.
$ac_ext >&5
30629 ac_header_compiler
=no
30631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30633 echo "${ECHO_T}$ac_header_compiler" >&6
30635 # Is the header present?
30636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30638 cat >conftest.
$ac_ext <<_ACEOF
30641 cat confdefs.h
>>conftest.
$ac_ext
30642 cat >>conftest.
$ac_ext <<_ACEOF
30643 /* end confdefs.h. */
30644 #include <$ac_header>
30646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30649 grep -v '^ *+' conftest.er1
>conftest.err
30651 cat conftest.err
>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } >/dev
/null
; then
30654 if test -s conftest.err
; then
30655 ac_cpp_err
=$ac_c_preproc_warn_flag
30656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30663 if test -z "$ac_cpp_err"; then
30664 ac_header_preproc
=yes
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.
$ac_ext >&5
30669 ac_header_preproc
=no
30671 rm -f conftest.err conftest.
$ac_ext
30672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30673 echo "${ECHO_T}$ac_header_preproc" >&6
30675 # So? What about this header?
30676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30682 ac_header_preproc
=yes
30685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30699 ## ----------------------------------------- ##
30700 ## Report this to wx-dev@lists.wxwidgets.org ##
30701 ## ----------------------------------------- ##
30704 sed "s/^/$as_me: WARNING: /" >&2
30707 echo "$as_me:$LINENO: checking for $ac_header" >&5
30708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 eval "$as_ac_Header=\$ac_header_preproc"
30714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30719 cat >>confdefs.h
<<_ACEOF
30720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30728 for ac_header
in X
11/XKBlib.h
30730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30731 echo "$as_me:$LINENO: checking for $ac_header" >&5
30732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30734 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 cat >conftest.
$ac_ext <<_ACEOF
30739 cat confdefs.h
>>conftest.
$ac_ext
30740 cat >>conftest.
$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30743 #if HAVE_X11_XLIB_H
30744 #include <X11/Xlib.h>
30748 #include <$ac_header>
30750 rm -f conftest.
$ac_objext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30752 (eval $ac_compile) 2>conftest.er1
30754 grep -v '^ *+' conftest.er1
>conftest.err
30756 cat conftest.err
>&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try
='test -z "$ac_c_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try
='test -s conftest.$ac_objext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 eval "$as_ac_Header=yes"
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.
$ac_ext >&5
30777 eval "$as_ac_Header=no"
30779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30784 cat >>confdefs.h
<<_ACEOF
30785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30800 if test "$TOOLKIT" != "MSW" ; then
30802 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30804 if test "${ac_cv_header_sql_h+set}" = set; then
30805 echo "$as_me:$LINENO: checking for sql.h" >&5
30806 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30807 if test "${ac_cv_header_sql_h+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30810 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30811 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30813 # Is the header compilable?
30814 echo "$as_me:$LINENO: checking sql.h usability" >&5
30815 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30816 cat >conftest.
$ac_ext <<_ACEOF
30819 cat confdefs.h
>>conftest.
$ac_ext
30820 cat >>conftest.
$ac_ext <<_ACEOF
30821 /* end confdefs.h. */
30822 $ac_includes_default
30825 rm -f conftest.
$ac_objext
30826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30827 (eval $ac_compile) 2>conftest.er1
30829 grep -v '^ *+' conftest.er1
>conftest.err
30831 cat conftest.err
>&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } &&
30834 { ac_try
='test -z "$ac_c_werror_flag"
30835 || test ! -s conftest.err'
30836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30837 (eval $ac_try) 2>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; } &&
30841 { ac_try
='test -s conftest.$ac_objext'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; }; then
30847 ac_header_compiler
=yes
30849 echo "$as_me: failed program was:" >&5
30850 sed 's/^/| /' conftest.
$ac_ext >&5
30852 ac_header_compiler
=no
30854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30856 echo "${ECHO_T}$ac_header_compiler" >&6
30858 # Is the header present?
30859 echo "$as_me:$LINENO: checking sql.h presence" >&5
30860 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30861 cat >conftest.
$ac_ext <<_ACEOF
30864 cat confdefs.h
>>conftest.
$ac_ext
30865 cat >>conftest.
$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30872 grep -v '^ *+' conftest.er1
>conftest.err
30874 cat conftest.err
>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } >/dev
/null
; then
30877 if test -s conftest.err
; then
30878 ac_cpp_err
=$ac_c_preproc_warn_flag
30879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30886 if test -z "$ac_cpp_err"; then
30887 ac_header_preproc
=yes
30889 echo "$as_me: failed program was:" >&5
30890 sed 's/^/| /' conftest.
$ac_ext >&5
30892 ac_header_preproc
=no
30894 rm -f conftest.err conftest.
$ac_ext
30895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30896 echo "${ECHO_T}$ac_header_preproc" >&6
30898 # So? What about this header?
30899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30901 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30902 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30903 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30904 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30905 ac_header_preproc
=yes
30908 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30909 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30910 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30911 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30912 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30913 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30914 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30915 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30916 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30917 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30918 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30919 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30922 ## ----------------------------------------- ##
30923 ## Report this to wx-dev@lists.wxwidgets.org ##
30924 ## ----------------------------------------- ##
30927 sed "s/^/$as_me: WARNING: /" >&2
30930 echo "$as_me:$LINENO: checking for sql.h" >&5
30931 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30932 if test "${ac_cv_header_sql_h+set}" = set; then
30933 echo $ECHO_N "(cached) $ECHO_C" >&6
30935 ac_cv_header_sql_h
=$ac_header_preproc
30937 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30938 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30941 if test $ac_cv_header_sql_h = yes; then
30946 if test "x$found_sql_h" = "x1" ; then
30947 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30948 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30949 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30952 ac_check_lib_save_LIBS
=$LIBS
30953 LIBS
="-liodbc $LIBS"
30954 cat >conftest.
$ac_ext <<_ACEOF
30957 cat confdefs.h
>>conftest.
$ac_ext
30958 cat >>conftest.
$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30961 /* Override any gcc2 internal prototype to avoid an error. */
30965 /* We use char because int might match the return type of a gcc2
30966 builtin and then its argument prototype would still apply. */
30967 char SQLAllocEnv ();
30976 rm -f conftest.
$ac_objext conftest
$ac_exeext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30978 (eval $ac_link) 2>conftest.er1
30980 grep -v '^ *+' conftest.er1
>conftest.err
30982 cat conftest.err
>&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } &&
30985 { ac_try
='test -z "$ac_c_werror_flag"
30986 || test ! -s conftest.err'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; } &&
30992 { ac_try
='test -s conftest$ac_exeext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.
$ac_ext >&5
31003 ac_cv_lib_iodbc_SQLAllocEnv
=no
31005 rm -f conftest.err conftest.
$ac_objext \
31006 conftest
$ac_exeext conftest.
$ac_ext
31007 LIBS
=$ac_check_lib_save_LIBS
31009 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31010 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31011 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31012 ODBC_LINK
=" -liodbc"
31015 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31016 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31017 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 ac_check_lib_save_LIBS
=$LIBS
31021 LIBS
="-lunixodbc $LIBS"
31022 cat >conftest.
$ac_ext <<_ACEOF
31025 cat confdefs.h
>>conftest.
$ac_ext
31026 cat >>conftest.
$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31029 /* Override any gcc2 internal prototype to avoid an error. */
31033 /* We use char because int might match the return type of a gcc2
31034 builtin and then its argument prototype would still apply. */
31035 char SQLAllocEnv ();
31044 rm -f conftest.
$ac_objext conftest
$ac_exeext
31045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31046 (eval $ac_link) 2>conftest.er1
31048 grep -v '^ *+' conftest.er1
>conftest.err
31050 cat conftest.err
>&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); } &&
31053 { ac_try
='test -z "$ac_c_werror_flag"
31054 || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try
='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.
$ac_ext >&5
31071 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31073 rm -f conftest.err conftest.
$ac_objext \
31074 conftest
$ac_exeext conftest.
$ac_ext
31075 LIBS
=$ac_check_lib_save_LIBS
31077 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31078 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31079 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31080 ODBC_LINK
=" -lunixodbc"
31083 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31084 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31085 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31088 ac_check_lib_save_LIBS
=$LIBS
31089 LIBS
="-lodbc $LIBS"
31090 cat >conftest.
$ac_ext <<_ACEOF
31093 cat confdefs.h
>>conftest.
$ac_ext
31094 cat >>conftest.
$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31097 /* Override any gcc2 internal prototype to avoid an error. */
31101 /* We use char because int might match the return type of a gcc2
31102 builtin and then its argument prototype would still apply. */
31103 char SQLAllocEnv ();
31112 rm -f conftest.
$ac_objext conftest
$ac_exeext
31113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31114 (eval $ac_link) 2>conftest.er1
31116 grep -v '^ *+' conftest.er1
>conftest.err
31118 cat conftest.err
>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } &&
31121 { ac_try
='test -z "$ac_c_werror_flag"
31122 || test ! -s conftest.err'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; } &&
31128 { ac_try
='test -s conftest$ac_exeext'
31129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130 (eval $ac_try) 2>&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; }; then
31134 ac_cv_lib_odbc_SQLAllocEnv
=yes
31136 echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.
$ac_ext >&5
31139 ac_cv_lib_odbc_SQLAllocEnv
=no
31141 rm -f conftest.err conftest.
$ac_objext \
31142 conftest
$ac_exeext conftest.
$ac_ext
31143 LIBS
=$ac_check_lib_save_LIBS
31145 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31146 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31147 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31148 ODBC_LINK
=" -lodbc"
31158 if test "x$ODBC_LINK" = "x" ; then
31159 if test "$wxUSE_ODBC" = "sys" ; then
31160 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31161 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31162 { (exit 1); exit 1; }; }
31164 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31165 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31173 if test "$wxUSE_ODBC" = "builtin" ; then
31174 cat >>confdefs.h
<<\_ACEOF
31175 #define wxUSE_BUILTIN_IODBC 1
31181 if test "$wxUSE_ODBC" != "no" ; then
31182 cat >>confdefs.h
<<\_ACEOF
31183 #define wxUSE_ODBC 1
31186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31188 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31192 if test "$wxUSE_DISPLAY" = "yes"; then
31193 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31194 echo "$as_me:$LINENO: checking for Xinerama" >&5
31195 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31198 for ac_dir
in $SEARCH_LIB;
31200 for ac_extension
in a so sl dylib dll.a
; do
31201 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31202 ac_find_libraries
=$ac_dir
31208 if test "$ac_find_libraries" != "" ; then
31210 if test "$ac_find_libraries" = "default location"; then
31213 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31215 if test $result = 0; then
31218 ac_path_to_link
=" -L$ac_find_libraries"
31222 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31223 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31225 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31226 echo "$as_me:$LINENO: result: yes" >&5
31227 echo "${ECHO_T}yes" >&6
31229 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31230 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31233 for ac_dir
in $SEARCH_LIB;
31235 for ac_extension
in a so sl dylib dll.a
; do
31236 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31237 ac_find_libraries
=$ac_dir
31243 if test "$ac_find_libraries" != "" ; then
31244 echo "$as_me:$LINENO: result: yes" >&5
31245 echo "${ECHO_T}yes" >&6
31247 for ac_header
in X
11/extensions
/xf86vmode.h
31249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31250 echo "$as_me:$LINENO: checking for $ac_header" >&5
31251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31255 cat >conftest.
$ac_ext <<_ACEOF
31258 cat confdefs.h
>>conftest.
$ac_ext
31259 cat >>conftest.
$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31262 #if HAVE_X11_XLIB_H
31263 #include <X11/Xlib.h>
31267 #include <$ac_header>
31269 rm -f conftest.
$ac_objext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31271 (eval $ac_compile) 2>conftest.er1
31273 grep -v '^ *+' conftest.er1
>conftest.err
31275 cat conftest.err
>&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); } &&
31278 { ac_try
='test -z "$ac_c_werror_flag"
31279 || test ! -s conftest.err'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } &&
31285 { ac_try
='test -s conftest.$ac_objext'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; }; then
31291 eval "$as_ac_Header=yes"
31293 echo "$as_me: failed program was:" >&5
31294 sed 's/^/| /' conftest.
$ac_ext >&5
31296 eval "$as_ac_Header=no"
31298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31303 cat >>confdefs.h
<<_ACEOF
31304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31307 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31314 echo "$as_me:$LINENO: result: no" >&5
31315 echo "${ECHO_T}no" >&6
31319 echo "$as_me:$LINENO: result: no" >&5
31320 echo "${ECHO_T}no" >&6
31321 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31322 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31325 elif test "$wxUSE_MSW" = 1; then
31327 for ac_header
in ddraw.h
31329 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31330 echo "$as_me:$LINENO: checking for $ac_header" >&5
31331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31333 echo $ECHO_N "(cached) $ECHO_C" >&6
31335 cat >conftest.
$ac_ext <<_ACEOF
31338 cat confdefs.h
>>conftest.
$ac_ext
31339 cat >>conftest.
$ac_ext <<_ACEOF
31340 /* end confdefs.h. */
31341 #include <windows.h>
31343 #include <$ac_header>
31345 rm -f conftest.
$ac_objext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31347 (eval $ac_compile) 2>conftest.er1
31349 grep -v '^ *+' conftest.er1
>conftest.err
31351 cat conftest.err
>&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try
='test -z "$ac_c_werror_flag"
31355 || test ! -s conftest.err'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; } &&
31361 { ac_try
='test -s conftest.$ac_objext'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; }; then
31367 eval "$as_ac_Header=yes"
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.
$ac_ext >&5
31372 eval "$as_ac_Header=no"
31374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31379 cat >>confdefs.h
<<_ACEOF
31380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31392 if test "$wxUSE_OPENGL" = "yes"; then
31393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31394 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31395 elif test "$wxUSE_MSW" = 1; then
31396 OPENGL_LIBS
="-lopengl32 -lglu32"
31401 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31403 if test -f "$ac_dir/GL/gl.h"; then
31404 ac_find_includes
=$ac_dir
31409 if test "$ac_find_includes" != "" ; then
31410 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31411 echo "${ECHO_T}found in $ac_find_includes" >&6
31413 if test "x$ac_find_includes" = "x/usr/include"; then
31414 ac_path_to_include
=""
31416 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31418 if test $result = 0; then
31419 ac_path_to_include
=""
31421 ac_path_to_include
=" -I$ac_find_includes"
31425 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31428 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31429 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31430 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31431 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31434 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31437 # Is the header compilable?
31438 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31439 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31440 cat >conftest.
$ac_ext <<_ACEOF
31443 cat confdefs.h
>>conftest.
$ac_ext
31444 cat >>conftest.
$ac_ext <<_ACEOF
31445 /* end confdefs.h. */
31446 $ac_includes_default
31449 rm -f conftest.
$ac_objext
31450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31451 (eval $ac_compile) 2>conftest.er1
31453 grep -v '^ *+' conftest.er1
>conftest.err
31455 cat conftest.err
>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try
='test -z "$ac_c_werror_flag"
31459 || test ! -s conftest.err'
31460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31461 (eval $ac_try) 2>&5
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; } &&
31465 { ac_try
='test -s conftest.$ac_objext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_header_compiler
=yes
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.
$ac_ext >&5
31476 ac_header_compiler
=no
31478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31480 echo "${ECHO_T}$ac_header_compiler" >&6
31482 # Is the header present?
31483 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31484 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31485 cat >conftest.
$ac_ext <<_ACEOF
31488 cat confdefs.h
>>conftest.
$ac_ext
31489 cat >>conftest.
$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31496 grep -v '^ *+' conftest.er1
>conftest.err
31498 cat conftest.err
>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } >/dev
/null
; then
31501 if test -s conftest.err
; then
31502 ac_cpp_err
=$ac_c_preproc_warn_flag
31503 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31510 if test -z "$ac_cpp_err"; then
31511 ac_header_preproc
=yes
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.
$ac_ext >&5
31516 ac_header_preproc
=no
31518 rm -f conftest.err conftest.
$ac_ext
31519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31520 echo "${ECHO_T}$ac_header_preproc" >&6
31522 # So? What about this header?
31523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31525 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31526 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31527 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31528 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31529 ac_header_preproc
=yes
31532 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31533 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31534 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31535 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31536 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31537 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31538 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31539 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31540 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31541 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31542 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31543 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31546 ## ----------------------------------------- ##
31547 ## Report this to wx-dev@lists.wxwidgets.org ##
31548 ## ----------------------------------------- ##
31551 sed "s/^/$as_me: WARNING: /" >&2
31554 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31555 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31556 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31557 echo $ECHO_N "(cached) $ECHO_C" >&6
31559 ac_cv_header_GL_gl_h
=$ac_header_preproc
31561 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31562 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31565 if test $ac_cv_header_GL_gl_h = yes; then
31569 echo "$as_me:$LINENO: checking for -lGL" >&5
31570 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31573 for ac_dir
in $SEARCH_LIB;
31575 for ac_extension
in a so sl dylib dll.a
; do
31576 if test -f "$ac_dir/libGL.$ac_extension"; then
31577 ac_find_libraries
=$ac_dir
31583 if test "$ac_find_libraries" != "" ; then
31584 echo "$as_me:$LINENO: result: yes" >&5
31585 echo "${ECHO_T}yes" >&6
31588 if test "$ac_find_libraries" = "default location"; then
31591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31593 if test $result = 0; then
31596 ac_path_to_link
=" -L$ac_find_libraries"
31600 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31601 LDFLAGS_GL
="$ac_path_to_link"
31604 echo "$as_me:$LINENO: checking for -lGLU" >&5
31605 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31608 for ac_dir
in $SEARCH_LIB;
31610 for ac_extension
in a so sl dylib dll.a
; do
31611 if test -f "$ac_dir/libGLU.$ac_extension"; then
31612 ac_find_libraries
=$ac_dir
31618 if test "$ac_find_libraries" != "" ; then
31620 if test "$ac_find_libraries" = "default location"; then
31623 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31625 if test $result = 0; then
31628 ac_path_to_link
=" -L$ac_find_libraries"
31632 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31633 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31634 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31638 OPENGL_LIBS
="-lGL -lGLU"
31639 echo "$as_me:$LINENO: result: yes" >&5
31640 echo "${ECHO_T}yes" >&6
31642 echo "$as_me:$LINENO: result: no" >&5
31643 echo "${ECHO_T}no" >&6
31646 echo "$as_me:$LINENO: result: no" >&5
31647 echo "${ECHO_T}no" >&6
31650 if test "$found_gl" != 1; then
31651 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31652 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31655 for ac_dir
in $SEARCH_LIB;
31657 for ac_extension
in a so sl dylib dll.a
; do
31658 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31659 ac_find_libraries
=$ac_dir
31665 if test "$ac_find_libraries" != "" ; then
31667 if test "$ac_find_libraries" = "default location"; then
31670 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31672 if test $result = 0; then
31675 ac_path_to_link
=" -L$ac_find_libraries"
31679 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31680 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31681 echo "$as_me:$LINENO: result: yes" >&5
31682 echo "${ECHO_T}yes" >&6
31684 echo "$as_me:$LINENO: result: no" >&5
31685 echo "${ECHO_T}no" >&6
31693 if test "x$OPENGL_LIBS" = "x"; then
31694 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31695 echo "$as_me: error: OpenGL libraries not available" >&2;}
31696 { (exit 1); exit 1; }; }
31700 if test "$wxUSE_OPENGL" = "yes"; then
31702 cat >>confdefs.h
<<\_ACEOF
31703 #define wxUSE_OPENGL 1
31706 cat >>confdefs.h
<<\_ACEOF
31707 #define wxUSE_GLCANVAS 1
31710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31715 if test -n "$TOOLKIT" ; then
31716 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31721 if test "$wxUSE_SHARED" = "yes"; then
31725 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31726 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31731 if test "$wxUSE_SHARED" = "yes"; then
31734 found_versioning
=no
31737 if test $found_versioning = no
; then
31738 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31739 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31740 if test "${wx_cv_version_script+set}" = set; then
31741 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 echo "VER_1 { *; };" >conftest.sym
31745 echo "int main() { return 0; }" >conftest.cpp
31748 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31749 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; } ; then
31755 if test -s conftest.stderr
; then
31756 wx_cv_version_script
=no
31758 wx_cv_version_script
=yes
31761 wx_cv_version_script
=no
31764 if test $wx_cv_version_script = yes
31766 echo "struct B { virtual ~B() { } }; \
31767 struct D : public B { }; \
31768 void F() { D d; }" > conftest.cpp
31771 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31772 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31779 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31780 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31782 (eval $ac_try) 2>&5
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); }; }
31788 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31789 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; }
31796 wx_cv_version_script
=yes
31798 wx_cv_version_script
=no
31803 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31804 rm -f conftest1.output conftest2.output conftest3.output
31807 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31808 echo "${ECHO_T}$wx_cv_version_script" >&6
31809 if test $wx_cv_version_script = yes ; then
31810 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31816 *-*-linux* | *-*-gnu* )
31817 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31818 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31822 if test "$GCC" = yes ; then
31823 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31825 saveLdflags
="$LDFLAGS"
31826 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31827 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31828 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31829 cat >conftest.
$ac_ext <<_ACEOF
31832 cat confdefs.h
>>conftest.
$ac_ext
31833 cat >>conftest.
$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31844 rm -f conftest.
$ac_objext conftest
$ac_exeext
31845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31846 (eval $ac_link) 2>conftest.er1
31848 grep -v '^ *+' conftest.er1
>conftest.err
31850 cat conftest.err
>&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } &&
31853 { ac_try
='test -z "$ac_c_werror_flag"
31854 || test ! -s conftest.err'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; } &&
31860 { ac_try
='test -s conftest$ac_exeext'
31861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31862 (eval $ac_try) 2>&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); }; }; then
31867 echo "$as_me:$LINENO: result: yes" >&5
31868 echo "${ECHO_T}yes" >&6
31869 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31870 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31873 echo "$as_me: failed program was:" >&5
31874 sed 's/^/| /' conftest.
$ac_ext >&5
31877 echo "$as_me:$LINENO: result: no" >&5
31878 echo "${ECHO_T}no" >&6
31879 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31880 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31881 LDFLAGS
="$saveLdflags -Wl,-R,/"
31882 cat >conftest.
$ac_ext <<_ACEOF
31885 cat confdefs.h
>>conftest.
$ac_ext
31886 cat >>conftest.
$ac_ext <<_ACEOF
31887 /* end confdefs.h. */
31897 rm -f conftest.
$ac_objext conftest
$ac_exeext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31899 (eval $ac_link) 2>conftest.er1
31901 grep -v '^ *+' conftest.er1
>conftest.err
31903 cat conftest.err
>&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try
='test -z "$ac_c_werror_flag"
31907 || test ! -s conftest.err'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; } &&
31913 { ac_try
='test -s conftest$ac_exeext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31920 echo "$as_me:$LINENO: result: yes" >&5
31921 echo "${ECHO_T}yes" >&6
31922 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31923 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.
$ac_ext >&5
31930 echo "$as_me:$LINENO: result: no" >&5
31931 echo "${ECHO_T}no" >&6
31934 rm -f conftest.err conftest.
$ac_objext \
31935 conftest
$ac_exeext conftest.
$ac_ext
31938 rm -f conftest.err conftest.
$ac_objext \
31939 conftest
$ac_exeext conftest.
$ac_ext
31940 LDFLAGS
="$saveLdflags"
31942 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31943 WXCONFIG_RPATH
="-R\$libdir"
31948 install_name_tool
=`which install_name_tool`
31949 if test "$install_name_tool" -a -x "$install_name_tool"; then
31950 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31951 cat <<EOF >change-install-names
31953 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31954 inst_cmd="install_name_tool "
31955 for i in \${libnames} ; do
31956 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31960 chmod +x change
-install-names
31964 *-*-cygwin* | *-*-mingw32* )
31965 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31969 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31970 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31975 if test $wxUSE_RPATH = "no"; then
31976 SAMPLES_RPATH_FLAG
=''
31977 SAMPLES_RPATH_POSTLINK
=''
31985 config_linkage_component
="-static"
31992 lib_unicode_suffix
=
31994 if test "$wxUSE_UNICODE" = "yes"; then
31995 lib_unicode_suffix
=u
31996 WX_CHARTYPE
="unicode"
32001 WX_DEBUGTYPE
="release"
32003 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32005 WX_DEBUGTYPE
="debug"
32009 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32010 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32013 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32017 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32019 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32021 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32023 if test "$cross_compiling" = "yes"; then
32024 HOST_SUFFIX
="-$host_alias"
32025 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32026 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32029 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32030 if test "${TOOLKIT_DIR}" = "os2"; then
32031 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32033 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32038 if test "$wxUSE_COCOA" = 1; then
32042 ac_cpp
='$CPP $CPPFLAGS'
32043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32049 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32050 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32051 cat >conftest.
$ac_ext <<_ACEOF
32054 cat confdefs.h
>>conftest.
$ac_ext
32055 cat >>conftest.
$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 #include <AppKit/NSEvent.h>
32058 #include <CoreFoundation/CoreFoundation.h>
32068 rm -f conftest.
$ac_objext
32069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32070 (eval $ac_compile) 2>conftest.er1
32072 grep -v '^ *+' conftest.er1
>conftest.err
32074 cat conftest.err
>&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } &&
32077 { ac_try
='test -z "$ac_c_werror_flag"
32078 || test ! -s conftest.err'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; } &&
32084 { ac_try
='test -s conftest.$ac_objext'
32085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32086 (eval $ac_try) 2>&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; }; then
32090 echo "$as_me:$LINENO: result: no" >&5
32091 echo "${ECHO_T}no" >&6
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.
$ac_ext >&5
32096 echo "$as_me:$LINENO: result: yes" >&5
32097 echo "${ECHO_T}yes" >&6
32098 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32099 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32100 cat >conftest.
$ac_ext <<_ACEOF
32103 cat confdefs.h
>>conftest.
$ac_ext
32104 cat >>conftest.
$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32106 #define __Point__ 1
32107 #include <AppKit/NSEvent.h>
32108 #include <CoreFoundation/CoreFoundation.h>
32118 rm -f conftest.
$ac_objext
32119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32120 (eval $ac_compile) 2>conftest.er1
32122 grep -v '^ *+' conftest.er1
>conftest.err
32124 cat conftest.err
>&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } &&
32127 { ac_try
='test -z "$ac_c_werror_flag"
32128 || test ! -s conftest.err'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; } &&
32134 { ac_try
='test -s conftest.$ac_objext'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; }; then
32140 echo "$as_me:$LINENO: result: yes" >&5
32141 echo "${ECHO_T}yes" >&6
32142 cat >>confdefs.h
<<\_ACEOF
32143 #define __Point__ 1
32148 echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.
$ac_ext >&5
32151 { { echo "$as_me:$LINENO: error: no
32152 See \`config.log' for more details." >&5
32153 echo "$as_me: error: no
32154 See \`config.log' for more details." >&2;}
32155 { (exit 1); exit 1; }; }
32158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32163 ac_cpp
='$CPP $CPPFLAGS'
32164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32170 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32171 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32172 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32174 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32176 # Extract the first word of "Rez", so it can be a program name with args.
32177 set dummy Rez
; ac_word
=$2
32178 echo "$as_me:$LINENO: checking for $ac_word" >&5
32179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32180 if test "${ac_cv_prog_REZ+set}" = set; then
32181 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 if test -n "$REZ"; then
32184 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32187 for as_dir
in $PATH
32190 test -z "$as_dir" && as_dir
=.
32191 for ac_exec_ext
in '' $ac_executable_extensions; do
32192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32193 ac_cv_prog_REZ
="Rez"
32194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32200 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32203 REZ
=$ac_cv_prog_REZ
32204 if test -n "$REZ"; then
32205 echo "$as_me:$LINENO: result: $REZ" >&5
32206 echo "${ECHO_T}$REZ" >&6
32208 echo "$as_me:$LINENO: result: no" >&5
32209 echo "${ECHO_T}no" >&6
32212 # Extract the first word of "DeRez", so it can be a program name with args.
32213 set dummy DeRez
; ac_word
=$2
32214 echo "$as_me:$LINENO: checking for $ac_word" >&5
32215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32216 if test "${ac_cv_prog_DEREZ+set}" = set; then
32217 echo $ECHO_N "(cached) $ECHO_C" >&6
32219 if test -n "$DEREZ"; then
32220 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32223 for as_dir
in $PATH
32226 test -z "$as_dir" && as_dir
=.
32227 for ac_exec_ext
in '' $ac_executable_extensions; do
32228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32229 ac_cv_prog_DEREZ
="DeRez"
32230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32236 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32239 DEREZ
=$ac_cv_prog_DEREZ
32240 if test -n "$DEREZ"; then
32241 echo "$as_me:$LINENO: result: $DEREZ" >&5
32242 echo "${ECHO_T}$DEREZ" >&6
32244 echo "$as_me:$LINENO: result: no" >&5
32245 echo "${ECHO_T}no" >&6
32248 # Extract the first word of "SetFile", so it can be a program name with args.
32249 set dummy SetFile
; ac_word
=$2
32250 echo "$as_me:$LINENO: checking for $ac_word" >&5
32251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32252 if test "${ac_cv_prog_SETFILE+set}" = set; then
32253 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 if test -n "$SETFILE"; then
32256 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32259 for as_dir
in $PATH
32262 test -z "$as_dir" && as_dir
=.
32263 for ac_exec_ext
in '' $ac_executable_extensions; do
32264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32265 ac_cv_prog_SETFILE
="SetFile"
32266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32272 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32275 SETFILE
=$ac_cv_prog_SETFILE
32276 if test -n "$SETFILE"; then
32277 echo "$as_me:$LINENO: result: $SETFILE" >&5
32278 echo "${ECHO_T}$SETFILE" >&6
32280 echo "$as_me:$LINENO: result: no" >&5
32281 echo "${ECHO_T}no" >&6
32285 MACSETFILE
="\$(SETFILE)"
32287 if test "$wxUSE_MAC" = 1; then
32288 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32290 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32292 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32293 RESCOMP
="echo -n \| $REZ"
32294 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32300 if test "$wxUSE_PM" = 1; then
32302 WXCONFIG_RESFLAGS
="-ep"
32304 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32306 POSTLINK_COMMAND
="@true"
32313 echo "$as_me:$LINENO: checking for mode_t" >&5
32314 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32315 if test "${ac_cv_type_mode_t+set}" = set; then
32316 echo $ECHO_N "(cached) $ECHO_C" >&6
32318 cat >conftest.
$ac_ext <<_ACEOF
32321 cat confdefs.h
>>conftest.
$ac_ext
32322 cat >>conftest.
$ac_ext <<_ACEOF
32323 /* end confdefs.h. */
32324 $ac_includes_default
32330 if (sizeof (mode_t))
32336 rm -f conftest.
$ac_objext
32337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32338 (eval $ac_compile) 2>conftest.er1
32340 grep -v '^ *+' conftest.er1
>conftest.err
32342 cat conftest.err
>&5
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 (exit $ac_status); } &&
32345 { ac_try
='test -z "$ac_c_werror_flag"
32346 || test ! -s conftest.err'
32347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32348 (eval $ac_try) 2>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); }; } &&
32352 { ac_try
='test -s conftest.$ac_objext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_type_mode_t
=yes
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.
$ac_ext >&5
32363 ac_cv_type_mode_t
=no
32365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32367 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32368 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32369 if test $ac_cv_type_mode_t = yes; then
32373 cat >>confdefs.h
<<_ACEOF
32379 echo "$as_me:$LINENO: checking for off_t" >&5
32380 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32381 if test "${ac_cv_type_off_t+set}" = set; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32384 cat >conftest.
$ac_ext <<_ACEOF
32387 cat confdefs.h
>>conftest.
$ac_ext
32388 cat >>conftest.
$ac_ext <<_ACEOF
32389 /* end confdefs.h. */
32390 $ac_includes_default
32396 if (sizeof (off_t))
32402 rm -f conftest.
$ac_objext
32403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32404 (eval $ac_compile) 2>conftest.er1
32406 grep -v '^ *+' conftest.er1
>conftest.err
32408 cat conftest.err
>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try
='test -z "$ac_c_werror_flag"
32412 || test ! -s conftest.err'
32413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32414 (eval $ac_try) 2>&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); }; } &&
32418 { ac_try
='test -s conftest.$ac_objext'
32419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32420 (eval $ac_try) 2>&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); }; }; then
32424 ac_cv_type_off_t
=yes
32426 echo "$as_me: failed program was:" >&5
32427 sed 's/^/| /' conftest.
$ac_ext >&5
32429 ac_cv_type_off_t
=no
32431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32433 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32434 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32435 if test $ac_cv_type_off_t = yes; then
32439 cat >>confdefs.h
<<_ACEOF
32445 echo "$as_me:$LINENO: checking for pid_t" >&5
32446 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32447 if test "${ac_cv_type_pid_t+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 cat >conftest.
$ac_ext <<_ACEOF
32453 cat confdefs.h
>>conftest.
$ac_ext
32454 cat >>conftest.
$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32456 $ac_includes_default
32462 if (sizeof (pid_t))
32468 rm -f conftest.
$ac_objext
32469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32470 (eval $ac_compile) 2>conftest.er1
32472 grep -v '^ *+' conftest.er1
>conftest.err
32474 cat conftest.err
>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); } &&
32477 { ac_try
='test -z "$ac_c_werror_flag"
32478 || test ! -s conftest.err'
32479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32480 (eval $ac_try) 2>&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); }; } &&
32484 { ac_try
='test -s conftest.$ac_objext'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; }; then
32490 ac_cv_type_pid_t
=yes
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.
$ac_ext >&5
32495 ac_cv_type_pid_t
=no
32497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32499 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32500 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32501 if test $ac_cv_type_pid_t = yes; then
32505 cat >>confdefs.h
<<_ACEOF
32511 echo "$as_me:$LINENO: checking for size_t" >&5
32512 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32513 if test "${ac_cv_type_size_t+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 cat >conftest.
$ac_ext <<_ACEOF
32519 cat confdefs.h
>>conftest.
$ac_ext
32520 cat >>conftest.
$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 $ac_includes_default
32528 if (sizeof (size_t))
32534 rm -f conftest.
$ac_objext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32536 (eval $ac_compile) 2>conftest.er1
32538 grep -v '^ *+' conftest.er1
>conftest.err
32540 cat conftest.err
>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } &&
32543 { ac_try
='test -z "$ac_c_werror_flag"
32544 || test ! -s conftest.err'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32550 { ac_try
='test -s conftest.$ac_objext'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; }; then
32556 ac_cv_type_size_t
=yes
32558 echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.
$ac_ext >&5
32561 ac_cv_type_size_t
=no
32563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32565 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32566 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32567 if test $ac_cv_type_size_t = yes; then
32571 cat >>confdefs.h
<<_ACEOF
32572 #define size_t unsigned
32577 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32578 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32579 if test "${ac_cv_type_uid_t+set}" = set; then
32580 echo $ECHO_N "(cached) $ECHO_C" >&6
32582 cat >conftest.
$ac_ext <<_ACEOF
32585 cat confdefs.h
>>conftest.
$ac_ext
32586 cat >>conftest.
$ac_ext <<_ACEOF
32587 /* end confdefs.h. */
32588 #include <sys/types.h>
32591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32592 $EGREP "uid_t" >/dev
/null
2>&1; then
32593 ac_cv_type_uid_t
=yes
32595 ac_cv_type_uid_t
=no
32600 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32601 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32602 if test $ac_cv_type_uid_t = no
; then
32604 cat >>confdefs.h
<<\_ACEOF
32609 cat >>confdefs.h
<<\_ACEOF
32616 echo "$as_me:$LINENO: checking for ssize_t" >&5
32617 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32618 if test "${ac_cv_type_ssize_t+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 cat >conftest.
$ac_ext <<_ACEOF
32624 cat confdefs.h
>>conftest.
$ac_ext
32625 cat >>conftest.
$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 $ac_includes_default
32633 if (sizeof (ssize_t))
32639 rm -f conftest.
$ac_objext
32640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32641 (eval $ac_compile) 2>conftest.er1
32643 grep -v '^ *+' conftest.er1
>conftest.err
32645 cat conftest.err
>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); } &&
32648 { ac_try
='test -z "$ac_c_werror_flag"
32649 || test ! -s conftest.err'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; } &&
32655 { ac_try
='test -s conftest.$ac_objext'
32656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32657 (eval $ac_try) 2>&5
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; }; then
32661 ac_cv_type_ssize_t
=yes
32663 echo "$as_me: failed program was:" >&5
32664 sed 's/^/| /' conftest.
$ac_ext >&5
32666 ac_cv_type_ssize_t
=no
32668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32670 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32671 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32672 if test $ac_cv_type_ssize_t = yes; then
32674 cat >>confdefs.h
<<_ACEOF
32675 #define HAVE_SSIZE_T 1
32683 ac_cpp
='$CXXCPP $CPPFLAGS'
32684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32688 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32689 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32690 if test "${wx_cv_size_t_is_uint+set}" = set; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32694 cat >conftest.
$ac_ext <<_ACEOF
32697 cat confdefs.h
>>conftest.
$ac_ext
32698 cat >>conftest.
$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32700 #include <stddef.h>
32707 struct Foo { void foo(size_t); void foo(unsigned int); };
32715 rm -f conftest.
$ac_objext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32717 (eval $ac_compile) 2>conftest.er1
32719 grep -v '^ *+' conftest.er1
>conftest.err
32721 cat conftest.err
>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } &&
32724 { ac_try
='test -z "$ac_cxx_werror_flag"
32725 || test ! -s conftest.err'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; } &&
32731 { ac_try
='test -s conftest.$ac_objext'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; }; then
32737 wx_cv_size_t_is_uint
=no
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.
$ac_ext >&5
32742 wx_cv_size_t_is_uint
=yes
32745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32749 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32750 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32752 if test "$wx_cv_size_t_is_uint" = "yes"; then
32753 cat >>confdefs.h
<<\_ACEOF
32754 #define wxSIZE_T_IS_UINT 1
32758 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32759 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32760 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32761 echo $ECHO_N "(cached) $ECHO_C" >&6
32763 cat >conftest.
$ac_ext <<_ACEOF
32766 cat confdefs.h
>>conftest.
$ac_ext
32767 cat >>conftest.
$ac_ext <<_ACEOF
32768 /* end confdefs.h. */
32769 #include <stddef.h>
32776 struct Foo { void foo(size_t); void foo(unsigned long); };
32784 rm -f conftest.
$ac_objext
32785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32786 (eval $ac_compile) 2>conftest.er1
32788 grep -v '^ *+' conftest.er1
>conftest.err
32790 cat conftest.err
>&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); } &&
32793 { ac_try
='test -z "$ac_cxx_werror_flag"
32794 || test ! -s conftest.err'
32795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32796 (eval $ac_try) 2>&5
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); }; } &&
32800 { ac_try
='test -s conftest.$ac_objext'
32801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32802 (eval $ac_try) 2>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; }; then
32806 wx_cv_size_t_is_ulong
=no
32808 echo "$as_me: failed program was:" >&5
32809 sed 's/^/| /' conftest.
$ac_ext >&5
32811 wx_cv_size_t_is_ulong
=yes
32814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32817 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32818 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32820 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32821 cat >>confdefs.h
<<\_ACEOF
32822 #define wxSIZE_T_IS_ULONG 1
32829 ac_cpp
='$CPP $CPPFLAGS'
32830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32836 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32837 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32838 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 cat >conftest.
$ac_ext <<_ACEOF
32845 cat confdefs.h
>>conftest.
$ac_ext
32846 cat >>conftest.
$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32861 rm -f conftest.
$ac_objext
32862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32863 (eval $ac_compile) 2>conftest.er1
32865 grep -v '^ *+' conftest.er1
>conftest.err
32867 cat conftest.err
>&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } &&
32870 { ac_try
='test -z "$ac_c_werror_flag"
32871 || test ! -s conftest.err'
32872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32873 (eval $ac_try) 2>&5
32875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32876 (exit $ac_status); }; } &&
32877 { ac_try
='test -s conftest.$ac_objext'
32878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32879 (eval $ac_try) 2>&5
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); }; }; then
32884 wx_cv_struct_pw_gecos
=yes
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.
$ac_ext >&5
32891 wx_cv_struct_pw_gecos
=no
32895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32899 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32900 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32902 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32903 cat >>confdefs.h
<<\_ACEOF
32904 #define HAVE_PW_GECOS 1
32910 if test "$wxUSE_WCHAR_T" = "yes"; then
32911 cat >>confdefs.h
<<\_ACEOF
32912 #define wxUSE_WCHAR_T 1
32919 for ac_func
in wcslen
32921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32922 echo "$as_me:$LINENO: checking for $ac_func" >&5
32923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32924 if eval "test \"\${$as_ac_var+set}\" = set"; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 cat >conftest.
$ac_ext <<_ACEOF
32930 cat confdefs.h
>>conftest.
$ac_ext
32931 cat >>conftest.
$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32935 #define $ac_func innocuous_$ac_func
32937 /* System header to define __stub macros and hopefully few prototypes,
32938 which can conflict with char $ac_func (); below.
32939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32940 <limits.h> exists even on freestanding compilers. */
32943 # include <limits.h>
32945 # include <assert.h>
32950 /* Override any gcc2 internal prototype to avoid an error. */
32955 /* We use char because int might match the return type of a gcc2
32956 builtin and then its argument prototype would still apply. */
32958 /* The GNU C library defines this for functions which it implements
32959 to always fail with ENOSYS. Some functions are actually named
32960 something starting with __ and the normal name is an alias. */
32961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32964 char (*f) () = $ac_func;
32973 return f != $ac_func;
32978 rm -f conftest.
$ac_objext conftest
$ac_exeext
32979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32980 (eval $ac_link) 2>conftest.er1
32982 grep -v '^ *+' conftest.er1
>conftest.err
32984 cat conftest.err
>&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } &&
32987 { ac_try
='test -z "$ac_c_werror_flag"
32988 || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try
='test -s conftest$ac_exeext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 eval "$as_ac_var=yes"
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.
$ac_ext >&5
33005 eval "$as_ac_var=no"
33007 rm -f conftest.err conftest.
$ac_objext \
33008 conftest
$ac_exeext conftest.
$ac_ext
33010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33012 if test `eval echo '${'$as_ac_var'}'` = yes; then
33013 cat >>confdefs.h
<<_ACEOF
33014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33021 if test "$WCSLEN_FOUND" = 0; then
33022 if test "$TOOLKIT" = "MSW"; then
33023 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33024 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33025 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33028 ac_check_lib_save_LIBS
=$LIBS
33029 LIBS
="-lmsvcrt $LIBS"
33030 cat >conftest.
$ac_ext <<_ACEOF
33033 cat confdefs.h
>>conftest.
$ac_ext
33034 cat >>conftest.
$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33037 /* Override any gcc2 internal prototype to avoid an error. */
33041 /* We use char because int might match the return type of a gcc2
33042 builtin and then its argument prototype would still apply. */
33052 rm -f conftest.
$ac_objext conftest
$ac_exeext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33054 (eval $ac_link) 2>conftest.er1
33056 grep -v '^ *+' conftest.er1
>conftest.err
33058 cat conftest.err
>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try
='test -z "$ac_c_werror_flag"
33062 || test ! -s conftest.err'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33068 { ac_try
='test -s conftest$ac_exeext'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }; then
33074 ac_cv_lib_msvcrt_wcslen
=yes
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.
$ac_ext >&5
33079 ac_cv_lib_msvcrt_wcslen
=no
33081 rm -f conftest.err conftest.
$ac_objext \
33082 conftest
$ac_exeext conftest.
$ac_ext
33083 LIBS
=$ac_check_lib_save_LIBS
33085 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33086 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33087 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33092 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33093 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33094 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 ac_check_lib_save_LIBS
=$LIBS
33099 cat >conftest.
$ac_ext <<_ACEOF
33102 cat confdefs.h
>>conftest.
$ac_ext
33103 cat >>conftest.
$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33106 /* Override any gcc2 internal prototype to avoid an error. */
33110 /* We use char because int might match the return type of a gcc2
33111 builtin and then its argument prototype would still apply. */
33121 rm -f conftest.
$ac_objext conftest
$ac_exeext
33122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33123 (eval $ac_link) 2>conftest.er1
33125 grep -v '^ *+' conftest.er1
>conftest.err
33127 cat conftest.err
>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } &&
33130 { ac_try
='test -z "$ac_c_werror_flag"
33131 || test ! -s conftest.err'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; } &&
33137 { ac_try
='test -s conftest$ac_exeext'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; }; then
33143 ac_cv_lib_w_wcslen
=yes
33145 echo "$as_me: failed program was:" >&5
33146 sed 's/^/| /' conftest.
$ac_ext >&5
33148 ac_cv_lib_w_wcslen
=no
33150 rm -f conftest.err conftest.
$ac_objext \
33151 conftest
$ac_exeext conftest.
$ac_ext
33152 LIBS
=$ac_check_lib_save_LIBS
33154 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33155 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33156 if test $ac_cv_lib_w_wcslen = yes; then
33166 if test "$WCSLEN_FOUND" = 1; then
33167 cat >>confdefs.h
<<\_ACEOF
33168 #define HAVE_WCSLEN 1
33173 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33174 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33177 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33178 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33179 if test "${ac_cv_type_mbstate_t+set}" = set; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 cat >conftest.
$ac_ext <<_ACEOF
33185 cat confdefs.h
>>conftest.
$ac_ext
33186 cat >>conftest.
$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33193 if ((mbstate_t *) 0)
33195 if (sizeof (mbstate_t))
33201 rm -f conftest.
$ac_objext
33202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33203 (eval $ac_compile) 2>conftest.er1
33205 grep -v '^ *+' conftest.er1
>conftest.err
33207 cat conftest.err
>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); } &&
33210 { ac_try
='test -z "$ac_c_werror_flag"
33211 || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try
='test -s conftest.$ac_objext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 ac_cv_type_mbstate_t
=yes
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.
$ac_ext >&5
33228 ac_cv_type_mbstate_t
=no
33230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33232 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33233 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33234 if test $ac_cv_type_mbstate_t = yes; then
33236 cat >>confdefs.h
<<_ACEOF
33237 #define HAVE_MBSTATE_T 1
33241 for ac_func
in wcsrtombs
33243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33244 echo "$as_me:$LINENO: checking for $ac_func" >&5
33245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33246 if eval "test \"\${$as_ac_var+set}\" = set"; then
33247 echo $ECHO_N "(cached) $ECHO_C" >&6
33249 cat >conftest.
$ac_ext <<_ACEOF
33252 cat confdefs.h
>>conftest.
$ac_ext
33253 cat >>conftest.
$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33257 #define $ac_func innocuous_$ac_func
33259 /* System header to define __stub macros and hopefully few prototypes,
33260 which can conflict with char $ac_func (); below.
33261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33262 <limits.h> exists even on freestanding compilers. */
33265 # include <limits.h>
33267 # include <assert.h>
33272 /* Override any gcc2 internal prototype to avoid an error. */
33277 /* We use char because int might match the return type of a gcc2
33278 builtin and then its argument prototype would still apply. */
33280 /* The GNU C library defines this for functions which it implements
33281 to always fail with ENOSYS. Some functions are actually named
33282 something starting with __ and the normal name is an alias. */
33283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33286 char (*f) () = $ac_func;
33295 return f != $ac_func;
33300 rm -f conftest.
$ac_objext conftest
$ac_exeext
33301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33302 (eval $ac_link) 2>conftest.er1
33304 grep -v '^ *+' conftest.er1
>conftest.err
33306 cat conftest.err
>&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); } &&
33309 { ac_try
='test -z "$ac_c_werror_flag"
33310 || test ! -s conftest.err'
33311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312 (eval $ac_try) 2>&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; } &&
33316 { ac_try
='test -s conftest$ac_exeext'
33317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33318 (eval $ac_try) 2>&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); }; }; then
33322 eval "$as_ac_var=yes"
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.
$ac_ext >&5
33327 eval "$as_ac_var=no"
33329 rm -f conftest.err conftest.
$ac_objext \
33330 conftest
$ac_exeext conftest.
$ac_ext
33332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33334 if test `eval echo '${'$as_ac_var'}'` = yes; then
33335 cat >>confdefs.h
<<_ACEOF
33336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33345 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33346 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33350 ac_cpp
='$CXXCPP $CPPFLAGS'
33351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33358 for ac_func
in snprintf vsnprintf
33360 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33361 echo "$as_me:$LINENO: checking for $ac_func" >&5
33362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33363 if eval "test \"\${$as_ac_var+set}\" = set"; then
33364 echo $ECHO_N "(cached) $ECHO_C" >&6
33366 cat >conftest.
$ac_ext <<_ACEOF
33369 cat confdefs.h
>>conftest.
$ac_ext
33370 cat >>conftest.
$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33374 #define $ac_func innocuous_$ac_func
33376 /* System header to define __stub macros and hopefully few prototypes,
33377 which can conflict with char $ac_func (); below.
33378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33379 <limits.h> exists even on freestanding compilers. */
33382 # include <limits.h>
33384 # include <assert.h>
33389 /* Override any gcc2 internal prototype to avoid an error. */
33394 /* We use char because int might match the return type of a gcc2
33395 builtin and then its argument prototype would still apply. */
33397 /* The GNU C library defines this for functions which it implements
33398 to always fail with ENOSYS. Some functions are actually named
33399 something starting with __ and the normal name is an alias. */
33400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33403 char (*f) () = $ac_func;
33412 return f != $ac_func;
33417 rm -f conftest.
$ac_objext conftest
$ac_exeext
33418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33419 (eval $ac_link) 2>conftest.er1
33421 grep -v '^ *+' conftest.er1
>conftest.err
33423 cat conftest.err
>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); } &&
33426 { ac_try
='test -z "$ac_cxx_werror_flag"
33427 || test ! -s conftest.err'
33428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33429 (eval $ac_try) 2>&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); }; } &&
33433 { ac_try
='test -s conftest$ac_exeext'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; }; then
33439 eval "$as_ac_var=yes"
33441 echo "$as_me: failed program was:" >&5
33442 sed 's/^/| /' conftest.
$ac_ext >&5
33444 eval "$as_ac_var=no"
33446 rm -f conftest.err conftest.
$ac_objext \
33447 conftest
$ac_exeext conftest.
$ac_ext
33449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33451 if test `eval echo '${'$as_ac_var'}'` = yes; then
33452 cat >>confdefs.h
<<_ACEOF
33453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33460 if test "$ac_cv_func_vsnprintf" = "yes"; then
33461 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33462 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33463 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33464 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 cat >conftest.
$ac_ext <<_ACEOF
33470 cat confdefs.h
>>conftest.
$ac_ext
33471 cat >>conftest.
$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33475 #include <stdarg.h>
33477 #if __MSL__ >= 0x6000
33479 using namespace std;
33489 vsnprintf(buf, 10u, "%s", ap);
33495 rm -f conftest.
$ac_objext
33496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33497 (eval $ac_compile) 2>conftest.er1
33499 grep -v '^ *+' conftest.er1
>conftest.err
33501 cat conftest.err
>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); } &&
33504 { ac_try
='test -z "$ac_cxx_werror_flag"
33505 || test ! -s conftest.err'
33506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33507 (eval $ac_try) 2>&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); }; } &&
33511 { ac_try
='test -s conftest.$ac_objext'
33512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33513 (eval $ac_try) 2>&5
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); }; }; then
33517 wx_cv_func_vsnprintf_decl
=yes
33519 echo "$as_me: failed program was:" >&5
33520 sed 's/^/| /' conftest.
$ac_ext >&5
33522 wx_cv_func_vsnprintf_decl
=no
33525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33529 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33530 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33532 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33533 cat >>confdefs.h
<<\_ACEOF
33534 #define HAVE_VSNPRINTF_DECL 1
33538 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33539 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33540 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33541 echo $ECHO_N "(cached) $ECHO_C" >&6
33544 cat >conftest.
$ac_ext <<_ACEOF
33547 cat confdefs.h
>>conftest.
$ac_ext
33548 cat >>conftest.
$ac_ext <<_ACEOF
33549 /* end confdefs.h. */
33552 #include <stdarg.h>
33554 #if __MSL__ >= 0x6000
33556 using namespace std;
33566 const char *fmt = "%s";
33567 vsnprintf(buf, 10u, fmt, ap);
33573 rm -f conftest.
$ac_objext
33574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33575 (eval $ac_compile) 2>conftest.er1
33577 grep -v '^ *+' conftest.er1
>conftest.err
33579 cat conftest.err
>&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); } &&
33582 { ac_try
='test -z "$ac_cxx_werror_flag"
33583 || test ! -s conftest.err'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; } &&
33589 { ac_try
='test -s conftest.$ac_objext'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; }; then
33595 wx_cv_func_broken_vsnprintf_decl
=no
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.
$ac_ext >&5
33600 wx_cv_func_broken_vsnprintf_decl
=yes
33603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33607 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33608 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33610 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33611 cat >>confdefs.h
<<\_ACEOF
33612 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33619 if test "$ac_cv_func_snprintf" = "yes"; then
33620 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33621 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33622 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33623 echo $ECHO_N "(cached) $ECHO_C" >&6
33626 cat >conftest.
$ac_ext <<_ACEOF
33629 cat confdefs.h
>>conftest.
$ac_ext
33630 cat >>conftest.
$ac_ext <<_ACEOF
33631 /* end confdefs.h. */
33634 #include <stdarg.h>
33636 #if __MSL__ >= 0x6000
33638 using namespace std;
33647 snprintf(buf, 10u, "%s", "wx");
33653 rm -f conftest.
$ac_objext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33655 (eval $ac_compile) 2>conftest.er1
33657 grep -v '^ *+' conftest.er1
>conftest.err
33659 cat conftest.err
>&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try
='test -z "$ac_cxx_werror_flag"
33663 || test ! -s conftest.err'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; } &&
33669 { ac_try
='test -s conftest.$ac_objext'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; }; then
33675 wx_cv_func_snprintf_decl
=yes
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.
$ac_ext >&5
33680 wx_cv_func_snprintf_decl
=no
33683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33687 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33688 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33690 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33691 cat >>confdefs.h
<<\_ACEOF
33692 #define HAVE_SNPRINTF_DECL 1
33696 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33697 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33698 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 cat >conftest.
$ac_ext <<_ACEOF
33705 cat confdefs.h
>>conftest.
$ac_ext
33706 cat >>conftest.
$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33710 #include <stdarg.h>
33712 #if __MSL__ >= 0x6000
33714 using namespace std;
33723 const char *fmt = "%s";
33724 snprintf(buf, 10u, fmt, "wx");
33730 rm -f conftest.
$ac_objext
33731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33732 (eval $ac_compile) 2>conftest.er1
33734 grep -v '^ *+' conftest.er1
>conftest.err
33736 cat conftest.err
>&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } &&
33739 { ac_try
='test -z "$ac_cxx_werror_flag"
33740 || test ! -s conftest.err'
33741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742 (eval $ac_try) 2>&5
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); }; } &&
33746 { ac_try
='test -s conftest.$ac_objext'
33747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33748 (eval $ac_try) 2>&5
33750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33751 (exit $ac_status); }; }; then
33752 wx_cv_func_broken_snprintf_decl
=no
33754 echo "$as_me: failed program was:" >&5
33755 sed 's/^/| /' conftest.
$ac_ext >&5
33757 wx_cv_func_broken_snprintf_decl
=yes
33760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33764 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33765 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33767 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33768 cat >>confdefs.h
<<\_ACEOF
33769 #define HAVE_BROKEN_SNPRINTF_DECL 1
33776 if test "$wxUSE_UNICODE" = yes; then
33783 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33786 echo "$as_me:$LINENO: checking for $ac_func" >&5
33787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33788 if eval "test \"\${$as_ac_var+set}\" = set"; then
33789 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 cat >conftest.
$ac_ext <<_ACEOF
33794 cat confdefs.h
>>conftest.
$ac_ext
33795 cat >>conftest.
$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33799 #define $ac_func innocuous_$ac_func
33801 /* System header to define __stub macros and hopefully few prototypes,
33802 which can conflict with char $ac_func (); below.
33803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33804 <limits.h> exists even on freestanding compilers. */
33807 # include <limits.h>
33809 # include <assert.h>
33814 /* Override any gcc2 internal prototype to avoid an error. */
33819 /* We use char because int might match the return type of a gcc2
33820 builtin and then its argument prototype would still apply. */
33822 /* The GNU C library defines this for functions which it implements
33823 to always fail with ENOSYS. Some functions are actually named
33824 something starting with __ and the normal name is an alias. */
33825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33828 char (*f) () = $ac_func;
33837 return f != $ac_func;
33842 rm -f conftest.
$ac_objext conftest
$ac_exeext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33844 (eval $ac_link) 2>conftest.er1
33846 grep -v '^ *+' conftest.er1
>conftest.err
33848 cat conftest.err
>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try
='test -z "$ac_cxx_werror_flag"
33852 || test ! -s conftest.err'
33853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33854 (eval $ac_try) 2>&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); }; } &&
33858 { ac_try
='test -s conftest$ac_exeext'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; }; then
33864 eval "$as_ac_var=yes"
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.
$ac_ext >&5
33869 eval "$as_ac_var=no"
33871 rm -f conftest.err conftest.
$ac_objext \
33872 conftest
$ac_exeext conftest.
$ac_ext
33874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33876 if test `eval echo '${'$as_ac_var'}'` = yes; then
33877 cat >>confdefs.h
<<_ACEOF
33878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33885 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33886 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33887 cat >conftest.
$ac_ext <<_ACEOF
33890 cat confdefs.h
>>conftest.
$ac_ext
33891 cat >>conftest.
$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33902 rm -f conftest.
$ac_objext
33903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33904 (eval $ac_compile) 2>conftest.er1
33906 grep -v '^ *+' conftest.er1
>conftest.err
33908 cat conftest.err
>&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); } &&
33911 { ac_try
='test -z "$ac_cxx_werror_flag"
33912 || test ! -s conftest.err'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; } &&
33918 { ac_try
='test -s conftest.$ac_objext'
33919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33920 (eval $ac_try) 2>&5
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); }; }; then
33924 echo "$as_me:$LINENO: result: yes" >&5
33925 echo "${ECHO_T}yes" >&6
33926 cat >>confdefs.h
<<\_ACEOF
33927 #define HAVE__VSNWPRINTF 1
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.
$ac_ext >&5
33934 echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6
33937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33941 ac_cpp
='$CPP $CPPFLAGS'
33942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33947 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33949 for ac_func
in fnmatch
33951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33952 echo "$as_me:$LINENO: checking for $ac_func" >&5
33953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33954 if eval "test \"\${$as_ac_var+set}\" = set"; then
33955 echo $ECHO_N "(cached) $ECHO_C" >&6
33957 cat >conftest.
$ac_ext <<_ACEOF
33960 cat confdefs.h
>>conftest.
$ac_ext
33961 cat >>conftest.
$ac_ext <<_ACEOF
33962 /* end confdefs.h. */
33963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33965 #define $ac_func innocuous_$ac_func
33967 /* System header to define __stub macros and hopefully few prototypes,
33968 which can conflict with char $ac_func (); below.
33969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33970 <limits.h> exists even on freestanding compilers. */
33973 # include <limits.h>
33975 # include <assert.h>
33980 /* Override any gcc2 internal prototype to avoid an error. */
33985 /* We use char because int might match the return type of a gcc2
33986 builtin and then its argument prototype would still apply. */
33988 /* The GNU C library defines this for functions which it implements
33989 to always fail with ENOSYS. Some functions are actually named
33990 something starting with __ and the normal name is an alias. */
33991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33994 char (*f) () = $ac_func;
34003 return f != $ac_func;
34008 rm -f conftest.
$ac_objext conftest
$ac_exeext
34009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34010 (eval $ac_link) 2>conftest.er1
34012 grep -v '^ *+' conftest.er1
>conftest.err
34014 cat conftest.err
>&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); } &&
34017 { ac_try
='test -z "$ac_c_werror_flag"
34018 || test ! -s conftest.err'
34019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); }; } &&
34024 { ac_try
='test -s conftest$ac_exeext'
34025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34026 (eval $ac_try) 2>&5
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); }; }; then
34030 eval "$as_ac_var=yes"
34032 echo "$as_me: failed program was:" >&5
34033 sed 's/^/| /' conftest.
$ac_ext >&5
34035 eval "$as_ac_var=no"
34037 rm -f conftest.err conftest.
$ac_objext \
34038 conftest
$ac_exeext conftest.
$ac_ext
34040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34042 if test `eval echo '${'$as_ac_var'}'` = yes; then
34043 cat >>confdefs.h
<<_ACEOF
34044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34052 if test "$wxUSE_FILE" = "yes"; then
34054 for ac_func
in fsync
34056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34057 echo "$as_me:$LINENO: checking for $ac_func" >&5
34058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34059 if eval "test \"\${$as_ac_var+set}\" = set"; then
34060 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 cat >conftest.
$ac_ext <<_ACEOF
34065 cat confdefs.h
>>conftest.
$ac_ext
34066 cat >>conftest.
$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34070 #define $ac_func innocuous_$ac_func
34072 /* System header to define __stub macros and hopefully few prototypes,
34073 which can conflict with char $ac_func (); below.
34074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075 <limits.h> exists even on freestanding compilers. */
34078 # include <limits.h>
34080 # include <assert.h>
34085 /* Override any gcc2 internal prototype to avoid an error. */
34090 /* We use char because int might match the return type of a gcc2
34091 builtin and then its argument prototype would still apply. */
34093 /* The GNU C library defines this for functions which it implements
34094 to always fail with ENOSYS. Some functions are actually named
34095 something starting with __ and the normal name is an alias. */
34096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34099 char (*f) () = $ac_func;
34108 return f != $ac_func;
34113 rm -f conftest.
$ac_objext conftest
$ac_exeext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34115 (eval $ac_link) 2>conftest.er1
34117 grep -v '^ *+' conftest.er1
>conftest.err
34119 cat conftest.err
>&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try
='test -z "$ac_c_werror_flag"
34123 || test ! -s conftest.err'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; } &&
34129 { ac_try
='test -s conftest$ac_exeext'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; }; then
34135 eval "$as_ac_var=yes"
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.
$ac_ext >&5
34140 eval "$as_ac_var=no"
34142 rm -f conftest.err conftest.
$ac_objext \
34143 conftest
$ac_exeext conftest.
$ac_ext
34145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h
<<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34158 if test "$TOOLKIT" != "MSW"; then
34162 ac_cpp
='$CXXCPP $CPPFLAGS'
34163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34170 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34171 if test "${with_libiconv_prefix+set}" = set; then
34172 withval
="$with_libiconv_prefix"
34174 for dir
in `echo "$withval" | tr : ' '`; do
34175 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34176 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34181 echo "$as_me:$LINENO: checking for iconv" >&5
34182 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34183 if test "${am_cv_func_iconv+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 am_cv_func_iconv
="no, consider installing GNU libiconv"
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <stdlib.h>
34200 iconv_t cd = iconv_open("","");
34201 iconv(cd,NULL,NULL,NULL,NULL);
34207 rm -f conftest.
$ac_objext conftest
$ac_exeext
34208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34209 (eval $ac_link) 2>conftest.er1
34211 grep -v '^ *+' conftest.er1
>conftest.err
34213 cat conftest.err
>&5
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); } &&
34216 { ac_try
='test -z "$ac_cxx_werror_flag"
34217 || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try
='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 am_cv_func_iconv
=yes
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34235 rm -f conftest.err conftest.
$ac_objext \
34236 conftest
$ac_exeext conftest.
$ac_ext
34237 if test "$am_cv_func_iconv" != yes; then
34238 am_save_LIBS
="$LIBS"
34239 LIBS
="$LIBS -liconv"
34240 cat >conftest.
$ac_ext <<_ACEOF
34243 cat confdefs.h
>>conftest.
$ac_ext
34244 cat >>conftest.
$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 #include <stdlib.h>
34251 iconv_t cd = iconv_open("","");
34252 iconv(cd,NULL,NULL,NULL,NULL);
34258 rm -f conftest.
$ac_objext conftest
$ac_exeext
34259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34260 (eval $ac_link) 2>conftest.er1
34262 grep -v '^ *+' conftest.er1
>conftest.err
34264 cat conftest.err
>&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } &&
34267 { ac_try
='test -z "$ac_cxx_werror_flag"
34268 || test ! -s conftest.err'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; } &&
34274 { ac_try
='test -s conftest$ac_exeext'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; }; then
34280 am_cv_lib_iconv
=yes
34281 am_cv_func_iconv
=yes
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.
$ac_ext >&5
34287 rm -f conftest.err conftest.
$ac_objext \
34288 conftest
$ac_exeext conftest.
$ac_ext
34289 LIBS
="$am_save_LIBS"
34293 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34294 echo "${ECHO_T}$am_cv_func_iconv" >&6
34295 if test "$am_cv_func_iconv" = yes; then
34297 cat >>confdefs.h
<<\_ACEOF
34298 #define HAVE_ICONV 1
34301 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34302 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34303 if test "${wx_cv_func_iconv_const+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34306 cat >conftest.
$ac_ext <<_ACEOF
34309 cat confdefs.h
>>conftest.
$ac_ext
34310 cat >>conftest.
$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34313 #include <stdlib.h>
34319 #if defined(__STDC__) || defined(__cplusplus)
34320 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34333 rm -f conftest.
$ac_objext
34334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34335 (eval $ac_compile) 2>conftest.er1
34337 grep -v '^ *+' conftest.er1
>conftest.err
34339 cat conftest.err
>&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); } &&
34342 { ac_try
='test -z "$ac_cxx_werror_flag"
34343 || test ! -s conftest.err'
34344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 (eval $ac_try) 2>&5
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); }; } &&
34349 { ac_try
='test -s conftest.$ac_objext'
34350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 (eval $ac_try) 2>&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); }; }; then
34355 wx_cv_func_iconv_const
="no"
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.
$ac_ext >&5
34360 wx_cv_func_iconv_const
="yes"
34363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34366 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34367 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34370 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34371 iconv_const
="const"
34375 cat >>confdefs.h
<<_ACEOF
34376 #define ICONV_CONST $iconv_const
34381 if test "$am_cv_lib_iconv" = yes; then
34386 LIBS
="$LIBICONV $LIBS"
34388 ac_cpp
='$CPP $CPPFLAGS'
34389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34394 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34396 for ac_func
in sigaction
34398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34399 echo "$as_me:$LINENO: checking for $ac_func" >&5
34400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34401 if eval "test \"\${$as_ac_var+set}\" = set"; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34404 cat >conftest.
$ac_ext <<_ACEOF
34407 cat confdefs.h
>>conftest.
$ac_ext
34408 cat >>conftest.
$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34412 #define $ac_func innocuous_$ac_func
34414 /* System header to define __stub macros and hopefully few prototypes,
34415 which can conflict with char $ac_func (); below.
34416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34417 <limits.h> exists even on freestanding compilers. */
34420 # include <limits.h>
34422 # include <assert.h>
34427 /* Override any gcc2 internal prototype to avoid an error. */
34432 /* We use char because int might match the return type of a gcc2
34433 builtin and then its argument prototype would still apply. */
34435 /* The GNU C library defines this for functions which it implements
34436 to always fail with ENOSYS. Some functions are actually named
34437 something starting with __ and the normal name is an alias. */
34438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34441 char (*f) () = $ac_func;
34450 return f != $ac_func;
34455 rm -f conftest.
$ac_objext conftest
$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457 (eval $ac_link) 2>conftest.er1
34459 grep -v '^ *+' conftest.er1
>conftest.err
34461 cat conftest.err
>&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try
='test -z "$ac_c_werror_flag"
34465 || test ! -s conftest.err'
34466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34467 (eval $ac_try) 2>&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); }; } &&
34471 { ac_try
='test -s conftest$ac_exeext'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; }; then
34477 eval "$as_ac_var=yes"
34479 echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.
$ac_ext >&5
34482 eval "$as_ac_var=no"
34484 rm -f conftest.err conftest.
$ac_objext \
34485 conftest
$ac_exeext conftest.
$ac_ext
34487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34489 if test `eval echo '${'$as_ac_var'}'` = yes; then
34490 cat >>confdefs.h
<<_ACEOF
34491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34498 if test "$ac_cv_func_sigaction" = "no"; then
34499 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34500 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34501 wxUSE_ON_FATAL_EXCEPTION
=no
34504 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34506 ac_cpp
='$CXXCPP $CPPFLAGS'
34507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34512 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34513 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34514 if test "${wx_cv_type_sa_handler+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 cat >conftest.
$ac_ext <<_ACEOF
34521 cat confdefs.h
>>conftest.
$ac_ext
34522 cat >>conftest.
$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524 #include <signal.h>
34529 extern void testSigHandler(int);
34531 struct sigaction sa;
34532 sa.sa_handler = testSigHandler;
34538 rm -f conftest.
$ac_objext
34539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34540 (eval $ac_compile) 2>conftest.er1
34542 grep -v '^ *+' conftest.er1
>conftest.err
34544 cat conftest.err
>&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); } &&
34547 { ac_try
='test -z "$ac_cxx_werror_flag"
34548 || test ! -s conftest.err'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; } &&
34554 { ac_try
='test -s conftest.$ac_objext'
34555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556 (eval $ac_try) 2>&5
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); }; }; then
34561 wx_cv_type_sa_handler
=int
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.
$ac_ext >&5
34568 wx_cv_type_sa_handler
=void
34571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34574 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34575 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34578 ac_cpp
='$CPP $CPPFLAGS'
34579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34584 cat >>confdefs.h
<<_ACEOF
34585 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34591 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34593 ac_cpp
='$CXXCPP $CPPFLAGS'
34594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34599 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34600 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34601 if test "${wx_cv_func_backtrace+set}" = set; then
34602 echo $ECHO_N "(cached) $ECHO_C" >&6
34605 cat >conftest.
$ac_ext <<_ACEOF
34608 cat confdefs.h
>>conftest.
$ac_ext
34609 cat >>conftest.
$ac_ext <<_ACEOF
34610 /* end confdefs.h. */
34611 #include <execinfo.h>
34619 backtrace(trace, 1);
34620 messages = backtrace_symbols(trace, 1);
34626 rm -f conftest.
$ac_objext
34627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34628 (eval $ac_compile) 2>conftest.er1
34630 grep -v '^ *+' conftest.er1
>conftest.err
34632 cat conftest.err
>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } &&
34635 { ac_try
='test -z "$ac_cxx_werror_flag"
34636 || test ! -s conftest.err'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; } &&
34642 { ac_try
='test -s conftest.$ac_objext'
34643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34644 (eval $ac_try) 2>&5
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); }; }; then
34648 wx_cv_func_backtrace
=yes
34650 echo "$as_me: failed program was:" >&5
34651 sed 's/^/| /' conftest.
$ac_ext >&5
34653 wx_cv_func_backtrace
=no
34656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34660 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34661 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34664 if test "$wx_cv_func_backtrace" = "no"; then
34665 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34666 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34667 wxUSE_STACKWALKER
=no
34669 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34670 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34671 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34675 cat >conftest.
$ac_ext <<_ACEOF
34678 cat confdefs.h
>>conftest.
$ac_ext
34679 cat >>conftest.
$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681 #include <cxxabi.h>
34687 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34693 rm -f conftest.
$ac_objext conftest
$ac_exeext
34694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34695 (eval $ac_link) 2>conftest.er1
34697 grep -v '^ *+' conftest.er1
>conftest.err
34699 cat conftest.err
>&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); } &&
34702 { ac_try
='test -z "$ac_cxx_werror_flag"
34703 || test ! -s conftest.err'
34704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705 (eval $ac_try) 2>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); }; } &&
34709 { ac_try
='test -s conftest$ac_exeext'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; }; then
34715 wx_cv_func_cxa_demangle
=yes
34717 echo "$as_me: failed program was:" >&5
34718 sed 's/^/| /' conftest.
$ac_ext >&5
34720 wx_cv_func_cxa_demangle
=no
34723 rm -f conftest.err conftest.
$ac_objext \
34724 conftest
$ac_exeext conftest.
$ac_ext
34728 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34729 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34731 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34732 cat >>confdefs.h
<<\_ACEOF
34733 #define HAVE_CXA_DEMANGLE 1
34740 ac_cpp
='$CPP $CPPFLAGS'
34741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34747 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34748 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34749 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34750 wxUSE_STACKWALKER
=no
34756 for ac_func
in mkstemp mktemp
34758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34759 echo "$as_me:$LINENO: checking for $ac_func" >&5
34760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34761 if eval "test \"\${$as_ac_var+set}\" = set"; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34764 cat >conftest.
$ac_ext <<_ACEOF
34767 cat confdefs.h
>>conftest.
$ac_ext
34768 cat >>conftest.
$ac_ext <<_ACEOF
34769 /* end confdefs.h. */
34770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34772 #define $ac_func innocuous_$ac_func
34774 /* System header to define __stub macros and hopefully few prototypes,
34775 which can conflict with char $ac_func (); below.
34776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34777 <limits.h> exists even on freestanding compilers. */
34780 # include <limits.h>
34782 # include <assert.h>
34787 /* Override any gcc2 internal prototype to avoid an error. */
34792 /* We use char because int might match the return type of a gcc2
34793 builtin and then its argument prototype would still apply. */
34795 /* The GNU C library defines this for functions which it implements
34796 to always fail with ENOSYS. Some functions are actually named
34797 something starting with __ and the normal name is an alias. */
34798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34801 char (*f) () = $ac_func;
34810 return f != $ac_func;
34815 rm -f conftest.
$ac_objext conftest
$ac_exeext
34816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34817 (eval $ac_link) 2>conftest.er1
34819 grep -v '^ *+' conftest.er1
>conftest.err
34821 cat conftest.err
>&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); } &&
34824 { ac_try
='test -z "$ac_c_werror_flag"
34825 || test ! -s conftest.err'
34826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34827 (eval $ac_try) 2>&5
34829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34830 (exit $ac_status); }; } &&
34831 { ac_try
='test -s conftest$ac_exeext'
34832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34833 (eval $ac_try) 2>&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); }; }; then
34837 eval "$as_ac_var=yes"
34839 echo "$as_me: failed program was:" >&5
34840 sed 's/^/| /' conftest.
$ac_ext >&5
34842 eval "$as_ac_var=no"
34844 rm -f conftest.err conftest.
$ac_objext \
34845 conftest
$ac_exeext conftest.
$ac_ext
34847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34849 if test `eval echo '${'$as_ac_var'}'` = yes; then
34850 cat >>confdefs.h
<<_ACEOF
34851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34858 echo "$as_me:$LINENO: checking for statfs" >&5
34859 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34860 if test "${wx_cv_func_statfs+set}" = set; then
34861 echo $ECHO_N "(cached) $ECHO_C" >&6
34863 cat >conftest.
$ac_ext <<_ACEOF
34866 cat confdefs.h
>>conftest.
$ac_ext
34867 cat >>conftest.
$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34870 #if defined(__BSD__)
34871 #include <sys/param.h>
34872 #include <sys/mount.h>
34874 #include <sys/vfs.h>
34892 rm -f conftest.
$ac_objext
34893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34894 (eval $ac_compile) 2>conftest.er1
34896 grep -v '^ *+' conftest.er1
>conftest.err
34898 cat conftest.err
>&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } &&
34901 { ac_try
='test -z "$ac_c_werror_flag"
34902 || test ! -s conftest.err'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; } &&
34908 { ac_try
='test -s conftest.$ac_objext'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; }; then
34914 wx_cv_func_statfs
=yes
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.
$ac_ext >&5
34919 wx_cv_func_statfs
=no
34922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34925 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34926 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34928 if test "$wx_cv_func_statfs" = "yes"; then
34930 ac_cpp
='$CXXCPP $CPPFLAGS'
34931 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34935 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34936 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34937 if test "${wx_cv_func_statfs_decl+set}" = set; then
34938 echo $ECHO_N "(cached) $ECHO_C" >&6
34940 cat >conftest.
$ac_ext <<_ACEOF
34943 cat confdefs.h
>>conftest.
$ac_ext
34944 cat >>conftest.
$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34947 #if defined(__BSD__)
34948 #include <sys/param.h>
34949 #include <sys/mount.h>
34951 #include <sys/vfs.h>
34965 rm -f conftest.
$ac_objext
34966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34967 (eval $ac_compile) 2>conftest.er1
34969 grep -v '^ *+' conftest.er1
>conftest.err
34971 cat conftest.err
>&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); } &&
34974 { ac_try
='test -z "$ac_cxx_werror_flag"
34975 || test ! -s conftest.err'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; } &&
34981 { ac_try
='test -s conftest.$ac_objext'
34982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34983 (eval $ac_try) 2>&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); }; }; then
34987 wx_cv_func_statfs_decl
=yes
34989 echo "$as_me: failed program was:" >&5
34990 sed 's/^/| /' conftest.
$ac_ext >&5
34992 wx_cv_func_statfs_decl
=no
34995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34998 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34999 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35001 ac_cpp
='$CPP $CPPFLAGS'
35002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35007 if test "$wx_cv_func_statfs_decl" = "yes"; then
35008 cat >>confdefs.h
<<\_ACEOF
35009 #define HAVE_STATFS_DECL 1
35014 wx_cv_type_statvfs_t
="struct statfs"
35015 cat >>confdefs.h
<<\_ACEOF
35016 #define HAVE_STATFS 1
35020 echo "$as_me:$LINENO: checking for statvfs" >&5
35021 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35022 if test "${wx_cv_func_statvfs+set}" = set; then
35023 echo $ECHO_N "(cached) $ECHO_C" >&6
35025 cat >conftest.
$ac_ext <<_ACEOF
35028 cat confdefs.h
>>conftest.
$ac_ext
35029 cat >>conftest.
$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35032 #include <stddef.h>
35033 #include <sys/statvfs.h>
35039 statvfs("/", NULL);
35045 rm -f conftest.
$ac_objext
35046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35047 (eval $ac_compile) 2>conftest.er1
35049 grep -v '^ *+' conftest.er1
>conftest.err
35051 cat conftest.err
>&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); } &&
35054 { ac_try
='test -z "$ac_c_werror_flag"
35055 || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try
='test -s conftest.$ac_objext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35067 wx_cv_func_statvfs
=yes
35069 echo "$as_me: failed program was:" >&5
35070 sed 's/^/| /' conftest.
$ac_ext >&5
35072 wx_cv_func_statvfs
=no
35075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35078 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35079 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35081 if test "$wx_cv_func_statvfs" = "yes"; then
35083 ac_cpp
='$CXXCPP $CPPFLAGS'
35084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35089 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35090 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35091 if test "${wx_cv_type_statvfs_t+set}" = set; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 cat >conftest.
$ac_ext <<_ACEOF
35097 cat confdefs.h
>>conftest.
$ac_ext
35098 cat >>conftest.
$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35101 #include <sys/statvfs.h>
35118 rm -f conftest.
$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 2>conftest.er1
35122 grep -v '^ *+' conftest.er1
>conftest.err
35124 cat conftest.err
>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try
='test -z "$ac_cxx_werror_flag"
35128 || test ! -s conftest.err'
35129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35130 (eval $ac_try) 2>&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; } &&
35134 { ac_try
='test -s conftest.$ac_objext'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; }; then
35140 wx_cv_type_statvfs_t
=statvfs_t
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.
$ac_ext >&5
35146 cat >conftest.
$ac_ext <<_ACEOF
35149 cat confdefs.h
>>conftest.
$ac_ext
35150 cat >>conftest.
$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35153 #include <sys/statvfs.h>
35170 rm -f conftest.
$ac_objext
35171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35172 (eval $ac_compile) 2>conftest.er1
35174 grep -v '^ *+' conftest.er1
>conftest.err
35176 cat conftest.err
>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); } &&
35179 { ac_try
='test -z "$ac_cxx_werror_flag"
35180 || test ! -s conftest.err'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; } &&
35186 { ac_try
='test -s conftest.$ac_objext'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; }; then
35192 wx_cv_type_statvfs_t
="struct statvfs"
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.
$ac_ext >&5
35197 wx_cv_type_statvfs_t
="unknown"
35200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35207 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35208 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35211 ac_cpp
='$CPP $CPPFLAGS'
35212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35218 cat >>confdefs.h
<<\_ACEOF
35219 #define HAVE_STATVFS 1
35224 wx_cv_type_statvfs_t
="unknown"
35228 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35229 cat >>confdefs.h
<<_ACEOF
35230 #define WX_STATFS_T $wx_cv_type_statvfs_t
35234 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35235 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35238 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35241 for ac_func
in fcntl flock
35243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35244 echo "$as_me:$LINENO: checking for $ac_func" >&5
35245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35246 if eval "test \"\${$as_ac_var+set}\" = set"; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 cat >conftest.
$ac_ext <<_ACEOF
35252 cat confdefs.h
>>conftest.
$ac_ext
35253 cat >>conftest.
$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35257 #define $ac_func innocuous_$ac_func
35259 /* System header to define __stub macros and hopefully few prototypes,
35260 which can conflict with char $ac_func (); below.
35261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35262 <limits.h> exists even on freestanding compilers. */
35265 # include <limits.h>
35267 # include <assert.h>
35272 /* Override any gcc2 internal prototype to avoid an error. */
35277 /* We use char because int might match the return type of a gcc2
35278 builtin and then its argument prototype would still apply. */
35280 /* The GNU C library defines this for functions which it implements
35281 to always fail with ENOSYS. Some functions are actually named
35282 something starting with __ and the normal name is an alias. */
35283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35286 char (*f) () = $ac_func;
35295 return f != $ac_func;
35300 rm -f conftest.
$ac_objext conftest
$ac_exeext
35301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35302 (eval $ac_link) 2>conftest.er1
35304 grep -v '^ *+' conftest.er1
>conftest.err
35306 cat conftest.err
>&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } &&
35309 { ac_try
='test -z "$ac_c_werror_flag"
35310 || test ! -s conftest.err'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; } &&
35316 { ac_try
='test -s conftest$ac_exeext'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; }; then
35322 eval "$as_ac_var=yes"
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.
$ac_ext >&5
35327 eval "$as_ac_var=no"
35329 rm -f conftest.err conftest.
$ac_objext \
35330 conftest
$ac_exeext conftest.
$ac_ext
35332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35334 if test `eval echo '${'$as_ac_var'}'` = yes; then
35335 cat >>confdefs.h
<<_ACEOF
35336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35343 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35344 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35345 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35346 wxUSE_SNGLINST_CHECKER
=no
35351 for ac_func
in timegm
35353 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35354 echo "$as_me:$LINENO: checking for $ac_func" >&5
35355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35356 if eval "test \"\${$as_ac_var+set}\" = set"; then
35357 echo $ECHO_N "(cached) $ECHO_C" >&6
35359 cat >conftest.
$ac_ext <<_ACEOF
35362 cat confdefs.h
>>conftest.
$ac_ext
35363 cat >>conftest.
$ac_ext <<_ACEOF
35364 /* end confdefs.h. */
35365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35367 #define $ac_func innocuous_$ac_func
35369 /* System header to define __stub macros and hopefully few prototypes,
35370 which can conflict with char $ac_func (); below.
35371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35372 <limits.h> exists even on freestanding compilers. */
35375 # include <limits.h>
35377 # include <assert.h>
35382 /* Override any gcc2 internal prototype to avoid an error. */
35387 /* We use char because int might match the return type of a gcc2
35388 builtin and then its argument prototype would still apply. */
35390 /* The GNU C library defines this for functions which it implements
35391 to always fail with ENOSYS. Some functions are actually named
35392 something starting with __ and the normal name is an alias. */
35393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35396 char (*f) () = $ac_func;
35405 return f != $ac_func;
35410 rm -f conftest.
$ac_objext conftest
$ac_exeext
35411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35412 (eval $ac_link) 2>conftest.er1
35414 grep -v '^ *+' conftest.er1
>conftest.err
35416 cat conftest.err
>&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } &&
35419 { ac_try
='test -z "$ac_c_werror_flag"
35420 || test ! -s conftest.err'
35421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422 (eval $ac_try) 2>&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); }; } &&
35426 { ac_try
='test -s conftest$ac_exeext'
35427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35428 (eval $ac_try) 2>&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); }; }; then
35432 eval "$as_ac_var=yes"
35434 echo "$as_me: failed program was:" >&5
35435 sed 's/^/| /' conftest.
$ac_ext >&5
35437 eval "$as_ac_var=no"
35439 rm -f conftest.err conftest.
$ac_objext \
35440 conftest
$ac_exeext conftest.
$ac_ext
35442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35444 if test `eval echo '${'$as_ac_var'}'` = yes; then
35445 cat >>confdefs.h
<<_ACEOF
35446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35455 for ac_func
in putenv setenv
35457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35458 echo "$as_me:$LINENO: checking for $ac_func" >&5
35459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35460 if eval "test \"\${$as_ac_var+set}\" = set"; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 cat >conftest.
$ac_ext <<_ACEOF
35466 cat confdefs.h
>>conftest.
$ac_ext
35467 cat >>conftest.
$ac_ext <<_ACEOF
35468 /* end confdefs.h. */
35469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35471 #define $ac_func innocuous_$ac_func
35473 /* System header to define __stub macros and hopefully few prototypes,
35474 which can conflict with char $ac_func (); below.
35475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35476 <limits.h> exists even on freestanding compilers. */
35479 # include <limits.h>
35481 # include <assert.h>
35486 /* Override any gcc2 internal prototype to avoid an error. */
35491 /* We use char because int might match the return type of a gcc2
35492 builtin and then its argument prototype would still apply. */
35494 /* The GNU C library defines this for functions which it implements
35495 to always fail with ENOSYS. Some functions are actually named
35496 something starting with __ and the normal name is an alias. */
35497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35500 char (*f) () = $ac_func;
35509 return f != $ac_func;
35514 rm -f conftest.
$ac_objext conftest
$ac_exeext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35516 (eval $ac_link) 2>conftest.er1
35518 grep -v '^ *+' conftest.er1
>conftest.err
35520 cat conftest.err
>&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } &&
35523 { ac_try
='test -z "$ac_c_werror_flag"
35524 || test ! -s conftest.err'
35525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526 (eval $ac_try) 2>&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); }; } &&
35530 { ac_try
='test -s conftest$ac_exeext'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; }; then
35536 eval "$as_ac_var=yes"
35538 echo "$as_me: failed program was:" >&5
35539 sed 's/^/| /' conftest.
$ac_ext >&5
35541 eval "$as_ac_var=no"
35543 rm -f conftest.err conftest.
$ac_objext \
35544 conftest
$ac_exeext conftest.
$ac_ext
35546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35548 if test `eval echo '${'$as_ac_var'}'` = yes; then
35549 cat >>confdefs.h
<<_ACEOF
35550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35557 HAVE_SOME_SLEEP_FUNC
=0
35558 if test "$USE_BEOS" = 1; then
35559 cat >>confdefs.h
<<\_ACEOF
35560 #define HAVE_SLEEP 1
35563 HAVE_SOME_SLEEP_FUNC
=1
35566 if test "$USE_DARWIN" = 1; then
35567 cat >>confdefs.h
<<\_ACEOF
35568 #define HAVE_USLEEP 1
35571 HAVE_SOME_SLEEP_FUNC
=1
35574 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35577 for ac_func
in nanosleep
35579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35580 echo "$as_me:$LINENO: checking for $ac_func" >&5
35581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35582 if eval "test \"\${$as_ac_var+set}\" = set"; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35585 cat >conftest.
$ac_ext <<_ACEOF
35588 cat confdefs.h
>>conftest.
$ac_ext
35589 cat >>conftest.
$ac_ext <<_ACEOF
35590 /* end confdefs.h. */
35591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35593 #define $ac_func innocuous_$ac_func
35595 /* System header to define __stub macros and hopefully few prototypes,
35596 which can conflict with char $ac_func (); below.
35597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35598 <limits.h> exists even on freestanding compilers. */
35601 # include <limits.h>
35603 # include <assert.h>
35608 /* Override any gcc2 internal prototype to avoid an error. */
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35616 /* The GNU C library defines this for functions which it implements
35617 to always fail with ENOSYS. Some functions are actually named
35618 something starting with __ and the normal name is an alias. */
35619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35622 char (*f) () = $ac_func;
35631 return f != $ac_func;
35636 rm -f conftest.
$ac_objext conftest
$ac_exeext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35638 (eval $ac_link) 2>conftest.er1
35640 grep -v '^ *+' conftest.er1
>conftest.err
35642 cat conftest.err
>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); } &&
35645 { ac_try
='test -z "$ac_c_werror_flag"
35646 || test ! -s conftest.err'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; } &&
35652 { ac_try
='test -s conftest$ac_exeext'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; }; then
35658 eval "$as_ac_var=yes"
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.
$ac_ext >&5
35663 eval "$as_ac_var=no"
35665 rm -f conftest.err conftest.
$ac_objext \
35666 conftest
$ac_exeext conftest.
$ac_ext
35668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35670 if test `eval echo '${'$as_ac_var'}'` = yes; then
35671 cat >>confdefs.h
<<_ACEOF
35672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35674 cat >>confdefs.h
<<\_ACEOF
35675 #define HAVE_NANOSLEEP 1
35680 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35681 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35682 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35683 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 ac_check_lib_save_LIBS
=$LIBS
35686 LIBS
="-lposix4 $LIBS"
35687 cat >conftest.
$ac_ext <<_ACEOF
35690 cat confdefs.h
>>conftest.
$ac_ext
35691 cat >>conftest.
$ac_ext <<_ACEOF
35692 /* end confdefs.h. */
35694 /* Override any gcc2 internal prototype to avoid an error. */
35698 /* We use char because int might match the return type of a gcc2
35699 builtin and then its argument prototype would still apply. */
35709 rm -f conftest.
$ac_objext conftest
$ac_exeext
35710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35711 (eval $ac_link) 2>conftest.er1
35713 grep -v '^ *+' conftest.er1
>conftest.err
35715 cat conftest.err
>&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); } &&
35718 { ac_try
='test -z "$ac_c_werror_flag"
35719 || test ! -s conftest.err'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; } &&
35725 { ac_try
='test -s conftest$ac_exeext'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; }; then
35731 ac_cv_lib_posix4_nanosleep
=yes
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.
$ac_ext >&5
35736 ac_cv_lib_posix4_nanosleep
=no
35738 rm -f conftest.err conftest.
$ac_objext \
35739 conftest
$ac_exeext conftest.
$ac_ext
35740 LIBS
=$ac_check_lib_save_LIBS
35742 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35743 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35744 if test $ac_cv_lib_posix4_nanosleep = yes; then
35746 cat >>confdefs.h
<<\_ACEOF
35747 #define HAVE_NANOSLEEP 1
35750 POSIX4_LINK
=" -lposix4"
35755 for ac_func
in usleep
35757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35758 echo "$as_me:$LINENO: checking for $ac_func" >&5
35759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35760 if eval "test \"\${$as_ac_var+set}\" = set"; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 cat >conftest.
$ac_ext <<_ACEOF
35766 cat confdefs.h
>>conftest.
$ac_ext
35767 cat >>conftest.
$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35771 #define $ac_func innocuous_$ac_func
35773 /* System header to define __stub macros and hopefully few prototypes,
35774 which can conflict with char $ac_func (); below.
35775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35776 <limits.h> exists even on freestanding compilers. */
35779 # include <limits.h>
35781 # include <assert.h>
35786 /* Override any gcc2 internal prototype to avoid an error. */
35791 /* We use char because int might match the return type of a gcc2
35792 builtin and then its argument prototype would still apply. */
35794 /* The GNU C library defines this for functions which it implements
35795 to always fail with ENOSYS. Some functions are actually named
35796 something starting with __ and the normal name is an alias. */
35797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35800 char (*f) () = $ac_func;
35809 return f != $ac_func;
35814 rm -f conftest.
$ac_objext conftest
$ac_exeext
35815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35816 (eval $ac_link) 2>conftest.er1
35818 grep -v '^ *+' conftest.er1
>conftest.err
35820 cat conftest.err
>&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } &&
35823 { ac_try
='test -z "$ac_c_werror_flag"
35824 || test ! -s conftest.err'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; } &&
35830 { ac_try
='test -s conftest$ac_exeext'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; }; then
35836 eval "$as_ac_var=yes"
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.
$ac_ext >&5
35841 eval "$as_ac_var=no"
35843 rm -f conftest.err conftest.
$ac_objext \
35844 conftest
$ac_exeext conftest.
$ac_ext
35846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35848 if test `eval echo '${'$as_ac_var'}'` = yes; then
35849 cat >>confdefs.h
<<_ACEOF
35850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35852 cat >>confdefs.h
<<\_ACEOF
35853 #define HAVE_USLEEP 1
35857 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35858 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35876 for ac_func
in uname gethostname
35878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35879 echo "$as_me:$LINENO: checking for $ac_func" >&5
35880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35881 if eval "test \"\${$as_ac_var+set}\" = set"; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35884 cat >conftest.
$ac_ext <<_ACEOF
35887 cat confdefs.h
>>conftest.
$ac_ext
35888 cat >>conftest.
$ac_ext <<_ACEOF
35889 /* end confdefs.h. */
35890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35892 #define $ac_func innocuous_$ac_func
35894 /* System header to define __stub macros and hopefully few prototypes,
35895 which can conflict with char $ac_func (); below.
35896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35897 <limits.h> exists even on freestanding compilers. */
35900 # include <limits.h>
35902 # include <assert.h>
35907 /* Override any gcc2 internal prototype to avoid an error. */
35912 /* We use char because int might match the return type of a gcc2
35913 builtin and then its argument prototype would still apply. */
35915 /* The GNU C library defines this for functions which it implements
35916 to always fail with ENOSYS. Some functions are actually named
35917 something starting with __ and the normal name is an alias. */
35918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35921 char (*f) () = $ac_func;
35930 return f != $ac_func;
35935 rm -f conftest.
$ac_objext conftest
$ac_exeext
35936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35937 (eval $ac_link) 2>conftest.er1
35939 grep -v '^ *+' conftest.er1
>conftest.err
35941 cat conftest.err
>&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } &&
35944 { ac_try
='test -z "$ac_c_werror_flag"
35945 || test ! -s conftest.err'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; } &&
35951 { ac_try
='test -s conftest$ac_exeext'
35952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35953 (eval $ac_try) 2>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); }; }; then
35957 eval "$as_ac_var=yes"
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.
$ac_ext >&5
35962 eval "$as_ac_var=no"
35964 rm -f conftest.err conftest.
$ac_objext \
35965 conftest
$ac_exeext conftest.
$ac_ext
35967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35969 if test `eval echo '${'$as_ac_var'}'` = yes; then
35970 cat >>confdefs.h
<<_ACEOF
35971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35979 ac_cpp
='$CXXCPP $CPPFLAGS'
35980 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35986 for ac_func
in strtok_r
35988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35989 echo "$as_me:$LINENO: checking for $ac_func" >&5
35990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35991 if eval "test \"\${$as_ac_var+set}\" = set"; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 cat >conftest.
$ac_ext <<_ACEOF
35997 cat confdefs.h
>>conftest.
$ac_ext
35998 cat >>conftest.
$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36002 #define $ac_func innocuous_$ac_func
36004 /* System header to define __stub macros and hopefully few prototypes,
36005 which can conflict with char $ac_func (); below.
36006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36007 <limits.h> exists even on freestanding compilers. */
36010 # include <limits.h>
36012 # include <assert.h>
36017 /* Override any gcc2 internal prototype to avoid an error. */
36022 /* We use char because int might match the return type of a gcc2
36023 builtin and then its argument prototype would still apply. */
36025 /* The GNU C library defines this for functions which it implements
36026 to always fail with ENOSYS. Some functions are actually named
36027 something starting with __ and the normal name is an alias. */
36028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36031 char (*f) () = $ac_func;
36040 return f != $ac_func;
36045 rm -f conftest.
$ac_objext conftest
$ac_exeext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36047 (eval $ac_link) 2>conftest.er1
36049 grep -v '^ *+' conftest.er1
>conftest.err
36051 cat conftest.err
>&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try
='test -z "$ac_cxx_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try
='test -s conftest$ac_exeext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 eval "$as_ac_var=yes"
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.
$ac_ext >&5
36072 eval "$as_ac_var=no"
36074 rm -f conftest.err conftest.
$ac_objext \
36075 conftest
$ac_exeext conftest.
$ac_ext
36077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36079 if test `eval echo '${'$as_ac_var'}'` = yes; then
36080 cat >>confdefs.h
<<_ACEOF
36081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36089 ac_cpp
='$CPP $CPPFLAGS'
36090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36097 for ac_func
in inet_addr
36099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36100 echo "$as_me:$LINENO: checking for $ac_func" >&5
36101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36102 if eval "test \"\${$as_ac_var+set}\" = set"; then
36103 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 cat >conftest.
$ac_ext <<_ACEOF
36108 cat confdefs.h
>>conftest.
$ac_ext
36109 cat >>conftest.
$ac_ext <<_ACEOF
36110 /* end confdefs.h. */
36111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36113 #define $ac_func innocuous_$ac_func
36115 /* System header to define __stub macros and hopefully few prototypes,
36116 which can conflict with char $ac_func (); below.
36117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36118 <limits.h> exists even on freestanding compilers. */
36121 # include <limits.h>
36123 # include <assert.h>
36128 /* Override any gcc2 internal prototype to avoid an error. */
36133 /* We use char because int might match the return type of a gcc2
36134 builtin and then its argument prototype would still apply. */
36136 /* The GNU C library defines this for functions which it implements
36137 to always fail with ENOSYS. Some functions are actually named
36138 something starting with __ and the normal name is an alias. */
36139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36142 char (*f) () = $ac_func;
36151 return f != $ac_func;
36156 rm -f conftest.
$ac_objext conftest
$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36160 grep -v '^ *+' conftest.er1
>conftest.err
36162 cat conftest.err
>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try
='test -z "$ac_c_werror_flag"
36166 || test ! -s conftest.err'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; } &&
36172 { ac_try
='test -s conftest$ac_exeext'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; }; then
36178 eval "$as_ac_var=yes"
36180 echo "$as_me: failed program was:" >&5
36181 sed 's/^/| /' conftest.
$ac_ext >&5
36183 eval "$as_ac_var=no"
36185 rm -f conftest.err conftest.
$ac_objext \
36186 conftest
$ac_exeext conftest.
$ac_ext
36188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36190 if test `eval echo '${'$as_ac_var'}'` = yes; then
36191 cat >>confdefs.h
<<_ACEOF
36192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36194 cat >>confdefs.h
<<\_ACEOF
36195 #define HAVE_INET_ADDR 1
36200 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36201 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36202 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36203 echo $ECHO_N "(cached) $ECHO_C" >&6
36205 ac_check_lib_save_LIBS
=$LIBS
36207 cat >conftest.
$ac_ext <<_ACEOF
36210 cat confdefs.h
>>conftest.
$ac_ext
36211 cat >>conftest.
$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36214 /* Override any gcc2 internal prototype to avoid an error. */
36218 /* We use char because int might match the return type of a gcc2
36219 builtin and then its argument prototype would still apply. */
36229 rm -f conftest.
$ac_objext conftest
$ac_exeext
36230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36231 (eval $ac_link) 2>conftest.er1
36233 grep -v '^ *+' conftest.er1
>conftest.err
36235 cat conftest.err
>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } &&
36238 { ac_try
='test -z "$ac_c_werror_flag"
36239 || test ! -s conftest.err'
36240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36241 (eval $ac_try) 2>&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; } &&
36245 { ac_try
='test -s conftest$ac_exeext'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; }; then
36251 ac_cv_lib_nsl_inet_addr
=yes
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.
$ac_ext >&5
36256 ac_cv_lib_nsl_inet_addr
=no
36258 rm -f conftest.err conftest.
$ac_objext \
36259 conftest
$ac_exeext conftest.
$ac_ext
36260 LIBS
=$ac_check_lib_save_LIBS
36262 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36263 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36264 if test $ac_cv_lib_nsl_inet_addr = yes; then
36268 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36269 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36270 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36271 echo $ECHO_N "(cached) $ECHO_C" >&6
36273 ac_check_lib_save_LIBS
=$LIBS
36274 LIBS
="-lresolv $LIBS"
36275 cat >conftest.
$ac_ext <<_ACEOF
36278 cat confdefs.h
>>conftest.
$ac_ext
36279 cat >>conftest.
$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36282 /* Override any gcc2 internal prototype to avoid an error. */
36286 /* We use char because int might match the return type of a gcc2
36287 builtin and then its argument prototype would still apply. */
36297 rm -f conftest.
$ac_objext conftest
$ac_exeext
36298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36299 (eval $ac_link) 2>conftest.er1
36301 grep -v '^ *+' conftest.er1
>conftest.err
36303 cat conftest.err
>&5
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); } &&
36306 { ac_try
='test -z "$ac_c_werror_flag"
36307 || test ! -s conftest.err'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; } &&
36313 { ac_try
='test -s conftest$ac_exeext'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; }; then
36319 ac_cv_lib_resolv_inet_addr
=yes
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.
$ac_ext >&5
36324 ac_cv_lib_resolv_inet_addr
=no
36326 rm -f conftest.err conftest.
$ac_objext \
36327 conftest
$ac_exeext conftest.
$ac_ext
36328 LIBS
=$ac_check_lib_save_LIBS
36330 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36331 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36332 if test $ac_cv_lib_resolv_inet_addr = yes; then
36336 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36337 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36338 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36339 echo $ECHO_N "(cached) $ECHO_C" >&6
36341 ac_check_lib_save_LIBS
=$LIBS
36342 LIBS
="-lsocket $LIBS"
36343 cat >conftest.
$ac_ext <<_ACEOF
36346 cat confdefs.h
>>conftest.
$ac_ext
36347 cat >>conftest.
$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36350 /* Override any gcc2 internal prototype to avoid an error. */
36354 /* We use char because int might match the return type of a gcc2
36355 builtin and then its argument prototype would still apply. */
36365 rm -f conftest.
$ac_objext conftest
$ac_exeext
36366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36367 (eval $ac_link) 2>conftest.er1
36369 grep -v '^ *+' conftest.er1
>conftest.err
36371 cat conftest.err
>&5
36372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36373 (exit $ac_status); } &&
36374 { ac_try
='test -z "$ac_c_werror_flag"
36375 || test ! -s conftest.err'
36376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36377 (eval $ac_try) 2>&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); }; } &&
36381 { ac_try
='test -s conftest$ac_exeext'
36382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36383 (eval $ac_try) 2>&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); }; }; then
36387 ac_cv_lib_socket_inet_addr
=yes
36389 echo "$as_me: failed program was:" >&5
36390 sed 's/^/| /' conftest.
$ac_ext >&5
36392 ac_cv_lib_socket_inet_addr
=no
36394 rm -f conftest.err conftest.
$ac_objext \
36395 conftest
$ac_exeext conftest.
$ac_ext
36396 LIBS
=$ac_check_lib_save_LIBS
36398 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36399 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36400 if test $ac_cv_lib_socket_inet_addr = yes; then
36420 for ac_func
in inet_aton
36422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36425 if eval "test \"\${$as_ac_var+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 cat >conftest.
$ac_ext <<_ACEOF
36431 cat confdefs.h
>>conftest.
$ac_ext
36432 cat >>conftest.
$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36444 # include <limits.h>
36446 # include <assert.h>
36451 /* Override any gcc2 internal prototype to avoid an error. */
36456 /* We use char because int might match the return type of a gcc2
36457 builtin and then its argument prototype would still apply. */
36459 /* The GNU C library defines this for functions which it implements
36460 to always fail with ENOSYS. Some functions are actually named
36461 something starting with __ and the normal name is an alias. */
36462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36465 char (*f) () = $ac_func;
36474 return f != $ac_func;
36479 rm -f conftest.
$ac_objext conftest
$ac_exeext
36480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36481 (eval $ac_link) 2>conftest.er1
36483 grep -v '^ *+' conftest.er1
>conftest.err
36485 cat conftest.err
>&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); } &&
36488 { ac_try
='test -z "$ac_c_werror_flag"
36489 || test ! -s conftest.err'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; } &&
36495 { ac_try
='test -s conftest$ac_exeext'
36496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36497 (eval $ac_try) 2>&5
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); }; }; then
36501 eval "$as_ac_var=yes"
36503 echo "$as_me: failed program was:" >&5
36504 sed 's/^/| /' conftest.
$ac_ext >&5
36506 eval "$as_ac_var=no"
36508 rm -f conftest.err conftest.
$ac_objext \
36509 conftest
$ac_exeext conftest.
$ac_ext
36511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36513 if test `eval echo '${'$as_ac_var'}'` = yes; then
36514 cat >>confdefs.h
<<_ACEOF
36515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36517 cat >>confdefs.h
<<\_ACEOF
36518 #define HAVE_INET_ATON 1
36523 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36524 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36525 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36526 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36529 ac_check_lib_save_LIBS
=$LIBS
36530 LIBS
="-l$INET_LINK $LIBS"
36531 cat >conftest.
$ac_ext <<_ACEOF
36534 cat confdefs.h
>>conftest.
$ac_ext
36535 cat >>conftest.
$ac_ext <<_ACEOF
36536 /* end confdefs.h. */
36538 /* Override any gcc2 internal prototype to avoid an error. */
36542 /* We use char because int might match the return type of a gcc2
36543 builtin and then its argument prototype would still apply. */
36553 rm -f conftest.
$ac_objext conftest
$ac_exeext
36554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36555 (eval $ac_link) 2>conftest.er1
36557 grep -v '^ *+' conftest.er1
>conftest.err
36559 cat conftest.err
>&5
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); } &&
36562 { ac_try
='test -z "$ac_c_werror_flag"
36563 || test ! -s conftest.err'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try
='test -s conftest$ac_exeext'
36570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36571 (eval $ac_try) 2>&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); }; }; then
36575 eval "$as_ac_Lib=yes"
36577 echo "$as_me: failed program was:" >&5
36578 sed 's/^/| /' conftest.
$ac_ext >&5
36580 eval "$as_ac_Lib=no"
36582 rm -f conftest.err conftest.
$ac_objext \
36583 conftest
$ac_exeext conftest.
$ac_ext
36584 LIBS
=$ac_check_lib_save_LIBS
36586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36587 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36588 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36589 cat >>confdefs.h
<<\_ACEOF
36590 #define HAVE_INET_ATON 1
36600 if test "x$INET_LINK" != "x"; then
36601 cat >>confdefs.h
<<\_ACEOF
36602 #define HAVE_INET_ADDR 1
36605 INET_LINK
=" -l$INET_LINK"
36613 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36614 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36615 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36618 ac_check_lib_save_LIBS
=$LIBS
36620 cat >conftest.
$ac_ext <<_ACEOF
36623 cat confdefs.h
>>conftest.
$ac_ext
36624 cat >>conftest.
$ac_ext <<_ACEOF
36625 /* end confdefs.h. */
36627 /* Override any gcc2 internal prototype to avoid an error. */
36631 /* We use char because int might match the return type of a gcc2
36632 builtin and then its argument prototype would still apply. */
36642 rm -f conftest.
$ac_objext conftest
$ac_exeext
36643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36644 (eval $ac_link) 2>conftest.er1
36646 grep -v '^ *+' conftest.er1
>conftest.err
36648 cat conftest.err
>&5
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); } &&
36651 { ac_try
='test -z "$ac_c_werror_flag"
36652 || test ! -s conftest.err'
36653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36654 (eval $ac_try) 2>&5
36656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36657 (exit $ac_status); }; } &&
36658 { ac_try
='test -s conftest$ac_exeext'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; }; then
36664 ac_cv_lib_esd_esd_close
=yes
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.
$ac_ext >&5
36669 ac_cv_lib_esd_esd_close
=no
36671 rm -f conftest.err conftest.
$ac_objext \
36672 conftest
$ac_exeext conftest.
$ac_ext
36673 LIBS
=$ac_check_lib_save_LIBS
36675 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36676 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36677 if test $ac_cv_lib_esd_esd_close = yes; then
36680 for ac_header
in esd.h
36682 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36684 echo "$as_me:$LINENO: checking for $ac_header" >&5
36685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36692 # Is the header compilable?
36693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36695 cat >conftest.
$ac_ext <<_ACEOF
36698 cat confdefs.h
>>conftest.
$ac_ext
36699 cat >>conftest.
$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701 $ac_includes_default
36702 #include <$ac_header>
36704 rm -f conftest.
$ac_objext
36705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36706 (eval $ac_compile) 2>conftest.er1
36708 grep -v '^ *+' conftest.er1
>conftest.err
36710 cat conftest.err
>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); } &&
36713 { ac_try
='test -z "$ac_c_werror_flag"
36714 || test ! -s conftest.err'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; } &&
36720 { ac_try
='test -s conftest.$ac_objext'
36721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36722 (eval $ac_try) 2>&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); }; }; then
36726 ac_header_compiler
=yes
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.
$ac_ext >&5
36731 ac_header_compiler
=no
36733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36735 echo "${ECHO_T}$ac_header_compiler" >&6
36737 # Is the header present?
36738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36740 cat >conftest.
$ac_ext <<_ACEOF
36743 cat confdefs.h
>>conftest.
$ac_ext
36744 cat >>conftest.
$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746 #include <$ac_header>
36748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36751 grep -v '^ *+' conftest.er1
>conftest.err
36753 cat conftest.err
>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } >/dev
/null
; then
36756 if test -s conftest.err
; then
36757 ac_cpp_err
=$ac_c_preproc_warn_flag
36758 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36765 if test -z "$ac_cpp_err"; then
36766 ac_header_preproc
=yes
36768 echo "$as_me: failed program was:" >&5
36769 sed 's/^/| /' conftest.
$ac_ext >&5
36771 ac_header_preproc
=no
36773 rm -f conftest.err conftest.
$ac_ext
36774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36775 echo "${ECHO_T}$ac_header_preproc" >&6
36777 # So? What about this header?
36778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36784 ac_header_preproc
=yes
36787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36801 ## ----------------------------------------- ##
36802 ## Report this to wx-dev@lists.wxwidgets.org ##
36803 ## ----------------------------------------- ##
36806 sed "s/^/$as_me: WARNING: /" >&2
36809 echo "$as_me:$LINENO: checking for $ac_header" >&5
36810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36812 echo $ECHO_N "(cached) $ECHO_C" >&6
36814 eval "$as_ac_Header=\$ac_header_preproc"
36816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36821 cat >>confdefs.h
<<_ACEOF
36822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36825 EXTRALIBS_ESD
="-lesd"
36836 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36837 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36838 cat >conftest.
$ac_ext <<_ACEOF
36841 cat confdefs.h
>>conftest.
$ac_ext
36842 cat >>conftest.
$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36845 #include <linux/cdrom.h>
36848 #include <sys/cdio.h>
36854 struct cdrom_tocentry entry, old_entry;
36859 rm -f conftest.
$ac_objext
36860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36861 (eval $ac_compile) 2>conftest.er1
36863 grep -v '^ *+' conftest.er1
>conftest.err
36865 cat conftest.err
>&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } &&
36868 { ac_try
='test -z "$ac_c_werror_flag"
36869 || test ! -s conftest.err'
36870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36871 (eval $ac_try) 2>&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); }; } &&
36875 { ac_try
='test -s conftest.$ac_objext'
36876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36877 (eval $ac_try) 2>&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); }; }; then
36881 echo "$as_me:$LINENO: result: yes" >&5
36882 echo "${ECHO_T}yes" >&6
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define HAVE_KNOWN_CDROM_INTERFACE 1
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.
$ac_ext >&5
36891 echo "$as_me:$LINENO: result: no" >&5
36892 echo "${ECHO_T}no" >&6
36894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36897 cat >confcache
<<\_ACEOF
36898 # This file is a shell script that caches the results of configure
36899 # tests run on this system so they can be shared between configure
36900 # scripts and configure runs, see configure's option --config-cache.
36901 # It is not useful on other systems. If it contains results you don't
36902 # want to keep, you may remove or edit it.
36904 # config.status only pays attention to the cache file if you give it
36905 # the --recheck option to rerun configure.
36907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36909 # following values.
36913 # The following way of writing the cache mishandles newlines in values,
36914 # but we know of no workaround that is simple, portable, and efficient.
36915 # So, don't put newlines in cache variables' values.
36916 # Ultrix sh set writes to stderr and can't be redirected directly,
36917 # and sets the high bit in the cache file unless we assign to the vars.
36920 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36922 # `set' does not quote correctly, so add quotes (double-quote
36923 # substitution turns \\\\ into \\, and sed turns \\ into \).
36926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36929 # `set' quotes correctly as required by POSIX, so do not add quotes.
36931 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36940 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36942 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36943 if test -w $cache_file; then
36944 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36945 cat confcache
>$cache_file
36947 echo "not updating unwritable cache $cache_file"
36953 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36959 if test "$wxUSE_THREADS" = "yes" ; then
36960 if test "$USE_BEOS" = 1; then
36961 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36962 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36967 if test "$wxUSE_THREADS" = "yes" ; then
36970 THREAD_OPTS
="-pthread"
36972 *-*-solaris2* | *-*-sunos4* )
36973 if test "x$GCC" = "xyes"; then
36974 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36976 THREAD_OPTS
="-mt $THREAD_OPTS"
36980 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36982 *-*-darwin* | *-*-cygwin* )
36986 THREAD_OPTS
="pthreads"
36989 if test "x$GCC" = "xyes"; then
36990 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36998 if test "x$GCC" = "xyes"; then
37004 if test "x$GCC" != "xyes"; then
37005 THREAD_OPTS
="-Ethread"
37010 THREAD_OPTS
="$THREAD_OPTS pthread none"
37013 for flag
in $THREAD_OPTS; do
37016 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37017 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37021 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37022 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37023 THREADS_CFLAGS
="$flag"
37027 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37028 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37029 THREADS_LINK
="-l$flag"
37034 save_CFLAGS
="$CFLAGS"
37035 LIBS
="$THREADS_LINK $LIBS"
37036 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37038 cat >conftest.
$ac_ext <<_ACEOF
37041 cat confdefs.h
>>conftest.
$ac_ext
37042 cat >>conftest.
$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 #include <pthread.h>
37048 pthread_create(0,0,0,0);
37053 rm -f conftest.
$ac_objext conftest
$ac_exeext
37054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37055 (eval $ac_link) 2>conftest.er1
37057 grep -v '^ *+' conftest.er1
>conftest.err
37059 cat conftest.err
>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } &&
37062 { ac_try
='test -z "$ac_c_werror_flag"
37063 || test ! -s conftest.err'
37064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37065 (eval $ac_try) 2>&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); }; } &&
37069 { ac_try
='test -s conftest$ac_exeext'
37070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37071 (eval $ac_try) 2>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; }; then
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.
$ac_ext >&5
37081 rm -f conftest.err conftest.
$ac_objext \
37082 conftest
$ac_exeext conftest.
$ac_ext
37085 CFLAGS
="$save_CFLAGS"
37087 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37088 echo "${ECHO_T}$THREADS_OK" >&6
37089 if test "x$THREADS_OK" = "xyes"; then
37097 if test "x$THREADS_OK" != "xyes"; then
37099 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37100 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37102 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
37103 LIBS
="$THREADS_LINK $LIBS"
37105 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37106 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37110 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37111 flag
="-D_THREAD_SAFE"
37114 flag
="-D_THREAD_SAFE"
37117 flag
="-D_REENTRANT"
37118 if test "x$GCC" != "xyes"; then
37119 flag
="$flag -D_RWSTD_MULTI_THREAD"
37122 *solaris
* | alpha
*-osf*)
37123 flag
="-D_REENTRANT"
37126 echo "$as_me:$LINENO: result: ${flag}" >&5
37127 echo "${ECHO_T}${flag}" >&6
37128 if test "x$flag" != xno
; then
37129 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37132 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37136 if test "$wxUSE_THREADS" = "yes" ; then
37138 for ac_func
in thr_setconcurrency
37140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37141 echo "$as_me:$LINENO: checking for $ac_func" >&5
37142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37143 if eval "test \"\${$as_ac_var+set}\" = set"; then
37144 echo $ECHO_N "(cached) $ECHO_C" >&6
37146 cat >conftest.
$ac_ext <<_ACEOF
37149 cat confdefs.h
>>conftest.
$ac_ext
37150 cat >>conftest.
$ac_ext <<_ACEOF
37151 /* end confdefs.h. */
37152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37154 #define $ac_func innocuous_$ac_func
37156 /* System header to define __stub macros and hopefully few prototypes,
37157 which can conflict with char $ac_func (); below.
37158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37159 <limits.h> exists even on freestanding compilers. */
37162 # include <limits.h>
37164 # include <assert.h>
37169 /* Override any gcc2 internal prototype to avoid an error. */
37174 /* We use char because int might match the return type of a gcc2
37175 builtin and then its argument prototype would still apply. */
37177 /* The GNU C library defines this for functions which it implements
37178 to always fail with ENOSYS. Some functions are actually named
37179 something starting with __ and the normal name is an alias. */
37180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37183 char (*f) () = $ac_func;
37192 return f != $ac_func;
37197 rm -f conftest.
$ac_objext conftest
$ac_exeext
37198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37199 (eval $ac_link) 2>conftest.er1
37201 grep -v '^ *+' conftest.er1
>conftest.err
37203 cat conftest.err
>&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); } &&
37206 { ac_try
='test -z "$ac_c_werror_flag"
37207 || test ! -s conftest.err'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; } &&
37213 { ac_try
='test -s conftest$ac_exeext'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; }; then
37219 eval "$as_ac_var=yes"
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.
$ac_ext >&5
37224 eval "$as_ac_var=no"
37226 rm -f conftest.err conftest.
$ac_objext \
37227 conftest
$ac_exeext conftest.
$ac_ext
37229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37231 if test `eval echo '${'$as_ac_var'}'` = yes; then
37232 cat >>confdefs.h
<<_ACEOF
37233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37240 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37241 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37242 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37243 echo $ECHO_N "(cached) $ECHO_C" >&6
37246 cat >conftest.
$ac_ext <<_ACEOF
37249 cat confdefs.h
>>conftest.
$ac_ext
37250 cat >>conftest.
$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37252 #include <pthread.h>
37253 void ThreadCleanupFunc(void *p);
37260 pthread_cleanup_push(ThreadCleanupFunc, p);
37261 pthread_cleanup_pop(0);
37267 rm -f conftest.
$ac_objext
37268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37269 (eval $ac_compile) 2>conftest.er1
37271 grep -v '^ *+' conftest.er1
>conftest.err
37273 cat conftest.err
>&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); } &&
37276 { ac_try
='test -z "$ac_c_werror_flag"
37277 || test ! -s conftest.err'
37278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37279 (eval $ac_try) 2>&5
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); }; } &&
37283 { ac_try
='test -s conftest.$ac_objext'
37284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37285 (eval $ac_try) 2>&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); }; }; then
37290 wx_cv_func_pthread_cleanup
=yes
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.
$ac_ext >&5
37297 wx_cv_func_pthread_cleanup
=no
37301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37304 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37305 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37306 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37307 cat >>confdefs.h
<<\_ACEOF
37308 #define wxHAVE_PTHREAD_CLEANUP 1
37314 for ac_header
in sched.h
37316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37318 echo "$as_me:$LINENO: checking for $ac_header" >&5
37319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37326 # Is the header compilable?
37327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37329 cat >conftest.
$ac_ext <<_ACEOF
37332 cat confdefs.h
>>conftest.
$ac_ext
37333 cat >>conftest.
$ac_ext <<_ACEOF
37334 /* end confdefs.h. */
37335 $ac_includes_default
37336 #include <$ac_header>
37338 rm -f conftest.
$ac_objext
37339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37340 (eval $ac_compile) 2>conftest.er1
37342 grep -v '^ *+' conftest.er1
>conftest.err
37344 cat conftest.err
>&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } &&
37347 { ac_try
='test -z "$ac_c_werror_flag"
37348 || test ! -s conftest.err'
37349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37350 (eval $ac_try) 2>&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); }; } &&
37354 { ac_try
='test -s conftest.$ac_objext'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }; then
37360 ac_header_compiler
=yes
37362 echo "$as_me: failed program was:" >&5
37363 sed 's/^/| /' conftest.
$ac_ext >&5
37365 ac_header_compiler
=no
37367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37369 echo "${ECHO_T}$ac_header_compiler" >&6
37371 # Is the header present?
37372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37374 cat >conftest.
$ac_ext <<_ACEOF
37377 cat confdefs.h
>>conftest.
$ac_ext
37378 cat >>conftest.
$ac_ext <<_ACEOF
37379 /* end confdefs.h. */
37380 #include <$ac_header>
37382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37385 grep -v '^ *+' conftest.er1
>conftest.err
37387 cat conftest.err
>&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } >/dev
/null
; then
37390 if test -s conftest.err
; then
37391 ac_cpp_err
=$ac_c_preproc_warn_flag
37392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37399 if test -z "$ac_cpp_err"; then
37400 ac_header_preproc
=yes
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.
$ac_ext >&5
37405 ac_header_preproc
=no
37407 rm -f conftest.err conftest.
$ac_ext
37408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37409 echo "${ECHO_T}$ac_header_preproc" >&6
37411 # So? What about this header?
37412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37418 ac_header_preproc
=yes
37421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37435 ## ----------------------------------------- ##
37436 ## Report this to wx-dev@lists.wxwidgets.org ##
37437 ## ----------------------------------------- ##
37440 sed "s/^/$as_me: WARNING: /" >&2
37443 echo "$as_me:$LINENO: checking for $ac_header" >&5
37444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37446 echo $ECHO_N "(cached) $ECHO_C" >&6
37448 eval "$as_ac_Header=\$ac_header_preproc"
37450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37455 cat >>confdefs.h
<<_ACEOF
37456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37463 if test "$ac_cv_header_sched_h" = "yes"; then
37464 echo "$as_me:$LINENO: checking for sched_yield" >&5
37465 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37466 if test "${ac_cv_func_sched_yield+set}" = set; then
37467 echo $ECHO_N "(cached) $ECHO_C" >&6
37469 cat >conftest.
$ac_ext <<_ACEOF
37472 cat confdefs.h
>>conftest.
$ac_ext
37473 cat >>conftest.
$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37475 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37477 #define sched_yield innocuous_sched_yield
37479 /* System header to define __stub macros and hopefully few prototypes,
37480 which can conflict with char sched_yield (); below.
37481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37482 <limits.h> exists even on freestanding compilers. */
37485 # include <limits.h>
37487 # include <assert.h>
37492 /* Override any gcc2 internal prototype to avoid an error. */
37497 /* We use char because int might match the return type of a gcc2
37498 builtin and then its argument prototype would still apply. */
37499 char sched_yield ();
37500 /* The GNU C library defines this for functions which it implements
37501 to always fail with ENOSYS. Some functions are actually named
37502 something starting with __ and the normal name is an alias. */
37503 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37506 char (*f) () = sched_yield;
37515 return f != sched_yield;
37520 rm -f conftest.
$ac_objext conftest
$ac_exeext
37521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37522 (eval $ac_link) 2>conftest.er1
37524 grep -v '^ *+' conftest.er1
>conftest.err
37526 cat conftest.err
>&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } &&
37529 { ac_try
='test -z "$ac_c_werror_flag"
37530 || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try
='test -s conftest$ac_exeext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 ac_cv_func_sched_yield
=yes
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.
$ac_ext >&5
37547 ac_cv_func_sched_yield
=no
37549 rm -f conftest.err conftest.
$ac_objext \
37550 conftest
$ac_exeext conftest.
$ac_ext
37552 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37553 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37554 if test $ac_cv_func_sched_yield = yes; then
37555 cat >>confdefs.h
<<\_ACEOF
37556 #define HAVE_SCHED_YIELD 1
37561 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37562 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37563 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37566 ac_check_lib_save_LIBS
=$LIBS
37567 LIBS
="-lposix4 $LIBS"
37568 cat >conftest.
$ac_ext <<_ACEOF
37571 cat confdefs.h
>>conftest.
$ac_ext
37572 cat >>conftest.
$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37575 /* Override any gcc2 internal prototype to avoid an error. */
37579 /* We use char because int might match the return type of a gcc2
37580 builtin and then its argument prototype would still apply. */
37581 char sched_yield ();
37590 rm -f conftest.
$ac_objext conftest
$ac_exeext
37591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37592 (eval $ac_link) 2>conftest.er1
37594 grep -v '^ *+' conftest.er1
>conftest.err
37596 cat conftest.err
>&5
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); } &&
37599 { ac_try
='test -z "$ac_c_werror_flag"
37600 || test ! -s conftest.err'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; } &&
37606 { ac_try
='test -s conftest$ac_exeext'
37607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608 (eval $ac_try) 2>&5
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); }; }; then
37612 ac_cv_lib_posix4_sched_yield
=yes
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.
$ac_ext >&5
37617 ac_cv_lib_posix4_sched_yield
=no
37619 rm -f conftest.err conftest.
$ac_objext \
37620 conftest
$ac_exeext conftest.
$ac_ext
37621 LIBS
=$ac_check_lib_save_LIBS
37623 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37624 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37625 if test $ac_cv_lib_posix4_sched_yield = yes; then
37626 cat >>confdefs.h
<<\_ACEOF
37627 #define HAVE_SCHED_YIELD 1
37629 POSIX4_LINK
=" -lposix4"
37631 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37632 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37643 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37644 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37645 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37646 echo $ECHO_N "(cached) $ECHO_C" >&6
37648 cat >conftest.
$ac_ext <<_ACEOF
37651 cat confdefs.h
>>conftest.
$ac_ext
37652 cat >>conftest.
$ac_ext <<_ACEOF
37653 /* end confdefs.h. */
37654 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37656 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37658 /* System header to define __stub macros and hopefully few prototypes,
37659 which can conflict with char pthread_attr_getschedpolicy (); below.
37660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37661 <limits.h> exists even on freestanding compilers. */
37664 # include <limits.h>
37666 # include <assert.h>
37669 #undef pthread_attr_getschedpolicy
37671 /* Override any gcc2 internal prototype to avoid an error. */
37676 /* We use char because int might match the return type of a gcc2
37677 builtin and then its argument prototype would still apply. */
37678 char pthread_attr_getschedpolicy ();
37679 /* The GNU C library defines this for functions which it implements
37680 to always fail with ENOSYS. Some functions are actually named
37681 something starting with __ and the normal name is an alias. */
37682 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37685 char (*f) () = pthread_attr_getschedpolicy;
37694 return f != pthread_attr_getschedpolicy;
37699 rm -f conftest.
$ac_objext conftest
$ac_exeext
37700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37701 (eval $ac_link) 2>conftest.er1
37703 grep -v '^ *+' conftest.er1
>conftest.err
37705 cat conftest.err
>&5
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); } &&
37708 { ac_try
='test -z "$ac_c_werror_flag"
37709 || test ! -s conftest.err'
37710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37711 (eval $ac_try) 2>&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); }; } &&
37715 { ac_try
='test -s conftest$ac_exeext'
37716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717 (eval $ac_try) 2>&5
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); }; }; then
37721 ac_cv_func_pthread_attr_getschedpolicy
=yes
37723 echo "$as_me: failed program was:" >&5
37724 sed 's/^/| /' conftest.
$ac_ext >&5
37726 ac_cv_func_pthread_attr_getschedpolicy
=no
37728 rm -f conftest.err conftest.
$ac_objext \
37729 conftest
$ac_exeext conftest.
$ac_ext
37731 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37732 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37733 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37734 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37735 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37736 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37739 cat >conftest.
$ac_ext <<_ACEOF
37742 cat confdefs.h
>>conftest.
$ac_ext
37743 cat >>conftest.
$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char pthread_attr_setschedparam (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37755 # include <limits.h>
37757 # include <assert.h>
37760 #undef pthread_attr_setschedparam
37762 /* Override any gcc2 internal prototype to avoid an error. */
37767 /* We use char because int might match the return type of a gcc2
37768 builtin and then its argument prototype would still apply. */
37769 char pthread_attr_setschedparam ();
37770 /* The GNU C library defines this for functions which it implements
37771 to always fail with ENOSYS. Some functions are actually named
37772 something starting with __ and the normal name is an alias. */
37773 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37776 char (*f) () = pthread_attr_setschedparam;
37785 return f != pthread_attr_setschedparam;
37790 rm -f conftest.
$ac_objext conftest
$ac_exeext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37792 (eval $ac_link) 2>conftest.er1
37794 grep -v '^ *+' conftest.er1
>conftest.err
37796 cat conftest.err
>&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try
='test -z "$ac_c_werror_flag"
37800 || test ! -s conftest.err'
37801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37802 (eval $ac_try) 2>&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); }; } &&
37806 { ac_try
='test -s conftest$ac_exeext'
37807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808 (eval $ac_try) 2>&5
37810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811 (exit $ac_status); }; }; then
37812 ac_cv_func_pthread_attr_setschedparam
=yes
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.
$ac_ext >&5
37817 ac_cv_func_pthread_attr_setschedparam
=no
37819 rm -f conftest.err conftest.
$ac_objext \
37820 conftest
$ac_exeext conftest.
$ac_ext
37822 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37823 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37824 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37825 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37826 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37827 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37830 cat >conftest.
$ac_ext <<_ACEOF
37833 cat confdefs.h
>>conftest.
$ac_ext
37834 cat >>conftest.
$ac_ext <<_ACEOF
37835 /* end confdefs.h. */
37836 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37838 #define sched_get_priority_max innocuous_sched_get_priority_max
37840 /* System header to define __stub macros and hopefully few prototypes,
37841 which can conflict with char sched_get_priority_max (); below.
37842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37843 <limits.h> exists even on freestanding compilers. */
37846 # include <limits.h>
37848 # include <assert.h>
37851 #undef sched_get_priority_max
37853 /* Override any gcc2 internal prototype to avoid an error. */
37858 /* We use char because int might match the return type of a gcc2
37859 builtin and then its argument prototype would still apply. */
37860 char sched_get_priority_max ();
37861 /* The GNU C library defines this for functions which it implements
37862 to always fail with ENOSYS. Some functions are actually named
37863 something starting with __ and the normal name is an alias. */
37864 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37867 char (*f) () = sched_get_priority_max;
37876 return f != sched_get_priority_max;
37881 rm -f conftest.
$ac_objext conftest
$ac_exeext
37882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37883 (eval $ac_link) 2>conftest.er1
37885 grep -v '^ *+' conftest.er1
>conftest.err
37887 cat conftest.err
>&5
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); } &&
37890 { ac_try
='test -z "$ac_c_werror_flag"
37891 || test ! -s conftest.err'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; } &&
37897 { ac_try
='test -s conftest$ac_exeext'
37898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37899 (eval $ac_try) 2>&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); }; }; then
37903 ac_cv_func_sched_get_priority_max
=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.
$ac_ext >&5
37908 ac_cv_func_sched_get_priority_max
=no
37910 rm -f conftest.err conftest.
$ac_objext \
37911 conftest
$ac_exeext conftest.
$ac_ext
37913 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37914 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37915 if test $ac_cv_func_sched_get_priority_max = yes; then
37918 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37919 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37920 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37923 ac_check_lib_save_LIBS
=$LIBS
37924 LIBS
="-lposix4 $LIBS"
37925 cat >conftest.
$ac_ext <<_ACEOF
37928 cat confdefs.h
>>conftest.
$ac_ext
37929 cat >>conftest.
$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37932 /* Override any gcc2 internal prototype to avoid an error. */
37936 /* We use char because int might match the return type of a gcc2
37937 builtin and then its argument prototype would still apply. */
37938 char sched_get_priority_max ();
37942 sched_get_priority_max ();
37947 rm -f conftest.
$ac_objext conftest
$ac_exeext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37949 (eval $ac_link) 2>conftest.er1
37951 grep -v '^ *+' conftest.er1
>conftest.err
37953 cat conftest.err
>&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } &&
37956 { ac_try
='test -z "$ac_c_werror_flag"
37957 || test ! -s conftest.err'
37958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959 (eval $ac_try) 2>&5
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); }; } &&
37963 { ac_try
='test -s conftest$ac_exeext'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; }; then
37969 ac_cv_lib_posix4_sched_get_priority_max
=yes
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.
$ac_ext >&5
37974 ac_cv_lib_posix4_sched_get_priority_max
=no
37976 rm -f conftest.err conftest.
$ac_objext \
37977 conftest
$ac_exeext conftest.
$ac_ext
37978 LIBS
=$ac_check_lib_save_LIBS
37980 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37981 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37982 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37985 POSIX4_LINK
=" -lposix4"
37999 if test "$HAVE_PRIOR_FUNCS" = 1; then
38000 cat >>confdefs.h
<<\_ACEOF
38001 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38005 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38006 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38009 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38010 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38011 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38014 cat >conftest.
$ac_ext <<_ACEOF
38017 cat confdefs.h
>>conftest.
$ac_ext
38018 cat >>conftest.
$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38022 #define pthread_cancel innocuous_pthread_cancel
38024 /* System header to define __stub macros and hopefully few prototypes,
38025 which can conflict with char pthread_cancel (); below.
38026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38027 <limits.h> exists even on freestanding compilers. */
38030 # include <limits.h>
38032 # include <assert.h>
38035 #undef pthread_cancel
38037 /* Override any gcc2 internal prototype to avoid an error. */
38042 /* We use char because int might match the return type of a gcc2
38043 builtin and then its argument prototype would still apply. */
38044 char pthread_cancel ();
38045 /* The GNU C library defines this for functions which it implements
38046 to always fail with ENOSYS. Some functions are actually named
38047 something starting with __ and the normal name is an alias. */
38048 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38051 char (*f) () = pthread_cancel;
38060 return f != pthread_cancel;
38065 rm -f conftest.
$ac_objext conftest
$ac_exeext
38066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38067 (eval $ac_link) 2>conftest.er1
38069 grep -v '^ *+' conftest.er1
>conftest.err
38071 cat conftest.err
>&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); } &&
38074 { ac_try
='test -z "$ac_c_werror_flag"
38075 || test ! -s conftest.err'
38076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38077 (eval $ac_try) 2>&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); }; } &&
38081 { ac_try
='test -s conftest$ac_exeext'
38082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38083 (eval $ac_try) 2>&5
38085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38086 (exit $ac_status); }; }; then
38087 ac_cv_func_pthread_cancel
=yes
38089 echo "$as_me: failed program was:" >&5
38090 sed 's/^/| /' conftest.
$ac_ext >&5
38092 ac_cv_func_pthread_cancel
=no
38094 rm -f conftest.err conftest.
$ac_objext \
38095 conftest
$ac_exeext conftest.
$ac_ext
38097 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38098 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38099 if test $ac_cv_func_pthread_cancel = yes; then
38100 cat >>confdefs.h
<<\_ACEOF
38101 #define HAVE_PTHREAD_CANCEL 1
38105 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38106 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38110 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38111 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38112 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38113 echo $ECHO_N "(cached) $ECHO_C" >&6
38115 cat >conftest.
$ac_ext <<_ACEOF
38118 cat confdefs.h
>>conftest.
$ac_ext
38119 cat >>conftest.
$ac_ext <<_ACEOF
38120 /* end confdefs.h. */
38121 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38123 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38125 /* System header to define __stub macros and hopefully few prototypes,
38126 which can conflict with char pthread_attr_setstacksize (); below.
38127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38128 <limits.h> exists even on freestanding compilers. */
38131 # include <limits.h>
38133 # include <assert.h>
38136 #undef pthread_attr_setstacksize
38138 /* Override any gcc2 internal prototype to avoid an error. */
38143 /* We use char because int might match the return type of a gcc2
38144 builtin and then its argument prototype would still apply. */
38145 char pthread_attr_setstacksize ();
38146 /* The GNU C library defines this for functions which it implements
38147 to always fail with ENOSYS. Some functions are actually named
38148 something starting with __ and the normal name is an alias. */
38149 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38152 char (*f) () = pthread_attr_setstacksize;
38161 return f != pthread_attr_setstacksize;
38166 rm -f conftest.
$ac_objext conftest
$ac_exeext
38167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38168 (eval $ac_link) 2>conftest.er1
38170 grep -v '^ *+' conftest.er1
>conftest.err
38172 cat conftest.err
>&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); } &&
38175 { ac_try
='test -z "$ac_c_werror_flag"
38176 || test ! -s conftest.err'
38177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38178 (eval $ac_try) 2>&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); }; } &&
38182 { ac_try
='test -s conftest$ac_exeext'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; }; then
38188 ac_cv_func_pthread_attr_setstacksize
=yes
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.
$ac_ext >&5
38193 ac_cv_func_pthread_attr_setstacksize
=no
38195 rm -f conftest.err conftest.
$ac_objext \
38196 conftest
$ac_exeext conftest.
$ac_ext
38198 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38199 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38200 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38201 cat >>confdefs.h
<<\_ACEOF
38202 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38209 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38210 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38211 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 cat >conftest.
$ac_ext <<_ACEOF
38218 cat confdefs.h
>>conftest.
$ac_ext
38219 cat >>conftest.
$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38221 #include <pthread.h>
38226 pthread_mutexattr_t attr;
38227 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38233 rm -f conftest.
$ac_objext
38234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38235 (eval $ac_compile) 2>conftest.er1
38237 grep -v '^ *+' conftest.er1
>conftest.err
38239 cat conftest.err
>&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); } &&
38242 { ac_try
='test -z "$ac_c_werror_flag"
38243 || test ! -s conftest.err'
38244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38245 (eval $ac_try) 2>&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); }; } &&
38249 { ac_try
='test -s conftest.$ac_objext'
38250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38251 (eval $ac_try) 2>&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); }; }; then
38255 wx_cv_type_pthread_mutexattr_t
=yes
38257 echo "$as_me: failed program was:" >&5
38258 sed 's/^/| /' conftest.
$ac_ext >&5
38260 wx_cv_type_pthread_mutexattr_t
=no
38263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38266 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38267 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38269 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38270 cat >>confdefs.h
<<\_ACEOF
38271 #define HAVE_PTHREAD_MUTEXATTR_T 1
38275 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38276 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38277 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 cat >conftest.
$ac_ext <<_ACEOF
38284 cat confdefs.h
>>conftest.
$ac_ext
38285 cat >>conftest.
$ac_ext <<_ACEOF
38286 /* end confdefs.h. */
38287 #include <pthread.h>
38292 pthread_mutexattr_t attr;
38293 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38299 rm -f conftest.
$ac_objext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38301 (eval $ac_compile) 2>conftest.er1
38303 grep -v '^ *+' conftest.er1
>conftest.err
38305 cat conftest.err
>&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try
='test -z "$ac_c_werror_flag"
38309 || test ! -s conftest.err'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; } &&
38315 { ac_try
='test -s conftest.$ac_objext'
38316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38317 (eval $ac_try) 2>&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); }; }; then
38321 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.
$ac_ext >&5
38326 wx_cv_func_pthread_mutexattr_settype_decl
=no
38329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38332 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38333 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38334 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38335 cat >>confdefs.h
<<\_ACEOF
38336 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38341 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38342 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38343 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38347 cat >conftest.
$ac_ext <<_ACEOF
38350 cat confdefs.h
>>conftest.
$ac_ext
38351 cat >>conftest.
$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 #include <pthread.h>
38358 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38364 rm -f conftest.
$ac_objext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38366 (eval $ac_compile) 2>conftest.er1
38368 grep -v '^ *+' conftest.er1
>conftest.err
38370 cat conftest.err
>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try
='test -z "$ac_c_werror_flag"
38374 || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try
='test -s conftest.$ac_objext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38387 wx_cv_type_pthread_rec_mutex_init
=yes
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.
$ac_ext >&5
38394 wx_cv_type_pthread_rec_mutex_init
=no
38398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38401 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38402 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38403 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38404 cat >>confdefs.h
<<\_ACEOF
38405 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38409 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38410 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38416 if test "$wxUSE_THREADS" = "yes" ; then
38419 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38420 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38421 if test "${wx_cv_cflags_mthread+set}" = set; then
38422 echo $ECHO_N "(cached) $ECHO_C" >&6
38425 CFLAGS_OLD
="$CFLAGS"
38426 CFLAGS
="-mthreads $CFLAGS"
38427 cat >conftest.
$ac_ext <<_ACEOF
38430 cat confdefs.h
>>conftest.
$ac_ext
38431 cat >>conftest.
$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38442 rm -f conftest.
$ac_objext
38443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38444 (eval $ac_compile) 2>conftest.er1
38446 grep -v '^ *+' conftest.er1
>conftest.err
38448 cat conftest.err
>&5
38449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38450 (exit $ac_status); } &&
38451 { ac_try
='test -z "$ac_c_werror_flag"
38452 || test ! -s conftest.err'
38453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38454 (eval $ac_try) 2>&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); }; } &&
38458 { ac_try
='test -s conftest.$ac_objext'
38459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38460 (eval $ac_try) 2>&5
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); }; }; then
38464 wx_cv_cflags_mthread
=yes
38466 echo "$as_me: failed program was:" >&5
38467 sed 's/^/| /' conftest.
$ac_ext >&5
38469 wx_cv_cflags_mthread
=no
38472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38476 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38477 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38479 if test "$wx_cv_cflags_mthread" = "yes"; then
38480 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38481 LDFLAGS
="$LDFLAGS -mthreads"
38483 CFLAGS
="$CFLAGS_OLD"
38487 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38488 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38489 LDFLAGS
="$LDFLAGS -Zmt"
38495 echo "$as_me:$LINENO: checking for localtime_r" >&5
38496 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38497 if test "${ac_cv_func_localtime_r+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 cat >conftest.
$ac_ext <<_ACEOF
38503 cat confdefs.h
>>conftest.
$ac_ext
38504 cat >>conftest.
$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38506 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38508 #define localtime_r innocuous_localtime_r
38510 /* System header to define __stub macros and hopefully few prototypes,
38511 which can conflict with char localtime_r (); below.
38512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38513 <limits.h> exists even on freestanding compilers. */
38516 # include <limits.h>
38518 # include <assert.h>
38523 /* Override any gcc2 internal prototype to avoid an error. */
38528 /* We use char because int might match the return type of a gcc2
38529 builtin and then its argument prototype would still apply. */
38530 char localtime_r ();
38531 /* The GNU C library defines this for functions which it implements
38532 to always fail with ENOSYS. Some functions are actually named
38533 something starting with __ and the normal name is an alias. */
38534 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38537 char (*f) () = localtime_r;
38546 return f != localtime_r;
38551 rm -f conftest.
$ac_objext conftest
$ac_exeext
38552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38553 (eval $ac_link) 2>conftest.er1
38555 grep -v '^ *+' conftest.er1
>conftest.err
38557 cat conftest.err
>&5
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); } &&
38560 { ac_try
='test -z "$ac_c_werror_flag"
38561 || test ! -s conftest.err'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; } &&
38567 { ac_try
='test -s conftest$ac_exeext'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; }; then
38573 ac_cv_func_localtime_r
=yes
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.
$ac_ext >&5
38578 ac_cv_func_localtime_r
=no
38580 rm -f conftest.err conftest.
$ac_objext \
38581 conftest
$ac_exeext conftest.
$ac_ext
38583 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38584 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38585 if test $ac_cv_func_localtime_r = yes; then
38586 cat >>confdefs.h
<<\_ACEOF
38587 #define HAVE_LOCALTIME_R 1
38592 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38593 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38594 if test "${ac_cv_func_gmtime_r+set}" = set; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38597 cat >conftest.
$ac_ext <<_ACEOF
38600 cat confdefs.h
>>conftest.
$ac_ext
38601 cat >>conftest.
$ac_ext <<_ACEOF
38602 /* end confdefs.h. */
38603 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38605 #define gmtime_r innocuous_gmtime_r
38607 /* System header to define __stub macros and hopefully few prototypes,
38608 which can conflict with char gmtime_r (); below.
38609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38610 <limits.h> exists even on freestanding compilers. */
38613 # include <limits.h>
38615 # include <assert.h>
38620 /* Override any gcc2 internal prototype to avoid an error. */
38625 /* We use char because int might match the return type of a gcc2
38626 builtin and then its argument prototype would still apply. */
38628 /* The GNU C library defines this for functions which it implements
38629 to always fail with ENOSYS. Some functions are actually named
38630 something starting with __ and the normal name is an alias. */
38631 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38634 char (*f) () = gmtime_r;
38643 return f != gmtime_r;
38648 rm -f conftest.
$ac_objext conftest
$ac_exeext
38649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38650 (eval $ac_link) 2>conftest.er1
38652 grep -v '^ *+' conftest.er1
>conftest.err
38654 cat conftest.err
>&5
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); } &&
38657 { ac_try
='test -z "$ac_c_werror_flag"
38658 || test ! -s conftest.err'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; } &&
38664 { ac_try
='test -s conftest$ac_exeext'
38665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38666 (eval $ac_try) 2>&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); }; }; then
38670 ac_cv_func_gmtime_r
=yes
38672 echo "$as_me: failed program was:" >&5
38673 sed 's/^/| /' conftest.
$ac_ext >&5
38675 ac_cv_func_gmtime_r
=no
38677 rm -f conftest.err conftest.
$ac_objext \
38678 conftest
$ac_exeext conftest.
$ac_ext
38680 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38681 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38682 if test $ac_cv_func_gmtime_r = yes; then
38683 cat >>confdefs.h
<<\_ACEOF
38684 #define HAVE_GMTIME_R 1
38689 echo "$as_me:$LINENO: checking for readdir_r" >&5
38690 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38691 if test "${ac_cv_func_readdir_r+set}" = set; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38694 cat >conftest.
$ac_ext <<_ACEOF
38697 cat confdefs.h
>>conftest.
$ac_ext
38698 cat >>conftest.
$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38700 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38702 #define readdir_r innocuous_readdir_r
38704 /* System header to define __stub macros and hopefully few prototypes,
38705 which can conflict with char readdir_r (); below.
38706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38707 <limits.h> exists even on freestanding compilers. */
38710 # include <limits.h>
38712 # include <assert.h>
38717 /* Override any gcc2 internal prototype to avoid an error. */
38722 /* We use char because int might match the return type of a gcc2
38723 builtin and then its argument prototype would still apply. */
38725 /* The GNU C library defines this for functions which it implements
38726 to always fail with ENOSYS. Some functions are actually named
38727 something starting with __ and the normal name is an alias. */
38728 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38731 char (*f) () = readdir_r;
38740 return f != readdir_r;
38745 rm -f conftest.
$ac_objext conftest
$ac_exeext
38746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38747 (eval $ac_link) 2>conftest.er1
38749 grep -v '^ *+' conftest.er1
>conftest.err
38751 cat conftest.err
>&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); } &&
38754 { ac_try
='test -z "$ac_c_werror_flag"
38755 || test ! -s conftest.err'
38756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38757 (eval $ac_try) 2>&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); }; } &&
38761 { ac_try
='test -s conftest$ac_exeext'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; }; then
38767 ac_cv_func_readdir_r
=yes
38769 echo "$as_me: failed program was:" >&5
38770 sed 's/^/| /' conftest.
$ac_ext >&5
38772 ac_cv_func_readdir_r
=no
38774 rm -f conftest.err conftest.
$ac_objext \
38775 conftest
$ac_exeext conftest.
$ac_ext
38777 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38778 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38779 if test $ac_cv_func_readdir_r = yes; then
38780 cat >>confdefs.h
<<\_ACEOF
38781 #define HAVE_READDIR_R 1
38788 ac_cpp
='$CXXCPP $CPPFLAGS'
38789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38796 ac_cpp
='$CPP $CPPFLAGS'
38797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38801 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38802 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38804 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 ################################################################
38811 ac_cv_func_which_gethostbyname_r
=unknown
38814 # ONE ARGUMENT (sanity check)
38817 # This should fail, as there is no variant of gethostbyname_r() that takes
38818 # a single argument. If it actually compiles, then we can assume that
38819 # netdb.h is not declaring the function, and the compiler is thereby
38820 # assuming an implicit prototype. In which case, we're out of luck.
38822 cat >conftest.
$ac_ext <<_ACEOF
38825 cat confdefs.h
>>conftest.
$ac_ext
38826 cat >>conftest.
$ac_ext <<_ACEOF
38827 /* end confdefs.h. */
38833 char *name = "www.gnu.org";
38834 (void)gethostbyname_r(name) /* ; */
38840 rm -f conftest.
$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38844 grep -v '^ *+' conftest.er1
>conftest.err
38846 cat conftest.err
>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try
='test -z "$ac_c_werror_flag"
38850 || test ! -s conftest.err'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; } &&
38856 { ac_try
='test -s conftest.$ac_objext'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; }; then
38862 ac_cv_func_which_gethostbyname_r
=no
38864 echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.
$ac_ext >&5
38868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38875 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38877 cat >conftest.
$ac_ext <<_ACEOF
38880 cat confdefs.h
>>conftest.
$ac_ext
38881 cat >>conftest.
$ac_ext <<_ACEOF
38882 /* end confdefs.h. */
38888 char *name = "www.gnu.org";
38889 struct hostent ret, *retp;
38893 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38899 rm -f conftest.
$ac_objext
38900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38901 (eval $ac_compile) 2>conftest.er1
38903 grep -v '^ *+' conftest.er1
>conftest.err
38905 cat conftest.err
>&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } &&
38908 { ac_try
='test -z "$ac_c_werror_flag"
38909 || test ! -s conftest.err'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; } &&
38915 { ac_try
='test -s conftest.$ac_objext'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; }; then
38921 ac_cv_func_which_gethostbyname_r
=six
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.
$ac_ext >&5
38927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38936 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38938 cat >conftest.
$ac_ext <<_ACEOF
38941 cat confdefs.h
>>conftest.
$ac_ext
38942 cat >>conftest.
$ac_ext <<_ACEOF
38943 /* end confdefs.h. */
38949 char *name = "www.gnu.org";
38950 struct hostent ret;
38954 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38960 rm -f conftest.
$ac_objext
38961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38962 (eval $ac_compile) 2>conftest.er1
38964 grep -v '^ *+' conftest.er1
>conftest.err
38966 cat conftest.err
>&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } &&
38969 { ac_try
='test -z "$ac_c_werror_flag"
38970 || test ! -s conftest.err'
38971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38972 (eval $ac_try) 2>&5
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); }; } &&
38976 { ac_try
='test -s conftest.$ac_objext'
38977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38978 (eval $ac_try) 2>&5
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); }; }; then
38982 ac_cv_func_which_gethostbyname_r
=five
38984 echo "$as_me: failed program was:" >&5
38985 sed 's/^/| /' conftest.
$ac_ext >&5
38988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38994 # (e.g. AIX, HP-UX, Tru64)
38997 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38999 cat >conftest.
$ac_ext <<_ACEOF
39002 cat confdefs.h
>>conftest.
$ac_ext
39003 cat >>conftest.
$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39010 char *name = "www.gnu.org";
39011 struct hostent ret;
39012 struct hostent_data data;
39013 (void)gethostbyname_r(name, &ret, &data) /* ; */
39019 rm -f conftest.
$ac_objext
39020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39021 (eval $ac_compile) 2>conftest.er1
39023 grep -v '^ *+' conftest.er1
>conftest.err
39025 cat conftest.err
>&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); } &&
39028 { ac_try
='test -z "$ac_c_werror_flag"
39029 || test ! -s conftest.err'
39030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39031 (eval $ac_try) 2>&5
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); }; } &&
39035 { ac_try
='test -s conftest.$ac_objext'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; }; then
39041 ac_cv_func_which_gethostbyname_r
=three
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.
$ac_ext >&5
39047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39051 ################################################################
39056 case "$ac_cv_func_which_gethostbyname_r" in
39058 echo "$as_me:$LINENO: result: three" >&5
39059 echo "${ECHO_T}three" >&6
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39067 echo "$as_me:$LINENO: result: five" >&5
39068 echo "${ECHO_T}five" >&6
39069 cat >>confdefs.h
<<\_ACEOF
39070 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39076 echo "$as_me:$LINENO: result: six" >&5
39077 echo "${ECHO_T}six" >&6
39078 cat >>confdefs.h
<<\_ACEOF
39079 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39085 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39086 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39090 echo "$as_me:$LINENO: result: can't tell" >&5
39091 echo "${ECHO_T}can't tell" >&6
39095 { { echo "$as_me:$LINENO: error: internal error" >&5
39096 echo "$as_me: error: internal error" >&2;}
39097 { (exit 1); exit 1; }; }
39102 ac_cpp
='$CXXCPP $CPPFLAGS'
39103 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39104 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39105 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39109 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39110 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39111 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39112 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39113 if test "${ac_cv_func_gethostbyname+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39116 cat >conftest.
$ac_ext <<_ACEOF
39119 cat confdefs.h
>>conftest.
$ac_ext
39120 cat >>conftest.
$ac_ext <<_ACEOF
39121 /* end confdefs.h. */
39122 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39124 #define gethostbyname innocuous_gethostbyname
39126 /* System header to define __stub macros and hopefully few prototypes,
39127 which can conflict with char gethostbyname (); below.
39128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39129 <limits.h> exists even on freestanding compilers. */
39132 # include <limits.h>
39134 # include <assert.h>
39137 #undef gethostbyname
39139 /* Override any gcc2 internal prototype to avoid an error. */
39144 /* We use char because int might match the return type of a gcc2
39145 builtin and then its argument prototype would still apply. */
39146 char gethostbyname ();
39147 /* The GNU C library defines this for functions which it implements
39148 to always fail with ENOSYS. Some functions are actually named
39149 something starting with __ and the normal name is an alias. */
39150 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39153 char (*f) () = gethostbyname;
39162 return f != gethostbyname;
39167 rm -f conftest.
$ac_objext conftest
$ac_exeext
39168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39169 (eval $ac_link) 2>conftest.er1
39171 grep -v '^ *+' conftest.er1
>conftest.err
39173 cat conftest.err
>&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } &&
39176 { ac_try
='test -z "$ac_cxx_werror_flag"
39177 || test ! -s conftest.err'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; } &&
39183 { ac_try
='test -s conftest$ac_exeext'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; }; then
39189 ac_cv_func_gethostbyname
=yes
39191 echo "$as_me: failed program was:" >&5
39192 sed 's/^/| /' conftest.
$ac_ext >&5
39194 ac_cv_func_gethostbyname
=no
39196 rm -f conftest.err conftest.
$ac_objext \
39197 conftest
$ac_exeext conftest.
$ac_ext
39199 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39200 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39201 if test $ac_cv_func_gethostbyname = yes; then
39202 cat >>confdefs.h
<<\_ACEOF
39203 #define HAVE_GETHOSTBYNAME 1
39209 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39210 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39211 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39212 echo $ECHO_N "(cached) $ECHO_C" >&6
39214 cat >conftest.
$ac_ext <<_ACEOF
39217 cat confdefs.h
>>conftest.
$ac_ext
39218 cat >>conftest.
$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39220 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39222 #define getservbyname_r innocuous_getservbyname_r
39224 /* System header to define __stub macros and hopefully few prototypes,
39225 which can conflict with char getservbyname_r (); below.
39226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39227 <limits.h> exists even on freestanding compilers. */
39230 # include <limits.h>
39232 # include <assert.h>
39235 #undef getservbyname_r
39237 /* Override any gcc2 internal prototype to avoid an error. */
39242 /* We use char because int might match the return type of a gcc2
39243 builtin and then its argument prototype would still apply. */
39244 char getservbyname_r ();
39245 /* The GNU C library defines this for functions which it implements
39246 to always fail with ENOSYS. Some functions are actually named
39247 something starting with __ and the normal name is an alias. */
39248 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39251 char (*f) () = getservbyname_r;
39260 return f != getservbyname_r;
39265 rm -f conftest.
$ac_objext conftest
$ac_exeext
39266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39267 (eval $ac_link) 2>conftest.er1
39269 grep -v '^ *+' conftest.er1
>conftest.err
39271 cat conftest.err
>&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); } &&
39274 { ac_try
='test -z "$ac_cxx_werror_flag"
39275 || test ! -s conftest.err'
39276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277 (eval $ac_try) 2>&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; } &&
39281 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
39287 ac_cv_func_getservbyname_r
=yes
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.
$ac_ext >&5
39292 ac_cv_func_getservbyname_r
=no
39294 rm -f conftest.err conftest.
$ac_objext \
39295 conftest
$ac_exeext conftest.
$ac_ext
39297 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39298 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39299 if test $ac_cv_func_getservbyname_r = yes; then
39300 cat >conftest.
$ac_ext <<_ACEOF
39303 cat confdefs.h
>>conftest.
$ac_ext
39304 cat >>conftest.
$ac_ext <<_ACEOF
39305 /* end confdefs.h. */
39313 struct servent *se;
39314 struct servent_data data;
39315 (void) getservbyname_r(name, proto, se, &data);
39321 rm -f conftest.
$ac_objext
39322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39323 (eval $ac_compile) 2>conftest.er1
39325 grep -v '^ *+' conftest.er1
>conftest.err
39327 cat conftest.err
>&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } &&
39330 { ac_try
='test -z "$ac_cxx_werror_flag"
39331 || test ! -s conftest.err'
39332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39333 (eval $ac_try) 2>&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); }; } &&
39337 { ac_try
='test -s conftest.$ac_objext'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; }; then
39343 ac_cv_func_which_getservbyname_r
=four
39345 echo "$as_me: failed program was:" >&5
39346 sed 's/^/| /' conftest.
$ac_ext >&5
39348 cat >conftest.
$ac_ext <<_ACEOF
39351 cat confdefs.h
>>conftest.
$ac_ext
39352 cat >>conftest.
$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39361 struct servent *se, *res;
39364 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39370 rm -f conftest.
$ac_objext
39371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39372 (eval $ac_compile) 2>conftest.er1
39374 grep -v '^ *+' conftest.er1
>conftest.err
39376 cat conftest.err
>&5
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); } &&
39379 { ac_try
='test -z "$ac_cxx_werror_flag"
39380 || test ! -s conftest.err'
39381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39382 (eval $ac_try) 2>&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); }; } &&
39386 { ac_try
='test -s conftest.$ac_objext'
39387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39388 (eval $ac_try) 2>&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); }; }; then
39392 ac_cv_func_which_getservbyname_r
=six
39394 echo "$as_me: failed program was:" >&5
39395 sed 's/^/| /' conftest.
$ac_ext >&5
39397 cat >conftest.
$ac_ext <<_ACEOF
39400 cat confdefs.h
>>conftest.
$ac_ext
39401 cat >>conftest.
$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39410 struct servent *se;
39413 (void) getservbyname_r(name, proto, se, buffer, buflen)
39419 rm -f conftest.
$ac_objext
39420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39421 (eval $ac_compile) 2>conftest.er1
39423 grep -v '^ *+' conftest.er1
>conftest.err
39425 cat conftest.err
>&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } &&
39428 { ac_try
='test -z "$ac_cxx_werror_flag"
39429 || test ! -s conftest.err'
39430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39431 (eval $ac_try) 2>&5
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); }; } &&
39435 { ac_try
='test -s conftest.$ac_objext'
39436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39437 (eval $ac_try) 2>&5
39439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39440 (exit $ac_status); }; }; then
39441 ac_cv_func_which_getservbyname_r
=five
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.
$ac_ext >&5
39446 ac_cv_func_which_getservbyname_r
=no
39449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39457 ac_cv_func_which_getservbyname_r
=no
39461 if test $ac_cv_func_which_getservbyname_r = six
; then
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39466 elif test $ac_cv_func_which_getservbyname_r = five
; then
39467 cat >>confdefs.h
<<\_ACEOF
39468 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39471 elif test $ac_cv_func_which_getservbyname_r = four
; then
39472 cat >>confdefs.h
<<\_ACEOF
39473 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39479 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39480 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39482 for ac_func
in getservbyname
39484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39485 echo "$as_me:$LINENO: checking for $ac_func" >&5
39486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39487 if eval "test \"\${$as_ac_var+set}\" = set"; then
39488 echo $ECHO_N "(cached) $ECHO_C" >&6
39490 cat >conftest.
$ac_ext <<_ACEOF
39493 cat confdefs.h
>>conftest.
$ac_ext
39494 cat >>conftest.
$ac_ext <<_ACEOF
39495 /* end confdefs.h. */
39496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39498 #define $ac_func innocuous_$ac_func
39500 /* System header to define __stub macros and hopefully few prototypes,
39501 which can conflict with char $ac_func (); below.
39502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39503 <limits.h> exists even on freestanding compilers. */
39506 # include <limits.h>
39508 # include <assert.h>
39513 /* Override any gcc2 internal prototype to avoid an error. */
39518 /* We use char because int might match the return type of a gcc2
39519 builtin and then its argument prototype would still apply. */
39521 /* The GNU C library defines this for functions which it implements
39522 to always fail with ENOSYS. Some functions are actually named
39523 something starting with __ and the normal name is an alias. */
39524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39527 char (*f) () = $ac_func;
39536 return f != $ac_func;
39541 rm -f conftest.
$ac_objext conftest
$ac_exeext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39543 (eval $ac_link) 2>conftest.er1
39545 grep -v '^ *+' conftest.er1
>conftest.err
39547 cat conftest.err
>&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try
='test -z "$ac_cxx_werror_flag"
39551 || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try
='test -s conftest$ac_exeext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 eval "$as_ac_var=yes"
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.
$ac_ext >&5
39568 eval "$as_ac_var=no"
39570 rm -f conftest.err conftest.
$ac_objext \
39571 conftest
$ac_exeext conftest.
$ac_ext
39573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39575 if test `eval echo '${'$as_ac_var'}'` = yes; then
39576 cat >>confdefs.h
<<_ACEOF
39577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39579 cat >>confdefs.h
<<\_ACEOF
39580 #define HAVE_GETSERVBYNAME 1
39588 ac_cpp
='$CPP $CPPFLAGS'
39589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39594 if test "$wxUSE_THREADS" = "yes"; then
39595 cat >>confdefs.h
<<\_ACEOF
39596 #define wxUSE_THREADS 1
39600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39602 if test "$ac_cv_func_strtok_r" = "yes"; then
39603 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39604 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39605 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39606 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39607 echo "$as_me:$LINENO: result: yes" >&5
39608 echo "${ECHO_T}yes" >&6
39610 echo "$as_me:$LINENO: result: no" >&5
39611 echo "${ECHO_T}no" >&6
39616 if test "$WXGTK20" = 1 ; then
39617 cat >>confdefs.h
<<_ACEOF
39618 #define __WXGTK20__ $WXGTK20
39624 if test "$WXGTK12" = 1 ; then
39625 cat >>confdefs.h
<<_ACEOF
39626 #define __WXGTK12__ $WXGTK12
39631 if test "$WXGTK127" = 1 ; then
39632 cat >>confdefs.h
<<_ACEOF
39633 #define __WXGTK127__ $WXGTK127
39638 if test "$WXGPE" = 1 ; then
39639 cat >>confdefs.h
<<_ACEOF
39640 #define __WXGPE__ $WXGPE
39646 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39651 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39652 wxUSE_DEBUG_INFO
=yes
39653 if test "$GCC" = yes; then
39654 DEBUG_CFLAGS
="-ggdb"
39658 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39659 cat >>confdefs.h
<<\_ACEOF
39663 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39665 if test "$wxUSE_GTK" = 1 ; then
39666 if test "x$wxGTK_VERSION" = "x1" ; then
39667 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39672 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39673 cat >>confdefs.h
<<\_ACEOF
39674 #define wxUSE_MEMORY_TRACING 1
39677 cat >>confdefs.h
<<\_ACEOF
39678 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39681 cat >>confdefs.h
<<\_ACEOF
39682 #define wxUSE_DEBUG_NEW_ALWAYS 1
39685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39688 if test "$wxUSE_DMALLOC" = "yes" ; then
39689 DMALLOC_LIBS
="-ldmallocthcxx"
39693 if test "$wxUSE_PROFILE" = "yes" ; then
39694 PROFILE_FLAGS
=" -pg"
39697 if test "$GCC" = "yes" ; then
39698 if test "$wxUSE_NO_RTTI" = "yes" ; then
39699 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39701 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39702 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39704 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39705 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39710 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39713 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39719 if test "$wxUSE_OPTIMISE" = "no" ; then
39720 if test "$GCC" = yes ; then
39721 OPTIMISE_CFLAGS
="-O0"
39724 if test "$GCC" = yes ; then
39726 *-pc-os2_emx | *-pc-os2-emx )
39727 OPTIMISE_CFLAGS
="-O2"
39730 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
39734 OPTIMISE_CFLAGS
="-O"
39739 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39740 cat >>confdefs.h
<<\_ACEOF
39741 #define WXWIN_COMPATIBILITY_2_4 1
39745 WXWIN_COMPATIBILITY_2_6
="yes"
39748 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39749 cat >>confdefs.h
<<\_ACEOF
39750 #define WXWIN_COMPATIBILITY_2_6 1
39756 if test "$wxUSE_GUI" = "yes"; then
39757 cat >>confdefs.h
<<\_ACEOF
39758 #define wxUSE_GUI 1
39765 if test "$wxUSE_UNIX" = "yes"; then
39766 cat >>confdefs.h
<<\_ACEOF
39767 #define wxUSE_UNIX 1
39773 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39777 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39778 if test "$USE_DARWIN" = 1; then
39780 elif test "$USE_DOS" = 1; then
39784 for ac_func
in dlopen
39786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39787 echo "$as_me:$LINENO: checking for $ac_func" >&5
39788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39789 if eval "test \"\${$as_ac_var+set}\" = set"; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39792 cat >conftest.
$ac_ext <<_ACEOF
39795 cat confdefs.h
>>conftest.
$ac_ext
39796 cat >>conftest.
$ac_ext <<_ACEOF
39797 /* end confdefs.h. */
39798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39800 #define $ac_func innocuous_$ac_func
39802 /* System header to define __stub macros and hopefully few prototypes,
39803 which can conflict with char $ac_func (); below.
39804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39805 <limits.h> exists even on freestanding compilers. */
39808 # include <limits.h>
39810 # include <assert.h>
39815 /* Override any gcc2 internal prototype to avoid an error. */
39820 /* We use char because int might match the return type of a gcc2
39821 builtin and then its argument prototype would still apply. */
39823 /* The GNU C library defines this for functions which it implements
39824 to always fail with ENOSYS. Some functions are actually named
39825 something starting with __ and the normal name is an alias. */
39826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39829 char (*f) () = $ac_func;
39838 return f != $ac_func;
39843 rm -f conftest.
$ac_objext conftest
$ac_exeext
39844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39845 (eval $ac_link) 2>conftest.er1
39847 grep -v '^ *+' conftest.er1
>conftest.err
39849 cat conftest.err
>&5
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); } &&
39852 { ac_try
='test -z "$ac_c_werror_flag"
39853 || test ! -s conftest.err'
39854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39855 (eval $ac_try) 2>&5
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); }; } &&
39859 { ac_try
='test -s conftest$ac_exeext'
39860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39861 (eval $ac_try) 2>&5
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); }; }; then
39865 eval "$as_ac_var=yes"
39867 echo "$as_me: failed program was:" >&5
39868 sed 's/^/| /' conftest.
$ac_ext >&5
39870 eval "$as_ac_var=no"
39872 rm -f conftest.err conftest.
$ac_objext \
39873 conftest
$ac_exeext conftest.
$ac_ext
39875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39877 if test `eval echo '${'$as_ac_var'}'` = yes; then
39878 cat >>confdefs.h
<<_ACEOF
39879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39882 cat >>confdefs.h
<<\_ACEOF
39883 #define HAVE_DLOPEN 1
39890 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39891 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39892 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39893 echo $ECHO_N "(cached) $ECHO_C" >&6
39895 ac_check_lib_save_LIBS
=$LIBS
39897 cat >conftest.
$ac_ext <<_ACEOF
39900 cat confdefs.h
>>conftest.
$ac_ext
39901 cat >>conftest.
$ac_ext <<_ACEOF
39902 /* end confdefs.h. */
39904 /* Override any gcc2 internal prototype to avoid an error. */
39908 /* We use char because int might match the return type of a gcc2
39909 builtin and then its argument prototype would still apply. */
39919 rm -f conftest.
$ac_objext conftest
$ac_exeext
39920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39921 (eval $ac_link) 2>conftest.er1
39923 grep -v '^ *+' conftest.er1
>conftest.err
39925 cat conftest.err
>&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } &&
39928 { ac_try
='test -z "$ac_c_werror_flag"
39929 || test ! -s conftest.err'
39930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39931 (eval $ac_try) 2>&5
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; } &&
39935 { ac_try
='test -s conftest$ac_exeext'
39936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39937 (eval $ac_try) 2>&5
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); }; }; then
39941 ac_cv_lib_dl_dlopen
=yes
39943 echo "$as_me: failed program was:" >&5
39944 sed 's/^/| /' conftest.
$ac_ext >&5
39946 ac_cv_lib_dl_dlopen
=no
39948 rm -f conftest.err conftest.
$ac_objext \
39949 conftest
$ac_exeext conftest.
$ac_ext
39950 LIBS
=$ac_check_lib_save_LIBS
39952 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39953 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39954 if test $ac_cv_lib_dl_dlopen = yes; then
39956 cat >>confdefs.h
<<\_ACEOF
39957 #define HAVE_DLOPEN 1
39961 DL_LINK
=" -ldl$DL_LINK"
39966 for ac_func
in shl_load
39968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39969 echo "$as_me:$LINENO: checking for $ac_func" >&5
39970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39971 if eval "test \"\${$as_ac_var+set}\" = set"; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39974 cat >conftest.
$ac_ext <<_ACEOF
39977 cat confdefs.h
>>conftest.
$ac_ext
39978 cat >>conftest.
$ac_ext <<_ACEOF
39979 /* end confdefs.h. */
39980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39982 #define $ac_func innocuous_$ac_func
39984 /* System header to define __stub macros and hopefully few prototypes,
39985 which can conflict with char $ac_func (); below.
39986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39987 <limits.h> exists even on freestanding compilers. */
39990 # include <limits.h>
39992 # include <assert.h>
39997 /* Override any gcc2 internal prototype to avoid an error. */
40002 /* We use char because int might match the return type of a gcc2
40003 builtin and then its argument prototype would still apply. */
40005 /* The GNU C library defines this for functions which it implements
40006 to always fail with ENOSYS. Some functions are actually named
40007 something starting with __ and the normal name is an alias. */
40008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40011 char (*f) () = $ac_func;
40020 return f != $ac_func;
40025 rm -f conftest.
$ac_objext conftest
$ac_exeext
40026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40027 (eval $ac_link) 2>conftest.er1
40029 grep -v '^ *+' conftest.er1
>conftest.err
40031 cat conftest.err
>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } &&
40034 { ac_try
='test -z "$ac_c_werror_flag"
40035 || test ! -s conftest.err'
40036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40037 (eval $ac_try) 2>&5
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); }; } &&
40041 { ac_try
='test -s conftest$ac_exeext'
40042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40043 (eval $ac_try) 2>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40047 eval "$as_ac_var=yes"
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.
$ac_ext >&5
40052 eval "$as_ac_var=no"
40054 rm -f conftest.err conftest.
$ac_objext \
40055 conftest
$ac_exeext conftest.
$ac_ext
40057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40059 if test `eval echo '${'$as_ac_var'}'` = yes; then
40060 cat >>confdefs.h
<<_ACEOF
40061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40064 cat >>confdefs.h
<<\_ACEOF
40065 #define HAVE_SHL_LOAD 1
40072 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40073 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40074 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 ac_check_lib_save_LIBS
=$LIBS
40078 LIBS
="-lshl_load $LIBS"
40079 cat >conftest.
$ac_ext <<_ACEOF
40082 cat confdefs.h
>>conftest.
$ac_ext
40083 cat >>conftest.
$ac_ext <<_ACEOF
40084 /* end confdefs.h. */
40086 /* Override any gcc2 internal prototype to avoid an error. */
40090 /* We use char because int might match the return type of a gcc2
40091 builtin and then its argument prototype would still apply. */
40101 rm -f conftest.
$ac_objext conftest
$ac_exeext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40103 (eval $ac_link) 2>conftest.er1
40105 grep -v '^ *+' conftest.er1
>conftest.err
40107 cat conftest.err
>&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } &&
40110 { ac_try
='test -z "$ac_c_werror_flag"
40111 || test ! -s conftest.err'
40112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40113 (eval $ac_try) 2>&5
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); }; } &&
40117 { ac_try
='test -s conftest$ac_exeext'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; }; then
40123 ac_cv_lib_shl_load_dld
=yes
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.
$ac_ext >&5
40128 ac_cv_lib_shl_load_dld
=no
40130 rm -f conftest.err conftest.
$ac_objext \
40131 conftest
$ac_exeext conftest.
$ac_ext
40132 LIBS
=$ac_check_lib_save_LIBS
40134 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40135 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40136 if test $ac_cv_lib_shl_load_dld = yes; then
40139 DL_LINK
=" -ldld$DL_LINK"
40155 if test "$HAVE_DL_FUNCS" = 1; then
40157 for ac_func
in dlerror
40159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40160 echo "$as_me:$LINENO: checking for $ac_func" >&5
40161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40162 if eval "test \"\${$as_ac_var+set}\" = set"; then
40163 echo $ECHO_N "(cached) $ECHO_C" >&6
40165 cat >conftest.
$ac_ext <<_ACEOF
40168 cat confdefs.h
>>conftest.
$ac_ext
40169 cat >>conftest.
$ac_ext <<_ACEOF
40170 /* end confdefs.h. */
40171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40173 #define $ac_func innocuous_$ac_func
40175 /* System header to define __stub macros and hopefully few prototypes,
40176 which can conflict with char $ac_func (); below.
40177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40178 <limits.h> exists even on freestanding compilers. */
40181 # include <limits.h>
40183 # include <assert.h>
40188 /* Override any gcc2 internal prototype to avoid an error. */
40193 /* We use char because int might match the return type of a gcc2
40194 builtin and then its argument prototype would still apply. */
40196 /* The GNU C library defines this for functions which it implements
40197 to always fail with ENOSYS. Some functions are actually named
40198 something starting with __ and the normal name is an alias. */
40199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40202 char (*f) () = $ac_func;
40211 return f != $ac_func;
40216 rm -f conftest.
$ac_objext conftest
$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40220 grep -v '^ *+' conftest.er1
>conftest.err
40222 cat conftest.err
>&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try
='test -z "$ac_c_werror_flag"
40226 || test ! -s conftest.err'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; } &&
40232 { ac_try
='test -s conftest$ac_exeext'
40233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234 (eval $ac_try) 2>&5
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); }; }; then
40238 eval "$as_ac_var=yes"
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.
$ac_ext >&5
40243 eval "$as_ac_var=no"
40245 rm -f conftest.err conftest.
$ac_objext \
40246 conftest
$ac_exeext conftest.
$ac_ext
40248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40250 if test `eval echo '${'$as_ac_var'}'` = yes; then
40251 cat >>confdefs.h
<<_ACEOF
40252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40254 cat >>confdefs.h
<<\_ACEOF
40255 #define HAVE_DLERROR 1
40260 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40261 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40262 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40263 echo $ECHO_N "(cached) $ECHO_C" >&6
40265 ac_check_lib_save_LIBS
=$LIBS
40267 cat >conftest.
$ac_ext <<_ACEOF
40270 cat confdefs.h
>>conftest.
$ac_ext
40271 cat >>conftest.
$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40274 /* Override any gcc2 internal prototype to avoid an error. */
40278 /* We use char because int might match the return type of a gcc2
40279 builtin and then its argument prototype would still apply. */
40289 rm -f conftest.
$ac_objext conftest
$ac_exeext
40290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40291 (eval $ac_link) 2>conftest.er1
40293 grep -v '^ *+' conftest.er1
>conftest.err
40295 cat conftest.err
>&5
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); } &&
40298 { ac_try
='test -z "$ac_c_werror_flag"
40299 || test ! -s conftest.err'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; } &&
40305 { ac_try
='test -s conftest$ac_exeext'
40306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40307 (eval $ac_try) 2>&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); }; }; then
40311 ac_cv_lib_dl_dlerror
=yes
40313 echo "$as_me: failed program was:" >&5
40314 sed 's/^/| /' conftest.
$ac_ext >&5
40316 ac_cv_lib_dl_dlerror
=no
40318 rm -f conftest.err conftest.
$ac_objext \
40319 conftest
$ac_exeext conftest.
$ac_ext
40320 LIBS
=$ac_check_lib_save_LIBS
40322 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40323 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40324 if test $ac_cv_lib_dl_dlerror = yes; then
40325 cat >>confdefs.h
<<\_ACEOF
40326 #define HAVE_DLERROR 1
40339 if test "$HAVE_DL_FUNCS" = 0; then
40340 if test "$HAVE_SHL_FUNCS" = 0; then
40341 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40342 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40343 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40344 wxUSE_DYNAMIC_LOADER
=no
40345 wxUSE_DYNLIB_CLASS
=no
40347 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40348 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40355 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40356 cat >>confdefs.h
<<\_ACEOF
40357 #define wxUSE_DYNAMIC_LOADER 1
40361 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40362 cat >>confdefs.h
<<\_ACEOF
40363 #define wxUSE_DYNLIB_CLASS 1
40370 if test "$wxUSE_PLUGINS" = "yes" ; then
40371 if test "$wxUSE_SHARED" = "no" ; then
40372 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40373 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40376 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40377 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40378 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40381 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40382 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40383 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40386 if test "$wxUSE_PLUGINS" = "yes" ; then
40387 cat >>confdefs.h
<<\_ACEOF
40388 #define wxUSE_PLUGINS 1
40395 if test "$wxUSE_STL" = "yes"; then
40396 cat >>confdefs.h
<<\_ACEOF
40397 #define wxUSE_STL 1
40402 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40403 cat >>confdefs.h
<<\_ACEOF
40404 #define wxUSE_APPLE_IEEE 1
40409 if test "$wxUSE_TIMER" = "yes"; then
40410 cat >>confdefs.h
<<\_ACEOF
40411 #define wxUSE_TIMER 1
40416 if test "$USE_UNIX" = "1" ; then
40417 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40418 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40419 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40420 echo $ECHO_N "(cached) $ECHO_C" >&6
40423 cat >conftest.
$ac_ext <<_ACEOF
40426 cat confdefs.h
>>conftest.
$ac_ext
40427 cat >>conftest.
$ac_ext <<_ACEOF
40428 /* end confdefs.h. */
40430 #include <sys/soundcard.h>
40436 ioctl(0, SNDCTL_DSP_SYNC, 0);
40442 rm -f conftest.
$ac_objext conftest
$ac_exeext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40444 (eval $ac_link) 2>conftest.er1
40446 grep -v '^ *+' conftest.er1
>conftest.err
40448 cat conftest.err
>&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } &&
40451 { ac_try
='test -z "$ac_c_werror_flag"
40452 || test ! -s conftest.err'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; } &&
40458 { ac_try
='test -s conftest$ac_exeext'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; }; then
40464 ac_cv_header_sys_soundcard
=yes
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.
$ac_ext >&5
40471 LIBS
="$saveLibs -lossaudio"
40472 cat >conftest.
$ac_ext <<_ACEOF
40475 cat confdefs.h
>>conftest.
$ac_ext
40476 cat >>conftest.
$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40479 #include <sys/soundcard.h>
40485 ioctl(0, SNDCTL_DSP_SYNC, 0);
40491 rm -f conftest.
$ac_objext conftest
$ac_exeext
40492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40493 (eval $ac_link) 2>conftest.er1
40495 grep -v '^ *+' conftest.er1
>conftest.err
40497 cat conftest.err
>&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); } &&
40500 { ac_try
='test -z "$ac_c_werror_flag"
40501 || test ! -s conftest.err'
40502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40503 (eval $ac_try) 2>&5
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); }; } &&
40507 { ac_try
='test -s conftest$ac_exeext'
40508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40509 (eval $ac_try) 2>&5
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); }; }; then
40513 ac_cv_header_sys_soundcard
=yes
40515 echo "$as_me: failed program was:" >&5
40516 sed 's/^/| /' conftest.
$ac_ext >&5
40520 ac_cv_header_sys_soundcard
=no
40524 rm -f conftest.err conftest.
$ac_objext \
40525 conftest
$ac_exeext conftest.
$ac_ext
40529 rm -f conftest.err conftest.
$ac_objext \
40530 conftest
$ac_exeext conftest.
$ac_ext
40533 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40534 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40536 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40537 cat >>confdefs.h
<<\_ACEOF
40538 #define HAVE_SYS_SOUNDCARD_H 1
40542 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40546 if test "$wxUSE_SOUND" = "yes"; then
40547 if test "$USE_UNIX" = "1" ; then
40548 if test "$wxUSE_LIBSDL" != "no"; then
40550 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40551 if test "${with_sdl_prefix+set}" = set; then
40552 withval
="$with_sdl_prefix"
40553 sdl_prefix
="$withval"
40558 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40559 if test "${with_sdl_exec_prefix+set}" = set; then
40560 withval
="$with_sdl_exec_prefix"
40561 sdl_exec_prefix
="$withval"
40565 # Check whether --enable-sdltest or --disable-sdltest was given.
40566 if test "${enable_sdltest+set}" = set; then
40567 enableval
="$enable_sdltest"
40573 if test x
$sdl_exec_prefix != x
; then
40574 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40575 if test x
${SDL_CONFIG+set} != xset
; then
40576 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40579 if test x
$sdl_prefix != x
; then
40580 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40581 if test x
${SDL_CONFIG+set} != xset
; then
40582 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40587 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40588 # Extract the first word of "sdl-config", so it can be a program name with args.
40589 set dummy sdl
-config; ac_word
=$2
40590 echo "$as_me:$LINENO: checking for $ac_word" >&5
40591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40592 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40593 echo $ECHO_N "(cached) $ECHO_C" >&6
40595 case $SDL_CONFIG in
40597 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40601 for as_dir
in $PATH
40604 test -z "$as_dir" && as_dir
=.
40605 for ac_exec_ext
in '' $ac_executable_extensions; do
40606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40607 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40614 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40618 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40620 if test -n "$SDL_CONFIG"; then
40621 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40622 echo "${ECHO_T}$SDL_CONFIG" >&6
40624 echo "$as_me:$LINENO: result: no" >&5
40625 echo "${ECHO_T}no" >&6
40628 min_sdl_version
=1.2.0
40629 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40630 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40632 if test "$SDL_CONFIG" = "no" ; then
40635 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40636 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40638 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40640 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40642 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40644 if test "x$enable_sdltest" = "xyes" ; then
40645 ac_save_CFLAGS
="$CFLAGS"
40646 ac_save_CXXFLAGS
="$CXXFLAGS"
40647 ac_save_LIBS
="$LIBS"
40648 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40649 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40650 LIBS
="$LIBS $SDL_LIBS"
40652 if test "$cross_compiling" = yes; then
40653 echo $ac_n "cross compiling; assumed OK... $ac_c"
40655 cat >conftest.
$ac_ext <<_ACEOF
40658 cat confdefs.h
>>conftest.
$ac_ext
40659 cat >>conftest.
$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40663 #include <stdlib.h>
40664 #include <string.h>
40668 my_strdup (char *str)
40674 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40675 strcpy (new_str, str);
40683 int main (int argc, char *argv[])
40685 int major, minor, micro;
40688 /* This hangs on some systems (?)
40689 system ("touch conf.sdltest");
40691 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40693 /* HP/UX 9 (%@#!) writes to sscanf strings */
40694 tmp_version = my_strdup("$min_sdl_version");
40695 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40696 printf("%s, bad version string\n", "$min_sdl_version");
40700 if (($sdl_major_version > major) ||
40701 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40702 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40708 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40709 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40710 printf("*** best to upgrade to the required version.\n");
40711 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40712 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40713 printf("*** config.cache before re-running configure\n");
40720 rm -f conftest
$ac_exeext
40721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40722 (eval $ac_link) 2>&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40727 (eval $ac_try) 2>&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); }; }; then
40733 echo "$as_me: program exited with status $ac_status" >&5
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.
$ac_ext >&5
40737 ( exit $ac_status )
40740 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40742 CFLAGS
="$ac_save_CFLAGS"
40743 CXXFLAGS
="$ac_save_CXXFLAGS"
40744 LIBS
="$ac_save_LIBS"
40747 if test "x$no_sdl" = x
; then
40748 echo "$as_me:$LINENO: result: yes" >&5
40749 echo "${ECHO_T}yes" >&6
40751 EXTRALIBS_SDL
="$SDL_LIBS"
40752 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40753 cat >>confdefs.h
<<\_ACEOF
40754 #define wxUSE_LIBSDL 1
40759 echo "$as_me:$LINENO: result: no" >&5
40760 echo "${ECHO_T}no" >&6
40761 if test "$SDL_CONFIG" = "no" ; then
40762 echo "*** The sdl-config script installed by SDL could not be found"
40763 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40764 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40765 echo "*** full path to sdl-config."
40767 if test -f conf.sdltest
; then
40770 echo "*** Could not run SDL test program, checking why..."
40771 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40772 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40773 LIBS
="$LIBS $SDL_LIBS"
40774 cat >conftest.
$ac_ext <<_ACEOF
40777 cat confdefs.h
>>conftest.
$ac_ext
40778 cat >>conftest.
$ac_ext <<_ACEOF
40779 /* end confdefs.h. */
40784 int main(int argc, char *argv[])
40787 #define main K_and_R_C_main
40797 rm -f conftest.
$ac_objext conftest
$ac_exeext
40798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40799 (eval $ac_link) 2>conftest.er1
40801 grep -v '^ *+' conftest.er1
>conftest.err
40803 cat conftest.err
>&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } &&
40806 { ac_try
='test -z "$ac_c_werror_flag"
40807 || test ! -s conftest.err'
40808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40809 (eval $ac_try) 2>&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); }; } &&
40813 { ac_try
='test -s conftest$ac_exeext'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; }; then
40819 echo "*** The test program compiled, but did not run. This usually means"
40820 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40821 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40822 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40823 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40824 echo "*** is required on your system"
40826 echo "*** If you have an old version installed, it is best to remove it, although"
40827 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40829 echo "$as_me: failed program was:" >&5
40830 sed 's/^/| /' conftest.
$ac_ext >&5
40832 echo "*** The test program failed to compile or link. See the file config.log for the"
40833 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40834 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40835 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40837 rm -f conftest.err conftest.
$ac_objext \
40838 conftest
$ac_exeext conftest.
$ac_ext
40839 CFLAGS
="$ac_save_CFLAGS"
40840 CXXFLAGS
="$ac_save_CXXFLAGS"
40841 LIBS
="$ac_save_LIBS"
40852 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40858 cat >>confdefs.h
<<\_ACEOF
40859 #define wxUSE_SOUND 1
40862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40865 if test "$WXGTK20" = 1; then
40866 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40867 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40872 if test -z "$PKG_CONFIG"; then
40873 # Extract the first word of "pkg-config", so it can be a program name with args.
40874 set dummy pkg
-config; ac_word
=$2
40875 echo "$as_me:$LINENO: checking for $ac_word" >&5
40876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40880 case $PKG_CONFIG in
40882 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40886 for as_dir
in $PATH
40889 test -z "$as_dir" && as_dir
=.
40890 for ac_exec_ext
in '' $ac_executable_extensions; do
40891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40892 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40899 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40903 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40905 if test -n "$PKG_CONFIG"; then
40906 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40907 echo "${ECHO_T}$PKG_CONFIG" >&6
40909 echo "$as_me:$LINENO: result: no" >&5
40910 echo "${ECHO_T}no" >&6
40915 if test "$PKG_CONFIG" = "no" ; then
40916 echo "*** The pkg-config script could not be found. Make sure it is"
40917 echo "*** in your path, or set the PKG_CONFIG environment variable"
40918 echo "*** to the full path to pkg-config."
40919 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40921 PKG_CONFIG_MIN_VERSION
=0.9.0
40922 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40923 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40924 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40926 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40927 echo "$as_me:$LINENO: result: yes" >&5
40928 echo "${ECHO_T}yes" >&6
40931 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40932 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40933 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40934 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40935 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40937 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40938 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40939 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40940 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40941 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40943 LIBGNOMEPRINTUI_CFLAGS
=""
40944 LIBGNOMEPRINTUI_LIBS
=""
40945 ## If we have a custom action on failure, don't print errors, but
40946 ## do set a variable so people can do so.
40947 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40954 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40955 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40959 if test $succeeded = yes; then
40961 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40962 cat >>confdefs.h
<<\_ACEOF
40963 #define wxUSE_LIBGNOMEPRINT 1
40969 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40970 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40971 wxUSE_LIBGNOMEPRINT
="no"
40980 if test "$WXGTK20" = 1; then
40981 if test "$wxUSE_MIMETYPE" = "yes" ; then
40982 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
40987 if test -z "$PKG_CONFIG"; then
40988 # Extract the first word of "pkg-config", so it can be a program name with args.
40989 set dummy pkg
-config; ac_word
=$2
40990 echo "$as_me:$LINENO: checking for $ac_word" >&5
40991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40993 echo $ECHO_N "(cached) $ECHO_C" >&6
40995 case $PKG_CONFIG in
40997 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41001 for as_dir
in $PATH
41004 test -z "$as_dir" && as_dir
=.
41005 for ac_exec_ext
in '' $ac_executable_extensions; do
41006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41007 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41014 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41018 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41020 if test -n "$PKG_CONFIG"; then
41021 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41022 echo "${ECHO_T}$PKG_CONFIG" >&6
41024 echo "$as_me:$LINENO: result: no" >&5
41025 echo "${ECHO_T}no" >&6
41030 if test "$PKG_CONFIG" = "no" ; then
41031 echo "*** The pkg-config script could not be found. Make sure it is"
41032 echo "*** in your path, or set the PKG_CONFIG environment variable"
41033 echo "*** to the full path to pkg-config."
41034 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41036 PKG_CONFIG_MIN_VERSION
=0.9.0
41037 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41038 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41039 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41041 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41042 echo "$as_me:$LINENO: result: yes" >&5
41043 echo "${ECHO_T}yes" >&6
41046 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41047 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41048 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41049 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41050 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41052 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41053 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41054 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41055 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41056 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41060 ## If we have a custom action on failure, don't print errors, but
41061 ## do set a variable so people can do so.
41062 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41069 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41070 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41074 if test $succeeded = yes; then
41076 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41077 cat >>confdefs.h
<<\_ACEOF
41078 #define wxUSE_LIBGNOMEVFS 1
41084 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41085 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41086 wxUSE_LIBGNOMEVFS
="no"
41095 if test "$WXGTK20" = 1; then
41096 if test "$wxUSE_LIBHILDON" = "yes" ; then
41100 if test -z "$PKG_CONFIG"; then
41101 # Extract the first word of "pkg-config", so it can be a program name with args.
41102 set dummy pkg
-config; ac_word
=$2
41103 echo "$as_me:$LINENO: checking for $ac_word" >&5
41104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41105 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41108 case $PKG_CONFIG in
41110 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41114 for as_dir
in $PATH
41117 test -z "$as_dir" && as_dir
=.
41118 for ac_exec_ext
in '' $ac_executable_extensions; do
41119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41120 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41127 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41131 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41133 if test -n "$PKG_CONFIG"; then
41134 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41135 echo "${ECHO_T}$PKG_CONFIG" >&6
41137 echo "$as_me:$LINENO: result: no" >&5
41138 echo "${ECHO_T}no" >&6
41143 if test "$PKG_CONFIG" = "no" ; then
41144 echo "*** The pkg-config script could not be found. Make sure it is"
41145 echo "*** in your path, or set the PKG_CONFIG environment variable"
41146 echo "*** to the full path to pkg-config."
41147 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41149 PKG_CONFIG_MIN_VERSION
=0.9.0
41150 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41151 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41152 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41154 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41155 echo "$as_me:$LINENO: result: yes" >&5
41156 echo "${ECHO_T}yes" >&6
41159 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41160 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41161 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41162 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41163 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41165 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41166 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41167 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41168 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41169 echo "${ECHO_T}$HILDON_LIBS" >&6
41173 ## If we have a custom action on failure, don't print errors, but
41174 ## do set a variable so people can do so.
41175 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41182 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41183 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41187 if test $succeeded = yes; then
41189 EXTRALIBS_HILDON
="$HILDON_LIBS"
41190 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define wxUSE_LIBHILDON 1
41198 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41199 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41200 wxUSE_LIBHILDON
="no"
41208 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41209 cat >>confdefs.h
<<\_ACEOF
41210 #define wxUSE_CMDLINE_PARSER 1
41215 if test "$wxUSE_STOPWATCH" = "yes"; then
41216 cat >>confdefs.h
<<\_ACEOF
41217 #define wxUSE_STOPWATCH 1
41222 if test "$wxUSE_DATETIME" = "yes"; then
41223 cat >>confdefs.h
<<\_ACEOF
41224 #define wxUSE_DATETIME 1
41229 if test "$wxUSE_FILE" = "yes"; then
41230 cat >>confdefs.h
<<\_ACEOF
41231 #define wxUSE_FILE 1
41236 if test "$wxUSE_FFILE" = "yes"; then
41237 cat >>confdefs.h
<<\_ACEOF
41238 #define wxUSE_FFILE 1
41243 if test "$wxUSE_FILESYSTEM" = "yes"; then
41244 cat >>confdefs.h
<<\_ACEOF
41245 #define wxUSE_FILESYSTEM 1
41250 if test "$wxUSE_FS_ZIP" = "yes"; then
41251 cat >>confdefs.h
<<\_ACEOF
41252 #define wxUSE_FS_ZIP 1
41257 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41258 cat >>confdefs.h
<<\_ACEOF
41259 #define wxUSE_ARCHIVE_STREAMS 1
41264 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41265 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41266 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41267 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41268 elif test "$wxUSE_ZLIB" = "no"; then
41269 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41270 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41272 cat >>confdefs.h
<<\_ACEOF
41273 #define wxUSE_ZIPSTREAM 1
41279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41280 if test "$USE_UNIX" != 1; then
41281 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41282 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41283 wxUSE_ON_FATAL_EXCEPTION
=no
41285 cat >>confdefs.h
<<\_ACEOF
41286 #define wxUSE_ON_FATAL_EXCEPTION 1
41292 if test "$wxUSE_STACKWALKER" = "yes"; then
41293 cat >>confdefs.h
<<\_ACEOF
41294 #define wxUSE_STACKWALKER 1
41299 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41300 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41301 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41302 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41303 wxUSE_DEBUGREPORT
=no
41305 cat >>confdefs.h
<<\_ACEOF
41306 #define wxUSE_DEBUGREPORT 1
41309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41315 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41316 cat >>confdefs.h
<<\_ACEOF
41317 #define wxUSE_SNGLINST_CHECKER 1
41322 if test "$wxUSE_BUSYINFO" = "yes"; then
41323 cat >>confdefs.h
<<\_ACEOF
41324 #define wxUSE_BUSYINFO 1
41329 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41330 cat >>confdefs.h
<<\_ACEOF
41331 #define wxUSE_STD_IOSTREAM 1
41336 if test "$wxUSE_STD_STRING" = "yes"; then
41337 cat >>confdefs.h
<<\_ACEOF
41338 #define wxUSE_STD_STRING 1
41343 if test "$wxUSE_STDPATHS" = "yes"; then
41344 cat >>confdefs.h
<<\_ACEOF
41345 #define wxUSE_STDPATHS 1
41350 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41351 cat >>confdefs.h
<<\_ACEOF
41352 #define wxUSE_TEXTBUFFER 1
41357 if test "$wxUSE_TEXTFILE" = "yes"; then
41358 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41359 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41360 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41362 cat >>confdefs.h
<<\_ACEOF
41363 #define wxUSE_TEXTFILE 1
41369 if test "$wxUSE_CONFIG" = "yes" ; then
41370 if test "$wxUSE_TEXTFILE" != "yes"; then
41371 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41372 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41374 cat >>confdefs.h
<<\_ACEOF
41375 #define wxUSE_CONFIG 1
41378 cat >>confdefs.h
<<\_ACEOF
41379 #define wxUSE_CONFIG_NATIVE 1
41382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41386 if test "$wxUSE_INTL" = "yes" ; then
41387 if test "$wxUSE_FILE" != "yes"; then
41388 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41389 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41391 cat >>confdefs.h
<<\_ACEOF
41392 #define wxUSE_INTL 1
41395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41396 GUIDIST
="$GUIDIST INTL_DIST"
41400 if test "$wxUSE_LOG" = "yes"; then
41401 cat >>confdefs.h
<<\_ACEOF
41402 #define wxUSE_LOG 1
41406 if test "$wxUSE_LOGGUI" = "yes"; then
41407 cat >>confdefs.h
<<\_ACEOF
41408 #define wxUSE_LOGGUI 1
41413 if test "$wxUSE_LOGWINDOW" = "yes"; then
41414 cat >>confdefs.h
<<\_ACEOF
41415 #define wxUSE_LOGWINDOW 1
41420 if test "$wxUSE_LOGDIALOG" = "yes"; then
41421 cat >>confdefs.h
<<\_ACEOF
41422 #define wxUSE_LOG_DIALOG 1
41427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41430 if test "$wxUSE_LONGLONG" = "yes"; then
41431 cat >>confdefs.h
<<\_ACEOF
41432 #define wxUSE_LONGLONG 1
41437 if test "$wxUSE_GEOMETRY" = "yes"; then
41438 cat >>confdefs.h
<<\_ACEOF
41439 #define wxUSE_GEOMETRY 1
41444 if test "$wxUSE_STREAMS" = "yes" ; then
41445 cat >>confdefs.h
<<\_ACEOF
41446 #define wxUSE_STREAMS 1
41452 if test "$wxUSE_DATETIME" = "yes"; then
41454 for ac_func
in strptime
41456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41457 echo "$as_me:$LINENO: checking for $ac_func" >&5
41458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41459 if eval "test \"\${$as_ac_var+set}\" = set"; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41462 cat >conftest.
$ac_ext <<_ACEOF
41465 cat confdefs.h
>>conftest.
$ac_ext
41466 cat >>conftest.
$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41470 #define $ac_func innocuous_$ac_func
41472 /* System header to define __stub macros and hopefully few prototypes,
41473 which can conflict with char $ac_func (); below.
41474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41475 <limits.h> exists even on freestanding compilers. */
41478 # include <limits.h>
41480 # include <assert.h>
41485 /* Override any gcc2 internal prototype to avoid an error. */
41490 /* We use char because int might match the return type of a gcc2
41491 builtin and then its argument prototype would still apply. */
41493 /* The GNU C library defines this for functions which it implements
41494 to always fail with ENOSYS. Some functions are actually named
41495 something starting with __ and the normal name is an alias. */
41496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41499 char (*f) () = $ac_func;
41508 return f != $ac_func;
41513 rm -f conftest.
$ac_objext conftest
$ac_exeext
41514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41515 (eval $ac_link) 2>conftest.er1
41517 grep -v '^ *+' conftest.er1
>conftest.err
41519 cat conftest.err
>&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); } &&
41522 { ac_try
='test -z "$ac_c_werror_flag"
41523 || test ! -s conftest.err'
41524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41525 (eval $ac_try) 2>&5
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); }; } &&
41529 { ac_try
='test -s conftest$ac_exeext'
41530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41531 (eval $ac_try) 2>&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); }; }; then
41535 eval "$as_ac_var=yes"
41537 echo "$as_me: failed program was:" >&5
41538 sed 's/^/| /' conftest.
$ac_ext >&5
41540 eval "$as_ac_var=no"
41542 rm -f conftest.err conftest.
$ac_objext \
41543 conftest
$ac_exeext conftest.
$ac_ext
41545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41547 if test `eval echo '${'$as_ac_var'}'` = yes; then
41548 cat >>confdefs.h
<<_ACEOF
41549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41555 if test "$ac_cv_func_strptime" = "yes"; then
41556 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41557 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41558 if test "${wx_cv_func_strptime_decl+set}" = set; then
41559 echo $ECHO_N "(cached) $ECHO_C" >&6
41563 ac_cpp
='$CXXCPP $CPPFLAGS'
41564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41568 cat >conftest.
$ac_ext <<_ACEOF
41571 cat confdefs.h
>>conftest.
$ac_ext
41572 cat >>conftest.
$ac_ext <<_ACEOF
41573 /* end confdefs.h. */
41582 strptime("foo", "bar", &t);
41588 rm -f conftest.
$ac_objext
41589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41590 (eval $ac_compile) 2>conftest.er1
41592 grep -v '^ *+' conftest.er1
>conftest.err
41594 cat conftest.err
>&5
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); } &&
41597 { ac_try
='test -z "$ac_cxx_werror_flag"
41598 || test ! -s conftest.err'
41599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41600 (eval $ac_try) 2>&5
41602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41603 (exit $ac_status); }; } &&
41604 { ac_try
='test -s conftest.$ac_objext'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; }; then
41610 wx_cv_func_strptime_decl
=yes
41612 echo "$as_me: failed program was:" >&5
41613 sed 's/^/| /' conftest.
$ac_ext >&5
41615 wx_cv_func_strptime_decl
=no
41618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41620 ac_cpp
='$CPP $CPPFLAGS'
41621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41628 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41629 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41631 if test "$wx_cv_func_strptime_decl" = "yes"; then
41632 cat >>confdefs.h
<<\_ACEOF
41633 #define HAVE_STRPTIME_DECL 1
41638 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41639 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41640 if test "${wx_cv_var_timezone+set}" = set; then
41641 echo $ECHO_N "(cached) $ECHO_C" >&6
41644 cat >conftest.
$ac_ext <<_ACEOF
41647 cat confdefs.h
>>conftest.
$ac_ext
41648 cat >>conftest.
$ac_ext <<_ACEOF
41649 /* end confdefs.h. */
41664 rm -f conftest.
$ac_objext
41665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41666 (eval $ac_compile) 2>conftest.er1
41668 grep -v '^ *+' conftest.er1
>conftest.err
41670 cat conftest.err
>&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); } &&
41673 { ac_try
='test -z "$ac_c_werror_flag"
41674 || 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
41687 wx_cv_var_timezone
=timezone
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.
$ac_ext >&5
41694 cat >conftest.
$ac_ext <<_ACEOF
41697 cat confdefs.h
>>conftest.
$ac_ext
41698 cat >>conftest.
$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41714 rm -f conftest.
$ac_objext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41716 (eval $ac_compile) 2>conftest.er1
41718 grep -v '^ *+' conftest.er1
>conftest.err
41720 cat conftest.err
>&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } &&
41723 { ac_try
='test -z "$ac_c_werror_flag"
41724 || test ! -s conftest.err'
41725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726 (eval $ac_try) 2>&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; } &&
41730 { ac_try
='test -s conftest.$ac_objext'
41731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732 (eval $ac_try) 2>&5
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; }; then
41737 wx_cv_var_timezone
=_timezone
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.
$ac_ext >&5
41744 cat >conftest.
$ac_ext <<_ACEOF
41747 cat confdefs.h
>>conftest.
$ac_ext
41748 cat >>conftest.
$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41764 rm -f conftest.
$ac_objext
41765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41766 (eval $ac_compile) 2>conftest.er1
41768 grep -v '^ *+' conftest.er1
>conftest.err
41770 cat conftest.err
>&5
41771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41772 (exit $ac_status); } &&
41773 { ac_try
='test -z "$ac_c_werror_flag"
41774 || test ! -s conftest.err'
41775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41776 (eval $ac_try) 2>&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); }; } &&
41780 { ac_try
='test -s conftest.$ac_objext'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; }; then
41787 wx_cv_var_timezone
=__timezone
41790 echo "$as_me: failed program was:" >&5
41791 sed 's/^/| /' conftest.
$ac_ext >&5
41794 if test "$USE_DOS" = 0 ; then
41795 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41796 echo "$as_me: WARNING: no timezone variable" >&2;}
41801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41813 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41814 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41816 if test "x$wx_cv_var_timezone" != x
; then
41817 cat >>confdefs.h
<<_ACEOF
41818 #define WX_TIMEZONE $wx_cv_var_timezone
41824 for ac_func
in localtime
41826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41827 echo "$as_me:$LINENO: checking for $ac_func" >&5
41828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41829 if eval "test \"\${$as_ac_var+set}\" = set"; then
41830 echo $ECHO_N "(cached) $ECHO_C" >&6
41832 cat >conftest.
$ac_ext <<_ACEOF
41835 cat confdefs.h
>>conftest.
$ac_ext
41836 cat >>conftest.
$ac_ext <<_ACEOF
41837 /* end confdefs.h. */
41838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41840 #define $ac_func innocuous_$ac_func
41842 /* System header to define __stub macros and hopefully few prototypes,
41843 which can conflict with char $ac_func (); below.
41844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41845 <limits.h> exists even on freestanding compilers. */
41848 # include <limits.h>
41850 # include <assert.h>
41855 /* Override any gcc2 internal prototype to avoid an error. */
41860 /* We use char because int might match the return type of a gcc2
41861 builtin and then its argument prototype would still apply. */
41863 /* The GNU C library defines this for functions which it implements
41864 to always fail with ENOSYS. Some functions are actually named
41865 something starting with __ and the normal name is an alias. */
41866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41869 char (*f) () = $ac_func;
41878 return f != $ac_func;
41883 rm -f conftest.
$ac_objext conftest
$ac_exeext
41884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41885 (eval $ac_link) 2>conftest.er1
41887 grep -v '^ *+' conftest.er1
>conftest.err
41889 cat conftest.err
>&5
41890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891 (exit $ac_status); } &&
41892 { ac_try
='test -z "$ac_c_werror_flag"
41893 || test ! -s conftest.err'
41894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41895 (eval $ac_try) 2>&5
41897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898 (exit $ac_status); }; } &&
41899 { ac_try
='test -s conftest$ac_exeext'
41900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41901 (eval $ac_try) 2>&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); }; }; then
41905 eval "$as_ac_var=yes"
41907 echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.
$ac_ext >&5
41910 eval "$as_ac_var=no"
41912 rm -f conftest.err conftest.
$ac_objext \
41913 conftest
$ac_exeext conftest.
$ac_ext
41915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41917 if test `eval echo '${'$as_ac_var'}'` = yes; then
41918 cat >>confdefs.h
<<_ACEOF
41919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41926 if test "$ac_cv_func_localtime" = "yes"; then
41927 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41928 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41929 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41930 echo $ECHO_N "(cached) $ECHO_C" >&6
41933 cat >conftest.
$ac_ext <<_ACEOF
41936 cat confdefs.h
>>conftest.
$ac_ext
41937 cat >>conftest.
$ac_ext <<_ACEOF
41938 /* end confdefs.h. */
41953 rm -f conftest.
$ac_objext
41954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41955 (eval $ac_compile) 2>conftest.er1
41957 grep -v '^ *+' conftest.er1
>conftest.err
41959 cat conftest.err
>&5
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); } &&
41962 { ac_try
='test -z "$ac_c_werror_flag"
41963 || test ! -s conftest.err'
41964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41965 (eval $ac_try) 2>&5
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); }; } &&
41969 { ac_try
='test -s conftest.$ac_objext'
41970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41971 (eval $ac_try) 2>&5
41973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974 (exit $ac_status); }; }; then
41976 wx_cv_struct_tm_has_gmtoff
=yes
41979 echo "$as_me: failed program was:" >&5
41980 sed 's/^/| /' conftest.
$ac_ext >&5
41982 wx_cv_struct_tm_has_gmtoff
=no
41985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41988 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41989 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41992 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41993 cat >>confdefs.h
<<\_ACEOF
41994 #define WX_GMTOFF_IN_TM 1
42001 for ac_func
in gettimeofday ftime
42003 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42004 echo "$as_me:$LINENO: checking for $ac_func" >&5
42005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42006 if eval "test \"\${$as_ac_var+set}\" = set"; then
42007 echo $ECHO_N "(cached) $ECHO_C" >&6
42009 cat >conftest.
$ac_ext <<_ACEOF
42012 cat confdefs.h
>>conftest.
$ac_ext
42013 cat >>conftest.
$ac_ext <<_ACEOF
42014 /* end confdefs.h. */
42015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42017 #define $ac_func innocuous_$ac_func
42019 /* System header to define __stub macros and hopefully few prototypes,
42020 which can conflict with char $ac_func (); below.
42021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42022 <limits.h> exists even on freestanding compilers. */
42025 # include <limits.h>
42027 # include <assert.h>
42032 /* Override any gcc2 internal prototype to avoid an error. */
42037 /* We use char because int might match the return type of a gcc2
42038 builtin and then its argument prototype would still apply. */
42040 /* The GNU C library defines this for functions which it implements
42041 to always fail with ENOSYS. Some functions are actually named
42042 something starting with __ and the normal name is an alias. */
42043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42046 char (*f) () = $ac_func;
42055 return f != $ac_func;
42060 rm -f conftest.
$ac_objext conftest
$ac_exeext
42061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42062 (eval $ac_link) 2>conftest.er1
42064 grep -v '^ *+' conftest.er1
>conftest.err
42066 cat conftest.err
>&5
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); } &&
42069 { ac_try
='test -z "$ac_c_werror_flag"
42070 || test ! -s conftest.err'
42071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42072 (eval $ac_try) 2>&5
42074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075 (exit $ac_status); }; } &&
42076 { ac_try
='test -s conftest$ac_exeext'
42077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42078 (eval $ac_try) 2>&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; }; then
42082 eval "$as_ac_var=yes"
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.
$ac_ext >&5
42087 eval "$as_ac_var=no"
42089 rm -f conftest.err conftest.
$ac_objext \
42090 conftest
$ac_exeext conftest.
$ac_ext
42092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42094 if test `eval echo '${'$as_ac_var'}'` = yes; then
42095 cat >>confdefs.h
<<_ACEOF
42096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42103 if test "$ac_cv_func_gettimeofday" = "yes"; then
42104 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42105 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42106 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42107 echo $ECHO_N "(cached) $ECHO_C" >&6
42111 ac_cpp
='$CXXCPP $CPPFLAGS'
42112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42117 cat >conftest.
$ac_ext <<_ACEOF
42120 cat confdefs.h
>>conftest.
$ac_ext
42121 cat >>conftest.
$ac_ext <<_ACEOF
42122 /* end confdefs.h. */
42124 #include <sys/time.h>
42125 #include <unistd.h>
42132 gettimeofday(&tv, NULL);
42138 rm -f conftest.
$ac_objext
42139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42140 (eval $ac_compile) 2>conftest.er1
42142 grep -v '^ *+' conftest.er1
>conftest.err
42144 cat conftest.err
>&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } &&
42147 { ac_try
='test -z "$ac_cxx_werror_flag"
42148 || test ! -s conftest.err'
42149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150 (eval $ac_try) 2>&5
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); }; } &&
42154 { ac_try
='test -s conftest.$ac_objext'
42155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42156 (eval $ac_try) 2>&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); }; }; then
42160 wx_cv_func_gettimeofday_has_2_args
=yes
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.
$ac_ext >&5
42165 cat >conftest.
$ac_ext <<_ACEOF
42168 cat confdefs.h
>>conftest.
$ac_ext
42169 cat >>conftest.
$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42172 #include <sys/time.h>
42173 #include <unistd.h>
42186 rm -f conftest.
$ac_objext
42187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42188 (eval $ac_compile) 2>conftest.er1
42190 grep -v '^ *+' conftest.er1
>conftest.err
42192 cat conftest.err
>&5
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); } &&
42195 { ac_try
='test -z "$ac_cxx_werror_flag"
42196 || test ! -s conftest.err'
42197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42198 (eval $ac_try) 2>&5
42200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42201 (exit $ac_status); }; } &&
42202 { ac_try
='test -s conftest.$ac_objext'
42203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42204 (eval $ac_try) 2>&5
42206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42207 (exit $ac_status); }; }; then
42208 wx_cv_func_gettimeofday_has_2_args
=no
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.
$ac_ext >&5
42214 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42215 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42216 wx_cv_func_gettimeofday_has_2_args
=unknown
42220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42225 ac_cpp
='$CPP $CPPFLAGS'
42226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42232 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42233 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42235 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42236 cat >>confdefs.h
<<\_ACEOF
42237 #define WX_GETTIMEOFDAY_NO_TZ 1
42243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42247 if test "$wxUSE_SOCKETS" = "yes"; then
42248 if test "$wxUSE_MGL" = "1"; then
42249 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42250 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42255 if test "$wxUSE_SOCKETS" = "yes"; then
42256 if test "$TOOLKIT" != "MSW"; then
42257 echo "$as_me:$LINENO: checking for socket" >&5
42258 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42259 if test "${ac_cv_func_socket+set}" = set; then
42260 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 cat >conftest.
$ac_ext <<_ACEOF
42265 cat confdefs.h
>>conftest.
$ac_ext
42266 cat >>conftest.
$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42268 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42270 #define socket innocuous_socket
42272 /* System header to define __stub macros and hopefully few prototypes,
42273 which can conflict with char socket (); below.
42274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42275 <limits.h> exists even on freestanding compilers. */
42278 # include <limits.h>
42280 # include <assert.h>
42285 /* Override any gcc2 internal prototype to avoid an error. */
42290 /* We use char because int might match the return type of a gcc2
42291 builtin and then its argument prototype would still apply. */
42293 /* The GNU C library defines this for functions which it implements
42294 to always fail with ENOSYS. Some functions are actually named
42295 something starting with __ and the normal name is an alias. */
42296 #if defined (__stub_socket) || defined (__stub___socket)
42299 char (*f) () = socket;
42308 return f != socket;
42313 rm -f conftest.
$ac_objext conftest
$ac_exeext
42314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42315 (eval $ac_link) 2>conftest.er1
42317 grep -v '^ *+' conftest.er1
>conftest.err
42319 cat conftest.err
>&5
42320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42321 (exit $ac_status); } &&
42322 { ac_try
='test -z "$ac_c_werror_flag"
42323 || test ! -s conftest.err'
42324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42325 (eval $ac_try) 2>&5
42327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42328 (exit $ac_status); }; } &&
42329 { ac_try
='test -s conftest$ac_exeext'
42330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42331 (eval $ac_try) 2>&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); }; }; then
42335 ac_cv_func_socket
=yes
42337 echo "$as_me: failed program was:" >&5
42338 sed 's/^/| /' conftest.
$ac_ext >&5
42340 ac_cv_func_socket
=no
42342 rm -f conftest.err conftest.
$ac_objext \
42343 conftest
$ac_exeext conftest.
$ac_ext
42345 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42346 echo "${ECHO_T}$ac_cv_func_socket" >&6
42347 if test $ac_cv_func_socket = yes; then
42351 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42352 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42353 if test "${ac_cv_lib_socket_socket+set}" = set; then
42354 echo $ECHO_N "(cached) $ECHO_C" >&6
42356 ac_check_lib_save_LIBS
=$LIBS
42357 LIBS
="-lsocket $LIBS"
42358 cat >conftest.
$ac_ext <<_ACEOF
42361 cat confdefs.h
>>conftest.
$ac_ext
42362 cat >>conftest.
$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42365 /* Override any gcc2 internal prototype to avoid an error. */
42369 /* We use char because int might match the return type of a gcc2
42370 builtin and then its argument prototype would still apply. */
42380 rm -f conftest.
$ac_objext conftest
$ac_exeext
42381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42382 (eval $ac_link) 2>conftest.er1
42384 grep -v '^ *+' conftest.er1
>conftest.err
42386 cat conftest.err
>&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } &&
42389 { ac_try
='test -z "$ac_c_werror_flag"
42390 || test ! -s conftest.err'
42391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42392 (eval $ac_try) 2>&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); }; } &&
42396 { ac_try
='test -s conftest$ac_exeext'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; }; then
42402 ac_cv_lib_socket_socket
=yes
42404 echo "$as_me: failed program was:" >&5
42405 sed 's/^/| /' conftest.
$ac_ext >&5
42407 ac_cv_lib_socket_socket
=no
42409 rm -f conftest.err conftest.
$ac_objext \
42410 conftest
$ac_exeext conftest.
$ac_ext
42411 LIBS
=$ac_check_lib_save_LIBS
42413 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42414 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42415 if test $ac_cv_lib_socket_socket = yes; then
42416 if test "$INET_LINK" != " -lsocket"; then
42417 INET_LINK
="$INET_LINK -lsocket"
42421 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42422 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42435 if test "$wxUSE_SOCKETS" = "yes" ; then
42436 if test "$TOOLKIT" != "MSW"; then
42438 ac_cpp
='$CXXCPP $CPPFLAGS'
42439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42443 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42444 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42445 if test "${wx_cv_type_getsockname3+set}" = set; then
42446 echo $ECHO_N "(cached) $ECHO_C" >&6
42449 cat >conftest.
$ac_ext <<_ACEOF
42452 cat confdefs.h
>>conftest.
$ac_ext
42453 cat >>conftest.
$ac_ext <<_ACEOF
42454 /* end confdefs.h. */
42456 #include <sys/types.h>
42457 #include <sys/socket.h>
42464 getsockname(0, 0, &len);
42470 rm -f conftest.
$ac_objext
42471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42472 (eval $ac_compile) 2>conftest.er1
42474 grep -v '^ *+' conftest.er1
>conftest.err
42476 cat conftest.err
>&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } &&
42479 { ac_try
='test -z "$ac_cxx_werror_flag"
42480 || test ! -s conftest.err'
42481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42482 (eval $ac_try) 2>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; } &&
42486 { ac_try
='test -s conftest.$ac_objext'
42487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42488 (eval $ac_try) 2>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; }; then
42492 wx_cv_type_getsockname3
=socklen_t
42494 echo "$as_me: failed program was:" >&5
42495 sed 's/^/| /' conftest.
$ac_ext >&5
42498 CXXFLAGS_OLD
="$CXXFLAGS"
42499 if test "$GCC" = yes ; then
42500 CXXFLAGS
="-Werror $CXXFLAGS"
42503 cat >conftest.
$ac_ext <<_ACEOF
42506 cat confdefs.h
>>conftest.
$ac_ext
42507 cat >>conftest.
$ac_ext <<_ACEOF
42508 /* end confdefs.h. */
42510 #include <sys/types.h>
42511 #include <sys/socket.h>
42518 getsockname(0, 0, &len);
42524 rm -f conftest.
$ac_objext
42525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42526 (eval $ac_compile) 2>conftest.er1
42528 grep -v '^ *+' conftest.er1
>conftest.err
42530 cat conftest.err
>&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); } &&
42533 { ac_try
='test -z "$ac_cxx_werror_flag"
42534 || test ! -s conftest.err'
42535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42536 (eval $ac_try) 2>&5
42538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42539 (exit $ac_status); }; } &&
42540 { ac_try
='test -s conftest.$ac_objext'
42541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42542 (eval $ac_try) 2>&5
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); }; }; then
42546 wx_cv_type_getsockname3
=size_t
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.
$ac_ext >&5
42551 cat >conftest.
$ac_ext <<_ACEOF
42554 cat confdefs.h
>>conftest.
$ac_ext
42555 cat >>conftest.
$ac_ext <<_ACEOF
42556 /* end confdefs.h. */
42558 #include <sys/types.h>
42559 #include <sys/socket.h>
42566 getsockname(0, 0, &len);
42572 rm -f conftest.
$ac_objext
42573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42574 (eval $ac_compile) 2>conftest.er1
42576 grep -v '^ *+' conftest.er1
>conftest.err
42578 cat conftest.err
>&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } &&
42581 { ac_try
='test -z "$ac_cxx_werror_flag"
42582 || test ! -s conftest.err'
42583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42584 (eval $ac_try) 2>&5
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); }; } &&
42588 { ac_try
='test -s conftest.$ac_objext'
42589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42590 (eval $ac_try) 2>&5
42592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42593 (exit $ac_status); }; }; then
42594 wx_cv_type_getsockname3
=int
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.
$ac_ext >&5
42599 wx_cv_type_getsockname3
=unknown
42602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42607 CXXFLAGS
="$CXXFLAGS_OLD"
42611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42614 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42615 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42617 if test "$wx_cv_type_getsockname3" = "unknown"; then
42619 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42620 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42622 cat >>confdefs.h
<<_ACEOF
42623 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42627 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42628 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42629 if test "${wx_cv_type_getsockopt5+set}" = set; then
42630 echo $ECHO_N "(cached) $ECHO_C" >&6
42633 cat >conftest.
$ac_ext <<_ACEOF
42636 cat confdefs.h
>>conftest.
$ac_ext
42637 cat >>conftest.
$ac_ext <<_ACEOF
42638 /* end confdefs.h. */
42640 #include <sys/types.h>
42641 #include <sys/socket.h>
42648 getsockopt(0, 0, 0, 0, &len);
42654 rm -f conftest.
$ac_objext
42655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42656 (eval $ac_compile) 2>conftest.er1
42658 grep -v '^ *+' conftest.er1
>conftest.err
42660 cat conftest.err
>&5
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); } &&
42663 { ac_try
='test -z "$ac_cxx_werror_flag"
42664 || test ! -s conftest.err'
42665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666 (eval $ac_try) 2>&5
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); }; } &&
42670 { ac_try
='test -s conftest.$ac_objext'
42671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42672 (eval $ac_try) 2>&5
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); }; }; then
42676 wx_cv_type_getsockopt5
=socklen_t
42678 echo "$as_me: failed program was:" >&5
42679 sed 's/^/| /' conftest.
$ac_ext >&5
42682 CXXFLAGS_OLD
="$CXXFLAGS"
42683 if test "$GCC" = yes ; then
42684 CXXFLAGS
="-Werror $CXXFLAGS"
42687 cat >conftest.
$ac_ext <<_ACEOF
42690 cat confdefs.h
>>conftest.
$ac_ext
42691 cat >>conftest.
$ac_ext <<_ACEOF
42692 /* end confdefs.h. */
42694 #include <sys/types.h>
42695 #include <sys/socket.h>
42702 getsockopt(0, 0, 0, 0, &len);
42708 rm -f conftest.
$ac_objext
42709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42710 (eval $ac_compile) 2>conftest.er1
42712 grep -v '^ *+' conftest.er1
>conftest.err
42714 cat conftest.err
>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } &&
42717 { ac_try
='test -z "$ac_cxx_werror_flag"
42718 || test ! -s conftest.err'
42719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42720 (eval $ac_try) 2>&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); }; } &&
42724 { ac_try
='test -s conftest.$ac_objext'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; }; then
42730 wx_cv_type_getsockopt5
=size_t
42732 echo "$as_me: failed program was:" >&5
42733 sed 's/^/| /' conftest.
$ac_ext >&5
42735 cat >conftest.
$ac_ext <<_ACEOF
42738 cat confdefs.h
>>conftest.
$ac_ext
42739 cat >>conftest.
$ac_ext <<_ACEOF
42740 /* end confdefs.h. */
42742 #include <sys/types.h>
42743 #include <sys/socket.h>
42750 getsockopt(0, 0, 0, 0, &len);
42756 rm -f conftest.
$ac_objext
42757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42758 (eval $ac_compile) 2>conftest.er1
42760 grep -v '^ *+' conftest.er1
>conftest.err
42762 cat conftest.err
>&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } &&
42765 { ac_try
='test -z "$ac_cxx_werror_flag"
42766 || test ! -s conftest.err'
42767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42768 (eval $ac_try) 2>&5
42770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771 (exit $ac_status); }; } &&
42772 { ac_try
='test -s conftest.$ac_objext'
42773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42774 (eval $ac_try) 2>&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; }; then
42778 wx_cv_type_getsockopt5
=int
42780 echo "$as_me: failed program was:" >&5
42781 sed 's/^/| /' conftest.
$ac_ext >&5
42783 wx_cv_type_getsockopt5
=unknown
42786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42791 CXXFLAGS
="$CXXFLAGS_OLD"
42795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42798 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42799 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42801 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42803 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42804 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42806 cat >>confdefs.h
<<_ACEOF
42807 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42812 ac_cpp
='$CPP $CPPFLAGS'
42813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42820 if test "$wxUSE_SOCKETS" = "yes" ; then
42821 cat >>confdefs.h
<<\_ACEOF
42822 #define wxUSE_SOCKETS 1
42825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42828 if test "$wxUSE_PROTOCOL" = "yes"; then
42829 if test "$wxUSE_SOCKETS" != "yes"; then
42830 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42831 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42836 if test "$wxUSE_PROTOCOL" = "yes"; then
42837 cat >>confdefs.h
<<\_ACEOF
42838 #define wxUSE_PROTOCOL 1
42842 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42843 cat >>confdefs.h
<<\_ACEOF
42844 #define wxUSE_PROTOCOL_HTTP 1
42848 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42849 cat >>confdefs.h
<<\_ACEOF
42850 #define wxUSE_PROTOCOL_FTP 1
42854 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42855 cat >>confdefs.h
<<\_ACEOF
42856 #define wxUSE_PROTOCOL_FILE 1
42861 if test "$wxUSE_FS_INET" = "yes"; then
42862 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42863 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42868 if test "$wxUSE_URL" = "yes"; then
42869 if test "$wxUSE_PROTOCOL" != "yes"; then
42870 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42871 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42874 if test "$wxUSE_URL" = "yes"; then
42875 cat >>confdefs.h
<<\_ACEOF
42876 #define wxUSE_URL 1
42882 if test "$wxUSE_FS_INET" = "yes"; then
42883 cat >>confdefs.h
<<\_ACEOF
42884 #define wxUSE_FS_INET 1
42890 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42893 if test "$TOOLKIT" = "MSW"; then
42896 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42897 if test "$USE_DARWIN" = 1; then
42898 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42899 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42901 ac_cpp
='$CXXCPP $CPPFLAGS'
42902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42906 cat >conftest.
$ac_ext <<_ACEOF
42909 cat confdefs.h
>>conftest.
$ac_ext
42910 cat >>conftest.
$ac_ext <<_ACEOF
42911 /* end confdefs.h. */
42912 #include <IOKit/hid/IOHIDLib.h>
42916 IOHIDQueueInterface *qi = NULL;
42917 IOHIDCallbackFunction cb = NULL;
42918 qi->setEventCallout(NULL, cb, NULL, NULL);
42923 rm -f conftest.
$ac_objext
42924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42925 (eval $ac_compile) 2>conftest.er1
42927 grep -v '^ *+' conftest.er1
>conftest.err
42929 cat conftest.err
>&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } &&
42932 { ac_try
='test -z "$ac_cxx_werror_flag"
42933 || test ! -s conftest.err'
42934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42935 (eval $ac_try) 2>&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); }; } &&
42939 { ac_try
='test -s conftest.$ac_objext'
42940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42941 (eval $ac_try) 2>&5
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; }; then
42948 echo "$as_me: failed program was:" >&5
42949 sed 's/^/| /' conftest.
$ac_ext >&5
42952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42954 ac_cpp
='$CPP $CPPFLAGS'
42955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42959 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42960 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42965 for ac_header
in linux
/joystick.h
42967 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42969 echo "$as_me:$LINENO: checking for $ac_header" >&5
42970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42972 echo $ECHO_N "(cached) $ECHO_C" >&6
42974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42977 # Is the header compilable?
42978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42980 cat >conftest.
$ac_ext <<_ACEOF
42983 cat confdefs.h
>>conftest.
$ac_ext
42984 cat >>conftest.
$ac_ext <<_ACEOF
42985 /* end confdefs.h. */
42986 $ac_includes_default
42987 #include <$ac_header>
42989 rm -f conftest.
$ac_objext
42990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42991 (eval $ac_compile) 2>conftest.er1
42993 grep -v '^ *+' conftest.er1
>conftest.err
42995 cat conftest.err
>&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); } &&
42998 { ac_try
='test -z "$ac_c_werror_flag"
42999 || test ! -s conftest.err'
43000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43001 (eval $ac_try) 2>&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); }; } &&
43005 { ac_try
='test -s conftest.$ac_objext'
43006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43007 (eval $ac_try) 2>&5
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); }; }; then
43011 ac_header_compiler
=yes
43013 echo "$as_me: failed program was:" >&5
43014 sed 's/^/| /' conftest.
$ac_ext >&5
43016 ac_header_compiler
=no
43018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43020 echo "${ECHO_T}$ac_header_compiler" >&6
43022 # Is the header present?
43023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43025 cat >conftest.
$ac_ext <<_ACEOF
43028 cat confdefs.h
>>conftest.
$ac_ext
43029 cat >>conftest.
$ac_ext <<_ACEOF
43030 /* end confdefs.h. */
43031 #include <$ac_header>
43033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43036 grep -v '^ *+' conftest.er1
>conftest.err
43038 cat conftest.err
>&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } >/dev
/null
; then
43041 if test -s conftest.err
; then
43042 ac_cpp_err
=$ac_c_preproc_warn_flag
43043 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43050 if test -z "$ac_cpp_err"; then
43051 ac_header_preproc
=yes
43053 echo "$as_me: failed program was:" >&5
43054 sed 's/^/| /' conftest.
$ac_ext >&5
43056 ac_header_preproc
=no
43058 rm -f conftest.err conftest.
$ac_ext
43059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43060 echo "${ECHO_T}$ac_header_preproc" >&6
43062 # So? What about this header?
43063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43069 ac_header_preproc
=yes
43072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43086 ## ----------------------------------------- ##
43087 ## Report this to wx-dev@lists.wxwidgets.org ##
43088 ## ----------------------------------------- ##
43091 sed "s/^/$as_me: WARNING: /" >&2
43094 echo "$as_me:$LINENO: checking for $ac_header" >&5
43095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43097 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 eval "$as_ac_Header=\$ac_header_preproc"
43101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43106 cat >>confdefs.h
<<_ACEOF
43107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43116 if test "$wxUSE_JOYSTICK" = "yes"; then
43117 cat >>confdefs.h
<<\_ACEOF
43118 #define wxUSE_JOYSTICK 1
43121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43123 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43124 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43130 if test "$wxUSE_FONTMAP" = "yes" ; then
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_FONTMAP 1
43137 if test "$wxUSE_UNICODE" = "yes" ; then
43138 cat >>confdefs.h
<<\_ACEOF
43139 #define wxUSE_UNICODE 1
43143 if test "$USE_WIN32" != 1; then
43144 wxUSE_UNICODE_MSLU
=no
43147 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43148 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43149 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43150 if test "${ac_cv_lib_unicows_main+set}" = set; then
43151 echo $ECHO_N "(cached) $ECHO_C" >&6
43153 ac_check_lib_save_LIBS
=$LIBS
43154 LIBS
="-lunicows $LIBS"
43155 cat >conftest.
$ac_ext <<_ACEOF
43158 cat confdefs.h
>>conftest.
$ac_ext
43159 cat >>conftest.
$ac_ext <<_ACEOF
43160 /* end confdefs.h. */
43171 rm -f conftest.
$ac_objext conftest
$ac_exeext
43172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43173 (eval $ac_link) 2>conftest.er1
43175 grep -v '^ *+' conftest.er1
>conftest.err
43177 cat conftest.err
>&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } &&
43180 { ac_try
='test -z "$ac_c_werror_flag"
43181 || test ! -s conftest.err'
43182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43183 (eval $ac_try) 2>&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); }; } &&
43187 { ac_try
='test -s conftest$ac_exeext'
43188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43189 (eval $ac_try) 2>&5
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); }; }; then
43193 ac_cv_lib_unicows_main
=yes
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.
$ac_ext >&5
43198 ac_cv_lib_unicows_main
=no
43200 rm -f conftest.err conftest.
$ac_objext \
43201 conftest
$ac_exeext conftest.
$ac_ext
43202 LIBS
=$ac_check_lib_save_LIBS
43204 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43205 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43206 if test $ac_cv_lib_unicows_main = yes; then
43208 cat >>confdefs.h
<<\_ACEOF
43209 #define wxUSE_UNICODE_MSLU 1
43215 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43216 Applications will only run on Windows NT/2000/XP!" >&5
43217 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43218 Applications will only run on Windows NT/2000/XP!" >&2;}
43219 wxUSE_UNICODE_MSLU
=no
43226 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43227 cat >>confdefs.h
<<\_ACEOF
43228 #define wxUSE_EXPERIMENTAL_PRINTF 1
43234 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43235 cat >>confdefs.h
<<\_ACEOF
43236 #define wxUSE_POSTSCRIPT 1
43241 cat >>confdefs.h
<<\_ACEOF
43242 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43246 cat >>confdefs.h
<<\_ACEOF
43247 #define wxUSE_NORMALIZED_PS_FONTS 1
43252 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43253 cat >>confdefs.h
<<\_ACEOF
43254 #define wxUSE_CONSTRAINTS 1
43257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43260 if test "$wxUSE_MDI" = "yes"; then
43261 cat >>confdefs.h
<<\_ACEOF
43262 #define wxUSE_MDI 1
43266 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43267 cat >>confdefs.h
<<\_ACEOF
43268 #define wxUSE_MDI_ARCHITECTURE 1
43271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43275 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43276 cat >>confdefs.h
<<\_ACEOF
43277 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43281 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43286 if test "$wxUSE_HELP" = "yes"; then
43287 cat >>confdefs.h
<<\_ACEOF
43288 #define wxUSE_HELP 1
43291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43293 if test "$wxUSE_MSW" = 1; then
43294 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43295 cat >>confdefs.h
<<\_ACEOF
43296 #define wxUSE_MS_HTML_HELP 1
43302 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43303 if test "$wxUSE_HTML" = "yes"; then
43304 cat >>confdefs.h
<<\_ACEOF
43305 #define wxUSE_WXHTML_HELP 1
43309 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43310 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43311 wxUSE_WXHTML_HELP
=no
43316 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43317 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43318 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43319 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43321 cat >>confdefs.h
<<\_ACEOF
43322 #define wxUSE_PRINTING_ARCHITECTURE 1
43326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43329 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43330 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43331 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43332 { (exit 1); exit 1; }; }
43336 if test "$wxUSE_METAFILE" = "yes"; then
43337 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43338 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43339 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43345 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43346 -o "$wxUSE_CLIPBOARD" = "yes" \
43347 -o "$wxUSE_OLE" = "yes" \
43348 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43350 for ac_header
in ole2.h
43352 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43354 echo "$as_me:$LINENO: checking for $ac_header" >&5
43355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43362 # Is the header compilable?
43363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43365 cat >conftest.
$ac_ext <<_ACEOF
43368 cat confdefs.h
>>conftest.
$ac_ext
43369 cat >>conftest.
$ac_ext <<_ACEOF
43370 /* end confdefs.h. */
43371 $ac_includes_default
43372 #include <$ac_header>
43374 rm -f conftest.
$ac_objext
43375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43376 (eval $ac_compile) 2>conftest.er1
43378 grep -v '^ *+' conftest.er1
>conftest.err
43380 cat conftest.err
>&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); } &&
43383 { ac_try
='test -z "$ac_c_werror_flag"
43384 || test ! -s conftest.err'
43385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43386 (eval $ac_try) 2>&5
43388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43389 (exit $ac_status); }; } &&
43390 { ac_try
='test -s conftest.$ac_objext'
43391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43392 (eval $ac_try) 2>&5
43394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43395 (exit $ac_status); }; }; then
43396 ac_header_compiler
=yes
43398 echo "$as_me: failed program was:" >&5
43399 sed 's/^/| /' conftest.
$ac_ext >&5
43401 ac_header_compiler
=no
43403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43405 echo "${ECHO_T}$ac_header_compiler" >&6
43407 # Is the header present?
43408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43410 cat >conftest.
$ac_ext <<_ACEOF
43413 cat confdefs.h
>>conftest.
$ac_ext
43414 cat >>conftest.
$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43416 #include <$ac_header>
43418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43421 grep -v '^ *+' conftest.er1
>conftest.err
43423 cat conftest.err
>&5
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); } >/dev
/null
; then
43426 if test -s conftest.err
; then
43427 ac_cpp_err
=$ac_c_preproc_warn_flag
43428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43435 if test -z "$ac_cpp_err"; then
43436 ac_header_preproc
=yes
43438 echo "$as_me: failed program was:" >&5
43439 sed 's/^/| /' conftest.
$ac_ext >&5
43441 ac_header_preproc
=no
43443 rm -f conftest.err conftest.
$ac_ext
43444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43445 echo "${ECHO_T}$ac_header_preproc" >&6
43447 # So? What about this header?
43448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43454 ac_header_preproc
=yes
43457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43471 ## ----------------------------------------- ##
43472 ## Report this to wx-dev@lists.wxwidgets.org ##
43473 ## ----------------------------------------- ##
43476 sed "s/^/$as_me: WARNING: /" >&2
43479 echo "$as_me:$LINENO: checking for $ac_header" >&5
43480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43482 echo $ECHO_N "(cached) $ECHO_C" >&6
43484 eval "$as_ac_Header=\$ac_header_preproc"
43486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43491 cat >>confdefs.h
<<_ACEOF
43492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43500 if test "$ac_cv_header_ole2_h" = "yes" ; then
43501 if test "$GCC" = yes ; then
43503 ac_cpp
='$CXXCPP $CPPFLAGS'
43504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43509 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43510 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43511 cat >conftest.
$ac_ext <<_ACEOF
43514 cat confdefs.h
>>conftest.
$ac_ext
43515 cat >>conftest.
$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 #include <windows.h>
43527 rm -f conftest.
$ac_objext
43528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43529 (eval $ac_compile) 2>conftest.er1
43531 grep -v '^ *+' conftest.er1
>conftest.err
43533 cat conftest.err
>&5
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); } &&
43536 { ac_try
='test -z "$ac_cxx_werror_flag"
43537 || test ! -s conftest.err'
43538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43539 (eval $ac_try) 2>&5
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); }; } &&
43543 { ac_try
='test -s conftest.$ac_objext'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; }; then
43549 echo "$as_me:$LINENO: result: no" >&5
43550 echo "${ECHO_T}no" >&6
43552 echo "$as_me: failed program was:" >&5
43553 sed 's/^/| /' conftest.
$ac_ext >&5
43555 echo "$as_me:$LINENO: result: yes" >&5
43556 echo "${ECHO_T}yes" >&6
43557 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43561 ac_cpp
='$CPP $CPPFLAGS'
43562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43566 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43567 if test "$wxUSE_OLE" = "yes" ; then
43568 cat >>confdefs.h
<<\_ACEOF
43569 #define wxUSE_OLE 1
43572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43576 if test "$wxUSE_DATAOBJ" = "yes" ; then
43577 cat >>confdefs.h
<<\_ACEOF
43578 #define wxUSE_DATAOBJ 1
43583 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43584 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43587 wxUSE_DRAG_AND_DROP
=no
43592 if test "$wxUSE_METAFILE" = "yes"; then
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define wxUSE_METAFILE 1
43598 cat >>confdefs.h
<<\_ACEOF
43599 #define wxUSE_ENH_METAFILE 1
43605 if test "$wxUSE_IPC" = "yes"; then
43606 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43607 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43608 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43612 if test "$wxUSE_IPC" = "yes"; then
43613 cat >>confdefs.h
<<\_ACEOF
43614 #define wxUSE_IPC 1
43617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43621 if test "$wxUSE_DATAOBJ" = "yes"; then
43622 if test "$wxUSE_MGL" = 1; then
43623 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43624 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43627 cat >>confdefs.h
<<\_ACEOF
43628 #define wxUSE_DATAOBJ 1
43633 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43634 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43636 wxUSE_DRAG_AND_DROP
=no
43639 if test "$wxUSE_CLIPBOARD" = "yes"; then
43640 if test "$wxUSE_MGL" = 1; then
43641 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43642 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43646 if test "$wxUSE_CLIPBOARD" = "yes"; then
43647 cat >>confdefs.h
<<\_ACEOF
43648 #define wxUSE_CLIPBOARD 1
43654 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43655 if test "$wxUSE_GTK" = 1; then
43656 if test "$WXGTK12" != 1; then
43657 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43658 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43659 wxUSE_DRAG_AND_DROP
=no
43663 if test "$wxUSE_MOTIF" = 1; then
43664 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43665 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43666 wxUSE_DRAG_AND_DROP
=no
43669 if test "$wxUSE_X11" = 1; then
43670 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43671 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43672 wxUSE_DRAG_AND_DROP
=no
43675 if test "$wxUSE_MGL" = 1; then
43676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43677 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43678 wxUSE_DRAG_AND_DROP
=no
43681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43682 cat >>confdefs.h
<<\_ACEOF
43683 #define wxUSE_DRAG_AND_DROP 1
43690 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43694 if test "$wxUSE_SPLINES" = "yes" ; then
43695 cat >>confdefs.h
<<\_ACEOF
43696 #define wxUSE_SPLINES 1
43701 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43702 cat >>confdefs.h
<<\_ACEOF
43703 #define wxUSE_MOUSEWHEEL 1
43710 if test "$wxUSE_CONTROLS" = "yes"; then
43714 if test "$wxUSE_ACCEL" = "yes"; then
43715 cat >>confdefs.h
<<\_ACEOF
43716 #define wxUSE_ACCEL 1
43722 if test "$wxUSE_BUTTON" = "yes"; then
43723 cat >>confdefs.h
<<\_ACEOF
43724 #define wxUSE_BUTTON 1
43730 if test "$wxUSE_BMPBUTTON" = "yes"; then
43731 cat >>confdefs.h
<<\_ACEOF
43732 #define wxUSE_BMPBUTTON 1
43738 if test "$wxUSE_CALCTRL" = "yes"; then
43739 cat >>confdefs.h
<<\_ACEOF
43740 #define wxUSE_CALENDARCTRL 1
43744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43747 if test "$wxUSE_CARET" = "yes"; then
43748 cat >>confdefs.h
<<\_ACEOF
43749 #define wxUSE_CARET 1
43753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43756 if test "$wxUSE_COMBOBOX" = "yes"; then
43757 cat >>confdefs.h
<<\_ACEOF
43758 #define wxUSE_COMBOBOX 1
43764 if test "$wxUSE_CHOICE" = "yes"; then
43765 cat >>confdefs.h
<<\_ACEOF
43766 #define wxUSE_CHOICE 1
43772 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43773 cat >>confdefs.h
<<\_ACEOF
43774 #define wxUSE_CHOICEBOOK 1
43780 if test "$wxUSE_CHECKBOX" = "yes"; then
43781 cat >>confdefs.h
<<\_ACEOF
43782 #define wxUSE_CHECKBOX 1
43788 if test "$wxUSE_CHECKLST" = "yes"; then
43789 cat >>confdefs.h
<<\_ACEOF
43790 #define wxUSE_CHECKLISTBOX 1
43794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43797 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43798 cat >>confdefs.h
<<\_ACEOF
43799 #define wxUSE_DATEPICKCTRL 1
43805 if test "$wxUSE_DISPLAY" = "yes"; then
43806 cat >>confdefs.h
<<\_ACEOF
43807 #define wxUSE_DISPLAY 1
43810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43813 if test "$wxUSE_GAUGE" = "yes"; then
43814 cat >>confdefs.h
<<\_ACEOF
43815 #define wxUSE_GAUGE 1
43821 if test "$wxUSE_GRID" = "yes"; then
43822 cat >>confdefs.h
<<\_ACEOF
43823 #define wxUSE_GRID 1
43827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43830 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43831 cat >>confdefs.h
<<\_ACEOF
43832 #define wxUSE_DATAVIEWCTRL 1
43836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43839 if test "$wxUSE_IMAGLIST" = "yes"; then
43840 cat >>confdefs.h
<<\_ACEOF
43841 #define wxUSE_IMAGLIST 1
43846 if test "$wxUSE_LISTBOOK" = "yes"; then
43847 cat >>confdefs.h
<<\_ACEOF
43848 #define wxUSE_LISTBOOK 1
43854 if test "$wxUSE_LISTBOX" = "yes"; then
43855 cat >>confdefs.h
<<\_ACEOF
43856 #define wxUSE_LISTBOX 1
43860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43863 if test "$wxUSE_LISTCTRL" = "yes"; then
43864 if test "$wxUSE_IMAGLIST" = "yes"; then
43865 cat >>confdefs.h
<<\_ACEOF
43866 #define wxUSE_LISTCTRL 1
43870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43872 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43873 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43877 if test "$wxUSE_NOTEBOOK" = "yes"; then
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_NOTEBOOK 1
43883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43887 if test "$wxUSE_RADIOBOX" = "yes"; then
43888 cat >>confdefs.h
<<\_ACEOF
43889 #define wxUSE_RADIOBOX 1
43895 if test "$wxUSE_RADIOBTN" = "yes"; then
43896 cat >>confdefs.h
<<\_ACEOF
43897 #define wxUSE_RADIOBTN 1
43903 if test "$wxUSE_SASH" = "yes"; then
43904 cat >>confdefs.h
<<\_ACEOF
43905 #define wxUSE_SASH 1
43908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43911 if test "$wxUSE_SCROLLBAR" = "yes"; then
43912 cat >>confdefs.h
<<\_ACEOF
43913 #define wxUSE_SCROLLBAR 1
43917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43920 if test "$wxUSE_SLIDER" = "yes"; then
43921 cat >>confdefs.h
<<\_ACEOF
43922 #define wxUSE_SLIDER 1
43928 if test "$wxUSE_SPINBTN" = "yes"; then
43929 cat >>confdefs.h
<<\_ACEOF
43930 #define wxUSE_SPINBTN 1
43936 if test "$wxUSE_SPINCTRL" = "yes"; then
43937 cat >>confdefs.h
<<\_ACEOF
43938 #define wxUSE_SPINCTRL 1
43944 if test "$wxUSE_SPLITTER" = "yes"; then
43945 cat >>confdefs.h
<<\_ACEOF
43946 #define wxUSE_SPLITTER 1
43949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43952 if test "$wxUSE_STATBMP" = "yes"; then
43953 cat >>confdefs.h
<<\_ACEOF
43954 #define wxUSE_STATBMP 1
43960 if test "$wxUSE_STATBOX" = "yes"; then
43961 cat >>confdefs.h
<<\_ACEOF
43962 #define wxUSE_STATBOX 1
43968 if test "$wxUSE_STATTEXT" = "yes"; then
43969 cat >>confdefs.h
<<\_ACEOF
43970 #define wxUSE_STATTEXT 1
43976 if test "$wxUSE_STATLINE" = "yes"; then
43977 cat >>confdefs.h
<<\_ACEOF
43978 #define wxUSE_STATLINE 1
43984 if test "$wxUSE_STATUSBAR" = "yes"; then
43985 cat >>confdefs.h
<<\_ACEOF
43986 #define wxUSE_NATIVE_STATUSBAR 1
43989 cat >>confdefs.h
<<\_ACEOF
43990 #define wxUSE_STATUSBAR 1
43995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43998 if test "$wxUSE_TAB_DIALOG" = "yes"; then
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_TAB_DIALOG 1
44005 if test "$wxUSE_TEXTCTRL" = "yes"; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_TEXTCTRL 1
44011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44014 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44015 if test "$wxUSE_COCOA" = 1 ; then
44016 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44017 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44020 if test "$wxUSE_UNIVERSAL" = "yes"; then
44021 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
44022 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
44026 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44027 cat >>confdefs.h
<<\_ACEOF
44028 #define wxUSE_TOGGLEBTN 1
44035 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44036 cat >>confdefs.h
<<\_ACEOF
44037 #define wxUSE_TOOLBAR_SIMPLE 1
44040 wxUSE_TOOLBAR
="yes"
44044 if test "$wxUSE_TOOLBAR" = "yes"; then
44045 cat >>confdefs.h
<<\_ACEOF
44046 #define wxUSE_TOOLBAR 1
44051 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44052 wxUSE_TOOLBAR_NATIVE
="yes"
44055 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_TOOLBAR_NATIVE 1
44063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44066 if test "$wxUSE_TOOLTIPS" = "yes"; then
44067 if test "$wxUSE_MOTIF" = 1; then
44068 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44069 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44071 if test "$wxUSE_UNIVERSAL" = "yes"; then
44072 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44073 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44075 cat >>confdefs.h
<<\_ACEOF
44076 #define wxUSE_TOOLTIPS 1
44083 if test "$wxUSE_TREEBOOK" = "yes"; then
44084 cat >>confdefs.h
<<\_ACEOF
44085 #define wxUSE_TREEBOOK 1
44091 if test "$wxUSE_TOOLBOOK" = "yes"; then
44092 cat >>confdefs.h
<<\_ACEOF
44093 #define wxUSE_TOOLBOOK 1
44099 if test "$wxUSE_TREECTRL" = "yes"; then
44100 if test "$wxUSE_IMAGLIST" = "yes"; then
44101 cat >>confdefs.h
<<\_ACEOF
44102 #define wxUSE_TREECTRL 1
44106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44108 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44109 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44113 if test "$wxUSE_POPUPWIN" = "yes"; then
44114 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44115 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44116 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44118 if test "$wxUSE_PM" = 1; then
44119 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44120 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44122 cat >>confdefs.h
<<\_ACEOF
44123 #define wxUSE_POPUPWIN 1
44126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44133 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44134 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44135 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44136 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44138 cat >>confdefs.h
<<\_ACEOF
44139 #define wxUSE_DIALUP_MANAGER 1
44142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44146 if test "$wxUSE_TIPWINDOW" = "yes"; then
44147 if test "$wxUSE_PM" = 1; then
44148 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44149 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44151 cat >>confdefs.h
<<\_ACEOF
44152 #define wxUSE_TIPWINDOW 1
44158 if test "$USES_CONTROLS" = 1; then
44159 cat >>confdefs.h
<<\_ACEOF
44160 #define wxUSE_CONTROLS 1
44166 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44167 cat >>confdefs.h
<<\_ACEOF
44168 #define wxUSE_ACCESSIBILITY 1
44171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44174 if test "$wxUSE_DC_CACHEING" = "yes"; then
44175 cat >>confdefs.h
<<\_ACEOF
44176 #define wxUSE_DC_CACHEING 1
44181 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44182 cat >>confdefs.h
<<\_ACEOF
44183 #define wxUSE_DRAGIMAGE 1
44186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44189 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44190 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44191 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44192 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44194 cat >>confdefs.h
<<\_ACEOF
44195 #define wxUSE_EXCEPTIONS 1
44198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44203 if test "$wxUSE_HTML" = "yes"; then
44204 cat >>confdefs.h
<<\_ACEOF
44205 #define wxUSE_HTML 1
44209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44210 if test "$wxUSE_MAC" = 1; then
44211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44214 if test "$wxUSE_WEBKIT" = "yes"; then
44215 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44216 old_CPPFLAGS
="$CPPFLAGS"
44217 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44218 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44219 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44220 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44223 cat >conftest.
$ac_ext <<_ACEOF
44226 cat confdefs.h
>>conftest.
$ac_ext
44227 cat >>conftest.
$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 #include <Carbon/Carbon.h>
44231 #include <WebKit/HIWebView.h>
44233 rm -f conftest.
$ac_objext
44234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44235 (eval $ac_compile) 2>conftest.er1
44237 grep -v '^ *+' conftest.er1
>conftest.err
44239 cat conftest.err
>&5
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); } &&
44242 { ac_try
='test -z "$ac_c_werror_flag"
44243 || test ! -s conftest.err'
44244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44245 (eval $ac_try) 2>&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); }; } &&
44249 { ac_try
='test -s conftest.$ac_objext'
44250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44251 (eval $ac_try) 2>&5
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); }; }; then
44255 ac_cv_header_WebKit_HIWebView_h
=yes
44257 echo "$as_me: failed program was:" >&5
44258 sed 's/^/| /' conftest.
$ac_ext >&5
44260 ac_cv_header_WebKit_HIWebView_h
=no
44262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44264 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44265 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44266 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44268 cat >>confdefs.h
<<\_ACEOF
44269 #define wxUSE_WEBKIT 1
44272 WEBKIT_LINK
="-framework WebKit"
44276 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44277 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44283 CPPFLAGS
="$old_CPPFLAGS"
44284 elif test "$wxUSE_COCOA" = 1; then
44285 cat >>confdefs.h
<<\_ACEOF
44286 #define wxUSE_WEBKIT 1
44295 if test "$wxUSE_XRC" = "yes"; then
44296 if test "$wxUSE_XML" != "yes"; then
44297 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44298 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44301 cat >>confdefs.h
<<\_ACEOF
44302 #define wxUSE_XRC 1
44306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44310 if test "$wxUSE_MENUS" = "yes"; then
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_MENUS 1
44315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44318 if test "$wxUSE_METAFILE" = "yes"; then
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_METAFILE 1
44325 if test "$wxUSE_MIMETYPE" = "yes"; then
44326 cat >>confdefs.h
<<\_ACEOF
44327 #define wxUSE_MIMETYPE 1
44332 if test "$wxUSE_MINIFRAME" = "yes"; then
44333 cat >>confdefs.h
<<\_ACEOF
44334 #define wxUSE_MINIFRAME 1
44337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44340 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44341 cat >>confdefs.h
<<\_ACEOF
44342 #define wxUSE_SYSTEM_OPTIONS 1
44345 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44346 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44352 if test "$wxUSE_VALIDATORS" = "yes"; then
44353 cat >>confdefs.h
<<\_ACEOF
44354 #define wxUSE_VALIDATORS 1
44357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44360 if test "$wxUSE_PALETTE" = "yes" ; then
44361 cat >>confdefs.h
<<\_ACEOF
44362 #define wxUSE_PALETTE 1
44367 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44368 LIBS
=" -lunicows $LIBS"
44372 if test "$wxUSE_RICHTEXT" = "yes"; then
44373 cat >>confdefs.h
<<\_ACEOF
44374 #define wxUSE_RICHTEXT 1
44378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44382 if test "$wxUSE_IMAGE" = "yes" ; then
44383 cat >>confdefs.h
<<\_ACEOF
44384 #define wxUSE_IMAGE 1
44388 if test "$wxUSE_GIF" = "yes" ; then
44389 cat >>confdefs.h
<<\_ACEOF
44390 #define wxUSE_GIF 1
44395 if test "$wxUSE_PCX" = "yes" ; then
44396 cat >>confdefs.h
<<\_ACEOF
44397 #define wxUSE_PCX 1
44402 if test "$wxUSE_IFF" = "yes" ; then
44403 cat >>confdefs.h
<<\_ACEOF
44404 #define wxUSE_IFF 1
44409 if test "$wxUSE_PNM" = "yes" ; then
44410 cat >>confdefs.h
<<\_ACEOF
44411 #define wxUSE_PNM 1
44416 if test "$wxUSE_XPM" = "yes" ; then
44417 cat >>confdefs.h
<<\_ACEOF
44418 #define wxUSE_XPM 1
44423 if test "$wxUSE_ICO_CUR" = "yes" ; then
44424 cat >>confdefs.h
<<\_ACEOF
44425 #define wxUSE_ICO_CUR 1
44432 if test "$wxUSE_CHOICEDLG" = "yes"; then
44433 cat >>confdefs.h
<<\_ACEOF
44434 #define wxUSE_CHOICEDLG 1
44439 if test "$wxUSE_COLOURDLG" = "yes"; then
44440 cat >>confdefs.h
<<\_ACEOF
44441 #define wxUSE_COLOURDLG 1
44446 if test "$wxUSE_FILEDLG" = "yes"; then
44447 cat >>confdefs.h
<<\_ACEOF
44448 #define wxUSE_FILEDLG 1
44453 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44454 cat >>confdefs.h
<<\_ACEOF
44455 #define wxUSE_FINDREPLDLG 1
44460 if test "$wxUSE_FONTDLG" = "yes"; then
44461 cat >>confdefs.h
<<\_ACEOF
44462 #define wxUSE_FONTDLG 1
44467 if test "$wxUSE_DIRDLG" = "yes"; then
44468 if test "$wxUSE_TREECTRL" != "yes"; then
44469 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44470 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44472 cat >>confdefs.h
<<\_ACEOF
44473 #define wxUSE_DIRDLG 1
44479 if test "$wxUSE_MSGDLG" = "yes"; then
44480 cat >>confdefs.h
<<\_ACEOF
44481 #define wxUSE_MSGDLG 1
44486 if test "$wxUSE_NUMBERDLG" = "yes"; then
44487 cat >>confdefs.h
<<\_ACEOF
44488 #define wxUSE_NUMBERDLG 1
44493 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44494 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44495 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44496 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44498 cat >>confdefs.h
<<\_ACEOF
44499 #define wxUSE_PROGRESSDLG 1
44505 if test "$wxUSE_SPLASH" = "yes"; then
44506 cat >>confdefs.h
<<\_ACEOF
44507 #define wxUSE_SPLASH 1
44510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44513 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44514 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44515 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44516 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44518 cat >>confdefs.h
<<\_ACEOF
44519 #define wxUSE_STARTUP_TIPS 1
44525 if test "$wxUSE_TEXTDLG" = "yes"; then
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_TEXTDLG 1
44532 if test "$wxUSE_WIZARDDLG" = "yes"; then
44533 cat >>confdefs.h
<<\_ACEOF
44534 #define wxUSE_WIZARDDLG 1
44537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44543 if test "$wxUSE_MEDIACTRL" = "yes"; then
44544 if test "$wxUSE_GTK" = 1; then
44545 wxUSE_GSTREAMER
="yes"
44547 GST_VERSION_MAJOR
=0
44548 GST_VERSION_MINOR
=10
44549 GST_VERSION_RELEASE
=0
44550 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44551 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44553 if test "$wxUSE_GSTREAMER8" = "no"; then
44557 if test -z "$PKG_CONFIG"; then
44558 # Extract the first word of "pkg-config", so it can be a program name with args.
44559 set dummy pkg
-config; ac_word
=$2
44560 echo "$as_me:$LINENO: checking for $ac_word" >&5
44561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44562 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44563 echo $ECHO_N "(cached) $ECHO_C" >&6
44565 case $PKG_CONFIG in
44567 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44571 for as_dir
in $PATH
44574 test -z "$as_dir" && as_dir
=.
44575 for ac_exec_ext
in '' $ac_executable_extensions; do
44576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44577 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44584 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44588 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44590 if test -n "$PKG_CONFIG"; then
44591 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44592 echo "${ECHO_T}$PKG_CONFIG" >&6
44594 echo "$as_me:$LINENO: result: no" >&5
44595 echo "${ECHO_T}no" >&6
44600 if test "$PKG_CONFIG" = "no" ; then
44601 echo "*** The pkg-config script could not be found. Make sure it is"
44602 echo "*** in your path, or set the PKG_CONFIG environment variable"
44603 echo "*** to the full path to pkg-config."
44604 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44606 PKG_CONFIG_MIN_VERSION
=0.9.0
44607 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44608 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44609 gstreamer-plugins-base-$GST_MAJORMINOR
44611 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44612 gstreamer-plugins-base-$GST_MAJORMINOR
44613 gconf-2.0... $ECHO_C" >&6
44615 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44616 gstreamer-plugins-base-$GST_MAJORMINOR
44618 echo "$as_me:$LINENO: result: yes" >&5
44619 echo "${ECHO_T}yes" >&6
44622 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44623 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44624 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44625 gstreamer-plugins-base-$GST_MAJORMINOR
44627 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44628 echo "${ECHO_T}$GST_CFLAGS" >&6
44630 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44631 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44632 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44633 gstreamer-plugins-base-$GST_MAJORMINOR
44635 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44636 echo "${ECHO_T}$GST_LIBS" >&6
44640 ## If we have a custom action on failure, don't print errors, but
44641 ## do set a variable so people can do so.
44642 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44643 gstreamer-plugins-base-$GST_MAJORMINOR
44651 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44652 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44656 if test $succeeded = yes; then
44658 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44659 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44663 GST_VERSION_MINOR
=8
44668 GST_VERSION_MINOR
=8
44671 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44672 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44674 if test x
$GST_VERSION_MINOR = x8
; then
44678 if test -z "$PKG_CONFIG"; then
44679 # Extract the first word of "pkg-config", so it can be a program name with args.
44680 set dummy pkg
-config; ac_word
=$2
44681 echo "$as_me:$LINENO: checking for $ac_word" >&5
44682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44683 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44684 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 case $PKG_CONFIG in
44688 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44692 for as_dir
in $PATH
44695 test -z "$as_dir" && as_dir
=.
44696 for ac_exec_ext
in '' $ac_executable_extensions; do
44697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44698 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44705 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44709 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44711 if test -n "$PKG_CONFIG"; then
44712 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44713 echo "${ECHO_T}$PKG_CONFIG" >&6
44715 echo "$as_me:$LINENO: result: no" >&5
44716 echo "${ECHO_T}no" >&6
44721 if test "$PKG_CONFIG" = "no" ; then
44722 echo "*** The pkg-config script could not be found. Make sure it is"
44723 echo "*** in your path, or set the PKG_CONFIG environment variable"
44724 echo "*** to the full path to pkg-config."
44725 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44727 PKG_CONFIG_MIN_VERSION
=0.9.0
44728 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44729 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44730 gstreamer-interfaces-$GST_MAJORMINOR
44731 gstreamer-gconf-$GST_MAJORMINOR" >&5
44732 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44733 gstreamer-interfaces-$GST_MAJORMINOR
44734 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44736 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44737 gstreamer-interfaces-$GST_MAJORMINOR
44738 gstreamer-gconf-$GST_MAJORMINOR" ; then
44739 echo "$as_me:$LINENO: result: yes" >&5
44740 echo "${ECHO_T}yes" >&6
44743 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44744 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44745 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44746 gstreamer-interfaces-$GST_MAJORMINOR
44747 gstreamer-gconf-$GST_MAJORMINOR"`
44748 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44749 echo "${ECHO_T}$GST_CFLAGS" >&6
44751 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44752 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44753 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44754 gstreamer-interfaces-$GST_MAJORMINOR
44755 gstreamer-gconf-$GST_MAJORMINOR"`
44756 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44757 echo "${ECHO_T}$GST_LIBS" >&6
44761 ## If we have a custom action on failure, don't print errors, but
44762 ## do set a variable so people can do so.
44763 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44764 gstreamer-interfaces-$GST_MAJORMINOR
44765 gstreamer-gconf-$GST_MAJORMINOR"`
44772 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44773 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44777 if test $succeeded = yes; then
44779 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44780 LIBS
="$LIBS $GST_LIBS"
44784 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44785 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44786 wxUSE_GSTREAMER
="no"
44793 if test "$wxUSE_GSTREAMER" = "yes"; then
44794 cat >>confdefs.h
<<\_ACEOF
44795 #define wxUSE_GSTREAMER 1
44798 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44799 echo "${ECHO_T}GStreamer detection successful" >&6
44803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44804 cat >>confdefs.h
<<\_ACEOF
44805 #define wxUSE_MEDIACTRL 1
44811 if test "$cross_compiling" = "yes"; then
44814 OSINFO
=`uname -s -r -m`
44815 OSINFO
="\"$OSINFO\""
44818 cat >>confdefs.h
<<_ACEOF
44819 #define WXWIN_OS_DESCRIPTION $OSINFO
44824 if test "x$prefix" != "xNONE"; then
44827 wxPREFIX
=$ac_default_prefix
44830 cat >>confdefs.h
<<_ACEOF
44831 #define wxINSTALL_PREFIX "$wxPREFIX"
44837 CORE_BASE_LIBS
="net base"
44838 CORE_GUI_LIBS
="adv core"
44840 if test "$wxUSE_XML" = "yes" ; then
44841 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44843 if test "$wxUSE_ODBC" != "no" ; then
44844 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44845 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44847 if test "$wxUSE_HTML" = "yes" ; then
44848 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44850 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44851 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44853 if test "$wxUSE_XRC" = "yes" ; then
44854 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44857 if test "$wxUSE_GUI" != "yes"; then
44867 if test "$wxUSE_MAC" = 1 ; then
44868 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44869 if test "$USE_DARWIN" = 1; then
44870 LDFLAGS
="$LDFLAGS -framework QuickTime"
44872 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44875 if test "$USE_DARWIN" = 1; then
44876 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44878 LDFLAGS
="$LDFLAGS -lCarbonLib"
44881 if test "$wxUSE_COCOA" = 1 ; then
44882 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44883 if test "$wxUSE_MEDIACTRL" = "yes"; then
44884 LDFLAGS
="$LDFLAGS -framework QuickTime"
44887 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44888 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44892 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44900 echo "$as_me:$LINENO: checking for $ac_func" >&5
44901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44902 if eval "test \"\${$as_ac_var+set}\" = set"; then
44903 echo $ECHO_N "(cached) $ECHO_C" >&6
44905 cat >conftest.
$ac_ext <<_ACEOF
44908 cat confdefs.h
>>conftest.
$ac_ext
44909 cat >>conftest.
$ac_ext <<_ACEOF
44910 /* end confdefs.h. */
44911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44913 #define $ac_func innocuous_$ac_func
44915 /* System header to define __stub macros and hopefully few prototypes,
44916 which can conflict with char $ac_func (); below.
44917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44918 <limits.h> exists even on freestanding compilers. */
44921 # include <limits.h>
44923 # include <assert.h>
44928 /* Override any gcc2 internal prototype to avoid an error. */
44933 /* We use char because int might match the return type of a gcc2
44934 builtin and then its argument prototype would still apply. */
44936 /* The GNU C library defines this for functions which it implements
44937 to always fail with ENOSYS. Some functions are actually named
44938 something starting with __ and the normal name is an alias. */
44939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44942 char (*f) () = $ac_func;
44951 return f != $ac_func;
44956 rm -f conftest.
$ac_objext conftest
$ac_exeext
44957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44958 (eval $ac_link) 2>conftest.er1
44960 grep -v '^ *+' conftest.er1
>conftest.err
44962 cat conftest.err
>&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } &&
44965 { ac_try
='test -z "$ac_c_werror_flag"
44966 || test ! -s conftest.err'
44967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968 (eval $ac_try) 2>&5
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); }; } &&
44972 { ac_try
='test -s conftest$ac_exeext'
44973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44974 (eval $ac_try) 2>&5
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; }; then
44978 eval "$as_ac_var=yes"
44980 echo "$as_me: failed program was:" >&5
44981 sed 's/^/| /' conftest.
$ac_ext >&5
44983 eval "$as_ac_var=no"
44985 rm -f conftest.err conftest.
$ac_objext \
44986 conftest
$ac_exeext conftest.
$ac_ext
44988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44990 if test `eval echo '${'$as_ac_var'}'` = yes; then
44991 cat >>confdefs.h
<<_ACEOF
44992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44999 for ac_func
in floor
45001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45002 echo "$as_me:$LINENO: checking for $ac_func" >&5
45003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45004 if eval "test \"\${$as_ac_var+set}\" = set"; then
45005 echo $ECHO_N "(cached) $ECHO_C" >&6
45007 cat >conftest.
$ac_ext <<_ACEOF
45010 cat confdefs.h
>>conftest.
$ac_ext
45011 cat >>conftest.
$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45015 #define $ac_func innocuous_$ac_func
45017 /* System header to define __stub macros and hopefully few prototypes,
45018 which can conflict with char $ac_func (); below.
45019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45020 <limits.h> exists even on freestanding compilers. */
45023 # include <limits.h>
45025 # include <assert.h>
45030 /* Override any gcc2 internal prototype to avoid an error. */
45035 /* We use char because int might match the return type of a gcc2
45036 builtin and then its argument prototype would still apply. */
45038 /* The GNU C library defines this for functions which it implements
45039 to always fail with ENOSYS. Some functions are actually named
45040 something starting with __ and the normal name is an alias. */
45041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45044 char (*f) () = $ac_func;
45053 return f != $ac_func;
45058 rm -f conftest.
$ac_objext conftest
$ac_exeext
45059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45060 (eval $ac_link) 2>conftest.er1
45062 grep -v '^ *+' conftest.er1
>conftest.err
45064 cat conftest.err
>&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); } &&
45067 { ac_try
='test -z "$ac_c_werror_flag"
45068 || test ! -s conftest.err'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; } &&
45074 { ac_try
='test -s conftest$ac_exeext'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; }; then
45080 eval "$as_ac_var=yes"
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.
$ac_ext >&5
45085 eval "$as_ac_var=no"
45087 rm -f conftest.err conftest.
$ac_objext \
45088 conftest
$ac_exeext conftest.
$ac_ext
45090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45092 if test `eval echo '${'$as_ac_var'}'` = yes; then
45093 cat >>confdefs.h
<<_ACEOF
45094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45100 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
45101 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
45102 if test "$have_cos" = 1 -a "$have_floor" = 1; then
45103 echo "$as_me:$LINENO: result: yes" >&5
45104 echo "${ECHO_T}yes" >&6
45106 echo "$as_me:$LINENO: result: no" >&5
45107 echo "${ECHO_T}no" >&6
45109 # use different functions to avoid configure caching
45115 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45116 echo "$as_me:$LINENO: checking for $ac_func" >&5
45117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45118 if eval "test \"\${$as_ac_var+set}\" = set"; then
45119 echo $ECHO_N "(cached) $ECHO_C" >&6
45121 cat >conftest.
$ac_ext <<_ACEOF
45124 cat confdefs.h
>>conftest.
$ac_ext
45125 cat >>conftest.
$ac_ext <<_ACEOF
45126 /* end confdefs.h. */
45127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45129 #define $ac_func innocuous_$ac_func
45131 /* System header to define __stub macros and hopefully few prototypes,
45132 which can conflict with char $ac_func (); below.
45133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45134 <limits.h> exists even on freestanding compilers. */
45137 # include <limits.h>
45139 # include <assert.h>
45144 /* Override any gcc2 internal prototype to avoid an error. */
45149 /* We use char because int might match the return type of a gcc2
45150 builtin and then its argument prototype would still apply. */
45152 /* The GNU C library defines this for functions which it implements
45153 to always fail with ENOSYS. Some functions are actually named
45154 something starting with __ and the normal name is an alias. */
45155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45158 char (*f) () = $ac_func;
45167 return f != $ac_func;
45172 rm -f conftest.
$ac_objext conftest
$ac_exeext
45173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45174 (eval $ac_link) 2>conftest.er1
45176 grep -v '^ *+' conftest.er1
>conftest.err
45178 cat conftest.err
>&5
45179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180 (exit $ac_status); } &&
45181 { ac_try
='test -z "$ac_c_werror_flag"
45182 || test ! -s conftest.err'
45183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45184 (eval $ac_try) 2>&5
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); }; } &&
45188 { ac_try
='test -s conftest$ac_exeext'
45189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45190 (eval $ac_try) 2>&5
45192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45193 (exit $ac_status); }; }; then
45194 eval "$as_ac_var=yes"
45196 echo "$as_me: failed program was:" >&5
45197 sed 's/^/| /' conftest.
$ac_ext >&5
45199 eval "$as_ac_var=no"
45201 rm -f conftest.err conftest.
$ac_objext \
45202 conftest
$ac_exeext conftest.
$ac_ext
45204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45206 if test `eval echo '${'$as_ac_var'}'` = yes; then
45207 cat >>confdefs.h
<<_ACEOF
45208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45215 for ac_func
in ceil
45217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45218 echo "$as_me:$LINENO: checking for $ac_func" >&5
45219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45220 if eval "test \"\${$as_ac_var+set}\" = set"; then
45221 echo $ECHO_N "(cached) $ECHO_C" >&6
45223 cat >conftest.
$ac_ext <<_ACEOF
45226 cat confdefs.h
>>conftest.
$ac_ext
45227 cat >>conftest.
$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45231 #define $ac_func innocuous_$ac_func
45233 /* System header to define __stub macros and hopefully few prototypes,
45234 which can conflict with char $ac_func (); below.
45235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45236 <limits.h> exists even on freestanding compilers. */
45239 # include <limits.h>
45241 # include <assert.h>
45246 /* Override any gcc2 internal prototype to avoid an error. */
45251 /* We use char because int might match the return type of a gcc2
45252 builtin and then its argument prototype would still apply. */
45254 /* The GNU C library defines this for functions which it implements
45255 to always fail with ENOSYS. Some functions are actually named
45256 something starting with __ and the normal name is an alias. */
45257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45260 char (*f) () = $ac_func;
45269 return f != $ac_func;
45274 rm -f conftest.
$ac_objext conftest
$ac_exeext
45275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45276 (eval $ac_link) 2>conftest.er1
45278 grep -v '^ *+' conftest.er1
>conftest.err
45280 cat conftest.err
>&5
45281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282 (exit $ac_status); } &&
45283 { ac_try
='test -z "$ac_c_werror_flag"
45284 || test ! -s conftest.err'
45285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45286 (eval $ac_try) 2>&5
45288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289 (exit $ac_status); }; } &&
45290 { ac_try
='test -s conftest$ac_exeext'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; }; then
45296 eval "$as_ac_var=yes"
45298 echo "$as_me: failed program was:" >&5
45299 sed 's/^/| /' conftest.
$ac_ext >&5
45301 eval "$as_ac_var=no"
45303 rm -f conftest.err conftest.
$ac_objext \
45304 conftest
$ac_exeext conftest.
$ac_ext
45306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45308 if test `eval echo '${'$as_ac_var'}'` = yes; then
45309 cat >>confdefs.h
<<_ACEOF
45310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45316 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45317 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45318 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45319 echo "$as_me:$LINENO: result: yes" >&5
45320 echo "${ECHO_T}yes" >&6
45322 echo "$as_me:$LINENO: result: no" >&5
45323 echo "${ECHO_T}no" >&6
45324 # not sure we should warn the user, crash, etc.
45328 if test "$wxUSE_GUI" = "yes"; then
45331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45332 dynamic erase event exec font image minimal mobile \
45333 mobile/wxedit mobile/styles propsize render \
45334 rotate shaped vscroll widgets"
45336 if test "$wxUSE_MONOLITHIC" != "yes"; then
45337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45339 if test "$TOOLKIT" = "MSW"; then
45340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45341 if test "$wxUSE_UNIVERSAL" != "yes"; then
45342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45345 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45349 SAMPLES_SUBDIRS
="console"
45353 if test "x$INTELCC" = "xyes" ; then
45354 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45355 elif test "$GCC" = yes ; then
45356 CWARNINGS
="-Wall -Wundef"
45359 if test "x$INTELCXX" = "xyes" ; then
45360 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45361 elif test "$GXX" = yes ; then
45362 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45366 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45367 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45370 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45371 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45372 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45375 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45376 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45377 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45379 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45382 if test "x$MWCC" = "xyes"; then
45384 CC
="$CC -cwd source -I-"
45385 CXX
="$CXX -cwd source -I-"
45390 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45391 EXTRALIBS_XML
="$EXPAT_LINK"
45392 EXTRALIBS_HTML
="$MSPACK_LINK"
45393 EXTRALIBS_ODBC
="$ODBC_LINK"
45394 if test "$wxUSE_GUI" = "yes"; then
45395 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45397 if test "$wxUSE_OPENGL" = "yes"; then
45398 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45401 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45403 WXCONFIG_LIBS
="$LIBS"
45405 if test "$wxUSE_REGEX" = "builtin" ; then
45406 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45408 if test "$wxUSE_EXPAT" = "builtin" ; then
45409 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45411 if test "$wxUSE_ODBC" = "builtin" ; then
45412 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45414 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45415 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45417 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45418 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45420 if test "$wxUSE_LIBPNG" = "builtin" ; then
45421 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45423 if test "$wxUSE_ZLIB" = "builtin" ; then
45424 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45427 for i
in $wxconfig_3rdparty ; do
45428 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45432 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45446 if test $wxUSE_MONOLITHIC = "yes" ; then
45452 if test $wxUSE_PLUGINS = "yes" ; then
45458 if test $wxUSE_ODBC != "no" ; then
45464 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45470 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45500 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45511 TOOLKIT_USER
="GTK+"
45512 if test "$WXGTK20" = 1; then
45513 TOOLKIT_USER
="$TOOLKIT_USER 2"
45518 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45522 if test "$wxUSE_WINE" = "yes"; then
45523 BAKEFILE_FORCE_PLATFORM
=win32
45526 if test "$wxUSE_MAC" = 1 ; then
45527 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45528 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45529 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45530 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45533 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45534 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45535 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45541 if test "x$BAKEFILE_HOST" = "x"; then
45542 if test "x${host}" = "x" ; then
45543 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45544 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45545 { (exit 1); exit 1; }; }
45548 BAKEFILE_HOST
="${host}"
45551 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45553 if test -n "$ac_tool_prefix"; then
45554 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45555 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45556 echo "$as_me:$LINENO: checking for $ac_word" >&5
45557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45558 if test "${ac_cv_prog_RANLIB+set}" = set; then
45559 echo $ECHO_N "(cached) $ECHO_C" >&6
45561 if test -n "$RANLIB"; then
45562 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45565 for as_dir
in $PATH
45568 test -z "$as_dir" && as_dir
=.
45569 for ac_exec_ext
in '' $ac_executable_extensions; do
45570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45571 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45580 RANLIB
=$ac_cv_prog_RANLIB
45581 if test -n "$RANLIB"; then
45582 echo "$as_me:$LINENO: result: $RANLIB" >&5
45583 echo "${ECHO_T}$RANLIB" >&6
45585 echo "$as_me:$LINENO: result: no" >&5
45586 echo "${ECHO_T}no" >&6
45590 if test -z "$ac_cv_prog_RANLIB"; then
45591 ac_ct_RANLIB
=$RANLIB
45592 # Extract the first word of "ranlib", so it can be a program name with args.
45593 set dummy ranlib
; ac_word
=$2
45594 echo "$as_me:$LINENO: checking for $ac_word" >&5
45595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45596 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45597 echo $ECHO_N "(cached) $ECHO_C" >&6
45599 if test -n "$ac_ct_RANLIB"; then
45600 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45603 for as_dir
in $PATH
45606 test -z "$as_dir" && as_dir
=.
45607 for ac_exec_ext
in '' $ac_executable_extensions; do
45608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45609 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45616 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45619 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45620 if test -n "$ac_ct_RANLIB"; then
45621 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45622 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45624 echo "$as_me:$LINENO: result: no" >&5
45625 echo "${ECHO_T}no" >&6
45628 RANLIB
=$ac_ct_RANLIB
45630 RANLIB
="$ac_cv_prog_RANLIB"
45633 # Find a good install program. We prefer a C program (faster),
45634 # so one script is as good as another. But avoid the broken or
45635 # incompatible versions:
45636 # SysV /etc/install, /usr/sbin/install
45637 # SunOS /usr/etc/install
45638 # IRIX /sbin/install
45640 # AmigaOS /C/install, which installs bootblocks on floppy discs
45641 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45642 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45644 # OS/2's system install, which has a completely different semantic
45645 # ./install, which can be erroneously created by make from ./install.sh.
45646 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45647 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45648 if test -z "$INSTALL"; then
45649 if test "${ac_cv_path_install+set}" = set; then
45650 echo $ECHO_N "(cached) $ECHO_C" >&6
45652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45653 for as_dir
in $PATH
45656 test -z "$as_dir" && as_dir
=.
45657 # Account for people who put trailing slashes in PATH elements.
45659 .
/ | .
// | /cC
/* | \
45660 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45661 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45664 # OSF1 and SCO ODT 3.0 have their own names for install.
45665 # Don't use installbsd from OSF since it installs stuff as root
45667 for ac_prog
in ginstall scoinst
install; do
45668 for ac_exec_ext
in '' $ac_executable_extensions; do
45669 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45670 if test $ac_prog = install &&
45671 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45672 # AIX install. It has an incompatible calling convention.
45674 elif test $ac_prog = install &&
45675 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45676 # program-specific install script used by HP pwplus--don't use.
45679 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45691 if test "${ac_cv_path_install+set}" = set; then
45692 INSTALL
=$ac_cv_path_install
45694 # As a last resort, use the slow shell script. We don't cache a
45695 # path for INSTALL within a source directory, because that will
45696 # break other packages using the cache if that directory is
45697 # removed, or if the path is relative.
45698 INSTALL
=$ac_install_sh
45701 echo "$as_me:$LINENO: result: $INSTALL" >&5
45702 echo "${ECHO_T}$INSTALL" >&6
45704 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45705 # It thinks the first close brace ends the variable substitution.
45706 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45708 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45710 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45712 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45713 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45715 if test "$LN_S" = "ln -s"; then
45716 echo "$as_me:$LINENO: result: yes" >&5
45717 echo "${ECHO_T}yes" >&6
45719 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45720 echo "${ECHO_T}no, using $LN_S" >&6
45724 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45725 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45726 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45727 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 cat >conftest.
make <<\_ACEOF
45732 @
echo 'ac_maketemp="$(MAKE)"'
45734 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45735 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45736 if test -n "$ac_maketemp"; then
45737 eval ac_cv_prog_make_
${ac_make}_set
=yes
45739 eval ac_cv_prog_make_
${ac_make}_set
=no
45741 rm -f conftest.
make
45743 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45744 echo "$as_me:$LINENO: result: yes" >&5
45745 echo "${ECHO_T}yes" >&6
45748 echo "$as_me:$LINENO: result: no" >&5
45749 echo "${ECHO_T}no" >&6
45750 SET_MAKE
="MAKE=${MAKE-make}"
45755 if test -n "$ac_tool_prefix"; then
45756 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45757 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45758 echo "$as_me:$LINENO: checking for $ac_word" >&5
45759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45760 if test "${ac_cv_prog_AR+set}" = set; then
45761 echo $ECHO_N "(cached) $ECHO_C" >&6
45763 if test -n "$AR"; then
45764 ac_cv_prog_AR
="$AR" # Let the user override the test.
45766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45767 for as_dir
in $PATH
45770 test -z "$as_dir" && as_dir
=.
45771 for ac_exec_ext
in '' $ac_executable_extensions; do
45772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45773 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45783 if test -n "$AR"; then
45784 echo "$as_me:$LINENO: result: $AR" >&5
45785 echo "${ECHO_T}$AR" >&6
45787 echo "$as_me:$LINENO: result: no" >&5
45788 echo "${ECHO_T}no" >&6
45792 if test -z "$ac_cv_prog_AR"; then
45794 # Extract the first word of "ar", so it can be a program name with args.
45795 set dummy
ar; ac_word
=$2
45796 echo "$as_me:$LINENO: checking for $ac_word" >&5
45797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45798 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45799 echo $ECHO_N "(cached) $ECHO_C" >&6
45801 if test -n "$ac_ct_AR"; then
45802 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45805 for as_dir
in $PATH
45808 test -z "$as_dir" && as_dir
=.
45809 for ac_exec_ext
in '' $ac_executable_extensions; do
45810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45811 ac_cv_prog_ac_ct_AR
="ar"
45812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45818 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45821 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45822 if test -n "$ac_ct_AR"; then
45823 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45824 echo "${ECHO_T}$ac_ct_AR" >&6
45826 echo "$as_me:$LINENO: result: no" >&5
45827 echo "${ECHO_T}no" >&6
45832 AR
="$ac_cv_prog_AR"
45835 if test -n "$ac_tool_prefix"; then
45836 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45837 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45838 echo "$as_me:$LINENO: checking for $ac_word" >&5
45839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45840 if test "${ac_cv_prog_STRIP+set}" = set; then
45841 echo $ECHO_N "(cached) $ECHO_C" >&6
45843 if test -n "$STRIP"; then
45844 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45847 for as_dir
in $PATH
45850 test -z "$as_dir" && as_dir
=.
45851 for ac_exec_ext
in '' $ac_executable_extensions; do
45852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45853 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45862 STRIP
=$ac_cv_prog_STRIP
45863 if test -n "$STRIP"; then
45864 echo "$as_me:$LINENO: result: $STRIP" >&5
45865 echo "${ECHO_T}$STRIP" >&6
45867 echo "$as_me:$LINENO: result: no" >&5
45868 echo "${ECHO_T}no" >&6
45872 if test -z "$ac_cv_prog_STRIP"; then
45874 # Extract the first word of "strip", so it can be a program name with args.
45875 set dummy strip
; ac_word
=$2
45876 echo "$as_me:$LINENO: checking for $ac_word" >&5
45877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45878 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45879 echo $ECHO_N "(cached) $ECHO_C" >&6
45881 if test -n "$ac_ct_STRIP"; then
45882 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45885 for as_dir
in $PATH
45888 test -z "$as_dir" && as_dir
=.
45889 for ac_exec_ext
in '' $ac_executable_extensions; do
45890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45891 ac_cv_prog_ac_ct_STRIP
="strip"
45892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45898 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45901 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45902 if test -n "$ac_ct_STRIP"; then
45903 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45904 echo "${ECHO_T}$ac_ct_STRIP" >&6
45906 echo "$as_me:$LINENO: result: no" >&5
45907 echo "${ECHO_T}no" >&6
45912 STRIP
="$ac_cv_prog_STRIP"
45915 if test -n "$ac_tool_prefix"; then
45916 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45917 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45918 echo "$as_me:$LINENO: checking for $ac_word" >&5
45919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45920 if test "${ac_cv_prog_NM+set}" = set; then
45921 echo $ECHO_N "(cached) $ECHO_C" >&6
45923 if test -n "$NM"; then
45924 ac_cv_prog_NM
="$NM" # Let the user override the test.
45926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45927 for as_dir
in $PATH
45930 test -z "$as_dir" && as_dir
=.
45931 for ac_exec_ext
in '' $ac_executable_extensions; do
45932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45933 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45943 if test -n "$NM"; then
45944 echo "$as_me:$LINENO: result: $NM" >&5
45945 echo "${ECHO_T}$NM" >&6
45947 echo "$as_me:$LINENO: result: no" >&5
45948 echo "${ECHO_T}no" >&6
45952 if test -z "$ac_cv_prog_NM"; then
45954 # Extract the first word of "nm", so it can be a program name with args.
45955 set dummy nm
; ac_word
=$2
45956 echo "$as_me:$LINENO: checking for $ac_word" >&5
45957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45958 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45959 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 if test -n "$ac_ct_NM"; then
45962 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45965 for as_dir
in $PATH
45968 test -z "$as_dir" && as_dir
=.
45969 for ac_exec_ext
in '' $ac_executable_extensions; do
45970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45971 ac_cv_prog_ac_ct_NM
="nm"
45972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45978 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45981 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45982 if test -n "$ac_ct_NM"; then
45983 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45984 echo "${ECHO_T}$ac_ct_NM" >&6
45986 echo "$as_me:$LINENO: result: no" >&5
45987 echo "${ECHO_T}no" >&6
45992 NM
="$ac_cv_prog_NM"
45996 case ${BAKEFILE_HOST} in
45998 INSTALL_DIR
="mkdir -p"
46000 *) INSTALL_DIR
="$INSTALL -d"
46006 case ${BAKEFILE_HOST} in
46007 *-*-cygwin* | *-*-mingw32* )
46008 LDFLAGS_GUI
="-mwindows"
46014 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46015 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46016 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46017 echo $ECHO_N "(cached) $ECHO_C" >&6
46020 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46021 egrep -s GNU
> /dev
/null
); then
46022 bakefile_cv_prog_makeisgnu
="yes"
46024 bakefile_cv_prog_makeisgnu
="no"
46028 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46029 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46031 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46048 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46049 case "${BAKEFILE_HOST}" in
46056 *-pc-os2_emx | *-pc-os2-emx )
46066 powerpc
-apple-macos* )
46075 case "$BAKEFILE_FORCE_PLATFORM" in
46096 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46097 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46098 { (exit 1); exit 1; }; }
46113 # Check whether --enable-omf or --disable-omf was given.
46114 if test "${enable_omf+set}" = set; then
46115 enableval
="$enable_omf"
46116 bk_os2_use_omf
="$enableval"
46119 case "${BAKEFILE_HOST}" in
46121 if test "x$GCC" = "xyes"; then
46122 CFLAGS
="$CFLAGS -fno-common"
46123 CXXFLAGS
="$CXXFLAGS -fno-common"
46125 if test "x$XLCC" = "xyes"; then
46126 CFLAGS
="$CFLAGS -qnocommon"
46127 CXXFLAGS
="$CXXFLAGS -qnocommon"
46131 *-pc-os2_emx | *-pc-os2-emx )
46132 if test "x$bk_os2_use_omf" = "xyes" ; then
46135 LDFLAGS
="-Zomf $LDFLAGS"
46136 CFLAGS
="-Zomf $CFLAGS"
46137 CXXFLAGS
="-Zomf $CXXFLAGS"
46145 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46151 SO_SUFFIX_MODULE
="so"
46156 DLLPREFIX_MODULE
=""
46160 case "${BAKEFILE_HOST}" in
46163 SO_SUFFIX_MODULE
="sl"
46167 SO_SUFFIX_MODULE
="a"
46171 SO_SUFFIX_MODULE
="dll"
46172 DLLIMP_SUFFIX
="dll.a"
46179 SO_SUFFIX_MODULE
="dll"
46180 DLLIMP_SUFFIX
="dll.a"
46190 *-pc-os2_emx | *-pc-os2-emx )
46192 SO_SUFFIX_MODULE
="dll"
46193 DLLIMP_SUFFIX
=$OS2_LIBEXT
46197 LIBEXT
=".$OS2_LIBEXT"
46202 SO_SUFFIX_MODULE
="bundle"
46206 if test "x$DLLIMP_SUFFIX" = "x" ; then
46207 DLLIMP_SUFFIX
="$SO_SUFFIX"
46222 if test "x$GCC" = "xyes"; then
46226 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46227 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46230 case "${BAKEFILE_HOST}" in
46232 if test "x$GCC" != "xyes"; then
46233 LDFLAGS
="$LDFLAGS -L/usr/lib"
46235 SHARED_LD_CC
="${CC} -b -o"
46236 SHARED_LD_CXX
="${CXX} -b -o"
46242 if test "x$GCC" != "xyes"; then
46243 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46244 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46245 if test "${bakefile_cv_prog_icc+set}" = set; then
46246 echo $ECHO_N "(cached) $ECHO_C" >&6
46249 cat >conftest.
$ac_ext <<_ACEOF
46252 cat confdefs.h
>>conftest.
$ac_ext
46253 cat >>conftest.
$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46260 #ifndef __INTEL_COMPILER
46268 rm -f conftest.
$ac_objext
46269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46270 (eval $ac_compile) 2>conftest.er1
46272 grep -v '^ *+' conftest.er1
>conftest.err
46274 cat conftest.err
>&5
46275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46276 (exit $ac_status); } &&
46277 { ac_try
='test -z "$ac_c_werror_flag"
46278 || test ! -s conftest.err'
46279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46280 (eval $ac_try) 2>&5
46282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46283 (exit $ac_status); }; } &&
46284 { ac_try
='test -s conftest.$ac_objext'
46285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46286 (eval $ac_try) 2>&5
46288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289 (exit $ac_status); }; }; then
46290 bakefile_cv_prog_icc
=yes
46292 echo "$as_me: failed program was:" >&5
46293 sed 's/^/| /' conftest.
$ac_ext >&5
46295 bakefile_cv_prog_icc
=no
46298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46301 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46302 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46303 if test "$bakefile_cv_prog_icc" = "yes"; then
46310 if test "x$GCC" != xyes
; then
46311 SHARED_LD_CC
="${CC} -G -o"
46312 SHARED_LD_CXX
="${CXX} -G -o"
46320 cat <<EOF >shared-ld-sh
46322 #-----------------------------------------------------------------------------
46323 #-- Name: distrib/mac/shared-ld-sh
46324 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46325 #-- Author: Gilles Depeyrot
46326 #-- Copyright: (c) 2002 Gilles Depeyrot
46327 #-- Licence: any use permitted
46328 #-----------------------------------------------------------------------------
46333 linking_flag="-dynamiclib"
46334 ldargs="-r -keep_private_externs -nostdlib"
46336 while test ${D}# -gt 0; do
46343 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46344 # collect these options and values
46345 args="${D}{args} ${D}1 ${D}2"
46350 # collect these load args
46351 ldargs="${D}{ldargs} ${D}1"
46354 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46355 # collect these options
46356 args="${D}{args} ${D}1"
46359 -dynamiclib|-bundle)
46360 linking_flag="${D}1"
46364 echo "shared-ld: unhandled option '${D}1'"
46368 *.o | *.a | *.dylib)
46369 # collect object files
46370 objects="${D}{objects} ${D}1"
46374 echo "shared-ld: unhandled argument '${D}1'"
46385 # Link one module containing all the others
46387 if test ${D}{verbose} = 1; then
46388 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46390 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46394 # Link the shared library from the single module created, but only if the
46395 # previous command didn't fail:
46397 if test ${D}{status} = 0; then
46398 if test ${D}{verbose} = 1; then
46399 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46401 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46406 # Remove intermediate module
46408 rm -f master.${D}${D}.o
46413 chmod +x shared
-ld-sh
46415 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46416 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46419 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46420 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46421 if test "${bakefile_cv_gcc31+set}" = set; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46425 cat >conftest.
$ac_ext <<_ACEOF
46428 cat confdefs.h
>>conftest.
$ac_ext
46429 cat >>conftest.
$ac_ext <<_ACEOF
46430 /* end confdefs.h. */
46436 #if (__GNUC__ < 3) || \
46437 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46445 rm -f conftest.
$ac_objext
46446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46447 (eval $ac_compile) 2>conftest.er1
46449 grep -v '^ *+' conftest.er1
>conftest.err
46451 cat conftest.err
>&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } &&
46454 { ac_try
='test -z "$ac_c_werror_flag"
46455 || test ! -s conftest.err'
46456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457 (eval $ac_try) 2>&5
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); }; } &&
46461 { ac_try
='test -s conftest.$ac_objext'
46462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46463 (eval $ac_try) 2>&5
46465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46466 (exit $ac_status); }; }; then
46468 bakefile_cv_gcc31
=yes
46471 echo "$as_me: failed program was:" >&5
46472 sed 's/^/| /' conftest.
$ac_ext >&5
46475 bakefile_cv_gcc31
=no
46479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46482 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46483 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46484 if test "$bakefile_cv_gcc31" = "no"; then
46485 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46486 SHARED_LD_CXX
="$SHARED_LD_CC"
46488 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46489 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46492 if test "x$GCC" == "xyes"; then
46493 PIC_FLAG
="-dynamic -fPIC"
46495 if test "x$XLCC" = "xyes"; then
46496 PIC_FLAG
="-dynamic -DPIC"
46501 if test "x$GCC" = "xyes"; then
46504 case "${BAKEFILE_HOST}" in
46506 LD_EXPFULL
="-Wl,-bexpfull"
46510 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46511 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46513 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46514 set dummy makeC
++SharedLib
; ac_word
=$2
46515 echo "$as_me:$LINENO: checking for $ac_word" >&5
46516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46517 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46518 echo $ECHO_N "(cached) $ECHO_C" >&6
46520 if test -n "$AIX_CXX_LD"; then
46521 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46524 for as_dir
in $PATH
46527 test -z "$as_dir" && as_dir
=.
46528 for ac_exec_ext
in '' $ac_executable_extensions; do
46529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46530 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46537 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46540 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46541 if test -n "$AIX_CXX_LD"; then
46542 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46543 echo "${ECHO_T}$AIX_CXX_LD" >&6
46545 echo "$as_me:$LINENO: result: no" >&5
46546 echo "${ECHO_T}no" >&6
46549 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46550 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46555 SHARED_LD_CC
="${LD} -nostart -o"
46556 SHARED_LD_CXX
="${LD} -nostart -o"
46560 if test "x$GCC" != "xyes"; then
46565 *-*-cygwin* | *-*-mingw32* )
46567 SHARED_LD_CC
="\$(CC) -shared -o"
46568 SHARED_LD_CXX
="\$(CXX) -shared -o"
46572 *-pc-os2_emx | *-pc-os2-emx )
46573 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46574 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46578 cat <<EOF >dllar.sh
46581 # dllar - a tool to build both a .dll and an .a file
46582 # from a set of object (.o) files for EMX/OS2.
46584 # Written by Andrew Zabolotny, bit@freya.etu.ru
46585 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46587 # This script will accept a set of files on the command line.
46588 # All the public symbols from the .o files will be exported into
46589 # a .DEF file, then linker will be run (through gcc) against them to
46590 # build a shared library consisting of all given .o files. All libraries
46591 # (.a) will be first decompressed into component .o files then act as
46592 # described above. You can optionally give a description (-d "description")
46593 # which will be put into .DLL. To see the list of accepted options (as well
46594 # as command-line format) simply run this program without options. The .DLL
46595 # is built to be imported by name (there is no guarantee that new versions
46596 # of the library you build will have same ordinals for same symbols).
46598 # dllar is free software; you can redistribute it and/or modify
46599 # it under the terms of the GNU General Public License as published by
46600 # the Free Software Foundation; either version 2, or (at your option)
46601 # any later version.
46603 # dllar is distributed in the hope that it will be useful,
46604 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46605 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46606 # GNU General Public License for more details.
46608 # You should have received a copy of the GNU General Public License
46609 # along with dllar; see the file COPYING. If not, write to the Free
46610 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46613 # To successfuly run this program you will need:
46614 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46615 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46617 # (used to build the .dll)
46619 # (used to create .def file from .o files)
46621 # (used to create .a file from .def file)
46622 # - GNU text utilites (cat, sort, uniq)
46623 # used to process emxexp output
46624 # - GNU file utilities (mv, rm)
46626 # - lxlite (optional, see flag below)
46627 # (used for general .dll cleanup)
46634 # basnam, variant of basename, which does _not_ remove the path, _iff_
46635 # second argument (suffix to remove) is given
46639 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46642 echo ${D}1 | sed 's/'${D}2'${D}//'
46645 echo "error in basnam ${D}*"
46651 # Cleanup temporary files and output
46654 for i in ${D}inputFiles ; do
46657 rm -rf \`basnam ${D}i !\`
46664 # Kill result in case of failure as there is just to many stupid make/nmake
46665 # things out there which doesn't do this.
46666 if [ ${D}# -eq 0 ]; then
46667 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46671 # Print usage and exit script with rc=1.
46673 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46674 echo ' [-name-mangler-script script.sh]'
46675 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46676 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46677 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46678 echo ' [*.o] [*.a]'
46679 echo '*> "output_file" should have no extension.'
46680 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46681 echo ' The import library name is derived from this and is set to "name".a,'
46682 echo ' unless overridden by -import'
46683 echo '*> "importlib_name" should have no extension.'
46684 echo ' If it has the .o, or .a extension, it is automatically removed.'
46685 echo ' This name is used as the import library name and may be longer and'
46686 echo ' more descriptive than the DLL name which has to follow the old '
46687 echo ' 8.3 convention of FAT.'
46688 echo '*> "script.sh may be given to override the output_file name by a'
46689 echo ' different name. It is mainly useful if the regular make process'
46690 echo ' of some package does not take into account OS/2 restriction of'
46691 echo ' DLL name lengths. It takes the importlib name as input and is'
46692 echo ' supposed to procude a shorter name as output. The script should'
46693 echo ' expect to get importlib_name without extension and should produce'
46694 echo ' a (max.) 8 letter name without extension.'
46695 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46696 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46697 echo ' These flags will be put at the start of GCC command line.'
46698 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46699 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46700 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46701 echo ' If the last character of a symbol is "*", all symbols beginning'
46702 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46703 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46704 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46705 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46706 echo ' C runtime DLLs.'
46707 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46708 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46709 echo ' unchanged to GCC at the end of command line.'
46710 echo '*> If you create a DLL from a library and you do not specify -o,'
46711 echo ' the basename for DLL and import library will be set to library name,'
46712 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46713 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46714 echo ' library will be renamed into gcc_s.a.'
46717 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46718 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46723 # Execute a command.
46724 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46725 # @Uses Whatever CleanUp() uses.
46731 if [ ${D}rcCmd -ne 0 ]; then
46732 echo "command failed, exit code="${D}rcCmd
46747 CFLAGS="-s -Zcrtdll"
46749 EXPORT_BY_ORDINALS=0
46754 case ${D}curDirS in
46758 curDirS=${D}{curDirS}"/"
46761 # Parse commandline
46764 while [ ${D}1 ]; do
46767 EXPORT_BY_ORDINALS=1;
46777 -name-mangler-script)
46798 exclude_symbols=${D}{exclude_symbols}${D}1" "
46802 library_flags=${D}{library_flags}${D}1" "
46821 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46824 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46825 if [ ${D}omfLinking -eq 1 ]; then
46826 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46828 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46833 if [ ${D}libsToLink -ne 0 ]; then
46834 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46836 for file in ${D}1 ; do
46837 if [ -f ${D}file ]; then
46838 inputFiles="${D}{inputFiles} ${D}file"
46842 if [ ${D}found -eq 0 ]; then
46843 echo "ERROR: No file(s) found: "${D}1
46850 done # iterate cmdline words
46853 if [ -z "${D}inputFiles" ]; then
46854 echo "dllar: no input files"
46858 # Now extract all .o files from .a files
46860 for file in ${D}inputFiles ; do
46871 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46876 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46878 if [ ${D}? -ne 0 ]; then
46879 echo "Failed to create subdirectory ./${D}dirname"
46883 # Append '!' to indicate archive
46884 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46885 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46888 for subfile in ${D}dirname/*.o* ; do
46889 if [ -f ${D}subfile ]; then
46891 if [ -s ${D}subfile ]; then
46892 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46893 newInputFiles="${D}newInputFiles ${D}subfile"
46897 if [ ${D}found -eq 0 ]; then
46898 echo "WARNING: there are no files in archive \\'${D}file\\'"
46902 newInputFiles="${D}{newInputFiles} ${D}file"
46906 inputFiles="${D}newInputFiles"
46908 # Output filename(s).
46910 if [ -z ${D}outFile ]; then
46912 set outFile ${D}inputFiles; outFile=${D}2
46915 # If it is an archive, remove the '!' and the '_%' suffixes
46916 case ${D}outFile in
46918 outFile=\`basnam ${D}outFile _%!\`
46923 case ${D}outFile in
46925 outFile=\`basnam ${D}outFile .dll\`
46928 outFile=\`basnam ${D}outFile .DLL\`
46931 outFile=\`basnam ${D}outFile .o\`
46934 outFile=\`basnam ${D}outFile .obj\`
46937 outFile=\`basnam ${D}outFile .a\`
46940 outFile=\`basnam ${D}outFile .lib\`
46945 case ${D}outimpFile in
46947 outimpFile=\`basnam ${D}outimpFile .a\`
46950 outimpFile=\`basnam ${D}outimpFile .lib\`
46955 if [ -z ${D}outimpFile ]; then
46956 outimpFile=${D}outFile
46958 defFile="${D}{outFile}.def"
46959 arcFile="${D}{outimpFile}.a"
46960 arcFile2="${D}{outimpFile}.lib"
46962 #create ${D}dllFile as something matching 8.3 restrictions,
46963 if [ -z ${D}renameScript ] ; then
46964 dllFile="${D}outFile"
46966 dllFile=\`${D}renameScript ${D}outimpFile\`
46969 if [ ${D}do_backup -ne 0 ] ; then
46970 if [ -f ${D}arcFile ] ; then
46971 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46973 if [ -f ${D}arcFile2 ] ; then
46974 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46978 # Extract public symbols from all the object files.
46979 tmpdefFile=${D}{defFile}_%
46980 rm -f ${D}tmpdefFile
46981 for file in ${D}inputFiles ; do
46986 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46991 # Create the def file.
46993 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46994 dllFile="${D}{dllFile}.dll"
46995 if [ ! -z ${D}description ]; then
46996 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46998 echo "EXPORTS" >> ${D}defFile
47000 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47001 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47003 # Checks if the export is ok or not.
47004 for word in ${D}exclude_symbols; do
47005 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47006 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47010 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47011 sed "=" < ${D}tmpdefFile | \\
47015 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47017 ' > ${D}{tmpdefFile}%
47018 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47020 rm -f ${D}{tmpdefFile}%
47022 cat ${D}tmpdefFile >> ${D}defFile
47023 rm -f ${D}tmpdefFile
47025 # Do linking, create implib, and apply lxlite.
47027 for file in ${D}inputFiles ; do
47032 gccCmdl="${D}gccCmdl ${D}file"
47036 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47037 touch "${D}{outFile}.dll"
47039 doCommand "emximp -o ${D}arcFile ${D}defFile"
47040 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47042 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47045 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47047 doCommand "emxomf -s -l ${D}arcFile"
47057 powerpc
-apple-macos* | \
47058 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47067 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47068 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47069 { (exit 1); exit 1; }; }
47072 if test "x$PIC_FLAG" != "x" ; then
47073 PIC_FLAG
="$PIC_FLAG -DPIC"
47076 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47077 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47079 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47080 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47099 case "${BAKEFILE_HOST}" in
47100 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47101 SONAME_FLAG
="-Wl,-soname,"
47135 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47136 if test "${enable_dependency_tracking+set}" = set; then
47137 enableval
="$enable_dependency_tracking"
47138 bk_use_trackdeps
="$enableval"
47141 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47142 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47144 if test "x$bk_use_trackdeps" = "xno" ; then
47146 echo "$as_me:$LINENO: result: disabled" >&5
47147 echo "${ECHO_T}disabled" >&6
47151 if test "x$GCC" = "xyes"; then
47153 case "${BAKEFILE_HOST}" in
47155 DEPSFLAG
="-no-cpp-precomp -MMD"
47161 echo "$as_me:$LINENO: result: gcc" >&5
47162 echo "${ECHO_T}gcc" >&6
47163 elif test "x$MWCC" = "xyes"; then
47166 echo "$as_me:$LINENO: result: mwcc" >&5
47167 echo "${ECHO_T}mwcc" >&6
47168 elif test "x$SUNCC" = "xyes"; then
47171 echo "$as_me:$LINENO: result: Sun cc" >&5
47172 echo "${ECHO_T}Sun cc" >&6
47173 elif test "x$SGICC" = "xyes"; then
47176 echo "$as_me:$LINENO: result: SGI cc" >&5
47177 echo "${ECHO_T}SGI cc" >&6
47178 elif test "x$HPCC" = "xyes"; then
47181 echo "$as_me:$LINENO: result: HP cc" >&5
47182 echo "${ECHO_T}HP cc" >&6
47183 elif test "x$COMPAQCC" = "xyes"; then
47186 echo "$as_me:$LINENO: result: Compaq cc" >&5
47187 echo "${ECHO_T}Compaq cc" >&6
47190 echo "$as_me:$LINENO: result: none" >&5
47191 echo "${ECHO_T}none" >&6
47194 if test $DEPS_TRACKING = 1 ; then
47200 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47201 # script. It is used to track C/C++ files dependencies in portable way.
47203 # Permission is given to use this file in any way.
47205 DEPSMODE=${DEPSMODE}
47207 DEPSFLAG="${DEPSFLAG}"
47209 mkdir -p ${D}DEPSDIR
47211 if test ${D}DEPSMODE = gcc ; then
47212 ${D}* ${D}{DEPSFLAG}
47214 if test ${D}{status} != 0 ; then
47217 # move created file to the location we want it in:
47218 while test ${D}# -gt 0; do
47232 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47233 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47234 if test -f ${D}depfile ; then
47235 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47238 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47239 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47240 if test ! -f ${D}depfile ; then
47241 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47242 depfile="${D}objfile.d"
47244 if test -f ${D}depfile ; then
47245 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47250 elif test ${D}DEPSMODE = mwcc ; then
47251 ${D}* || exit ${D}?
47252 # Run mwcc again with -MM and redirect into the dep file we want
47253 # NOTE: We can't use shift here because we need ${D}* to be valid
47255 for arg in ${D}* ; do
47256 if test "${D}prevarg" = "-o"; then
47269 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47271 elif test ${D}DEPSMODE = unixcc; then
47272 ${D}* || exit ${D}?
47273 # Run compiler again with deps flag and redirect into the dep file.
47274 # It doesn't work if the '-o FILE' option is used, but without it the
47275 # dependency file will contain the wrong name for the object. So it is
47276 # removed from the command line, and the dep file is fixed with sed.
47278 while test ${D}# -gt 0; do
47285 eval arg${D}#=\\${D}1
47286 cmd="${D}cmd \\${D}arg${D}#"
47291 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47306 case ${BAKEFILE_HOST} in
47307 *-*-cygwin* | *-*-mingw32* )
47308 if test -n "$ac_tool_prefix"; then
47309 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47310 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47311 echo "$as_me:$LINENO: checking for $ac_word" >&5
47312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47313 if test "${ac_cv_prog_WINDRES+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 if test -n "$WINDRES"; then
47317 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47320 for as_dir
in $PATH
47323 test -z "$as_dir" && as_dir
=.
47324 for ac_exec_ext
in '' $ac_executable_extensions; do
47325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47326 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47335 WINDRES
=$ac_cv_prog_WINDRES
47336 if test -n "$WINDRES"; then
47337 echo "$as_me:$LINENO: result: $WINDRES" >&5
47338 echo "${ECHO_T}$WINDRES" >&6
47340 echo "$as_me:$LINENO: result: no" >&5
47341 echo "${ECHO_T}no" >&6
47345 if test -z "$ac_cv_prog_WINDRES"; then
47346 ac_ct_WINDRES
=$WINDRES
47347 # Extract the first word of "windres", so it can be a program name with args.
47348 set dummy windres
; ac_word
=$2
47349 echo "$as_me:$LINENO: checking for $ac_word" >&5
47350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47351 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47352 echo $ECHO_N "(cached) $ECHO_C" >&6
47354 if test -n "$ac_ct_WINDRES"; then
47355 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47358 for as_dir
in $PATH
47361 test -z "$as_dir" && as_dir
=.
47362 for ac_exec_ext
in '' $ac_executable_extensions; do
47363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47364 ac_cv_prog_ac_ct_WINDRES
="windres"
47365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47373 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47374 if test -n "$ac_ct_WINDRES"; then
47375 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47376 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47378 echo "$as_me:$LINENO: result: no" >&5
47379 echo "${ECHO_T}no" >&6
47382 WINDRES
=$ac_ct_WINDRES
47384 WINDRES
="$ac_cv_prog_WINDRES"
47389 *-*-darwin* | powerpc
-apple-macos* )
47390 # Extract the first word of "Rez", so it can be a program name with args.
47391 set dummy Rez
; ac_word
=$2
47392 echo "$as_me:$LINENO: checking for $ac_word" >&5
47393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47394 if test "${ac_cv_prog_REZ+set}" = set; then
47395 echo $ECHO_N "(cached) $ECHO_C" >&6
47397 if test -n "$REZ"; then
47398 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47401 for as_dir
in $PATH
47404 test -z "$as_dir" && as_dir
=.
47405 for ac_exec_ext
in '' $ac_executable_extensions; do
47406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47407 ac_cv_prog_REZ
="Rez"
47408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47414 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47417 REZ
=$ac_cv_prog_REZ
47418 if test -n "$REZ"; then
47419 echo "$as_me:$LINENO: result: $REZ" >&5
47420 echo "${ECHO_T}$REZ" >&6
47422 echo "$as_me:$LINENO: result: no" >&5
47423 echo "${ECHO_T}no" >&6
47426 # Extract the first word of "SetFile", so it can be a program name with args.
47427 set dummy SetFile
; ac_word
=$2
47428 echo "$as_me:$LINENO: checking for $ac_word" >&5
47429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47430 if test "${ac_cv_prog_SETFILE+set}" = set; then
47431 echo $ECHO_N "(cached) $ECHO_C" >&6
47433 if test -n "$SETFILE"; then
47434 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47437 for as_dir
in $PATH
47440 test -z "$as_dir" && as_dir
=.
47441 for ac_exec_ext
in '' $ac_executable_extensions; do
47442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47443 ac_cv_prog_SETFILE
="SetFile"
47444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47450 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47453 SETFILE
=$ac_cv_prog_SETFILE
47454 if test -n "$SETFILE"; then
47455 echo "$as_me:$LINENO: result: $SETFILE" >&5
47456 echo "${ECHO_T}$SETFILE" >&6
47458 echo "$as_me:$LINENO: result: no" >&5
47459 echo "${ECHO_T}no" >&6
47470 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47473 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47477 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47478 if test "${enable_precomp_headers+set}" = set; then
47479 enableval
="$enable_precomp_headers"
47480 bk_use_pch
="$enableval"
47487 case ${BAKEFILE_HOST} in
47493 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47494 if test "x$GCC" = "xyes"; then
47495 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47496 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47497 cat >conftest.
$ac_ext <<_ACEOF
47500 cat confdefs.h
>>conftest.
$ac_ext
47501 cat >>conftest.
$ac_ext <<_ACEOF
47502 /* end confdefs.h. */
47508 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47509 There is no PCH support
47512 There is no PCH support
47514 #if (__GNUC__ == 3) && \
47515 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47516 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47517 ( defined(__INTEL_COMPILER) )
47518 There is no PCH support
47525 rm -f conftest.
$ac_objext
47526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47527 (eval $ac_compile) 2>conftest.er1
47529 grep -v '^ *+' conftest.er1
>conftest.err
47531 cat conftest.err
>&5
47532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47533 (exit $ac_status); } &&
47534 { ac_try
='test -z "$ac_c_werror_flag"
47535 || test ! -s conftest.err'
47536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47537 (eval $ac_try) 2>&5
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); }; } &&
47541 { ac_try
='test -s conftest.$ac_objext'
47542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47543 (eval $ac_try) 2>&5
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); }; }; then
47548 echo "$as_me:$LINENO: result: yes" >&5
47549 echo "${ECHO_T}yes" >&6
47553 echo "$as_me: failed program was:" >&5
47554 sed 's/^/| /' conftest.
$ac_ext >&5
47557 cat >conftest.
$ac_ext <<_ACEOF
47560 cat confdefs.h
>>conftest.
$ac_ext
47561 cat >>conftest.
$ac_ext <<_ACEOF
47562 /* end confdefs.h. */
47568 #if !defined(__INTEL_COMPILER) || \
47569 (__INTEL_COMPILER < 800)
47570 There is no PCH support
47577 rm -f conftest.
$ac_objext
47578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47579 (eval $ac_compile) 2>conftest.er1
47581 grep -v '^ *+' conftest.er1
>conftest.err
47583 cat conftest.err
>&5
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); } &&
47586 { ac_try
='test -z "$ac_c_werror_flag"
47587 || test ! -s conftest.err'
47588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47589 (eval $ac_try) 2>&5
47591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47592 (exit $ac_status); }; } &&
47593 { ac_try
='test -s conftest.$ac_objext'
47594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47595 (eval $ac_try) 2>&5
47597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47598 (exit $ac_status); }; }; then
47600 echo "$as_me:$LINENO: result: yes" >&5
47601 echo "${ECHO_T}yes" >&6
47605 echo "$as_me: failed program was:" >&5
47606 sed 's/^/| /' conftest.
$ac_ext >&5
47609 echo "$as_me:$LINENO: result: no" >&5
47610 echo "${ECHO_T}no" >&6
47613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47617 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47621 cat <<EOF >bk-make-pch
47624 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47625 # script. It is used to generated precompiled headers.
47627 # Permission is given to use this file in any way.
47637 while test ${D}{#} -gt 0; do
47641 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47642 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47643 headerfile="${D}{incdir}/${D}{header}"
47646 -use-pch|-use_pch )
47651 if test ${D}add_to_cmdline = 1 ; then
47652 compiler="${D}{compiler} ${D}{1}"
47657 if test "x${D}{headerfile}" = "x" ; then
47658 echo "error: can't find header ${D}{header} in include paths" >&2
47660 if test -f ${D}{outfile} ; then
47661 rm -f ${D}{outfile}
47663 mkdir -p \`dirname ${D}{outfile}\`
47665 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47667 if test "x${GCC_PCH}" = "x1" ; then
47668 # can do this because gcc is >= 3.4:
47669 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47670 elif test "x${ICC_PCH}" = "x1" ; then
47671 filename=pch_gen-${D}${D}
47672 file=${D}{filename}.c
47673 dfile=${D}{filename}.d
47674 cat > ${D}file <<EOT
47675 #include "${D}header"
47677 # using -MF icc complains about differing command lines in creation/use
47678 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47679 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47680 rm -f ${D}file ${D}dfile ${D}{filename}.o
47686 chmod +x bk
-make-pch
47694 COND_BUILD_DEBUG
="#"
47695 if test "x$BUILD" = "xdebug" ; then
47696 COND_BUILD_DEBUG
=""
47699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47700 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47701 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47704 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47705 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47706 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47709 COND_BUILD_DEBUG_UNICODE_0
="#"
47710 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47711 COND_BUILD_DEBUG_UNICODE_0
=""
47714 COND_BUILD_DEBUG_UNICODE_1
="#"
47715 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47716 COND_BUILD_DEBUG_UNICODE_1
=""
47719 COND_BUILD_RELEASE
="#"
47720 if test "x$BUILD" = "xrelease" ; then
47721 COND_BUILD_RELEASE
=""
47724 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47725 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47726 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47729 COND_BUILD_RELEASE_UNICODE_0
="#"
47730 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47731 COND_BUILD_RELEASE_UNICODE_0
=""
47734 COND_BUILD_RELEASE_UNICODE_1
="#"
47735 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47736 COND_BUILD_RELEASE_UNICODE_1
=""
47739 COND_DEBUG_FLAG_1
="#"
47740 if test "x$DEBUG_FLAG" = "x1" ; then
47741 COND_DEBUG_FLAG_1
=""
47744 COND_DEBUG_INFO_0
="#"
47745 if test "x$DEBUG_INFO" = "x0" ; then
47746 COND_DEBUG_INFO_0
=""
47749 COND_DEBUG_INFO_1
="#"
47750 if test "x$DEBUG_INFO" = "x1" ; then
47751 COND_DEBUG_INFO_1
=""
47754 COND_DEPS_TRACKING_0
="#"
47755 if test "x$DEPS_TRACKING" = "x0" ; then
47756 COND_DEPS_TRACKING_0
=""
47759 COND_DEPS_TRACKING_1
="#"
47760 if test "x$DEPS_TRACKING" = "x1" ; then
47761 COND_DEPS_TRACKING_1
=""
47765 if test "x$GCC_PCH" = "x1" ; then
47770 if test "x$ICC_PCH" = "x1" ; then
47774 COND_MONOLITHIC_0
="#"
47775 if test "x$MONOLITHIC" = "x0" ; then
47776 COND_MONOLITHIC_0
=""
47779 COND_MONOLITHIC_0_SHARED_0
="#"
47780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47781 COND_MONOLITHIC_0_SHARED_0
=""
47784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47791 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47809 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47811 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47814 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47816 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47819 COND_MONOLITHIC_0_SHARED_1
="#"
47820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47821 COND_MONOLITHIC_0_SHARED_1
=""
47824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47849 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47851 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47854 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47856 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47859 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47860 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47861 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47864 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47865 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47866 COND_MONOLITHIC_0_USE_ODBC_1
=""
47869 COND_MONOLITHIC_1
="#"
47870 if test "x$MONOLITHIC" = "x1" ; then
47871 COND_MONOLITHIC_1
=""
47874 COND_MONOLITHIC_1_SHARED_0
="#"
47875 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47876 COND_MONOLITHIC_1_SHARED_0
=""
47879 COND_MONOLITHIC_1_SHARED_1
="#"
47880 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47881 COND_MONOLITHIC_1_SHARED_1
=""
47884 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47885 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47886 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47889 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47890 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47891 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47894 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47895 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47896 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47899 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47900 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47901 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47904 COND_PLATFORM_MACOSX_1
="#"
47905 if test "x$PLATFORM_MACOSX" = "x1" ; then
47906 COND_PLATFORM_MACOSX_1
=""
47909 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47910 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47911 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47914 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47915 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47916 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47919 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47920 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47921 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47924 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47925 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47926 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47929 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47930 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47931 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47934 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47935 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47936 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47939 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47941 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47944 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47946 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47949 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47951 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47954 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47956 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47959 COND_PLATFORM_MACOS_1
="#"
47960 if test "x$PLATFORM_MACOS" = "x1" ; then
47961 COND_PLATFORM_MACOS_1
=""
47964 COND_PLATFORM_MAC_1
="#"
47965 if test "x$PLATFORM_MAC" = "x1" ; then
47966 COND_PLATFORM_MAC_1
=""
47969 COND_PLATFORM_MSDOS_0
="#"
47970 if test "x$PLATFORM_MSDOS" = "x0" ; then
47971 COND_PLATFORM_MSDOS_0
=""
47974 COND_PLATFORM_MSDOS_1
="#"
47975 if test "x$PLATFORM_MSDOS" = "x1" ; then
47976 COND_PLATFORM_MSDOS_1
=""
47979 COND_PLATFORM_OS2_1
="#"
47980 if test "x$PLATFORM_OS2" = "x1" ; then
47981 COND_PLATFORM_OS2_1
=""
47984 COND_PLATFORM_UNIX_0
="#"
47985 if test "x$PLATFORM_UNIX" = "x0" ; then
47986 COND_PLATFORM_UNIX_0
=""
47989 COND_PLATFORM_UNIX_1
="#"
47990 if test "x$PLATFORM_UNIX" = "x1" ; then
47991 COND_PLATFORM_UNIX_1
=""
47994 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47995 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47996 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47999 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48000 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48001 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48004 COND_PLATFORM_WIN32_0
="#"
48005 if test "x$PLATFORM_WIN32" = "x0" ; then
48006 COND_PLATFORM_WIN32_0
=""
48009 COND_PLATFORM_WIN32_1
="#"
48010 if test "x$PLATFORM_WIN32" = "x1" ; then
48011 COND_PLATFORM_WIN32_1
=""
48015 if test "x$SHARED" = "x0" ; then
48019 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48020 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48021 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48024 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48025 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48026 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48029 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48030 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48031 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48034 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48035 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48036 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48039 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48040 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48041 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48045 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48046 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48049 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48050 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48051 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48054 COND_SHARED_0_USE_XRC_1
="#"
48055 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48056 COND_SHARED_0_USE_XRC_1
=""
48059 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48060 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48061 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48064 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48065 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48066 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48069 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48070 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48071 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48074 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48075 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48076 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48080 if test "x$SHARED" = "x1" ; then
48084 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48085 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48089 COND_SHARED_1_USE_XRC_1
="#"
48090 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48091 COND_SHARED_1_USE_XRC_1
=""
48095 if test "x$TOOLKIT" = "x" ; then
48099 COND_TOOLKIT_COCOA
="#"
48100 if test "x$TOOLKIT" = "xCOCOA" ; then
48101 COND_TOOLKIT_COCOA
=""
48104 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48105 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48106 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48109 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48110 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48111 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48114 COND_TOOLKIT_GTK
="#"
48115 if test "x$TOOLKIT" = "xGTK" ; then
48116 COND_TOOLKIT_GTK
=""
48119 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48120 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48121 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48124 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48125 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48130 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48135 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48139 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48140 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48141 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48144 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48145 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48146 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48149 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48150 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48151 COND_TOOLKIT_GTK_USE_GUI_1
=""
48154 COND_TOOLKIT_MAC
="#"
48155 if test "x$TOOLKIT" = "xMAC" ; then
48156 COND_TOOLKIT_MAC
=""
48159 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48160 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48161 COND_TOOLKIT_MAC_USE_GUI_1
=""
48164 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48165 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48166 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48169 COND_TOOLKIT_MGL
="#"
48170 if test "x$TOOLKIT" = "xMGL" ; then
48171 COND_TOOLKIT_MGL
=""
48174 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48175 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48176 COND_TOOLKIT_MGL_USE_GUI_1
=""
48179 COND_TOOLKIT_MOTIF
="#"
48180 if test "x$TOOLKIT" = "xMOTIF" ; then
48181 COND_TOOLKIT_MOTIF
=""
48184 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48186 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48189 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48190 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48191 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48194 COND_TOOLKIT_MSW
="#"
48195 if test "x$TOOLKIT" = "xMSW" ; then
48196 COND_TOOLKIT_MSW
=""
48199 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48201 COND_TOOLKIT_MSW_USE_GUI_1
=""
48204 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48205 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48206 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48209 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48210 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48211 COND_TOOLKIT_MSW_WXUNIV_0
=""
48214 COND_TOOLKIT_PM
="#"
48215 if test "x$TOOLKIT" = "xPM" ; then
48219 COND_TOOLKIT_PM_USE_GUI_1
="#"
48220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48221 COND_TOOLKIT_PM_USE_GUI_1
=""
48224 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48225 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48226 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48229 COND_TOOLKIT_WINCE
="#"
48230 if test "x$TOOLKIT" = "xWINCE" ; then
48231 COND_TOOLKIT_WINCE
=""
48234 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48236 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48239 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48240 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48241 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48244 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48245 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48246 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48249 COND_TOOLKIT_X11
="#"
48250 if test "x$TOOLKIT" = "xX11" ; then
48251 COND_TOOLKIT_X11
=""
48254 COND_TOOLKIT_X11_USE_GUI_1
="#"
48255 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48256 COND_TOOLKIT_X11_USE_GUI_1
=""
48260 if test "x$UNICODE" = "x1" ; then
48264 COND_USE_EXCEPTIONS_0
="#"
48265 if test "x$USE_EXCEPTIONS" = "x0" ; then
48266 COND_USE_EXCEPTIONS_0
=""
48269 COND_USE_EXCEPTIONS_1
="#"
48270 if test "x$USE_EXCEPTIONS" = "x1" ; then
48271 COND_USE_EXCEPTIONS_1
=""
48275 if test "x$USE_GUI" = "x0" ; then
48280 if test "x$USE_GUI" = "x1" ; then
48284 COND_USE_GUI_1_WXUNIV_0
="#"
48285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48286 COND_USE_GUI_1_WXUNIV_0
=""
48289 COND_USE_GUI_1_WXUNIV_1
="#"
48290 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48291 COND_USE_GUI_1_WXUNIV_1
=""
48294 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48296 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48299 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48301 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48304 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48305 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48306 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48309 COND_USE_ODBC_1
="#"
48310 if test "x$USE_ODBC" = "x1" ; then
48314 COND_USE_OPENGL_1
="#"
48315 if test "x$USE_OPENGL" = "x1" ; then
48316 COND_USE_OPENGL_1
=""
48320 if test "x$USE_PCH" = "x1" ; then
48324 COND_USE_PLUGINS_0
="#"
48325 if test "x$USE_PLUGINS" = "x0" ; then
48326 COND_USE_PLUGINS_0
=""
48329 COND_USE_RTTI_0
="#"
48330 if test "x$USE_RTTI" = "x0" ; then
48334 COND_USE_RTTI_1
="#"
48335 if test "x$USE_RTTI" = "x1" ; then
48339 COND_USE_SOSYMLINKS_1
="#"
48340 if test "x$USE_SOSYMLINKS" = "x1" ; then
48341 COND_USE_SOSYMLINKS_1
=""
48344 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48345 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48346 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48349 COND_USE_SOVERLINUX_1
="#"
48350 if test "x$USE_SOVERLINUX" = "x1" ; then
48351 COND_USE_SOVERLINUX_1
=""
48354 COND_USE_SOVERSION_0
="#"
48355 if test "x$USE_SOVERSION" = "x0" ; then
48356 COND_USE_SOVERSION_0
=""
48359 COND_USE_SOVERSOLARIS_1
="#"
48360 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48361 COND_USE_SOVERSOLARIS_1
=""
48364 COND_USE_THREADS_0
="#"
48365 if test "x$USE_THREADS" = "x0" ; then
48366 COND_USE_THREADS_0
=""
48369 COND_USE_THREADS_1
="#"
48370 if test "x$USE_THREADS" = "x1" ; then
48371 COND_USE_THREADS_1
=""
48375 if test "x$USE_XRC" = "x1" ; then
48379 COND_WINDOWS_IMPLIB_1
="#"
48380 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48381 COND_WINDOWS_IMPLIB_1
=""
48384 COND_WITH_PLUGIN_SDL_1
="#"
48385 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48386 COND_WITH_PLUGIN_SDL_1
=""
48390 if test "x$WXUNIV" = "x0" ; then
48395 if test "x$WXUNIV" = "x1" ; then
48399 COND_WXUSE_EXPAT_BUILTIN
="#"
48400 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48401 COND_WXUSE_EXPAT_BUILTIN
=""
48404 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48405 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48406 COND_WXUSE_LIBJPEG_BUILTIN
=""
48409 COND_WXUSE_LIBPNG_BUILTIN
="#"
48410 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48411 COND_WXUSE_LIBPNG_BUILTIN
=""
48414 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48415 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48416 COND_WXUSE_LIBTIFF_BUILTIN
=""
48419 COND_WXUSE_ODBC_BUILTIN
="#"
48420 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48421 COND_WXUSE_ODBC_BUILTIN
=""
48424 COND_WXUSE_REGEX_BUILTIN
="#"
48425 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48426 COND_WXUSE_REGEX_BUILTIN
=""
48429 COND_WXUSE_ZLIB_BUILTIN
="#"
48430 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48431 COND_WXUSE_ZLIB_BUILTIN
=""
48436 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48437 { { 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
48438 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;}
48439 { (exit 1); exit 1; }; }
48442 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48443 { { 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
48444 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;}
48445 { (exit 1); exit 1; }; }
48450 if test "$wxUSE_MAC" = 1 ; then
48451 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48452 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48458 if test "$wxUSE_SHARED" = "yes"; then
48460 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48461 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48464 *-pc-os2_emx | *-pc-os2-emx )
48465 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48466 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48467 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48468 cp -p ${srcdir}/src
/os
2/dllar.sh .
48473 EXE_LINKER
="$CXX -o"
48476 if test "$wxUSE_OMF" = "yes"; then
48478 *-pc-os2_emx | *-pc-os2-emx )
48479 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48480 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48481 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48486 if test $GCC_PCH = 1 ; then
48487 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48490 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48492 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48554 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48555 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48556 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48557 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48560 cat >conftest.
make <<\_ACEOF
48562 @
echo 'ac_maketemp="$(MAKE)"'
48564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48565 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48566 if test -n "$ac_maketemp"; then
48567 eval ac_cv_prog_make_
${ac_make}_set
=yes
48569 eval ac_cv_prog_make_
${ac_make}_set
=no
48571 rm -f conftest.
make
48573 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48574 echo "$as_me:$LINENO: result: yes" >&5
48575 echo "${ECHO_T}yes" >&6
48578 echo "$as_me:$LINENO: result: no" >&5
48579 echo "${ECHO_T}no" >&6
48580 SET_MAKE
="MAKE=${MAKE-make}"
48585 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48588 if test "$USE_WIN32" = 1; then
48589 ac_config_commands
="$ac_config_commands
48595 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48598 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48601 ac_config_files
="$ac_config_files version-script Makefile"
48604 ac_config_commands
="$ac_config_commands wx-config"
48608 if test "$wxWITH_SUBDIRS" != "no"; then
48609 if test "$wxUSE_GUI" = "yes"; then
48610 SUBDIRS
="samples demos utils contrib"
48611 else SUBDIRS
="samples utils"
48616 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48617 if test "${with_cppunit_prefix+set}" = set; then
48618 withval
="$with_cppunit_prefix"
48619 cppunit_config_prefix
="$withval"
48621 cppunit_config_prefix
=""
48624 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48625 if test "${with_cppunit_exec_prefix+set}" = set; then
48626 withval
="$with_cppunit_exec_prefix"
48627 cppunit_config_exec_prefix
="$withval"
48629 cppunit_config_exec_prefix
=""
48632 if test x
$cppunit_config_exec_prefix != x
; then
48633 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48634 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48635 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48638 if test x
$cppunit_config_prefix != x
; then
48639 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48640 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48641 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48645 # Extract the first word of "cppunit-config", so it can be a program name with args.
48646 set dummy cppunit
-config; ac_word
=$2
48647 echo "$as_me:$LINENO: checking for $ac_word" >&5
48648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48649 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48650 echo $ECHO_N "(cached) $ECHO_C" >&6
48652 case $CPPUNIT_CONFIG in
48654 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48658 for as_dir
in $PATH
48661 test -z "$as_dir" && as_dir
=.
48662 for ac_exec_ext
in '' $ac_executable_extensions; do
48663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48664 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48671 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48675 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48677 if test -n "$CPPUNIT_CONFIG"; then
48678 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48679 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48681 echo "$as_me:$LINENO: result: no" >&5
48682 echo "${ECHO_T}no" >&6
48685 cppunit_version_min
=1.8.0
48687 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48688 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48690 if test "$CPPUNIT_CONFIG" = "no" ; then
48693 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48694 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48695 cppunit_version
=`$CPPUNIT_CONFIG --version`
48697 cppunit_major_version
=`echo $cppunit_version | \
48698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48699 cppunit_minor_version
=`echo $cppunit_version | \
48700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48701 cppunit_micro_version
=`echo $cppunit_version | \
48702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48704 cppunit_major_min
=`echo $cppunit_version_min | \
48705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48706 cppunit_minor_min
=`echo $cppunit_version_min | \
48707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48708 cppunit_micro_min
=`echo $cppunit_version_min | \
48709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48711 cppunit_version_proper
=`expr \
48712 $cppunit_major_version \> $cppunit_major_min \| \
48713 $cppunit_major_version \= $cppunit_major_min \& \
48714 $cppunit_minor_version \> $cppunit_minor_min \| \
48715 $cppunit_major_version \= $cppunit_major_min \& \
48716 $cppunit_minor_version \= $cppunit_minor_min \& \
48717 $cppunit_micro_version \>= $cppunit_micro_min `
48719 if test "$cppunit_version_proper" = "1" ; then
48720 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48721 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48723 echo "$as_me:$LINENO: result: no" >&5
48724 echo "${ECHO_T}no" >&6
48729 if test "x$no_cppunit" = x
; then
48730 SUBDIRS
="$SUBDIRS tests"
48741 for subdir
in `echo $SUBDIRS`; do
48742 if test -d ${srcdir}/${subdir} ; then
48743 if test "$wxUSE_GUI" = "yes"; then
48744 if test ${subdir} = "samples"; then
48745 makefiles
="samples/Makefile.in $makefiles"
48746 for sample
in `echo $SAMPLES_SUBDIRS`; do
48747 if test -d $srcdir/samples
/$sample; then
48748 makefiles
="samples/$sample/Makefile.in $makefiles"
48752 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48753 eval "disabled=\$$disabled_var"
48754 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48755 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48757 else if test ${subdir} = "samples"; then
48758 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48759 elif test ${subdir} = "utils"; then
48761 for util
in HelpGen tex2rtf
; do
48762 if test -d $srcdir/utils
/$util ; then
48763 makefiles
="utils/$util/Makefile.in \
48764 utils/$util/src/Makefile.in \
48768 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48772 for mkin
in $makefiles ; do
48773 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48774 ac_config_files
="$ac_config_files $mk"
48780 cat >confcache
<<\_ACEOF
48781 # This file is a shell script that caches the results of configure
48782 # tests run on this system so they can be shared between configure
48783 # scripts and configure runs, see configure's option --config-cache.
48784 # It is not useful on other systems. If it contains results you don't
48785 # want to keep, you may remove or edit it.
48787 # config.status only pays attention to the cache file if you give it
48788 # the --recheck option to rerun configure.
48790 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48791 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48792 # following values.
48796 # The following way of writing the cache mishandles newlines in values,
48797 # but we know of no workaround that is simple, portable, and efficient.
48798 # So, don't put newlines in cache variables' values.
48799 # Ultrix sh set writes to stderr and can't be redirected directly,
48800 # and sets the high bit in the cache file unless we assign to the vars.
48803 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48805 # `set' does not quote correctly, so add quotes (double-quote
48806 # substitution turns \\\\ into \\, and sed turns \\ into \).
48809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48812 # `set' quotes correctly as required by POSIX, so do not add quotes.
48814 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48821 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48823 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48825 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48826 if test -w $cache_file; then
48827 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48828 cat confcache
>$cache_file
48830 echo "not updating unwritable cache $cache_file"
48835 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48836 # Let make expand exec_prefix.
48837 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48839 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48840 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48841 # trailing colons and then remove the whole line if VPATH becomes empty
48842 # (actually we leave an empty line to preserve line numbers).
48843 if test "x$srcdir" = x.
; then
48844 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48845 s/:*\$(srcdir):*/:/;
48846 s/:*\${srcdir}:*/:/;
48848 s/^\([^=]*=[ ]*\):*/\1/;
48854 DEFS
=-DHAVE_CONFIG_H
48858 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48859 # 1. Remove the extension, and $U if already installed.
48860 ac_i
=`echo "$ac_i" |
48861 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48863 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48864 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48866 LIBOBJS
=$ac_libobjs
48868 LTLIBOBJS
=$ac_ltlibobjs
48872 : ${CONFIG_STATUS=./config.status}
48873 ac_clean_files_save
=$ac_clean_files
48874 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48875 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48876 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48877 cat >$CONFIG_STATUS <<_ACEOF
48879 # Generated by $as_me.
48880 # Run this file to recreate the current configuration.
48881 # Compiler output produced by configure, useful for debugging
48882 # configure, is in config.log if it exists.
48885 ac_cs_recheck=false
48887 SHELL=\${CONFIG_SHELL-$SHELL}
48890 cat >>$CONFIG_STATUS <<\_ACEOF
48891 ## --------------------- ##
48892 ## M4sh Initialization. ##
48893 ## --------------------- ##
48895 # Be Bourne compatible
48896 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48899 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48900 # is contrary to our usage. Disable this feature.
48901 alias -g '${1+"$@"}'='"$@"'
48902 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48905 DUALCASE
=1; export DUALCASE
# for MKS sh
48907 # Support unset when possible.
48908 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48915 # Work around bugs in pre-3.0 UWIN ksh.
48916 $as_unset ENV MAIL MAILPATH
48923 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48924 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48925 LC_TELEPHONE LC_TIME
48927 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48928 eval $as_var=C
; export $as_var
48934 # Required to use basename.
48935 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48941 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48942 as_basename
=basename
48948 # Name of the executable.
48949 as_me
=`$as_basename "$0" ||
48950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48951 X"$0" : 'X\(//\)$' \| \
48952 X"$0" : 'X\(/\)$' \| \
48953 . : '\(.\)' 2>/dev/null ||
48955 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48956 /^X\/\(\/\/\)$/{ s//\1/; q; }
48957 /^X\/\(\/\).*/{ s//\1/; q; }
48961 # PATH needs CR, and LINENO needs CR and PATH.
48962 # Avoid depending upon Character Ranges.
48963 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48964 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48965 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48966 as_cr_digits
='0123456789'
48967 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48969 # The user is always right.
48970 if test "${PATH_SEPARATOR+set}" != set; then
48971 echo "#! /bin/sh" >conf$$.sh
48972 echo "exit 0" >>conf$$.sh
48974 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48983 as_lineno_1
=$LINENO
48984 as_lineno_2
=$LINENO
48985 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48986 test "x$as_lineno_1" != "x$as_lineno_2" &&
48987 test "x$as_lineno_3" = "x$as_lineno_2" || {
48988 # Find who we are. Look in the path if we contain no path at all
48991 *[\\/]* ) as_myself
=$0 ;;
48992 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48993 for as_dir
in $PATH
48996 test -z "$as_dir" && as_dir
=.
48997 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49002 # We did not find ourselves, most probably we were run as `sh COMMAND'
49003 # in which case we are not to be found in the path.
49004 if test "x$as_myself" = x
; then
49007 if test ! -f "$as_myself"; then
49008 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49009 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49010 { (exit 1); exit 1; }; }
49012 case $CONFIG_SHELL in
49014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49015 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49018 test -z "$as_dir" && as_dir
=.
49019 for as_base
in sh bash ksh sh5
; do
49022 if ("$as_dir/$as_base" -c '
49023 as_lineno_1=$LINENO
49024 as_lineno_2=$LINENO
49025 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49026 test "x$as_lineno_1" != "x$as_lineno_2" &&
49027 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49028 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49029 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49030 CONFIG_SHELL
=$as_dir/$as_base
49031 export CONFIG_SHELL
49032 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49040 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49041 # uniformly replaced by the line number. The first 'sed' inserts a
49042 # line-number line before each line; the second 'sed' does the real
49043 # work. The second script uses 'N' to pair each line-number line
49044 # with the numbered line, and appends trailing '-' during
49045 # substitution so that $LINENO is not a special case at line end.
49046 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49047 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49048 sed '=' <$as_myself |
49053 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49056 s,^['$as_cr_digits']*\n,,
49057 ' >$as_me.lineno
&&
49058 chmod +x
$as_me.lineno
||
49059 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49060 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49061 { (exit 1); exit 1; }; }
49063 # Don't try to exec as it changes $[0], causing all sort of problems
49064 # (the dirname of $[0] is not the place where we might find the
49065 # original and so on. Autoconf is especially sensible to this).
49067 # Exit status is that of the last command.
49072 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49073 *c
*,-n*) ECHO_N
= ECHO_C
='
49075 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49076 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49079 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49085 rm -f conf$$ conf$$.exe conf$$.
file
49087 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49088 # We could just check for DJGPP; but this test a) works b) is more generic
49089 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49090 if test -f conf$$.exe
; then
49091 # Don't use ln at all; we don't have any links
49096 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49101 rm -f conf$$ conf$$.exe conf$$.
file
49103 if mkdir -p .
2>/dev
/null
; then
49106 test -d .
/-p && rmdir .
/-p
49110 as_executable_p
="test -f"
49112 # Sed expression to map a string onto a valid CPP name.
49113 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49115 # Sed expression to map a string onto a valid variable name.
49116 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49120 # We need space, tab and new line, in precisely that order.
49130 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49131 # report actual input values of CONFIG_FILES etc. instead of their
49132 # values after options handling. Logging --version etc. is OK.
49136 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49137 ## Running $as_me. ##
49142 This file was extended by wxWidgets $as_me 2.7.0, which was
49143 generated by GNU Autoconf 2.59. Invocation command line was
49145 CONFIG_FILES = $CONFIG_FILES
49146 CONFIG_HEADERS = $CONFIG_HEADERS
49147 CONFIG_LINKS = $CONFIG_LINKS
49148 CONFIG_COMMANDS = $CONFIG_COMMANDS
49152 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49156 # Files that config.status was made for.
49157 if test -n "$ac_config_files"; then
49158 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49161 if test -n "$ac_config_headers"; then
49162 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49165 if test -n "$ac_config_links"; then
49166 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49169 if test -n "$ac_config_commands"; then
49170 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49173 cat >>$CONFIG_STATUS <<\_ACEOF
49176 \`$as_me' instantiates files from templates according to the
49177 current configuration.
49179 Usage: $0 [OPTIONS] [FILE]...
49181 -h, --help print this help, then exit
49182 -V, --version print version number, then exit
49183 -q, --quiet do not print progress messages
49184 -d, --debug don't remove temporary files
49185 --recheck update $as_me by reconfiguring in the same conditions
49186 --file=FILE[:TEMPLATE]
49187 instantiate the configuration file FILE
49188 --header=FILE[:TEMPLATE]
49189 instantiate the configuration header FILE
49191 Configuration files:
49194 Configuration headers:
49197 Configuration commands:
49200 Report bugs to <bug-autoconf@gnu.org>."
49203 cat >>$CONFIG_STATUS <<_ACEOF
49205 wxWidgets config.status 2.7.0
49206 configured by $0, generated by GNU Autoconf 2.59,
49207 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49209 Copyright (C) 2003 Free Software Foundation, Inc.
49210 This config.status script is free software; the Free Software Foundation
49211 gives unlimited permission to copy, distribute and modify it."
49216 cat >>$CONFIG_STATUS <<\_ACEOF
49217 # If no file are specified by the user, then we need to provide default
49218 # value. By we need to know if files were specified by the user.
49224 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49225 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49233 *) # This is not an option, so the user has probably given explicit
49236 ac_need_defaults
=false
;;
49240 # Handling of the options.
49242 cat >>$CONFIG_STATUS <<\_ACEOF
49243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49245 --version | --vers* | -V )
49246 echo "$ac_cs_version"; exit 0 ;;
49248 # Conflict between --help and --header
49249 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49250 Try \`$0 --help' for more information." >&5
49251 echo "$as_me: error: ambiguous option: $1
49252 Try \`$0 --help' for more information." >&2;}
49253 { (exit 1); exit 1; }; };;
49254 --help | --hel | -h )
49255 echo "$ac_cs_usage"; exit 0 ;;
49256 --debug | --d* | -d )
49258 --file | --fil | --fi | --f )
49260 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49261 ac_need_defaults
=false
;;
49262 --header | --heade | --head | --hea )
49264 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49265 ac_need_defaults
=false
;;
49266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49267 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49270 # This is an error.
49271 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49272 Try \`$0 --help' for more information." >&5
49273 echo "$as_me: error: unrecognized option: $1
49274 Try \`$0 --help' for more information." >&2;}
49275 { (exit 1); exit 1; }; } ;;
49277 *) ac_config_targets
="$ac_config_targets $1" ;;
49283 ac_configure_extra_args
=
49285 if $ac_cs_silent; then
49287 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49291 cat >>$CONFIG_STATUS <<_ACEOF
49292 if \$ac_cs_recheck; then
49293 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49294 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49299 cat >>$CONFIG_STATUS <<_ACEOF
49301 # INIT-COMMANDS section.
49306 infile="$srcdir/include/wx/msw/genrcdefs.h"
49307 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49310 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49311 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49312 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49320 cat >>$CONFIG_STATUS <<\_ACEOF
49321 for ac_config_target
in $ac_config_targets
49323 case "$ac_config_target" in
49324 # Handling of arguments.
49325 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49326 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49327 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49328 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49329 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49330 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49331 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49332 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49333 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49334 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49335 { (exit 1); exit 1; }; };;
49339 # If the user did not use the arguments to specify the items to instantiate,
49340 # then the envvar interface is used. Set only those that are not.
49341 # We use the long form for the default assignment because of an extremely
49342 # bizarre bug on SunOS 4.1.3.
49343 if $ac_need_defaults; then
49344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49345 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49349 # Have a temporary directory for convenience. Make it in the build tree
49350 # simply because there is no reason to put it here, and in addition,
49351 # creating and moving files from /tmp can sometimes cause problems.
49352 # Create a temporary directory, and hook for its removal unless debugging.
49355 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49356 trap '{ (exit 1); exit 1; }' 1 2 13 15
49359 # Create a (secure) tmp directory for tmp files.
49362 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49363 test -n "$tmp" && test -d "$tmp"
49366 tmp
=.
/confstat$$
-$RANDOM
49367 (umask 077 && mkdir $tmp)
49370 echo "$me: cannot create a temporary directory in ." >&2
49371 { (exit 1); exit 1; }
49376 cat >>$CONFIG_STATUS <<_ACEOF
49379 # CONFIG_FILES section.
49382 # No need to generate the scripts if there are no CONFIG_FILES.
49383 # This happens for instance when ./config.status config.h
49384 if test -n "\$CONFIG_FILES"; then
49385 # Protect against being on the right side of a sed subst in config.status.
49386 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49387 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49388 s,@SHELL@,$SHELL,;t t
49389 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49390 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49391 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49392 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49393 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49394 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49395 s,@exec_prefix@,$exec_prefix,;t t
49396 s,@prefix@,$prefix,;t t
49397 s,@program_transform_name@,$program_transform_name,;t t
49398 s,@bindir@,$bindir,;t t
49399 s,@sbindir@,$sbindir,;t t
49400 s,@libexecdir@,$libexecdir,;t t
49401 s,@datadir@,$datadir,;t t
49402 s,@sysconfdir@,$sysconfdir,;t t
49403 s,@sharedstatedir@,$sharedstatedir,;t t
49404 s,@localstatedir@,$localstatedir,;t t
49405 s,@libdir@,$libdir,;t t
49406 s,@includedir@,$includedir,;t t
49407 s,@oldincludedir@,$oldincludedir,;t t
49408 s,@infodir@,$infodir,;t t
49409 s,@mandir@,$mandir,;t t
49410 s,@build_alias@,$build_alias,;t t
49411 s,@host_alias@,$host_alias,;t t
49412 s,@target_alias@,$target_alias,;t t
49413 s,@DEFS@,$DEFS,;t t
49414 s,@ECHO_C@,$ECHO_C,;t t
49415 s,@ECHO_N@,$ECHO_N,;t t
49416 s,@ECHO_T@,$ECHO_T,;t t
49417 s,@LIBS@,$LIBS,;t t
49418 s,@build@,$build,;t t
49419 s,@build_cpu@,$build_cpu,;t t
49420 s,@build_vendor@,$build_vendor,;t t
49421 s,@build_os@,$build_os,;t t
49422 s,@host@,$host,;t t
49423 s,@host_cpu@,$host_cpu,;t t
49424 s,@host_vendor@,$host_vendor,;t t
49425 s,@host_os@,$host_os,;t t
49426 s,@target@,$target,;t t
49427 s,@target_cpu@,$target_cpu,;t t
49428 s,@target_vendor@,$target_vendor,;t t
49429 s,@target_os@,$target_os,;t t
49431 s,@CFLAGS@,$CFLAGS,;t t
49432 s,@LDFLAGS@,$LDFLAGS,;t t
49433 s,@CPPFLAGS@,$CPPFLAGS,;t t
49434 s,@ac_ct_CC@,$ac_ct_CC,;t t
49435 s,@EXEEXT@,$EXEEXT,;t t
49436 s,@OBJEXT@,$OBJEXT,;t t
49438 s,@EGREP@,$EGREP,;t t
49440 s,@CXXFLAGS@,$CXXFLAGS,;t t
49441 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49442 s,@RANLIB@,$RANLIB,;t t
49443 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49445 s,@ac_ct_AR@,$ac_ct_AR,;t t
49446 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49447 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49448 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49449 s,@STRIP@,$STRIP,;t t
49450 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49451 s,@WINDRES@,$WINDRES,;t t
49452 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49453 s,@DLLTOOL@,$DLLTOOL,;t t
49454 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49455 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49456 s,@LN_S@,$LN_S,;t t
49457 s,@CXXCPP@,$CXXCPP,;t t
49458 s,@subdirs@,$subdirs,;t t
49459 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49460 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49461 s,@GTK_LIBS@,$GTK_LIBS,;t t
49462 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49463 s,@X_CFLAGS@,$X_CFLAGS,;t t
49464 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49465 s,@X_LIBS@,$X_LIBS,;t t
49466 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49467 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49468 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49469 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49470 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49471 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49472 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49474 s,@DEREZ@,$DEREZ,;t t
49475 s,@SETFILE@,$SETFILE,;t t
49476 s,@LIBICONV@,$LIBICONV,;t t
49477 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49478 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49479 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49480 s,@SDL_LIBS@,$SDL_LIBS,;t t
49481 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49482 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49483 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49484 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49485 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49486 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49487 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49488 s,@GST_LIBS@,$GST_LIBS,;t t
49489 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49490 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49491 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49492 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49493 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49494 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49495 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49496 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49497 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49498 s,@VENDOR@,$VENDOR,;t t
49499 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49500 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49501 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49502 s,@WXUNIV@,$WXUNIV,;t t
49503 s,@MONOLITHIC@,$MONOLITHIC,;t t
49504 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49505 s,@EXTRALIBS@,$EXTRALIBS,;t t
49506 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49507 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49508 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49509 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49510 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49511 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49512 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49513 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49514 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49515 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49516 s,@UNICODE@,$UNICODE,;t t
49517 s,@BUILD@,$BUILD,;t t
49518 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49519 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49520 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49521 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49522 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49523 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49524 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49525 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49526 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49527 s,@SET_MAKE@,$SET_MAKE,;t t
49528 s,@MAKE_SET@,$MAKE_SET,;t t
49530 s,@ac_ct_NM@,$ac_ct_NM,;t t
49531 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49532 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49533 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49534 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49535 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49536 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49537 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49538 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49539 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49540 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49541 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49542 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49543 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49544 s,@LIBPREFIX@,$LIBPREFIX,;t t
49545 s,@LIBEXT@,$LIBEXT,;t t
49546 s,@DLLPREFIX@,$DLLPREFIX,;t t
49547 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49548 s,@dlldir@,$dlldir,;t t
49549 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49550 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49551 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49552 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49553 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49554 s,@PIC_FLAG@,$PIC_FLAG,;t t
49555 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49556 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49557 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49558 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49559 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49560 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49561 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49562 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49563 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49564 s,@GCC_PCH@,$GCC_PCH,;t t
49565 s,@ICC_PCH@,$ICC_PCH,;t t
49566 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49567 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49568 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49569 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49570 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49571 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49572 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49573 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49574 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49575 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49576 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49577 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49578 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49579 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49580 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49581 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49582 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49583 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49584 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49585 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
49586 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
49587 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
49588 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
49589 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49590 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49591 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49592 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49593 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
49594 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
49595 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
49596 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
49597 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49598 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49599 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49600 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49601 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49602 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49603 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49604 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49605 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49606 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49607 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49608 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49609 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49610 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49611 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49612 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49613 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49614 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
49615 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49616 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49617 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49618 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49619 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49620 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49621 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49622 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49623 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49624 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49625 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49626 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49627 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49628 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49629 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49630 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49631 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49632 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49633 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49634 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49635 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49636 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49637 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49638 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49639 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49640 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49641 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49642 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49643 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49644 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49645 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49646 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49647 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49648 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49649 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49650 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49651 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49652 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49653 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49654 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
49655 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49656 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49657 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49658 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49659 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49660 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49661 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49662 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49663 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49664 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49665 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49666 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49667 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49668 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49669 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49670 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49671 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49672 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49673 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49674 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49675 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49676 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49677 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49678 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49679 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49680 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49681 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49682 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49683 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49684 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49685 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49686 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49687 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49688 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49689 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49690 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49691 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49692 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49693 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49694 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49695 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49696 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49697 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49698 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49699 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49700 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49701 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49702 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49703 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49704 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49705 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49706 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49707 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49708 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49709 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49710 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49711 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49712 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49713 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49714 s,@SHARED@,$SHARED,;t t
49715 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49716 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49717 s,@USE_GUI@,$USE_GUI,;t t
49718 s,@AFMINSTALL@,$AFMINSTALL,;t t
49719 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49720 s,@TOOLKIT@,$TOOLKIT,;t t
49721 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49722 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49723 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49724 s,@cross_compiling@,$cross_compiling,;t t
49725 s,@WIDGET_SET@,$WIDGET_SET,;t t
49726 s,@WX_RELEASE@,$WX_RELEASE,;t t
49727 s,@WX_VERSION@,$WX_VERSION,;t t
49728 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49729 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49730 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49731 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49732 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49733 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49734 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49735 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49736 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49737 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49738 s,@EXE_LINKER@,$EXE_LINKER,;t t
49739 s,@GUIDIST@,$GUIDIST,;t t
49740 s,@DISTDIR@,$DISTDIR,;t t
49741 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49742 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49743 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49744 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49745 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49746 s,@RESCOMP@,$RESCOMP,;t t
49747 s,@RESFLAGS@,$RESFLAGS,;t t
49748 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49749 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49750 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49751 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49752 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49753 s,@MACSETFILE@,$MACSETFILE,;t t
49755 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49756 s,@LIBOBJS@,$LIBOBJS,;t t
49757 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49762 cat >>$CONFIG_STATUS <<\_ACEOF
49763 # Split the substitutions into bite-sized pieces for seds with
49764 # small command number limits, like on Digital OSF/1 and HP-UX.
49765 ac_max_sed_lines
=48
49766 ac_sed_frag
=1 # Number of current file.
49767 ac_beg
=1 # First line for current file.
49768 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49771 while $ac_more_lines; do
49772 if test $ac_beg -gt 1; then
49773 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49775 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49777 if test ! -s $tmp/subs.frag
; then
49778 ac_more_lines
=false
49780 # The purpose of the label and of the branching condition is to
49781 # speed up the sed processing (if there are no `@' at all, there
49782 # is no need to browse any of the substitutions).
49783 # These are the two extra sed commands mentioned above.
49785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49786 if test -z "$ac_sed_cmds"; then
49787 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49789 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49791 ac_sed_frag
=`expr $ac_sed_frag + 1`
49793 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49796 if test -z "$ac_sed_cmds"; then
49799 fi # test -n "$CONFIG_FILES"
49802 cat >>$CONFIG_STATUS <<\_ACEOF
49803 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49806 - | *:- | *:-:* ) # input from stdin
49808 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49809 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49810 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49811 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49812 * ) ac_file_in
=$ac_file.
in ;;
49815 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49816 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49818 X"$ac_file" : 'X\(//\)[^/]' \| \
49819 X"$ac_file" : 'X\(//\)$' \| \
49820 X"$ac_file" : 'X\(/\)' \| \
49821 . : '\(.\)' 2>/dev/null ||
49823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49825 /^X\(\/\/\)$/{ s//\1/; q; }
49826 /^X\(\/\).*/{ s//\1/; q; }
49828 { if $as_mkdir_p; then
49833 while test ! -d "$as_dir"; do
49834 as_dirs
="$as_dir $as_dirs"
49835 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49837 X"$as_dir" : 'X\(//\)[^/]' \| \
49838 X"$as_dir" : 'X\(//\)$' \| \
49839 X"$as_dir" : 'X\(/\)' \| \
49840 . : '\(.\)' 2>/dev/null ||
49842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49844 /^X\(\/\/\)$/{ s//\1/; q; }
49845 /^X\(\/\).*/{ s//\1/; q; }
49848 test ! -n "$as_dirs" || mkdir $as_dirs
49849 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49850 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49851 { (exit 1); exit 1; }; }; }
49855 if test "$ac_dir" != .
; then
49856 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49857 # A "../" for each directory in $ac_dir_suffix.
49858 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49860 ac_dir_suffix
= ac_top_builddir
=
49864 .
) # No --srcdir option. We are building in place.
49866 if test -z "$ac_top_builddir"; then
49869 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49871 [\\/]* | ?
:[\\/]* ) # Absolute path.
49872 ac_srcdir
=$srcdir$ac_dir_suffix;
49873 ac_top_srcdir
=$srcdir ;;
49874 *) # Relative path.
49875 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49876 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49879 # Do not use `cd foo && pwd` to compute absolute paths, because
49880 # the directories may not exist.
49882 .
) ac_abs_builddir
="$ac_dir";;
49885 .
) ac_abs_builddir
=`pwd`;;
49886 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49887 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49890 case $ac_abs_builddir in
49891 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49893 case ${ac_top_builddir}.
in
49894 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49895 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49896 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49899 case $ac_abs_builddir in
49900 .
) ac_abs_srcdir
=$ac_srcdir;;
49903 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49904 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49905 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49908 case $ac_abs_builddir in
49909 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49911 case $ac_top_srcdir in
49912 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49913 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49914 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49920 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49921 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49924 if test x
"$ac_file" != x
-; then
49925 { echo "$as_me:$LINENO: creating $ac_file" >&5
49926 echo "$as_me: creating $ac_file" >&6;}
49929 # Let's still pretend it is `configure' which instantiates (i.e., don't
49930 # use $as_me), people would be surprised to read:
49931 # /* config.h. Generated by config.status. */
49932 if test x
"$ac_file" = x
-; then
49935 configure_input
="$ac_file. "
49937 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49938 sed 's,.*/,,'` by configure."
49940 # First look for the input files in the build tree, otherwise in the
49942 ac_file_inputs
=`IFS=:
49943 for f in $ac_file_in; do
49945 -) echo $tmp/stdin ;;
49947 # Absolute (can't be DOS-style, as IFS=:)
49948 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49949 echo "$as_me: error: cannot find input file: $f" >&2;}
49950 { (exit 1); exit 1; }; }
49953 if test -f "$f"; then
49956 elif test -f "$srcdir/$f"; then
49961 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49962 echo "$as_me: error: cannot find input file: $f" >&2;}
49963 { (exit 1); exit 1; }; }
49966 done` || { (exit 1); exit 1; }
49968 cat >>$CONFIG_STATUS <<_ACEOF
49972 cat >>$CONFIG_STATUS <<\_ACEOF
49974 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49975 s
,@configure_input@
,$configure_input,;t t
49976 s
,@srcdir@
,$ac_srcdir,;t t
49977 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49978 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49979 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49980 s
,@builddir@
,$ac_builddir,;t t
49981 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49982 s
,@top_builddir@
,$ac_top_builddir,;t t
49983 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49984 s
,@INSTALL@
,$ac_INSTALL,;t t
49985 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49987 if test x"$ac_file" != x-; then
49988 mv $tmp/out $ac_file
49994 # Run the commands associated with the file.
49996 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49997 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50001 cat >>$CONFIG_STATUS <<\_ACEOF
50004 # CONFIG_HEADER section.
50007 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50008 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50010 # ac_d sets the value in "#define NAME VALUE" lines.
50011 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50012 ac_dB
='[ ].*$,\1#\2'
50015 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50016 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50017 ac_uB
='$,\1#\2define\3'
50021 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50022 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50024 - | *:- | *:-:* ) # input from stdin
50026 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50027 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50028 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50029 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50030 * ) ac_file_in
=$ac_file.
in ;;
50033 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50034 echo "$as_me: creating $ac_file" >&6;}
50036 # First look for the input files in the build tree, otherwise in the
50038 ac_file_inputs
=`IFS=:
50039 for f in $ac_file_in; do
50041 -) echo $tmp/stdin ;;
50043 # Absolute (can't be DOS-style, as IFS=:)
50044 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50045 echo "$as_me: error: cannot find input file: $f" >&2;}
50046 { (exit 1); exit 1; }; }
50047 # Do quote $f, to prevent DOS paths from being IFS'd.
50050 if test -f "$f"; then
50053 elif test -f "$srcdir/$f"; then
50058 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50059 echo "$as_me: error: cannot find input file: $f" >&2;}
50060 { (exit 1); exit 1; }; }
50063 done` || { (exit 1); exit 1; }
50064 # Remove the trailing spaces.
50065 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50069 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50070 # `conftest.undefs', that substitutes the proper values into
50071 # config.h.in to produce config.h. The first handles `#define'
50072 # templates, and the second `#undef' templates.
50073 # And first: Protect against being on the right side of a sed subst in
50074 # config.status. Protect against being in an unquoted here document
50075 # in config.status.
50076 rm -f conftest.defines conftest.undefs
50077 # Using a here document instead of a string reduces the quoting nightmare.
50078 # Putting comments in sed scripts is not portable.
50080 # `end' is used to avoid that the second main sed command (meant for
50081 # 0-ary CPP macros) applies to n-ary macro definitions.
50082 # See the Autoconf documentation for `clear'.
50083 cat >confdef2sed.
sed <<\_ACEOF
50088 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50090 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50093 # If some macros were called several times there might be several times
50094 # the same #defines, which is useless. Nevertheless, we may not want to
50095 # sort them, since we want the *last* AC-DEFINE to be honored.
50096 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50097 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50098 rm -f confdef2sed.sed
50100 # This sed command replaces #undef with comments. This is necessary, for
50101 # example, in the case of _POSIX_SOURCE, which is predefined and required
50102 # on some systems where configure will not decide to define it.
50103 cat >>conftest.undefs <<\_ACEOF
50104 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50107 # Break up conftest.defines because some shells have a limit on the size
50108 # of here documents, and old seds have small limits too (100 cmds).
50109 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50110 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50111 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50112 echo ' :' >>$CONFIG_STATUS
50113 rm -f conftest.tail
50114 while grep . conftest.defines >/dev/null
50116 # Write a limited-size here document to $tmp/defines.sed.
50117 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50118 # Speed up: don't consider the non `#define' lines.
50119 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50120 # Work around the forget-to-reset-the-flag bug.
50121 echo 't clr' >>$CONFIG_STATUS
50122 echo ': clr' >>$CONFIG_STATUS
50123 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50125 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50127 mv $tmp/out $tmp/in
50129 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50130 rm -f conftest.defines
50131 mv conftest.
tail conftest.defines
50133 rm -f conftest.defines
50134 echo ' fi # grep' >>$CONFIG_STATUS
50135 echo >>$CONFIG_STATUS
50137 # Break up conftest.undefs because some shells have a limit on the size
50138 # of here documents, and old seds have small limits too (100 cmds).
50139 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50140 rm -f conftest.
tail
50141 while grep . conftest.undefs
>/dev
/null
50143 # Write a limited-size here document to $tmp/undefs.sed.
50144 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50145 # Speed up: don't consider the non
`#undef'
50146 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50147 # Work around the forget-to-reset-the-flag bug.
50148 echo 't clr' >>$CONFIG_STATUS
50149 echo ': clr' >>$CONFIG_STATUS
50150 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50152 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50154 mv $tmp/out $tmp/in
50156 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50157 rm -f conftest.undefs
50158 mv conftest.tail conftest.undefs
50160 rm -f conftest.undefs
50162 cat >>$CONFIG_STATUS <<\_ACEOF
50163 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50164 # use $as_me), people would be surprised to read:
50165 # /* config.h. Generated by config.status. */
50166 if test x
"$ac_file" = x
-; then
50167 echo "/* Generated by configure. */" >$tmp/config.h
50169 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50171 cat $tmp/in >>$tmp/config.h
50173 if test x
"$ac_file" != x
-; then
50174 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50175 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50176 echo "$as_me: $ac_file is unchanged" >&6;}
50178 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50180 X"$ac_file" : 'X\(//\)[^/]' \| \
50181 X"$ac_file" : 'X\(//\)$' \| \
50182 X"$ac_file" : 'X\(/\)' \| \
50183 . : '\(.\)' 2>/dev/null ||
50185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50187 /^X\(\/\/\)$/{ s//\1/; q; }
50188 /^X\(\/\).*/{ s//\1/; q; }
50190 { if $as_mkdir_p; then
50195 while test ! -d "$as_dir"; do
50196 as_dirs
="$as_dir $as_dirs"
50197 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50199 X"$as_dir" : 'X\(//\)[^/]' \| \
50200 X"$as_dir" : 'X\(//\)$' \| \
50201 X"$as_dir" : 'X\(/\)' \| \
50202 . : '\(.\)' 2>/dev/null ||
50204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50206 /^X\(\/\/\)$/{ s//\1/; q; }
50207 /^X\(\/\).*/{ s//\1/; q; }
50210 test ! -n "$as_dirs" || mkdir $as_dirs
50211 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50212 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50213 { (exit 1); exit 1; }; }; }
50216 mv $tmp/config.h
$ac_file
50220 rm -f $tmp/config.h
50224 cat >>$CONFIG_STATUS <<\_ACEOF
50227 # CONFIG_COMMANDS section.
50229 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50230 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50231 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50232 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50233 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50234 X"$ac_dest" : 'X\(//\)[^/]' \| \
50235 X"$ac_dest" : 'X\(//\)$' \| \
50236 X"$ac_dest" : 'X\(/\)' \| \
50237 . : '\(.\)' 2>/dev/null ||
50239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50240 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50241 /^X\(\/\/\)$/{ s//\1/; q; }
50242 /^X\(\/\).*/{ s//\1/; q; }
50244 { if $as_mkdir_p; then
50249 while test ! -d "$as_dir"; do
50250 as_dirs
="$as_dir $as_dirs"
50251 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50253 X"$as_dir" : 'X\(//\)[^/]' \| \
50254 X"$as_dir" : 'X\(//\)$' \| \
50255 X"$as_dir" : 'X\(/\)' \| \
50256 . : '\(.\)' 2>/dev/null ||
50258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50260 /^X\(\/\/\)$/{ s//\1/; q; }
50261 /^X\(\/\).*/{ s//\1/; q; }
50264 test ! -n "$as_dirs" || mkdir $as_dirs
50265 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50266 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50267 { (exit 1); exit 1; }; }; }
50271 if test "$ac_dir" != .
; then
50272 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50273 # A "../" for each directory in $ac_dir_suffix.
50274 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50276 ac_dir_suffix
= ac_top_builddir
=
50280 .
) # No --srcdir option. We are building in place.
50282 if test -z "$ac_top_builddir"; then
50285 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50287 [\\/]* | ?
:[\\/]* ) # Absolute path.
50288 ac_srcdir
=$srcdir$ac_dir_suffix;
50289 ac_top_srcdir
=$srcdir ;;
50290 *) # Relative path.
50291 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50292 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50295 # Do not use `cd foo && pwd` to compute absolute paths, because
50296 # the directories may not exist.
50298 .
) ac_abs_builddir
="$ac_dir";;
50301 .
) ac_abs_builddir
=`pwd`;;
50302 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50303 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50306 case $ac_abs_builddir in
50307 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50309 case ${ac_top_builddir}.
in
50310 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50311 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50312 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50315 case $ac_abs_builddir in
50316 .
) ac_abs_srcdir
=$ac_srcdir;;
50319 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50320 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50321 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50324 case $ac_abs_builddir in
50325 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50327 case $ac_top_srcdir in
50328 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50329 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50330 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50335 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50336 echo "$as_me: executing $ac_dest commands" >&6;}
50339 mkdir -p $outdir &&
50340 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50342 wx
-config ) rm -f wx
-config
50343 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50349 cat >>$CONFIG_STATUS <<\_ACEOF
50351 { (exit 0); exit 0; }
50353 chmod +x
$CONFIG_STATUS
50354 ac_clean_files
=$ac_clean_files_save
50357 # configure is writing to config.log, and then calls config.status.
50358 # config.status does its own redirection, appending to config.log.
50359 # Unfortunately, on DOS this fails, as config.log is still kept open
50360 # by configure, so config.status won't be able to write to it; its
50361 # output is simply discarded. So we exec the FD to /dev/null,
50362 # effectively closing config.log, so it can be properly (re)opened and
50363 # appended to by config.status. When coming back to configure, we
50364 # need to make the FD available again.
50365 if test "$no_create" != yes; then
50367 ac_config_status_args
=
50368 test "$silent" = yes &&
50369 ac_config_status_args
="$ac_config_status_args --quiet"
50371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50374 # would make configure fail if this is the last instruction.
50375 $ac_cs_success || { (exit 1); exit 1; }
50379 # CONFIG_SUBDIRS section.
50381 if test "$no_recursion" != yes; then
50383 # Remove --cache-file and --srcdir arguments so they do not pile up.
50384 ac_sub_configure_args
=
50386 for ac_arg
in $ac_configure_args; do
50387 if test -n "$ac_prev"; then
50392 -cache-file | --cache-file | --cache-fil | --cache-fi \
50393 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50394 ac_prev
=cache_file
;;
50395 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50396 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50399 --config-cache | -C)
50401 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50403 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50405 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50407 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50409 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50413 # Always prepend --prefix to ensure using the same prefix
50414 # in subdir configurations.
50415 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50418 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50420 # Do not complain, so a configure script can configure whichever
50421 # parts of a large source tree are present.
50422 test -d $srcdir/$ac_dir || continue
50424 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50425 echo "$as_me: configuring in $ac_dir" >&6;}
50426 { if $as_mkdir_p; then
50431 while test ! -d "$as_dir"; do
50432 as_dirs
="$as_dir $as_dirs"
50433 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50435 X"$as_dir" : 'X\(//\)[^/]' \| \
50436 X"$as_dir" : 'X\(//\)$' \| \
50437 X"$as_dir" : 'X\(/\)' \| \
50438 . : '\(.\)' 2>/dev/null ||
50440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50442 /^X\(\/\/\)$/{ s//\1/; q; }
50443 /^X\(\/\).*/{ s//\1/; q; }
50446 test ! -n "$as_dirs" || mkdir $as_dirs
50447 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50448 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50449 { (exit 1); exit 1; }; }; }
50453 if test "$ac_dir" != .
; then
50454 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50455 # A "../" for each directory in $ac_dir_suffix.
50456 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50458 ac_dir_suffix
= ac_top_builddir
=
50462 .
) # No --srcdir option. We are building in place.
50464 if test -z "$ac_top_builddir"; then
50467 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50469 [\\/]* | ?
:[\\/]* ) # Absolute path.
50470 ac_srcdir
=$srcdir$ac_dir_suffix;
50471 ac_top_srcdir
=$srcdir ;;
50472 *) # Relative path.
50473 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50474 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50477 # Do not use `cd foo && pwd` to compute absolute paths, because
50478 # the directories may not exist.
50480 .
) ac_abs_builddir
="$ac_dir";;
50483 .
) ac_abs_builddir
=`pwd`;;
50484 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50485 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50488 case $ac_abs_builddir in
50489 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50491 case ${ac_top_builddir}.
in
50492 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50493 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50494 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50497 case $ac_abs_builddir in
50498 .
) ac_abs_srcdir
=$ac_srcdir;;
50501 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50502 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50503 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50506 case $ac_abs_builddir in
50507 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50509 case $ac_top_srcdir in
50510 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50511 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50512 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50519 # Check for guested configure; otherwise get Cygnus style configure.
50520 if test -f $ac_srcdir/configure.gnu
; then
50521 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50522 elif test -f $ac_srcdir/configure
; then
50523 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50524 elif test -f $ac_srcdir/configure.
in; then
50525 ac_sub_configure
=$ac_configure
50527 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50528 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50532 # The recursion is here.
50533 if test -n "$ac_sub_configure"; then
50534 # Make the cache file name correct relative to the subdirectory.
50535 case $cache_file in
50536 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50537 *) # Relative path.
50538 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50541 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50542 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50543 # The eval makes quoting arguments work.
50544 eval $ac_sub_configure $ac_sub_configure_args \
50545 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50546 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50547 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50548 { (exit 1); exit 1; }; }
50557 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50559 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50560 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50562 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50563 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50564 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50566 echo " What level of wxWidgets compatibility should be enabled?"
50567 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50568 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50570 echo " Which libraries should wxWidgets use?"
50571 echo " jpeg ${wxUSE_LIBJPEG-none}"
50572 echo " png ${wxUSE_LIBPNG-none}"
50573 echo " regex ${wxUSE_REGEX}"
50574 echo " tiff ${wxUSE_LIBTIFF-none}"
50575 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50576 echo " xpm ${wxUSE_LIBXPM-none}"
50578 echo " zlib ${wxUSE_ZLIB}"
50579 echo " odbc ${wxUSE_ODBC}"
50580 echo " expat ${wxUSE_EXPAT}"
50581 echo " libmspack ${wxUSE_LIBMSPACK}"
50582 echo " sdl ${wxUSE_LIBSDL}"
50583 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50584 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50585 echo " hildon ${wxUSE_LIBHILDON-none}"