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 ac_pt_PKG_CONFIG 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_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
794 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
795 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
796 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
797 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
798 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
799 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
800 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
801 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
802 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
803 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
804 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
805 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
806 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
807 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
808 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
809 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
810 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
811 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
812 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
813 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
814 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
815 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
816 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
817 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
818 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
819 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
820 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
821 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
822 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
823 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
825 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
826 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
827 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
828 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
829 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
830 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
831 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
832 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
833 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
834 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
835 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
836 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
837 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
838 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
839 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
840 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
841 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
842 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
843 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
844 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
845 ac_env_GST_LIBS_set
=${GST_LIBS+set}
846 ac_env_GST_LIBS_value
=$GST_LIBS
847 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
848 ac_cv_env_GST_LIBS_value
=$GST_LIBS
851 # Report the --help message.
853 if test "$ac_init_help" = "long"; then
854 # Omit some internal or obsolete options to make the list less imposing.
855 # This message is too long to be a string in the A/UX 3.1 sh.
857 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
859 Usage: $0 [OPTION]... [VAR=VALUE]...
861 To assign environment variables (e.g., CC, CFLAGS...), specify them as
862 VAR=VALUE. See below for descriptions of some of the useful variables.
864 Defaults for the options are specified in brackets.
867 -h, --help display this help and exit
868 --help=short display options specific to this package
869 --help=recursive display the short help of all the included packages
870 -V, --version display version information and exit
871 -q, --quiet, --silent do not print \`checking...' messages
872 --cache-file=FILE cache test results in FILE [disabled]
873 -C, --config-cache alias for \`--cache-file=config.cache'
874 -n, --no-create do not create output files
875 --srcdir=DIR find the sources in DIR [configure dir or \`..']
880 Installation directories:
881 --prefix=PREFIX install architecture-independent files in PREFIX
883 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
886 By default, \`make install' will install all the files in
887 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
888 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
889 for instance \`--prefix=\$HOME'.
891 For better control, use the options below.
893 Fine tuning of the installation directories:
894 --bindir=DIR user executables [EPREFIX/bin]
895 --sbindir=DIR system admin executables [EPREFIX/sbin]
896 --libexecdir=DIR program executables [EPREFIX/libexec]
897 --datadir=DIR read-only architecture-independent data [PREFIX/share]
898 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
899 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
900 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
901 --libdir=DIR object code libraries [EPREFIX/lib]
902 --includedir=DIR C header files [PREFIX/include]
903 --oldincludedir=DIR C header files for non-gcc [/usr/include]
904 --infodir=DIR info documentation [PREFIX/info]
905 --mandir=DIR man documentation [PREFIX/man]
911 --x-includes=DIR X include files are
in DIR
912 --x-libraries=DIR X library files are
in DIR
915 --build=BUILD configure
for building on BUILD
[guessed
]
916 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
917 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
921 if test -n "$ac_init_help"; then
922 case $ac_init_help in
923 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
928 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
929 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
930 --enable-gui use GUI classes
931 --enable-monolithic build wxWidgets as single library
932 --enable-plugins build parts of wxWidgets as loadable components
933 --enable-universal use wxWidgets GUI controls instead of native ones
934 --enable-nanox use NanoX
935 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
936 --enable-gpe use GNOME PDA Environment features
if possible
937 --enable-shared create shared library code
938 --enable-optimise create optimised code
939 --enable-debug same as debug_flag and debug_info
940 --enable-stl use STL
for containers
941 --enable-omf use OMF object format
942 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
943 --enable-debug_info create code with debugging information
944 --enable-debug_gdb create code with extra GDB debugging information
945 --enable-debug_cntxt use wxDebugContext
946 --enable-mem_tracing create code with memory tracing
947 --enable-profile create code with profiling information
948 --enable-no_rtti create code without RTTI information
949 --enable-no_exceptions create code without C
++ exceptions handling
950 --enable-permissive compile code disregarding strict ANSI
951 --enable-no_deps create code without dependency information
952 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
953 --enable-compat24 enable wxWidgets
2.4 compatibility
954 --disable-compat26 disable wxWidgets
2.6 compatibility
955 --disable-rpath disable use of rpath
for uninstalled builds
956 --enable-intl use internationalization system
957 --enable-config use wxConfig
(and derived
) classes
958 --enable-protocols use wxProtocol and derived classes
959 --enable-ftp use wxFTP
(requires wxProtocol
960 --enable-http use wxHTTP
(requires wxProtocol
961 --enable-fileproto use wxFileProto class
(requires wxProtocol
962 --enable-sockets use socket
/network classes
963 --enable-ole use OLE classes
(Win32 only
)
964 --enable-dataobj use data object classes
965 --enable-ipc use interprocess communication
(wxSocket etc.
)
966 --enable-apple_ieee use the Apple IEEE codec
967 --enable-arcstream use wxArchive streams
968 --enable-backtrace use wxStackWalker class
for getting backtraces
969 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
970 --enable-cmdline use wxCmdLineParser class
971 --enable-datetime use wxDateTime class
972 --enable-debugreport use wxDebugReport class
973 --enable-dialupman use dialup network classes
974 --enable-dynlib use wxLibrary class
for DLL loading
975 --enable-dynamicloader use
(new
) wxDynamicLibrary class
976 --enable-exceptions build exception
-safe library
977 --enable-ffile use wxFFile class
978 --enable-file use wxFile class
979 --enable-filesystem use virtual
file systems classes
980 --enable-fontmap use font encodings conversion classes
981 --enable-fs_inet use virtual HTTP
/FTP filesystems
982 --enable-fs_zip use virtual ZIP filesystems
983 --enable-geometry use geometry class
984 --enable-log use logging system
985 --enable-longlong use wxLongLong class
986 --enable-mimetype use wxMimeTypesManager
987 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
988 --enable-snglinst use wxSingleInstanceChecker class
989 --enable-std_iostreams use standard C
++ stream classes
990 --enable-std_string use standard C
++ string classes
991 --enable-stdpaths use wxStandardPaths class
992 --enable-stopwatch use wxStopWatch class
993 --enable-streams use wxStream etc classes
994 --enable-sysoptions use wxSystemOptions
995 --enable-textbuf use wxTextBuffer class
996 --enable-textfile use wxTextFile class
997 --enable-timer use wxTimer class
998 --enable-unicode compile wxString with Unicode support
999 --enable-sound use wxSound class
1000 --enable-mediactrl use wxMediaCtrl class
1001 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1002 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1003 --enable-zipstream use wxZip streams
1004 --enable-url use wxURL class
1005 --enable-protocol use wxProtocol class
1006 --enable-protocol-http HTTP support
in wxProtocol
1007 --enable-protocol-ftp FTP support
in wxProtocol
1008 --enable-protocol-file FILE support
in wxProtocol
1009 --enable-threads use threads
1010 --enable-docview use document view architecture
1011 --enable-help use
help subsystem
1012 --enable-mshtmlhelp use MS HTML Help
(win32
)
1013 --enable-html use wxHTML sub
-library
1014 --enable-htmlhelp use wxHTML
-based help
1015 --enable-xrc use XRC resources sub
-library
1016 --enable-aui use AUI docking library
1017 --enable-constraints use layout
-constraints system
1018 --enable-printarch use printing architecture
1019 --enable-mdi use multiple document interface architecture
1020 --enable-mdidoc use docview architecture with MDI
1021 --enable-loggui use standard GUI logger
1022 --enable-logwin use wxLogWindow
1023 --enable-logdialog use wxLogDialog
1024 --enable-webkit use wxWebKitCtrl
(Mac
)
1025 --enable-richtext use wxRichTextCtrl
1026 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1027 --enable-prologio not available
; see contrib
1028 --enable-resources not available
; see contrib
1029 --enable-clipboard use wxClipboard class
1030 --enable-dnd use Drag
'n'Drop classes
1031 --enable-metafile use win32 metafiles
1032 --enable-controls use all usual controls
1033 --enable-accel use accelerators
1034 --enable-button use wxButton class
1035 --enable-bmpbutton use wxBitmapButton class
1036 --enable-calendar use wxCalendarCtrl class
1037 --enable-caret use wxCaret class
1038 --enable-checkbox use wxCheckBox class
1039 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1040 --enable-choice use wxChoice class
1041 --enable-choicebook use wxChoicebook class
1042 --enable-colourpicker use wxColourPickerCtrl class
1043 --enable-combobox use wxComboBox class
1044 --enable-comboctrl use wxComboCtrl class
1045 --enable-datepick use wxDatePickerCtrl class
1046 --enable-dirpicker use wxDirPickerCtrl class
1047 --enable-display use wxDisplay class
1048 --enable-filepicker use wxFilePickerCtrl class
1049 --enable-fontpicker use wxFontPickerCtrl class
1050 --enable-gauge use wxGauge class
1051 --enable-grid use wxGrid class
1052 --enable-dataviewctrl, use wxDataViewCtrl class
1053 --enable-hyperlink use wxHyperlinkCtrl class
1054 --enable-imaglist use wxImageList class
1055 --enable-listbook use wxListbook class
1056 --enable-listbox use wxListBox class
1057 --enable-listctrl use wxListCtrl class
1058 --enable-notebook use wxNotebook class
1059 --enable-odcombobox use wxOwnerDrawnComboBox class
1060 --enable-radiobox use wxRadioBox class
1061 --enable-radiobtn use wxRadioButton class
1062 --enable-sash use wxSashWindow class
1063 --enable-scrollbar use wxScrollBar class and scrollable windows
1064 --enable-slider use wxSlider class
1065 --enable-spinbtn use wxSpinButton class
1066 --enable-spinctrl use wxSpinCtrl class
1067 --enable-splitter use wxSplitterWindow class
1068 --enable-statbmp use wxStaticBitmap class
1069 --enable-statbox use wxStaticBox class
1070 --enable-statline use wxStaticLine class
1071 --enable-stattext use wxStaticText class
1072 --enable-statusbar use wxStatusBar class
1073 --enable-tabdialog use wxTabControl class
1074 --enable-textctrl use wxTextCtrl class
1075 --enable-togglebtn use wxToggleButton class
1076 --enable-toolbar use wxToolBar class
1077 --enable-tbarnative use native wxToolBar class
1078 --enable-tbarsmpl use wxToolBarSimple class
1079 --enable-treebook use wxTreebook class
1080 --enable-toolbook use wxToolbook class
1081 --enable-treectrl use wxTreeCtrl class
1082 --enable-tipwindow use wxTipWindow class
1083 --enable-popupwin use wxPopUpWindow class
1084 --enable-commondlg use all common dialogs
1085 --enable-choicedlg use wxChoiceDialog
1086 --enable-coldlg use wxColourDialog
1087 --enable-filedlg use wxFileDialog
1088 --enable-finddlg use wxFindReplaceDialog
1089 --enable-fontdlg use wxFontDialog
1090 --enable-dirdlg use wxDirDialog
1091 --enable-msgdlg use wxMessageDialog
1092 --enable-numberdlg use wxNumberEntryDialog
1093 --enable-splash use wxSplashScreen
1094 --enable-textdlg use wxTextDialog
1095 --enable-tipdlg use startup tips
1096 --enable-progressdlg use wxProgressDialog
1097 --enable-wizarddlg use wxWizard
1098 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1099 --enable-miniframe use wxMiniFrame class
1100 --enable-tooltips use wxToolTip class
1101 --enable-splines use spline drawing code
1102 --enable-mousewheel use mousewheel
1103 --enable-validators use wxValidator and derived classes
1104 --enable-busyinfo use wxBusyInfo
1105 --enable-joystick use wxJoystick
1106 --enable-metafiles use wxMetaFile
(Win32 only
)
1107 --enable-dragimage use wxDragImage
1108 --enable-accessibility enable accessibility support
1109 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1110 --enable-palette use wxPalette class
1111 --enable-image use wxImage class
1112 --enable-gif use gif images
(GIF
file format
)
1113 --enable-pcx use pcx images
(PCX
file format
)
1114 --enable-iff use iff images
(IFF
file format
)
1115 --enable-pnm use pnm images
(PNM
file format
)
1116 --enable-xpm use xpm images
(XPM
file format
)
1117 --enable-icocur use Windows ICO and CUR formats
1118 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1119 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1120 --disable-largefile omit support
for large files
1121 --disable-gtktest do not try to compile and run a
test GTK
+ program
1122 --disable-gtktest Do not try to compile and run a
test GTK program
1123 --disable-sdltest Do not try to compile and run a
test SDL program
1124 --enable-omf use OMF object format
(OS
/2)
1125 --disable-dependency-tracking
1126 don
't use dependency tracking even if the compiler
1128 --disable-precomp-headers
1129 don't use precompiled headers even
if compiler can
1132 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1133 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1134 --without-subdirs don
't generate makefiles for samples/demos/...
1135 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1136 --with-motif use Motif/Lesstif
1137 --with-mac use Mac OS X
1138 --with-cocoa use Cocoa
1139 --with-wine use Wine
1140 --with-msw use MS-Windows
1141 --with-pm use OS/2 Presentation Manager
1142 --with-mgl use SciTech MGL
1143 --with-microwin use MicroWindows
1145 --with-libpng use libpng (PNG image format)
1146 --with-libjpeg use libjpeg (JPEG file format)
1147 --with-libtiff use libtiff (TIFF file format)
1148 --with-libxpm use libxpm (XPM file format)
1149 --with-libmspack use libmspack (CHM help files loading)
1150 --with-sdl use SDL for audio on Unix
1151 --with-gnomeprint use GNOME print for printing under GNOME
1152 --with-gnomevfs use GNOME VFS for associating MIME types
1153 --with-hildon use Hildon framework for Nokia 770
1154 --with-opengl use OpenGL (or Mesa)
1155 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1156 --with-regex enable support for wxRegEx class
1157 --with-zlib use zlib for LZW compression
1158 --with-odbc use the IODBC and wxODBC classes
1159 --with-expat enable XML support using expat parser
1160 --with-flavour=NAME specify a name to identify this build
1161 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1162 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1163 --with-x use the X Window System
1164 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1165 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1166 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1167 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1168 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1170 Some influential environment variables:
1171 CC C compiler command
1172 CFLAGS C compiler flags
1173 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1174 nonstandard directory <lib dir>
1175 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1176 headers in a nonstandard directory <include dir>
1178 CXX C++ compiler command
1179 CXXFLAGS C++ compiler flags
1180 CXXCPP C++ preprocessor
1181 PKG_CONFIG path to pkg-config utility
1183 C compiler flags for PANGOX, overriding pkg-config
1184 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1186 C compiler flags for PANGOFT2, overriding pkg-config
1188 linker flags for PANGOFT2, overriding pkg-config
1190 C compiler flags for PANGOXFT, overriding pkg-config
1192 linker flags for PANGOXFT, overriding pkg-config
1193 LIBGNOMEPRINTUI_CFLAGS
1194 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1195 LIBGNOMEPRINTUI_LIBS
1196 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1198 C compiler flags for GNOMEVFS, overriding pkg-config
1200 linker flags for GNOMEVFS, overriding pkg-config
1202 C compiler flags for HILDON, overriding pkg-config
1203 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1204 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1205 GST_LIBS linker flags for GST, overriding pkg-config
1207 Use these variables to override the choices made by `configure' or to
help
1208 it to
find libraries and programs with nonstandard names
/locations.
1210 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1214 if test "$ac_init_help" = "recursive"; then
1215 # If there are subdirs, report their specific --help.
1217 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1218 test -d $ac_dir || continue
1221 if test "$ac_dir" != .
; then
1222 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1223 # A "../" for each directory in $ac_dir_suffix.
1224 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1226 ac_dir_suffix
= ac_top_builddir
=
1230 .
) # No --srcdir option. We are building in place.
1232 if test -z "$ac_top_builddir"; then
1235 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1237 [\\/]* | ?
:[\\/]* ) # Absolute path.
1238 ac_srcdir
=$srcdir$ac_dir_suffix;
1239 ac_top_srcdir
=$srcdir ;;
1241 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1242 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1245 # Do not use `cd foo && pwd` to compute absolute paths, because
1246 # the directories may not exist.
1248 .
) ac_abs_builddir
="$ac_dir";;
1251 .
) ac_abs_builddir
=`pwd`;;
1252 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1253 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1256 case $ac_abs_builddir in
1257 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1259 case ${ac_top_builddir}.
in
1260 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1261 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1262 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1265 case $ac_abs_builddir in
1266 .
) ac_abs_srcdir
=$ac_srcdir;;
1269 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1270 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1271 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1274 case $ac_abs_builddir in
1275 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1277 case $ac_top_srcdir in
1278 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1279 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1280 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1285 # Check for guested configure; otherwise get Cygnus style configure.
1286 if test -f $ac_srcdir/configure.gnu
; then
1288 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1289 elif test -f $ac_srcdir/configure
; then
1291 $SHELL $ac_srcdir/configure
--help=recursive
1292 elif test -f $ac_srcdir/configure.ac
||
1293 test -f $ac_srcdir/configure.
in; then
1295 $ac_configure --help
1297 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1303 test -n "$ac_init_help" && exit 0
1304 if $ac_init_version; then
1306 wxWidgets configure
2.7.0
1307 generated by GNU Autoconf
2.59
1309 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1310 This configure
script is free software
; the Free Software Foundation
1311 gives unlimited permission to copy
, distribute and modify it.
1317 This file contains any messages produced by compilers while
1318 running configure, to aid debugging if configure makes a mistake.
1320 It was created by wxWidgets $as_me 2.7.0, which was
1321 generated by GNU Autoconf 2.59. Invocation command line was
1332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1344 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1355 test -z "$as_dir" && as_dir
=.
1356 echo "PATH: $as_dir"
1371 # Keep a trace of the command line.
1372 # Strip out --no-create and --no-recursion so they do not pile up.
1373 # Strip out --silent because we don't want to record it for future runs.
1374 # Also quote any args containing shell meta-characters.
1375 # Make two passes to allow for proper duplicate-argument suppression.
1380 ac_must_keep_next
=false
1386 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1388 | -silent | --silent | --silen | --sile | --sil)
1390 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1391 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1394 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1396 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1397 if test $ac_must_keep_next = true
; then
1398 ac_must_keep_next
=false
# Got value, back to normal.
1401 *=* | --config-cache | -C | -disable-* | --disable-* \
1402 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1403 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1404 | -with-* | --with-* | -without-* | --without-* | --x)
1405 case "$ac_configure_args0 " in
1406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1409 -* ) ac_must_keep_next
=true
;;
1412 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1413 # Get rid of the leading space.
1419 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1420 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1422 # When interrupted or exit'd, cleanup temporary files, and complete
1423 # config.log. We remove comments because anyway the quotes in there
1424 # would cause problems or look ugly.
1425 # WARNING: Be sure not to use single quotes in there, as some shells,
1426 # such as our DU 5.0 friend, will then `close' the trap.
1427 trap 'exit_status=$?
1428 # Save into config.log some information that might help in debugging.
1433 ## ---------------- ##
1434 ## Cache variables. ##
1435 ## ---------------- ##
1438 # The following way of writing the cache mishandles newlines in values,
1441 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1444 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1449 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1456 ## ----------------- ##
1457 ## Output variables. ##
1458 ## ----------------- ##
1461 for ac_var in $ac_subst_vars
1463 eval ac_val=$`echo $ac_var`
1464 echo "$ac_var='"'"'$ac_val'"'"'"
1468 if test -n "$ac_subst_files"; then
1475 for ac_var in $ac_subst_files
1477 eval ac_val=$`echo $ac_var`
1478 echo "$ac_var='"'"'$ac_val'"'"'"
1483 if test -s confdefs.h; then
1490 sed "/^$/d" confdefs.h | sort
1493 test "$ac_signal" != 0 &&
1494 echo "$as_me: caught signal $ac_signal"
1495 echo "$as_me: exit $exit_status"
1497 rm -f core *.core &&
1498 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1501 for ac_signal
in 1 2 13 15; do
1502 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1506 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1507 rm -rf conftest
* confdefs.h
1508 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1511 # Predefined preprocessor variables.
1513 cat >>confdefs.h
<<_ACEOF
1514 #define PACKAGE_NAME "$PACKAGE_NAME"
1518 cat >>confdefs.h
<<_ACEOF
1519 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1523 cat >>confdefs.h
<<_ACEOF
1524 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1528 cat >>confdefs.h
<<_ACEOF
1529 #define PACKAGE_STRING "$PACKAGE_STRING"
1533 cat >>confdefs.h
<<_ACEOF
1534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1538 # Let the site file select an alternate cache file if it wants to.
1539 # Prefer explicitly selected file to automatically selected ones.
1540 if test -z "$CONFIG_SITE"; then
1541 if test "x$prefix" != xNONE
; then
1542 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1544 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1547 for ac_site_file
in $CONFIG_SITE; do
1548 if test -r "$ac_site_file"; then
1549 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550 echo "$as_me: loading site script $ac_site_file" >&6;}
1551 sed 's/^/| /' "$ac_site_file" >&5
1556 if test -r "$cache_file"; then
1557 # Some versions of bash will fail to source /dev/null (special
1558 # files actually), so we avoid doing that.
1559 if test -f "$cache_file"; then
1560 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561 echo "$as_me: loading cache $cache_file" >&6;}
1563 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1564 *) . .
/$cache_file;;
1568 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569 echo "$as_me: creating cache $cache_file" >&6;}
1573 # Check that the precious variables saved in the cache have kept the same
1575 ac_cache_corrupted
=false
1576 for ac_var
in `(set) 2>&1 |
1577 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1578 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1579 eval ac_new_set
=\
$ac_env_${ac_var}_set
1580 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1581 eval ac_new_val
="\$ac_env_${ac_var}_value"
1582 case $ac_old_set,$ac_new_set in
1584 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1586 ac_cache_corrupted
=: ;;
1588 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1589 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1590 ac_cache_corrupted
=: ;;
1593 if test "x$ac_old_val" != "x$ac_new_val"; then
1594 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1595 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1596 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1597 echo "$as_me: former value: $ac_old_val" >&2;}
1598 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1599 echo "$as_me: current value: $ac_new_val" >&2;}
1600 ac_cache_corrupted
=:
1603 # Pass precious variables to config.status.
1604 if test "$ac_new_set" = set; then
1606 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1607 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1608 *) ac_arg
=$ac_var=$ac_new_val ;;
1610 case " $ac_configure_args " in
1611 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1612 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1616 if $ac_cache_corrupted; then
1617 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1618 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1619 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1620 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1621 { (exit 1); exit 1; }; }
1625 ac_cpp
='$CPP $CPPFLAGS'
1626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1660 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1661 if test -f $ac_dir/install-sh; then
1663 ac_install_sh
="$ac_aux_dir/install-sh -c"
1665 elif test -f $ac_dir/install.sh
; then
1667 ac_install_sh
="$ac_aux_dir/install.sh -c"
1669 elif test -f $ac_dir/shtool
; then
1671 ac_install_sh
="$ac_aux_dir/shtool install -c"
1675 if test -z "$ac_aux_dir"; then
1676 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1677 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1678 { (exit 1); exit 1; }; }
1680 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1681 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1682 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1684 # Make sure we can run config.sub.
1685 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1686 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1687 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1688 { (exit 1); exit 1; }; }
1690 echo "$as_me:$LINENO: checking build system type" >&5
1691 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1692 if test "${ac_cv_build+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 ac_cv_build_alias
=$build_alias
1696 test -z "$ac_cv_build_alias" &&
1697 ac_cv_build_alias
=`$ac_config_guess`
1698 test -z "$ac_cv_build_alias" &&
1699 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1700 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1701 { (exit 1); exit 1; }; }
1702 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1703 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1704 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1705 { (exit 1); exit 1; }; }
1708 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1709 echo "${ECHO_T}$ac_cv_build" >&6
1711 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1712 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1713 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1716 echo "$as_me:$LINENO: checking host system type" >&5
1717 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1718 if test "${ac_cv_host+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 ac_cv_host_alias
=$host_alias
1722 test -z "$ac_cv_host_alias" &&
1723 ac_cv_host_alias
=$ac_cv_build_alias
1724 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1725 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1726 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1727 { (exit 1); exit 1; }; }
1730 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1731 echo "${ECHO_T}$ac_cv_host" >&6
1733 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1734 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1735 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1738 echo "$as_me:$LINENO: checking target system type" >&5
1739 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1740 if test "${ac_cv_target+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 ac_cv_target_alias
=$target_alias
1744 test "x$ac_cv_target_alias" = "x" &&
1745 ac_cv_target_alias
=$ac_cv_host_alias
1746 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1747 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1748 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1749 { (exit 1); exit 1; }; }
1752 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1753 echo "${ECHO_T}$ac_cv_target" >&6
1754 target
=$ac_cv_target
1755 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1756 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1757 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1760 # The aliases save the names the user supplied, while $host etc.
1761 # will get canonicalized.
1762 test -n "$target_alias" &&
1763 test "$program_prefix$program_suffix$program_transform_name" = \
1765 program_prefix
=${target_alias}-
1769 wx_major_version_number
=2
1770 wx_minor_version_number
=7
1772 wx_subrelease_number
=0
1774 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1775 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1776 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1778 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1791 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1797 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1803 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1805 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1807 DEFAULT_wxUSE_COCOA
=0
1811 DEFAULT_wxUSE_MICROWIN
=0
1812 DEFAULT_wxUSE_MOTIF
=0
1817 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1818 DEFAULT_DEFAULT_wxUSE_GTK
=0
1819 DEFAULT_DEFAULT_wxUSE_MAC
=0
1820 DEFAULT_DEFAULT_wxUSE_MGL
=0
1821 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1822 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1823 DEFAULT_DEFAULT_wxUSE_MSW
=0
1824 DEFAULT_DEFAULT_wxUSE_PM
=0
1825 DEFAULT_DEFAULT_wxUSE_X11
=0
1830 SAMPLES_RPATH_POSTLINK
=
1832 DEFAULT_STD_FLAG
=yes
1837 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1838 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1840 cat >>confdefs.h
<<\_ACEOF
1845 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1849 cat >>confdefs.h
<<\_ACEOF
1854 if test "x$TMP" = "xalpha"; then
1856 cat >>confdefs.h
<<\_ACEOF
1861 DEFAULT_DEFAULT_wxUSE_GTK
=1
1863 *-*-gnu* | *-*-k*bsd
*-gnu )
1866 if test "x$TMP" = "xalpha"; then
1868 cat >>confdefs.h
<<\_ACEOF
1873 DEFAULT_DEFAULT_wxUSE_GTK
=1
1875 *-*-irix5* | *-*-irix6* )
1878 cat >>confdefs.h
<<\_ACEOF
1882 cat >>confdefs.h
<<\_ACEOF
1886 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1892 cat >>confdefs.h
<<\_ACEOF
1896 cat >>confdefs.h
<<\_ACEOF
1897 #define __SOLARIS__ 1
1900 cat >>confdefs.h
<<\_ACEOF
1904 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1905 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1911 cat >>confdefs.h
<<\_ACEOF
1915 cat >>confdefs.h
<<\_ACEOF
1919 cat >>confdefs.h
<<\_ACEOF
1923 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1928 cat >>confdefs.h
<<\_ACEOF
1929 #define __FREEBSD__ 1
1932 cat >>confdefs.h
<<\_ACEOF
1936 DEFAULT_DEFAULT_wxUSE_GTK
=1
1938 *-*-openbsd*|*-*-mirbsd*)
1941 cat >>confdefs.h
<<\_ACEOF
1942 #define __OPENBSD__ 1
1945 cat >>confdefs.h
<<\_ACEOF
1949 DEFAULT_DEFAULT_wxUSE_GTK
=1
1954 cat >>confdefs.h
<<\_ACEOF
1955 #define __NETBSD__ 1
1958 cat >>confdefs.h
<<\_ACEOF
1962 DEFAULT_DEFAULT_wxUSE_GTK
=1
1963 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1965 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1970 cat >>confdefs.h
<<\_ACEOF
1974 cat >>confdefs.h
<<\_ACEOF
1978 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1979 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1984 cat >>confdefs.h
<<\_ACEOF
1988 cat >>confdefs.h
<<\_ACEOF
1992 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1997 cat >>confdefs.h
<<\_ACEOF
2001 cat >>confdefs.h
<<\_ACEOF
2005 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2012 cat >>confdefs.h
<<\_ACEOF
2016 cat >>confdefs.h
<<\_ACEOF
2020 cat >>confdefs.h
<<\_ACEOF
2024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2031 cat >>confdefs.h
<<\_ACEOF
2032 #define __UNIXWARE__ 1
2037 *-*-cygwin* | *-*-mingw32* )
2040 DEFAULT_DEFAULT_wxUSE_MSW
=1
2047 cat >>confdefs.h
<<\_ACEOF
2052 DEFAULT_DEFAULT_wxUSE_MGL
=1
2055 *-pc-os2_emx | *-pc-os2-emx )
2056 cat >>confdefs.h
<<\_ACEOF
2061 cat >>confdefs.h
<<\_ACEOF
2066 DEFAULT_DEFAULT_wxUSE_PM
=1
2068 LDFLAGS
="$LDFLAGS -Zcrtdll"
2069 ac_executable_extensions
=".exe"
2070 export ac_executable_extensions
2074 for ac_dir
in $PATH; do
2076 if test -z "$ac_TEMP_PATH"; then
2077 ac_TEMP_PATH
="$ac_dir"
2079 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2082 export PATH
="$ac_TEMP_PATH"
2091 cat >>confdefs.h
<<\_ACEOF
2095 cat >>confdefs.h
<<\_ACEOF
2096 #define __DARWIN__ 1
2099 cat >>confdefs.h
<<\_ACEOF
2100 #define TARGET_CARBON 1
2103 DEFAULT_DEFAULT_wxUSE_MAC
=1
2106 powerpc
-apple-macos* )
2108 ac_cv_c_bigendian
=yes
2110 DEFAULT_DEFAULT_wxUSE_MAC
=1
2116 cat >>confdefs.h
<<\_ACEOF
2123 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2124 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2125 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2126 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2132 wx_arg_cache_file
="configarg.cache"
2133 echo "loading argument cache $wx_arg_cache_file"
2134 rm -f ${wx_arg_cache_file}.tmp
2135 touch ${wx_arg_cache_file}.tmp
2136 touch ${wx_arg_cache_file}
2140 if test $DEBUG_CONFIGURE = 1; then
2141 DEFAULT_wxUSE_UNIVERSAL
=no
2142 DEFAULT_wxUSE_STL
=no
2144 DEFAULT_wxUSE_NANOX
=no
2146 DEFAULT_wxUSE_THREADS
=yes
2148 DEFAULT_wxUSE_SHARED
=yes
2149 DEFAULT_wxUSE_OPTIMISE
=no
2150 DEFAULT_wxUSE_PROFILE
=no
2151 DEFAULT_wxUSE_NO_DEPS
=no
2152 DEFAULT_wxUSE_NO_RTTI
=no
2153 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2154 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2155 DEFAULT_wxUSE_RPATH
=yes
2156 DEFAULT_wxUSE_PERMISSIVE
=no
2157 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2158 DEFAULT_wxUSE_DEBUG_INFO
=yes
2159 DEFAULT_wxUSE_DEBUG_GDB
=yes
2160 DEFAULT_wxUSE_MEM_TRACING
=no
2161 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2162 DEFAULT_wxUSE_DMALLOC
=no
2163 DEFAULT_wxUSE_APPLE_IEEE
=no
2165 DEFAULT_wxUSE_EXCEPTIONS
=no
2166 DEFAULT_wxUSE_LOG
=yes
2167 DEFAULT_wxUSE_LOGWINDOW
=no
2168 DEFAULT_wxUSE_LOGGUI
=no
2169 DEFAULT_wxUSE_LOGDIALOG
=no
2171 DEFAULT_wxUSE_GUI
=yes
2172 DEFAULT_wxUSE_CONTROLS
=no
2174 DEFAULT_wxUSE_REGEX
=no
2175 DEFAULT_wxUSE_XML
=no
2176 DEFAULT_wxUSE_EXPAT
=no
2177 DEFAULT_wxUSE_ZLIB
=no
2178 DEFAULT_wxUSE_LIBPNG
=no
2179 DEFAULT_wxUSE_LIBJPEG
=no
2180 DEFAULT_wxUSE_LIBTIFF
=no
2181 DEFAULT_wxUSE_LIBXPM
=no
2182 DEFAULT_wxUSE_LIBMSPACK
=no
2183 DEFAULT_wxUSE_LIBSDL
=no
2184 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2185 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2186 DEFAULT_wxUSE_LIBHILDON
=no
2187 DEFAULT_wxUSE_ODBC
=no
2188 DEFAULT_wxUSE_OPENGL
=no
2190 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2191 DEFAULT_wxUSE_STACKWALKER
=no
2192 DEFAULT_wxUSE_DEBUGREPORT
=no
2193 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2194 DEFAULT_wxUSE_STD_IOSTREAM
=no
2195 DEFAULT_wxUSE_STD_STRING
=no
2196 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2197 DEFAULT_wxUSE_DATETIME
=no
2198 DEFAULT_wxUSE_TIMER
=no
2199 DEFAULT_wxUSE_STOPWATCH
=no
2200 DEFAULT_wxUSE_FILE
=no
2201 DEFAULT_wxUSE_FFILE
=no
2202 DEFAULT_wxUSE_STDPATHS
=no
2203 DEFAULT_wxUSE_TEXTBUFFER
=no
2204 DEFAULT_wxUSE_TEXTFILE
=no
2205 DEFAULT_wxUSE_SOUND
=no
2206 DEFAULT_wxUSE_MEDIACTRL
=no
2207 DEFAULT_wxUSE_GSTREAMER8
=no
2208 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2209 DEFAULT_wxUSE_INTL
=no
2210 DEFAULT_wxUSE_CONFIG
=no
2211 DEFAULT_wxUSE_FONTMAP
=no
2212 DEFAULT_wxUSE_STREAMS
=no
2213 DEFAULT_wxUSE_SOCKETS
=no
2214 DEFAULT_wxUSE_OLE
=no
2215 DEFAULT_wxUSE_DATAOBJ
=no
2216 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2217 DEFAULT_wxUSE_JOYSTICK
=no
2218 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2219 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2220 DEFAULT_wxUSE_LONGLONG
=no
2221 DEFAULT_wxUSE_GEOMETRY
=no
2223 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2224 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2225 DEFAULT_wxUSE_POSTSCRIPT
=no
2227 DEFAULT_wxUSE_CLIPBOARD
=no
2228 DEFAULT_wxUSE_TOOLTIPS
=no
2229 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2230 DEFAULT_wxUSE_DRAGIMAGE
=no
2231 DEFAULT_wxUSE_SPLINES
=no
2232 DEFAULT_wxUSE_MOUSEWHEEL
=no
2234 DEFAULT_wxUSE_MDI
=no
2235 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2236 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2237 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2239 DEFAULT_wxUSE_RESOURCES
=no
2240 DEFAULT_wxUSE_CONSTRAINTS
=no
2241 DEFAULT_wxUSE_IPC
=no
2242 DEFAULT_wxUSE_HELP
=no
2243 DEFAULT_wxUSE_MS_HTML_HELP
=no
2244 DEFAULT_wxUSE_WXHTML_HELP
=no
2245 DEFAULT_wxUSE_TREELAYOUT
=no
2246 DEFAULT_wxUSE_METAFILE
=no
2247 DEFAULT_wxUSE_MIMETYPE
=no
2248 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2249 DEFAULT_wxUSE_PROTOCOL
=no
2250 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2251 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2252 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2253 DEFAULT_wxUSE_URL
=no
2255 DEFAULT_wxUSE_COMMONDLGS
=no
2256 DEFAULT_wxUSE_CHOICEDLG
=no
2257 DEFAULT_wxUSE_COLOURDLG
=no
2258 DEFAULT_wxUSE_DIRDLG
=no
2259 DEFAULT_wxUSE_FILEDLG
=no
2260 DEFAULT_wxUSE_FINDREPLDLG
=no
2261 DEFAULT_wxUSE_FONTDLG
=no
2262 DEFAULT_wxUSE_MSGDLG
=no
2263 DEFAULT_wxUSE_NUMBERDLG
=no
2264 DEFAULT_wxUSE_TEXTDLG
=no
2265 DEFAULT_wxUSE_SPLASH
=no
2266 DEFAULT_wxUSE_STARTUP_TIPS
=no
2267 DEFAULT_wxUSE_PROGRESSDLG
=no
2268 DEFAULT_wxUSE_WIZARDDLG
=no
2270 DEFAULT_wxUSE_MENUS
=no
2271 DEFAULT_wxUSE_MINIFRAME
=no
2272 DEFAULT_wxUSE_HTML
=no
2273 DEFAULT_wxUSE_RICHTEXT
=no
2274 DEFAULT_wxUSE_XRC
=no
2275 DEFAULT_wxUSE_AUI
=no
2276 DEFAULT_wxUSE_WEBKIT
=no
2277 DEFAULT_wxUSE_FILESYSTEM
=no
2278 DEFAULT_wxUSE_FS_INET
=no
2279 DEFAULT_wxUSE_FS_ZIP
=no
2280 DEFAULT_wxUSE_BUSYINFO
=no
2281 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2282 DEFAULT_wxUSE_ZIPSTREAM
=no
2283 DEFAULT_wxUSE_VALIDATORS
=no
2285 DEFAULT_wxUSE_ACCEL
=no
2286 DEFAULT_wxUSE_BUTTON
=no
2287 DEFAULT_wxUSE_BMPBUTTON
=no
2288 DEFAULT_wxUSE_CALCTRL
=no
2289 DEFAULT_wxUSE_CARET
=no
2290 DEFAULT_wxUSE_CHECKBOX
=no
2291 DEFAULT_wxUSE_CHECKLST
=no
2292 DEFAULT_wxUSE_CHOICE
=no
2293 DEFAULT_wxUSE_CHOICEBOOK
=no
2294 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2295 DEFAULT_wxUSE_COMBOBOX
=no
2296 DEFAULT_wxUSE_COMBOCTRL
=no
2297 DEFAULT_wxUSE_DATEPICKCTRL
=no
2298 DEFAULT_wxUSE_DISPLAY
=no
2299 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2300 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2301 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2302 DEFAULT_wxUSE_GAUGE
=no
2303 DEFAULT_wxUSE_GRID
=no
2304 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2305 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2306 DEFAULT_wxUSE_IMAGLIST
=no
2307 DEFAULT_wxUSE_LISTBOOK
=no
2308 DEFAULT_wxUSE_LISTBOX
=no
2309 DEFAULT_wxUSE_LISTCTRL
=no
2310 DEFAULT_wxUSE_NOTEBOOK
=no
2311 DEFAULT_wxUSE_ODCOMBOBOX
=no
2312 DEFAULT_wxUSE_RADIOBOX
=no
2313 DEFAULT_wxUSE_RADIOBTN
=no
2314 DEFAULT_wxUSE_SASH
=no
2315 DEFAULT_wxUSE_SCROLLBAR
=no
2316 DEFAULT_wxUSE_SLIDER
=no
2317 DEFAULT_wxUSE_SPINBTN
=no
2318 DEFAULT_wxUSE_SPINCTRL
=no
2319 DEFAULT_wxUSE_SPLITTER
=no
2320 DEFAULT_wxUSE_STATBMP
=no
2321 DEFAULT_wxUSE_STATBOX
=no
2322 DEFAULT_wxUSE_STATLINE
=no
2323 DEFAULT_wxUSE_STATTEXT
=no
2324 DEFAULT_wxUSE_STATUSBAR
=yes
2325 DEFAULT_wxUSE_TAB_DIALOG
=no
2326 DEFAULT_wxUSE_TEXTCTRL
=no
2327 DEFAULT_wxUSE_TOGGLEBTN
=no
2328 DEFAULT_wxUSE_TOOLBAR
=no
2329 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2330 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2331 DEFAULT_wxUSE_TREEBOOK
=no
2332 DEFAULT_wxUSE_TOOLBOOK
=no
2333 DEFAULT_wxUSE_TREECTRL
=no
2334 DEFAULT_wxUSE_POPUPWIN
=no
2335 DEFAULT_wxUSE_TIPWINDOW
=no
2337 DEFAULT_wxUSE_UNICODE
=no
2338 DEFAULT_wxUSE_UNICODE_MSLU
=no
2339 DEFAULT_wxUSE_WCSRTOMBS
=no
2341 DEFAULT_wxUSE_PALETTE
=no
2342 DEFAULT_wxUSE_IMAGE
=no
2343 DEFAULT_wxUSE_GIF
=no
2344 DEFAULT_wxUSE_PCX
=no
2345 DEFAULT_wxUSE_PNM
=no
2346 DEFAULT_wxUSE_IFF
=no
2347 DEFAULT_wxUSE_XPM
=no
2348 DEFAULT_wxUSE_ICO_CUR
=no
2349 DEFAULT_wxUSE_ACCESSIBILITY
=no
2351 DEFAULT_wxUSE_MONOLITHIC
=no
2352 DEFAULT_wxUSE_PLUGINS
=no
2353 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2355 DEFAULT_wxUSE_UNIVERSAL
=no
2356 DEFAULT_wxUSE_STL
=no
2358 DEFAULT_wxUSE_NANOX
=no
2360 DEFAULT_wxUSE_THREADS
=yes
2362 DEFAULT_wxUSE_SHARED
=yes
2363 DEFAULT_wxUSE_OPTIMISE
=yes
2364 DEFAULT_wxUSE_PROFILE
=no
2365 DEFAULT_wxUSE_NO_DEPS
=no
2366 DEFAULT_wxUSE_NO_RTTI
=no
2367 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2368 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2369 DEFAULT_wxUSE_RPATH
=yes
2370 DEFAULT_wxUSE_PERMISSIVE
=no
2371 DEFAULT_wxUSE_DEBUG_FLAG
=no
2372 DEFAULT_wxUSE_DEBUG_INFO
=no
2373 DEFAULT_wxUSE_DEBUG_GDB
=no
2374 DEFAULT_wxUSE_MEM_TRACING
=no
2375 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2376 DEFAULT_wxUSE_DMALLOC
=no
2377 DEFAULT_wxUSE_APPLE_IEEE
=yes
2379 DEFAULT_wxUSE_EXCEPTIONS
=yes
2380 DEFAULT_wxUSE_LOG
=yes
2381 DEFAULT_wxUSE_LOGWINDOW
=yes
2382 DEFAULT_wxUSE_LOGGUI
=yes
2383 DEFAULT_wxUSE_LOGDIALOG
=yes
2385 DEFAULT_wxUSE_GUI
=yes
2387 DEFAULT_wxUSE_REGEX
=yes
2388 DEFAULT_wxUSE_XML
=yes
2389 DEFAULT_wxUSE_EXPAT
=yes
2390 DEFAULT_wxUSE_ZLIB
=yes
2391 DEFAULT_wxUSE_LIBPNG
=yes
2392 DEFAULT_wxUSE_LIBJPEG
=yes
2393 DEFAULT_wxUSE_LIBTIFF
=yes
2394 DEFAULT_wxUSE_LIBXPM
=yes
2395 DEFAULT_wxUSE_LIBMSPACK
=yes
2396 DEFAULT_wxUSE_LIBSDL
=no
2397 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2398 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2399 DEFAULT_wxUSE_LIBHILDON
=no
2400 DEFAULT_wxUSE_ODBC
=no
2401 DEFAULT_wxUSE_OPENGL
=no
2403 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2404 DEFAULT_wxUSE_STACKWALKER
=yes
2405 DEFAULT_wxUSE_DEBUGREPORT
=yes
2406 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2407 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2408 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2409 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2410 DEFAULT_wxUSE_DATETIME
=yes
2411 DEFAULT_wxUSE_TIMER
=yes
2412 DEFAULT_wxUSE_STOPWATCH
=yes
2413 DEFAULT_wxUSE_FILE
=yes
2414 DEFAULT_wxUSE_FFILE
=yes
2415 DEFAULT_wxUSE_STDPATHS
=yes
2416 DEFAULT_wxUSE_TEXTBUFFER
=yes
2417 DEFAULT_wxUSE_TEXTFILE
=yes
2418 DEFAULT_wxUSE_SOUND
=yes
2419 DEFAULT_wxUSE_MEDIACTRL
=no
2420 DEFAULT_wxUSE_GSTREAMER8
=no
2421 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2422 DEFAULT_wxUSE_INTL
=yes
2423 DEFAULT_wxUSE_CONFIG
=yes
2424 DEFAULT_wxUSE_FONTMAP
=yes
2425 DEFAULT_wxUSE_STREAMS
=yes
2426 DEFAULT_wxUSE_SOCKETS
=yes
2427 DEFAULT_wxUSE_OLE
=yes
2428 DEFAULT_wxUSE_DATAOBJ
=yes
2429 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2430 DEFAULT_wxUSE_JOYSTICK
=yes
2431 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2432 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2433 DEFAULT_wxUSE_LONGLONG
=yes
2434 DEFAULT_wxUSE_GEOMETRY
=yes
2436 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2437 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2438 DEFAULT_wxUSE_POSTSCRIPT
=yes
2440 DEFAULT_wxUSE_CLIPBOARD
=yes
2441 DEFAULT_wxUSE_TOOLTIPS
=yes
2442 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2443 DEFAULT_wxUSE_DRAGIMAGE
=yes
2444 DEFAULT_wxUSE_SPLINES
=yes
2445 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2447 DEFAULT_wxUSE_MDI
=yes
2448 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2449 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2450 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2452 DEFAULT_wxUSE_RESOURCES
=no
2453 DEFAULT_wxUSE_CONSTRAINTS
=yes
2454 DEFAULT_wxUSE_IPC
=yes
2455 DEFAULT_wxUSE_HELP
=yes
2456 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2457 DEFAULT_wxUSE_WXHTML_HELP
=yes
2458 DEFAULT_wxUSE_TREELAYOUT
=yes
2459 DEFAULT_wxUSE_METAFILE
=yes
2460 DEFAULT_wxUSE_MIMETYPE
=yes
2461 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2462 DEFAULT_wxUSE_PROTOCOL
=yes
2463 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2464 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2465 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2466 DEFAULT_wxUSE_URL
=yes
2468 DEFAULT_wxUSE_COMMONDLGS
=yes
2469 DEFAULT_wxUSE_CHOICEDLG
=yes
2470 DEFAULT_wxUSE_COLOURDLG
=yes
2471 DEFAULT_wxUSE_DIRDLG
=yes
2472 DEFAULT_wxUSE_FILEDLG
=yes
2473 DEFAULT_wxUSE_FINDREPLDLG
=yes
2474 DEFAULT_wxUSE_FONTDLG
=yes
2475 DEFAULT_wxUSE_MSGDLG
=yes
2476 DEFAULT_wxUSE_NUMBERDLG
=yes
2477 DEFAULT_wxUSE_TEXTDLG
=yes
2478 DEFAULT_wxUSE_SPLASH
=yes
2479 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2480 DEFAULT_wxUSE_PROGRESSDLG
=yes
2481 DEFAULT_wxUSE_WIZARDDLG
=yes
2483 DEFAULT_wxUSE_MENUS
=yes
2484 DEFAULT_wxUSE_MINIFRAME
=yes
2485 DEFAULT_wxUSE_HTML
=yes
2486 DEFAULT_wxUSE_RICHTEXT
=yes
2487 DEFAULT_wxUSE_XRC
=yes
2488 DEFAULT_wxUSE_AUI
=yes
2489 DEFAULT_wxUSE_WEBKIT
=yes
2490 DEFAULT_wxUSE_FILESYSTEM
=yes
2491 DEFAULT_wxUSE_FS_INET
=yes
2492 DEFAULT_wxUSE_FS_ZIP
=yes
2493 DEFAULT_wxUSE_BUSYINFO
=yes
2494 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2495 DEFAULT_wxUSE_ZIPSTREAM
=yes
2496 DEFAULT_wxUSE_VALIDATORS
=yes
2498 DEFAULT_wxUSE_ACCEL
=yes
2499 DEFAULT_wxUSE_BUTTON
=yes
2500 DEFAULT_wxUSE_BMPBUTTON
=yes
2501 DEFAULT_wxUSE_CALCTRL
=yes
2502 DEFAULT_wxUSE_CARET
=yes
2503 DEFAULT_wxUSE_CHECKBOX
=yes
2504 DEFAULT_wxUSE_CHECKLST
=yes
2505 DEFAULT_wxUSE_CHOICE
=yes
2506 DEFAULT_wxUSE_CHOICEBOOK
=yes
2507 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2508 DEFAULT_wxUSE_COMBOBOX
=yes
2509 DEFAULT_wxUSE_COMBOCTRL
=yes
2510 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2511 DEFAULT_wxUSE_DISPLAY
=yes
2512 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2513 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2514 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2515 DEFAULT_wxUSE_GAUGE
=yes
2516 DEFAULT_wxUSE_GRID
=yes
2517 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2518 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2519 DEFAULT_wxUSE_IMAGLIST
=yes
2520 DEFAULT_wxUSE_LISTBOOK
=yes
2521 DEFAULT_wxUSE_LISTBOX
=yes
2522 DEFAULT_wxUSE_LISTCTRL
=yes
2523 DEFAULT_wxUSE_NOTEBOOK
=yes
2524 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2525 DEFAULT_wxUSE_RADIOBOX
=yes
2526 DEFAULT_wxUSE_RADIOBTN
=yes
2527 DEFAULT_wxUSE_SASH
=yes
2528 DEFAULT_wxUSE_SCROLLBAR
=yes
2529 DEFAULT_wxUSE_SLIDER
=yes
2530 DEFAULT_wxUSE_SPINBTN
=yes
2531 DEFAULT_wxUSE_SPINCTRL
=yes
2532 DEFAULT_wxUSE_SPLITTER
=yes
2533 DEFAULT_wxUSE_STATBMP
=yes
2534 DEFAULT_wxUSE_STATBOX
=yes
2535 DEFAULT_wxUSE_STATLINE
=yes
2536 DEFAULT_wxUSE_STATTEXT
=yes
2537 DEFAULT_wxUSE_STATUSBAR
=yes
2538 DEFAULT_wxUSE_TAB_DIALOG
=no
2539 DEFAULT_wxUSE_TEXTCTRL
=yes
2540 DEFAULT_wxUSE_TOGGLEBTN
=yes
2541 DEFAULT_wxUSE_TOOLBAR
=yes
2542 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2543 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2544 DEFAULT_wxUSE_TREEBOOK
=yes
2545 DEFAULT_wxUSE_TOOLBOOK
=yes
2546 DEFAULT_wxUSE_TREECTRL
=yes
2547 DEFAULT_wxUSE_POPUPWIN
=yes
2548 DEFAULT_wxUSE_TIPWINDOW
=yes
2550 DEFAULT_wxUSE_UNICODE
=no
2551 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2552 DEFAULT_wxUSE_WCSRTOMBS
=no
2554 DEFAULT_wxUSE_PALETTE
=yes
2555 DEFAULT_wxUSE_IMAGE
=yes
2556 DEFAULT_wxUSE_GIF
=yes
2557 DEFAULT_wxUSE_PCX
=yes
2558 DEFAULT_wxUSE_IFF
=no
2559 DEFAULT_wxUSE_PNM
=yes
2560 DEFAULT_wxUSE_XPM
=yes
2561 DEFAULT_wxUSE_ICO_CUR
=yes
2562 DEFAULT_wxUSE_ACCESSIBILITY
=no
2564 DEFAULT_wxUSE_MONOLITHIC
=no
2565 DEFAULT_wxUSE_PLUGINS
=no
2566 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2568 DEFAULT_wxUSE_GTK2
=yes
2574 for toolkit
in `echo $ALL_TOOLKITS`; do
2575 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2576 if test "x$LINE" != "x" ; then
2577 has_toolkit_in_cache
=1
2578 eval "DEFAULT_$LINE"
2579 eval "CACHE_$toolkit=1"
2581 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2582 if test "x$LINE" != "x" ; then
2583 eval "DEFAULT_$LINE"
2591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2592 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2594 # Check whether --enable-gui or --disable-gui was given.
2595 if test "${enable_gui+set}" = set; then
2596 enableval
="$enable_gui"
2598 if test "$enableval" = yes; then
2599 ac_cv_use_gui
='wxUSE_GUI=yes'
2601 ac_cv_use_gui
='wxUSE_GUI=no'
2606 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x
; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2617 eval "$ac_cv_use_gui"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2622 if test "$wxUSE_GUI" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2633 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2635 # Check whether --enable-monolithic or --disable-monolithic was given.
2636 if test "${enable_monolithic+set}" = set; then
2637 enableval
="$enable_monolithic"
2639 if test "$enableval" = yes; then
2640 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2642 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2647 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2648 if test "x$LINE" != x
; then
2649 eval "DEFAULT_$LINE"
2654 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2658 eval "$ac_cv_use_monolithic"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_MONOLITHIC" = yes; then
2664 echo "$as_me:$LINENO: result: yes" >&5
2665 echo "${ECHO_T}yes" >&6
2667 echo "$as_me:$LINENO: result: no" >&5
2668 echo "${ECHO_T}no" >&6
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2676 # Check whether --enable-plugins or --disable-plugins was given.
2677 if test "${enable_plugins+set}" = set; then
2678 enableval
="$enable_plugins"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2683 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2688 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2699 eval "$ac_cv_use_plugins"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_PLUGINS" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2714 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2715 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2718 # Check whether --with-subdirs or --without-subdirs was given.
2719 if test "${with_subdirs+set}" = set; then
2720 withval
="$with_subdirs"
2722 if test "$withval" = yes; then
2723 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2725 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2730 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x
; then
2732 eval "DEFAULT_$LINE"
2737 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2741 eval "$ac_cv_use_subdirs"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2746 if test "$wxWITH_SUBDIRS" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2755 if test "$wxUSE_GUI" = "yes"; then
2759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2760 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2762 # Check whether --enable-universal or --disable-universal was given.
2763 if test "${enable_universal+set}" = set; then
2764 enableval
="$enable_universal"
2766 if test "$enableval" = yes; then
2767 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2769 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2774 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x
; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2785 eval "$ac_cv_use_universal"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_UNIVERSAL" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2799 # Check whether --with-gtk or --without-gtk was given.
2800 if test "${with_gtk+set}" = set; then
2802 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2805 # Check whether --with-motif or --without-motif was given.
2806 if test "${with_motif+set}" = set; then
2807 withval
="$with_motif"
2808 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2811 # Check whether --with-mac or --without-mac was given.
2812 if test "${with_mac+set}" = set; then
2814 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2817 # Check whether --with-cocoa or --without-cocoa was given.
2818 if test "${with_cocoa+set}" = set; then
2819 withval
="$with_cocoa"
2820 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2823 # Check whether --with-wine or --without-wine was given.
2824 if test "${with_wine+set}" = set; then
2825 withval
="$with_wine"
2826 wxUSE_WINE
="$withval" CACHE_WINE
=1
2829 # Check whether --with-msw or --without-msw was given.
2830 if test "${with_msw+set}" = set; then
2832 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2835 # Check whether --with-pm or --without-pm was given.
2836 if test "${with_pm+set}" = set; then
2838 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2841 # Check whether --with-mgl or --without-mgl was given.
2842 if test "${with_mgl+set}" = set; then
2844 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2847 # Check whether --with-microwin or --without-microwin was given.
2848 if test "${with_microwin+set}" = set; then
2849 withval
="$with_microwin"
2850 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2853 # Check whether --with-x11 or --without-x11 was given.
2854 if test "${with_x11+set}" = set; then
2856 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2861 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2863 # Check whether --enable-nanox or --disable-nanox was given.
2864 if test "${enable_nanox+set}" = set; then
2865 enableval
="$enable_nanox"
2867 if test "$enableval" = yes; then
2868 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2870 ac_cv_use_nanox
='wxUSE_NANOX=no'
2875 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2876 if test "x$LINE" != x
; then
2877 eval "DEFAULT_$LINE"
2882 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2886 eval "$ac_cv_use_nanox"
2887 if test "$no_cache" != 1; then
2888 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2891 if test "$wxUSE_NANOX" = yes; then
2892 echo "$as_me:$LINENO: result: yes" >&5
2893 echo "${ECHO_T}yes" >&6
2895 echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6
2900 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2901 if test "${enable_gtk2+set}" = set; then
2902 enableval
="$enable_gtk2"
2903 wxUSE_GTK2
="$enableval"
2907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2908 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2910 # Check whether --enable-gpe or --disable-gpe was given.
2911 if test "${enable_gpe+set}" = set; then
2912 enableval
="$enable_gpe"
2914 if test "$enableval" = yes; then
2915 ac_cv_use_gpe
='wxUSE_GPE=yes'
2917 ac_cv_use_gpe
='wxUSE_GPE=no'
2922 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x
; then
2924 eval "DEFAULT_$LINE"
2929 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2933 eval "$ac_cv_use_gpe"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_GPE" = yes; then
2939 echo "$as_me:$LINENO: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2948 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2949 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2952 # Check whether --with-libpng or --without-libpng was given.
2953 if test "${with_libpng+set}" = set; then
2954 withval
="$with_libpng"
2956 if test "$withval" = yes; then
2957 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2958 elif test "$withval" = no
; then
2959 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2960 elif test "$withval" = sys
; then
2961 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2962 elif test "$withval" = builtin; then
2963 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2965 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2966 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2967 { (exit 1); exit 1; }; }
2972 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x
; then
2974 eval "DEFAULT_$LINE"
2979 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2983 eval "$ac_cv_use_libpng"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2988 if test "$wxUSE_LIBPNG" = yes; then
2989 echo "$as_me:$LINENO: result: yes" >&5
2990 echo "${ECHO_T}yes" >&6
2991 elif test "$wxUSE_LIBPNG" = no
; then
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2994 elif test "$wxUSE_LIBPNG" = sys
; then
2995 echo "$as_me:$LINENO: result: system version" >&5
2996 echo "${ECHO_T}system version" >&6
2997 elif test "$wxUSE_LIBPNG" = builtin; then
2998 echo "$as_me:$LINENO: result: builtin version" >&5
2999 echo "${ECHO_T}builtin version" >&6
3001 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3002 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3003 { (exit 1); exit 1; }; }
3007 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3008 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3011 # Check whether --with-libjpeg or --without-libjpeg was given.
3012 if test "${with_libjpeg+set}" = set; then
3013 withval
="$with_libjpeg"
3015 if test "$withval" = yes; then
3016 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3017 elif test "$withval" = no
; then
3018 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3019 elif test "$withval" = sys
; then
3020 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3031 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3042 eval "$ac_cv_use_libjpeg"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_LIBJPEG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBJPEG" = no
; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBJPEG" = sys
; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBJPEG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3066 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3067 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3070 # Check whether --with-libtiff or --without-libtiff was given.
3071 if test "${with_libtiff+set}" = set; then
3072 withval
="$with_libtiff"
3074 if test "$withval" = yes; then
3075 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3076 elif test "$withval" = no
; then
3077 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3078 elif test "$withval" = sys
; then
3079 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3090 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3101 eval "$ac_cv_use_libtiff"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_LIBTIFF" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBTIFF" = no
; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBTIFF" = sys
; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBTIFF" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3125 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3126 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3129 # Check whether --with-libxpm or --without-libxpm was given.
3130 if test "${with_libxpm+set}" = set; then
3131 withval
="$with_libxpm"
3133 if test "$withval" = yes; then
3134 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3135 elif test "$withval" = no
; then
3136 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3137 elif test "$withval" = sys
; then
3138 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3149 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3160 eval "$ac_cv_use_libxpm"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_LIBXPM" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBXPM" = no
; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBXPM" = sys
; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBXPM" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3185 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3186 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3189 # Check whether --with-libmspack or --without-libmspack was given.
3190 if test "${with_libmspack+set}" = set; then
3191 withval
="$with_libmspack"
3193 if test "$withval" = yes; then
3194 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3196 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3201 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3212 eval "$ac_cv_use_libmspack"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_LIBMSPACK" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3227 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3228 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3231 # Check whether --with-sdl or --without-sdl was given.
3232 if test "${with_sdl+set}" = set; then
3235 if test "$withval" = yes; then
3236 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3238 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3243 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x
; then
3245 eval "DEFAULT_$LINE"
3250 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3254 eval "$ac_cv_use_sdl"
3255 if test "$no_cache" != 1; then
3256 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3259 if test "$wxUSE_LIBSDL" = yes; then
3260 echo "$as_me:$LINENO: result: yes" >&5
3261 echo "${ECHO_T}yes" >&6
3263 echo "$as_me:$LINENO: result: no" >&5
3264 echo "${ECHO_T}no" >&6
3269 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3270 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3273 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3274 if test "${with_gnomeprint+set}" = set; then
3275 withval
="$with_gnomeprint"
3277 if test "$withval" = yes; then
3278 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3280 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3285 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3296 eval "$ac_cv_use_gnomeprint"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3311 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3312 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3315 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3316 if test "${with_gnomevfs+set}" = set; then
3317 withval
="$with_gnomevfs"
3319 if test "$withval" = yes; then
3320 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3322 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3327 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x
; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3338 eval "$ac_cv_use_gnomevfs"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3353 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3354 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3357 # Check whether --with-hildon or --without-hildon was given.
3358 if test "${with_hildon+set}" = set; then
3359 withval
="$with_hildon"
3361 if test "$withval" = yes; then
3362 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3364 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3369 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x
; then
3371 eval "DEFAULT_$LINE"
3376 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3380 eval "$ac_cv_use_hildon"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_LIBHILDON" = yes; then
3386 echo "$as_me:$LINENO: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6
3389 echo "$as_me:$LINENO: result: no" >&5
3390 echo "${ECHO_T}no" >&6
3395 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3396 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3399 # Check whether --with-opengl or --without-opengl was given.
3400 if test "${with_opengl+set}" = set; then
3401 withval
="$with_opengl"
3403 if test "$withval" = yes; then
3404 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3406 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3411 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x
; then
3413 eval "DEFAULT_$LINE"
3418 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3422 eval "$ac_cv_use_opengl"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_OPENGL" = yes; then
3428 echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3440 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3441 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3444 # Check whether --with-dmalloc or --without-dmalloc was given.
3445 if test "${with_dmalloc+set}" = set; then
3446 withval
="$with_dmalloc"
3448 if test "$withval" = yes; then
3449 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3451 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3456 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x
; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3467 eval "$ac_cv_use_dmalloc"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_DMALLOC" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3481 echo "$as_me:$LINENO: checking for --with-regex" >&5
3482 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3485 # Check whether --with-regex or --without-regex was given.
3486 if test "${with_regex+set}" = set; then
3487 withval
="$with_regex"
3489 if test "$withval" = yes; then
3490 ac_cv_use_regex
='wxUSE_REGEX=yes'
3491 elif test "$withval" = no
; then
3492 ac_cv_use_regex
='wxUSE_REGEX=no'
3493 elif test "$withval" = sys
; then
3494 ac_cv_use_regex
='wxUSE_REGEX=sys'
3495 elif test "$withval" = builtin; then
3496 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3498 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3499 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3500 { (exit 1); exit 1; }; }
3505 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x
; then
3507 eval "DEFAULT_$LINE"
3512 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3516 eval "$ac_cv_use_regex"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3521 if test "$wxUSE_REGEX" = yes; then
3522 echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6
3524 elif test "$wxUSE_REGEX" = no
; then
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3527 elif test "$wxUSE_REGEX" = sys
; then
3528 echo "$as_me:$LINENO: result: system version" >&5
3529 echo "${ECHO_T}system version" >&6
3530 elif test "$wxUSE_REGEX" = builtin; then
3531 echo "$as_me:$LINENO: result: builtin version" >&5
3532 echo "${ECHO_T}builtin version" >&6
3534 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3535 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3536 { (exit 1); exit 1; }; }
3540 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3541 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3544 # Check whether --with-zlib or --without-zlib was given.
3545 if test "${with_zlib+set}" = set; then
3546 withval
="$with_zlib"
3548 if test "$withval" = yes; then
3549 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3550 elif test "$withval" = no
; then
3551 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3552 elif test "$withval" = sys
; then
3553 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3554 elif test "$withval" = builtin; then
3555 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3557 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3558 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3559 { (exit 1); exit 1; }; }
3564 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3575 eval "$ac_cv_use_zlib"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_ZLIB" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3583 elif test "$wxUSE_ZLIB" = no
; then
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 elif test "$wxUSE_ZLIB" = sys
; then
3587 echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6
3589 elif test "$wxUSE_ZLIB" = builtin; then
3590 echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3599 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3600 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3603 # Check whether --with-odbc or --without-odbc was given.
3604 if test "${with_odbc+set}" = set; then
3605 withval
="$with_odbc"
3607 if test "$withval" = yes; then
3608 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3609 elif test "$withval" = no
; then
3610 ac_cv_use_odbc
='wxUSE_ODBC=no'
3611 elif test "$withval" = sys
; then
3612 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3613 elif test "$withval" = builtin; then
3614 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3623 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3634 eval "$ac_cv_use_odbc"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_ODBC" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 elif test "$wxUSE_ODBC" = no
; then
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 elif test "$wxUSE_ODBC" = sys
; then
3646 echo "$as_me:$LINENO: result: system version" >&5
3647 echo "${ECHO_T}system version" >&6
3648 elif test "$wxUSE_ODBC" = builtin; then
3649 echo "$as_me:$LINENO: result: builtin version" >&5
3650 echo "${ECHO_T}builtin version" >&6
3652 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3653 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3658 echo "$as_me:$LINENO: checking for --with-expat" >&5
3659 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3662 # Check whether --with-expat or --without-expat was given.
3663 if test "${with_expat+set}" = set; then
3664 withval
="$with_expat"
3666 if test "$withval" = yes; then
3667 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3668 elif test "$withval" = no
; then
3669 ac_cv_use_expat
='wxUSE_EXPAT=no'
3670 elif test "$withval" = sys
; then
3671 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3672 elif test "$withval" = builtin; then
3673 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3682 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3693 eval "$ac_cv_use_expat"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_EXPAT" = yes; then
3699 echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6
3701 elif test "$wxUSE_EXPAT" = no
; then
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3704 elif test "$wxUSE_EXPAT" = sys
; then
3705 echo "$as_me:$LINENO: result: system version" >&5
3706 echo "${ECHO_T}system version" >&6
3707 elif test "$wxUSE_EXPAT" = builtin; then
3708 echo "$as_me:$LINENO: result: builtin version" >&5
3709 echo "${ECHO_T}builtin version" >&6
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3721 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3723 # Check whether --enable-shared or --disable-shared was given.
3724 if test "${enable_shared+set}" = set; then
3725 enableval
="$enable_shared"
3727 if test "$enableval" = yes; then
3728 ac_cv_use_shared
='wxUSE_SHARED=yes'
3730 ac_cv_use_shared
='wxUSE_SHARED=no'
3735 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x
; then
3737 eval "DEFAULT_$LINE"
3742 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3746 eval "$ac_cv_use_shared"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_SHARED" = yes; then
3752 echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3762 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3764 # Check whether --enable-optimise or --disable-optimise was given.
3765 if test "${enable_optimise+set}" = set; then
3766 enableval
="$enable_optimise"
3768 if test "$enableval" = yes; then
3769 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3771 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3776 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x
; then
3778 eval "DEFAULT_$LINE"
3783 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3787 eval "$ac_cv_use_optimise"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_OPTIMISE" = yes; then
3793 echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3803 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3805 # Check whether --enable-debug or --disable-debug was given.
3806 if test "${enable_debug+set}" = set; then
3807 enableval
="$enable_debug"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3812 ac_cv_use_debug
='wxUSE_DEBUG=no'
3817 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x
; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3828 eval "$ac_cv_use_debug"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_DEBUG" = yes; then
3834 echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3844 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3846 # Check whether --enable-stl or --disable-stl was given.
3847 if test "${enable_stl+set}" = set; then
3848 enableval
="$enable_stl"
3850 if test "$enableval" = yes; then
3851 ac_cv_use_stl
='wxUSE_STL=yes'
3853 ac_cv_use_stl
='wxUSE_STL=no'
3858 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x
; then
3860 eval "DEFAULT_$LINE"
3865 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3869 eval "$ac_cv_use_stl"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3874 if test "$wxUSE_STL" = yes; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3878 echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3882 if test "$USE_OS2" = "1"; then
3883 DEFAULT_wxUSE_OMF
=no
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3889 # Check whether --enable-omf or --disable-omf was given.
3890 if test "${enable_omf+set}" = set; then
3891 enableval
="$enable_omf"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_omf
='wxUSE_OMF=yes'
3896 ac_cv_use_omf
='wxUSE_OMF=no'
3901 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3912 eval "$ac_cv_use_omf"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_OMF" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3927 if test "$wxUSE_DEBUG" = "yes"; then
3928 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3929 DEFAULT_wxUSE_DEBUG_INFO
=yes
3931 elif test "$wxUSE_DEBUG" = "no"; then
3932 DEFAULT_wxUSE_DEBUG_FLAG
=no
3933 DEFAULT_wxUSE_DEBUG_INFO
=no
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3942 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3943 if test "${enable_debug_flag+set}" = set; then
3944 enableval
="$enable_debug_flag"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3949 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3954 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3965 eval "$ac_cv_use_debug_flag"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_DEBUG_FLAG" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3983 # Check whether --enable-debug_info or --disable-debug_info was given.
3984 if test "${enable_debug_info+set}" = set; then
3985 enableval
="$enable_debug_info"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3990 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3995 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4006 eval "$ac_cv_use_debug_info"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_DEBUG_INFO" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4024 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4025 if test "${enable_debug_gdb+set}" = set; then
4026 enableval
="$enable_debug_gdb"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4031 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4036 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x
; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4047 eval "$ac_cv_use_debug_gdb"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4052 if test "$wxUSE_DEBUG_GDB" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4065 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4066 if test "${enable_debug_cntxt+set}" = set; then
4067 enableval
="$enable_debug_cntxt"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4072 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4077 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x
; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4088 eval "$ac_cv_use_debug_cntxt"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4106 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4107 if test "${enable_mem_tracing+set}" = set; then
4108 enableval
="$enable_mem_tracing"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4113 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4118 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x
; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4129 eval "$ac_cv_use_mem_tracing"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_MEM_TRACING" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4147 # Check whether --enable-profile or --disable-profile was given.
4148 if test "${enable_profile+set}" = set; then
4149 enableval
="$enable_profile"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4154 ac_cv_use_profile
='wxUSE_PROFILE=no'
4159 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x
; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4170 eval "$ac_cv_use_profile"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_PROFILE" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4188 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4189 if test "${enable_no_rtti+set}" = set; then
4190 enableval
="$enable_no_rtti"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4195 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4200 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x
; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4211 eval "$ac_cv_use_no_rtti"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_NO_RTTI" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4229 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4230 if test "${enable_no_exceptions+set}" = set; then
4231 enableval
="$enable_no_exceptions"
4233 if test "$enableval" = yes; then
4234 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4236 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4241 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x
; then
4243 eval "DEFAULT_$LINE"
4248 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4252 eval "$ac_cv_use_no_exceptions"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4270 # Check whether --enable-permissive or --disable-permissive was given.
4271 if test "${enable_permissive+set}" = set; then
4272 enableval
="$enable_permissive"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4277 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4282 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4293 eval "$ac_cv_use_permissive"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_PERMISSIVE" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4311 # Check whether --enable-no_deps or --disable-no_deps was given.
4312 if test "${enable_no_deps+set}" = set; then
4313 enableval
="$enable_no_deps"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4318 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4323 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4334 eval "$ac_cv_use_no_deps"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_NO_DEPS" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4352 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4353 if test "${enable_universal_binary+set}" = set; then
4354 enableval
="$enable_universal_binary"
4356 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4360 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4363 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4366 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4371 eval "$wx_cv_use_universal_binary"
4372 if test "$no_cache" != 1; then
4373 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4376 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4377 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4383 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4385 # Check whether --enable-compat24 or --disable-compat24 was given.
4386 if test "${enable_compat24+set}" = set; then
4387 enableval
="$enable_compat24"
4389 if test "$enableval" = yes; then
4390 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4392 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4397 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x
; then
4399 eval "DEFAULT_$LINE"
4404 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4408 eval "$ac_cv_use_compat24"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4413 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4417 echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6
4422 enablestring
=disable
4423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4426 # Check whether --enable-compat26 or --disable-compat26 was given.
4427 if test "${enable_compat26+set}" = set; then
4428 enableval
="$enable_compat26"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4433 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4438 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4449 eval "$ac_cv_use_compat26"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4454 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4455 echo "$as_me:$LINENO: result: yes" >&5
4456 echo "${ECHO_T}yes" >&6
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4468 # Check whether --enable-rpath or --disable-rpath was given.
4469 if test "${enable_rpath+set}" = set; then
4470 enableval
="$enable_rpath"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4475 ac_cv_use_rpath
='wxUSE_RPATH=no'
4480 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x
; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4491 eval "$ac_cv_use_rpath"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_RPATH" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4510 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4512 # Check whether --enable-intl or --disable-intl was given.
4513 if test "${enable_intl+set}" = set; then
4514 enableval
="$enable_intl"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_intl
='wxUSE_INTL=yes'
4519 ac_cv_use_intl
='wxUSE_INTL=no'
4524 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4535 eval "$ac_cv_use_intl"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_INTL" = yes; then
4541 echo "$as_me:$LINENO: result: yes" >&5
4542 echo "${ECHO_T}yes" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4553 # Check whether --enable-config or --disable-config was given.
4554 if test "${enable_config+set}" = set; then
4555 enableval
="$enable_config"
4557 if test "$enableval" = yes; then
4558 ac_cv_use_config
='wxUSE_CONFIG=yes'
4560 ac_cv_use_config
='wxUSE_CONFIG=no'
4565 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x
; then
4567 eval "DEFAULT_$LINE"
4572 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4576 eval "$ac_cv_use_config"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_CONFIG" = yes; then
4582 echo "$as_me:$LINENO: result: yes" >&5
4583 echo "${ECHO_T}yes" >&6
4585 echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6
4592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4595 # Check whether --enable-protocols or --disable-protocols was given.
4596 if test "${enable_protocols+set}" = set; then
4597 enableval
="$enable_protocols"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4602 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4607 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4618 eval "$ac_cv_use_protocols"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_PROTOCOL" = yes; then
4624 echo "$as_me:$LINENO: result: yes" >&5
4625 echo "${ECHO_T}yes" >&6
4627 echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6
4633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4636 # Check whether --enable-ftp or --disable-ftp was given.
4637 if test "${enable_ftp+set}" = set; then
4638 enableval
="$enable_ftp"
4640 if test "$enableval" = yes; then
4641 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4643 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4648 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x
; then
4650 eval "DEFAULT_$LINE"
4655 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4659 eval "$ac_cv_use_ftp"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4665 echo "$as_me:$LINENO: result: yes" >&5
4666 echo "${ECHO_T}yes" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4675 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4677 # Check whether --enable-http or --disable-http was given.
4678 if test "${enable_http+set}" = set; then
4679 enableval
="$enable_http"
4681 if test "$enableval" = yes; then
4682 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4684 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4689 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4690 if test "x$LINE" != x
; then
4691 eval "DEFAULT_$LINE"
4696 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4700 eval "$ac_cv_use_http"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4705 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4706 echo "$as_me:$LINENO: result: yes" >&5
4707 echo "${ECHO_T}yes" >&6
4709 echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6
4715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4718 # Check whether --enable-fileproto or --disable-fileproto was given.
4719 if test "${enable_fileproto+set}" = set; then
4720 enableval
="$enable_fileproto"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4725 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4730 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x
; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4741 eval "$ac_cv_use_fileproto"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4746 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4747 echo "$as_me:$LINENO: result: yes" >&5
4748 echo "${ECHO_T}yes" >&6
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4759 # Check whether --enable-sockets or --disable-sockets was given.
4760 if test "${enable_sockets+set}" = set; then
4761 enableval
="$enable_sockets"
4763 if test "$enableval" = yes; then
4764 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4766 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4771 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x
; then
4773 eval "DEFAULT_$LINE"
4778 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4782 eval "$ac_cv_use_sockets"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_SOCKETS" = yes; then
4788 echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4791 echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6
4797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4800 # Check whether --enable-ole or --disable-ole was given.
4801 if test "${enable_ole+set}" = set; then
4802 enableval
="$enable_ole"
4804 if test "$enableval" = yes; then
4805 ac_cv_use_ole
='wxUSE_OLE=yes'
4807 ac_cv_use_ole
='wxUSE_OLE=no'
4812 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x
; then
4814 eval "DEFAULT_$LINE"
4819 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4823 eval "$ac_cv_use_ole"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_OLE" = yes; then
4829 echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6
4832 echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6
4838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4841 # Check whether --enable-dataobj or --disable-dataobj was given.
4842 if test "${enable_dataobj+set}" = set; then
4843 enableval
="$enable_dataobj"
4845 if test "$enableval" = yes; then
4846 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4848 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4853 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x
; then
4855 eval "DEFAULT_$LINE"
4860 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4864 eval "$ac_cv_use_dataobj"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4869 if test "$wxUSE_DATAOBJ" = yes; then
4870 echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4883 # Check whether --enable-ipc or --disable-ipc was given.
4884 if test "${enable_ipc+set}" = set; then
4885 enableval
="$enable_ipc"
4887 if test "$enableval" = yes; then
4888 ac_cv_use_ipc
='wxUSE_IPC=yes'
4890 ac_cv_use_ipc
='wxUSE_IPC=no'
4895 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x
; then
4897 eval "DEFAULT_$LINE"
4902 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4906 eval "$ac_cv_use_ipc"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4911 if test "$wxUSE_IPC" = yes; then
4912 echo "$as_me:$LINENO: result: yes" >&5
4913 echo "${ECHO_T}yes" >&6
4915 echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6
4922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4923 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4925 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4926 if test "${enable_apple_ieee+set}" = set; then
4927 enableval
="$enable_apple_ieee"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4932 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4937 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4948 eval "$ac_cv_use_apple_ieee"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_APPLE_IEEE" = yes; then
4954 echo "$as_me:$LINENO: result: yes" >&5
4955 echo "${ECHO_T}yes" >&6
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4966 # Check whether --enable-arcstream or --disable-arcstream was given.
4967 if test "${enable_arcstream+set}" = set; then
4968 enableval
="$enable_arcstream"
4970 if test "$enableval" = yes; then
4971 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4973 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4978 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x
; then
4980 eval "DEFAULT_$LINE"
4985 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4989 eval "$ac_cv_use_arcstream"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4995 echo "$as_me:$LINENO: result: yes" >&5
4996 echo "${ECHO_T}yes" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5005 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5007 # Check whether --enable-backtrace or --disable-backtrace was given.
5008 if test "${enable_backtrace+set}" = set; then
5009 enableval
="$enable_backtrace"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5014 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5019 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5030 eval "$ac_cv_use_backtrace"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_STACKWALKER" = yes; then
5036 echo "$as_me:$LINENO: result: yes" >&5
5037 echo "${ECHO_T}yes" >&6
5039 echo "$as_me:$LINENO: result: no" >&5
5040 echo "${ECHO_T}no" >&6
5045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5048 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5049 if test "${enable_catch_segvs+set}" = set; then
5050 enableval
="$enable_catch_segvs"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5055 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5060 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5071 eval "$ac_cv_use_catch_segvs"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5076 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5077 echo "$as_me:$LINENO: result: yes" >&5
5078 echo "${ECHO_T}yes" >&6
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5089 # Check whether --enable-cmdline or --disable-cmdline was given.
5090 if test "${enable_cmdline+set}" = set; then
5091 enableval
="$enable_cmdline"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5096 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5101 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5112 eval "$ac_cv_use_cmdline"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5117 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5130 # Check whether --enable-datetime or --disable-datetime was given.
5131 if test "${enable_datetime+set}" = set; then
5132 enableval
="$enable_datetime"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5137 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5142 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5153 eval "$ac_cv_use_datetime"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_DATETIME" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5171 # Check whether --enable-debugreport or --disable-debugreport was given.
5172 if test "${enable_debugreport+set}" = set; then
5173 enableval
="$enable_debugreport"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5178 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5183 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5194 eval "$ac_cv_use_debugreport"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_DEBUGREPORT" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5212 # Check whether --enable-dialupman or --disable-dialupman was given.
5213 if test "${enable_dialupman+set}" = set; then
5214 enableval
="$enable_dialupman"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5219 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5224 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5235 eval "$ac_cv_use_dialupman"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5240 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5253 # Check whether --enable-dynlib or --disable-dynlib was given.
5254 if test "${enable_dynlib+set}" = set; then
5255 enableval
="$enable_dynlib"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5260 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5265 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5276 eval "$ac_cv_use_dynlib"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5294 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5295 if test "${enable_dynamicloader+set}" = set; then
5296 enableval
="$enable_dynamicloader"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5301 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5306 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5317 eval "$ac_cv_use_dynamicloader"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5335 # Check whether --enable-exceptions or --disable-exceptions was given.
5336 if test "${enable_exceptions+set}" = set; then
5337 enableval
="$enable_exceptions"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5342 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5347 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5358 eval "$ac_cv_use_exceptions"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_EXCEPTIONS" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5376 # Check whether --enable-ffile or --disable-ffile was given.
5377 if test "${enable_ffile+set}" = set; then
5378 enableval
="$enable_ffile"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5383 ac_cv_use_ffile
='wxUSE_FFILE=no'
5388 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5399 eval "$ac_cv_use_ffile"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_FFILE" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5417 # Check whether --enable-file or --disable-file was given.
5418 if test "${enable_file+set}" = set; then
5419 enableval
="$enable_file"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_file
='wxUSE_FILE=yes'
5424 ac_cv_use_file
='wxUSE_FILE=no'
5429 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5440 eval "$ac_cv_use_file"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_FILE" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5458 # Check whether --enable-filesystem or --disable-filesystem was given.
5459 if test "${enable_filesystem+set}" = set; then
5460 enableval
="$enable_filesystem"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5465 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5470 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5481 eval "$ac_cv_use_filesystem"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_FILESYSTEM" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5499 # Check whether --enable-fontmap or --disable-fontmap was given.
5500 if test "${enable_fontmap+set}" = set; then
5501 enableval
="$enable_fontmap"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5506 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5511 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5522 eval "$ac_cv_use_fontmap"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_FONTMAP" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5540 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5541 if test "${enable_fs_inet+set}" = set; then
5542 enableval
="$enable_fs_inet"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5547 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5552 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5563 eval "$ac_cv_use_fs_inet"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_FS_INET" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5581 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5582 if test "${enable_fs_zip+set}" = set; then
5583 enableval
="$enable_fs_zip"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5588 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5593 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5604 eval "$ac_cv_use_fs_zip"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_FS_ZIP" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5622 # Check whether --enable-geometry or --disable-geometry was given.
5623 if test "${enable_geometry+set}" = set; then
5624 enableval
="$enable_geometry"
5626 if test "$enableval" = yes; then
5627 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5629 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5634 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x
; then
5636 eval "DEFAULT_$LINE"
5641 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5645 eval "$ac_cv_use_geometry"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_GEOMETRY" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5663 # Check whether --enable-log or --disable-log was given.
5664 if test "${enable_log+set}" = set; then
5665 enableval
="$enable_log"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_log
='wxUSE_LOG=yes'
5670 ac_cv_use_log
='wxUSE_LOG=no'
5675 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5686 eval "$ac_cv_use_log"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_LOG" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5704 # Check whether --enable-longlong or --disable-longlong was given.
5705 if test "${enable_longlong+set}" = set; then
5706 enableval
="$enable_longlong"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5711 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5716 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x
; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5727 eval "$ac_cv_use_longlong"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_LONGLONG" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5745 # Check whether --enable-mimetype or --disable-mimetype was given.
5746 if test "${enable_mimetype+set}" = set; then
5747 enableval
="$enable_mimetype"
5749 if test "$enableval" = yes; then
5750 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5752 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5757 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x
; then
5759 eval "DEFAULT_$LINE"
5764 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5768 eval "$ac_cv_use_mimetype"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5773 if test "$wxUSE_MIMETYPE" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5786 # Check whether --enable-mslu or --disable-mslu was given.
5787 if test "${enable_mslu+set}" = set; then
5788 enableval
="$enable_mslu"
5790 if test "$enableval" = yes; then
5791 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5793 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5798 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x
; then
5800 eval "DEFAULT_$LINE"
5805 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5809 eval "$ac_cv_use_mslu"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_UNICODE_MSLU" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5827 # Check whether --enable-snglinst or --disable-snglinst was given.
5828 if test "${enable_snglinst+set}" = set; then
5829 enableval
="$enable_snglinst"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5834 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5839 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x
; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5850 eval "$ac_cv_use_snglinst"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5868 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5869 if test "${enable_std_iostreams+set}" = set; then
5870 enableval
="$enable_std_iostreams"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5875 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5880 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5891 eval "$ac_cv_use_std_iostreams"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_STD_IOSTREAM" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5909 # Check whether --enable-std_string or --disable-std_string was given.
5910 if test "${enable_std_string+set}" = set; then
5911 enableval
="$enable_std_string"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5916 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5921 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5932 eval "$ac_cv_use_std_string"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_STD_STRING" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5950 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5951 if test "${enable_stdpaths+set}" = set; then
5952 enableval
="$enable_stdpaths"
5954 if test "$enableval" = yes; then
5955 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5957 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5962 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x
; then
5964 eval "DEFAULT_$LINE"
5969 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5973 eval "$ac_cv_use_stdpaths"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_STDPATHS" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5991 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5992 if test "${enable_stopwatch+set}" = set; then
5993 enableval
="$enable_stopwatch"
5995 if test "$enableval" = yes; then
5996 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5998 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6003 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x
; then
6005 eval "DEFAULT_$LINE"
6010 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6014 eval "$ac_cv_use_stopwatch"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_STOPWATCH" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6032 # Check whether --enable-streams or --disable-streams was given.
6033 if test "${enable_streams+set}" = set; then
6034 enableval
="$enable_streams"
6036 if test "$enableval" = yes; then
6037 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6039 ac_cv_use_streams
='wxUSE_STREAMS=no'
6044 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x
; then
6046 eval "DEFAULT_$LINE"
6051 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6055 eval "$ac_cv_use_streams"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_STREAMS" = yes; then
6061 echo "$as_me:$LINENO: result: yes" >&5
6062 echo "${ECHO_T}yes" >&6
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6073 # Check whether --enable-system_options or --disable-system_options was given.
6074 if test "${enable_system_options+set}" = set; then
6075 enableval
="$enable_system_options"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6080 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6085 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6096 eval "$ac_cv_use_system_options"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6114 # Check whether --enable-textbuf or --disable-textbuf was given.
6115 if test "${enable_textbuf+set}" = set; then
6116 enableval
="$enable_textbuf"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6121 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6126 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x
; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6137 eval "$ac_cv_use_textbuf"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_TEXTBUFFER" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6155 # Check whether --enable-textfile or --disable-textfile was given.
6156 if test "${enable_textfile+set}" = set; then
6157 enableval
="$enable_textfile"
6159 if test "$enableval" = yes; then
6160 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6162 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6167 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x
; then
6169 eval "DEFAULT_$LINE"
6174 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6178 eval "$ac_cv_use_textfile"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_TEXTFILE" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6196 # Check whether --enable-timer or --disable-timer was given.
6197 if test "${enable_timer+set}" = set; then
6198 enableval
="$enable_timer"
6200 if test "$enableval" = yes; then
6201 ac_cv_use_timer
='wxUSE_TIMER=yes'
6203 ac_cv_use_timer
='wxUSE_TIMER=no'
6208 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x
; then
6210 eval "DEFAULT_$LINE"
6215 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6219 eval "$ac_cv_use_timer"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6224 if test "$wxUSE_TIMER" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6237 # Check whether --enable-unicode or --disable-unicode was given.
6238 if test "${enable_unicode+set}" = set; then
6239 enableval
="$enable_unicode"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6244 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6249 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6260 eval "$ac_cv_use_unicode"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_UNICODE" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6278 # Check whether --enable-sound or --disable-sound was given.
6279 if test "${enable_sound+set}" = set; then
6280 enableval
="$enable_sound"
6282 if test "$enableval" = yes; then
6283 ac_cv_use_sound
='wxUSE_SOUND=yes'
6285 ac_cv_use_sound
='wxUSE_SOUND=no'
6290 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x
; then
6292 eval "DEFAULT_$LINE"
6297 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6301 eval "$ac_cv_use_sound"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6306 if test "$wxUSE_SOUND" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6319 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6320 if test "${enable_mediactrl+set}" = set; then
6321 enableval
="$enable_mediactrl"
6323 if test "$enableval" = yes; then
6324 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6326 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6331 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x
; then
6333 eval "DEFAULT_$LINE"
6338 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6342 eval "$ac_cv_use_mediactrl"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6347 if test "$wxUSE_MEDIACTRL" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6360 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6361 if test "${enable_gstreamer8+set}" = set; then
6362 enableval
="$enable_gstreamer8"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6367 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6372 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6383 eval "$ac_cv_use_gstreamer8"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6388 if test "$wxUSE_GSTREAMER8" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6399 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6401 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6402 if test "${enable_printfposparam+set}" = set; then
6403 enableval
="$enable_printfposparam"
6405 if test "$enableval" = yes; then
6406 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6408 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6413 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x
; then
6415 eval "DEFAULT_$LINE"
6420 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6424 eval "$ac_cv_use_printfposparam"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6429 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6430 echo "$as_me:$LINENO: result: yes" >&5
6431 echo "${ECHO_T}yes" >&6
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6440 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6442 # Check whether --enable-zipstream or --disable-zipstream was given.
6443 if test "${enable_zipstream+set}" = set; then
6444 enableval
="$enable_zipstream"
6446 if test "$enableval" = yes; then
6447 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6449 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6454 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x
; then
6456 eval "DEFAULT_$LINE"
6461 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6465 eval "$ac_cv_use_zipstream"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6470 if test "$wxUSE_ZIPSTREAM" = yes; then
6471 echo "$as_me:$LINENO: result: yes" >&5
6472 echo "${ECHO_T}yes" >&6
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6482 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6484 # Check whether --enable-url or --disable-url was given.
6485 if test "${enable_url+set}" = set; then
6486 enableval
="$enable_url"
6488 if test "$enableval" = yes; then
6489 ac_cv_use_url
='wxUSE_URL=yes'
6491 ac_cv_use_url
='wxUSE_URL=no'
6496 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x
; then
6498 eval "DEFAULT_$LINE"
6503 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6507 eval "$ac_cv_use_url"
6508 if test "$no_cache" != 1; then
6509 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6512 if test "$wxUSE_URL" = yes; then
6513 echo "$as_me:$LINENO: result: yes" >&5
6514 echo "${ECHO_T}yes" >&6
6516 echo "$as_me:$LINENO: result: no" >&5
6517 echo "${ECHO_T}no" >&6
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6525 # Check whether --enable-protocol or --disable-protocol was given.
6526 if test "${enable_protocol+set}" = set; then
6527 enableval
="$enable_protocol"
6529 if test "$enableval" = yes; then
6530 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6532 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6537 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x
; then
6539 eval "DEFAULT_$LINE"
6544 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6548 eval "$ac_cv_use_protocol"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6553 if test "$wxUSE_PROTOCOL" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6557 echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6
6563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6564 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6566 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6567 if test "${enable_protocol_http+set}" = set; then
6568 enableval
="$enable_protocol_http"
6570 if test "$enableval" = yes; then
6571 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6573 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6578 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x
; then
6580 eval "DEFAULT_$LINE"
6585 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6589 eval "$ac_cv_use_protocol_http"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6594 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6595 echo "$as_me:$LINENO: result: yes" >&5
6596 echo "${ECHO_T}yes" >&6
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6607 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6608 if test "${enable_protocol_ftp+set}" = set; then
6609 enableval
="$enable_protocol_ftp"
6611 if test "$enableval" = yes; then
6612 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6614 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6619 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x
; then
6621 eval "DEFAULT_$LINE"
6626 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6630 eval "$ac_cv_use_protocol_ftp"
6631 if test "$no_cache" != 1; then
6632 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6635 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6636 echo "$as_me:$LINENO: result: yes" >&5
6637 echo "${ECHO_T}yes" >&6
6639 echo "$as_me:$LINENO: result: no" >&5
6640 echo "${ECHO_T}no" >&6
6645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6648 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6649 if test "${enable_protocol_file+set}" = set; then
6650 enableval
="$enable_protocol_file"
6652 if test "$enableval" = yes; then
6653 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6655 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6660 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x
; then
6662 eval "DEFAULT_$LINE"
6667 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6671 eval "$ac_cv_use_protocol_file"
6672 if test "$no_cache" != 1; then
6673 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6676 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6677 echo "$as_me:$LINENO: result: yes" >&5
6678 echo "${ECHO_T}yes" >&6
6680 echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6692 # Check whether --enable-threads or --disable-threads was given.
6693 if test "${enable_threads+set}" = set; then
6694 enableval
="$enable_threads"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_threads
='wxUSE_THREADS=yes'
6699 ac_cv_use_threads
='wxUSE_THREADS=no'
6704 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6715 eval "$ac_cv_use_threads"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_THREADS" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6729 if test "$wxUSE_GUI" = "yes"; then
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6737 # Check whether --enable-docview or --disable-docview was given.
6738 if test "${enable_docview+set}" = set; then
6739 enableval
="$enable_docview"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6744 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6749 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6760 eval "$ac_cv_use_docview"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6778 # Check whether --enable-help or --disable-help was given.
6779 if test "${enable_help+set}" = set; then
6780 enableval
="$enable_help"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_help
='wxUSE_HELP=yes'
6785 ac_cv_use_help
='wxUSE_HELP=no'
6790 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6801 eval "$ac_cv_use_help"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_HELP" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6819 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6820 if test "${enable_mshtmlhelp+set}" = set; then
6821 enableval
="$enable_mshtmlhelp"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6826 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6831 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6842 eval "$ac_cv_use_mshtmlhelp"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_MS_HTML_HELP" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6860 # Check whether --enable-html or --disable-html was given.
6861 if test "${enable_html+set}" = set; then
6862 enableval
="$enable_html"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_html
='wxUSE_HTML=yes'
6867 ac_cv_use_html
='wxUSE_HTML=no'
6872 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6883 eval "$ac_cv_use_html"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6888 if test "$wxUSE_HTML" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6901 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6902 if test "${enable_htmlhelp+set}" = set; then
6903 enableval
="$enable_htmlhelp"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6908 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6913 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6924 eval "$ac_cv_use_htmlhelp"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_WXHTML_HELP" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6942 # Check whether --enable-xrc or --disable-xrc was given.
6943 if test "${enable_xrc+set}" = set; then
6944 enableval
="$enable_xrc"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_xrc
='wxUSE_XRC=yes'
6949 ac_cv_use_xrc
='wxUSE_XRC=no'
6954 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6965 eval "$ac_cv_use_xrc"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_XRC" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6983 # Check whether --enable-aui or --disable-aui was given.
6984 if test "${enable_aui+set}" = set; then
6985 enableval
="$enable_aui"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_aui
='wxUSE_AUI=yes'
6990 ac_cv_use_aui
='wxUSE_AUI=no'
6995 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7006 eval "$ac_cv_use_aui"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_AUI" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7024 # Check whether --enable-constraints or --disable-constraints was given.
7025 if test "${enable_constraints+set}" = set; then
7026 enableval
="$enable_constraints"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7031 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7036 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7047 eval "$ac_cv_use_constraints"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_CONSTRAINTS" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7065 # Check whether --enable-printarch or --disable-printarch was given.
7066 if test "${enable_printarch+set}" = set; then
7067 enableval
="$enable_printarch"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7072 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7077 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7088 eval "$ac_cv_use_printarch"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7106 # Check whether --enable-mdi or --disable-mdi was given.
7107 if test "${enable_mdi+set}" = set; then
7108 enableval
="$enable_mdi"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_mdi
='wxUSE_MDI=yes'
7113 ac_cv_use_mdi
='wxUSE_MDI=no'
7118 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x
; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7129 eval "$ac_cv_use_mdi"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_MDI" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7147 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7148 if test "${enable_mdidoc+set}" = set; then
7149 enableval
="$enable_mdidoc"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7154 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7159 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7170 eval "$ac_cv_use_mdidoc"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7188 # Check whether --enable-loggui or --disable-loggui was given.
7189 if test "${enable_loggui+set}" = set; then
7190 enableval
="$enable_loggui"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7195 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7200 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7211 eval "$ac_cv_use_loggui"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_LOGGUI" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7229 # Check whether --enable-logwin or --disable-logwin was given.
7230 if test "${enable_logwin+set}" = set; then
7231 enableval
="$enable_logwin"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7236 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7241 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x
; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7252 eval "$ac_cv_use_logwin"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_LOGWINDOW" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7270 # Check whether --enable-logdialog or --disable-logdialog was given.
7271 if test "${enable_logdialog+set}" = set; then
7272 enableval
="$enable_logdialog"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7277 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7282 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x
; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7293 eval "$ac_cv_use_logdialog"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_LOGDIALOG" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7311 # Check whether --enable-webkit or --disable-webkit was given.
7312 if test "${enable_webkit+set}" = set; then
7313 enableval
="$enable_webkit"
7315 if test "$enableval" = yes; then
7316 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7318 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7323 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x
; then
7325 eval "DEFAULT_$LINE"
7330 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7334 eval "$ac_cv_use_webkit"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_WEBKIT" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7352 # Check whether --enable-html or --disable-html was given.
7353 if test "${enable_html+set}" = set; then
7354 enableval
="$enable_html"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7359 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7364 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x
; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7375 eval "$ac_cv_use_html"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_RICHTEXT" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7394 # Check whether --enable-postscript or --disable-postscript was given.
7395 if test "${enable_postscript+set}" = set; then
7396 enableval
="$enable_postscript"
7398 if test "$enableval" = yes; then
7399 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7401 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7406 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7407 if test "x$LINE" != x
; then
7408 eval "DEFAULT_$LINE"
7413 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7417 eval "$ac_cv_use_postscript"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_POSTSCRIPT" = yes; then
7423 echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6
7426 echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6
7435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7436 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7438 # Check whether --enable-prologio or --disable-prologio was given.
7439 if test "${enable_prologio+set}" = set; then
7440 enableval
="$enable_prologio"
7442 if test "$enableval" = yes; then
7443 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7445 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7450 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x
; then
7452 eval "DEFAULT_$LINE"
7457 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7461 eval "$ac_cv_use_prologio"
7462 if test "$no_cache" != 1; then
7463 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7466 if test "$wxUSE_PROLOGIO" = yes; then
7467 echo "$as_me:$LINENO: result: yes" >&5
7468 echo "${ECHO_T}yes" >&6
7470 echo "$as_me:$LINENO: result: no" >&5
7471 echo "${ECHO_T}no" >&6
7476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7479 # Check whether --enable-resources or --disable-resources was given.
7480 if test "${enable_resources+set}" = set; then
7481 enableval
="$enable_resources"
7483 if test "$enableval" = yes; then
7484 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7486 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7491 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x
; then
7493 eval "DEFAULT_$LINE"
7498 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7502 eval "$ac_cv_use_resources"
7503 if test "$no_cache" != 1; then
7504 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7507 if test "$wxUSE_RESOURCES" = yes; then
7508 echo "$as_me:$LINENO: result: yes" >&5
7509 echo "${ECHO_T}yes" >&6
7511 echo "$as_me:$LINENO: result: no" >&5
7512 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7522 # Check whether --enable-clipboard or --disable-clipboard was given.
7523 if test "${enable_clipboard+set}" = set; then
7524 enableval
="$enable_clipboard"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7529 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7534 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x
; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7545 eval "$ac_cv_use_clipboard"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_CLIPBOARD" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7563 # Check whether --enable-dnd or --disable-dnd was given.
7564 if test "${enable_dnd+set}" = set; then
7565 enableval
="$enable_dnd"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7570 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7575 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7586 eval "$ac_cv_use_dnd"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7604 # Check whether --enable-metafile or --disable-metafile was given.
7605 if test "${enable_metafile+set}" = set; then
7606 enableval
="$enable_metafile"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7611 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7616 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7627 eval "$ac_cv_use_metafile"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_METAFILE" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7648 # Check whether --enable-controls or --disable-controls was given.
7649 if test "${enable_controls+set}" = set; then
7650 enableval
="$enable_controls"
7652 if test "$enableval" = yes; then
7653 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7655 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7660 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x
; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7671 eval "$ac_cv_use_controls"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7676 if test "$wxUSE_CONTROLS" = yes; then
7677 echo "$as_me:$LINENO: result: yes" >&5
7678 echo "${ECHO_T}yes" >&6
7680 echo "$as_me:$LINENO: result: no" >&5
7681 echo "${ECHO_T}no" >&6
7685 if test "$wxUSE_CONTROLS" = "yes"; then
7686 DEFAULT_wxUSE_ACCEL
=yes
7687 DEFAULT_wxUSE_BMPBUTTON
=yes
7688 DEFAULT_wxUSE_BUTTON
=yes
7689 DEFAULT_wxUSE_CALCTRL
=yes
7690 DEFAULT_wxUSE_CARET
=yes
7691 DEFAULT_wxUSE_COMBOBOX
=yes
7692 DEFAULT_wxUSE_CHECKBOX
=yes
7693 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7694 DEFAULT_wxUSE_CHOICE
=yes
7695 DEFAULT_wxUSE_CHOICEBOOK
=yes
7696 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7697 DEFAULT_wxUSE_COMBOBOX
=yes
7698 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7699 DEFAULT_wxUSE_DISPLAY
=yes
7700 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7701 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7702 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7703 DEFAULT_wxUSE_GAUGE
=yes
7704 DEFAULT_wxUSE_GRID
=yes
7705 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7706 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7707 DEFAULT_wxUSE_IMAGLIST
=yes
7708 DEFAULT_wxUSE_LISTBOOK
=yes
7709 DEFAULT_wxUSE_LISTBOX
=yes
7710 DEFAULT_wxUSE_LISTCTRL
=yes
7711 DEFAULT_wxUSE_NOTEBOOK
=yes
7712 DEFAULT_wxUSE_RADIOBOX
=yes
7713 DEFAULT_wxUSE_RADIOBTN
=yes
7714 DEFAULT_wxUSE_SASH
=yes
7715 DEFAULT_wxUSE_SCROLLBAR
=yes
7716 DEFAULT_wxUSE_SLIDER
=yes
7717 DEFAULT_wxUSE_SPINBTN
=yes
7718 DEFAULT_wxUSE_SPINCTRL
=yes
7719 DEFAULT_wxUSE_SPLITTER
=yes
7720 DEFAULT_wxUSE_STATBMP
=yes
7721 DEFAULT_wxUSE_STATBOX
=yes
7722 DEFAULT_wxUSE_STATLINE
=yes
7723 DEFAULT_wxUSE_STATUSBAR
=yes
7724 DEFAULT_wxUSE_TAB_DIALOG
=yes
7725 DEFAULT_wxUSE_TOGGLEBTN
=yes
7726 DEFAULT_wxUSE_TOOLBAR
=yes
7727 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7728 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7729 DEFAULT_wxUSE_TOOLTIPS
=yes
7730 DEFAULT_wxUSE_TREEBOOK
=yes
7731 DEFAULT_wxUSE_TOOLBOOK
=yes
7732 DEFAULT_wxUSE_TREECTRL
=yes
7733 DEFAULT_wxUSE_POPUPWIN
=yes
7734 DEFAULT_wxUSE_TIPWINDOW
=yes
7735 elif test "$wxUSE_CONTROLS" = "no"; then
7736 DEFAULT_wxUSE_ACCEL
=no
7737 DEFAULT_wxUSE_BMPBUTTON
=no
7738 DEFAULT_wxUSE_BUTTON
=no
7739 DEFAULT_wxUSE_CALCTRL
=no
7740 DEFAULT_wxUSE_CARET
=no
7741 DEFAULT_wxUSE_COMBOBOX
=no
7742 DEFAULT_wxUSE_CHECKBOX
=no
7743 DEFAULT_wxUSE_CHECKLISTBOX
=no
7744 DEFAULT_wxUSE_CHOICE
=no
7745 DEFAULT_wxUSE_CHOICEBOOK
=no
7746 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7747 DEFAULT_wxUSE_COMBOBOX
=no
7748 DEFAULT_wxUSE_DATEPICKCTRL
=no
7749 DEFAULT_wxUSE_DISPLAY
=no
7750 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7751 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7752 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7753 DEFAULT_wxUSE_GAUGE
=no
7754 DEFAULT_wxUSE_GRID
=no
7755 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7756 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7757 DEFAULT_wxUSE_IMAGLIST
=no
7758 DEFAULT_wxUSE_LISTBOOK
=no
7759 DEFAULT_wxUSE_LISTBOX
=no
7760 DEFAULT_wxUSE_LISTCTRL
=no
7761 DEFAULT_wxUSE_NOTEBOOK
=no
7762 DEFAULT_wxUSE_RADIOBOX
=no
7763 DEFAULT_wxUSE_RADIOBTN
=no
7764 DEFAULT_wxUSE_SASH
=no
7765 DEFAULT_wxUSE_SCROLLBAR
=no
7766 DEFAULT_wxUSE_SLIDER
=no
7767 DEFAULT_wxUSE_SPINBTN
=no
7768 DEFAULT_wxUSE_SPINCTRL
=no
7769 DEFAULT_wxUSE_SPLITTER
=no
7770 DEFAULT_wxUSE_STATBMP
=no
7771 DEFAULT_wxUSE_STATBOX
=no
7772 DEFAULT_wxUSE_STATLINE
=no
7773 DEFAULT_wxUSE_STATUSBAR
=no
7774 DEFAULT_wxUSE_TAB_DIALOG
=no
7775 DEFAULT_wxUSE_TOGGLEBTN
=no
7776 DEFAULT_wxUSE_TOOLBAR
=no
7777 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7778 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7779 DEFAULT_wxUSE_TOOLTIPS
=no
7780 DEFAULT_wxUSE_TREEBOOK
=no
7781 DEFAULT_wxUSE_TOOLBOOK
=no
7782 DEFAULT_wxUSE_TREECTRL
=no
7783 DEFAULT_wxUSE_POPUPWIN
=no
7784 DEFAULT_wxUSE_TIPWINDOW
=no
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7792 # Check whether --enable-accel or --disable-accel was given.
7793 if test "${enable_accel+set}" = set; then
7794 enableval
="$enable_accel"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7799 ac_cv_use_accel
='wxUSE_ACCEL=no'
7804 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7815 eval "$ac_cv_use_accel"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_ACCEL" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7833 # Check whether --enable-button or --disable-button was given.
7834 if test "${enable_button+set}" = set; then
7835 enableval
="$enable_button"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_button
='wxUSE_BUTTON=yes'
7840 ac_cv_use_button
='wxUSE_BUTTON=no'
7845 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7856 eval "$ac_cv_use_button"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_BUTTON" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7874 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7875 if test "${enable_bmpbutton+set}" = set; then
7876 enableval
="$enable_bmpbutton"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7881 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7886 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7897 eval "$ac_cv_use_bmpbutton"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_BMPBUTTON" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7915 # Check whether --enable-calendar or --disable-calendar was given.
7916 if test "${enable_calendar+set}" = set; then
7917 enableval
="$enable_calendar"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7922 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7927 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7938 eval "$ac_cv_use_calendar"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_CALCTRL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7956 # Check whether --enable-caret or --disable-caret was given.
7957 if test "${enable_caret+set}" = set; then
7958 enableval
="$enable_caret"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_caret
='wxUSE_CARET=yes'
7963 ac_cv_use_caret
='wxUSE_CARET=no'
7968 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7979 eval "$ac_cv_use_caret"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_CARET" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7997 # Check whether --enable-checkbox or --disable-checkbox was given.
7998 if test "${enable_checkbox+set}" = set; then
7999 enableval
="$enable_checkbox"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8004 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8009 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8020 eval "$ac_cv_use_checkbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_CHECKBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8038 # Check whether --enable-checklst or --disable-checklst was given.
8039 if test "${enable_checklst+set}" = set; then
8040 enableval
="$enable_checklst"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8045 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8050 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8061 eval "$ac_cv_use_checklst"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_CHECKLST" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8079 # Check whether --enable-choice or --disable-choice was given.
8080 if test "${enable_choice+set}" = set; then
8081 enableval
="$enable_choice"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8086 ac_cv_use_choice
='wxUSE_CHOICE=no'
8091 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8102 eval "$ac_cv_use_choice"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_CHOICE" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8120 # Check whether --enable-choicebook or --disable-choicebook was given.
8121 if test "${enable_choicebook+set}" = set; then
8122 enableval
="$enable_choicebook"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8127 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8132 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8143 eval "$ac_cv_use_choicebook"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_CHOICEBOOK" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8161 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8162 if test "${enable_colourpicker+set}" = set; then
8163 enableval
="$enable_colourpicker"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8168 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8173 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8184 eval "$ac_cv_use_colourpicker"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8202 # Check whether --enable-combobox or --disable-combobox was given.
8203 if test "${enable_combobox+set}" = set; then
8204 enableval
="$enable_combobox"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8209 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8214 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8225 eval "$ac_cv_use_combobox"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_COMBOBOX" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8243 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8244 if test "${enable_comboctrl+set}" = set; then
8245 enableval
="$enable_comboctrl"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8250 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8255 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8266 eval "$ac_cv_use_comboctrl"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_COMBOCTRL" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8284 # Check whether --enable-datepick or --disable-datepick was given.
8285 if test "${enable_datepick+set}" = set; then
8286 enableval
="$enable_datepick"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8291 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8296 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8307 eval "$ac_cv_use_datepick"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_DATEPICKCTRL" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8325 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8326 if test "${enable_dirpicker+set}" = set; then
8327 enableval
="$enable_dirpicker"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8332 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8337 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8348 eval "$ac_cv_use_dirpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8366 # Check whether --enable-display or --disable-display was given.
8367 if test "${enable_display+set}" = set; then
8368 enableval
="$enable_display"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8373 ac_cv_use_display
='wxUSE_DISPLAY=no'
8378 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8389 eval "$ac_cv_use_display"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_DISPLAY" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8407 # Check whether --enable-filepicker or --disable-filepicker was given.
8408 if test "${enable_filepicker+set}" = set; then
8409 enableval
="$enable_filepicker"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8414 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8419 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8430 eval "$ac_cv_use_filepicker"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8448 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8449 if test "${enable_fontpicker+set}" = set; then
8450 enableval
="$enable_fontpicker"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8455 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8460 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8471 eval "$ac_cv_use_fontpicker"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8489 # Check whether --enable-gauge or --disable-gauge was given.
8490 if test "${enable_gauge+set}" = set; then
8491 enableval
="$enable_gauge"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8496 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8501 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8512 eval "$ac_cv_use_gauge"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_GAUGE" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8530 # Check whether --enable-grid or --disable-grid was given.
8531 if test "${enable_grid+set}" = set; then
8532 enableval
="$enable_grid"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_grid
='wxUSE_GRID=yes'
8537 ac_cv_use_grid
='wxUSE_GRID=no'
8542 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8553 eval "$ac_cv_use_grid"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_GRID" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8571 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8572 if test "${enable_dataviewctrl+set}" = set; then
8573 enableval
="$enable_dataviewctrl"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8578 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8583 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8594 eval "$ac_cv_use_dataviewctrl"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8612 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8613 if test "${enable_hyperlink+set}" = set; then
8614 enableval
="$enable_hyperlink"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8619 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8624 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8635 eval "$ac_cv_use_hyperlink"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8653 # Check whether --enable-imaglist or --disable-imaglist was given.
8654 if test "${enable_imaglist+set}" = set; then
8655 enableval
="$enable_imaglist"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8660 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8665 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8676 eval "$ac_cv_use_imaglist"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_IMAGLIST" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8694 # Check whether --enable-listbook or --disable-listbook was given.
8695 if test "${enable_listbook+set}" = set; then
8696 enableval
="$enable_listbook"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8701 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8706 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8717 eval "$ac_cv_use_listbook"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_LISTBOOK" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8735 # Check whether --enable-listbox or --disable-listbox was given.
8736 if test "${enable_listbox+set}" = set; then
8737 enableval
="$enable_listbox"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8742 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8747 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8758 eval "$ac_cv_use_listbox"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_LISTBOX" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8776 # Check whether --enable-listctrl or --disable-listctrl was given.
8777 if test "${enable_listctrl+set}" = set; then
8778 enableval
="$enable_listctrl"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8783 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8788 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8799 eval "$ac_cv_use_listctrl"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_LISTCTRL" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8817 # Check whether --enable-notebook or --disable-notebook was given.
8818 if test "${enable_notebook+set}" = set; then
8819 enableval
="$enable_notebook"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8824 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8829 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8840 eval "$ac_cv_use_notebook"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_NOTEBOOK" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8858 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8859 if test "${enable_odcombobox+set}" = set; then
8860 enableval
="$enable_odcombobox"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8865 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8870 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8881 eval "$ac_cv_use_odcombobox"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_ODCOMBOBOX" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8899 # Check whether --enable-radiobox or --disable-radiobox was given.
8900 if test "${enable_radiobox+set}" = set; then
8901 enableval
="$enable_radiobox"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8906 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8911 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8922 eval "$ac_cv_use_radiobox"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_RADIOBOX" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8940 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8941 if test "${enable_radiobtn+set}" = set; then
8942 enableval
="$enable_radiobtn"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8947 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8952 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8963 eval "$ac_cv_use_radiobtn"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_RADIOBTN" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8981 # Check whether --enable-sash or --disable-sash was given.
8982 if test "${enable_sash+set}" = set; then
8983 enableval
="$enable_sash"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_sash
='wxUSE_SASH=yes'
8988 ac_cv_use_sash
='wxUSE_SASH=no'
8993 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9004 eval "$ac_cv_use_sash"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_SASH" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9022 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9023 if test "${enable_scrollbar+set}" = set; then
9024 enableval
="$enable_scrollbar"
9026 if test "$enableval" = yes; then
9027 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9029 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9034 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x
; then
9036 eval "DEFAULT_$LINE"
9041 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9045 eval "$ac_cv_use_scrollbar"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9050 if test "$wxUSE_SCROLLBAR" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9063 # Check whether --enable-slider or --disable-slider was given.
9064 if test "${enable_slider+set}" = set; then
9065 enableval
="$enable_slider"
9067 if test "$enableval" = yes; then
9068 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9070 ac_cv_use_slider
='wxUSE_SLIDER=no'
9075 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x
; then
9077 eval "DEFAULT_$LINE"
9082 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9086 eval "$ac_cv_use_slider"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9091 if test "$wxUSE_SLIDER" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9104 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9105 if test "${enable_spinbtn+set}" = set; then
9106 enableval
="$enable_spinbtn"
9108 if test "$enableval" = yes; then
9109 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9111 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9116 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x
; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9127 eval "$ac_cv_use_spinbtn"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9132 if test "$wxUSE_SPINBTN" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9145 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9146 if test "${enable_spinctrl+set}" = set; then
9147 enableval
="$enable_spinctrl"
9149 if test "$enableval" = yes; then
9150 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9152 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9157 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x
; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9168 eval "$ac_cv_use_spinctrl"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9173 if test "$wxUSE_SPINCTRL" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9186 # Check whether --enable-splitter or --disable-splitter was given.
9187 if test "${enable_splitter+set}" = set; then
9188 enableval
="$enable_splitter"
9190 if test "$enableval" = yes; then
9191 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9193 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9198 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x
; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9209 eval "$ac_cv_use_splitter"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9214 if test "$wxUSE_SPLITTER" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9227 # Check whether --enable-statbmp or --disable-statbmp was given.
9228 if test "${enable_statbmp+set}" = set; then
9229 enableval
="$enable_statbmp"
9231 if test "$enableval" = yes; then
9232 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9234 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9239 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x
; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9250 eval "$ac_cv_use_statbmp"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9255 if test "$wxUSE_STATBMP" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9268 # Check whether --enable-statbox or --disable-statbox was given.
9269 if test "${enable_statbox+set}" = set; then
9270 enableval
="$enable_statbox"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9275 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9280 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9291 eval "$ac_cv_use_statbox"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_STATBOX" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9309 # Check whether --enable-statline or --disable-statline was given.
9310 if test "${enable_statline+set}" = set; then
9311 enableval
="$enable_statline"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9316 ac_cv_use_statline
='wxUSE_STATLINE=no'
9321 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9332 eval "$ac_cv_use_statline"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_STATLINE" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9350 # Check whether --enable-stattext or --disable-stattext was given.
9351 if test "${enable_stattext+set}" = set; then
9352 enableval
="$enable_stattext"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9357 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9362 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9373 eval "$ac_cv_use_stattext"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_STATTEXT" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9391 # Check whether --enable-statusbar or --disable-statusbar was given.
9392 if test "${enable_statusbar+set}" = set; then
9393 enableval
="$enable_statusbar"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9398 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9403 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9414 eval "$ac_cv_use_statusbar"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_STATUSBAR" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9432 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9433 if test "${enable_tabdialog+set}" = set; then
9434 enableval
="$enable_tabdialog"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9439 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9444 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9455 eval "$ac_cv_use_tabdialog"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_TAB_DIALOG" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9473 # Check whether --enable-textctrl or --disable-textctrl was given.
9474 if test "${enable_textctrl+set}" = set; then
9475 enableval
="$enable_textctrl"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9480 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9485 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9496 eval "$ac_cv_use_textctrl"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_TEXTCTRL" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9514 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9515 if test "${enable_togglebtn+set}" = set; then
9516 enableval
="$enable_togglebtn"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9521 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9526 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9537 eval "$ac_cv_use_togglebtn"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_TOGGLEBTN" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9555 # Check whether --enable-toolbar or --disable-toolbar was given.
9556 if test "${enable_toolbar+set}" = set; then
9557 enableval
="$enable_toolbar"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9562 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9567 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9578 eval "$ac_cv_use_toolbar"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_TOOLBAR" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9596 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9597 if test "${enable_tbarnative+set}" = set; then
9598 enableval
="$enable_tbarnative"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9603 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9608 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9619 eval "$ac_cv_use_tbarnative"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9637 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9638 if test "${enable_tbarsmpl+set}" = set; then
9639 enableval
="$enable_tbarsmpl"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9644 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9649 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9660 eval "$ac_cv_use_tbarsmpl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9678 # Check whether --enable-treebook or --disable-treebook was given.
9679 if test "${enable_treebook+set}" = set; then
9680 enableval
="$enable_treebook"
9682 if test "$enableval" = yes; then
9683 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9685 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9690 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x
; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9701 eval "$ac_cv_use_treebook"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9706 if test "$wxUSE_TREEBOOK" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9719 # Check whether --enable-toolbook or --disable-toolbook was given.
9720 if test "${enable_toolbook+set}" = set; then
9721 enableval
="$enable_toolbook"
9723 if test "$enableval" = yes; then
9724 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9726 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9731 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x
; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9742 eval "$ac_cv_use_toolbook"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9747 if test "$wxUSE_TOOLBOOK" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9760 # Check whether --enable-treectrl or --disable-treectrl was given.
9761 if test "${enable_treectrl+set}" = set; then
9762 enableval
="$enable_treectrl"
9764 if test "$enableval" = yes; then
9765 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9767 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9772 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x
; then
9774 eval "DEFAULT_$LINE"
9779 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9783 eval "$ac_cv_use_treectrl"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9788 if test "$wxUSE_TREECTRL" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9801 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9802 if test "${enable_tipwindow+set}" = set; then
9803 enableval
="$enable_tipwindow"
9805 if test "$enableval" = yes; then
9806 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9808 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9813 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x
; then
9815 eval "DEFAULT_$LINE"
9820 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9824 eval "$ac_cv_use_tipwindow"
9825 if test "$no_cache" != 1; then
9826 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9829 if test "$wxUSE_TIPWINDOW" = yes; then
9830 echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6
9833 echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9842 # Check whether --enable-popupwin or --disable-popupwin was given.
9843 if test "${enable_popupwin+set}" = set; then
9844 enableval
="$enable_popupwin"
9846 if test "$enableval" = yes; then
9847 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9849 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9854 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x
; then
9856 eval "DEFAULT_$LINE"
9861 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9865 eval "$ac_cv_use_popupwin"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9870 if test "$wxUSE_POPUPWIN" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9885 # Check whether --enable-commondlg or --disable-commondlg was given.
9886 if test "${enable_commondlg+set}" = set; then
9887 enableval
="$enable_commondlg"
9889 if test "$enableval" = yes; then
9890 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9892 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9897 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x
; then
9899 eval "DEFAULT_$LINE"
9904 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9908 eval "$ac_cv_use_commondlg"
9909 if test "$no_cache" != 1; then
9910 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9913 if test "$wxUSE_COMMONDLGS" = yes; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9917 echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6
9923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9926 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9927 if test "${enable_choicedlg+set}" = set; then
9928 enableval
="$enable_choicedlg"
9930 if test "$enableval" = yes; then
9931 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9933 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9938 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9939 if test "x$LINE" != x
; then
9940 eval "DEFAULT_$LINE"
9945 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9949 eval "$ac_cv_use_choicedlg"
9950 if test "$no_cache" != 1; then
9951 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9954 if test "$wxUSE_CHOICEDLG" = yes; then
9955 echo "$as_me:$LINENO: result: yes" >&5
9956 echo "${ECHO_T}yes" >&6
9958 echo "$as_me:$LINENO: result: no" >&5
9959 echo "${ECHO_T}no" >&6
9964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9967 # Check whether --enable-coldlg or --disable-coldlg was given.
9968 if test "${enable_coldlg+set}" = set; then
9969 enableval
="$enable_coldlg"
9971 if test "$enableval" = yes; then
9972 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9974 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9979 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x
; then
9981 eval "DEFAULT_$LINE"
9986 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9990 eval "$ac_cv_use_coldlg"
9991 if test "$no_cache" != 1; then
9992 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9995 if test "$wxUSE_COLOURDLG" = yes; then
9996 echo "$as_me:$LINENO: result: yes" >&5
9997 echo "${ECHO_T}yes" >&6
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10008 # Check whether --enable-filedlg or --disable-filedlg was given.
10009 if test "${enable_filedlg+set}" = set; then
10010 enableval
="$enable_filedlg"
10012 if test "$enableval" = yes; then
10013 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10015 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10020 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x
; then
10022 eval "DEFAULT_$LINE"
10027 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10031 eval "$ac_cv_use_filedlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10036 if test "$wxUSE_FILEDLG" = yes; then
10037 echo "$as_me:$LINENO: result: yes" >&5
10038 echo "${ECHO_T}yes" >&6
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10049 # Check whether --enable-finddlg or --disable-finddlg was given.
10050 if test "${enable_finddlg+set}" = set; then
10051 enableval
="$enable_finddlg"
10053 if test "$enableval" = yes; then
10054 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10056 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10061 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x
; then
10063 eval "DEFAULT_$LINE"
10068 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10072 eval "$ac_cv_use_finddlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10077 if test "$wxUSE_FINDREPLDLG" = yes; then
10078 echo "$as_me:$LINENO: result: yes" >&5
10079 echo "${ECHO_T}yes" >&6
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10090 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10091 if test "${enable_fontdlg+set}" = set; then
10092 enableval
="$enable_fontdlg"
10094 if test "$enableval" = yes; then
10095 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10097 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10102 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x
; then
10104 eval "DEFAULT_$LINE"
10109 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10113 eval "$ac_cv_use_fontdlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10118 if test "$wxUSE_FONTDLG" = yes; then
10119 echo "$as_me:$LINENO: result: yes" >&5
10120 echo "${ECHO_T}yes" >&6
10122 echo "$as_me:$LINENO: result: no" >&5
10123 echo "${ECHO_T}no" >&6
10128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10131 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10132 if test "${enable_dirdlg+set}" = set; then
10133 enableval
="$enable_dirdlg"
10135 if test "$enableval" = yes; then
10136 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10138 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10143 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x
; then
10145 eval "DEFAULT_$LINE"
10150 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10154 eval "$ac_cv_use_dirdlg"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10159 if test "$wxUSE_DIRDLG" = yes; then
10160 echo "$as_me:$LINENO: result: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10172 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10173 if test "${enable_msgdlg+set}" = set; then
10174 enableval
="$enable_msgdlg"
10176 if test "$enableval" = yes; then
10177 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10179 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10184 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x
; then
10186 eval "DEFAULT_$LINE"
10191 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10195 eval "$ac_cv_use_msgdlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10200 if test "$wxUSE_MSGDLG" = yes; then
10201 echo "$as_me:$LINENO: result: yes" >&5
10202 echo "${ECHO_T}yes" >&6
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10213 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10214 if test "${enable_numberdlg+set}" = set; then
10215 enableval
="$enable_numberdlg"
10217 if test "$enableval" = yes; then
10218 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10220 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10225 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x
; then
10227 eval "DEFAULT_$LINE"
10232 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10236 eval "$ac_cv_use_numberdlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10241 if test "$wxUSE_NUMBERDLG" = yes; then
10242 echo "$as_me:$LINENO: result: yes" >&5
10243 echo "${ECHO_T}yes" >&6
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10254 # Check whether --enable-splash or --disable-splash was given.
10255 if test "${enable_splash+set}" = set; then
10256 enableval
="$enable_splash"
10258 if test "$enableval" = yes; then
10259 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10261 ac_cv_use_splash
='wxUSE_SPLASH=no'
10266 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x
; then
10268 eval "DEFAULT_$LINE"
10273 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10277 eval "$ac_cv_use_splash"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10282 if test "$wxUSE_SPLASH" = yes; then
10283 echo "$as_me:$LINENO: result: yes" >&5
10284 echo "${ECHO_T}yes" >&6
10286 echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6
10292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10295 # Check whether --enable-textdlg or --disable-textdlg was given.
10296 if test "${enable_textdlg+set}" = set; then
10297 enableval
="$enable_textdlg"
10299 if test "$enableval" = yes; then
10300 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10302 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10307 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x
; then
10309 eval "DEFAULT_$LINE"
10314 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10318 eval "$ac_cv_use_textdlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10323 if test "$wxUSE_TEXTDLG" = yes; then
10324 echo "$as_me:$LINENO: result: yes" >&5
10325 echo "${ECHO_T}yes" >&6
10327 echo "$as_me:$LINENO: result: no" >&5
10328 echo "${ECHO_T}no" >&6
10333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10336 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10337 if test "${enable_tipdlg+set}" = set; then
10338 enableval
="$enable_tipdlg"
10340 if test "$enableval" = yes; then
10341 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10343 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10348 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10349 if test "x$LINE" != x
; then
10350 eval "DEFAULT_$LINE"
10355 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10359 eval "$ac_cv_use_tipdlg"
10360 if test "$no_cache" != 1; then
10361 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10364 if test "$wxUSE_STARTUP_TIPS" = yes; then
10365 echo "$as_me:$LINENO: result: yes" >&5
10366 echo "${ECHO_T}yes" >&6
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10377 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10378 if test "${enable_progressdlg+set}" = set; then
10379 enableval
="$enable_progressdlg"
10381 if test "$enableval" = yes; then
10382 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10384 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10389 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x
; then
10391 eval "DEFAULT_$LINE"
10396 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10400 eval "$ac_cv_use_progressdlg"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10405 if test "$wxUSE_PROGRESSDLG" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10418 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10419 if test "${enable_wizarddlg+set}" = set; then
10420 enableval
="$enable_wizarddlg"
10422 if test "$enableval" = yes; then
10423 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10425 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10430 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x
; then
10432 eval "DEFAULT_$LINE"
10437 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10441 eval "$ac_cv_use_wizarddlg"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10446 if test "$wxUSE_WIZARDDLG" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10461 # Check whether --enable-menus or --disable-menus was given.
10462 if test "${enable_menus+set}" = set; then
10463 enableval
="$enable_menus"
10465 if test "$enableval" = yes; then
10466 ac_cv_use_menus
='wxUSE_MENUS=yes'
10468 ac_cv_use_menus
='wxUSE_MENUS=no'
10473 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10474 if test "x$LINE" != x
; then
10475 eval "DEFAULT_$LINE"
10480 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10484 eval "$ac_cv_use_menus"
10485 if test "$no_cache" != 1; then
10486 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10489 if test "$wxUSE_MENUS" = yes; then
10490 echo "$as_me:$LINENO: result: yes" >&5
10491 echo "${ECHO_T}yes" >&6
10493 echo "$as_me:$LINENO: result: no" >&5
10494 echo "${ECHO_T}no" >&6
10499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10502 # Check whether --enable-miniframe or --disable-miniframe was given.
10503 if test "${enable_miniframe+set}" = set; then
10504 enableval
="$enable_miniframe"
10506 if test "$enableval" = yes; then
10507 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10509 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10514 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10515 if test "x$LINE" != x
; then
10516 eval "DEFAULT_$LINE"
10521 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10525 eval "$ac_cv_use_miniframe"
10526 if test "$no_cache" != 1; then
10527 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10530 if test "$wxUSE_MINIFRAME" = yes; then
10531 echo "$as_me:$LINENO: result: yes" >&5
10532 echo "${ECHO_T}yes" >&6
10534 echo "$as_me:$LINENO: result: no" >&5
10535 echo "${ECHO_T}no" >&6
10540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10541 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10543 # Check whether --enable-tooltips or --disable-tooltips was given.
10544 if test "${enable_tooltips+set}" = set; then
10545 enableval
="$enable_tooltips"
10547 if test "$enableval" = yes; then
10548 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10550 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10555 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10556 if test "x$LINE" != x
; then
10557 eval "DEFAULT_$LINE"
10562 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10566 eval "$ac_cv_use_tooltips"
10567 if test "$no_cache" != 1; then
10568 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10571 if test "$wxUSE_TOOLTIPS" = yes; then
10572 echo "$as_me:$LINENO: result: yes" >&5
10573 echo "${ECHO_T}yes" >&6
10575 echo "$as_me:$LINENO: result: no" >&5
10576 echo "${ECHO_T}no" >&6
10581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10584 # Check whether --enable-splines or --disable-splines was given.
10585 if test "${enable_splines+set}" = set; then
10586 enableval
="$enable_splines"
10588 if test "$enableval" = yes; then
10589 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10591 ac_cv_use_splines
='wxUSE_SPLINES=no'
10596 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10597 if test "x$LINE" != x
; then
10598 eval "DEFAULT_$LINE"
10603 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10607 eval "$ac_cv_use_splines"
10608 if test "$no_cache" != 1; then
10609 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10612 if test "$wxUSE_SPLINES" = yes; then
10613 echo "$as_me:$LINENO: result: yes" >&5
10614 echo "${ECHO_T}yes" >&6
10616 echo "$as_me:$LINENO: result: no" >&5
10617 echo "${ECHO_T}no" >&6
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10625 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10626 if test "${enable_mousewheel+set}" = set; then
10627 enableval
="$enable_mousewheel"
10629 if test "$enableval" = yes; then
10630 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10632 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10637 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x
; then
10639 eval "DEFAULT_$LINE"
10644 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10648 eval "$ac_cv_use_mousewheel"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10653 if test "$wxUSE_MOUSEWHEEL" = yes; then
10654 echo "$as_me:$LINENO: result: yes" >&5
10655 echo "${ECHO_T}yes" >&6
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10666 # Check whether --enable-validators or --disable-validators was given.
10667 if test "${enable_validators+set}" = set; then
10668 enableval
="$enable_validators"
10670 if test "$enableval" = yes; then
10671 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10673 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10678 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x
; then
10680 eval "DEFAULT_$LINE"
10685 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10689 eval "$ac_cv_use_validators"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10694 if test "$wxUSE_VALIDATORS" = yes; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10707 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10708 if test "${enable_busyinfo+set}" = set; then
10709 enableval
="$enable_busyinfo"
10711 if test "$enableval" = yes; then
10712 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10714 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10719 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x
; then
10721 eval "DEFAULT_$LINE"
10726 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10730 eval "$ac_cv_use_busyinfo"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10735 if test "$wxUSE_BUSYINFO" = yes; then
10736 echo "$as_me:$LINENO: result: yes" >&5
10737 echo "${ECHO_T}yes" >&6
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10748 # Check whether --enable-joystick or --disable-joystick was given.
10749 if test "${enable_joystick+set}" = set; then
10750 enableval
="$enable_joystick"
10752 if test "$enableval" = yes; then
10753 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10755 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10760 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x
; then
10762 eval "DEFAULT_$LINE"
10767 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10771 eval "$ac_cv_use_joystick"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10776 if test "$wxUSE_JOYSTICK" = yes; then
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10789 # Check whether --enable-metafile or --disable-metafile was given.
10790 if test "${enable_metafile+set}" = set; then
10791 enableval
="$enable_metafile"
10793 if test "$enableval" = yes; then
10794 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10796 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10801 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x
; then
10803 eval "DEFAULT_$LINE"
10808 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10812 eval "$ac_cv_use_metafile"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10817 if test "$wxUSE_METAFILE" = yes; then
10818 echo "$as_me:$LINENO: result: yes" >&5
10819 echo "${ECHO_T}yes" >&6
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10828 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10830 # Check whether --enable-dragimage or --disable-dragimage was given.
10831 if test "${enable_dragimage+set}" = set; then
10832 enableval
="$enable_dragimage"
10834 if test "$enableval" = yes; then
10835 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10837 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10842 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10843 if test "x$LINE" != x
; then
10844 eval "DEFAULT_$LINE"
10849 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10853 eval "$ac_cv_use_dragimage"
10854 if test "$no_cache" != 1; then
10855 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10858 if test "$wxUSE_DRAGIMAGE" = yes; then
10859 echo "$as_me:$LINENO: result: yes" >&5
10860 echo "${ECHO_T}yes" >&6
10862 echo "$as_me:$LINENO: result: no" >&5
10863 echo "${ECHO_T}no" >&6
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10871 # Check whether --enable-accessibility or --disable-accessibility was given.
10872 if test "${enable_accessibility+set}" = set; then
10873 enableval
="$enable_accessibility"
10875 if test "$enableval" = yes; then
10876 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10878 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10883 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x
; then
10885 eval "DEFAULT_$LINE"
10890 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10894 eval "$ac_cv_use_accessibility"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10899 if test "$wxUSE_ACCESSIBILITY" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10908 if test "$wxUSE_MSW" = "1"; then
10911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10914 # Check whether --enable-dccache or --disable-dccache was given.
10915 if test "${enable_dccache+set}" = set; then
10916 enableval
="$enable_dccache"
10918 if test "$enableval" = yes; then
10919 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10921 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10926 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x
; then
10928 eval "DEFAULT_$LINE"
10933 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10937 eval "$ac_cv_use_dccache"
10938 if test "$no_cache" != 1; then
10939 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10942 if test "$wxUSE_DC_CACHEING" = yes; then
10943 echo "$as_me:$LINENO: result: yes" >&5
10944 echo "${ECHO_T}yes" >&6
10946 echo "$as_me:$LINENO: result: no" >&5
10947 echo "${ECHO_T}no" >&6
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10958 # Check whether --enable-palette or --disable-palette was given.
10959 if test "${enable_palette+set}" = set; then
10960 enableval
="$enable_palette"
10962 if test "$enableval" = yes; then
10963 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10965 ac_cv_use_palette
='wxUSE_PALETTE=no'
10970 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x
; then
10972 eval "DEFAULT_$LINE"
10977 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10981 eval "$ac_cv_use_palette"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10986 if test "$wxUSE_PALETTE" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10999 # Check whether --enable-image or --disable-image was given.
11000 if test "${enable_image+set}" = set; then
11001 enableval
="$enable_image"
11003 if test "$enableval" = yes; then
11004 ac_cv_use_image
='wxUSE_IMAGE=yes'
11006 ac_cv_use_image
='wxUSE_IMAGE=no'
11011 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x
; then
11013 eval "DEFAULT_$LINE"
11018 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11022 eval "$ac_cv_use_image"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11027 if test "$wxUSE_IMAGE" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11040 # Check whether --enable-gif or --disable-gif was given.
11041 if test "${enable_gif+set}" = set; then
11042 enableval
="$enable_gif"
11044 if test "$enableval" = yes; then
11045 ac_cv_use_gif
='wxUSE_GIF=yes'
11047 ac_cv_use_gif
='wxUSE_GIF=no'
11052 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x
; then
11054 eval "DEFAULT_$LINE"
11059 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11063 eval "$ac_cv_use_gif"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11068 if test "$wxUSE_GIF" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11081 # Check whether --enable-pcx or --disable-pcx was given.
11082 if test "${enable_pcx+set}" = set; then
11083 enableval
="$enable_pcx"
11085 if test "$enableval" = yes; then
11086 ac_cv_use_pcx
='wxUSE_PCX=yes'
11088 ac_cv_use_pcx
='wxUSE_PCX=no'
11093 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x
; then
11095 eval "DEFAULT_$LINE"
11100 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11104 eval "$ac_cv_use_pcx"
11105 if test "$no_cache" != 1; then
11106 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11109 if test "$wxUSE_PCX" = yes; then
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11113 echo "$as_me:$LINENO: result: no" >&5
11114 echo "${ECHO_T}no" >&6
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11122 # Check whether --enable-iff or --disable-iff was given.
11123 if test "${enable_iff+set}" = set; then
11124 enableval
="$enable_iff"
11126 if test "$enableval" = yes; then
11127 ac_cv_use_iff
='wxUSE_IFF=yes'
11129 ac_cv_use_iff
='wxUSE_IFF=no'
11134 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x
; then
11136 eval "DEFAULT_$LINE"
11141 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11145 eval "$ac_cv_use_iff"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11150 if test "$wxUSE_IFF" = yes; then
11151 echo "$as_me:$LINENO: result: yes" >&5
11152 echo "${ECHO_T}yes" >&6
11154 echo "$as_me:$LINENO: result: no" >&5
11155 echo "${ECHO_T}no" >&6
11160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11163 # Check whether --enable-pnm or --disable-pnm was given.
11164 if test "${enable_pnm+set}" = set; then
11165 enableval
="$enable_pnm"
11167 if test "$enableval" = yes; then
11168 ac_cv_use_pnm
='wxUSE_PNM=yes'
11170 ac_cv_use_pnm
='wxUSE_PNM=no'
11175 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x
; then
11177 eval "DEFAULT_$LINE"
11182 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11186 eval "$ac_cv_use_pnm"
11187 if test "$no_cache" != 1; then
11188 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11191 if test "$wxUSE_PNM" = yes; then
11192 echo "$as_me:$LINENO: result: yes" >&5
11193 echo "${ECHO_T}yes" >&6
11195 echo "$as_me:$LINENO: result: no" >&5
11196 echo "${ECHO_T}no" >&6
11201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11204 # Check whether --enable-xpm or --disable-xpm was given.
11205 if test "${enable_xpm+set}" = set; then
11206 enableval
="$enable_xpm"
11208 if test "$enableval" = yes; then
11209 ac_cv_use_xpm
='wxUSE_XPM=yes'
11211 ac_cv_use_xpm
='wxUSE_XPM=no'
11216 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x
; then
11218 eval "DEFAULT_$LINE"
11223 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11227 eval "$ac_cv_use_xpm"
11228 if test "$no_cache" != 1; then
11229 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11232 if test "$wxUSE_XPM" = yes; then
11233 echo "$as_me:$LINENO: result: yes" >&5
11234 echo "${ECHO_T}yes" >&6
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11245 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11246 if test "${enable_ico_cur+set}" = set; then
11247 enableval
="$enable_ico_cur"
11249 if test "$enableval" = yes; then
11250 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11252 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11257 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x
; then
11259 eval "DEFAULT_$LINE"
11264 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11268 eval "$ac_cv_use_ico_cur"
11269 if test "$no_cache" != 1; then
11270 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11273 if test "$wxUSE_ICO_CUR" = yes; then
11274 echo "$as_me:$LINENO: result: yes" >&5
11275 echo "${ECHO_T}yes" >&6
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11286 # Check whether --with-flavour or --without-flavour was given.
11287 if test "${with_flavour+set}" = set; then
11288 withval
="$with_flavour"
11289 WX_FLAVOUR
="$withval"
11295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11298 # Check whether --enable-official_build or --disable-official_build was given.
11299 if test "${enable_official_build+set}" = set; then
11300 enableval
="$enable_official_build"
11302 if test "$enableval" = yes; then
11303 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11305 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11310 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x
; then
11312 eval "DEFAULT_$LINE"
11317 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11321 eval "$ac_cv_use_official_build"
11322 if test "$no_cache" != 1; then
11323 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11326 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11327 echo "$as_me:$LINENO: result: yes" >&5
11328 echo "${ECHO_T}yes" >&6
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11334 # Check whether --enable-vendor or --disable-vendor was given.
11335 if test "${enable_vendor+set}" = set; then
11336 enableval
="$enable_vendor"
11337 VENDOR
="$enableval"
11339 if test "x$VENDOR" = "x"; then
11346 echo "saving argument cache $wx_arg_cache_file"
11347 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11351 echo "$as_me:$LINENO: checking for toolkit" >&5
11352 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11354 # In Wine, we need to default to MSW, not GTK or MOTIF
11355 if test "$wxUSE_WINE" = "yes"; then
11356 DEFAULT_DEFAULT_wxUSE_GTK
=0
11357 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11358 DEFAULT_DEFAULT_wxUSE_MSW
=1
11363 if test "$wxUSE_GUI" = "yes"; then
11365 if test "$USE_BEOS" = 1; then
11366 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11367 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11368 { (exit 1); exit 1; }; }
11371 if test "$TOOLKIT_GIVEN" = 1; then
11372 for toolkit
in `echo $ALL_TOOLKITS`; do
11374 eval "value=\$${var}"
11375 if test "x$value" = "xno"; then
11377 elif test "x$value" != "x"; then
11381 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11382 eval "wx${toolkit}_VERSION=$value"
11386 for toolkit
in `echo $ALL_TOOLKITS`; do
11387 if test "$has_toolkit_in_cache" != 1; then
11388 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11390 var
=DEFAULT_wxUSE_
$toolkit
11392 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11393 if test "x$version" != "x"; then
11394 eval "wx${toolkit}_VERSION=$version"
11397 eval "wxUSE_$toolkit=\$${var}"
11401 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11402 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11403 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11406 *-pc-os2_emx | *-pc-os2-emx )
11407 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11410 case "$NUM_TOOLKITS" in
11414 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11415 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11416 { (exit 1); exit 1; }; }
11419 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11420 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11421 { (exit 1); exit 1; }; }
11424 # to be removed when --disable-gtk2 isn't needed
11425 if test "x$wxUSE_GTK2" = "xyes"; then
11427 elif test "x$wxUSE_GTK2" = "xno"; then
11431 for toolkit
in `echo $ALL_TOOLKITS`; do
11433 eval "value=\$${var}"
11434 if test "x$value" != x
; then
11435 cache_var
=CACHE_
$toolkit
11436 eval "cache=\$${cache_var}"
11437 if test "$cache" = 1; then
11438 echo "$var=$value" >> ${wx_arg_cache_file}
11439 eval "version=\$wx${toolkit}_VERSION"
11440 if test "x$version" != "x"; then
11441 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11444 if test "$value" = 1; then
11445 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11446 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11447 echo "${ECHO_T}$toolkit_echo" >&6
11452 if test "x$host_alias" != "x"; then
11453 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11454 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11456 echo "$as_me:$LINENO: result: base only" >&5
11457 echo "${ECHO_T}base only" >&6
11462 doesnt_want_win32
=0
11465 if test "$wxUSE_MSW" = 1 ; then
11467 BAKEFILE_FORCE_PLATFORM
=win32
11469 doesnt_want_win32
=1
11477 if test "$wxUSE_WINE" = "yes"; then
11481 LDFLAGS_GUI
="-mwindows"
11484 if test "$wants_win32" = 1 ; then
11487 cat >>confdefs.h
<<\_ACEOF
11488 #define __WIN32__ 1
11491 cat >>confdefs.h
<<\_ACEOF
11492 #define __WIN95__ 1
11495 cat >>confdefs.h
<<\_ACEOF
11496 #define __WINDOWS__ 1
11499 cat >>confdefs.h
<<\_ACEOF
11500 #define __GNUWIN32__ 1
11503 cat >>confdefs.h
<<\_ACEOF
11507 cat >>confdefs.h
<<\_ACEOF
11508 #define WINVER 0x0400
11512 if test "$doesnt_want_win32" = 1 ; then
11517 if test "$USE_UNIX" = 1 ; then
11519 cat >>confdefs.h
<<\_ACEOF
11526 cat >confcache
<<\_ACEOF
11527 # This file is a shell script that caches the results of configure
11528 # tests run on this system so they can be shared between configure
11529 # scripts and configure runs, see configure's option --config-cache.
11530 # It is not useful on other systems. If it contains results you don't
11531 # want to keep, you may remove or edit it.
11533 # config.status only pays attention to the cache file if you give it
11534 # the --recheck option to rerun configure.
11536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11538 # following values.
11542 # The following way of writing the cache mishandles newlines in values,
11543 # but we know of no workaround that is simple, portable, and efficient.
11544 # So, don't put newlines in cache variables' values.
11545 # Ultrix sh set writes to stderr and can't be redirected directly,
11546 # and sets the high bit in the cache file unless we assign to the vars.
11549 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11551 # `set' does not quote correctly, so add quotes (double-quote
11552 # substitution turns \\\\ into \\, and sed turns \\ into \).
11555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11558 # `set' quotes correctly as required by POSIX, so do not add quotes.
11560 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11569 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11571 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11572 if test -w $cache_file; then
11573 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11574 cat confcache
>$cache_file
11576 echo "not updating unwritable cache $cache_file"
11586 ac_cpp
='$CPP $CPPFLAGS'
11587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11590 if test -n "$ac_tool_prefix"; then
11591 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11592 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11593 echo "$as_me:$LINENO: checking for $ac_word" >&5
11594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11595 if test "${ac_cv_prog_CC+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 if test -n "$CC"; then
11599 ac_cv_prog_CC
="$CC" # Let the user override the test.
11601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11602 for as_dir
in $PATH
11605 test -z "$as_dir" && as_dir
=.
11606 for ac_exec_ext
in '' $ac_executable_extensions; do
11607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11608 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11618 if test -n "$CC"; then
11619 echo "$as_me:$LINENO: result: $CC" >&5
11620 echo "${ECHO_T}$CC" >&6
11622 echo "$as_me:$LINENO: result: no" >&5
11623 echo "${ECHO_T}no" >&6
11627 if test -z "$ac_cv_prog_CC"; then
11629 # Extract the first word of "gcc", so it can be a program name with args.
11630 set dummy gcc
; ac_word
=$2
11631 echo "$as_me:$LINENO: checking for $ac_word" >&5
11632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 if test -n "$ac_ct_CC"; then
11637 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11640 for as_dir
in $PATH
11643 test -z "$as_dir" && as_dir
=.
11644 for ac_exec_ext
in '' $ac_executable_extensions; do
11645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11646 ac_cv_prog_ac_ct_CC
="gcc"
11647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11656 if test -n "$ac_ct_CC"; then
11657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11658 echo "${ECHO_T}$ac_ct_CC" >&6
11660 echo "$as_me:$LINENO: result: no" >&5
11661 echo "${ECHO_T}no" >&6
11666 CC
="$ac_cv_prog_CC"
11669 if test -z "$CC"; then
11670 if test -n "$ac_tool_prefix"; then
11671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11672 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11673 echo "$as_me:$LINENO: checking for $ac_word" >&5
11674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11675 if test "${ac_cv_prog_CC+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 if test -n "$CC"; then
11679 ac_cv_prog_CC
="$CC" # Let the user override the test.
11681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11682 for as_dir
in $PATH
11685 test -z "$as_dir" && as_dir
=.
11686 for ac_exec_ext
in '' $ac_executable_extensions; do
11687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11698 if test -n "$CC"; then
11699 echo "$as_me:$LINENO: result: $CC" >&5
11700 echo "${ECHO_T}$CC" >&6
11702 echo "$as_me:$LINENO: result: no" >&5
11703 echo "${ECHO_T}no" >&6
11707 if test -z "$ac_cv_prog_CC"; then
11709 # Extract the first word of "cc", so it can be a program name with args.
11710 set dummy cc
; ac_word
=$2
11711 echo "$as_me:$LINENO: checking for $ac_word" >&5
11712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 if test -n "$ac_ct_CC"; then
11717 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11720 for as_dir
in $PATH
11723 test -z "$as_dir" && as_dir
=.
11724 for ac_exec_ext
in '' $ac_executable_extensions; do
11725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 ac_cv_prog_ac_ct_CC
="cc"
11727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11735 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11736 if test -n "$ac_ct_CC"; then
11737 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11738 echo "${ECHO_T}$ac_ct_CC" >&6
11740 echo "$as_me:$LINENO: result: no" >&5
11741 echo "${ECHO_T}no" >&6
11746 CC
="$ac_cv_prog_CC"
11750 if test -z "$CC"; then
11751 # Extract the first word of "cc", so it can be a program name with args.
11752 set dummy cc
; ac_word
=$2
11753 echo "$as_me:$LINENO: checking for $ac_word" >&5
11754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11755 if test "${ac_cv_prog_CC+set}" = set; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 if test -n "$CC"; then
11759 ac_cv_prog_CC
="$CC" # Let the user override the test.
11761 ac_prog_rejected
=no
11762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11763 for as_dir
in $PATH
11766 test -z "$as_dir" && as_dir
=.
11767 for ac_exec_ext
in '' $ac_executable_extensions; do
11768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11769 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11770 ac_prog_rejected
=yes
11774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 if test $ac_prog_rejected = yes; then
11781 # We found a bogon in the path, so make sure we never use it.
11782 set dummy
$ac_cv_prog_CC
11784 if test $# != 0; then
11785 # We chose a different compiler from the bogus one.
11786 # However, it has the same basename, so the bogon will be chosen
11787 # first if we set CC to just the basename; use the full file name.
11789 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11795 if test -n "$CC"; then
11796 echo "$as_me:$LINENO: result: $CC" >&5
11797 echo "${ECHO_T}$CC" >&6
11799 echo "$as_me:$LINENO: result: no" >&5
11800 echo "${ECHO_T}no" >&6
11804 if test -z "$CC"; then
11805 if test -n "$ac_tool_prefix"; then
11808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11809 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11810 echo "$as_me:$LINENO: checking for $ac_word" >&5
11811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11812 if test "${ac_cv_prog_CC+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 if test -n "$CC"; then
11816 ac_cv_prog_CC
="$CC" # Let the user override the test.
11818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11819 for as_dir
in $PATH
11822 test -z "$as_dir" && as_dir
=.
11823 for ac_exec_ext
in '' $ac_executable_extensions; do
11824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11825 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11835 if test -n "$CC"; then
11836 echo "$as_me:$LINENO: result: $CC" >&5
11837 echo "${ECHO_T}$CC" >&6
11839 echo "$as_me:$LINENO: result: no" >&5
11840 echo "${ECHO_T}no" >&6
11843 test -n "$CC" && break
11846 if test -z "$CC"; then
11850 # Extract the first word of "$ac_prog", so it can be a program name with args.
11851 set dummy
$ac_prog; ac_word
=$2
11852 echo "$as_me:$LINENO: checking for $ac_word" >&5
11853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 if test -n "$ac_ct_CC"; then
11858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11861 for as_dir
in $PATH
11864 test -z "$as_dir" && as_dir
=.
11865 for ac_exec_ext
in '' $ac_executable_extensions; do
11866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11867 ac_cv_prog_ac_ct_CC
="$ac_prog"
11868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11877 if test -n "$ac_ct_CC"; then
11878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11879 echo "${ECHO_T}$ac_ct_CC" >&6
11881 echo "$as_me:$LINENO: result: no" >&5
11882 echo "${ECHO_T}no" >&6
11885 test -n "$ac_ct_CC" && break
11894 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11895 See \`config.log' for more details." >&5
11896 echo "$as_me: error: no acceptable C compiler found in \$PATH
11897 See \`config.log' for more details." >&2;}
11898 { (exit 1); exit 1; }; }
11900 # Provide some information about the compiler.
11901 echo "$as_me:$LINENO:" \
11902 "checking for C compiler version" >&5
11903 ac_compiler
=`set X $ac_compile; echo $2`
11904 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11905 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }
11909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11910 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }
11914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11915 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }
11920 cat >conftest.
$ac_ext <<_ACEOF
11923 cat confdefs.h
>>conftest.
$ac_ext
11924 cat >>conftest.
$ac_ext <<_ACEOF
11925 /* end confdefs.h. */
11935 ac_clean_files_save
=$ac_clean_files
11936 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11937 # Try to create an executable without -o first, disregard a.out.
11938 # It will help us diagnose broken compilers, and finding out an intuition
11940 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11941 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11942 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11943 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11944 (eval $ac_link_default) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; then
11948 # Find the output, starting from the most likely. This scheme is
11949 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11952 # Be careful to initialize this variable, since it used to be cached.
11953 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11955 # b.out is created by i960 compilers.
11956 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11958 test -f "$ac_file" || continue
11960 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11963 # This is the source file.
11966 # We found the default executable, but exeext='' is most
11970 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11971 # FIXME: I believe we export ac_cv_exeext for Libtool,
11972 # but it would be cool to find out if it's true. Does anybody
11973 # maintain Libtool? --akim.
11974 export ac_cv_exeext
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.
$ac_ext >&5
11984 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11985 See \`config.log' for more details." >&5
11986 echo "$as_me: error: C compiler cannot create executables
11987 See \`config.log' for more details." >&2;}
11988 { (exit 77); exit 77; }; }
11991 ac_exeext
=$ac_cv_exeext
11992 echo "$as_me:$LINENO: result: $ac_file" >&5
11993 echo "${ECHO_T}$ac_file" >&6
11995 # Check the compiler produces executables we can run. If not, either
11996 # the compiler is broken, or we cross compile.
11997 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11998 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11999 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12000 # If not cross compiling, check that we can run a simple program.
12001 if test "$cross_compiling" != yes; then
12002 if { ac_try
='./$ac_file'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12010 if test "$cross_compiling" = maybe
; then
12011 cross_compiling
=yes
12013 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12014 If you meant to cross compile, use \`--host'.
12015 See \`config.log' for more details." >&5
12016 echo "$as_me: error: cannot run C compiled programs.
12017 If you meant to cross compile, use \`--host'.
12018 See \`config.log' for more details." >&2;}
12019 { (exit 1); exit 1; }; }
12023 echo "$as_me:$LINENO: result: yes" >&5
12024 echo "${ECHO_T}yes" >&6
12026 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12027 ac_clean_files
=$ac_clean_files_save
12028 # Check the compiler produces executables we can run. If not, either
12029 # the compiler is broken, or we cross compile.
12030 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12031 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12032 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12033 echo "${ECHO_T}$cross_compiling" >&6
12035 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12036 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038 (eval $ac_link) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; then
12042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12044 # work properly (i.e., refer to `conftest.exe'), while it won't with
12046 for ac_file
in conftest.exe conftest conftest.
*; do
12047 test -f "$ac_file" || continue
12049 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12050 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12051 export ac_cv_exeext
12057 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12058 See \`config.log' for more details." >&5
12059 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12060 See \`config.log' for more details." >&2;}
12061 { (exit 1); exit 1; }; }
12064 rm -f conftest
$ac_cv_exeext
12065 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12066 echo "${ECHO_T}$ac_cv_exeext" >&6
12068 rm -f conftest.
$ac_ext
12069 EXEEXT
=$ac_cv_exeext
12071 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12072 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12073 if test "${ac_cv_objext+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 cat >conftest.
$ac_ext <<_ACEOF
12079 cat confdefs.h
>>conftest.
$ac_ext
12080 cat >>conftest.
$ac_ext <<_ACEOF
12081 /* end confdefs.h. */
12091 rm -f conftest.o conftest.obj
12092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12093 (eval $ac_compile) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; then
12097 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12099 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12100 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12105 echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.
$ac_ext >&5
12108 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12109 See \`config.log' for more details." >&5
12110 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12111 See \`config.log' for more details." >&2;}
12112 { (exit 1); exit 1; }; }
12115 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12117 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12118 echo "${ECHO_T}$ac_cv_objext" >&6
12119 OBJEXT
=$ac_cv_objext
12121 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12122 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12123 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12124 echo $ECHO_N "(cached) $ECHO_C" >&6
12126 cat >conftest.
$ac_ext <<_ACEOF
12129 cat confdefs.h
>>conftest.
$ac_ext
12130 cat >>conftest.
$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12144 rm -f conftest.
$ac_objext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12146 (eval $ac_compile) 2>conftest.er1
12148 grep -v '^ *+' conftest.er1
>conftest.err
12150 cat conftest.err
>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try
='test -s conftest.$ac_objext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_compiler_gnu
=yes
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.
$ac_ext >&5
12172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12173 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12176 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12177 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12178 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12179 ac_test_CFLAGS
=${CFLAGS+set}
12180 ac_save_CFLAGS
=$CFLAGS
12182 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12183 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12184 if test "${ac_cv_prog_cc_g+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 cat >conftest.
$ac_ext <<_ACEOF
12190 cat confdefs.h
>>conftest.
$ac_ext
12191 cat >>conftest.
$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12202 rm -f conftest.
$ac_objext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12204 (eval $ac_compile) 2>conftest.er1
12206 grep -v '^ *+' conftest.er1
>conftest.err
12208 cat conftest.err
>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } &&
12211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; } &&
12217 { ac_try
='test -s conftest.$ac_objext'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; }; then
12223 ac_cv_prog_cc_g
=yes
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.
$ac_ext >&5
12230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12233 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12234 if test "$ac_test_CFLAGS" = set; then
12235 CFLAGS
=$ac_save_CFLAGS
12236 elif test $ac_cv_prog_cc_g = yes; then
12237 if test "$GCC" = yes; then
12243 if test "$GCC" = yes; then
12249 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12250 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12251 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 ac_cv_prog_cc_stdc
=no
12256 cat >conftest.
$ac_ext <<_ACEOF
12259 cat confdefs.h
>>conftest.
$ac_ext
12260 cat >>conftest.
$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12262 #include <stdarg.h>
12264 #include <sys/types.h>
12265 #include <sys/stat.h>
12266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12267 struct buf { int x; };
12268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12269 static char *e (p, i)
12275 static char *f (char * (*g) (char **, int), char **p, ...)
12280 s = g (p, va_arg (v,int));
12285 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12286 function prototypes and stuff, but not '\xHH' hex character constants.
12287 These don't provoke an error unfortunately, instead are silently treated
12288 as 'x'. The following induces an error, until -std1 is added to get
12289 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12290 array size at least. It's necessary to write '\x00'==0 to get something
12291 that's true only with -std1. */
12292 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12294 int test (int i, double x);
12295 struct s1 {int (*f) (int a);};
12296 struct s2 {int (*f) (double a);};
12297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12308 # Don't try gcc -ansi; that turns off useful extensions and
12309 # breaks some systems' header files.
12310 # AIX -qlanglvl=ansi
12311 # Ultrix and OSF/1 -std1
12312 # HP-UX 10.20 and later -Ae
12313 # HP-UX older versions -Aa -D_HPUX_SOURCE
12314 # SVR4 -Xc -D__EXTENSIONS__
12315 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12317 CC
="$ac_save_CC $ac_arg"
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" || test ! -s conftest.err'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; } &&
12333 { ac_try
='test -s conftest.$ac_objext'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12339 ac_cv_prog_cc_stdc
=$ac_arg
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12346 rm -f conftest.err conftest.
$ac_objext
12348 rm -f conftest.
$ac_ext conftest.
$ac_objext
12353 case "x$ac_cv_prog_cc_stdc" in
12355 echo "$as_me:$LINENO: result: none needed" >&5
12356 echo "${ECHO_T}none needed" >&6 ;;
12358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12359 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12360 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12363 # Some people use a C++ compiler to compile C. Since we use `exit',
12364 # in C++ we need to declare it. In case someone uses the same compiler
12365 # for both compiling C and C++ we need to have the C++ compiler decide
12366 # the declaration of exit, since it's the most demanding environment.
12367 cat >conftest.
$ac_ext <<_ACEOF
12368 #ifndef __cplusplus
12372 rm -f conftest.
$ac_objext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12374 (eval $ac_compile) 2>conftest.er1
12376 grep -v '^ *+' conftest.er1
>conftest.err
12378 cat conftest.err
>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try
='test -s conftest.$ac_objext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 for ac_declaration
in \
12395 'extern "C" void std::exit (int) throw (); using std::exit;' \
12396 'extern "C" void std::exit (int); using std::exit;' \
12397 'extern "C" void exit (int) throw ();' \
12398 'extern "C" void exit (int);' \
12401 cat >conftest.
$ac_ext <<_ACEOF
12404 cat confdefs.h
>>conftest.
$ac_ext
12405 cat >>conftest.
$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12408 #include <stdlib.h>
12417 rm -f conftest.
$ac_objext
12418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12419 (eval $ac_compile) 2>conftest.er1
12421 grep -v '^ *+' conftest.er1
>conftest.err
12423 cat conftest.err
>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; } &&
12432 { ac_try
='test -s conftest.$ac_objext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.
$ac_ext >&5
12445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12446 cat >conftest.
$ac_ext <<_ACEOF
12449 cat confdefs.h
>>conftest.
$ac_ext
12450 cat >>conftest.
$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12461 rm -f conftest.
$ac_objext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12463 (eval $ac_compile) 2>conftest.er1
12465 grep -v '^ *+' conftest.er1
>conftest.err
12467 cat conftest.err
>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try
='test -s conftest.$ac_objext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12491 if test -n "$ac_declaration"; then
12492 echo '#ifdef __cplusplus' >>confdefs.h
12493 echo $ac_declaration >>confdefs.h
12494 echo '#endif' >>confdefs.h
12498 echo "$as_me: failed program was:" >&5
12499 sed 's/^/| /' conftest.
$ac_ext >&5
12502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12504 ac_cpp
='$CPP $CPPFLAGS'
12505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12512 ac_cpp
='$CPP $CPPFLAGS'
12513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12517 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12518 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12519 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12520 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12533 #ifndef __INTEL_COMPILER
12541 rm -f conftest.
$ac_objext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543 (eval $ac_compile) 2>conftest.er1
12545 grep -v '^ *+' conftest.er1
>conftest.err
12547 cat conftest.err
>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; } &&
12556 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12562 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12574 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12575 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12577 ac_cpp
='$CPP $CPPFLAGS'
12578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12582 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12589 if test "x$GCC" != "xyes"; then
12590 if test "xCC" = "xC"; then
12591 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12592 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12593 if test "${bakefile_cv_c_exto+set}" = set; then
12594 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 cat >conftest.
$ac_ext <<_ACEOF
12599 cat confdefs.h
>>conftest.
$ac_ext
12600 cat >>conftest.
$ac_ext <<_ACEOF
12601 /* end confdefs.h. */
12611 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12613 (eval $ac_compile) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; then
12617 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12619 conftest.
$ac_ext.o
)
12620 bakefile_cv_c_exto
="-ext o"
12627 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12628 See \`config.log' for more details." >&5
12629 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12630 See \`config.log' for more details." >&2;}
12631 { (exit 1); exit 1; }; }
12635 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12638 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12639 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12640 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12641 if test "c" = "c"; then
12642 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12644 if test "c" = "cxx"; then
12645 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12649 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12650 unset ac_cv_prog_cc_g
12651 ac_test_CFLAGS
=${CFLAGS+set}
12652 ac_save_CFLAGS
=$CFLAGS
12654 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12655 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12656 if test "${ac_cv_prog_cc_g+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 cat >conftest.
$ac_ext <<_ACEOF
12662 cat confdefs.h
>>conftest.
$ac_ext
12663 cat >>conftest.
$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12674 rm -f conftest.
$ac_objext
12675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12676 (eval $ac_compile) 2>conftest.er1
12678 grep -v '^ *+' conftest.er1
>conftest.err
12680 cat conftest.err
>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } &&
12683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; } &&
12689 { ac_try
='test -s conftest.$ac_objext'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; }; then
12695 ac_cv_prog_cc_g
=yes
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.
$ac_ext >&5
12702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12704 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12705 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12706 if test "$ac_test_CFLAGS" = set; then
12707 CFLAGS
=$ac_save_CFLAGS
12708 elif test $ac_cv_prog_cc_g = yes; then
12709 if test "$GCC" = yes; then
12715 if test "$GCC" = yes; then
12727 ac_cpp
='$CPP $CPPFLAGS'
12728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12732 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12733 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12734 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 cat >conftest.
$ac_ext <<_ACEOF
12740 cat confdefs.h
>>conftest.
$ac_ext
12741 cat >>conftest.
$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12755 rm -f conftest.
$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>conftest.er1
12759 grep -v '^ *+' conftest.er1
>conftest.err
12761 cat conftest.err
>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } &&
12770 { ac_try
='test -s conftest.$ac_objext'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; }; then
12776 bakefile_compiler_xlc
=yes
12778 echo "$as_me: failed program was:" >&5
12779 sed 's/^/| /' conftest.
$ac_ext >&5
12781 bakefile_compiler_xlc
=no
12783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12784 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12787 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12788 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12790 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12792 ac_cpp
='$CPP $CPPFLAGS'
12793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12802 ac_cpp
='$CPP $CPPFLAGS'
12803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12807 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12808 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12809 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 cat >conftest.
$ac_ext <<_ACEOF
12815 cat confdefs.h
>>conftest.
$ac_ext
12816 cat >>conftest.
$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12830 rm -f conftest.
$ac_objext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12832 (eval $ac_compile) 2>conftest.er1
12834 grep -v '^ *+' conftest.er1
>conftest.err
12836 cat conftest.err
>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } &&
12839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; } &&
12845 { ac_try
='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 bakefile_compiler_mwerks
=yes
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.
$ac_ext >&5
12856 bakefile_compiler_mwerks
=no
12858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12859 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12862 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12863 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12865 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12867 ac_cpp
='$CPP $CPPFLAGS'
12868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12874 ac_cpp
='$CPP $CPPFLAGS'
12875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12879 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12880 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12881 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 cat >conftest.
$ac_ext <<_ACEOF
12887 cat confdefs.h
>>conftest.
$ac_ext
12888 cat >>conftest.
$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12902 rm -f conftest.
$ac_objext
12903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12904 (eval $ac_compile) 2>conftest.er1
12906 grep -v '^ *+' conftest.er1
>conftest.err
12908 cat conftest.err
>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } &&
12911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; } &&
12917 { ac_try
='test -s conftest.$ac_objext'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; }; then
12923 bakefile_compiler_xlc
=yes
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.
$ac_ext >&5
12928 bakefile_compiler_xlc
=no
12930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12931 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12934 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12935 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12937 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12939 ac_cpp
='$CPP $CPPFLAGS'
12940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12951 ac_cpp
='$CPP $CPPFLAGS'
12952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12956 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12957 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12958 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 cat >conftest.
$ac_ext <<_ACEOF
12964 cat confdefs.h
>>conftest.
$ac_ext
12965 cat >>conftest.
$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12972 #ifndef _SGI_COMPILER_VERSION
12980 rm -f conftest.
$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1
>conftest.err
12986 cat conftest.err
>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try
='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13006 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13013 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13014 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13016 ac_cpp
='$CPP $CPPFLAGS'
13017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13021 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13034 ac_cpp
='$CPP $CPPFLAGS'
13035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13039 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13040 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13041 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 cat >conftest.
$ac_ext <<_ACEOF
13047 cat confdefs.h
>>conftest.
$ac_ext
13048 cat >>conftest.
$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13063 rm -f conftest.
$ac_objext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13065 (eval $ac_compile) 2>conftest.er1
13067 grep -v '^ *+' conftest.er1
>conftest.err
13069 cat conftest.err
>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try
='test -s conftest.$ac_objext'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; }; then
13084 bakefile_cv_c_compiler___HP_cc
=yes
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.
$ac_ext >&5
13089 bakefile_cv_c_compiler___HP_cc
=no
13092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13096 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13097 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13099 ac_cpp
='$CPP $CPPFLAGS'
13100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13104 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13117 ac_cpp
='$CPP $CPPFLAGS'
13118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13122 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13123 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13124 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13125 echo $ECHO_N "(cached) $ECHO_C" >&6
13127 cat >conftest.
$ac_ext <<_ACEOF
13130 cat confdefs.h
>>conftest.
$ac_ext
13131 cat >>conftest.
$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13146 rm -f conftest.
$ac_objext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13148 (eval $ac_compile) 2>conftest.er1
13150 grep -v '^ *+' conftest.er1
>conftest.err
13152 cat conftest.err
>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; } &&
13161 { ac_try
='test -s conftest.$ac_objext'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; }; then
13167 bakefile_cv_c_compiler___DECC
=yes
13169 echo "$as_me: failed program was:" >&5
13170 sed 's/^/| /' conftest.
$ac_ext >&5
13172 bakefile_cv_c_compiler___DECC
=no
13175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13179 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13180 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13182 ac_cpp
='$CPP $CPPFLAGS'
13183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13187 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13200 ac_cpp
='$CPP $CPPFLAGS'
13201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13205 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13206 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13207 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 cat >conftest.
$ac_ext <<_ACEOF
13213 cat confdefs.h
>>conftest.
$ac_ext
13214 cat >>conftest.
$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13229 rm -f conftest.
$ac_objext
13230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13231 (eval $ac_compile) 2>conftest.er1
13233 grep -v '^ *+' conftest.er1
>conftest.err
13235 cat conftest.err
>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; } &&
13244 { ac_try
='test -s conftest.$ac_objext'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 bakefile_cv_c_compiler___SUNPRO_C
=yes
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.
$ac_ext >&5
13255 bakefile_cv_c_compiler___SUNPRO_C
=no
13258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13262 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13263 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13265 ac_cpp
='$CPP $CPPFLAGS'
13266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13270 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13284 ac_cpp
='$CPP $CPPFLAGS'
13285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13288 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13289 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13290 # On Suns, sometimes $CPP names a directory.
13291 if test -n "$CPP" && test -d "$CPP"; then
13294 if test -z "$CPP"; then
13295 if test "${ac_cv_prog_CPP+set}" = set; then
13296 echo $ECHO_N "(cached) $ECHO_C" >&6
13298 # Double quotes because CPP needs to be expanded
13299 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13301 ac_preproc_ok
=false
13302 for ac_c_preproc_warn_flag
in '' yes
13304 # Use a header file that comes with gcc, so configuring glibc
13305 # with a fresh cross-compiler works.
13306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13307 # <limits.h> exists even on freestanding compilers.
13308 # On the NeXT, cc -E runs the code through the compiler's parser,
13309 # not just through cpp. "Syntax error" is here to catch this case.
13310 cat >conftest.
$ac_ext <<_ACEOF
13313 cat confdefs.h
>>conftest.
$ac_ext
13314 cat >>conftest.
$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13317 # include <limits.h>
13319 # include <assert.h>
13323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13326 grep -v '^ *+' conftest.er1
>conftest.err
13328 cat conftest.err
>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); } >/dev
/null
; then
13331 if test -s conftest.err
; then
13332 ac_cpp_err
=$ac_c_preproc_warn_flag
13333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13340 if test -z "$ac_cpp_err"; then
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.
$ac_ext >&5
13346 # Broken: fails on valid input.
13349 rm -f conftest.err conftest.
$ac_ext
13351 # OK, works on sane cases. Now check whether non-existent headers
13352 # can be detected and how.
13353 cat >conftest.
$ac_ext <<_ACEOF
13356 cat confdefs.h
>>conftest.
$ac_ext
13357 cat >>conftest.
$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 #include <ac_nonexistent.h>
13361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13362 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
13369 if test -s conftest.err
; then
13370 ac_cpp_err
=$ac_c_preproc_warn_flag
13371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13378 if test -z "$ac_cpp_err"; then
13379 # Broken: success on invalid input.
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 # Passes both tests.
13389 rm -f conftest.err conftest.
$ac_ext
13392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13393 rm -f conftest.err conftest.
$ac_ext
13394 if $ac_preproc_ok; then
13399 ac_cv_prog_CPP
=$CPP
13402 CPP
=$ac_cv_prog_CPP
13404 ac_cv_prog_CPP
=$CPP
13406 echo "$as_me:$LINENO: result: $CPP" >&5
13407 echo "${ECHO_T}$CPP" >&6
13408 ac_preproc_ok
=false
13409 for ac_c_preproc_warn_flag
in '' yes
13411 # Use a header file that comes with gcc, so configuring glibc
13412 # with a fresh cross-compiler works.
13413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13414 # <limits.h> exists even on freestanding compilers.
13415 # On the NeXT, cc -E runs the code through the compiler's parser,
13416 # not just through cpp. "Syntax error" is here to catch this case.
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13424 # include <limits.h>
13426 # include <assert.h>
13430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13433 grep -v '^ *+' conftest.er1
>conftest.err
13435 cat conftest.err
>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } >/dev
/null
; then
13438 if test -s conftest.err
; then
13439 ac_cpp_err
=$ac_c_preproc_warn_flag
13440 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13447 if test -z "$ac_cpp_err"; then
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.
$ac_ext >&5
13453 # Broken: fails on valid input.
13456 rm -f conftest.err conftest.
$ac_ext
13458 # OK, works on sane cases. Now check whether non-existent headers
13459 # can be detected and how.
13460 cat >conftest.
$ac_ext <<_ACEOF
13463 cat confdefs.h
>>conftest.
$ac_ext
13464 cat >>conftest.
$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13466 #include <ac_nonexistent.h>
13468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13471 grep -v '^ *+' conftest.er1
>conftest.err
13473 cat conftest.err
>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); } >/dev
/null
; then
13476 if test -s conftest.err
; then
13477 ac_cpp_err
=$ac_c_preproc_warn_flag
13478 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13485 if test -z "$ac_cpp_err"; then
13486 # Broken: success on invalid input.
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.
$ac_ext >&5
13492 # Passes both tests.
13496 rm -f conftest.err conftest.
$ac_ext
13499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13500 rm -f conftest.err conftest.
$ac_ext
13501 if $ac_preproc_ok; then
13504 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13505 See \`config.log' for more details." >&5
13506 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13507 See \`config.log' for more details." >&2;}
13508 { (exit 1); exit 1; }; }
13512 ac_cpp
='$CPP $CPPFLAGS'
13513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13518 echo "$as_me:$LINENO: checking for egrep" >&5
13519 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13520 if test "${ac_cv_prog_egrep+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13524 then ac_cv_prog_egrep
='grep -E'
13525 else ac_cv_prog_egrep
='egrep'
13528 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13529 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13530 EGREP
=$ac_cv_prog_egrep
13533 if test $ac_cv_c_compiler_gnu = yes; then
13534 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13535 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13536 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13537 echo $ECHO_N "(cached) $ECHO_C" >&6
13539 ac_pattern
="Autoconf.*'x'"
13540 cat >conftest.
$ac_ext <<_ACEOF
13543 cat confdefs.h
>>conftest.
$ac_ext
13544 cat >>conftest.
$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13550 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13551 ac_cv_prog_gcc_traditional
=yes
13553 ac_cv_prog_gcc_traditional
=no
13558 if test $ac_cv_prog_gcc_traditional = no
; then
13559 cat >conftest.
$ac_ext <<_ACEOF
13562 cat confdefs.h
>>conftest.
$ac_ext
13563 cat >>conftest.
$ac_ext <<_ACEOF
13564 /* end confdefs.h. */
13565 #include <termio.h>
13568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13569 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13570 ac_cv_prog_gcc_traditional
=yes
13576 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13577 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13578 if test $ac_cv_prog_gcc_traditional = yes; then
13579 CC
="$CC -traditional"
13585 ac_cpp
='$CXXCPP $CPPFLAGS'
13586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13591 CXXFLAGS
=${CXXFLAGS:=}
13596 ac_cpp
='$CXXCPP $CPPFLAGS'
13597 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13598 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13599 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13600 if test -n "$ac_tool_prefix"; then
13601 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13605 echo "$as_me:$LINENO: checking for $ac_word" >&5
13606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13607 if test "${ac_cv_prog_CXX+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 if test -n "$CXX"; then
13611 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13614 for as_dir
in $PATH
13617 test -z "$as_dir" && as_dir
=.
13618 for ac_exec_ext
in '' $ac_executable_extensions; do
13619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13620 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13629 CXX
=$ac_cv_prog_CXX
13630 if test -n "$CXX"; then
13631 echo "$as_me:$LINENO: result: $CXX" >&5
13632 echo "${ECHO_T}$CXX" >&6
13634 echo "$as_me:$LINENO: result: no" >&5
13635 echo "${ECHO_T}no" >&6
13638 test -n "$CXX" && break
13641 if test -z "$CXX"; then
13643 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13645 # Extract the first word of "$ac_prog", so it can be a program name with args.
13646 set dummy
$ac_prog; ac_word
=$2
13647 echo "$as_me:$LINENO: checking for $ac_word" >&5
13648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13649 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 if test -n "$ac_ct_CXX"; then
13653 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13656 for as_dir
in $PATH
13659 test -z "$as_dir" && as_dir
=.
13660 for ac_exec_ext
in '' $ac_executable_extensions; do
13661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13662 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13671 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13672 if test -n "$ac_ct_CXX"; then
13673 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13674 echo "${ECHO_T}$ac_ct_CXX" >&6
13676 echo "$as_me:$LINENO: result: no" >&5
13677 echo "${ECHO_T}no" >&6
13680 test -n "$ac_ct_CXX" && break
13682 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13688 # Provide some information about the compiler.
13689 echo "$as_me:$LINENO:" \
13690 "checking for C++ compiler version" >&5
13691 ac_compiler
=`set X $ac_compile; echo $2`
13692 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13693 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }
13697 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13698 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }
13702 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13703 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }
13708 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13709 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13710 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13731 rm -f conftest.
$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; } &&
13746 { ac_try
='test -s conftest.$ac_objext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 ac_compiler_gnu
=yes
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.
$ac_ext >&5
13759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13760 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13763 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13764 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13765 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13766 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13767 ac_save_CXXFLAGS
=$CXXFLAGS
13769 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13770 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13771 if test "${ac_cv_prog_cxx_g+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 cat >conftest.
$ac_ext <<_ACEOF
13777 cat confdefs.h
>>conftest.
$ac_ext
13778 cat >>conftest.
$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13789 rm -f conftest.
$ac_objext
13790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13791 (eval $ac_compile) 2>conftest.er1
13793 grep -v '^ *+' conftest.er1
>conftest.err
13795 cat conftest.err
>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; } &&
13804 { ac_try
='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_cv_prog_cxx_g
=yes
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.
$ac_ext >&5
13815 ac_cv_prog_cxx_g
=no
13817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13819 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13820 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13821 if test "$ac_test_CXXFLAGS" = set; then
13822 CXXFLAGS
=$ac_save_CXXFLAGS
13823 elif test $ac_cv_prog_cxx_g = yes; then
13824 if test "$GXX" = yes; then
13830 if test "$GXX" = yes; then
13836 for ac_declaration
in \
13838 'extern "C" void std::exit (int) throw (); using std::exit;' \
13839 'extern "C" void std::exit (int); using std::exit;' \
13840 'extern "C" void exit (int) throw ();' \
13841 'extern "C" void exit (int);' \
13844 cat >conftest.
$ac_ext <<_ACEOF
13847 cat confdefs.h
>>conftest.
$ac_ext
13848 cat >>conftest.
$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13851 #include <stdlib.h>
13860 rm -f conftest.
$ac_objext
13861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13862 (eval $ac_compile) 2>conftest.er1
13864 grep -v '^ *+' conftest.er1
>conftest.err
13866 cat conftest.err
>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } &&
13869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; } &&
13875 { ac_try
='test -s conftest.$ac_objext'
13876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 (eval $ac_try) 2>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; }; then
13883 echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.
$ac_ext >&5
13888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13889 cat >conftest.
$ac_ext <<_ACEOF
13892 cat confdefs.h
>>conftest.
$ac_ext
13893 cat >>conftest.
$ac_ext <<_ACEOF
13894 /* end confdefs.h. */
13904 rm -f conftest.
$ac_objext
13905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13906 (eval $ac_compile) 2>conftest.er1
13908 grep -v '^ *+' conftest.er1
>conftest.err
13910 cat conftest.err
>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; } &&
13919 { ac_try
='test -s conftest.$ac_objext'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.
$ac_ext >&5
13931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13934 if test -n "$ac_declaration"; then
13935 echo '#ifdef __cplusplus' >>confdefs.h
13936 echo $ac_declaration >>confdefs.h
13937 echo '#endif' >>confdefs.h
13941 ac_cpp
='$CXXCPP $CPPFLAGS'
13942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13949 ac_cpp
='$CXXCPP $CPPFLAGS'
13950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13954 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13955 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13956 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 cat >conftest.
$ac_ext <<_ACEOF
13962 cat confdefs.h
>>conftest.
$ac_ext
13963 cat >>conftest.
$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13970 #ifndef __INTEL_COMPILER
13978 rm -f conftest.
$ac_objext
13979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13980 (eval $ac_compile) 2>conftest.er1
13982 grep -v '^ *+' conftest.er1
>conftest.err
13984 cat conftest.err
>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); } &&
13987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; } &&
13993 { ac_try
='test -s conftest.$ac_objext'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14001 echo "$as_me: failed program was:" >&5
14002 sed 's/^/| /' conftest.
$ac_ext >&5
14004 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14011 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14012 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14014 ac_cpp
='$CXXCPP $CPPFLAGS'
14015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14019 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14026 if test "x$GCXX" != "xyes"; then
14027 if test "xCXX" = "xC"; then
14028 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14029 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14030 if test "${bakefile_cv_cxx_exto+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 cat >conftest.
$ac_ext <<_ACEOF
14036 cat confdefs.h
>>conftest.
$ac_ext
14037 cat >>conftest.
$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14048 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14050 (eval $ac_compile) 2>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; then
14054 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14056 conftest.
$ac_ext.o
)
14057 bakefile_cv_cxx_exto
="-ext o"
14064 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14065 See \`config.log' for more details." >&5
14066 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14067 See \`config.log' for more details." >&2;}
14068 { (exit 1); exit 1; }; }
14072 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14075 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14076 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14077 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14078 if test "cxx" = "c"; then
14079 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14081 if test "cxx" = "cxx"; then
14082 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14086 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14087 unset ac_cv_prog_cc_g
14088 ac_test_CFLAGS
=${CFLAGS+set}
14089 ac_save_CFLAGS
=$CFLAGS
14091 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14092 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14093 if test "${ac_cv_prog_cc_g+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 cat >conftest.
$ac_ext <<_ACEOF
14099 cat confdefs.h
>>conftest.
$ac_ext
14100 cat >>conftest.
$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14111 rm -f conftest.
$ac_objext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14113 (eval $ac_compile) 2>conftest.er1
14115 grep -v '^ *+' conftest.er1
>conftest.err
14117 cat conftest.err
>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try
='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 ac_cv_prog_cc_g
=yes
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.
$ac_ext >&5
14139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14141 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14142 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14143 if test "$ac_test_CFLAGS" = set; then
14144 CFLAGS
=$ac_save_CFLAGS
14145 elif test $ac_cv_prog_cc_g = yes; then
14146 if test "$GCC" = yes; then
14152 if test "$GCC" = yes; then
14164 ac_cpp
='$CXXCPP $CPPFLAGS'
14165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14169 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14170 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14171 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 cat >conftest.
$ac_ext <<_ACEOF
14177 cat confdefs.h
>>conftest.
$ac_ext
14178 cat >>conftest.
$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14192 rm -f conftest.
$ac_objext
14193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14194 (eval $ac_compile) 2>conftest.er1
14196 grep -v '^ *+' conftest.er1
>conftest.err
14198 cat conftest.err
>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } &&
14201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; } &&
14207 { ac_try
='test -s conftest.$ac_objext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 bakefile_compiler_xlc
=yes
14215 echo "$as_me: failed program was:" >&5
14216 sed 's/^/| /' conftest.
$ac_ext >&5
14218 bakefile_compiler_xlc
=no
14220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14221 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14224 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14225 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14227 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14229 ac_cpp
='$CXXCPP $CPPFLAGS'
14230 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14239 ac_cpp
='$CXXCPP $CPPFLAGS'
14240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14244 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14245 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14246 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 cat >conftest.
$ac_ext <<_ACEOF
14252 cat confdefs.h
>>conftest.
$ac_ext
14253 cat >>conftest.
$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14267 rm -f conftest.
$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>conftest.er1
14271 grep -v '^ *+' conftest.er1
>conftest.err
14273 cat conftest.err
>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; } &&
14282 { ac_try
='test -s conftest.$ac_objext'
14283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284 (eval $ac_try) 2>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); }; }; then
14288 bakefile_compiler_mwerks
=yes
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.
$ac_ext >&5
14293 bakefile_compiler_mwerks
=no
14295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14296 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14299 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14300 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14302 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14304 ac_cpp
='$CXXCPP $CPPFLAGS'
14305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14311 ac_cpp
='$CXXCPP $CPPFLAGS'
14312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14316 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14317 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14318 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 cat >conftest.
$ac_ext <<_ACEOF
14324 cat confdefs.h
>>conftest.
$ac_ext
14325 cat >>conftest.
$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14339 rm -f conftest.
$ac_objext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14341 (eval $ac_compile) 2>conftest.er1
14343 grep -v '^ *+' conftest.er1
>conftest.err
14345 cat conftest.err
>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try
='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 bakefile_compiler_xlc
=yes
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.
$ac_ext >&5
14365 bakefile_compiler_xlc
=no
14367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14368 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14371 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14372 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14374 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14376 ac_cpp
='$CXXCPP $CPPFLAGS'
14377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14388 ac_cpp
='$CXXCPP $CPPFLAGS'
14389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14393 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14394 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14395 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 cat >conftest.
$ac_ext <<_ACEOF
14401 cat confdefs.h
>>conftest.
$ac_ext
14402 cat >>conftest.
$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14409 #ifndef _SGI_COMPILER_VERSION
14417 rm -f conftest.
$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.
$ac_ext >&5
14443 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14450 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14451 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14453 ac_cpp
='$CXXCPP $CPPFLAGS'
14454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14458 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14471 ac_cpp
='$CXXCPP $CPPFLAGS'
14472 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14473 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14474 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14476 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14477 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14478 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 cat >conftest.
$ac_ext <<_ACEOF
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14500 rm -f conftest.
$ac_objext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14502 (eval $ac_compile) 2>conftest.er1
14504 grep -v '^ *+' conftest.er1
>conftest.err
14506 cat conftest.err
>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } &&
14509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try
='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 bakefile_cv_cxx_compiler___HP_aCC
=yes
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14526 bakefile_cv_cxx_compiler___HP_aCC
=no
14529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14533 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14534 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14536 ac_cpp
='$CXXCPP $CPPFLAGS'
14537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14541 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14554 ac_cpp
='$CXXCPP $CPPFLAGS'
14555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14559 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14560 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14561 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14564 cat >conftest.
$ac_ext <<_ACEOF
14567 cat confdefs.h
>>conftest.
$ac_ext
14568 cat >>conftest.
$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14583 rm -f conftest.
$ac_objext
14584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14585 (eval $ac_compile) 2>conftest.er1
14587 grep -v '^ *+' conftest.er1
>conftest.err
14589 cat conftest.err
>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try
='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 bakefile_cv_cxx_compiler___DECCXX
=yes
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.
$ac_ext >&5
14609 bakefile_cv_cxx_compiler___DECCXX
=no
14612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14616 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14619 ac_cpp
='$CXXCPP $CPPFLAGS'
14620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14624 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14637 ac_cpp
='$CXXCPP $CPPFLAGS'
14638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14642 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14644 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14658 #ifndef __SUNPRO_CC
14666 rm -f conftest.
$ac_objext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14668 (eval $ac_compile) 2>conftest.er1
14670 grep -v '^ *+' conftest.er1
>conftest.err
14672 cat conftest.err
>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } &&
14675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; } &&
14681 { ac_try
='test -s conftest.$ac_objext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.
$ac_ext >&5
14692 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14699 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14700 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14702 ac_cpp
='$CXXCPP $CPPFLAGS'
14703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14707 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14720 if test -n "$ac_tool_prefix"; then
14721 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14722 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14723 echo "$as_me:$LINENO: checking for $ac_word" >&5
14724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14725 if test "${ac_cv_prog_RANLIB+set}" = set; then
14726 echo $ECHO_N "(cached) $ECHO_C" >&6
14728 if test -n "$RANLIB"; then
14729 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14732 for as_dir
in $PATH
14735 test -z "$as_dir" && as_dir
=.
14736 for ac_exec_ext
in '' $ac_executable_extensions; do
14737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14738 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14747 RANLIB
=$ac_cv_prog_RANLIB
14748 if test -n "$RANLIB"; then
14749 echo "$as_me:$LINENO: result: $RANLIB" >&5
14750 echo "${ECHO_T}$RANLIB" >&6
14752 echo "$as_me:$LINENO: result: no" >&5
14753 echo "${ECHO_T}no" >&6
14757 if test -z "$ac_cv_prog_RANLIB"; then
14758 ac_ct_RANLIB
=$RANLIB
14759 # Extract the first word of "ranlib", so it can be a program name with args.
14760 set dummy ranlib
; ac_word
=$2
14761 echo "$as_me:$LINENO: checking for $ac_word" >&5
14762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14763 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 if test -n "$ac_ct_RANLIB"; then
14767 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14770 for as_dir
in $PATH
14773 test -z "$as_dir" && as_dir
=.
14774 for ac_exec_ext
in '' $ac_executable_extensions; do
14775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14776 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14783 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14786 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14787 if test -n "$ac_ct_RANLIB"; then
14788 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14789 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14791 echo "$as_me:$LINENO: result: no" >&5
14792 echo "${ECHO_T}no" >&6
14795 RANLIB
=$ac_ct_RANLIB
14797 RANLIB
="$ac_cv_prog_RANLIB"
14801 if test -n "$ac_tool_prefix"; then
14802 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14803 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14804 echo "$as_me:$LINENO: checking for $ac_word" >&5
14805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14806 if test "${ac_cv_prog_AR+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 if test -n "$AR"; then
14810 ac_cv_prog_AR
="$AR" # Let the user override the test.
14812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14813 for as_dir
in $PATH
14816 test -z "$as_dir" && as_dir
=.
14817 for ac_exec_ext
in '' $ac_executable_extensions; do
14818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14819 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14829 if test -n "$AR"; then
14830 echo "$as_me:$LINENO: result: $AR" >&5
14831 echo "${ECHO_T}$AR" >&6
14833 echo "$as_me:$LINENO: result: no" >&5
14834 echo "${ECHO_T}no" >&6
14838 if test -z "$ac_cv_prog_AR"; then
14840 # Extract the first word of "ar", so it can be a program name with args.
14841 set dummy
ar; ac_word
=$2
14842 echo "$as_me:$LINENO: checking for $ac_word" >&5
14843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14844 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 if test -n "$ac_ct_AR"; then
14848 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14851 for as_dir
in $PATH
14854 test -z "$as_dir" && as_dir
=.
14855 for ac_exec_ext
in '' $ac_executable_extensions; do
14856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14857 ac_cv_prog_ac_ct_AR
="ar"
14858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14866 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14867 if test -n "$ac_ct_AR"; then
14868 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14869 echo "${ECHO_T}$ac_ct_AR" >&6
14871 echo "$as_me:$LINENO: result: no" >&5
14872 echo "${ECHO_T}no" >&6
14877 AR
="$ac_cv_prog_AR"
14880 if test "x$AR" = "x" ; then
14881 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14882 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14883 { (exit 1); exit 1; }; }
14886 # Find a good install program. We prefer a C program (faster),
14887 # so one script is as good as another. But avoid the broken or
14888 # incompatible versions:
14889 # SysV /etc/install, /usr/sbin/install
14890 # SunOS /usr/etc/install
14891 # IRIX /sbin/install
14893 # AmigaOS /C/install, which installs bootblocks on floppy discs
14894 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14895 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14896 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14897 # OS/2's system install, which has a completely different semantic
14898 # ./install, which can be erroneously created by make from ./install.sh.
14899 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14900 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14901 if test -z "$INSTALL"; then
14902 if test "${ac_cv_path_install+set}" = set; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14906 for as_dir
in $PATH
14909 test -z "$as_dir" && as_dir
=.
14910 # Account for people who put trailing slashes in PATH elements.
14912 .
/ | .
// | /cC
/* | \
14913 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14914 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14917 # OSF1 and SCO ODT 3.0 have their own names for install.
14918 # Don't use installbsd from OSF since it installs stuff as root
14920 for ac_prog
in ginstall scoinst
install; do
14921 for ac_exec_ext
in '' $ac_executable_extensions; do
14922 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14923 if test $ac_prog = install &&
14924 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14925 # AIX install. It has an incompatible calling convention.
14927 elif test $ac_prog = install &&
14928 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14929 # program-specific install script used by HP pwplus--don't use.
14932 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14944 if test "${ac_cv_path_install+set}" = set; then
14945 INSTALL
=$ac_cv_path_install
14947 # As a last resort, use the slow shell script. We don't cache a
14948 # path for INSTALL within a source directory, because that will
14949 # break other packages using the cache if that directory is
14950 # removed, or if the path is relative.
14951 INSTALL
=$ac_install_sh
14954 echo "$as_me:$LINENO: result: $INSTALL" >&5
14955 echo "${ECHO_T}$INSTALL" >&6
14957 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14958 # It thinks the first close brace ends the variable substitution.
14959 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14961 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14963 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14969 ?
:* ) # Drive letter, considered as absolute.
14972 INSTALL
=`pwd`/${INSTALL} ;;
14979 INSTALL_PROGRAM
="cp -fp"
14980 INSTALL_DATA
="cp -fp"
14986 if test -n "$ac_tool_prefix"; then
14987 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14988 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14989 echo "$as_me:$LINENO: checking for $ac_word" >&5
14990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14991 if test "${ac_cv_prog_STRIP+set}" = set; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 if test -n "$STRIP"; then
14995 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14998 for as_dir
in $PATH
15001 test -z "$as_dir" && as_dir
=.
15002 for ac_exec_ext
in '' $ac_executable_extensions; do
15003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15004 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15013 STRIP
=$ac_cv_prog_STRIP
15014 if test -n "$STRIP"; then
15015 echo "$as_me:$LINENO: result: $STRIP" >&5
15016 echo "${ECHO_T}$STRIP" >&6
15018 echo "$as_me:$LINENO: result: no" >&5
15019 echo "${ECHO_T}no" >&6
15023 if test -z "$ac_cv_prog_STRIP"; then
15025 # Extract the first word of "strip", so it can be a program name with args.
15026 set dummy strip
; ac_word
=$2
15027 echo "$as_me:$LINENO: checking for $ac_word" >&5
15028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15029 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 if test -n "$ac_ct_STRIP"; then
15033 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15036 for as_dir
in $PATH
15039 test -z "$as_dir" && as_dir
=.
15040 for ac_exec_ext
in '' $ac_executable_extensions; do
15041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15042 ac_cv_prog_ac_ct_STRIP
="strip"
15043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15049 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15052 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15053 if test -n "$ac_ct_STRIP"; then
15054 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15055 echo "${ECHO_T}$ac_ct_STRIP" >&6
15057 echo "$as_me:$LINENO: result: no" >&5
15058 echo "${ECHO_T}no" >&6
15063 STRIP
="$ac_cv_prog_STRIP"
15067 if test "$wxUSE_WINE" = "yes"; then
15068 if test -n "$ac_tool_prefix"; then
15069 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15070 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15071 echo "$as_me:$LINENO: checking for $ac_word" >&5
15072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15073 if test "${ac_cv_prog_WINDRES+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15076 if test -n "$WINDRES"; then
15077 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15080 for as_dir
in $PATH
15083 test -z "$as_dir" && as_dir
=.
15084 for ac_exec_ext
in '' $ac_executable_extensions; do
15085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15095 WINDRES
=$ac_cv_prog_WINDRES
15096 if test -n "$WINDRES"; then
15097 echo "$as_me:$LINENO: result: $WINDRES" >&5
15098 echo "${ECHO_T}$WINDRES" >&6
15100 echo "$as_me:$LINENO: result: no" >&5
15101 echo "${ECHO_T}no" >&6
15105 if test -z "$ac_cv_prog_WINDRES"; then
15106 ac_ct_WINDRES
=$WINDRES
15107 # Extract the first word of "wrc", so it can be a program name with args.
15108 set dummy wrc
; ac_word
=$2
15109 echo "$as_me:$LINENO: checking for $ac_word" >&5
15110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15111 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 if test -n "$ac_ct_WINDRES"; then
15115 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15118 for as_dir
in $PATH
15121 test -z "$as_dir" && as_dir
=.
15122 for ac_exec_ext
in '' $ac_executable_extensions; do
15123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15124 ac_cv_prog_ac_ct_WINDRES
="wrc"
15125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15133 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15134 if test -n "$ac_ct_WINDRES"; then
15135 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15136 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15138 echo "$as_me:$LINENO: result: no" >&5
15139 echo "${ECHO_T}no" >&6
15142 WINDRES
=$ac_ct_WINDRES
15144 WINDRES
="$ac_cv_prog_WINDRES"
15150 *-*-cygwin* | *-*-mingw32* )
15151 if test -n "$ac_tool_prefix"; then
15152 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15153 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15154 echo "$as_me:$LINENO: checking for $ac_word" >&5
15155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15156 if test "${ac_cv_prog_WINDRES+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 if test -n "$WINDRES"; then
15160 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15163 for as_dir
in $PATH
15166 test -z "$as_dir" && as_dir
=.
15167 for ac_exec_ext
in '' $ac_executable_extensions; do
15168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15169 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15178 WINDRES
=$ac_cv_prog_WINDRES
15179 if test -n "$WINDRES"; then
15180 echo "$as_me:$LINENO: result: $WINDRES" >&5
15181 echo "${ECHO_T}$WINDRES" >&6
15183 echo "$as_me:$LINENO: result: no" >&5
15184 echo "${ECHO_T}no" >&6
15188 if test -z "$ac_cv_prog_WINDRES"; then
15189 ac_ct_WINDRES
=$WINDRES
15190 # Extract the first word of "windres", so it can be a program name with args.
15191 set dummy windres
; ac_word
=$2
15192 echo "$as_me:$LINENO: checking for $ac_word" >&5
15193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15194 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 if test -n "$ac_ct_WINDRES"; then
15198 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15201 for as_dir
in $PATH
15204 test -z "$as_dir" && as_dir
=.
15205 for ac_exec_ext
in '' $ac_executable_extensions; do
15206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15207 ac_cv_prog_ac_ct_WINDRES
="windres"
15208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15216 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15217 if test -n "$ac_ct_WINDRES"; then
15218 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15219 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15221 echo "$as_me:$LINENO: result: no" >&5
15222 echo "${ECHO_T}no" >&6
15225 WINDRES
=$ac_ct_WINDRES
15227 WINDRES
="$ac_cv_prog_WINDRES"
15231 if test -n "$ac_tool_prefix"; then
15232 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15233 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15234 echo "$as_me:$LINENO: checking for $ac_word" >&5
15235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15236 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 if test -n "$DLLTOOL"; then
15240 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15243 for as_dir
in $PATH
15246 test -z "$as_dir" && as_dir
=.
15247 for ac_exec_ext
in '' $ac_executable_extensions; do
15248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15249 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15258 DLLTOOL
=$ac_cv_prog_DLLTOOL
15259 if test -n "$DLLTOOL"; then
15260 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15261 echo "${ECHO_T}$DLLTOOL" >&6
15263 echo "$as_me:$LINENO: result: no" >&5
15264 echo "${ECHO_T}no" >&6
15268 if test -z "$ac_cv_prog_DLLTOOL"; then
15269 ac_ct_DLLTOOL
=$DLLTOOL
15270 # Extract the first word of "dlltool", so it can be a program name with args.
15271 set dummy dlltool
; ac_word
=$2
15272 echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15274 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 if test -n "$ac_ct_DLLTOOL"; then
15278 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 for ac_exec_ext
in '' $ac_executable_extensions; do
15286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15296 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15297 if test -n "$ac_ct_DLLTOOL"; then
15298 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15299 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15301 echo "$as_me:$LINENO: result: no" >&5
15302 echo "${ECHO_T}no" >&6
15305 DLLTOOL
=$ac_ct_DLLTOOL
15307 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15314 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15315 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15316 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15320 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15321 egrep -s GNU
> /dev
/null
); then
15322 wx_cv_prog_makeisgnu
="yes"
15324 wx_cv_prog_makeisgnu
="no"
15328 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15329 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15331 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15339 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15340 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15341 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15342 if test "${wx_cv_prog_makevpath+set}" = set; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 cat - << EOF > confMake
15352 if test ! -d sub
; then
15355 echo dummy
> sub
/file
15356 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15358 rm -f sub
/file check final_file confMake
15360 if test "$RESULT" = 0; then
15361 wx_cv_prog_makevpath
="yes"
15363 wx_cv_prog_makevpath
="no"
15367 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15368 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15370 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15371 { { echo "$as_me:$LINENO: error:
15372 You need a make-utility that is able to use the variable
15374 If your version of make does not support VPATH correctly,
15375 please install GNU-make (possibly as gmake), and start
15376 configure with the following command:
15377 export MAKE=gmake; ./configure for sh-type shells
15378 setenv MAKE gmake; ./configure for csh-type shells
15379 Also please do remember to use gmake in this case every time
15380 you are trying to compile.
15382 echo "$as_me: error:
15383 You need a make-utility that is able to use the variable
15385 If your version of make does not support VPATH correctly,
15386 please install GNU-make (possibly as gmake), and start
15387 configure with the following command:
15388 export MAKE=gmake; ./configure for sh-type shells
15389 setenv MAKE gmake; ./configure for csh-type shells
15390 Also please do remember to use gmake in this case every time
15391 you are trying to compile.
15393 { (exit 1); exit 1; }; }
15395 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15396 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15398 if test "$LN_S" = "ln -s"; then
15399 echo "$as_me:$LINENO: result: yes" >&5
15400 echo "${ECHO_T}yes" >&6
15402 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15403 echo "${ECHO_T}no, using $LN_S" >&6
15409 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15410 CXXFLAGS
="-qunique $CXXFLAGS"
15414 powerpc
-*-darwin* )
15415 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15416 echo $ECHO_N "checking if __POWERPC__ is already defined... $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. */
15427 #ifndef __POWERPC__
15428 choke me for lack of PowerPC
15435 rm -f conftest.
$ac_objext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15437 (eval $ac_compile) 2>conftest.er1
15439 grep -v '^ *+' conftest.er1
>conftest.err
15441 cat conftest.err
>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; } &&
15450 { ac_try
='test -s conftest.$ac_objext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15456 echo "$as_me:$LINENO: result: yes" >&5
15457 echo "${ECHO_T}yes" >&6
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.
$ac_ext >&5
15462 echo "$as_me:$LINENO: result: no" >&5
15463 echo "${ECHO_T}no" >&6
15464 cat >>confdefs.h
<<\_ACEOF
15465 #define __POWERPC__ 1
15470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15476 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15477 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15478 cat >conftest.
$ac_ext <<_ACEOF
15481 cat confdefs.h
>>conftest.
$ac_ext
15482 cat >>conftest.
$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484 #include <CoreFoundation/CFBase.h>
15494 rm -f conftest.
$ac_objext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15496 (eval $ac_compile) 2>conftest.er1
15498 grep -v '^ *+' conftest.er1
>conftest.err
15500 cat conftest.err
>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } &&
15503 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; } &&
15509 { ac_try
='test -s conftest.$ac_objext'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; }; then
15515 echo "$as_me:$LINENO: result: yes" >&5
15516 echo "${ECHO_T}yes" >&6
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.
$ac_ext >&5
15521 echo "$as_me:$LINENO: result: no" >&5
15522 echo "${ECHO_T}no" >&6
15523 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15524 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15525 cat >conftest.
$ac_ext <<_ACEOF
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 #define __CF_USE_FRAMEWORK_INCLUDES__
15532 #include <CoreFoundation/CFBase.h>
15542 rm -f conftest.
$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>conftest.er1
15546 grep -v '^ *+' conftest.er1
>conftest.err
15548 cat conftest.err
>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try
='test -s conftest.$ac_objext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 echo "$as_me:$LINENO: result: yes" >&5
15564 echo "${ECHO_T}yes" >&6
15565 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.
$ac_ext >&5
15570 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15571 See \`config.log' for more details." >&5
15572 echo "$as_me: error: no. CoreFoundation not available.
15573 See \`config.log' for more details." >&2;}
15574 { (exit 1); exit 1; }; }
15577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15586 *-pc-os2_emx | *-pc-os2-emx )
15588 ac_cpp
='$CPP $CPPFLAGS'
15589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15593 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15594 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15595 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15596 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 ac_check_lib_save_LIBS
=$LIBS
15600 LIBS
="-lcExt $LIBS"
15601 cat >conftest.
$ac_ext <<_ACEOF
15604 cat confdefs.h
>>conftest.
$ac_ext
15605 cat >>conftest.
$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15608 /* Override any gcc2 internal prototype to avoid an error. */
15612 /* We use char because int might match the return type of a gcc2
15613 builtin and then its argument prototype would still apply. */
15623 rm -f conftest.
$ac_objext conftest
$ac_exeext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15625 (eval $ac_link) 2>conftest.er1
15627 grep -v '^ *+' conftest.er1
>conftest.err
15629 cat conftest.err
>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15638 { ac_try
='test -s conftest$ac_exeext'
15639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15640 (eval $ac_try) 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_cv_lib_cExt_drand48
=yes
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.
$ac_ext >&5
15649 ac_cv_lib_cExt_drand48
=no
15651 rm -f conftest.err conftest.
$ac_objext \
15652 conftest
$ac_exeext conftest.
$ac_ext
15653 LIBS
=$ac_check_lib_save_LIBS
15655 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15656 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15657 if test $ac_cv_lib_cExt_drand48 = yes; then
15658 LIBS
="$LIBS -lcExt"
15662 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15664 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15665 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15666 if test "${wx_cv_gccversion+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15670 if test "$cross_compiling" = yes; then
15671 wx_cv_gccversion
="EMX2"
15674 cat >conftest.
$ac_ext <<_ACEOF
15677 cat confdefs.h
>>conftest.
$ac_ext
15678 cat >>conftest.
$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15685 FILE *f=fopen("conftestval", "w");
15690 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15692 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15702 rm -f conftest
$ac_exeext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15704 (eval $ac_link) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15713 wx_cv_gccversion
=`cat conftestval`
15715 echo "$as_me: program exited with status $ac_status" >&5
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 ( exit $ac_status )
15720 wx_cv_gccversion
="EMX2"
15722 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15726 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15727 echo "${ECHO_T}$wx_cv_gccversion" >&6
15729 ac_cpp
='$CXXCPP $CPPFLAGS'
15730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15734 if test "$wx_cv_gccversion" = "EMX2"; then
15735 LIBS
="$LIBS -lstdcpp"
15736 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15738 if test "$wx_cv_gccversion" = "EMX3"; then
15739 LIBS
="$LIBS -lstdcxx -lgcc"
15740 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15742 LIBS
="$LIBS -lstdc++"
15745 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15746 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15747 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15754 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15755 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15756 if test "${ac_cv_string_strcasecmp+set}" = set; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15760 cat >conftest.
$ac_ext <<_ACEOF
15763 cat confdefs.h
>>conftest.
$ac_ext
15764 cat >>conftest.
$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15767 #include <string.h>
15773 strcasecmp("foo", "bar");
15779 rm -f conftest.
$ac_objext conftest
$ac_exeext
15780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15781 (eval $ac_link) 2>conftest.er1
15783 grep -v '^ *+' conftest.er1
>conftest.err
15785 cat conftest.err
>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try
='test -s conftest$ac_exeext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15800 ac_cv_string_strcasecmp
=yes
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.
$ac_ext >&5
15805 ac_cv_string_strcasecmp
=no
15808 rm -f conftest.err conftest.
$ac_objext \
15809 conftest
$ac_exeext conftest.
$ac_ext
15812 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15813 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15815 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15816 cat >>confdefs.h
<<\_ACEOF
15817 #define HAVE_STRCASECMP_IN_STRING_H 1
15821 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15822 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15823 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 cat >conftest.
$ac_ext <<_ACEOF
15830 cat confdefs.h
>>conftest.
$ac_ext
15831 cat >>conftest.
$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15834 #include <strings.h>
15840 strcasecmp("foo", "bar");
15846 rm -f conftest.
$ac_objext conftest
$ac_exeext
15847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15848 (eval $ac_link) 2>conftest.er1
15850 grep -v '^ *+' conftest.er1
>conftest.err
15852 cat conftest.err
>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; } &&
15861 { ac_try
='test -s conftest$ac_exeext'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; }; then
15867 ac_cv_strings_strcasecmp
=yes
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.
$ac_ext >&5
15872 ac_cv_strings_strcasecmp
=no
15875 rm -f conftest.err conftest.
$ac_objext \
15876 conftest
$ac_exeext conftest.
$ac_ext
15879 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15880 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15882 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15883 cat >>confdefs.h
<<\_ACEOF
15884 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15888 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15889 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15890 { (exit 1); exit 1; }; }
15899 ac_cpp
='$CXXCPP $CPPFLAGS'
15900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15903 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15904 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15905 if test -z "$CXXCPP"; then
15906 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 # Double quotes because CXXCPP needs to be expanded
15910 for CXXCPP
in "$CXX -E" "/lib/cpp"
15912 ac_preproc_ok
=false
15913 for ac_cxx_preproc_warn_flag
in '' yes
15915 # Use a header file that comes with gcc, so configuring glibc
15916 # with a fresh cross-compiler works.
15917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15918 # <limits.h> exists even on freestanding compilers.
15919 # On the NeXT, cc -E runs the code through the compiler's parser,
15920 # not just through cpp. "Syntax error" is here to catch this case.
15921 cat >conftest.
$ac_ext <<_ACEOF
15924 cat confdefs.h
>>conftest.
$ac_ext
15925 cat >>conftest.
$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15928 # include <limits.h>
15930 # include <assert.h>
15934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } >/dev
/null
; then
15942 if test -s conftest.err
; then
15943 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15944 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15951 if test -z "$ac_cpp_err"; then
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 # Broken: fails on valid input.
15960 rm -f conftest.err conftest.
$ac_ext
15962 # OK, works on sane cases. Now check whether non-existent headers
15963 # can be detected and how.
15964 cat >conftest.
$ac_ext <<_ACEOF
15967 cat confdefs.h
>>conftest.
$ac_ext
15968 cat >>conftest.
$ac_ext <<_ACEOF
15969 /* end confdefs.h. */
15970 #include <ac_nonexistent.h>
15972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15973 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15975 grep -v '^ *+' conftest.er1
>conftest.err
15977 cat conftest.err
>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); } >/dev
/null
; then
15980 if test -s conftest.err
; then
15981 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15982 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15989 if test -z "$ac_cpp_err"; then
15990 # Broken: success on invalid input.
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 # Passes both tests.
16000 rm -f conftest.err conftest.
$ac_ext
16003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16004 rm -f conftest.err conftest.
$ac_ext
16005 if $ac_preproc_ok; then
16010 ac_cv_prog_CXXCPP
=$CXXCPP
16013 CXXCPP
=$ac_cv_prog_CXXCPP
16015 ac_cv_prog_CXXCPP
=$CXXCPP
16017 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16018 echo "${ECHO_T}$CXXCPP" >&6
16019 ac_preproc_ok
=false
16020 for ac_cxx_preproc_warn_flag
in '' yes
16022 # Use a header file that comes with gcc, so configuring glibc
16023 # with a fresh cross-compiler works.
16024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16025 # <limits.h> exists even on freestanding compilers.
16026 # On the NeXT, cc -E runs the code through the compiler's parser,
16027 # not just through cpp. "Syntax error" is here to catch this case.
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16035 # include <limits.h>
16037 # include <assert.h>
16041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16044 grep -v '^ *+' conftest.er1
>conftest.err
16046 cat conftest.err
>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } >/dev
/null
; then
16049 if test -s conftest.err
; then
16050 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16051 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16058 if test -z "$ac_cpp_err"; then
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.
$ac_ext >&5
16064 # Broken: fails on valid input.
16067 rm -f conftest.err conftest.
$ac_ext
16069 # OK, works on sane cases. Now check whether non-existent headers
16070 # can be detected and how.
16071 cat >conftest.
$ac_ext <<_ACEOF
16074 cat confdefs.h
>>conftest.
$ac_ext
16075 cat >>conftest.
$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 #include <ac_nonexistent.h>
16079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16082 grep -v '^ *+' conftest.er1
>conftest.err
16084 cat conftest.err
>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } >/dev
/null
; then
16087 if test -s conftest.err
; then
16088 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16089 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16096 if test -z "$ac_cpp_err"; then
16097 # Broken: success on invalid input.
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.
$ac_ext >&5
16103 # Passes both tests.
16107 rm -f conftest.err conftest.
$ac_ext
16110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16111 rm -f conftest.err conftest.
$ac_ext
16112 if $ac_preproc_ok; then
16115 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16116 See \`config.log' for more details." >&5
16117 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16118 See \`config.log' for more details." >&2;}
16119 { (exit 1); exit 1; }; }
16123 ac_cpp
='$CXXCPP $CPPFLAGS'
16124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16129 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16130 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16131 if test "${ac_cv_header_stdc+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 cat >conftest.
$ac_ext <<_ACEOF
16137 cat confdefs.h
>>conftest.
$ac_ext
16138 cat >>conftest.
$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 #include <stdlib.h>
16141 #include <stdarg.h>
16142 #include <string.h>
16153 rm -f conftest.
$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>conftest.er1
16157 grep -v '^ *+' conftest.er1
>conftest.err
16159 cat conftest.err
>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; } &&
16168 { ac_try
='test -s conftest.$ac_objext'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; }; then
16174 ac_cv_header_stdc
=yes
16176 echo "$as_me: failed program was:" >&5
16177 sed 's/^/| /' conftest.
$ac_ext >&5
16179 ac_cv_header_stdc
=no
16181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16183 if test $ac_cv_header_stdc = yes; then
16184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16185 cat >conftest.
$ac_ext <<_ACEOF
16188 cat confdefs.h
>>conftest.
$ac_ext
16189 cat >>conftest.
$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 #include <string.h>
16194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16195 $EGREP "memchr" >/dev
/null
2>&1; then
16198 ac_cv_header_stdc
=no
16204 if test $ac_cv_header_stdc = yes; then
16205 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16206 cat >conftest.
$ac_ext <<_ACEOF
16209 cat confdefs.h
>>conftest.
$ac_ext
16210 cat >>conftest.
$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 #include <stdlib.h>
16215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16216 $EGREP "free" >/dev
/null
2>&1; then
16219 ac_cv_header_stdc
=no
16225 if test $ac_cv_header_stdc = yes; then
16226 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16227 if test "$cross_compiling" = yes; then
16230 cat >conftest.
$ac_ext <<_ACEOF
16233 cat confdefs.h
>>conftest.
$ac_ext
16234 cat >>conftest.
$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16237 #if ((' ' & 0x0FF) == 0x020)
16238 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16239 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16241 # define ISLOWER(c) \
16242 (('a' <= (c) && (c) <= 'i') \
16243 || ('j' <= (c) && (c) <= 'r') \
16244 || ('s' <= (c) && (c) <= 'z'))
16245 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16248 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16253 for (i = 0; i < 256; i++)
16254 if (XOR (islower (i), ISLOWER (i))
16255 || toupper (i) != TOUPPER (i))
16260 rm -f conftest
$ac_exeext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16262 (eval $ac_link) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267 (eval $ac_try) 2>&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }; }; then
16273 echo "$as_me: program exited with status $ac_status" >&5
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.
$ac_ext >&5
16277 ( exit $ac_status )
16278 ac_cv_header_stdc
=no
16280 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16284 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16285 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16286 if test $ac_cv_header_stdc = yes; then
16288 cat >>confdefs.h
<<\_ACEOF
16289 #define STDC_HEADERS 1
16294 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16304 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16305 inttypes.h stdint.h unistd.h
16307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16308 echo "$as_me:$LINENO: checking for $ac_header" >&5
16309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 cat >conftest.
$ac_ext <<_ACEOF
16316 cat confdefs.h
>>conftest.
$ac_ext
16317 cat >>conftest.
$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 $ac_includes_default
16321 #include <$ac_header>
16323 rm -f conftest.
$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 2>conftest.er1
16327 grep -v '^ *+' conftest.er1
>conftest.err
16329 cat conftest.err
>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } &&
16332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; } &&
16338 { ac_try
='test -s conftest.$ac_objext'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; }; then
16344 eval "$as_ac_Header=yes"
16346 echo "$as_me: failed program was:" >&5
16347 sed 's/^/| /' conftest.
$ac_ext >&5
16349 eval "$as_ac_Header=no"
16351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16356 cat >>confdefs.h
<<_ACEOF
16357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16366 for ac_header
in stdlib.h
16368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16370 echo "$as_me:$LINENO: checking for $ac_header" >&5
16371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6
16375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16378 # Is the header compilable?
16379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16388 #include <$ac_header>
16390 rm -f conftest.
$ac_objext
16391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16392 (eval $ac_compile) 2>conftest.er1
16394 grep -v '^ *+' conftest.er1
>conftest.err
16396 cat conftest.err
>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } &&
16399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; } &&
16405 { ac_try
='test -s conftest.$ac_objext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_header_compiler
=yes
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 ac_header_compiler
=no
16418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16420 echo "${ECHO_T}$ac_header_compiler" >&6
16422 # Is the header present?
16423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16425 cat >conftest.
$ac_ext <<_ACEOF
16428 cat confdefs.h
>>conftest.
$ac_ext
16429 cat >>conftest.
$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 #include <$ac_header>
16433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16436 grep -v '^ *+' conftest.er1
>conftest.err
16438 cat conftest.err
>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } >/dev
/null
; then
16441 if test -s conftest.err
; then
16442 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16443 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16450 if test -z "$ac_cpp_err"; then
16451 ac_header_preproc
=yes
16453 echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.
$ac_ext >&5
16456 ac_header_preproc
=no
16458 rm -f conftest.err conftest.
$ac_ext
16459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16460 echo "${ECHO_T}$ac_header_preproc" >&6
16462 # So? What about this header?
16463 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16469 ac_header_preproc
=yes
16472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16486 ## ----------------------------------------- ##
16487 ## Report this to wx-dev@lists.wxwidgets.org ##
16488 ## ----------------------------------------- ##
16491 sed "s/^/$as_me: WARNING: /" >&2
16494 echo "$as_me:$LINENO: checking for $ac_header" >&5
16495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 eval "$as_ac_Header=\$ac_header_preproc"
16501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16506 cat >>confdefs.h
<<_ACEOF
16507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16515 for ac_header
in malloc.h
16517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16519 echo "$as_me:$LINENO: checking for $ac_header" >&5
16520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16527 # Is the header compilable?
16528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16530 cat >conftest.
$ac_ext <<_ACEOF
16533 cat confdefs.h
>>conftest.
$ac_ext
16534 cat >>conftest.
$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16537 #include <$ac_header>
16539 rm -f conftest.
$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16543 grep -v '^ *+' conftest.er1
>conftest.err
16545 cat conftest.err
>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; } &&
16554 { ac_try
='test -s conftest.$ac_objext'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; }; then
16560 ac_header_compiler
=yes
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.
$ac_ext >&5
16565 ac_header_compiler
=no
16567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16569 echo "${ECHO_T}$ac_header_compiler" >&6
16571 # Is the header present?
16572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16574 cat >conftest.
$ac_ext <<_ACEOF
16577 cat confdefs.h
>>conftest.
$ac_ext
16578 cat >>conftest.
$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580 #include <$ac_header>
16582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16585 grep -v '^ *+' conftest.er1
>conftest.err
16587 cat conftest.err
>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); } >/dev
/null
; then
16590 if test -s conftest.err
; then
16591 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16592 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16599 if test -z "$ac_cpp_err"; then
16600 ac_header_preproc
=yes
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.
$ac_ext >&5
16605 ac_header_preproc
=no
16607 rm -f conftest.err conftest.
$ac_ext
16608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16609 echo "${ECHO_T}$ac_header_preproc" >&6
16611 # So? What about this header?
16612 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16618 ac_header_preproc
=yes
16621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16635 ## ----------------------------------------- ##
16636 ## Report this to wx-dev@lists.wxwidgets.org ##
16637 ## ----------------------------------------- ##
16640 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
16650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16655 cat >>confdefs.h
<<_ACEOF
16656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16664 for ac_header
in unistd.h
16666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16668 echo "$as_me:$LINENO: checking for $ac_header" >&5
16669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16676 # Is the header compilable?
16677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16679 cat >conftest.
$ac_ext <<_ACEOF
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 $ac_includes_default
16686 #include <$ac_header>
16688 rm -f conftest.
$ac_objext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16690 (eval $ac_compile) 2>conftest.er1
16692 grep -v '^ *+' conftest.er1
>conftest.err
16694 cat conftest.err
>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } &&
16697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; } &&
16703 { ac_try
='test -s conftest.$ac_objext'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; }; then
16709 ac_header_compiler
=yes
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.
$ac_ext >&5
16714 ac_header_compiler
=no
16716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16718 echo "${ECHO_T}$ac_header_compiler" >&6
16720 # Is the header present?
16721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16723 cat >conftest.
$ac_ext <<_ACEOF
16726 cat confdefs.h
>>conftest.
$ac_ext
16727 cat >>conftest.
$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 #include <$ac_header>
16731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16734 grep -v '^ *+' conftest.er1
>conftest.err
16736 cat conftest.err
>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } >/dev
/null
; then
16739 if test -s conftest.err
; then
16740 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16741 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16748 if test -z "$ac_cpp_err"; then
16749 ac_header_preproc
=yes
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.
$ac_ext >&5
16754 ac_header_preproc
=no
16756 rm -f conftest.err conftest.
$ac_ext
16757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16758 echo "${ECHO_T}$ac_header_preproc" >&6
16760 # So? What about this header?
16761 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16767 ac_header_preproc
=yes
16770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16784 ## ----------------------------------------- ##
16785 ## Report this to wx-dev@lists.wxwidgets.org ##
16786 ## ----------------------------------------- ##
16789 sed "s/^/$as_me: WARNING: /" >&2
16792 echo "$as_me:$LINENO: checking for $ac_header" >&5
16793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 eval "$as_ac_Header=\$ac_header_preproc"
16799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16804 cat >>confdefs.h
<<_ACEOF
16805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16813 for ac_header
in wchar.h
16815 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16817 echo "$as_me:$LINENO: checking for $ac_header" >&5
16818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16825 # Is the header compilable?
16826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16828 cat >conftest.
$ac_ext <<_ACEOF
16831 cat confdefs.h
>>conftest.
$ac_ext
16832 cat >>conftest.
$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 $ac_includes_default
16835 #include <$ac_header>
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_header_compiler
=yes
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16863 ac_header_compiler
=no
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16867 echo "${ECHO_T}$ac_header_compiler" >&6
16869 # Is the header present?
16870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16872 cat >conftest.
$ac_ext <<_ACEOF
16875 cat confdefs.h
>>conftest.
$ac_ext
16876 cat >>conftest.
$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 #include <$ac_header>
16880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16883 grep -v '^ *+' conftest.er1
>conftest.err
16885 cat conftest.err
>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } >/dev
/null
; then
16888 if test -s conftest.err
; then
16889 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16890 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16897 if test -z "$ac_cpp_err"; then
16898 ac_header_preproc
=yes
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.
$ac_ext >&5
16903 ac_header_preproc
=no
16905 rm -f conftest.err conftest.
$ac_ext
16906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16907 echo "${ECHO_T}$ac_header_preproc" >&6
16909 # So? What about this header?
16910 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16916 ac_header_preproc
=yes
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16933 ## ----------------------------------------- ##
16934 ## Report this to wx-dev@lists.wxwidgets.org ##
16935 ## ----------------------------------------- ##
16938 sed "s/^/$as_me: WARNING: /" >&2
16941 echo "$as_me:$LINENO: checking for $ac_header" >&5
16942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 eval "$as_ac_Header=\$ac_header_preproc"
16948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16953 cat >>confdefs.h
<<_ACEOF
16954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16962 if test "$ac_cv_header_wchar_h" != "yes"; then
16964 for ac_header
in wcstr.h
16966 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16968 echo "$as_me:$LINENO: checking for $ac_header" >&5
16969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16976 # Is the header compilable?
16977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16979 cat >conftest.
$ac_ext <<_ACEOF
16982 cat confdefs.h
>>conftest.
$ac_ext
16983 cat >>conftest.
$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16986 #include <$ac_header>
16988 rm -f conftest.
$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16992 grep -v '^ *+' conftest.er1
>conftest.err
16994 cat conftest.err
>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; } &&
17003 { ac_try
='test -s conftest.$ac_objext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_header_compiler
=yes
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 ac_header_compiler
=no
17016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17018 echo "${ECHO_T}$ac_header_compiler" >&6
17020 # Is the header present?
17021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17023 cat >conftest.
$ac_ext <<_ACEOF
17026 cat confdefs.h
>>conftest.
$ac_ext
17027 cat >>conftest.
$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029 #include <$ac_header>
17031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17034 grep -v '^ *+' conftest.er1
>conftest.err
17036 cat conftest.err
>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } >/dev
/null
; then
17039 if test -s conftest.err
; then
17040 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17041 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17048 if test -z "$ac_cpp_err"; then
17049 ac_header_preproc
=yes
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.
$ac_ext >&5
17054 ac_header_preproc
=no
17056 rm -f conftest.err conftest.
$ac_ext
17057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17058 echo "${ECHO_T}$ac_header_preproc" >&6
17060 # So? What about this header?
17061 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17067 ac_header_preproc
=yes
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17084 ## ----------------------------------------- ##
17085 ## Report this to wx-dev@lists.wxwidgets.org ##
17086 ## ----------------------------------------- ##
17089 sed "s/^/$as_me: WARNING: /" >&2
17092 echo "$as_me:$LINENO: checking for $ac_header" >&5
17093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 eval "$as_ac_Header=\$ac_header_preproc"
17099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17104 cat >>confdefs.h
<<_ACEOF
17105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17115 for ac_header
in fnmatch.h
17117 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17119 echo "$as_me:$LINENO: checking for $ac_header" >&5
17120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17127 # Is the header compilable?
17128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17137 #include <$ac_header>
17139 rm -f conftest.
$ac_objext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17141 (eval $ac_compile) 2>conftest.er1
17143 grep -v '^ *+' conftest.er1
>conftest.err
17145 cat conftest.err
>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try
='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_header_compiler
=yes
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.
$ac_ext >&5
17165 ac_header_compiler
=no
17167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17169 echo "${ECHO_T}$ac_header_compiler" >&6
17171 # Is the header present?
17172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17174 cat >conftest.
$ac_ext <<_ACEOF
17177 cat confdefs.h
>>conftest.
$ac_ext
17178 cat >>conftest.
$ac_ext <<_ACEOF
17179 /* end confdefs.h. */
17180 #include <$ac_header>
17182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17185 grep -v '^ *+' conftest.er1
>conftest.err
17187 cat conftest.err
>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } >/dev
/null
; then
17190 if test -s conftest.err
; then
17191 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17192 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17199 if test -z "$ac_cpp_err"; then
17200 ac_header_preproc
=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.
$ac_ext >&5
17205 ac_header_preproc
=no
17207 rm -f conftest.err conftest.
$ac_ext
17208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17209 echo "${ECHO_T}$ac_header_preproc" >&6
17211 # So? What about this header?
17212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17218 ac_header_preproc
=yes
17221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17235 ## ----------------------------------------- ##
17236 ## Report this to wx-dev@lists.wxwidgets.org ##
17237 ## ----------------------------------------- ##
17240 sed "s/^/$as_me: WARNING: /" >&2
17243 echo "$as_me:$LINENO: checking for $ac_header" >&5
17244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 eval "$as_ac_Header=\$ac_header_preproc"
17250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17255 cat >>confdefs.h
<<_ACEOF
17256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17265 for ac_header
in langinfo.h
17267 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17269 echo "$as_me:$LINENO: checking for $ac_header" >&5
17270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17277 # Is the header compilable?
17278 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17279 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17280 cat >conftest.
$ac_ext <<_ACEOF
17283 cat confdefs.h
>>conftest.
$ac_ext
17284 cat >>conftest.
$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286 $ac_includes_default
17287 #include <$ac_header>
17289 rm -f conftest.
$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; } &&
17304 { ac_try
='test -s conftest.$ac_objext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_header_compiler
=yes
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.
$ac_ext >&5
17315 ac_header_compiler
=no
17317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17319 echo "${ECHO_T}$ac_header_compiler" >&6
17321 # Is the header present?
17322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17324 cat >conftest.
$ac_ext <<_ACEOF
17327 cat confdefs.h
>>conftest.
$ac_ext
17328 cat >>conftest.
$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330 #include <$ac_header>
17332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17333 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17335 grep -v '^ *+' conftest.er1
>conftest.err
17337 cat conftest.err
>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } >/dev
/null
; then
17340 if test -s conftest.err
; then
17341 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17342 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17349 if test -z "$ac_cpp_err"; then
17350 ac_header_preproc
=yes
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.
$ac_ext >&5
17355 ac_header_preproc
=no
17357 rm -f conftest.err conftest.
$ac_ext
17358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17359 echo "${ECHO_T}$ac_header_preproc" >&6
17361 # So? What about this header?
17362 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17367 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17368 ac_header_preproc
=yes
17371 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17372 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17374 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17376 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17377 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17378 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17385 ## ----------------------------------------- ##
17386 ## Report this to wx-dev@lists.wxwidgets.org ##
17387 ## ----------------------------------------- ##
17390 sed "s/^/$as_me: WARNING: /" >&2
17393 echo "$as_me:$LINENO: checking for $ac_header" >&5
17394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17396 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 eval "$as_ac_Header=\$ac_header_preproc"
17400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17405 cat >>confdefs.h
<<_ACEOF
17406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17415 *-pc-os2_emx | *-pc-os2-emx )
17416 if test $ac_cv_header_langinfo_h = "yes" \
17417 -a \
( "$wx_cv_gccversion" = "EMX2" \
17418 -o "$wx_cv_gccversion" = "EMX3" \
17419 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17420 LIBS
="$LIBS -lintl"
17425 if test "$USE_UNIX" = 1 ; then
17427 for ac_header
in sys
/select.h
17429 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17431 echo "$as_me:$LINENO: checking for $ac_header" >&5
17432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17439 # Is the header compilable?
17440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17442 cat >conftest.
$ac_ext <<_ACEOF
17445 cat confdefs.h
>>conftest.
$ac_ext
17446 cat >>conftest.
$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 $ac_includes_default
17449 #include <$ac_header>
17451 rm -f conftest.
$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17455 grep -v '^ *+' conftest.er1
>conftest.err
17457 cat conftest.err
>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_header_compiler
=yes
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.
$ac_ext >&5
17477 ac_header_compiler
=no
17479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17481 echo "${ECHO_T}$ac_header_compiler" >&6
17483 # Is the header present?
17484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17486 cat >conftest.
$ac_ext <<_ACEOF
17489 cat confdefs.h
>>conftest.
$ac_ext
17490 cat >>conftest.
$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 #include <$ac_header>
17494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } >/dev
/null
; then
17502 if test -s conftest.err
; then
17503 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17504 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17511 if test -z "$ac_cpp_err"; then
17512 ac_header_preproc
=yes
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17517 ac_header_preproc
=no
17519 rm -f conftest.err conftest.
$ac_ext
17520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17521 echo "${ECHO_T}$ac_header_preproc" >&6
17523 # So? What about this header?
17524 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17530 ac_header_preproc
=yes
17533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17547 ## ----------------------------------------- ##
17548 ## Report this to wx-dev@lists.wxwidgets.org ##
17549 ## ----------------------------------------- ##
17552 sed "s/^/$as_me: WARNING: /" >&2
17555 echo "$as_me:$LINENO: checking for $ac_header" >&5
17556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17558 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 eval "$as_ac_Header=\$ac_header_preproc"
17562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17567 cat >>confdefs.h
<<_ACEOF
17568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17578 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17579 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17580 if test "${ac_cv_c_const+set}" = set; then
17581 echo $ECHO_N "(cached) $ECHO_C" >&6
17583 cat >conftest.
$ac_ext <<_ACEOF
17586 cat confdefs.h
>>conftest.
$ac_ext
17587 cat >>conftest.
$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17593 /* FIXME: Include the comments suggested by Paul. */
17594 #ifndef __cplusplus
17595 /* Ultrix mips cc rejects this. */
17596 typedef int charset[2];
17598 /* SunOS 4.1.1 cc rejects this. */
17599 char const *const *ccp;
17601 /* NEC SVR4.0.2 mips cc rejects this. */
17602 struct point {int x, y;};
17603 static struct point const zero = {0,0};
17604 /* AIX XL C 1.02.0.0 rejects this.
17605 It does not let you subtract one const X* pointer from another in
17606 an arm of an if-expression whose if-part is not a constant
17608 const char *g = "string";
17609 ccp = &g + (g ? g-g : 0);
17610 /* HPUX 7.0 cc rejects these. */
17613 ccp = (char const *const *) p;
17614 { /* SCO 3.2v4 cc rejects this. */
17616 char const *s = 0 ? (char *) 0 : (char const *) 0;
17620 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17621 int x[] = {25, 17};
17622 const int *foo = &x[0];
17625 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17626 typedef const int *iptr;
17630 { /* AIX XL C 1.02.0.0 rejects this saying
17631 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17632 struct s { int j; const int *ap[3]; };
17633 struct s *b; b->j = 5;
17635 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17636 const int foo = 10;
17644 rm -f conftest.
$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17648 grep -v '^ *+' conftest.er1
>conftest.err
17650 cat conftest.err
>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try
='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17674 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17675 echo "${ECHO_T}$ac_cv_c_const" >&6
17676 if test $ac_cv_c_const = no
; then
17678 cat >>confdefs.h
<<\_ACEOF
17684 echo "$as_me:$LINENO: checking for inline" >&5
17685 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17686 if test "${ac_cv_c_inline+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17690 for ac_kw
in inline __inline__ __inline
; do
17691 cat >conftest.
$ac_ext <<_ACEOF
17694 cat confdefs.h
>>conftest.
$ac_ext
17695 cat >>conftest.
$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #ifndef __cplusplus
17699 static $ac_kw foo_t static_foo () {return 0; }
17700 $ac_kw foo_t foo () {return 0; }
17704 rm -f conftest.
$ac_objext
17705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17706 (eval $ac_compile) 2>conftest.er1
17708 grep -v '^ *+' conftest.er1
>conftest.err
17710 cat conftest.err
>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } &&
17713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try
='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_cv_c_inline
=$ac_kw; break
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17736 echo "${ECHO_T}$ac_cv_c_inline" >&6
17739 case $ac_cv_c_inline in
17742 case $ac_cv_c_inline in
17744 *) ac_val
=$ac_cv_c_inline;;
17746 cat >>confdefs.h
<<_ACEOF
17747 #ifndef __cplusplus
17748 #define inline $ac_val
17755 echo "$as_me:$LINENO: checking for char" >&5
17756 echo $ECHO_N "checking for char... $ECHO_C" >&6
17757 if test "${ac_cv_type_char+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 cat >conftest.
$ac_ext <<_ACEOF
17763 cat confdefs.h
>>conftest.
$ac_ext
17764 cat >>conftest.
$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17778 rm -f conftest.
$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17782 grep -v '^ *+' conftest.er1
>conftest.err
17784 cat conftest.err
>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; } &&
17793 { ac_try
='test -s conftest.$ac_objext'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 ac_cv_type_char
=yes
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.
$ac_ext >&5
17806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17808 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17809 echo "${ECHO_T}$ac_cv_type_char" >&6
17811 echo "$as_me:$LINENO: checking size of char" >&5
17812 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17813 if test "${ac_cv_sizeof_char+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 if test "$ac_cv_type_char" = yes; then
17817 # The cast to unsigned long works around a bug in the HP C Compiler
17818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17820 # This bug is HP SR number 8606223364.
17821 if test "$cross_compiling" = yes; then
17822 # Depending upon the size, compute the lo and hi bounds.
17823 cat >conftest.
$ac_ext <<_ACEOF
17826 cat confdefs.h
>>conftest.
$ac_ext
17827 cat >>conftest.
$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17833 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17840 rm -f conftest.
$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try
='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17863 cat >conftest.
$ac_ext <<_ACEOF
17866 cat confdefs.h
>>conftest.
$ac_ext
17867 cat >>conftest.
$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 $ac_includes_default
17873 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17880 rm -f conftest.
$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17884 grep -v '^ *+' conftest.er1
>conftest.err
17886 cat conftest.err
>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try
='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17901 ac_hi
=$ac_mid; break
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17906 ac_lo
=`expr $ac_mid + 1`
17907 if test $ac_lo -le $ac_mid; then
17911 ac_mid
=`expr 2 '*' $ac_mid + 1`
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.
$ac_ext >&5
17919 cat >conftest.
$ac_ext <<_ACEOF
17922 cat confdefs.h
>>conftest.
$ac_ext
17923 cat >>conftest.
$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17929 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
17959 cat >conftest.
$ac_ext <<_ACEOF
17962 cat confdefs.h
>>conftest.
$ac_ext
17963 cat >>conftest.
$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965 $ac_includes_default
17969 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17976 rm -f conftest.
$ac_objext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978 (eval $ac_compile) 2>conftest.er1
17980 grep -v '^ *+' conftest.er1
>conftest.err
17982 cat conftest.err
>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); } &&
17985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; } &&
17991 { ac_try
='test -s conftest.$ac_objext'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; }; then
17997 ac_lo
=$ac_mid; break
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.
$ac_ext >&5
18002 ac_hi
=`expr '(' $ac_mid ')' - 1`
18003 if test $ac_mid -le $ac_hi; then
18007 ac_mid
=`expr 2 '*' $ac_mid`
18009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.
$ac_ext >&5
18017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18020 # Binary search between lo and hi bounds.
18021 while test "x$ac_lo" != "x$ac_hi"; do
18022 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18023 cat >conftest.
$ac_ext <<_ACEOF
18026 cat confdefs.h
>>conftest.
$ac_ext
18027 cat >>conftest.
$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 $ac_includes_default
18033 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18040 rm -f conftest.
$ac_objext
18041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18042 (eval $ac_compile) 2>conftest.er1
18044 grep -v '^ *+' conftest.er1
>conftest.err
18046 cat conftest.err
>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } &&
18049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18055 { ac_try
='test -s conftest.$ac_objext'
18056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057 (eval $ac_try) 2>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); }; }; then
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.
$ac_ext >&5
18066 ac_lo
=`expr '(' $ac_mid ')' + 1`
18068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18071 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18073 See \`config.log' for more details." >&5
18074 echo "$as_me: error: cannot compute sizeof (char), 77
18075 See \`config.log' for more details." >&2;}
18076 { (exit 1); exit 1; }; } ;;
18079 if test "$cross_compiling" = yes; then
18080 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18081 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18082 { (exit 1); exit 1; }; }
18084 cat >conftest.
$ac_ext <<_ACEOF
18087 cat confdefs.h
>>conftest.
$ac_ext
18088 cat >>conftest.
$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 $ac_includes_default
18091 long longval () { return (long) (sizeof (char)); }
18092 unsigned long ulongval () { return (long) (sizeof (char)); }
18094 #include <stdlib.h>
18099 FILE *f = fopen ("conftest.val", "w");
18102 if (((long) (sizeof (char))) < 0)
18104 long i = longval ();
18105 if (i != ((long) (sizeof (char))))
18107 fprintf (f, "%ld\n", i);
18111 unsigned long i = ulongval ();
18112 if (i != ((long) (sizeof (char))))
18114 fprintf (f, "%lu\n", i);
18116 exit (ferror (f) || fclose (f) != 0);
18122 rm -f conftest
$ac_exeext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18124 (eval $ac_link) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18133 ac_cv_sizeof_char
=`cat conftest.val`
18135 echo "$as_me: program exited with status $ac_status" >&5
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 ( exit $ac_status )
18140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18141 See \`config.log' for more details." >&5
18142 echo "$as_me: error: cannot compute sizeof (char), 77
18143 See \`config.log' for more details." >&2;}
18144 { (exit 1); exit 1; }; }
18146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18151 ac_cv_sizeof_char
=0
18154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18155 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18156 cat >>confdefs.h
<<_ACEOF
18157 #define SIZEOF_CHAR $ac_cv_sizeof_char
18161 echo "$as_me:$LINENO: checking for short" >&5
18162 echo $ECHO_N "checking for short... $ECHO_C" >&6
18163 if test "${ac_cv_type_short+set}" = set; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18178 if (sizeof (short))
18184 rm -f conftest.
$ac_objext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186 (eval $ac_compile) 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try
='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 ac_cv_type_short
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 ac_cv_type_short
=no
18212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18214 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18215 echo "${ECHO_T}$ac_cv_type_short" >&6
18217 echo "$as_me:$LINENO: checking size of short" >&5
18218 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18219 if test "${ac_cv_sizeof_short+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 if test "$ac_cv_type_short" = yes; then
18223 # The cast to unsigned long works around a bug in the HP C Compiler
18224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18226 # This bug is HP SR number 8606223364.
18227 if test "$cross_compiling" = yes; then
18228 # Depending upon the size, compute the lo and hi bounds.
18229 cat >conftest.
$ac_ext <<_ACEOF
18232 cat confdefs.h
>>conftest.
$ac_ext
18233 cat >>conftest.
$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18235 $ac_includes_default
18239 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18246 rm -f conftest.
$ac_objext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18248 (eval $ac_compile) 2>conftest.er1
18250 grep -v '^ *+' conftest.er1
>conftest.err
18252 cat conftest.err
>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 cat >conftest.
$ac_ext <<_ACEOF
18272 cat confdefs.h
>>conftest.
$ac_ext
18273 cat >>conftest.
$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18279 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18286 rm -f conftest.
$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18290 grep -v '^ *+' conftest.er1
>conftest.err
18292 cat conftest.err
>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try
='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_hi
=$ac_mid; break
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.
$ac_ext >&5
18312 ac_lo
=`expr $ac_mid + 1`
18313 if test $ac_lo -le $ac_mid; then
18317 ac_mid
=`expr 2 '*' $ac_mid + 1`
18319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.
$ac_ext >&5
18325 cat >conftest.
$ac_ext <<_ACEOF
18328 cat confdefs.h
>>conftest.
$ac_ext
18329 cat >>conftest.
$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331 $ac_includes_default
18335 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18342 rm -f conftest.
$ac_objext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18344 (eval $ac_compile) 2>conftest.er1
18346 grep -v '^ *+' conftest.er1
>conftest.err
18348 cat conftest.err
>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } &&
18351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try
='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18365 cat >conftest.
$ac_ext <<_ACEOF
18368 cat confdefs.h
>>conftest.
$ac_ext
18369 cat >>conftest.
$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 $ac_includes_default
18375 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18382 rm -f conftest.
$ac_objext
18383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18384 (eval $ac_compile) 2>conftest.er1
18386 grep -v '^ *+' conftest.er1
>conftest.err
18388 cat conftest.err
>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } &&
18391 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try
='test -s conftest.$ac_objext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 ac_lo
=$ac_mid; break
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.
$ac_ext >&5
18408 ac_hi
=`expr '(' $ac_mid ')' - 1`
18409 if test $ac_mid -le $ac_hi; then
18413 ac_mid
=`expr 2 '*' $ac_mid`
18415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.
$ac_ext >&5
18423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18426 # Binary search between lo and hi bounds.
18427 while test "x$ac_lo" != "x$ac_hi"; do
18428 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18429 cat >conftest.
$ac_ext <<_ACEOF
18432 cat confdefs.h
>>conftest.
$ac_ext
18433 cat >>conftest.
$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 $ac_includes_default
18439 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18446 rm -f conftest.
$ac_objext
18447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18448 (eval $ac_compile) 2>conftest.er1
18450 grep -v '^ *+' conftest.er1
>conftest.err
18452 cat conftest.err
>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } &&
18455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; } &&
18461 { ac_try
='test -s conftest.$ac_objext'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; }; then
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.
$ac_ext >&5
18472 ac_lo
=`expr '(' $ac_mid ')' + 1`
18474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18477 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18478 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18479 See \`config.log' for more details." >&5
18480 echo "$as_me: error: cannot compute sizeof (short), 77
18481 See \`config.log' for more details." >&2;}
18482 { (exit 1); exit 1; }; } ;;
18485 if test "$cross_compiling" = yes; then
18486 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18487 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18488 { (exit 1); exit 1; }; }
18490 cat >conftest.
$ac_ext <<_ACEOF
18493 cat confdefs.h
>>conftest.
$ac_ext
18494 cat >>conftest.
$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 $ac_includes_default
18497 long longval () { return (long) (sizeof (short)); }
18498 unsigned long ulongval () { return (long) (sizeof (short)); }
18500 #include <stdlib.h>
18505 FILE *f = fopen ("conftest.val", "w");
18508 if (((long) (sizeof (short))) < 0)
18510 long i = longval ();
18511 if (i != ((long) (sizeof (short))))
18513 fprintf (f, "%ld\n", i);
18517 unsigned long i = ulongval ();
18518 if (i != ((long) (sizeof (short))))
18520 fprintf (f, "%lu\n", i);
18522 exit (ferror (f) || fclose (f) != 0);
18528 rm -f conftest
$ac_exeext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18530 (eval $ac_link) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_cv_sizeof_short
=`cat conftest.val`
18541 echo "$as_me: program exited with status $ac_status" >&5
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.
$ac_ext >&5
18545 ( exit $ac_status )
18546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18547 See \`config.log' for more details." >&5
18548 echo "$as_me: error: cannot compute sizeof (short), 77
18549 See \`config.log' for more details." >&2;}
18550 { (exit 1); exit 1; }; }
18552 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18557 ac_cv_sizeof_short
=0
18560 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18561 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18562 cat >>confdefs.h
<<_ACEOF
18563 #define SIZEOF_SHORT $ac_cv_sizeof_short
18567 echo "$as_me:$LINENO: checking for void *" >&5
18568 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18569 if test "${ac_cv_type_void_p+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 cat >conftest.
$ac_ext <<_ACEOF
18575 cat confdefs.h
>>conftest.
$ac_ext
18576 cat >>conftest.
$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18584 if (sizeof (void *))
18590 rm -f conftest.
$ac_objext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18592 (eval $ac_compile) 2>conftest.er1
18594 grep -v '^ *+' conftest.er1
>conftest.err
18596 cat conftest.err
>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } &&
18599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; } &&
18605 { ac_try
='test -s conftest.$ac_objext'
18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18607 (eval $ac_try) 2>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); }; }; then
18611 ac_cv_type_void_p
=yes
18613 echo "$as_me: failed program was:" >&5
18614 sed 's/^/| /' conftest.
$ac_ext >&5
18616 ac_cv_type_void_p
=no
18618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18620 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18621 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18623 echo "$as_me:$LINENO: checking size of void *" >&5
18624 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18625 if test "${ac_cv_sizeof_void_p+set}" = set; then
18626 echo $ECHO_N "(cached) $ECHO_C" >&6
18628 if test "$ac_cv_type_void_p" = yes; then
18629 # The cast to unsigned long works around a bug in the HP C Compiler
18630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18632 # This bug is HP SR number 8606223364.
18633 if test "$cross_compiling" = yes; then
18634 # Depending upon the size, compute the lo and hi bounds.
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18645 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18652 rm -f conftest.
$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18656 grep -v '^ *+' conftest.er1
>conftest.err
18658 cat conftest.err
>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try
='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18675 cat >conftest.
$ac_ext <<_ACEOF
18678 cat confdefs.h
>>conftest.
$ac_ext
18679 cat >>conftest.
$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18685 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18692 rm -f conftest.
$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try
='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 ac_hi
=$ac_mid; break
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.
$ac_ext >&5
18718 ac_lo
=`expr $ac_mid + 1`
18719 if test $ac_lo -le $ac_mid; then
18723 ac_mid
=`expr 2 '*' $ac_mid + 1`
18725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.
$ac_ext >&5
18731 cat >conftest.
$ac_ext <<_ACEOF
18734 cat confdefs.h
>>conftest.
$ac_ext
18735 cat >>conftest.
$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 $ac_includes_default
18741 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18748 rm -f conftest.
$ac_objext
18749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18750 (eval $ac_compile) 2>conftest.er1
18752 grep -v '^ *+' conftest.er1
>conftest.err
18754 cat conftest.err
>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18759 (eval $ac_try) 2>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); }; } &&
18763 { ac_try
='test -s conftest.$ac_objext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18771 cat >conftest.
$ac_ext <<_ACEOF
18774 cat confdefs.h
>>conftest.
$ac_ext
18775 cat >>conftest.
$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18777 $ac_includes_default
18781 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18788 rm -f conftest.
$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18792 grep -v '^ *+' conftest.er1
>conftest.err
18794 cat conftest.err
>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; } &&
18803 { ac_try
='test -s conftest.$ac_objext'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; }; then
18809 ac_lo
=$ac_mid; break
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.
$ac_ext >&5
18814 ac_hi
=`expr '(' $ac_mid ')' - 1`
18815 if test $ac_mid -le $ac_hi; then
18819 ac_mid
=`expr 2 '*' $ac_mid`
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.
$ac_ext >&5
18829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18832 # Binary search between lo and hi bounds.
18833 while test "x$ac_lo" != "x$ac_hi"; do
18834 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18835 cat >conftest.
$ac_ext <<_ACEOF
18838 cat confdefs.h
>>conftest.
$ac_ext
18839 cat >>conftest.
$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18845 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18852 rm -f conftest.
$ac_objext
18853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18854 (eval $ac_compile) 2>conftest.er1
18856 grep -v '^ *+' conftest.er1
>conftest.err
18858 cat conftest.err
>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } &&
18861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; } &&
18867 { ac_try
='test -s conftest.$ac_objext'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; }; then
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.
$ac_ext >&5
18878 ac_lo
=`expr '(' $ac_mid ')' + 1`
18880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18883 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18884 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18885 See \`config.log' for more details." >&5
18886 echo "$as_me: error: cannot compute sizeof (void *), 77
18887 See \`config.log' for more details." >&2;}
18888 { (exit 1); exit 1; }; } ;;
18891 if test "$cross_compiling" = yes; then
18892 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18893 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18894 { (exit 1); exit 1; }; }
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18903 long longval () { return (long) (sizeof (void *)); }
18904 unsigned long ulongval () { return (long) (sizeof (void *)); }
18906 #include <stdlib.h>
18911 FILE *f = fopen ("conftest.val", "w");
18914 if (((long) (sizeof (void *))) < 0)
18916 long i = longval ();
18917 if (i != ((long) (sizeof (void *))))
18919 fprintf (f, "%ld\n", i);
18923 unsigned long i = ulongval ();
18924 if (i != ((long) (sizeof (void *))))
18926 fprintf (f, "%lu\n", i);
18928 exit (ferror (f) || fclose (f) != 0);
18934 rm -f conftest
$ac_exeext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18936 (eval $ac_link) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18945 ac_cv_sizeof_void_p
=`cat conftest.val`
18947 echo "$as_me: program exited with status $ac_status" >&5
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.
$ac_ext >&5
18951 ( exit $ac_status )
18952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18953 See \`config.log' for more details." >&5
18954 echo "$as_me: error: cannot compute sizeof (void *), 77
18955 See \`config.log' for more details." >&2;}
18956 { (exit 1); exit 1; }; }
18958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18963 ac_cv_sizeof_void_p
=0
18966 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18967 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18968 cat >>confdefs.h
<<_ACEOF
18969 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18973 echo "$as_me:$LINENO: checking for int" >&5
18974 echo $ECHO_N "checking for int... $ECHO_C" >&6
18975 if test "${ac_cv_type_int+set}" = set; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18978 cat >conftest.
$ac_ext <<_ACEOF
18981 cat confdefs.h
>>conftest.
$ac_ext
18982 cat >>conftest.
$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 $ac_includes_default
18996 rm -f conftest.
$ac_objext
18997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18998 (eval $ac_compile) 2>conftest.er1
19000 grep -v '^ *+' conftest.er1
>conftest.err
19002 cat conftest.err
>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; } &&
19011 { ac_try
='test -s conftest.$ac_objext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.
$ac_ext >&5
19024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19026 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19027 echo "${ECHO_T}$ac_cv_type_int" >&6
19029 echo "$as_me:$LINENO: checking size of int" >&5
19030 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19031 if test "${ac_cv_sizeof_int+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 if test "$ac_cv_type_int" = yes; then
19035 # The cast to unsigned long works around a bug in the HP C Compiler
19036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19038 # This bug is HP SR number 8606223364.
19039 if test "$cross_compiling" = yes; then
19040 # Depending upon the size, compute the lo and hi bounds.
19041 cat >conftest.
$ac_ext <<_ACEOF
19044 cat confdefs.h
>>conftest.
$ac_ext
19045 cat >>conftest.
$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 $ac_includes_default
19051 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19058 rm -f conftest.
$ac_objext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19060 (eval $ac_compile) 2>conftest.er1
19062 grep -v '^ *+' conftest.er1
>conftest.err
19064 cat conftest.err
>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; } &&
19073 { ac_try
='test -s conftest.$ac_objext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19081 cat >conftest.
$ac_ext <<_ACEOF
19084 cat confdefs.h
>>conftest.
$ac_ext
19085 cat >>conftest.
$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19091 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19098 rm -f conftest.
$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>conftest.er1
19102 grep -v '^ *+' conftest.er1
>conftest.err
19104 cat conftest.err
>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } &&
19107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try
='test -s conftest.$ac_objext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 ac_hi
=$ac_mid; break
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.
$ac_ext >&5
19124 ac_lo
=`expr $ac_mid + 1`
19125 if test $ac_lo -le $ac_mid; then
19129 ac_mid
=`expr 2 '*' $ac_mid + 1`
19131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.
$ac_ext >&5
19137 cat >conftest.
$ac_ext <<_ACEOF
19140 cat confdefs.h
>>conftest.
$ac_ext
19141 cat >>conftest.
$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143 $ac_includes_default
19147 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19154 rm -f conftest.
$ac_objext
19155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19156 (eval $ac_compile) 2>conftest.er1
19158 grep -v '^ *+' conftest.er1
>conftest.err
19160 cat conftest.err
>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; } &&
19169 { ac_try
='test -s conftest.$ac_objext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19177 cat >conftest.
$ac_ext <<_ACEOF
19180 cat confdefs.h
>>conftest.
$ac_ext
19181 cat >>conftest.
$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 $ac_includes_default
19187 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19194 rm -f conftest.
$ac_objext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19196 (eval $ac_compile) 2>conftest.er1
19198 grep -v '^ *+' conftest.er1
>conftest.err
19200 cat conftest.err
>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } &&
19203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; } &&
19209 { ac_try
='test -s conftest.$ac_objext'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; }; then
19215 ac_lo
=$ac_mid; break
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.
$ac_ext >&5
19220 ac_hi
=`expr '(' $ac_mid ')' - 1`
19221 if test $ac_mid -le $ac_hi; then
19225 ac_mid
=`expr 2 '*' $ac_mid`
19227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.
$ac_ext >&5
19235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19238 # Binary search between lo and hi bounds.
19239 while test "x$ac_lo" != "x$ac_hi"; do
19240 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19241 cat >conftest.
$ac_ext <<_ACEOF
19244 cat confdefs.h
>>conftest.
$ac_ext
19245 cat >>conftest.
$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19247 $ac_includes_default
19251 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19258 rm -f conftest.
$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19262 grep -v '^ *+' conftest.er1
>conftest.err
19264 cat conftest.err
>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try
='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_lo
=`expr '(' $ac_mid ')' + 1`
19286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19289 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19290 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19291 See \`config.log' for more details." >&5
19292 echo "$as_me: error: cannot compute sizeof (int), 77
19293 See \`config.log' for more details." >&2;}
19294 { (exit 1); exit 1; }; } ;;
19297 if test "$cross_compiling" = yes; then
19298 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19299 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19300 { (exit 1); exit 1; }; }
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 long longval () { return (long) (sizeof (int)); }
19310 unsigned long ulongval () { return (long) (sizeof (int)); }
19312 #include <stdlib.h>
19317 FILE *f = fopen ("conftest.val", "w");
19320 if (((long) (sizeof (int))) < 0)
19322 long i = longval ();
19323 if (i != ((long) (sizeof (int))))
19325 fprintf (f, "%ld\n", i);
19329 unsigned long i = ulongval ();
19330 if (i != ((long) (sizeof (int))))
19332 fprintf (f, "%lu\n", i);
19334 exit (ferror (f) || fclose (f) != 0);
19340 rm -f conftest
$ac_exeext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19342 (eval $ac_link) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; }; then
19351 ac_cv_sizeof_int
=`cat conftest.val`
19353 echo "$as_me: program exited with status $ac_status" >&5
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.
$ac_ext >&5
19357 ( exit $ac_status )
19358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19359 See \`config.log' for more details." >&5
19360 echo "$as_me: error: cannot compute sizeof (int), 77
19361 See \`config.log' for more details." >&2;}
19362 { (exit 1); exit 1; }; }
19364 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19372 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19373 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19374 cat >>confdefs.h
<<_ACEOF
19375 #define SIZEOF_INT $ac_cv_sizeof_int
19379 echo "$as_me:$LINENO: checking for long" >&5
19380 echo $ECHO_N "checking for long... $ECHO_C" >&6
19381 if test "${ac_cv_type_long+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19384 cat >conftest.
$ac_ext <<_ACEOF
19387 cat confdefs.h
>>conftest.
$ac_ext
19388 cat >>conftest.
$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 $ac_includes_default
19402 rm -f conftest.
$ac_objext
19403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19404 (eval $ac_compile) 2>conftest.er1
19406 grep -v '^ *+' conftest.er1
>conftest.err
19408 cat conftest.err
>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } &&
19411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; } &&
19417 { ac_try
='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_cv_type_long
=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19432 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19433 echo "${ECHO_T}$ac_cv_type_long" >&6
19435 echo "$as_me:$LINENO: checking size of long" >&5
19436 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19437 if test "${ac_cv_sizeof_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 if test "$ac_cv_type_long" = yes; then
19441 # The cast to unsigned long works around a bug in the HP C Compiler
19442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19444 # This bug is HP SR number 8606223364.
19445 if test "$cross_compiling" = yes; then
19446 # Depending upon the size, compute the lo and hi bounds.
19447 cat >conftest.
$ac_ext <<_ACEOF
19450 cat confdefs.h
>>conftest.
$ac_ext
19451 cat >>conftest.
$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19457 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19464 rm -f conftest.
$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19468 grep -v '^ *+' conftest.er1
>conftest.err
19470 cat conftest.err
>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try
='test -s conftest.$ac_objext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19497 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19504 rm -f conftest.
$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19508 grep -v '^ *+' conftest.er1
>conftest.err
19510 cat conftest.err
>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; } &&
19519 { ac_try
='test -s conftest.$ac_objext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19525 ac_hi
=$ac_mid; break
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.
$ac_ext >&5
19530 ac_lo
=`expr $ac_mid + 1`
19531 if test $ac_lo -le $ac_mid; then
19535 ac_mid
=`expr 2 '*' $ac_mid + 1`
19537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.
$ac_ext >&5
19543 cat >conftest.
$ac_ext <<_ACEOF
19546 cat confdefs.h
>>conftest.
$ac_ext
19547 cat >>conftest.
$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 $ac_includes_default
19553 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19560 rm -f conftest.
$ac_objext
19561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19562 (eval $ac_compile) 2>conftest.er1
19564 grep -v '^ *+' conftest.er1
>conftest.err
19566 cat conftest.err
>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } &&
19569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19575 { ac_try
='test -s conftest.$ac_objext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19583 cat >conftest.
$ac_ext <<_ACEOF
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19593 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19600 rm -f conftest.
$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19604 grep -v '^ *+' conftest.er1
>conftest.err
19606 cat conftest.err
>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; } &&
19615 { ac_try
='test -s conftest.$ac_objext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_lo
=$ac_mid; break
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.
$ac_ext >&5
19626 ac_hi
=`expr '(' $ac_mid ')' - 1`
19627 if test $ac_mid -le $ac_hi; then
19631 ac_mid
=`expr 2 '*' $ac_mid`
19633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.
$ac_ext >&5
19641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19644 # Binary search between lo and hi bounds.
19645 while test "x$ac_lo" != "x$ac_hi"; do
19646 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19647 cat >conftest.
$ac_ext <<_ACEOF
19650 cat confdefs.h
>>conftest.
$ac_ext
19651 cat >>conftest.
$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 $ac_includes_default
19657 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19664 rm -f conftest.
$ac_objext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19666 (eval $ac_compile) 2>conftest.er1
19668 grep -v '^ *+' conftest.er1
>conftest.err
19670 cat conftest.err
>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; } &&
19679 { ac_try
='test -s conftest.$ac_objext'
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; }; then
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.
$ac_ext >&5
19690 ac_lo
=`expr '(' $ac_mid ')' + 1`
19692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19695 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19696 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19697 See \`config.log' for more details." >&5
19698 echo "$as_me: error: cannot compute sizeof (long), 77
19699 See \`config.log' for more details." >&2;}
19700 { (exit 1); exit 1; }; } ;;
19703 if test "$cross_compiling" = yes; then
19704 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19705 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19706 { (exit 1); exit 1; }; }
19708 cat >conftest.
$ac_ext <<_ACEOF
19711 cat confdefs.h
>>conftest.
$ac_ext
19712 cat >>conftest.
$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19715 long longval () { return (long) (sizeof (long)); }
19716 unsigned long ulongval () { return (long) (sizeof (long)); }
19718 #include <stdlib.h>
19723 FILE *f = fopen ("conftest.val", "w");
19726 if (((long) (sizeof (long))) < 0)
19728 long i = longval ();
19729 if (i != ((long) (sizeof (long))))
19731 fprintf (f, "%ld\n", i);
19735 unsigned long i = ulongval ();
19736 if (i != ((long) (sizeof (long))))
19738 fprintf (f, "%lu\n", i);
19740 exit (ferror (f) || fclose (f) != 0);
19746 rm -f conftest
$ac_exeext
19747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19748 (eval $ac_link) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 ac_cv_sizeof_long
=`cat conftest.val`
19759 echo "$as_me: program exited with status $ac_status" >&5
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.
$ac_ext >&5
19763 ( exit $ac_status )
19764 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19765 See \`config.log' for more details." >&5
19766 echo "$as_me: error: cannot compute sizeof (long), 77
19767 See \`config.log' for more details." >&2;}
19768 { (exit 1); exit 1; }; }
19770 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19775 ac_cv_sizeof_long
=0
19778 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19779 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19780 cat >>confdefs.h
<<_ACEOF
19781 #define SIZEOF_LONG $ac_cv_sizeof_long
19785 echo "$as_me:$LINENO: checking for size_t" >&5
19786 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19787 if test "${ac_cv_type_size_t+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 cat >conftest.
$ac_ext <<_ACEOF
19793 cat confdefs.h
>>conftest.
$ac_ext
19794 cat >>conftest.
$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 $ac_includes_default
19802 if (sizeof (size_t))
19808 rm -f conftest.
$ac_objext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19810 (eval $ac_compile) 2>conftest.er1
19812 grep -v '^ *+' conftest.er1
>conftest.err
19814 cat conftest.err
>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try
='test -s conftest.$ac_objext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 ac_cv_type_size_t
=yes
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.
$ac_ext >&5
19834 ac_cv_type_size_t
=no
19836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19838 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19839 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19841 echo "$as_me:$LINENO: checking size of size_t" >&5
19842 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19843 if test "${ac_cv_sizeof_size_t+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19846 if test "$ac_cv_type_size_t" = yes; then
19847 # The cast to unsigned long works around a bug in the HP C Compiler
19848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19850 # This bug is HP SR number 8606223364.
19851 if test "$cross_compiling" = yes; then
19852 # Depending upon the size, compute the lo and hi bounds.
19853 cat >conftest.
$ac_ext <<_ACEOF
19856 cat confdefs.h
>>conftest.
$ac_ext
19857 cat >>conftest.
$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19863 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19870 rm -f conftest.
$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try
='test -s conftest.$ac_objext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19893 cat >conftest.
$ac_ext <<_ACEOF
19896 cat confdefs.h
>>conftest.
$ac_ext
19897 cat >>conftest.
$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19903 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19910 rm -f conftest.
$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1
>conftest.err
19916 cat conftest.err
>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try
='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_hi
=$ac_mid; break
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19936 ac_lo
=`expr $ac_mid + 1`
19937 if test $ac_lo -le $ac_mid; then
19941 ac_mid
=`expr 2 '*' $ac_mid + 1`
19943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.
$ac_ext >&5
19949 cat >conftest.
$ac_ext <<_ACEOF
19952 cat confdefs.h
>>conftest.
$ac_ext
19953 cat >>conftest.
$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 $ac_includes_default
19959 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19966 rm -f conftest.
$ac_objext
19967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19968 (eval $ac_compile) 2>conftest.er1
19970 grep -v '^ *+' conftest.er1
>conftest.err
19972 cat conftest.err
>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } &&
19975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19977 (eval $ac_try) 2>&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); }; } &&
19981 { ac_try
='test -s conftest.$ac_objext'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19989 cat >conftest.
$ac_ext <<_ACEOF
19992 cat confdefs.h
>>conftest.
$ac_ext
19993 cat >>conftest.
$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 $ac_includes_default
19999 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20006 rm -f conftest.
$ac_objext
20007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20008 (eval $ac_compile) 2>conftest.er1
20010 grep -v '^ *+' conftest.er1
>conftest.err
20012 cat conftest.err
>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } &&
20015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try
='test -s conftest.$ac_objext'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; }; then
20027 ac_lo
=$ac_mid; break
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.
$ac_ext >&5
20032 ac_hi
=`expr '(' $ac_mid ')' - 1`
20033 if test $ac_mid -le $ac_hi; then
20037 ac_mid
=`expr 2 '*' $ac_mid`
20039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20050 # Binary search between lo and hi bounds.
20051 while test "x$ac_lo" != "x$ac_hi"; do
20052 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20053 cat >conftest.
$ac_ext <<_ACEOF
20056 cat confdefs.h
>>conftest.
$ac_ext
20057 cat >>conftest.
$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20059 $ac_includes_default
20063 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20070 rm -f conftest.
$ac_objext
20071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20072 (eval $ac_compile) 2>conftest.er1
20074 grep -v '^ *+' conftest.er1
>conftest.err
20076 cat conftest.err
>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } &&
20079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; } &&
20085 { ac_try
='test -s conftest.$ac_objext'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; }; then
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.
$ac_ext >&5
20096 ac_lo
=`expr '(' $ac_mid ')' + 1`
20098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20101 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20103 See \`config.log' for more details." >&5
20104 echo "$as_me: error: cannot compute sizeof (size_t), 77
20105 See \`config.log' for more details." >&2;}
20106 { (exit 1); exit 1; }; } ;;
20109 if test "$cross_compiling" = yes; then
20110 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20111 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20112 { (exit 1); exit 1; }; }
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 long longval () { return (long) (sizeof (size_t)); }
20122 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20124 #include <stdlib.h>
20129 FILE *f = fopen ("conftest.val", "w");
20132 if (((long) (sizeof (size_t))) < 0)
20134 long i = longval ();
20135 if (i != ((long) (sizeof (size_t))))
20137 fprintf (f, "%ld\n", i);
20141 unsigned long i = ulongval ();
20142 if (i != ((long) (sizeof (size_t))))
20144 fprintf (f, "%lu\n", i);
20146 exit (ferror (f) || fclose (f) != 0);
20152 rm -f conftest
$ac_exeext
20153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20154 (eval $ac_link) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_sizeof_size_t
=`cat conftest.val`
20165 echo "$as_me: program exited with status $ac_status" >&5
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.
$ac_ext >&5
20169 ( exit $ac_status )
20170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20171 See \`config.log' for more details." >&5
20172 echo "$as_me: error: cannot compute sizeof (size_t), 77
20173 See \`config.log' for more details." >&2;}
20174 { (exit 1); exit 1; }; }
20176 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20181 ac_cv_sizeof_size_t
=0
20184 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20185 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20186 cat >>confdefs.h
<<_ACEOF
20187 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20194 echo "$as_me:$LINENO: checking for long long" >&5
20195 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20196 if test "${ac_cv_type_long_long+set}" = set; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 cat >conftest.
$ac_ext <<_ACEOF
20202 cat confdefs.h
>>conftest.
$ac_ext
20203 cat >>conftest.
$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 $ac_includes_default
20209 if ((long long *) 0)
20211 if (sizeof (long long))
20217 rm -f conftest.
$ac_objext
20218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20219 (eval $ac_compile) 2>conftest.er1
20221 grep -v '^ *+' conftest.er1
>conftest.err
20223 cat conftest.err
>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } &&
20226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try
='test -s conftest.$ac_objext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 ac_cv_type_long_long
=yes
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.
$ac_ext >&5
20243 ac_cv_type_long_long
=no
20245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20247 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20248 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20250 echo "$as_me:$LINENO: checking size of long long" >&5
20251 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20252 if test "${ac_cv_sizeof_long_long+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 if test "$ac_cv_type_long_long" = yes; then
20256 # The cast to unsigned long works around a bug in the HP C Compiler
20257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20259 # This bug is HP SR number 8606223364.
20260 if test "$cross_compiling" = yes; then
20261 # Depending upon the size, compute the lo and hi bounds.
20262 cat >conftest.
$ac_ext <<_ACEOF
20265 cat confdefs.h
>>conftest.
$ac_ext
20266 cat >>conftest.
$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20272 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20279 rm -f conftest.
$ac_objext
20280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20281 (eval $ac_compile) 2>conftest.er1
20283 grep -v '^ *+' conftest.er1
>conftest.err
20285 cat conftest.err
>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } &&
20288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } &&
20294 { ac_try
='test -s conftest.$ac_objext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20302 cat >conftest.
$ac_ext <<_ACEOF
20305 cat confdefs.h
>>conftest.
$ac_ext
20306 cat >>conftest.
$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20312 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20319 rm -f conftest.
$ac_objext
20320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20321 (eval $ac_compile) 2>conftest.er1
20323 grep -v '^ *+' conftest.er1
>conftest.err
20325 cat conftest.err
>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } &&
20328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; } &&
20334 { ac_try
='test -s conftest.$ac_objext'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; }; then
20340 ac_hi
=$ac_mid; break
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.
$ac_ext >&5
20345 ac_lo
=`expr $ac_mid + 1`
20346 if test $ac_lo -le $ac_mid; then
20350 ac_mid
=`expr 2 '*' $ac_mid + 1`
20352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20358 cat >conftest.
$ac_ext <<_ACEOF
20361 cat confdefs.h
>>conftest.
$ac_ext
20362 cat >>conftest.
$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 $ac_includes_default
20368 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20375 rm -f conftest.
$ac_objext
20376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20377 (eval $ac_compile) 2>conftest.er1
20379 grep -v '^ *+' conftest.er1
>conftest.err
20381 cat conftest.err
>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; } &&
20390 { ac_try
='test -s conftest.$ac_objext'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20415 rm -f conftest.
$ac_objext
20416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20417 (eval $ac_compile) 2>conftest.er1
20419 grep -v '^ *+' conftest.er1
>conftest.err
20421 cat conftest.err
>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } &&
20424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; } &&
20430 { ac_try
='test -s conftest.$ac_objext'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; }; then
20436 ac_lo
=$ac_mid; break
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.
$ac_ext >&5
20441 ac_hi
=`expr '(' $ac_mid ')' - 1`
20442 if test $ac_mid -le $ac_hi; then
20446 ac_mid
=`expr 2 '*' $ac_mid`
20448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.
$ac_ext >&5
20456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20459 # Binary search between lo and hi bounds.
20460 while test "x$ac_lo" != "x$ac_hi"; do
20461 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20462 cat >conftest.
$ac_ext <<_ACEOF
20465 cat confdefs.h
>>conftest.
$ac_ext
20466 cat >>conftest.
$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 $ac_includes_default
20472 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20479 rm -f conftest.
$ac_objext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20481 (eval $ac_compile) 2>conftest.er1
20483 grep -v '^ *+' conftest.er1
>conftest.err
20485 cat conftest.err
>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; } &&
20494 { ac_try
='test -s conftest.$ac_objext'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.
$ac_ext >&5
20505 ac_lo
=`expr '(' $ac_mid ')' + 1`
20507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20510 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20512 See \`config.log' for more details." >&5
20513 echo "$as_me: error: cannot compute sizeof (long long), 77
20514 See \`config.log' for more details." >&2;}
20515 { (exit 1); exit 1; }; } ;;
20518 if test "$cross_compiling" = yes; then
20519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20521 { (exit 1); exit 1; }; }
20523 cat >conftest.
$ac_ext <<_ACEOF
20526 cat confdefs.h
>>conftest.
$ac_ext
20527 cat >>conftest.
$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 long longval () { return (long) (sizeof (long long)); }
20531 unsigned long ulongval () { return (long) (sizeof (long long)); }
20533 #include <stdlib.h>
20538 FILE *f = fopen ("conftest.val", "w");
20541 if (((long) (sizeof (long long))) < 0)
20543 long i = longval ();
20544 if (i != ((long) (sizeof (long long))))
20546 fprintf (f, "%ld\n", i);
20550 unsigned long i = ulongval ();
20551 if (i != ((long) (sizeof (long long))))
20553 fprintf (f, "%lu\n", i);
20555 exit (ferror (f) || fclose (f) != 0);
20561 rm -f conftest
$ac_exeext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563 (eval $ac_link) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_sizeof_long_long
=`cat conftest.val`
20574 echo "$as_me: program exited with status $ac_status" >&5
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 ( exit $ac_status )
20579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20580 See \`config.log' for more details." >&5
20581 echo "$as_me: error: cannot compute sizeof (long long), 77
20582 See \`config.log' for more details." >&2;}
20583 { (exit 1); exit 1; }; }
20585 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20590 ac_cv_sizeof_long_long
=0
20593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20594 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20595 cat >>confdefs.h
<<_ACEOF
20596 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20602 echo "$as_me:$LINENO: checking for long long" >&5
20603 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20604 if test "${ac_cv_type_long_long+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20607 cat >conftest.
$ac_ext <<_ACEOF
20610 cat confdefs.h
>>conftest.
$ac_ext
20611 cat >>conftest.
$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20617 if ((long long *) 0)
20619 if (sizeof (long long))
20625 rm -f conftest.
$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627 (eval $ac_compile) 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try
='test -s conftest.$ac_objext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_cv_type_long_long
=yes
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20651 ac_cv_type_long_long
=no
20653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20655 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20656 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20658 echo "$as_me:$LINENO: checking size of long long" >&5
20659 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20660 if test "${ac_cv_sizeof_long_long+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 if test "$ac_cv_type_long_long" = yes; then
20664 # The cast to unsigned long works around a bug in the HP C Compiler
20665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20667 # This bug is HP SR number 8606223364.
20668 if test "$cross_compiling" = yes; then
20669 # Depending upon the size, compute the lo and hi bounds.
20670 cat >conftest.
$ac_ext <<_ACEOF
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 $ac_includes_default
20680 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20687 rm -f conftest.
$ac_objext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20689 (eval $ac_compile) 2>conftest.er1
20691 grep -v '^ *+' conftest.er1
>conftest.err
20693 cat conftest.err
>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } &&
20696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try
='test -s conftest.$ac_objext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20710 cat >conftest.
$ac_ext <<_ACEOF
20713 cat confdefs.h
>>conftest.
$ac_ext
20714 cat >>conftest.
$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 $ac_includes_default
20720 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20727 rm -f conftest.
$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729 (eval $ac_compile) 2>conftest.er1
20731 grep -v '^ *+' conftest.er1
>conftest.err
20733 cat conftest.err
>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try
='test -s conftest.$ac_objext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_hi
=$ac_mid; break
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.
$ac_ext >&5
20753 ac_lo
=`expr $ac_mid + 1`
20754 if test $ac_lo -le $ac_mid; then
20758 ac_mid
=`expr 2 '*' $ac_mid + 1`
20760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.
$ac_ext >&5
20766 cat >conftest.
$ac_ext <<_ACEOF
20769 cat confdefs.h
>>conftest.
$ac_ext
20770 cat >>conftest.
$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 $ac_includes_default
20776 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20783 rm -f conftest.
$ac_objext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20785 (eval $ac_compile) 2>conftest.er1
20787 grep -v '^ *+' conftest.er1
>conftest.err
20789 cat conftest.err
>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try
='test -s conftest.$ac_objext'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; }; then
20806 cat >conftest.
$ac_ext <<_ACEOF
20809 cat confdefs.h
>>conftest.
$ac_ext
20810 cat >>conftest.
$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20812 $ac_includes_default
20816 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20823 rm -f conftest.
$ac_objext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20825 (eval $ac_compile) 2>conftest.er1
20827 grep -v '^ *+' conftest.er1
>conftest.err
20829 cat conftest.err
>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } &&
20832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; } &&
20838 { ac_try
='test -s conftest.$ac_objext'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; }; then
20844 ac_lo
=$ac_mid; break
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.
$ac_ext >&5
20849 ac_hi
=`expr '(' $ac_mid ')' - 1`
20850 if test $ac_mid -le $ac_hi; then
20854 ac_mid
=`expr 2 '*' $ac_mid`
20856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.
$ac_ext >&5
20864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20867 # Binary search between lo and hi bounds.
20868 while test "x$ac_lo" != "x$ac_hi"; do
20869 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20870 cat >conftest.
$ac_ext <<_ACEOF
20873 cat confdefs.h
>>conftest.
$ac_ext
20874 cat >>conftest.
$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20876 $ac_includes_default
20880 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20887 rm -f conftest.
$ac_objext
20888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20889 (eval $ac_compile) 2>conftest.er1
20891 grep -v '^ *+' conftest.er1
>conftest.err
20893 cat conftest.err
>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } &&
20896 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; } &&
20902 { ac_try
='test -s conftest.$ac_objext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20910 echo "$as_me: failed program was:" >&5
20911 sed 's/^/| /' conftest.
$ac_ext >&5
20913 ac_lo
=`expr '(' $ac_mid ')' + 1`
20915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20918 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20919 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20920 See \`config.log' for more details." >&5
20921 echo "$as_me: error: cannot compute sizeof (long long), 77
20922 See \`config.log' for more details." >&2;}
20923 { (exit 1); exit 1; }; } ;;
20926 if test "$cross_compiling" = yes; then
20927 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20928 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20929 { (exit 1); exit 1; }; }
20931 cat >conftest.
$ac_ext <<_ACEOF
20934 cat confdefs.h
>>conftest.
$ac_ext
20935 cat >>conftest.
$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 long longval () { return (long) (sizeof (long long)); }
20939 unsigned long ulongval () { return (long) (sizeof (long long)); }
20941 #include <stdlib.h>
20946 FILE *f = fopen ("conftest.val", "w");
20949 if (((long) (sizeof (long long))) < 0)
20951 long i = longval ();
20952 if (i != ((long) (sizeof (long long))))
20954 fprintf (f, "%ld\n", i);
20958 unsigned long i = ulongval ();
20959 if (i != ((long) (sizeof (long long))))
20961 fprintf (f, "%lu\n", i);
20963 exit (ferror (f) || fclose (f) != 0);
20969 rm -f conftest
$ac_exeext
20970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20971 (eval $ac_link) 2>&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 ac_cv_sizeof_long_long
=`cat conftest.val`
20982 echo "$as_me: program exited with status $ac_status" >&5
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.
$ac_ext >&5
20986 ( exit $ac_status )
20987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20988 See \`config.log' for more details." >&5
20989 echo "$as_me: error: cannot compute sizeof (long long), 77
20990 See \`config.log' for more details." >&2;}
20991 { (exit 1); exit 1; }; }
20993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20998 ac_cv_sizeof_long_long
=0
21001 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21002 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21003 cat >>confdefs.h
<<_ACEOF
21004 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21008 if test "$ac_cv_sizeof_long_long" != "0"; then
21009 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21013 echo "$as_me:$LINENO: checking for long long" >&5
21014 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21015 if test "${ac_cv_type_long_long+set}" = set; then
21016 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 cat >conftest.
$ac_ext <<_ACEOF
21021 cat confdefs.h
>>conftest.
$ac_ext
21022 cat >>conftest.
$ac_ext <<_ACEOF
21023 /* end confdefs.h. */
21024 $ac_includes_default
21028 if ((long long *) 0)
21030 if (sizeof (long long))
21036 rm -f conftest.
$ac_objext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21038 (eval $ac_compile) 2>conftest.er1
21040 grep -v '^ *+' conftest.er1
>conftest.err
21042 cat conftest.err
>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try
='test -s conftest.$ac_objext'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; }; then
21057 ac_cv_type_long_long
=yes
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.
$ac_ext >&5
21062 ac_cv_type_long_long
=no
21064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21066 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21067 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21069 echo "$as_me:$LINENO: checking size of long long" >&5
21070 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21071 if test "${ac_cv_sizeof_long_long+set}" = set; then
21072 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 if test "$ac_cv_type_long_long" = yes; then
21075 # The cast to unsigned long works around a bug in the HP C Compiler
21076 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21077 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21078 # This bug is HP SR number 8606223364.
21079 if test "$cross_compiling" = yes; then
21080 # Depending upon the size, compute the lo and hi bounds.
21081 cat >conftest.
$ac_ext <<_ACEOF
21084 cat confdefs.h
>>conftest.
$ac_ext
21085 cat >>conftest.
$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 $ac_includes_default
21091 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21098 rm -f conftest.
$ac_objext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21100 (eval $ac_compile) 2>conftest.er1
21102 grep -v '^ *+' conftest.er1
>conftest.err
21104 cat conftest.err
>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; } &&
21113 { ac_try
='test -s conftest.$ac_objext'
21114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115 (eval $ac_try) 2>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; }; then
21121 cat >conftest.
$ac_ext <<_ACEOF
21124 cat confdefs.h
>>conftest.
$ac_ext
21125 cat >>conftest.
$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 $ac_includes_default
21131 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21138 rm -f conftest.
$ac_objext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21140 (eval $ac_compile) 2>conftest.er1
21142 grep -v '^ *+' conftest.er1
>conftest.err
21144 cat conftest.err
>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } &&
21147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149 (eval $ac_try) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; } &&
21153 { ac_try
='test -s conftest.$ac_objext'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 ac_hi
=$ac_mid; break
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.
$ac_ext >&5
21164 ac_lo
=`expr $ac_mid + 1`
21165 if test $ac_lo -le $ac_mid; then
21169 ac_mid
=`expr 2 '*' $ac_mid + 1`
21171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.
$ac_ext >&5
21177 cat >conftest.
$ac_ext <<_ACEOF
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183 $ac_includes_default
21187 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21194 rm -f conftest.
$ac_objext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21196 (eval $ac_compile) 2>conftest.er1
21198 grep -v '^ *+' conftest.er1
>conftest.err
21200 cat conftest.err
>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; } &&
21209 { ac_try
='test -s conftest.$ac_objext'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; }; then
21217 cat >conftest.
$ac_ext <<_ACEOF
21220 cat confdefs.h
>>conftest.
$ac_ext
21221 cat >>conftest.
$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 $ac_includes_default
21227 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21234 rm -f conftest.
$ac_objext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21236 (eval $ac_compile) 2>conftest.er1
21238 grep -v '^ *+' conftest.er1
>conftest.err
21240 cat conftest.err
>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
21243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; } &&
21249 { ac_try
='test -s conftest.$ac_objext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_lo
=$ac_mid; break
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21260 ac_hi
=`expr '(' $ac_mid ')' - 1`
21261 if test $ac_mid -le $ac_hi; then
21265 ac_mid
=`expr 2 '*' $ac_mid`
21267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.
$ac_ext >&5
21275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21278 # Binary search between lo and hi bounds.
21279 while test "x$ac_lo" != "x$ac_hi"; do
21280 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21281 cat >conftest.
$ac_ext <<_ACEOF
21284 cat confdefs.h
>>conftest.
$ac_ext
21285 cat >>conftest.
$ac_ext <<_ACEOF
21286 /* end confdefs.h. */
21287 $ac_includes_default
21291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21298 rm -f conftest.
$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>conftest.er1
21302 grep -v '^ *+' conftest.er1
>conftest.err
21304 cat conftest.err
>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try
='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.
$ac_ext >&5
21324 ac_lo
=`expr '(' $ac_mid ')' + 1`
21326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21329 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21331 See \`config.log' for more details." >&5
21332 echo "$as_me: error: cannot compute sizeof (long long), 77
21333 See \`config.log' for more details." >&2;}
21334 { (exit 1); exit 1; }; } ;;
21337 if test "$cross_compiling" = yes; then
21338 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21339 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21340 { (exit 1); exit 1; }; }
21342 cat >conftest.
$ac_ext <<_ACEOF
21345 cat confdefs.h
>>conftest.
$ac_ext
21346 cat >>conftest.
$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 long longval () { return (long) (sizeof (long long)); }
21350 unsigned long ulongval () { return (long) (sizeof (long long)); }
21352 #include <stdlib.h>
21357 FILE *f = fopen ("conftest.val", "w");
21360 if (((long) (sizeof (long long))) < 0)
21362 long i = longval ();
21363 if (i != ((long) (sizeof (long long))))
21365 fprintf (f, "%ld\n", i);
21369 unsigned long i = ulongval ();
21370 if (i != ((long) (sizeof (long long))))
21372 fprintf (f, "%lu\n", i);
21374 exit (ferror (f) || fclose (f) != 0);
21380 rm -f conftest
$ac_exeext
21381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21382 (eval $ac_link) 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21391 ac_cv_sizeof_long_long
=`cat conftest.val`
21393 echo "$as_me: program exited with status $ac_status" >&5
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.
$ac_ext >&5
21397 ( exit $ac_status )
21398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21399 See \`config.log' for more details." >&5
21400 echo "$as_me: error: cannot compute sizeof (long long), 77
21401 See \`config.log' for more details." >&2;}
21402 { (exit 1); exit 1; }; }
21404 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21409 ac_cv_sizeof_long_long
=0
21412 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21413 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21414 cat >>confdefs.h
<<_ACEOF
21415 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21421 echo "$as_me:$LINENO: checking for wchar_t" >&5
21422 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21423 if test "${ac_cv_type_wchar_t+set}" = set; then
21424 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 cat >conftest.
$ac_ext <<_ACEOF
21429 cat confdefs.h
>>conftest.
$ac_ext
21430 cat >>conftest.
$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21433 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21434 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21435 # error "fake wchar_t"
21437 #ifdef HAVE_WCHAR_H
21439 # include <stddef.h>
21441 # include <wchar.h>
21443 #ifdef HAVE_STDLIB_H
21444 # include <stdlib.h>
21455 if (sizeof (wchar_t))
21461 rm -f conftest.
$ac_objext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21463 (eval $ac_compile) 2>conftest.er1
21465 grep -v '^ *+' conftest.er1
>conftest.err
21467 cat conftest.err
>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } &&
21470 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; } &&
21476 { ac_try
='test -s conftest.$ac_objext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_cv_type_wchar_t
=yes
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.
$ac_ext >&5
21487 ac_cv_type_wchar_t
=no
21489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21491 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21492 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21494 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21495 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21496 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21497 echo $ECHO_N "(cached) $ECHO_C" >&6
21499 if test "$ac_cv_type_wchar_t" = yes; then
21500 # The cast to unsigned long works around a bug in the HP C Compiler
21501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21503 # This bug is HP SR number 8606223364.
21504 if test "$cross_compiling" = yes; then
21505 # Depending upon the size, compute the lo and hi bounds.
21506 cat >conftest.
$ac_ext <<_ACEOF
21509 cat confdefs.h
>>conftest.
$ac_ext
21510 cat >>conftest.
$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21513 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21514 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21515 # error "fake wchar_t"
21517 #ifdef HAVE_WCHAR_H
21519 # include <stddef.h>
21521 # include <wchar.h>
21523 #ifdef HAVE_STDLIB_H
21524 # include <stdlib.h>
21533 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21540 rm -f conftest.
$ac_objext
21541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21542 (eval $ac_compile) 2>conftest.er1
21544 grep -v '^ *+' conftest.er1
>conftest.err
21546 cat conftest.err
>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
21549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try
='test -s conftest.$ac_objext'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; }; then
21563 cat >conftest.
$ac_ext <<_ACEOF
21566 cat confdefs.h
>>conftest.
$ac_ext
21567 cat >>conftest.
$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21570 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21571 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21572 # error "fake wchar_t"
21574 #ifdef HAVE_WCHAR_H
21576 # include <stddef.h>
21578 # include <wchar.h>
21580 #ifdef HAVE_STDLIB_H
21581 # include <stdlib.h>
21590 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21597 rm -f conftest.
$ac_objext
21598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21599 (eval $ac_compile) 2>conftest.er1
21601 grep -v '^ *+' conftest.er1
>conftest.err
21603 cat conftest.err
>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } &&
21606 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try
='test -s conftest.$ac_objext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_hi
=$ac_mid; break
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 ac_lo
=`expr $ac_mid + 1`
21624 if test $ac_lo -le $ac_mid; then
21628 ac_mid
=`expr 2 '*' $ac_mid + 1`
21630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21633 echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.
$ac_ext >&5
21636 cat >conftest.
$ac_ext <<_ACEOF
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21643 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21644 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21645 # error "fake wchar_t"
21647 #ifdef HAVE_WCHAR_H
21649 # include <stddef.h>
21651 # include <wchar.h>
21653 #ifdef HAVE_STDLIB_H
21654 # include <stdlib.h>
21663 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21670 rm -f conftest.
$ac_objext
21671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21672 (eval $ac_compile) 2>conftest.er1
21674 grep -v '^ *+' conftest.er1
>conftest.err
21676 cat conftest.err
>&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } &&
21679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try
='test -s conftest.$ac_objext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21693 cat >conftest.
$ac_ext <<_ACEOF
21696 cat confdefs.h
>>conftest.
$ac_ext
21697 cat >>conftest.
$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21700 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21701 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21702 # error "fake wchar_t"
21704 #ifdef HAVE_WCHAR_H
21706 # include <stddef.h>
21708 # include <wchar.h>
21710 #ifdef HAVE_STDLIB_H
21711 # include <stdlib.h>
21720 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21727 rm -f conftest.
$ac_objext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21729 (eval $ac_compile) 2>conftest.er1
21731 grep -v '^ *+' conftest.er1
>conftest.err
21733 cat conftest.err
>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try
='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 ac_lo
=$ac_mid; break
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.
$ac_ext >&5
21753 ac_hi
=`expr '(' $ac_mid ')' - 1`
21754 if test $ac_mid -le $ac_hi; then
21758 ac_mid
=`expr 2 '*' $ac_mid`
21760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21771 # Binary search between lo and hi bounds.
21772 while test "x$ac_lo" != "x$ac_hi"; do
21773 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21774 cat >conftest.
$ac_ext <<_ACEOF
21777 cat confdefs.h
>>conftest.
$ac_ext
21778 cat >>conftest.
$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21781 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21782 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21783 # error "fake wchar_t"
21785 #ifdef HAVE_WCHAR_H
21787 # include <stddef.h>
21789 # include <wchar.h>
21791 #ifdef HAVE_STDLIB_H
21792 # include <stdlib.h>
21801 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21808 rm -f conftest.
$ac_objext
21809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21810 (eval $ac_compile) 2>conftest.er1
21812 grep -v '^ *+' conftest.er1
>conftest.err
21814 cat conftest.err
>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } &&
21817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819 (eval $ac_try) 2>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; } &&
21823 { ac_try
='test -s conftest.$ac_objext'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; }; then
21831 echo "$as_me: failed program was:" >&5
21832 sed 's/^/| /' conftest.
$ac_ext >&5
21834 ac_lo
=`expr '(' $ac_mid ')' + 1`
21836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21839 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21840 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21841 See \`config.log' for more details." >&5
21842 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21843 See \`config.log' for more details." >&2;}
21844 { (exit 1); exit 1; }; } ;;
21847 if test "$cross_compiling" = yes; then
21848 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21849 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21850 { (exit 1); exit 1; }; }
21852 cat >conftest.
$ac_ext <<_ACEOF
21855 cat confdefs.h
>>conftest.
$ac_ext
21856 cat >>conftest.
$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21859 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21860 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21861 # error "fake wchar_t"
21863 #ifdef HAVE_WCHAR_H
21865 # include <stddef.h>
21867 # include <wchar.h>
21869 #ifdef HAVE_STDLIB_H
21870 # include <stdlib.h>
21876 long longval () { return (long) (sizeof (wchar_t)); }
21877 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21879 #include <stdlib.h>
21884 FILE *f = fopen ("conftest.val", "w");
21887 if (((long) (sizeof (wchar_t))) < 0)
21889 long i = longval ();
21890 if (i != ((long) (sizeof (wchar_t))))
21892 fprintf (f, "%ld\n", i);
21896 unsigned long i = ulongval ();
21897 if (i != ((long) (sizeof (wchar_t))))
21899 fprintf (f, "%lu\n", i);
21901 exit (ferror (f) || fclose (f) != 0);
21907 rm -f conftest
$ac_exeext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21909 (eval $ac_link) 2>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21918 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21920 echo "$as_me: program exited with status $ac_status" >&5
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21924 ( exit $ac_status )
21925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21926 See \`config.log' for more details." >&5
21927 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21928 See \`config.log' for more details." >&2;}
21929 { (exit 1); exit 1; }; }
21931 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21936 ac_cv_sizeof_wchar_t
=0
21939 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21940 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21941 cat >>confdefs.h
<<_ACEOF
21942 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21946 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21952 echo "$as_me:$LINENO: checking for va_copy" >&5
21953 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21954 if test "${wx_cv_func_va_copy+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 cat >conftest.
$ac_ext <<_ACEOF
21960 #include <stdarg.h>
21961 void foo(char *f, ...)
21975 rm -f conftest.
$ac_objext conftest
$ac_exeext
21976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21977 (eval $ac_link) 2>conftest.er1
21979 grep -v '^ *+' conftest.er1
>conftest.err
21981 cat conftest.err
>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } &&
21984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21986 (eval $ac_try) 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try
='test -s conftest$ac_exeext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 wx_cv_func_va_copy
=yes
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.
$ac_ext >&5
22001 wx_cv_func_va_copy
=no
22004 rm -f conftest.err conftest.
$ac_objext \
22005 conftest
$ac_exeext conftest.
$ac_ext
22009 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22010 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22012 if test $wx_cv_func_va_copy = "yes"; then
22013 cat >>confdefs.h
<<\_ACEOF
22014 #define HAVE_VA_COPY 1
22018 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22019 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22020 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 if test "$cross_compiling" = yes; then
22025 wx_cv_type_va_list_lvalue
=yes
22028 cat >conftest.
$ac_ext <<_ACEOF
22030 #include <stdarg.h>
22031 int foo(char *f, ...)
22036 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22044 return foo("hi", 17);
22047 rm -f conftest
$ac_exeext
22048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22049 (eval $ac_link) 2>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 wx_cv_type_va_list_lvalue
=yes
22060 echo "$as_me: program exited with status $ac_status" >&5
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.
$ac_ext >&5
22064 ( exit $ac_status )
22065 wx_cv_type_va_list_lvalue
=no
22067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22072 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22073 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22075 if test $wx_cv_type_va_list_lvalue != "yes"; then
22076 cat >>confdefs.h
<<\_ACEOF
22077 #define VA_LIST_IS_ARRAY 1
22083 # Check whether --enable-largefile or --disable-largefile was given.
22084 if test "${enable_largefile+set}" = set; then
22085 enableval
="$enable_largefile"
22088 if test "$enable_largefile" != no
; then
22091 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22092 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22093 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22097 cat >conftest.
$ac_ext <<_ACEOF
22100 cat confdefs.h
>>conftest.
$ac_ext
22101 cat >>conftest.
$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 #define _FILE_OFFSET_BITS 64
22104 #include <sys/types.h>
22109 unsigned int field: sizeof(off_t) == 8;
22116 rm -f conftest.
$ac_objext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22118 (eval $ac_compile) 2>conftest.er1
22120 grep -v '^ *+' conftest.er1
>conftest.err
22122 cat conftest.err
>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try
='test -s conftest.$ac_objext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 ac_cv_sys_file_offset_bits
=64
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.
$ac_ext >&5
22142 ac_cv_sys_file_offset_bits
=no
22144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22148 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22149 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22151 if test "$ac_cv_sys_file_offset_bits" != no
; then
22153 cat >>confdefs.h
<<_ACEOF
22154 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22159 if test "x$wx_largefile" != "xyes"; then
22161 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22162 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22163 if test "${ac_cv_sys_large_files+set}" = set; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22167 cat >conftest.
$ac_ext <<_ACEOF
22170 cat confdefs.h
>>conftest.
$ac_ext
22171 cat >>conftest.
$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 #define _LARGE_FILES 1
22174 #include <sys/types.h>
22179 unsigned int field: sizeof(off_t) == 8;
22186 rm -f conftest.
$ac_objext
22187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22188 (eval $ac_compile) 2>conftest.er1
22190 grep -v '^ *+' conftest.er1
>conftest.err
22192 cat conftest.err
>&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } &&
22195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 (eval $ac_try) 2>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; } &&
22201 { ac_try
='test -s conftest.$ac_objext'
22202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22203 (eval $ac_try) 2>&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; }; then
22207 ac_cv_sys_large_files
=1
22209 echo "$as_me: failed program was:" >&5
22210 sed 's/^/| /' conftest.
$ac_ext >&5
22212 ac_cv_sys_large_files
=no
22214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22218 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22219 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22221 if test "$ac_cv_sys_large_files" != no
; then
22223 cat >>confdefs.h
<<_ACEOF
22224 #define _LARGE_FILES $ac_cv_sys_large_files
22231 echo "$as_me:$LINENO: checking if large file support is available" >&5
22232 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22233 if test "x$wx_largefile" = "xyes"; then
22234 cat >>confdefs.h
<<\_ACEOF
22235 #define HAVE_LARGEFILE_SUPPORT 1
22239 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22240 echo "${ECHO_T}$wx_largefile" >&6
22244 if test "x$wx_largefile" = "xyes"; then
22245 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22246 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22248 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22249 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22250 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22251 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22252 echo $ECHO_N "(cached) $ECHO_C" >&6
22255 cat >conftest.
$ac_ext <<_ACEOF
22258 cat confdefs.h
>>conftest.
$ac_ext
22259 cat >>conftest.
$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22266 #ifndef __STDC_EXT__
22274 rm -f conftest.
$ac_objext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22276 (eval $ac_compile) 2>conftest.er1
22278 grep -v '^ *+' conftest.er1
>conftest.err
22280 cat conftest.err
>&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try
='test -s conftest.$ac_objext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 wx_cv_STDC_EXT_required
=no
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.
$ac_ext >&5
22300 wx_cv_STDC_EXT_required
=yes
22303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22307 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22308 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22309 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22310 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22314 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22316 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22317 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22318 if test "${ac_cv_sys_largefile_source+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22322 ac_cv_sys_largefile_source
=no
22323 cat >conftest.
$ac_ext <<_ACEOF
22326 cat confdefs.h
>>conftest.
$ac_ext
22327 cat >>conftest.
$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22338 rm -f conftest.
$ac_objext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22340 (eval $ac_compile) 2>conftest.er1
22342 grep -v '^ *+' conftest.er1
>conftest.err
22344 cat conftest.err
>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } &&
22347 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; } &&
22353 { ac_try
='test -s conftest.$ac_objext'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; }; then
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.
$ac_ext >&5
22365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22366 cat >conftest.
$ac_ext <<_ACEOF
22369 cat confdefs.h
>>conftest.
$ac_ext
22370 cat >>conftest.
$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 #define _LARGEFILE_SOURCE 1
22382 rm -f conftest.
$ac_objext
22383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22384 (eval $ac_compile) 2>conftest.er1
22386 grep -v '^ *+' conftest.er1
>conftest.err
22388 cat conftest.err
>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } &&
22391 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; } &&
22397 { ac_try
='test -s conftest.$ac_objext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 ac_cv_sys_largefile_source
=1; break
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.
$ac_ext >&5
22409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22413 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22414 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22415 if test "$ac_cv_sys_largefile_source" != no
; then
22417 cat >>confdefs.h
<<_ACEOF
22418 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22424 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22425 # in glibc 2.1.3, but that breaks too many other things.
22426 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22427 echo "$as_me:$LINENO: checking for fseeko" >&5
22428 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22429 if test "${ac_cv_func_fseeko+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 cat >conftest.
$ac_ext <<_ACEOF
22435 cat confdefs.h
>>conftest.
$ac_ext
22436 cat >>conftest.
$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22442 return fseeko && fseeko (stdin, 0, 0);
22447 rm -f conftest.
$ac_objext conftest
$ac_exeext
22448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22449 (eval $ac_link) 2>conftest.er1
22451 grep -v '^ *+' conftest.er1
>conftest.err
22453 cat conftest.err
>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; } &&
22462 { ac_try
='test -s conftest$ac_exeext'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; }; then
22468 ac_cv_func_fseeko
=yes
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.
$ac_ext >&5
22473 ac_cv_func_fseeko
=no
22475 rm -f conftest.err conftest.
$ac_objext \
22476 conftest
$ac_exeext conftest.
$ac_ext
22478 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22479 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22480 if test $ac_cv_func_fseeko = yes; then
22482 cat >>confdefs.h
<<\_ACEOF
22483 #define HAVE_FSEEKO 1
22488 if test "$ac_cv_sys_largefile_source" != no
; then
22489 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22493 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22494 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22495 if test "${ac_cv_c_bigendian+set}" = set; then
22496 echo $ECHO_N "(cached) $ECHO_C" >&6
22498 ac_cv_c_bigendian
=unknown
22499 # See if sys/param.h defines the BYTE_ORDER macro.
22500 cat >conftest.
$ac_ext <<_ACEOF
22503 cat confdefs.h
>>conftest.
$ac_ext
22504 cat >>conftest.
$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22506 #include <sys/types.h>
22507 #include <sys/param.h>
22512 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22513 bogus endian macros
22519 rm -f conftest.
$ac_objext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22521 (eval $ac_compile) 2>conftest.er1
22523 grep -v '^ *+' conftest.er1
>conftest.err
22525 cat conftest.err
>&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); } &&
22528 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; } &&
22534 { ac_try
='test -s conftest.$ac_objext'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; }; then
22540 # It does; now see whether it defined to BIG_ENDIAN or not.
22541 cat >conftest.
$ac_ext <<_ACEOF
22544 cat confdefs.h
>>conftest.
$ac_ext
22545 cat >>conftest.
$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 #include <sys/types.h>
22548 #include <sys/param.h>
22553 #if BYTE_ORDER != BIG_ENDIAN
22560 rm -f conftest.
$ac_objext
22561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22562 (eval $ac_compile) 2>conftest.er1
22564 grep -v '^ *+' conftest.er1
>conftest.err
22566 cat conftest.err
>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
22581 ac_cv_c_bigendian
=yes
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.
$ac_ext >&5
22586 ac_cv_c_bigendian
=no
22588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.
$ac_ext >&5
22594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22595 if test $ac_cv_c_bigendian = unknown
; then
22596 if test "$cross_compiling" = yes; then
22597 ac_cv_c_bigendian
=unknown
22599 cat >conftest.
$ac_ext <<_ACEOF
22602 cat confdefs.h
>>conftest.
$ac_ext
22603 cat >>conftest.
$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22606 /* Are we little or big endian? From Harbison&Steele. */
22610 char c[sizeof (long)];
22613 exit (u.c[sizeof (long) - 1] == 1);
22616 rm -f conftest
$ac_exeext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22618 (eval $ac_link) 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22623 (eval $ac_try) 2>&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); }; }; then
22627 ac_cv_c_bigendian
=no
22629 echo "$as_me: program exited with status $ac_status" >&5
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22633 ( exit $ac_status )
22634 ac_cv_c_bigendian
=yes
22636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22640 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22641 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22642 if test $ac_cv_c_bigendian = unknown
; then
22643 { 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
22644 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;}
22646 if test $ac_cv_c_bigendian = yes; then
22647 cat >>confdefs.h
<<\_ACEOF
22648 #define WORDS_BIGENDIAN 1
22658 ac_cpp
='$CXXCPP $CPPFLAGS'
22659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22665 for ac_header
in iostream
22667 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22669 echo "$as_me:$LINENO: checking for $ac_header" >&5
22670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22677 # Is the header compilable?
22678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22680 cat >conftest.
$ac_ext <<_ACEOF
22683 cat confdefs.h
>>conftest.
$ac_ext
22684 cat >>conftest.
$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 $ac_includes_default
22687 #include <$ac_header>
22689 rm -f conftest.
$ac_objext
22690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22691 (eval $ac_compile) 2>conftest.er1
22693 grep -v '^ *+' conftest.er1
>conftest.err
22695 cat conftest.err
>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } &&
22698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22700 (eval $ac_try) 2>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; } &&
22704 { ac_try
='test -s conftest.$ac_objext'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; }; then
22710 ac_header_compiler
=yes
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.
$ac_ext >&5
22715 ac_header_compiler
=no
22717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22719 echo "${ECHO_T}$ac_header_compiler" >&6
22721 # Is the header present?
22722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22724 cat >conftest.
$ac_ext <<_ACEOF
22727 cat confdefs.h
>>conftest.
$ac_ext
22728 cat >>conftest.
$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 #include <$ac_header>
22732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22735 grep -v '^ *+' conftest.er1
>conftest.err
22737 cat conftest.err
>&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); } >/dev
/null
; then
22740 if test -s conftest.err
; then
22741 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22742 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22749 if test -z "$ac_cpp_err"; then
22750 ac_header_preproc
=yes
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.
$ac_ext >&5
22755 ac_header_preproc
=no
22757 rm -f conftest.err conftest.
$ac_ext
22758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22759 echo "${ECHO_T}$ac_header_preproc" >&6
22761 # So? What about this header?
22762 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22768 ac_header_preproc
=yes
22771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22785 ## ----------------------------------------- ##
22786 ## Report this to wx-dev@lists.wxwidgets.org ##
22787 ## ----------------------------------------- ##
22790 sed "s/^/$as_me: WARNING: /" >&2
22793 echo "$as_me:$LINENO: checking for $ac_header" >&5
22794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22796 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 eval "$as_ac_Header=\$ac_header_preproc"
22800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22805 cat >>confdefs.h
<<_ACEOF
22806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22814 if test "$ac_cv_header_iostream" = "yes" ; then
22817 cat >>confdefs.h
<<\_ACEOF
22818 #define wxUSE_IOSTREAMH 1
22824 ac_cpp
='$CXXCPP $CPPFLAGS'
22825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22832 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22833 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22834 if test "${wx_cv_cpp_bool+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22841 ac_cpp
='$CXXCPP $CPPFLAGS'
22842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22847 cat >conftest.
$ac_ext <<_ACEOF
22850 cat confdefs.h
>>conftest.
$ac_ext
22851 cat >>conftest.
$ac_ext <<_ACEOF
22852 /* end confdefs.h. */
22867 rm -f conftest.
$ac_objext
22868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22869 (eval $ac_compile) 2>conftest.er1
22871 grep -v '^ *+' conftest.er1
>conftest.err
22873 cat conftest.err
>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; } &&
22882 { ac_try
='test -s conftest.$ac_objext'
22883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22884 (eval $ac_try) 2>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; }; then
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.
$ac_ext >&5
22900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22903 ac_cpp
='$CXXCPP $CPPFLAGS'
22904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22910 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22911 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22913 if test "$wx_cv_cpp_bool" = "yes"; then
22914 cat >>confdefs.h
<<\_ACEOF
22915 #define HAVE_BOOL 1
22922 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22923 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22924 if test "${wx_cv_explicit+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 ac_cpp
='$CXXCPP $CPPFLAGS'
22932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22937 cat >conftest.
$ac_ext <<_ACEOF
22940 cat confdefs.h
>>conftest.
$ac_ext
22941 cat >>conftest.
$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22944 class Foo { public: explicit Foo(int) {} };
22956 rm -f conftest.
$ac_objext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22958 (eval $ac_compile) 2>conftest.er1
22960 grep -v '^ *+' conftest.er1
>conftest.err
22962 cat conftest.err
>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22978 cat >conftest.
$ac_ext <<_ACEOF
22981 cat confdefs.h
>>conftest.
$ac_ext
22982 cat >>conftest.
$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22985 class Foo { public: explicit Foo(int) {} };
22986 static void TakeFoo(const Foo& foo) { }
22999 rm -f conftest.
$ac_objext
23000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23001 (eval $ac_compile) 2>conftest.er1
23003 grep -v '^ *+' conftest.er1
>conftest.err
23005 cat conftest.err
>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } &&
23008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010 (eval $ac_try) 2>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); }; } &&
23014 { ac_try
='test -s conftest.$ac_objext'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; }; then
23022 echo "$as_me: failed program was:" >&5
23023 sed 's/^/| /' conftest.
$ac_ext >&5
23028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.
$ac_ext >&5
23037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23040 ac_cpp
='$CXXCPP $CPPFLAGS'
23041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23047 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23048 echo "${ECHO_T}$wx_cv_explicit" >&6
23050 if test "$wx_cv_explicit" = "yes"; then
23051 cat >>confdefs.h
<<\_ACEOF
23052 #define HAVE_EXPLICIT 1
23058 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23059 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23060 if test "${ac_cv_cxx_const_cast+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23066 ac_cpp
='$CXXCPP $CPPFLAGS'
23067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23071 cat >conftest.
$ac_ext <<_ACEOF
23074 cat confdefs.h
>>conftest.
$ac_ext
23075 cat >>conftest.
$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23081 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23086 rm -f conftest.
$ac_objext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23088 (eval $ac_compile) 2>conftest.er1
23090 grep -v '^ *+' conftest.er1
>conftest.err
23092 cat conftest.err
>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; } &&
23101 { ac_try
='test -s conftest.$ac_objext'
23102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103 (eval $ac_try) 2>&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); }; }; then
23107 ac_cv_cxx_const_cast
=yes
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.
$ac_ext >&5
23112 ac_cv_cxx_const_cast
=no
23114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23116 ac_cpp
='$CXXCPP $CPPFLAGS'
23117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23123 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23124 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23125 if test "$ac_cv_cxx_const_cast" = yes; then
23127 cat >>confdefs.h
<<\_ACEOF
23128 #define HAVE_CONST_CAST
23133 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23134 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23135 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23136 echo $ECHO_N "(cached) $ECHO_C" >&6
23141 ac_cpp
='$CXXCPP $CPPFLAGS'
23142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23146 cat >conftest.
$ac_ext <<_ACEOF
23149 cat confdefs.h
>>conftest.
$ac_ext
23150 cat >>conftest.
$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #include <typeinfo>
23153 class Base { public : Base () {} virtual void f () = 0;};
23154 class Derived : public Base { public : Derived () {} virtual void f () {} };
23155 class Unrelated { public : Unrelated () {} };
23156 int g (Unrelated&) { return 0; }
23161 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23166 rm -f conftest.
$ac_objext
23167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23168 (eval $ac_compile) 2>conftest.er1
23170 grep -v '^ *+' conftest.er1
>conftest.err
23172 cat conftest.err
>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } &&
23175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; } &&
23181 { ac_try
='test -s conftest.$ac_objext'
23182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23183 (eval $ac_try) 2>&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); }; }; then
23187 ac_cv_cxx_reinterpret_cast
=yes
23189 echo "$as_me: failed program was:" >&5
23190 sed 's/^/| /' conftest.
$ac_ext >&5
23192 ac_cv_cxx_reinterpret_cast
=no
23194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23196 ac_cpp
='$CXXCPP $CPPFLAGS'
23197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23203 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23204 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23205 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23207 cat >>confdefs.h
<<\_ACEOF
23208 #define HAVE_REINTERPRET_CAST
23213 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23214 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23215 if test "${ac_cv_cxx_static_cast+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 ac_cpp
='$CXXCPP $CPPFLAGS'
23222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23226 cat >conftest.
$ac_ext <<_ACEOF
23229 cat confdefs.h
>>conftest.
$ac_ext
23230 cat >>conftest.
$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 #include <typeinfo>
23233 class Base { public : Base () {} virtual void f () = 0; };
23234 class Derived : public Base { public : Derived () {} virtual void f () {} };
23235 int g (Derived&) { return 0; }
23240 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23245 rm -f conftest.
$ac_objext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23247 (eval $ac_compile) 2>conftest.er1
23249 grep -v '^ *+' conftest.er1
>conftest.err
23251 cat conftest.err
>&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } &&
23254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; } &&
23260 { ac_try
='test -s conftest.$ac_objext'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 ac_cv_cxx_static_cast
=yes
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.
$ac_ext >&5
23271 ac_cv_cxx_static_cast
=no
23273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23275 ac_cpp
='$CXXCPP $CPPFLAGS'
23276 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23282 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23283 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23284 if test "$ac_cv_cxx_static_cast" = yes; then
23286 cat >>confdefs.h
<<\_ACEOF
23287 #define HAVE_STATIC_CAST
23293 if test "x$SUNCXX" = xyes
; then
23294 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23297 if test "x$SUNCC" = xyes
; then
23298 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23301 if test "x$SGICC" = "xyes"; then
23302 CFLAGS
="-woff 3970 $CFLAGS"
23304 if test "x$SGICXX" = "xyes"; then
23305 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23308 if test "x$HPCC" = "xyes"; then
23309 CFLAGS
="+W 2011,2450 $CFLAGS"
23311 if test "x$HPCXX" = "xyes"; then
23312 CXXFLAGS
="+W 2340 $CXXFLAGS"
23315 if test "x$COMPAQCXX" = "xyes"; then
23316 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23319 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23320 if test "$wxUSE_UNICODE" = "yes"; then
23321 std_string
="std::wstring"
23322 char_type
="wchar_t"
23324 std_string
="std::string"
23328 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23329 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23330 cat >conftest.
$ac_ext <<_ACEOF
23333 cat confdefs.h
>>conftest.
$ac_ext
23334 cat >>conftest.
$ac_ext <<_ACEOF
23335 /* end confdefs.h. */
23345 rm -f conftest.
$ac_objext
23346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23347 (eval $ac_compile) 2>conftest.er1
23349 grep -v '^ *+' conftest.er1
>conftest.err
23351 cat conftest.err
>&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } &&
23354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; } &&
23360 { ac_try
='test -s conftest.$ac_objext'
23361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362 (eval $ac_try) 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; }; then
23366 echo "$as_me:$LINENO: result: yes" >&5
23367 echo "${ECHO_T}yes" >&6
23368 cat >>confdefs.h
<<\_ACEOF
23369 #define HAVE_STD_WSTRING 1
23373 echo "$as_me: failed program was:" >&5
23374 sed 's/^/| /' conftest.
$ac_ext >&5
23376 echo "$as_me:$LINENO: result: no" >&5
23377 echo "${ECHO_T}no" >&6
23378 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23379 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23380 cat >conftest.
$ac_ext <<_ACEOF
23383 cat confdefs.h
>>conftest.
$ac_ext
23384 cat >>conftest.
$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23387 #ifdef HAVE_WCHAR_H
23389 # include <stddef.h>
23391 # include <wchar.h>
23393 #ifdef HAVE_STDLIB_H
23394 # include <stdlib.h>
23402 std::basic_string<$char_type> foo;
23403 const $char_type* dummy = foo.c_str();
23408 rm -f conftest.
$ac_objext
23409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23410 (eval $ac_compile) 2>conftest.er1
23412 grep -v '^ *+' conftest.er1
>conftest.err
23414 cat conftest.err
>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; } &&
23423 { ac_try
='test -s conftest.$ac_objext'
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; }; then
23429 echo "$as_me:$LINENO: result: yes" >&5
23430 echo "${ECHO_T}yes" >&6
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.
$ac_ext >&5
23435 echo "$as_me:$LINENO: result: no" >&5
23436 echo "${ECHO_T}no" >&6
23437 if test "$wxUSE_STL" = "yes"; then
23438 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23439 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23440 { (exit 1); exit 1; }; }
23441 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23442 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23443 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23444 { (exit 1); exit 1; }; }
23446 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23447 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23448 wxUSE_STD_STRING
=no
23453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23459 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23460 echo "$as_me:$LINENO: checking for std::istream" >&5
23461 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23462 if test "${ac_cv_type_std__istream+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 cat >conftest.
$ac_ext <<_ACEOF
23468 cat confdefs.h
>>conftest.
$ac_ext
23469 cat >>conftest.
$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23471 #include <iostream>
23476 if ((std::istream *) 0)
23478 if (sizeof (std::istream))
23484 rm -f conftest.
$ac_objext
23485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23486 (eval $ac_compile) 2>conftest.er1
23488 grep -v '^ *+' conftest.er1
>conftest.err
23490 cat conftest.err
>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; } &&
23499 { ac_try
='test -s conftest.$ac_objext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_type_std__istream
=yes
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.
$ac_ext >&5
23510 ac_cv_type_std__istream
=no
23512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23514 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23515 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23516 if test $ac_cv_type_std__istream = yes; then
23518 cat >>confdefs.h
<<_ACEOF
23519 #define HAVE_STD__ISTREAM 1
23524 wxUSE_STD_IOSTREAM
=no
23526 echo "$as_me:$LINENO: checking for std::ostream" >&5
23527 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23528 if test "${ac_cv_type_std__ostream+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 cat >conftest.
$ac_ext <<_ACEOF
23534 cat confdefs.h
>>conftest.
$ac_ext
23535 cat >>conftest.
$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 #include <iostream>
23542 if ((std::ostream *) 0)
23544 if (sizeof (std::ostream))
23550 rm -f conftest.
$ac_objext
23551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23552 (eval $ac_compile) 2>conftest.er1
23554 grep -v '^ *+' conftest.er1
>conftest.err
23556 cat conftest.err
>&5
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); } &&
23559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; } &&
23565 { ac_try
='test -s conftest.$ac_objext'
23566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23567 (eval $ac_try) 2>&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); }; }; then
23571 ac_cv_type_std__ostream
=yes
23573 echo "$as_me: failed program was:" >&5
23574 sed 's/^/| /' conftest.
$ac_ext >&5
23576 ac_cv_type_std__ostream
=no
23578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23580 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23581 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23582 if test $ac_cv_type_std__ostream = yes; then
23584 cat >>confdefs.h
<<_ACEOF
23585 #define HAVE_STD__OSTREAM 1
23590 wxUSE_STD_IOSTREAM
=no
23594 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23595 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23596 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23597 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23598 { (exit 1); exit 1; }; }
23600 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23601 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23606 if test "$wxUSE_STL" = "yes"; then
23607 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23608 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23609 cat >conftest.
$ac_ext <<_ACEOF
23612 cat confdefs.h
>>conftest.
$ac_ext
23613 cat >>conftest.
$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23616 #include <functional>
23617 #include <algorithm>
23623 std::vector<int> moo;
23624 std::list<int> foo;
23625 std::vector<int>::iterator it =
23626 std::find_if(moo.begin(), moo.end(),
23627 std::bind2nd(std::less<int>(), 3));
23632 rm -f conftest.
$ac_objext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23634 (eval $ac_compile) 2>conftest.er1
23636 grep -v '^ *+' conftest.er1
>conftest.err
23638 cat conftest.err
>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try
='test -s conftest.$ac_objext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 echo "$as_me:$LINENO: result: yes" >&5
23654 echo "${ECHO_T}yes" >&6
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.
$ac_ext >&5
23659 echo "$as_me:$LINENO: result: no" >&5
23660 echo "${ECHO_T}no" >&6
23661 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23662 echo "$as_me: error: Basic STL functionality missing" >&2;}
23663 { (exit 1); exit 1; }; }
23665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23667 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23668 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23669 cat >conftest.
$ac_ext <<_ACEOF
23672 cat confdefs.h
>>conftest.
$ac_ext
23673 cat >>conftest.
$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23679 std::string foo, bar;
23681 foo.compare(1, 1, bar);
23682 foo.compare(1, 1, bar, 1, 1);
23684 foo.compare(1, 1, "");
23685 foo.compare(1, 1, "", 2);
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" || test ! -s conftest.err'
23700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23701 (eval $ac_try) 2>&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); }; } &&
23705 { ac_try
='test -s conftest.$ac_objext'
23706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23707 (eval $ac_try) 2>&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); }; }; then
23711 echo "$as_me:$LINENO: result: yes" >&5
23712 echo "${ECHO_T}yes" >&6
23713 cat >>confdefs.h
<<\_ACEOF
23714 #define HAVE_STD_STRING_COMPARE 1
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.
$ac_ext >&5
23721 echo "$as_me:$LINENO: result: no" >&5
23722 echo "${ECHO_T}no" >&6
23724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23726 if test "${ac_cv_header_hash_map+set}" = set; then
23727 echo "$as_me:$LINENO: checking for hash_map" >&5
23728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23729 if test "${ac_cv_header_hash_map+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23733 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23735 # Is the header compilable?
23736 echo "$as_me:$LINENO: checking hash_map usability" >&5
23737 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23738 cat >conftest.
$ac_ext <<_ACEOF
23741 cat confdefs.h
>>conftest.
$ac_ext
23742 cat >>conftest.
$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23744 $ac_includes_default
23745 #include <hash_map>
23747 rm -f conftest.
$ac_objext
23748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23749 (eval $ac_compile) 2>conftest.er1
23751 grep -v '^ *+' conftest.er1
>conftest.err
23753 cat conftest.err
>&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23758 (eval $ac_try) 2>&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; } &&
23762 { ac_try
='test -s conftest.$ac_objext'
23763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23764 (eval $ac_try) 2>&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); }; }; then
23768 ac_header_compiler
=yes
23770 echo "$as_me: failed program was:" >&5
23771 sed 's/^/| /' conftest.
$ac_ext >&5
23773 ac_header_compiler
=no
23775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23777 echo "${ECHO_T}$ac_header_compiler" >&6
23779 # Is the header present?
23780 echo "$as_me:$LINENO: checking hash_map presence" >&5
23781 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23782 cat >conftest.
$ac_ext <<_ACEOF
23785 cat confdefs.h
>>conftest.
$ac_ext
23786 cat >>conftest.
$ac_ext <<_ACEOF
23787 /* end confdefs.h. */
23788 #include <hash_map>
23790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23793 grep -v '^ *+' conftest.er1
>conftest.err
23795 cat conftest.err
>&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } >/dev
/null
; then
23798 if test -s conftest.err
; then
23799 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23800 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23807 if test -z "$ac_cpp_err"; then
23808 ac_header_preproc
=yes
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.
$ac_ext >&5
23813 ac_header_preproc
=no
23815 rm -f conftest.err conftest.
$ac_ext
23816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23817 echo "${ECHO_T}$ac_header_preproc" >&6
23819 # So? What about this header?
23820 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23822 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23823 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23824 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23825 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23826 ac_header_preproc
=yes
23829 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23830 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23832 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23833 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23834 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23835 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23836 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23837 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23838 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23839 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23840 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23843 ## ----------------------------------------- ##
23844 ## Report this to wx-dev@lists.wxwidgets.org ##
23845 ## ----------------------------------------- ##
23848 sed "s/^/$as_me: WARNING: /" >&2
23851 echo "$as_me:$LINENO: checking for hash_map" >&5
23852 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23853 if test "${ac_cv_header_hash_map+set}" = set; then
23854 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 ac_cv_header_hash_map
=$ac_header_preproc
23858 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23859 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23862 if test $ac_cv_header_hash_map = yes; then
23863 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23864 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23865 cat >conftest.
$ac_ext <<_ACEOF
23868 cat confdefs.h
>>conftest.
$ac_ext
23869 cat >>conftest.
$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23871 #include <hash_map>
23872 #include <hash_set>
23876 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23877 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23882 rm -f conftest.
$ac_objext
23883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23884 (eval $ac_compile) 2>conftest.er1
23886 grep -v '^ *+' conftest.er1
>conftest.err
23888 cat conftest.err
>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } &&
23891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; } &&
23897 { ac_try
='test -s conftest.$ac_objext'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; }; then
23903 echo "$as_me:$LINENO: result: yes" >&5
23904 echo "${ECHO_T}yes" >&6
23905 cat >>confdefs.h
<<\_ACEOF
23906 #define HAVE_HASH_MAP 1
23909 cat >>confdefs.h
<<\_ACEOF
23910 #define HAVE_STD_HASH_MAP 1
23914 echo "$as_me: failed program was:" >&5
23915 sed 's/^/| /' conftest.
$ac_ext >&5
23917 echo "$as_me:$LINENO: result: no" >&5
23918 echo "${ECHO_T}no" >&6
23920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23926 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23927 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23928 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23929 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23933 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23935 # Is the header compilable?
23936 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23937 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23938 cat >conftest.
$ac_ext <<_ACEOF
23941 cat confdefs.h
>>conftest.
$ac_ext
23942 cat >>conftest.
$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 #include <ext/hash_map>
23947 rm -f conftest.
$ac_objext
23948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23949 (eval $ac_compile) 2>conftest.er1
23951 grep -v '^ *+' conftest.er1
>conftest.err
23953 cat conftest.err
>&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); } &&
23956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; } &&
23962 { ac_try
='test -s conftest.$ac_objext'
23963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964 (eval $ac_try) 2>&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); }; }; then
23968 ac_header_compiler
=yes
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.
$ac_ext >&5
23973 ac_header_compiler
=no
23975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23977 echo "${ECHO_T}$ac_header_compiler" >&6
23979 # Is the header present?
23980 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23981 echo $ECHO_N "checking ext/hash_map presence... $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 <ext/hash_map>
23990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23993 grep -v '^ *+' conftest.er1
>conftest.err
23995 cat conftest.err
>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } >/dev
/null
; then
23998 if test -s conftest.err
; then
23999 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24000 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24007 if test -z "$ac_cpp_err"; then
24008 ac_header_preproc
=yes
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.
$ac_ext >&5
24013 ac_header_preproc
=no
24015 rm -f conftest.err conftest.
$ac_ext
24016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24017 echo "${ECHO_T}$ac_header_preproc" >&6
24019 # So? What about this header?
24020 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24022 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24023 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24024 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24025 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24026 ac_header_preproc
=yes
24029 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24030 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24031 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24032 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24033 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24034 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24035 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24036 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24037 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24038 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24039 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24040 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24043 ## ----------------------------------------- ##
24044 ## Report this to wx-dev@lists.wxwidgets.org ##
24045 ## ----------------------------------------- ##
24048 sed "s/^/$as_me: WARNING: /" >&2
24051 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24052 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24053 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24054 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 ac_cv_header_ext_hash_map
=$ac_header_preproc
24058 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24059 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24062 if test $ac_cv_header_ext_hash_map = yes; then
24063 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24064 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24065 cat >conftest.
$ac_ext <<_ACEOF
24068 cat confdefs.h
>>conftest.
$ac_ext
24069 cat >>conftest.
$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24071 #include <ext/hash_map>
24072 #include <ext/hash_set>
24076 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24077 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24082 rm -f conftest.
$ac_objext
24083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24084 (eval $ac_compile) 2>conftest.er1
24086 grep -v '^ *+' conftest.er1
>conftest.err
24088 cat conftest.err
>&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; } &&
24097 { ac_try
='test -s conftest.$ac_objext'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; }; then
24103 echo "$as_me:$LINENO: result: yes" >&5
24104 echo "${ECHO_T}yes" >&6
24105 cat >>confdefs.h
<<\_ACEOF
24106 #define HAVE_EXT_HASH_MAP 1
24109 cat >>confdefs.h
<<\_ACEOF
24110 #define HAVE_GNU_CXX_HASH_MAP 1
24114 echo "$as_me: failed program was:" >&5
24115 sed 's/^/| /' conftest.
$ac_ext >&5
24117 echo "$as_me:$LINENO: result: no" >&5
24118 echo "${ECHO_T}no" >&6
24120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24129 /usr/local/include \
24131 /usr/Motif-2.1/include \
24132 /usr/Motif-1.2/include \
24133 /usr/include/Motif1.2 \
24136 /usr/openwin/include \
24140 /usr/X11R6/include \
24141 /usr/X11R6.4/include \
24142 /usr/X11R5/include \
24143 /usr/X11R4/include \
24145 /usr/include/X11R6 \
24146 /usr/include/X11R5 \
24147 /usr/include/X11R4 \
24149 /usr/local/X11R6/include \
24150 /usr/local/X11R5/include \
24151 /usr/local/X11R4/include \
24153 /usr/local/include/X11R6 \
24154 /usr/local/include/X11R5 \
24155 /usr/local/include/X11R4 \
24159 /usr/local/X11/include \
24160 /usr/local/include/X11 \
24162 /usr/XFree86/include/X11 \
24165 /usr/openwin/share/include"
24167 echo "$as_me:$LINENO: checking for libraries directory" >&5
24168 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24172 if test "${wx_cv_std_libpath+set}" = set; then
24173 echo $ECHO_N "(cached) $ECHO_C" >&6
24176 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24177 for e
in a so sl dylib dll.a
; do
24179 if test -f $libc; then
24182 cat >conftest.
$ac_ext <<_ACEOF
24183 int main() { return 0; }
24185 rm -f conftest.
$ac_objext conftest
$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>conftest.er1
24189 grep -v '^ *+' conftest.er1
>conftest.err
24191 cat conftest.err
>&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; } &&
24200 { ac_try
='test -s conftest$ac_exeext'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; }; then
24206 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24208 echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.
$ac_ext >&5
24212 rm -f conftest.err conftest.
$ac_objext \
24213 conftest
$ac_exeext conftest.
$ac_ext
24215 if test "x$wx_cv_std_libpath" != "x"; then
24221 if test "x$wx_cv_std_libpath" = "x"; then
24222 wx_cv_std_libpath
="lib"
24231 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24232 wx_cv_std_libpath
="lib/64"
24234 wx_cv_std_libpath
="lib"
24239 if test "$ac_cv_sizeof_void_p" = 8 -a \
24240 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24241 wx_cv_std_libpath
="lib64"
24243 wx_cv_std_libpath
="lib"
24248 wx_cv_std_libpath
="lib";
24252 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24253 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24255 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24257 if test "$build" != "$host" -a "$GCC" = yes; then
24258 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24259 cross_root
=`dirname $cross_root`
24260 cross_root
=`dirname $cross_root`
24262 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24263 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24264 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24266 if test -z "$PKG_CONFIG_PATH"; then
24267 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24268 export PKG_CONFIG_PATH
24271 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24274 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24276 if test -f "$ac_dir/X11/Intrinsic.h"; then
24277 ac_find_includes
=$ac_dir
24282 x_includes
=$ac_find_includes
24284 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24287 for ac_dir
in $SEARCH_LIB;
24289 for ac_extension
in a so sl dylib dll.a
; do
24290 if test -f "$ac_dir/libXt.$ac_extension"; then
24291 ac_find_libraries
=$ac_dir
24297 x_libraries
=$ac_find_libraries
24303 cat >confcache
<<\_ACEOF
24304 # This file is a shell script that caches the results of configure
24305 # tests run on this system so they can be shared between configure
24306 # scripts and configure runs, see configure's option --config-cache.
24307 # It is not useful on other systems. If it contains results you don't
24308 # want to keep, you may remove or edit it.
24310 # config.status only pays attention to the cache file if you give it
24311 # the --recheck option to rerun configure.
24313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24315 # following values.
24319 # The following way of writing the cache mishandles newlines in values,
24320 # but we know of no workaround that is simple, portable, and efficient.
24321 # So, don't put newlines in cache variables' values.
24322 # Ultrix sh set writes to stderr and can't be redirected directly,
24323 # and sets the high bit in the cache file unless we assign to the vars.
24326 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24328 # `set' does not quote correctly, so add quotes (double-quote
24329 # substitution turns \\\\ into \\, and sed turns \\ into \).
24332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24335 # `set' quotes correctly as required by POSIX, so do not add quotes.
24337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24344 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24346 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24348 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24349 if test -w $cache_file; then
24350 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24351 cat confcache
>$cache_file
24353 echo "not updating unwritable cache $cache_file"
24358 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24359 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24360 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24361 if test "${wx_cv_lib_glibc21+set}" = set; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 cat >conftest.
$ac_ext <<_ACEOF
24368 cat confdefs.h
>>conftest.
$ac_ext
24369 cat >>conftest.
$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 #include <features.h>
24376 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24384 rm -f conftest.
$ac_objext
24385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24386 (eval $ac_compile) 2>conftest.er1
24388 grep -v '^ *+' conftest.er1
>conftest.err
24390 cat conftest.err
>&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } &&
24393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24395 (eval $ac_try) 2>&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); }; } &&
24399 { ac_try
='test -s conftest.$ac_objext'
24400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24401 (eval $ac_try) 2>&5
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); }; }; then
24406 wx_cv_lib_glibc21
=yes
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.
$ac_ext >&5
24413 wx_cv_lib_glibc21
=no
24417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24420 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24421 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24422 if test "$wx_cv_lib_glibc21" = "yes"; then
24423 cat >>confdefs.h
<<\_ACEOF
24424 #define wxHAVE_GLIBC2 1
24430 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24431 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24432 cat >>confdefs.h
<<\_ACEOF
24433 #define _GNU_SOURCE 1
24444 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24445 echo "$as_me:$LINENO: checking for $ac_func" >&5
24446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24447 if eval "test \"\${$as_ac_var+set}\" = set"; then
24448 echo $ECHO_N "(cached) $ECHO_C" >&6
24450 cat >conftest.
$ac_ext <<_ACEOF
24453 cat confdefs.h
>>conftest.
$ac_ext
24454 cat >>conftest.
$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24458 #define $ac_func innocuous_$ac_func
24460 /* System header to define __stub macros and hopefully few prototypes,
24461 which can conflict with char $ac_func (); below.
24462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24463 <limits.h> exists even on freestanding compilers. */
24466 # include <limits.h>
24468 # include <assert.h>
24473 /* Override any gcc2 internal prototype to avoid an error. */
24478 /* We use char because int might match the return type of a gcc2
24479 builtin and then its argument prototype would still apply. */
24481 /* The GNU C library defines this for functions which it implements
24482 to always fail with ENOSYS. Some functions are actually named
24483 something starting with __ and the normal name is an alias. */
24484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24487 char (*f) () = $ac_func;
24496 return f != $ac_func;
24501 rm -f conftest.
$ac_objext conftest
$ac_exeext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24503 (eval $ac_link) 2>conftest.er1
24505 grep -v '^ *+' conftest.er1
>conftest.err
24507 cat conftest.err
>&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } &&
24510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24512 (eval $ac_try) 2>&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); }; } &&
24516 { ac_try
='test -s conftest$ac_exeext'
24517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518 (eval $ac_try) 2>&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; }; then
24522 eval "$as_ac_var=yes"
24524 echo "$as_me: failed program was:" >&5
24525 sed 's/^/| /' conftest.
$ac_ext >&5
24527 eval "$as_ac_var=no"
24529 rm -f conftest.err conftest.
$ac_objext \
24530 conftest
$ac_exeext conftest.
$ac_ext
24532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24534 if test `eval echo '${'$as_ac_var'}'` = yes; then
24535 cat >>confdefs.h
<<_ACEOF
24536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24543 for ac_func
in floor
24545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24546 echo "$as_me:$LINENO: checking for $ac_func" >&5
24547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24548 if eval "test \"\${$as_ac_var+set}\" = set"; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 cat >conftest.
$ac_ext <<_ACEOF
24554 cat confdefs.h
>>conftest.
$ac_ext
24555 cat >>conftest.
$ac_ext <<_ACEOF
24556 /* end confdefs.h. */
24557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24559 #define $ac_func innocuous_$ac_func
24561 /* System header to define __stub macros and hopefully few prototypes,
24562 which can conflict with char $ac_func (); below.
24563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24564 <limits.h> exists even on freestanding compilers. */
24567 # include <limits.h>
24569 # include <assert.h>
24574 /* Override any gcc2 internal prototype to avoid an error. */
24579 /* We use char because int might match the return type of a gcc2
24580 builtin and then its argument prototype would still apply. */
24582 /* The GNU C library defines this for functions which it implements
24583 to always fail with ENOSYS. Some functions are actually named
24584 something starting with __ and the normal name is an alias. */
24585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24588 char (*f) () = $ac_func;
24597 return f != $ac_func;
24602 rm -f conftest.
$ac_objext conftest
$ac_exeext
24603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24604 (eval $ac_link) 2>conftest.er1
24606 grep -v '^ *+' conftest.er1
>conftest.err
24608 cat conftest.err
>&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } &&
24611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613 (eval $ac_try) 2>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; } &&
24617 { ac_try
='test -s conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 eval "$as_ac_var=yes"
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.
$ac_ext >&5
24628 eval "$as_ac_var=no"
24630 rm -f conftest.err conftest.
$ac_objext \
24631 conftest
$ac_exeext conftest.
$ac_ext
24633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24635 if test `eval echo '${'$as_ac_var'}'` = yes; then
24636 cat >>confdefs.h
<<_ACEOF
24637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24643 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24644 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24645 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24646 echo "$as_me:$LINENO: result: yes" >&5
24647 echo "${ECHO_T}yes" >&6
24649 echo "$as_me:$LINENO: result: no" >&5
24650 echo "${ECHO_T}no" >&6
24652 # use different functions to avoid configure caching
24658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24659 echo "$as_me:$LINENO: checking for $ac_func" >&5
24660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24661 if eval "test \"\${$as_ac_var+set}\" = set"; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 cat >conftest.
$ac_ext <<_ACEOF
24667 cat confdefs.h
>>conftest.
$ac_ext
24668 cat >>conftest.
$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24672 #define $ac_func innocuous_$ac_func
24674 /* System header to define __stub macros and hopefully few prototypes,
24675 which can conflict with char $ac_func (); below.
24676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24677 <limits.h> exists even on freestanding compilers. */
24680 # include <limits.h>
24682 # include <assert.h>
24687 /* Override any gcc2 internal prototype to avoid an error. */
24692 /* We use char because int might match the return type of a gcc2
24693 builtin and then its argument prototype would still apply. */
24695 /* The GNU C library defines this for functions which it implements
24696 to always fail with ENOSYS. Some functions are actually named
24697 something starting with __ and the normal name is an alias. */
24698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24701 char (*f) () = $ac_func;
24710 return f != $ac_func;
24715 rm -f conftest.
$ac_objext conftest
$ac_exeext
24716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24717 (eval $ac_link) 2>conftest.er1
24719 grep -v '^ *+' conftest.er1
>conftest.err
24721 cat conftest.err
>&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } &&
24724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; } &&
24730 { ac_try
='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 eval "$as_ac_var=yes"
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.
$ac_ext >&5
24741 eval "$as_ac_var=no"
24743 rm -f conftest.err conftest.
$ac_objext \
24744 conftest
$ac_exeext conftest.
$ac_ext
24746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24748 if test `eval echo '${'$as_ac_var'}'` = yes; then
24749 cat >>confdefs.h
<<_ACEOF
24750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24757 for ac_func
in ceil
24759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24760 echo "$as_me:$LINENO: checking for $ac_func" >&5
24761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24762 if eval "test \"\${$as_ac_var+set}\" = set"; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24765 cat >conftest.
$ac_ext <<_ACEOF
24768 cat confdefs.h
>>conftest.
$ac_ext
24769 cat >>conftest.
$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24773 #define $ac_func innocuous_$ac_func
24775 /* System header to define __stub macros and hopefully few prototypes,
24776 which can conflict with char $ac_func (); below.
24777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24778 <limits.h> exists even on freestanding compilers. */
24781 # include <limits.h>
24783 # include <assert.h>
24788 /* Override any gcc2 internal prototype to avoid an error. */
24793 /* We use char because int might match the return type of a gcc2
24794 builtin and then its argument prototype would still apply. */
24796 /* The GNU C library defines this for functions which it implements
24797 to always fail with ENOSYS. Some functions are actually named
24798 something starting with __ and the normal name is an alias. */
24799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24802 char (*f) () = $ac_func;
24811 return f != $ac_func;
24816 rm -f conftest.
$ac_objext conftest
$ac_exeext
24817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24818 (eval $ac_link) 2>conftest.er1
24820 grep -v '^ *+' conftest.er1
>conftest.err
24822 cat conftest.err
>&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } &&
24825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24827 (eval $ac_try) 2>&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); }; } &&
24831 { ac_try
='test -s conftest$ac_exeext'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; }; then
24837 eval "$as_ac_var=yes"
24839 echo "$as_me: failed program was:" >&5
24840 sed 's/^/| /' conftest.
$ac_ext >&5
24842 eval "$as_ac_var=no"
24844 rm -f conftest.err conftest.
$ac_objext \
24845 conftest
$ac_exeext conftest.
$ac_ext
24847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24849 if test `eval echo '${'$as_ac_var'}'` = yes; then
24850 cat >>confdefs.h
<<_ACEOF
24851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24857 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24858 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24859 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24860 echo "$as_me:$LINENO: result: yes" >&5
24861 echo "${ECHO_T}yes" >&6
24863 echo "$as_me:$LINENO: result: no" >&5
24864 echo "${ECHO_T}no" >&6
24865 # not sure we should warn the user, crash, etc.
24871 if test "$wxUSE_REGEX" != "no"; then
24872 cat >>confdefs.h
<<\_ACEOF
24873 #define wxUSE_REGEX 1
24877 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24878 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24879 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24880 wxUSE_REGEX
=builtin
24883 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24884 if test "${ac_cv_header_regex_h+set}" = set; then
24885 echo "$as_me:$LINENO: checking for regex.h" >&5
24886 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24887 if test "${ac_cv_header_regex_h+set}" = set; then
24888 echo $ECHO_N "(cached) $ECHO_C" >&6
24890 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24891 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24893 # Is the header compilable?
24894 echo "$as_me:$LINENO: checking regex.h usability" >&5
24895 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24896 cat >conftest.
$ac_ext <<_ACEOF
24899 cat confdefs.h
>>conftest.
$ac_ext
24900 cat >>conftest.
$ac_ext <<_ACEOF
24901 /* end confdefs.h. */
24902 $ac_includes_default
24905 rm -f conftest.
$ac_objext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24907 (eval $ac_compile) 2>conftest.er1
24909 grep -v '^ *+' conftest.er1
>conftest.err
24911 cat conftest.err
>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try
='test -s conftest.$ac_objext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24926 ac_header_compiler
=yes
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.
$ac_ext >&5
24931 ac_header_compiler
=no
24933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24935 echo "${ECHO_T}$ac_header_compiler" >&6
24937 # Is the header present?
24938 echo "$as_me:$LINENO: checking regex.h presence" >&5
24939 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24940 cat >conftest.
$ac_ext <<_ACEOF
24943 cat confdefs.h
>>conftest.
$ac_ext
24944 cat >>conftest.
$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24951 grep -v '^ *+' conftest.er1
>conftest.err
24953 cat conftest.err
>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } >/dev
/null
; then
24956 if test -s conftest.err
; then
24957 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24958 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24965 if test -z "$ac_cpp_err"; then
24966 ac_header_preproc
=yes
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.
$ac_ext >&5
24971 ac_header_preproc
=no
24973 rm -f conftest.err conftest.
$ac_ext
24974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24975 echo "${ECHO_T}$ac_header_preproc" >&6
24977 # So? What about this header?
24978 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24980 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24981 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24982 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24983 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24984 ac_header_preproc
=yes
24987 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24988 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24989 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24990 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24991 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24992 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24993 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24994 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24995 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24996 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24997 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24998 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25001 ## ----------------------------------------- ##
25002 ## Report this to wx-dev@lists.wxwidgets.org ##
25003 ## ----------------------------------------- ##
25006 sed "s/^/$as_me: WARNING: /" >&2
25009 echo "$as_me:$LINENO: checking for regex.h" >&5
25010 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25011 if test "${ac_cv_header_regex_h+set}" = set; then
25012 echo $ECHO_N "(cached) $ECHO_C" >&6
25014 ac_cv_header_regex_h
=$ac_header_preproc
25016 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25017 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25020 if test $ac_cv_header_regex_h = yes; then
25023 for ac_func
in regcomp re_search
25025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25026 echo "$as_me:$LINENO: checking for $ac_func" >&5
25027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25028 if eval "test \"\${$as_ac_var+set}\" = set"; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 cat >conftest.
$ac_ext <<_ACEOF
25034 cat confdefs.h
>>conftest.
$ac_ext
25035 cat >>conftest.
$ac_ext <<_ACEOF
25036 /* end confdefs.h. */
25037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25039 #define $ac_func innocuous_$ac_func
25041 /* System header to define __stub macros and hopefully few prototypes,
25042 which can conflict with char $ac_func (); below.
25043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25044 <limits.h> exists even on freestanding compilers. */
25047 # include <limits.h>
25049 # include <assert.h>
25054 /* Override any gcc2 internal prototype to avoid an error. */
25059 /* We use char because int might match the return type of a gcc2
25060 builtin and then its argument prototype would still apply. */
25062 /* The GNU C library defines this for functions which it implements
25063 to always fail with ENOSYS. Some functions are actually named
25064 something starting with __ and the normal name is an alias. */
25065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25068 char (*f) () = $ac_func;
25077 return f != $ac_func;
25082 rm -f conftest.
$ac_objext conftest
$ac_exeext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25084 (eval $ac_link) 2>conftest.er1
25086 grep -v '^ *+' conftest.er1
>conftest.err
25088 cat conftest.err
>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try
='test -s conftest$ac_exeext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 eval "$as_ac_var=yes"
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.
$ac_ext >&5
25108 eval "$as_ac_var=no"
25110 rm -f conftest.err conftest.
$ac_objext \
25111 conftest
$ac_exeext conftest.
$ac_ext
25113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25115 if test `eval echo '${'$as_ac_var'}'` = yes; then
25116 cat >>confdefs.h
<<_ACEOF
25117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25127 if test "x$ac_cv_func_regcomp" != "xyes"; then
25128 if test "$wxUSE_REGEX" = "sys" ; then
25129 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25130 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25131 { (exit 1); exit 1; }; }
25133 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25134 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25135 wxUSE_REGEX
=builtin
25139 cat >>confdefs.h
<<\_ACEOF
25140 #define WX_NO_REGEX_ADVANCED 1
25149 if test "$wxUSE_ZLIB" != "no" ; then
25150 cat >>confdefs.h
<<\_ACEOF
25151 #define wxUSE_ZLIB 1
25155 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25156 if test "$USE_DARWIN" = 1; then
25157 system_zlib_h_ok
="yes"
25159 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25160 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25161 if test "${ac_cv_header_zlib_h+set}" = set; then
25162 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 if test "$cross_compiling" = yes; then
25165 unset ac_cv_header_zlib_h
25168 cat >conftest.
$ac_ext <<_ACEOF
25171 cat confdefs.h
>>conftest.
$ac_ext
25172 cat >>conftest.
$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25180 FILE *f=fopen("conftestval", "w");
25183 ZLIB_VERSION[0] == '1' &&
25184 (ZLIB_VERSION[2] > '1' ||
25185 (ZLIB_VERSION[2] == '1' &&
25186 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25191 rm -f conftest
$ac_exeext
25192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25193 (eval $ac_link) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 ac_cv_header_zlib_h
=`cat conftestval`
25204 echo "$as_me: program exited with status $ac_status" >&5
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.
$ac_ext >&5
25208 ( exit $ac_status )
25209 ac_cv_header_zlib_h
=no
25211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25215 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25216 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25217 if test "${ac_cv_header_zlib_h+set}" = set; then
25218 echo "$as_me:$LINENO: checking for zlib.h" >&5
25219 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25220 if test "${ac_cv_header_zlib_h+set}" = set; then
25221 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25224 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25226 # Is the header compilable?
25227 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25228 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25229 cat >conftest.
$ac_ext <<_ACEOF
25232 cat confdefs.h
>>conftest.
$ac_ext
25233 cat >>conftest.
$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25235 $ac_includes_default
25238 rm -f conftest.
$ac_objext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25240 (eval $ac_compile) 2>conftest.er1
25242 grep -v '^ *+' conftest.er1
>conftest.err
25244 cat conftest.err
>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } &&
25247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249 (eval $ac_try) 2>&5
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); }; } &&
25253 { ac_try
='test -s conftest.$ac_objext'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; }; then
25259 ac_header_compiler
=yes
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.
$ac_ext >&5
25264 ac_header_compiler
=no
25266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25268 echo "${ECHO_T}$ac_header_compiler" >&6
25270 # Is the header present?
25271 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25272 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25273 cat >conftest.
$ac_ext <<_ACEOF
25276 cat confdefs.h
>>conftest.
$ac_ext
25277 cat >>conftest.
$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25284 grep -v '^ *+' conftest.er1
>conftest.err
25286 cat conftest.err
>&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); } >/dev
/null
; then
25289 if test -s conftest.err
; then
25290 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25291 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25298 if test -z "$ac_cpp_err"; then
25299 ac_header_preproc
=yes
25301 echo "$as_me: failed program was:" >&5
25302 sed 's/^/| /' conftest.
$ac_ext >&5
25304 ac_header_preproc
=no
25306 rm -f conftest.err conftest.
$ac_ext
25307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25308 echo "${ECHO_T}$ac_header_preproc" >&6
25310 # So? What about this header?
25311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25313 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25314 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25315 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25316 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25317 ac_header_preproc
=yes
25320 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25321 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25322 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25323 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25324 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25325 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25326 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25327 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25328 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25329 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25330 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25331 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25334 ## ----------------------------------------- ##
25335 ## Report this to wx-dev@lists.wxwidgets.org ##
25336 ## ----------------------------------------- ##
25339 sed "s/^/$as_me: WARNING: /" >&2
25342 echo "$as_me:$LINENO: checking for zlib.h" >&5
25343 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25344 if test "${ac_cv_header_zlib_h+set}" = set; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25347 ac_cv_header_zlib_h
=$ac_header_preproc
25349 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25350 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25356 system_zlib_h_ok
=$ac_cv_header_zlib_h
25359 if test "$system_zlib_h_ok" = "yes"; then
25360 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25361 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25362 if test "${ac_cv_lib_z_deflate+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25365 ac_check_lib_save_LIBS
=$LIBS
25367 cat >conftest.
$ac_ext <<_ACEOF
25370 cat confdefs.h
>>conftest.
$ac_ext
25371 cat >>conftest.
$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25374 /* Override any gcc2 internal prototype to avoid an error. */
25378 /* We use char because int might match the return type of a gcc2
25379 builtin and then its argument prototype would still apply. */
25389 rm -f conftest.
$ac_objext conftest
$ac_exeext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25391 (eval $ac_link) 2>conftest.er1
25393 grep -v '^ *+' conftest.er1
>conftest.err
25395 cat conftest.err
>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); }; } &&
25404 { ac_try
='test -s conftest$ac_exeext'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; }; then
25410 ac_cv_lib_z_deflate
=yes
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.
$ac_ext >&5
25415 ac_cv_lib_z_deflate
=no
25417 rm -f conftest.err conftest.
$ac_objext \
25418 conftest
$ac_exeext conftest.
$ac_ext
25419 LIBS
=$ac_check_lib_save_LIBS
25421 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25422 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25423 if test $ac_cv_lib_z_deflate = yes; then
25429 if test "x$ZLIB_LINK" = "x" ; then
25430 if test "$wxUSE_ZLIB" = "sys" ; then
25431 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25432 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25433 { (exit 1); exit 1; }; }
25435 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25436 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25447 if test "$wxUSE_LIBPNG" != "no" ; then
25448 cat >>confdefs.h
<<\_ACEOF
25449 #define wxUSE_LIBPNG 1
25453 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25454 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25455 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25459 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25460 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25461 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25462 wxUSE_LIBPNG
=builtin
25465 if test "$wxUSE_MGL" != 1 ; then
25466 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25467 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25468 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25469 if test "${ac_cv_header_png_h+set}" = set; then
25470 echo $ECHO_N "(cached) $ECHO_C" >&6
25472 if test "$cross_compiling" = yes; then
25473 unset ac_cv_header_png_h
25476 cat >conftest.
$ac_ext <<_ACEOF
25479 cat confdefs.h
>>conftest.
$ac_ext
25480 cat >>conftest.
$ac_ext <<_ACEOF
25481 /* end confdefs.h. */
25488 FILE *f=fopen("conftestval", "w");
25491 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25496 rm -f conftest
$ac_exeext
25497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25498 (eval $ac_link) 2>&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25503 (eval $ac_try) 2>&5
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; }; then
25507 ac_cv_header_png_h
=`cat conftestval`
25509 echo "$as_me: program exited with status $ac_status" >&5
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.
$ac_ext >&5
25513 ( exit $ac_status )
25514 ac_cv_header_png_h
=no
25516 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25520 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25521 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25522 if test "${ac_cv_header_png_h+set}" = set; then
25523 echo "$as_me:$LINENO: checking for png.h" >&5
25524 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25525 if test "${ac_cv_header_png_h+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25529 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25531 # Is the header compilable?
25532 echo "$as_me:$LINENO: checking png.h usability" >&5
25533 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25534 cat >conftest.
$ac_ext <<_ACEOF
25537 cat confdefs.h
>>conftest.
$ac_ext
25538 cat >>conftest.
$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 $ac_includes_default
25543 rm -f conftest.
$ac_objext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25545 (eval $ac_compile) 2>conftest.er1
25547 grep -v '^ *+' conftest.er1
>conftest.err
25549 cat conftest.err
>&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } &&
25552 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25554 (eval $ac_try) 2>&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); }; } &&
25558 { ac_try
='test -s conftest.$ac_objext'
25559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25560 (eval $ac_try) 2>&5
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; }; then
25564 ac_header_compiler
=yes
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.
$ac_ext >&5
25569 ac_header_compiler
=no
25571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25573 echo "${ECHO_T}$ac_header_compiler" >&6
25575 # Is the header present?
25576 echo "$as_me:$LINENO: checking png.h presence" >&5
25577 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25578 cat >conftest.
$ac_ext <<_ACEOF
25581 cat confdefs.h
>>conftest.
$ac_ext
25582 cat >>conftest.
$ac_ext <<_ACEOF
25583 /* end confdefs.h. */
25586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25589 grep -v '^ *+' conftest.er1
>conftest.err
25591 cat conftest.err
>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); } >/dev
/null
; then
25594 if test -s conftest.err
; then
25595 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25596 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25603 if test -z "$ac_cpp_err"; then
25604 ac_header_preproc
=yes
25606 echo "$as_me: failed program was:" >&5
25607 sed 's/^/| /' conftest.
$ac_ext >&5
25609 ac_header_preproc
=no
25611 rm -f conftest.err conftest.
$ac_ext
25612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25613 echo "${ECHO_T}$ac_header_preproc" >&6
25615 # So? What about this header?
25616 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25618 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25619 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25620 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25621 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25622 ac_header_preproc
=yes
25625 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25626 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25628 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25629 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25630 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25631 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25632 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25633 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25634 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25635 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25636 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25639 ## ----------------------------------------- ##
25640 ## Report this to wx-dev@lists.wxwidgets.org ##
25641 ## ----------------------------------------- ##
25644 sed "s/^/$as_me: WARNING: /" >&2
25647 echo "$as_me:$LINENO: checking for png.h" >&5
25648 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25649 if test "${ac_cv_header_png_h+set}" = set; then
25650 echo $ECHO_N "(cached) $ECHO_C" >&6
25652 ac_cv_header_png_h
=$ac_header_preproc
25654 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25655 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25661 if test "$ac_cv_header_png_h" = "yes"; then
25662 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25663 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25664 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25665 echo $ECHO_N "(cached) $ECHO_C" >&6
25667 ac_check_lib_save_LIBS
=$LIBS
25668 LIBS
="-lpng -lz -lm $LIBS"
25669 cat >conftest.
$ac_ext <<_ACEOF
25672 cat confdefs.h
>>conftest.
$ac_ext
25673 cat >>conftest.
$ac_ext <<_ACEOF
25674 /* end confdefs.h. */
25676 /* Override any gcc2 internal prototype to avoid an error. */
25680 /* We use char because int might match the return type of a gcc2
25681 builtin and then its argument prototype would still apply. */
25682 char png_check_sig ();
25691 rm -f conftest.
$ac_objext conftest
$ac_exeext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25693 (eval $ac_link) 2>conftest.er1
25695 grep -v '^ *+' conftest.er1
>conftest.err
25697 cat conftest.err
>&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } &&
25700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25702 (eval $ac_try) 2>&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); }; } &&
25706 { ac_try
='test -s conftest$ac_exeext'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; }; then
25712 ac_cv_lib_png_png_check_sig
=yes
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.
$ac_ext >&5
25717 ac_cv_lib_png_png_check_sig
=no
25719 rm -f conftest.err conftest.
$ac_objext \
25720 conftest
$ac_exeext conftest.
$ac_ext
25721 LIBS
=$ac_check_lib_save_LIBS
25723 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25724 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25725 if test $ac_cv_lib_png_png_check_sig = yes; then
25726 PNG_LINK
=" -lpng -lz"
25731 if test "x$PNG_LINK" = "x" ; then
25732 if test "$wxUSE_LIBPNG" = "sys" ; then
25733 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25734 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25735 { (exit 1); exit 1; }; }
25737 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25738 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25739 wxUSE_LIBPNG
=builtin
25747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25752 if test "$wxUSE_LIBJPEG" != "no" ; then
25753 cat >>confdefs.h
<<\_ACEOF
25754 #define wxUSE_LIBJPEG 1
25758 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25759 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25760 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25764 if test "$wxUSE_MGL" != 1 ; then
25765 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25766 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25767 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25768 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 cat >conftest.
$ac_ext <<_ACEOF
25774 cat confdefs.h
>>conftest.
$ac_ext
25775 cat >>conftest.
$ac_ext <<_ACEOF
25776 /* end confdefs.h. */
25778 #undef HAVE_STDLIB_H
25780 #include <jpeglib.h>
25791 rm -f conftest.
$ac_objext
25792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25793 (eval $ac_compile) 2>conftest.er1
25795 grep -v '^ *+' conftest.er1
>conftest.err
25797 cat conftest.err
>&5
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } &&
25800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 (eval $ac_try) 2>&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); }; } &&
25806 { ac_try
='test -s conftest.$ac_objext'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; }; then
25812 ac_cv_header_jpeglib_h
=yes
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.
$ac_ext >&5
25817 ac_cv_header_jpeglib_h
=no
25820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25824 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25825 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25827 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25828 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25829 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25830 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 ac_check_lib_save_LIBS
=$LIBS
25834 LIBS
="-ljpeg $LIBS"
25835 cat >conftest.
$ac_ext <<_ACEOF
25838 cat confdefs.h
>>conftest.
$ac_ext
25839 cat >>conftest.
$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25842 /* Override any gcc2 internal prototype to avoid an error. */
25846 /* We use char because int might match the return type of a gcc2
25847 builtin and then its argument prototype would still apply. */
25848 char jpeg_read_header ();
25852 jpeg_read_header ();
25857 rm -f conftest.
$ac_objext conftest
$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>conftest.er1
25861 grep -v '^ *+' conftest.er1
>conftest.err
25863 cat conftest.err
>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try
='test -s conftest$ac_exeext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_lib_jpeg_jpeg_read_header
=yes
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.
$ac_ext >&5
25883 ac_cv_lib_jpeg_jpeg_read_header
=no
25885 rm -f conftest.err conftest.
$ac_objext \
25886 conftest
$ac_exeext conftest.
$ac_ext
25887 LIBS
=$ac_check_lib_save_LIBS
25889 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25890 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25891 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25892 JPEG_LINK
=" -ljpeg"
25897 if test "x$JPEG_LINK" = "x" ; then
25898 if test "$wxUSE_LIBJPEG" = "sys" ; then
25899 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25900 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25901 { (exit 1); exit 1; }; }
25903 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25904 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25905 wxUSE_LIBJPEG
=builtin
25916 TIFF_PREREQ_LINKS
=-lm
25917 if test "$wxUSE_LIBTIFF" != "no" ; then
25918 cat >>confdefs.h
<<\_ACEOF
25919 #define wxUSE_LIBTIFF 1
25923 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25924 if test "$wxUSE_LIBJPEG" = "sys"; then
25925 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25927 if test "$wxUSE_ZLIB" = "sys"; then
25928 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25930 if test "${ac_cv_header_tiffio_h+set}" = set; then
25931 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25932 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25933 if test "${ac_cv_header_tiffio_h+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25936 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25937 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25939 # Is the header compilable?
25940 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25941 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25942 cat >conftest.
$ac_ext <<_ACEOF
25945 cat confdefs.h
>>conftest.
$ac_ext
25946 cat >>conftest.
$ac_ext <<_ACEOF
25947 /* end confdefs.h. */
25948 $ac_includes_default
25949 #include <tiffio.h>
25951 rm -f conftest.
$ac_objext
25952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25953 (eval $ac_compile) 2>conftest.er1
25955 grep -v '^ *+' conftest.er1
>conftest.err
25957 cat conftest.err
>&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } &&
25960 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; } &&
25966 { ac_try
='test -s conftest.$ac_objext'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; }; then
25972 ac_header_compiler
=yes
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.
$ac_ext >&5
25977 ac_header_compiler
=no
25979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25981 echo "${ECHO_T}$ac_header_compiler" >&6
25983 # Is the header present?
25984 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25985 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25986 cat >conftest.
$ac_ext <<_ACEOF
25989 cat confdefs.h
>>conftest.
$ac_ext
25990 cat >>conftest.
$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <tiffio.h>
25994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25997 grep -v '^ *+' conftest.er1
>conftest.err
25999 cat conftest.err
>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } >/dev
/null
; then
26002 if test -s conftest.err
; then
26003 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26004 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26011 if test -z "$ac_cpp_err"; then
26012 ac_header_preproc
=yes
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.
$ac_ext >&5
26017 ac_header_preproc
=no
26019 rm -f conftest.err conftest.
$ac_ext
26020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26021 echo "${ECHO_T}$ac_header_preproc" >&6
26023 # So? What about this header?
26024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26026 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26027 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26028 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26029 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26030 ac_header_preproc
=yes
26033 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26034 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26035 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26036 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26038 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26039 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26040 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26042 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26044 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26047 ## ----------------------------------------- ##
26048 ## Report this to wx-dev@lists.wxwidgets.org ##
26049 ## ----------------------------------------- ##
26052 sed "s/^/$as_me: WARNING: /" >&2
26055 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26056 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26057 if test "${ac_cv_header_tiffio_h+set}" = set; then
26058 echo $ECHO_N "(cached) $ECHO_C" >&6
26060 ac_cv_header_tiffio_h
=$ac_header_preproc
26062 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26063 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26066 if test $ac_cv_header_tiffio_h = yes; then
26068 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26069 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26070 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 ac_check_lib_save_LIBS
=$LIBS
26074 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26075 cat >conftest.
$ac_ext <<_ACEOF
26078 cat confdefs.h
>>conftest.
$ac_ext
26079 cat >>conftest.
$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26082 /* Override any gcc2 internal prototype to avoid an error. */
26086 /* We use char because int might match the return type of a gcc2
26087 builtin and then its argument prototype would still apply. */
26097 rm -f conftest.
$ac_objext conftest
$ac_exeext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26099 (eval $ac_link) 2>conftest.er1
26101 grep -v '^ *+' conftest.er1
>conftest.err
26103 cat conftest.err
>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } &&
26106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; } &&
26112 { ac_try
='test -s conftest$ac_exeext'
26113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114 (eval $ac_try) 2>&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); }; }; then
26118 ac_cv_lib_tiff_TIFFError
=yes
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.
$ac_ext >&5
26123 ac_cv_lib_tiff_TIFFError
=no
26125 rm -f conftest.err conftest.
$ac_objext \
26126 conftest
$ac_exeext conftest.
$ac_ext
26127 LIBS
=$ac_check_lib_save_LIBS
26129 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26130 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26131 if test $ac_cv_lib_tiff_TIFFError = yes; then
26132 TIFF_LINK
=" -ltiff"
26141 if test "x$TIFF_LINK" = "x" ; then
26142 if test "$wxUSE_LIBTIFF" = "sys" ; then
26143 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26144 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26145 { (exit 1); exit 1; }; }
26147 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26148 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26149 wxUSE_LIBTIFF
=builtin
26158 if test "$wxUSE_WCHAR_T" != "yes"; then
26159 if test "$wxUSE_EXPAT" != "no"; then
26160 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26161 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26164 if test "$wxUSE_XML" != "no"; then
26165 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26166 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26171 if test "$wxUSE_EXPAT" != "no"; then
26173 cat >>confdefs.h
<<\_ACEOF
26174 #define wxUSE_EXPAT 1
26177 cat >>confdefs.h
<<\_ACEOF
26178 #define wxUSE_XML 1
26182 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26183 if test "${ac_cv_header_expat_h+set}" = set; then
26184 echo "$as_me:$LINENO: checking for expat.h" >&5
26185 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26186 if test "${ac_cv_header_expat_h+set}" = set; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26190 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26192 # Is the header compilable?
26193 echo "$as_me:$LINENO: checking expat.h usability" >&5
26194 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26195 cat >conftest.
$ac_ext <<_ACEOF
26198 cat confdefs.h
>>conftest.
$ac_ext
26199 cat >>conftest.
$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201 $ac_includes_default
26204 rm -f conftest.
$ac_objext
26205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26206 (eval $ac_compile) 2>conftest.er1
26208 grep -v '^ *+' conftest.er1
>conftest.err
26210 cat conftest.err
>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); } &&
26213 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; } &&
26219 { ac_try
='test -s conftest.$ac_objext'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; }; then
26225 ac_header_compiler
=yes
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.
$ac_ext >&5
26230 ac_header_compiler
=no
26232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26234 echo "${ECHO_T}$ac_header_compiler" >&6
26236 # Is the header present?
26237 echo "$as_me:$LINENO: checking expat.h presence" >&5
26238 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26239 cat >conftest.
$ac_ext <<_ACEOF
26242 cat confdefs.h
>>conftest.
$ac_ext
26243 cat >>conftest.
$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26250 grep -v '^ *+' conftest.er1
>conftest.err
26252 cat conftest.err
>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } >/dev
/null
; then
26255 if test -s conftest.err
; then
26256 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26257 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26264 if test -z "$ac_cpp_err"; then
26265 ac_header_preproc
=yes
26267 echo "$as_me: failed program was:" >&5
26268 sed 's/^/| /' conftest.
$ac_ext >&5
26270 ac_header_preproc
=no
26272 rm -f conftest.err conftest.
$ac_ext
26273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26274 echo "${ECHO_T}$ac_header_preproc" >&6
26276 # So? What about this header?
26277 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26279 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26280 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26281 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26282 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26283 ac_header_preproc
=yes
26286 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26287 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26289 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26290 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26291 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26292 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26293 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26294 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26295 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26296 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26297 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26300 ## ----------------------------------------- ##
26301 ## Report this to wx-dev@lists.wxwidgets.org ##
26302 ## ----------------------------------------- ##
26305 sed "s/^/$as_me: WARNING: /" >&2
26308 echo "$as_me:$LINENO: checking for expat.h" >&5
26309 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26310 if test "${ac_cv_header_expat_h+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 ac_cv_header_expat_h
=$ac_header_preproc
26315 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26316 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26319 if test $ac_cv_header_expat_h = yes; then
26324 if test "x$found_expat_h" = "x1"; then
26325 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26326 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26327 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26328 echo $ECHO_N "(cached) $ECHO_C" >&6
26331 cat >conftest.
$ac_ext <<_ACEOF
26334 cat confdefs.h
>>conftest.
$ac_ext
26335 cat >>conftest.
$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26346 rm -f conftest.
$ac_objext
26347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26348 (eval $ac_compile) 2>conftest.er1
26350 grep -v '^ *+' conftest.er1
>conftest.err
26352 cat conftest.err
>&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); } &&
26355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; } &&
26361 { ac_try
='test -s conftest.$ac_objext'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; }; then
26367 wx_cv_expat_is_not_broken
=yes
26369 echo "$as_me: failed program was:" >&5
26370 sed 's/^/| /' conftest.
$ac_ext >&5
26372 wx_cv_expat_is_not_broken
=no
26375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26379 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26380 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26381 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26382 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26383 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26384 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 ac_check_lib_save_LIBS
=$LIBS
26388 LIBS
="-lexpat $LIBS"
26389 cat >conftest.
$ac_ext <<_ACEOF
26392 cat confdefs.h
>>conftest.
$ac_ext
26393 cat >>conftest.
$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26396 /* Override any gcc2 internal prototype to avoid an error. */
26400 /* We use char because int might match the return type of a gcc2
26401 builtin and then its argument prototype would still apply. */
26402 char XML_ParserCreate ();
26406 XML_ParserCreate ();
26411 rm -f conftest.
$ac_objext conftest
$ac_exeext
26412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26413 (eval $ac_link) 2>conftest.er1
26415 grep -v '^ *+' conftest.er1
>conftest.err
26417 cat conftest.err
>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } &&
26420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422 (eval $ac_try) 2>&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); }; } &&
26426 { ac_try
='test -s conftest$ac_exeext'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; }; then
26432 ac_cv_lib_expat_XML_ParserCreate
=yes
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.
$ac_ext >&5
26437 ac_cv_lib_expat_XML_ParserCreate
=no
26439 rm -f conftest.err conftest.
$ac_objext \
26440 conftest
$ac_exeext conftest.
$ac_ext
26441 LIBS
=$ac_check_lib_save_LIBS
26443 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26444 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26445 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26446 EXPAT_LINK
=" -lexpat"
26451 if test "x$EXPAT_LINK" = "x" ; then
26452 if test "$wxUSE_EXPAT" = "sys" ; then
26453 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26454 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26455 { (exit 1); exit 1; }; }
26457 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26458 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26459 wxUSE_EXPAT
=builtin
26465 if test "$wxUSE_EXPAT" = "builtin" ; then
26468 subdirs
="$subdirs src/expat"
26475 if test "$wxUSE_LIBMSPACK" != "no"; then
26476 if test "${ac_cv_header_mspack_h+set}" = set; then
26477 echo "$as_me:$LINENO: checking for mspack.h" >&5
26478 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26479 if test "${ac_cv_header_mspack_h+set}" = set; then
26480 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26483 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26485 # Is the header compilable?
26486 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26487 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26488 cat >conftest.
$ac_ext <<_ACEOF
26491 cat confdefs.h
>>conftest.
$ac_ext
26492 cat >>conftest.
$ac_ext <<_ACEOF
26493 /* end confdefs.h. */
26494 $ac_includes_default
26495 #include <mspack.h>
26497 rm -f conftest.
$ac_objext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26499 (eval $ac_compile) 2>conftest.er1
26501 grep -v '^ *+' conftest.er1
>conftest.err
26503 cat conftest.err
>&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } &&
26506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try
='test -s conftest.$ac_objext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_header_compiler
=yes
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.
$ac_ext >&5
26523 ac_header_compiler
=no
26525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26527 echo "${ECHO_T}$ac_header_compiler" >&6
26529 # Is the header present?
26530 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26531 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26532 cat >conftest.
$ac_ext <<_ACEOF
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 #include <mspack.h>
26540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26543 grep -v '^ *+' conftest.er1
>conftest.err
26545 cat conftest.err
>&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } >/dev
/null
; then
26548 if test -s conftest.err
; then
26549 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26550 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26557 if test -z "$ac_cpp_err"; then
26558 ac_header_preproc
=yes
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.
$ac_ext >&5
26563 ac_header_preproc
=no
26565 rm -f conftest.err conftest.
$ac_ext
26566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26567 echo "${ECHO_T}$ac_header_preproc" >&6
26569 # So? What about this header?
26570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26572 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26573 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26574 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26575 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26576 ac_header_preproc
=yes
26579 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26580 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26581 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26582 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26583 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26584 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26585 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26586 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26587 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26588 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26589 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26590 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26593 ## ----------------------------------------- ##
26594 ## Report this to wx-dev@lists.wxwidgets.org ##
26595 ## ----------------------------------------- ##
26598 sed "s/^/$as_me: WARNING: /" >&2
26601 echo "$as_me:$LINENO: checking for mspack.h" >&5
26602 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26603 if test "${ac_cv_header_mspack_h+set}" = set; then
26604 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 ac_cv_header_mspack_h
=$ac_header_preproc
26608 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26609 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26612 if test $ac_cv_header_mspack_h = yes; then
26617 if test "x$found_mspack_h" = "x1"; then
26618 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26619 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26620 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26621 echo $ECHO_N "(cached) $ECHO_C" >&6
26623 ac_check_lib_save_LIBS
=$LIBS
26624 LIBS
="-lmspack $LIBS"
26625 cat >conftest.
$ac_ext <<_ACEOF
26628 cat confdefs.h
>>conftest.
$ac_ext
26629 cat >>conftest.
$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26632 /* Override any gcc2 internal prototype to avoid an error. */
26636 /* We use char because int might match the return type of a gcc2
26637 builtin and then its argument prototype would still apply. */
26638 char mspack_create_chm_decompressor ();
26642 mspack_create_chm_decompressor ();
26647 rm -f conftest.
$ac_objext conftest
$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>conftest.er1
26651 grep -v '^ *+' conftest.er1
>conftest.err
26653 cat conftest.err
>&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } &&
26656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; } &&
26662 { ac_try
='test -s conftest$ac_exeext'
26663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26664 (eval $ac_try) 2>&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); }; }; then
26668 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.
$ac_ext >&5
26673 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26675 rm -f conftest.err conftest.
$ac_objext \
26676 conftest
$ac_exeext conftest.
$ac_ext
26677 LIBS
=$ac_check_lib_save_LIBS
26679 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26680 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26681 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26682 MSPACK_LINK
=" -lmspack"
26686 if test "x$MSPACK_LINK" = "x" ; then
26691 if test "$wxUSE_LIBMSPACK" != "no"; then
26692 cat >>confdefs.h
<<\_ACEOF
26693 #define wxUSE_LIBMSPACK 1
26707 if test "$USE_WIN32" = 1 ; then
26709 for ac_header
in w32api.h
26711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26713 echo "$as_me:$LINENO: checking for $ac_header" >&5
26714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26721 # Is the header compilable?
26722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26724 cat >conftest.
$ac_ext <<_ACEOF
26727 cat confdefs.h
>>conftest.
$ac_ext
26728 cat >>conftest.
$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 $ac_includes_default
26731 #include <$ac_header>
26733 rm -f conftest.
$ac_objext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26735 (eval $ac_compile) 2>conftest.er1
26737 grep -v '^ *+' conftest.er1
>conftest.err
26739 cat conftest.err
>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try
='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 ac_header_compiler
=yes
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.
$ac_ext >&5
26759 ac_header_compiler
=no
26761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26763 echo "${ECHO_T}$ac_header_compiler" >&6
26765 # Is the header present?
26766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26768 cat >conftest.
$ac_ext <<_ACEOF
26771 cat confdefs.h
>>conftest.
$ac_ext
26772 cat >>conftest.
$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 #include <$ac_header>
26776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26779 grep -v '^ *+' conftest.er1
>conftest.err
26781 cat conftest.err
>&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } >/dev
/null
; then
26784 if test -s conftest.err
; then
26785 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26786 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26793 if test -z "$ac_cpp_err"; then
26794 ac_header_preproc
=yes
26796 echo "$as_me: failed program was:" >&5
26797 sed 's/^/| /' conftest.
$ac_ext >&5
26799 ac_header_preproc
=no
26801 rm -f conftest.err conftest.
$ac_ext
26802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26803 echo "${ECHO_T}$ac_header_preproc" >&6
26805 # So? What about this header?
26806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26812 ac_header_preproc
=yes
26815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26829 ## ----------------------------------------- ##
26830 ## Report this to wx-dev@lists.wxwidgets.org ##
26831 ## ----------------------------------------- ##
26834 sed "s/^/$as_me: WARNING: /" >&2
26837 echo "$as_me:$LINENO: checking for $ac_header" >&5
26838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 eval "$as_ac_Header=\$ac_header_preproc"
26844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26849 cat >>confdefs.h
<<_ACEOF
26850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26857 if test "${ac_cv_header_windows_h+set}" = set; then
26858 echo "$as_me:$LINENO: checking for windows.h" >&5
26859 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26860 if test "${ac_cv_header_windows_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26866 # Is the header compilable?
26867 echo "$as_me:$LINENO: checking windows.h usability" >&5
26868 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26869 cat >conftest.
$ac_ext <<_ACEOF
26872 cat confdefs.h
>>conftest.
$ac_ext
26873 cat >>conftest.
$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 $ac_includes_default
26876 #include <windows.h>
26878 rm -f conftest.
$ac_objext
26879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26880 (eval $ac_compile) 2>conftest.er1
26882 grep -v '^ *+' conftest.er1
>conftest.err
26884 cat conftest.err
>&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } &&
26887 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try
='test -s conftest.$ac_objext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 ac_header_compiler
=yes
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.
$ac_ext >&5
26904 ac_header_compiler
=no
26906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26908 echo "${ECHO_T}$ac_header_compiler" >&6
26910 # Is the header present?
26911 echo "$as_me:$LINENO: checking windows.h presence" >&5
26912 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26913 cat >conftest.
$ac_ext <<_ACEOF
26916 cat confdefs.h
>>conftest.
$ac_ext
26917 cat >>conftest.
$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919 #include <windows.h>
26921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26922 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26924 grep -v '^ *+' conftest.er1
>conftest.err
26926 cat conftest.err
>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } >/dev
/null
; then
26929 if test -s conftest.err
; then
26930 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26931 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26938 if test -z "$ac_cpp_err"; then
26939 ac_header_preproc
=yes
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.
$ac_ext >&5
26944 ac_header_preproc
=no
26946 rm -f conftest.err conftest.
$ac_ext
26947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26948 echo "${ECHO_T}$ac_header_preproc" >&6
26950 # So? What about this header?
26951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26953 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26954 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26955 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26956 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26957 ac_header_preproc
=yes
26960 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26961 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26962 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26963 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26965 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26967 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26968 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26969 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26970 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26971 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26974 ## ----------------------------------------- ##
26975 ## Report this to wx-dev@lists.wxwidgets.org ##
26976 ## ----------------------------------------- ##
26979 sed "s/^/$as_me: WARNING: /" >&2
26982 echo "$as_me:$LINENO: checking for windows.h" >&5
26983 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26984 if test "${ac_cv_header_windows_h+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 ac_cv_header_windows_h
=$ac_header_preproc
26989 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26990 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26993 if test $ac_cv_header_windows_h = yes; then
26997 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26998 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26999 { (exit 1); exit 1; }; }
27005 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27007 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27008 LIBS
="$LIBS -loleacc"
27013 LIBS
="$LIBS -lkernel32 -luser32"
27016 if test "$wxUSE_ODBC" = "sys" ; then
27019 if test "$wxUSE_ODBC" = "yes" ; then
27020 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27021 cat >>confdefs.h
<<\_ACEOF
27022 #define wxUSE_ODBC 1
27027 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27028 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27030 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27032 WIN32INSTALL
=win32install
27035 if test "$wxUSE_GUI" = "yes"; then
27045 if test "$wxUSE_COCOA" = 1 ; then
27046 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27047 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27048 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27049 wxUSE_PRINTING_ARCHITECTURE
=no
27051 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27052 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27053 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27054 wxUSE_DRAG_AND_DROP
=no
27056 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27057 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27058 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27063 if test "$wxUSE_MSW" = 1 ; then
27069 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27073 if test "$wxUSE_GTK" = 1; then
27075 ac_cpp
='$CPP $CPPFLAGS'
27076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27081 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27082 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27084 gtk_version_cached
=1
27085 if test "${wx_cv_lib_gtk+set}" = set; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27089 gtk_version_cached
=0
27090 echo "$as_me:$LINENO: result: " >&5
27091 echo "${ECHO_T}" >&6
27094 if test "$wxUSE_THREADS" = "yes"; then
27095 GTK_MODULES
=gthread
27099 if test "x$wxGTK_VERSION" != "x1"
27103 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27108 # Check whether --enable-gtktest or --disable-gtktest was given.
27109 if test "${enable_gtktest+set}" = set; then
27110 enableval
="$enable_gtktest"
27116 pkg_config_args
=gtk
+-2.0
27117 for module
in .
$GTK_MODULES
27121 pkg_config_args
="$pkg_config_args gthread-2.0"
27128 # Extract the first word of "pkg-config", so it can be a program name with args.
27129 set dummy pkg
-config; ac_word
=$2
27130 echo "$as_me:$LINENO: checking for $ac_word" >&5
27131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27132 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27133 echo $ECHO_N "(cached) $ECHO_C" >&6
27135 case $PKG_CONFIG in
27137 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27141 for as_dir
in $PATH
27144 test -z "$as_dir" && as_dir
=.
27145 for ac_exec_ext
in '' $ac_executable_extensions; do
27146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27147 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27154 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27158 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27160 if test -n "$PKG_CONFIG"; then
27161 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27162 echo "${ECHO_T}$PKG_CONFIG" >&6
27164 echo "$as_me:$LINENO: result: no" >&5
27165 echo "${ECHO_T}no" >&6
27169 if test x
$PKG_CONFIG != xno
; then
27170 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27173 echo "*** pkg-config too old; version 0.7 or better required."
27181 min_gtk_version
=2.0.0
27182 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27183 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27185 if test x
$PKG_CONFIG != xno
; then
27186 ## don't try to run the test against uninstalled libtool libs
27187 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27188 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27192 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27199 if test x
"$no_gtk" = x
; then
27200 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27201 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27202 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27204 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27206 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27208 if test "x$enable_gtktest" = "xyes" ; then
27209 ac_save_CFLAGS
="$CFLAGS"
27210 ac_save_LIBS
="$LIBS"
27211 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27212 LIBS
="$GTK_LIBS $LIBS"
27214 if test "$cross_compiling" = yes; then
27215 echo $ac_n "cross compiling; assumed OK... $ac_c"
27217 cat >conftest.
$ac_ext <<_ACEOF
27220 cat confdefs.h
>>conftest.
$ac_ext
27221 cat >>conftest.
$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27224 #include <gtk/gtk.h>
27226 #include <stdlib.h>
27231 int major, minor, micro;
27234 system ("touch conf.gtktest");
27236 /* HP/UX 9 (%@#!) writes to sscanf strings */
27237 tmp_version = g_strdup("$min_gtk_version");
27238 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27239 printf("%s, bad version string\n", "$min_gtk_version");
27243 if ((gtk_major_version != $gtk_config_major_version) ||
27244 (gtk_minor_version != $gtk_config_minor_version) ||
27245 (gtk_micro_version != $gtk_config_micro_version))
27247 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27248 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27249 gtk_major_version, gtk_minor_version, gtk_micro_version);
27250 printf ("*** was found! If pkg-config was correct, then it is best\n");
27251 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27252 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27253 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27254 printf("*** required on your system.\n");
27255 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27256 printf("*** to point to the correct configuration files\n");
27258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27259 (gtk_minor_version != GTK_MINOR_VERSION) ||
27260 (gtk_micro_version != GTK_MICRO_VERSION))
27262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27264 printf("*** library (version %d.%d.%d)\n",
27265 gtk_major_version, gtk_minor_version, gtk_micro_version);
27269 if ((gtk_major_version > major) ||
27270 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27271 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27277 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27278 gtk_major_version, gtk_minor_version, gtk_micro_version);
27279 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27280 major, minor, micro);
27281 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27283 printf("*** If you have already installed a sufficiently new version, this error\n");
27284 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27285 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27286 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27287 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27288 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27289 printf("*** so that the correct libraries are found at run-time))\n");
27296 rm -f conftest
$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298 (eval $ac_link) 2>&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27309 echo "$as_me: program exited with status $ac_status" >&5
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.
$ac_ext >&5
27313 ( exit $ac_status )
27316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27318 CFLAGS
="$ac_save_CFLAGS"
27319 LIBS
="$ac_save_LIBS"
27322 if test "x$no_gtk" = x
; then
27323 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27324 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27327 echo "$as_me:$LINENO: result: no" >&5
27328 echo "${ECHO_T}no" >&6
27329 if test "$PKG_CONFIG" = "no" ; then
27330 echo "*** A new enough version of pkg-config was not found."
27331 echo "*** See http://pkgconfig.sourceforge.net"
27333 if test -f conf.gtktest
; then
27336 echo "*** Could not run GTK+ test program, checking why..."
27337 ac_save_CFLAGS
="$CFLAGS"
27338 ac_save_LIBS
="$LIBS"
27339 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27340 LIBS
="$LIBS $GTK_LIBS"
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27348 #include <gtk/gtk.h>
27354 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27359 rm -f conftest.
$ac_objext conftest
$ac_exeext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27361 (eval $ac_link) 2>conftest.er1
27363 grep -v '^ *+' conftest.er1
>conftest.err
27365 cat conftest.err
>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } &&
27368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; } &&
27374 { ac_try
='test -s conftest$ac_exeext'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 echo "*** The test program compiled, but did not run. This usually means"
27381 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27382 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27383 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27384 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27385 echo "*** is required on your system"
27387 echo "*** If you have an old version installed, it is best to remove it, although"
27388 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.
$ac_ext >&5
27393 echo "*** The test program failed to compile or link. See the file config.log for the"
27394 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27396 rm -f conftest.err conftest.
$ac_objext \
27397 conftest
$ac_exeext conftest.
$ac_ext
27398 CFLAGS
="$ac_save_CFLAGS"
27399 LIBS
="$ac_save_LIBS"
27413 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27414 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27415 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27417 if test "$wxUSE_SHARED" != "yes"; then
27418 GTK_LIBS
="$GTK_LIBS -lX11"
27423 if test -z "$wx_cv_lib_gtk"; then
27424 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27426 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27427 if test "${with_gtk_prefix+set}" = set; then
27428 withval
="$with_gtk_prefix"
27429 gtk_config_prefix
="$withval"
27431 gtk_config_prefix
=""
27434 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27435 if test "${with_gtk_exec_prefix+set}" = set; then
27436 withval
="$with_gtk_exec_prefix"
27437 gtk_config_exec_prefix
="$withval"
27439 gtk_config_exec_prefix
=""
27441 # Check whether --enable-gtktest or --disable-gtktest was given.
27442 if test "${enable_gtktest+set}" = set; then
27443 enableval
="$enable_gtktest"
27449 for module
in .
$GTK_MODULES
27453 gtk_config_args
="$gtk_config_args gthread"
27458 if test x
$gtk_config_exec_prefix != x
; then
27459 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27460 if test x
${GTK_CONFIG+set} != xset
; then
27461 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27464 if test x
$gtk_config_prefix != x
; then
27465 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27466 if test x
${GTK_CONFIG+set} != xset
; then
27467 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27471 # Extract the first word of "gtk-config", so it can be a program name with args.
27472 set dummy gtk
-config; ac_word
=$2
27473 echo "$as_me:$LINENO: checking for $ac_word" >&5
27474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27475 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27478 case $GTK_CONFIG in
27480 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27484 for as_dir
in $PATH
27487 test -z "$as_dir" && as_dir
=.
27488 for ac_exec_ext
in '' $ac_executable_extensions; do
27489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27490 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27497 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27501 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27503 if test -n "$GTK_CONFIG"; then
27504 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27505 echo "${ECHO_T}$GTK_CONFIG" >&6
27507 echo "$as_me:$LINENO: result: no" >&5
27508 echo "${ECHO_T}no" >&6
27511 min_gtk_version
=1.2.7
27512 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27513 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27515 if test "$GTK_CONFIG" = "no" ; then
27518 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27519 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27520 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27522 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27524 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27526 if test "x$enable_gtktest" = "xyes" ; then
27527 ac_save_CFLAGS
="$CFLAGS"
27528 ac_save_LIBS
="$LIBS"
27529 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27530 LIBS
="$GTK_LIBS $LIBS"
27532 if test "$cross_compiling" = yes; then
27533 echo $ac_n "cross compiling; assumed OK... $ac_c"
27535 cat >conftest.
$ac_ext <<_ACEOF
27538 cat confdefs.h
>>conftest.
$ac_ext
27539 cat >>conftest.
$ac_ext <<_ACEOF
27540 /* end confdefs.h. */
27542 #include <gtk/gtk.h>
27544 #include <stdlib.h>
27549 int major, minor, micro;
27552 system ("touch conf.gtktest");
27554 /* HP/UX 9 (%@#!) writes to sscanf strings */
27555 tmp_version = g_strdup("$min_gtk_version");
27556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27557 printf("%s, bad version string\n", "$min_gtk_version");
27561 if ((gtk_major_version != $gtk_config_major_version) ||
27562 (gtk_minor_version != $gtk_config_minor_version) ||
27563 (gtk_micro_version != $gtk_config_micro_version))
27565 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27567 gtk_major_version, gtk_minor_version, gtk_micro_version);
27568 printf ("*** was found! If gtk-config was correct, then it is best\n");
27569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27572 printf("*** required on your system.\n");
27573 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27574 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27575 printf("*** before re-running configure\n");
27577 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27578 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27579 (gtk_minor_version != GTK_MINOR_VERSION) ||
27580 (gtk_micro_version != GTK_MICRO_VERSION))
27582 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27583 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27584 printf("*** library (version %d.%d.%d)\n",
27585 gtk_major_version, gtk_minor_version, gtk_micro_version);
27587 #endif /* defined (GTK_MAJOR_VERSION) ... */
27590 if ((gtk_major_version > major) ||
27591 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27592 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27598 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27599 gtk_major_version, gtk_minor_version, gtk_micro_version);
27600 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27601 major, minor, micro);
27602 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27604 printf("*** If you have already installed a sufficiently new version, this error\n");
27605 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27606 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27607 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27608 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27609 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27610 printf("*** so that the correct libraries are found at run-time))\n");
27617 rm -f conftest
$ac_exeext
27618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27619 (eval $ac_link) 2>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27624 (eval $ac_try) 2>&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); }; }; then
27630 echo "$as_me: program exited with status $ac_status" >&5
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.
$ac_ext >&5
27634 ( exit $ac_status )
27637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27639 CFLAGS
="$ac_save_CFLAGS"
27640 LIBS
="$ac_save_LIBS"
27643 if test "x$no_gtk" = x
; then
27644 echo "$as_me:$LINENO: result: yes" >&5
27645 echo "${ECHO_T}yes" >&6
27646 wx_cv_lib_gtk
=1.2.7
27648 echo "$as_me:$LINENO: result: no" >&5
27649 echo "${ECHO_T}no" >&6
27650 if test "$GTK_CONFIG" = "no" ; then
27651 echo "*** The gtk-config script installed by GTK could not be found"
27652 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27653 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27654 echo "*** full path to gtk-config."
27656 if test -f conf.gtktest
; then
27659 echo "*** Could not run GTK test program, checking why..."
27660 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27661 LIBS
="$LIBS $GTK_LIBS"
27662 cat >conftest.
$ac_ext <<_ACEOF
27665 cat confdefs.h
>>conftest.
$ac_ext
27666 cat >>conftest.
$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27669 #include <gtk/gtk.h>
27675 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27680 rm -f conftest.
$ac_objext conftest
$ac_exeext
27681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27682 (eval $ac_link) 2>conftest.er1
27684 grep -v '^ *+' conftest.er1
>conftest.err
27686 cat conftest.err
>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); } &&
27689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27691 (eval $ac_try) 2>&5
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; } &&
27695 { ac_try
='test -s conftest$ac_exeext'
27696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27697 (eval $ac_try) 2>&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; }; then
27701 echo "*** The test program compiled, but did not run. This usually means"
27702 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27703 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27704 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27705 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27706 echo "*** is required on your system"
27708 echo "*** If you have an old version installed, it is best to remove it, although"
27709 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27711 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27712 echo "*** came with the system with the command"
27714 echo "*** rpm --erase --nodeps gtk gtk-devel"
27716 echo "$as_me: failed program was:" >&5
27717 sed 's/^/| /' conftest.
$ac_ext >&5
27719 echo "*** The test program failed to compile or link. See the file config.log for the"
27720 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27721 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27722 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27724 rm -f conftest.err conftest.
$ac_objext \
27725 conftest
$ac_exeext conftest.
$ac_ext
27726 CFLAGS
="$ac_save_CFLAGS"
27727 LIBS
="$ac_save_LIBS"
27739 if test -z "$wx_cv_lib_gtk"; then
27741 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27742 if test "${with_gtk_prefix+set}" = set; then
27743 withval
="$with_gtk_prefix"
27744 gtk_config_prefix
="$withval"
27746 gtk_config_prefix
=""
27749 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27750 if test "${with_gtk_exec_prefix+set}" = set; then
27751 withval
="$with_gtk_exec_prefix"
27752 gtk_config_exec_prefix
="$withval"
27754 gtk_config_exec_prefix
=""
27756 # Check whether --enable-gtktest or --disable-gtktest was given.
27757 if test "${enable_gtktest+set}" = set; then
27758 enableval
="$enable_gtktest"
27764 for module
in .
$GTK_MODULES
27768 gtk_config_args
="$gtk_config_args gthread"
27773 if test x
$gtk_config_exec_prefix != x
; then
27774 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27775 if test x
${GTK_CONFIG+set} != xset
; then
27776 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27779 if test x
$gtk_config_prefix != x
; then
27780 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27781 if test x
${GTK_CONFIG+set} != xset
; then
27782 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27786 # Extract the first word of "gtk-config", so it can be a program name with args.
27787 set dummy gtk
-config; ac_word
=$2
27788 echo "$as_me:$LINENO: checking for $ac_word" >&5
27789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27790 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27791 echo $ECHO_N "(cached) $ECHO_C" >&6
27793 case $GTK_CONFIG in
27795 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27799 for as_dir
in $PATH
27802 test -z "$as_dir" && as_dir
=.
27803 for ac_exec_ext
in '' $ac_executable_extensions; do
27804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27805 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27812 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27816 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27818 if test -n "$GTK_CONFIG"; then
27819 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27820 echo "${ECHO_T}$GTK_CONFIG" >&6
27822 echo "$as_me:$LINENO: result: no" >&5
27823 echo "${ECHO_T}no" >&6
27826 min_gtk_version
=1.2.3
27827 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27828 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27830 if test "$GTK_CONFIG" = "no" ; then
27833 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27834 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27835 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27837 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27839 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27841 if test "x$enable_gtktest" = "xyes" ; then
27842 ac_save_CFLAGS
="$CFLAGS"
27843 ac_save_LIBS
="$LIBS"
27844 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27845 LIBS
="$GTK_LIBS $LIBS"
27847 if test "$cross_compiling" = yes; then
27848 echo $ac_n "cross compiling; assumed OK... $ac_c"
27850 cat >conftest.
$ac_ext <<_ACEOF
27853 cat confdefs.h
>>conftest.
$ac_ext
27854 cat >>conftest.
$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27857 #include <gtk/gtk.h>
27859 #include <stdlib.h>
27864 int major, minor, micro;
27867 system ("touch conf.gtktest");
27869 /* HP/UX 9 (%@#!) writes to sscanf strings */
27870 tmp_version = g_strdup("$min_gtk_version");
27871 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27872 printf("%s, bad version string\n", "$min_gtk_version");
27876 if ((gtk_major_version != $gtk_config_major_version) ||
27877 (gtk_minor_version != $gtk_config_minor_version) ||
27878 (gtk_micro_version != $gtk_config_micro_version))
27880 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27881 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27882 gtk_major_version, gtk_minor_version, gtk_micro_version);
27883 printf ("*** was found! If gtk-config was correct, then it is best\n");
27884 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27885 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27886 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27887 printf("*** required on your system.\n");
27888 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27889 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27890 printf("*** before re-running configure\n");
27892 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27893 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27894 (gtk_minor_version != GTK_MINOR_VERSION) ||
27895 (gtk_micro_version != GTK_MICRO_VERSION))
27897 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27898 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27899 printf("*** library (version %d.%d.%d)\n",
27900 gtk_major_version, gtk_minor_version, gtk_micro_version);
27902 #endif /* defined (GTK_MAJOR_VERSION) ... */
27905 if ((gtk_major_version > major) ||
27906 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27907 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27913 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27914 gtk_major_version, gtk_minor_version, gtk_micro_version);
27915 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27916 major, minor, micro);
27917 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27919 printf("*** If you have already installed a sufficiently new version, this error\n");
27920 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27921 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27922 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27923 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27924 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27925 printf("*** so that the correct libraries are found at run-time))\n");
27932 rm -f conftest
$ac_exeext
27933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27934 (eval $ac_link) 2>&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; }; then
27945 echo "$as_me: program exited with status $ac_status" >&5
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.
$ac_ext >&5
27949 ( exit $ac_status )
27952 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27954 CFLAGS
="$ac_save_CFLAGS"
27955 LIBS
="$ac_save_LIBS"
27958 if test "x$no_gtk" = x
; then
27959 echo "$as_me:$LINENO: result: yes" >&5
27960 echo "${ECHO_T}yes" >&6
27961 wx_cv_lib_gtk
=1.2.3
27963 echo "$as_me:$LINENO: result: no" >&5
27964 echo "${ECHO_T}no" >&6
27965 if test "$GTK_CONFIG" = "no" ; then
27966 echo "*** The gtk-config script installed by GTK could not be found"
27967 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27968 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27969 echo "*** full path to gtk-config."
27971 if test -f conf.gtktest
; then
27974 echo "*** Could not run GTK test program, checking why..."
27975 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27976 LIBS
="$LIBS $GTK_LIBS"
27977 cat >conftest.
$ac_ext <<_ACEOF
27980 cat confdefs.h
>>conftest.
$ac_ext
27981 cat >>conftest.
$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27984 #include <gtk/gtk.h>
27990 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27995 rm -f conftest.
$ac_objext conftest
$ac_exeext
27996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27997 (eval $ac_link) 2>conftest.er1
27999 grep -v '^ *+' conftest.er1
>conftest.err
28001 cat conftest.err
>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } &&
28004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; } &&
28010 { ac_try
='test -s conftest$ac_exeext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 echo "*** The test program compiled, but did not run. This usually means"
28017 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28018 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28019 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28020 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28021 echo "*** is required on your system"
28023 echo "*** If you have an old version installed, it is best to remove it, although"
28024 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28026 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28027 echo "*** came with the system with the command"
28029 echo "*** rpm --erase --nodeps gtk gtk-devel"
28031 echo "$as_me: failed program was:" >&5
28032 sed 's/^/| /' conftest.
$ac_ext >&5
28034 echo "*** The test program failed to compile or link. See the file config.log for the"
28035 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28036 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28037 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28039 rm -f conftest.err conftest.
$ac_objext \
28040 conftest
$ac_exeext conftest.
$ac_ext
28041 CFLAGS
="$ac_save_CFLAGS"
28042 LIBS
="$ac_save_LIBS"
28057 if test -z "$wx_cv_lib_gtk"; then
28060 wx_cv_cflags_gtk
=$GTK_CFLAGS
28061 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28068 if test "$gtk_version_cached" = 1; then
28069 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28070 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28073 case "$wx_cv_lib_gtk" in
28082 *) { { echo "$as_me:$LINENO: error:
28083 The development files for GTK+ were not found. For GTK+ 2, please
28084 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28085 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28086 and that the version is 1.2.3 or above. Also check that the
28087 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28088 --libs' are in the LD_LIBRARY_PATH or equivalent.
28090 echo "$as_me: error:
28091 The development files for GTK+ were not found. For GTK+ 2, please
28092 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28093 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28094 and that the version is 1.2.3 or above. Also check that the
28095 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28096 --libs' are in the LD_LIBRARY_PATH or equivalent.
28098 { (exit 1); exit 1; }; }
28102 if test "$WXGTK20" = 1; then
28103 save_CFLAGS
="$CFLAGS"
28105 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28106 LIBS
="$LIBS $wx_cv_libs_gtk"
28108 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28109 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28110 cat >conftest.
$ac_ext <<_ACEOF
28113 cat confdefs.h
>>conftest.
$ac_ext
28114 cat >>conftest.
$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28117 #include <gtk/gtk.h>
28123 void *f = gtk_icon_size_lookup;
28129 rm -f conftest.
$ac_objext
28130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28131 (eval $ac_compile) 2>conftest.er1
28133 grep -v '^ *+' conftest.er1
>conftest.err
28135 cat conftest.err
>&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); } &&
28138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try
='test -s conftest.$ac_objext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28151 echo "$as_me:$LINENO: result: no" >&5
28152 echo "${ECHO_T}no" >&6
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.
$ac_ext >&5
28159 cat >>confdefs.h
<<\_ACEOF
28160 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28163 echo "$as_me:$LINENO: result: yes" >&5
28164 echo "${ECHO_T}yes" >&6
28167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28169 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28170 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28171 cat >conftest.
$ac_ext <<_ACEOF
28174 cat confdefs.h
>>conftest.
$ac_ext
28175 cat >>conftest.
$ac_ext <<_ACEOF
28176 /* end confdefs.h. */
28178 #include <gtk/gtk.h>
28184 #if !GTK_CHECK_VERSION(2,6,0)
28192 rm -f conftest.
$ac_objext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28194 (eval $ac_compile) 2>conftest.er1
28196 grep -v '^ *+' conftest.er1
>conftest.err
28198 cat conftest.err
>&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try
='test -s conftest.$ac_objext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28214 cat >>confdefs.h
<<\_ACEOF
28215 #define __WXGTK26__ 1
28218 cat >>confdefs.h
<<\_ACEOF
28219 #define __WXGTK24__ 1
28222 echo "$as_me:$LINENO: result: yes" >&5
28223 echo "${ECHO_T}yes" >&6
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.
$ac_ext >&5
28231 echo "$as_me:$LINENO: result: no" >&5
28232 echo "${ECHO_T}no" >&6
28236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28238 if test "$ac_wxgtk26" = 0; then
28239 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28240 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28241 cat >conftest.
$ac_ext <<_ACEOF
28244 cat confdefs.h
>>conftest.
$ac_ext
28245 cat >>conftest.
$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28248 #include <gtk/gtk.h>
28254 #if !GTK_CHECK_VERSION(2,4,0)
28262 rm -f conftest.
$ac_objext
28263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28264 (eval $ac_compile) 2>conftest.er1
28266 grep -v '^ *+' conftest.er1
>conftest.err
28268 cat conftest.err
>&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); } &&
28271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28273 (eval $ac_try) 2>&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); }; } &&
28277 { ac_try
='test -s conftest.$ac_objext'
28278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28279 (eval $ac_try) 2>&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); }; }; then
28284 cat >>confdefs.h
<<\_ACEOF
28285 #define __WXGTK24__ 1
28288 echo "$as_me:$LINENO: result: yes" >&5
28289 echo "${ECHO_T}yes" >&6
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.
$ac_ext >&5
28296 echo "$as_me:$LINENO: result: no" >&5
28297 echo "${ECHO_T}no" >&6
28300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28303 CFLAGS
="$save_CFLAGS"
28306 if test "$wxUSE_UNICODE" = "yes"; then
28307 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28308 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28314 ac_cpp
='$CXXCPP $CPPFLAGS'
28315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28320 if test "$USE_DARWIN" != 1; then
28322 for ac_func
in poll
28324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28325 echo "$as_me:$LINENO: checking for $ac_func" >&5
28326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28327 if eval "test \"\${$as_ac_var+set}\" = set"; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 cat >conftest.
$ac_ext <<_ACEOF
28333 cat confdefs.h
>>conftest.
$ac_ext
28334 cat >>conftest.
$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28338 #define $ac_func innocuous_$ac_func
28340 /* System header to define __stub macros and hopefully few prototypes,
28341 which can conflict with char $ac_func (); below.
28342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28343 <limits.h> exists even on freestanding compilers. */
28346 # include <limits.h>
28348 # include <assert.h>
28353 /* Override any gcc2 internal prototype to avoid an error. */
28358 /* We use char because int might match the return type of a gcc2
28359 builtin and then its argument prototype would still apply. */
28361 /* The GNU C library defines this for functions which it implements
28362 to always fail with ENOSYS. Some functions are actually named
28363 something starting with __ and the normal name is an alias. */
28364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28367 char (*f) () = $ac_func;
28376 return f != $ac_func;
28381 rm -f conftest.
$ac_objext conftest
$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>conftest.er1
28385 grep -v '^ *+' conftest.er1
>conftest.err
28387 cat conftest.err
>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } &&
28390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; } &&
28396 { ac_try
='test -s conftest$ac_exeext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28402 eval "$as_ac_var=yes"
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.
$ac_ext >&5
28407 eval "$as_ac_var=no"
28409 rm -f conftest.err conftest.
$ac_objext \
28410 conftest
$ac_exeext conftest.
$ac_ext
28412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28414 if test `eval echo '${'$as_ac_var'}'` = yes; then
28415 cat >>confdefs.h
<<_ACEOF
28416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28424 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28425 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28427 AFMINSTALL
=afminstall
28431 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28432 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28433 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 ac_check_lib_save_LIBS
=$LIBS
28438 cat >conftest.
$ac_ext <<_ACEOF
28441 cat confdefs.h
>>conftest.
$ac_ext
28442 cat >>conftest.
$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28445 /* Override any gcc2 internal prototype to avoid an error. */
28449 /* We use char because int might match the return type of a gcc2
28450 builtin and then its argument prototype would still apply. */
28451 char gdk_im_open ();
28460 rm -f conftest.
$ac_objext conftest
$ac_exeext
28461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28462 (eval $ac_link) 2>conftest.er1
28464 grep -v '^ *+' conftest.er1
>conftest.err
28466 cat conftest.err
>&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } &&
28469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; } &&
28475 { ac_try
='test -s conftest$ac_exeext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 ac_cv_lib_gdk_gdk_im_open
=yes
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.
$ac_ext >&5
28486 ac_cv_lib_gdk_gdk_im_open
=no
28488 rm -f conftest.err conftest.
$ac_objext \
28489 conftest
$ac_exeext conftest.
$ac_ext
28490 LIBS
=$ac_check_lib_save_LIBS
28492 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28493 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28494 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28495 cat >>confdefs.h
<<\_ACEOF
28503 if test "$wxUSE_GPE" = "yes"; then
28504 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28505 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28508 for ac_dir
in $SEARCH_LIB;
28510 for ac_extension
in a so sl dylib dll.a
; do
28511 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28512 ac_find_libraries
=$ac_dir
28518 if test "$ac_find_libraries" != "" ; then
28520 if test "$ac_find_libraries" = "default location"; then
28523 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28525 if test $result = 0; then
28528 ac_path_to_link
=" -L$ac_find_libraries"
28532 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28534 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28535 echo "${ECHO_T}found in $ac_find_libraries" >&6
28537 echo "$as_me:$LINENO: result: not found" >&5
28538 echo "${ECHO_T}not found" >&6
28544 if test "$wxUSE_MGL" = 1; then
28545 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28546 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28547 if test "x$MGL_ROOT" = x
; then
28548 echo "$as_me:$LINENO: result: not found" >&5
28549 echo "${ECHO_T}not found" >&6
28550 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28551 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28552 { (exit 1); exit 1; }; }
28554 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28555 echo "${ECHO_T}$MGL_ROOT" >&6
28558 echo "$as_me:$LINENO: checking for libmgl location" >&5
28559 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28562 if test "x$wxUSE_SHARED" = xyes
; then
28563 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28565 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28569 mgl_os_candidates
="dos32/dj2"
28572 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28573 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28574 { (exit 1); exit 1; }; }
28580 for mgl_os_i
in $mgl_os_candidates ; do
28581 if test "x$mgl_os" = x
; then
28582 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28583 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28584 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28589 if test "x$mgl_lib_type" = x
; then
28590 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28591 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28592 mgl_lib_type
=release
28599 if test "x$mgl_os" = x
; then
28600 echo "$as_me:$LINENO: result: not found" >&5
28601 echo "${ECHO_T}not found" >&6
28602 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28603 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28604 { (exit 1); exit 1; }; }
28606 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28607 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28609 wxUSE_UNIVERSAL
="yes"
28611 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28612 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28614 AFMINSTALL
=afminstall
28619 if test "$wxUSE_MICROWIN" = 1; then
28620 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28621 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28622 if test "x$MICROWINDOWS" = x
; then
28623 echo "$as_me:$LINENO: result: not found" >&5
28624 echo "${ECHO_T}not found" >&6
28625 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28626 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28627 { (exit 1); exit 1; }; }
28629 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28630 echo "${ECHO_T}$MICROWINDOWS" >&6
28633 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28634 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28635 echo "${ECHO_T}MicroWindows' libraries found." >&6
28637 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28638 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28639 { (exit 1); exit 1; }; }
28642 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28643 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28645 wxUSE_UNIVERSAL
="yes"
28647 AFMINSTALL
=afminstall
28649 GUIDIST
=MICROWIN_DIST
28651 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28654 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28656 if test "x$ac_path_x_has_been_run" != xyes
; then
28657 echo "$as_me:$LINENO: checking for X" >&5
28658 echo $ECHO_N "checking for X... $ECHO_C" >&6
28660 ac_path_x_has_been_run
=yes
28662 # Check whether --with-x or --without-x was given.
28663 if test "${with_x+set}" = set; then
28667 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28668 if test "x$with_x" = xno
; then
28669 # The user explicitly disabled X.
28672 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28673 # Both variables are already set.
28676 if test "${ac_cv_have_x+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 # One or both of the vars are not set, and there is no cached value.
28680 ac_x_includes
=no ac_x_libraries
=no
28681 rm -fr conftest.dir
28682 if mkdir conftest.dir
; then
28684 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28685 cat >Imakefile
<<'_ACEOF'
28687 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28689 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28690 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28691 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28692 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28693 for ac_extension
in a so sl
; do
28694 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28695 test -f $ac_im_libdir/libX11.
$ac_extension; then
28696 ac_im_usrlibdir
=$ac_im_libdir; break
28699 # Screen out bogus values from the imake configuration. They are
28700 # bogus both because they are the default anyway, and because
28701 # using them would break gcc on systems where it needs fixed includes.
28702 case $ac_im_incroot in
28704 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28706 case $ac_im_usrlibdir in
28707 /usr
/lib
| /lib
) ;;
28708 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28712 rm -fr conftest.dir
28715 # Standard set of common directories for X headers.
28716 # Check X11 before X11Rn because it is often a symlink to the current release.
28728 /usr/local/X11/include
28729 /usr/local/X11R6/include
28730 /usr/local/X11R5/include
28731 /usr/local/X11R4/include
28733 /usr/local/include/X11
28734 /usr/local/include/X11R6
28735 /usr/local/include/X11R5
28736 /usr/local/include/X11R4
28740 /usr/XFree86/include/X11
28744 /usr/unsupported/include
28745 /usr/athena/include
28746 /usr/local/x11r5/include
28747 /usr/lpp/Xamples/include
28749 /usr/openwin/include
28750 /usr/openwin/share/include'
28752 if test "$ac_x_includes" = no
; then
28753 # Guess where to find include files, by looking for a specified header file.
28754 # First, try using that file with no special directory specified.
28755 cat >conftest.
$ac_ext <<_ACEOF
28758 cat confdefs.h
>>conftest.
$ac_ext
28759 cat >>conftest.
$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28761 #include <X11/Xlib.h>
28763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28766 grep -v '^ *+' conftest.er1
>conftest.err
28768 cat conftest.err
>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); } >/dev
/null
; then
28771 if test -s conftest.err
; then
28772 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28773 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28780 if test -z "$ac_cpp_err"; then
28781 # We can compile using X headers with no special include directory.
28784 echo "$as_me: failed program was:" >&5
28785 sed 's/^/| /' conftest.
$ac_ext >&5
28787 for ac_dir
in $ac_x_header_dirs; do
28788 if test -r "$ac_dir/X11/Xlib.h"; then
28789 ac_x_includes
=$ac_dir
28794 rm -f conftest.err conftest.
$ac_ext
28795 fi # $ac_x_includes = no
28797 if test "$ac_x_libraries" = no
; then
28798 # Check for the libraries.
28799 # See if we find them without any special options.
28800 # Don't add to $LIBS permanently.
28803 cat >conftest.
$ac_ext <<_ACEOF
28806 cat confdefs.h
>>conftest.
$ac_ext
28807 cat >>conftest.
$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28809 #include <X11/Xlib.h>
28818 rm -f conftest.
$ac_objext conftest
$ac_exeext
28819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28820 (eval $ac_link) 2>conftest.er1
28822 grep -v '^ *+' conftest.er1
>conftest.err
28824 cat conftest.err
>&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); } &&
28827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 (eval $ac_try) 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; } &&
28833 { ac_try
='test -s conftest$ac_exeext'
28834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 (eval $ac_try) 2>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); }; }; then
28840 # We can link X programs with no special library path.
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.
$ac_ext >&5
28847 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28849 # Don't even attempt the hair of trying to link an X program!
28850 for ac_extension
in a so sl
; do
28851 if test -r $ac_dir/libX11.
$ac_extension; then
28852 ac_x_libraries
=$ac_dir
28858 rm -f conftest.err conftest.
$ac_objext \
28859 conftest
$ac_exeext conftest.
$ac_ext
28860 fi # $ac_x_libraries = no
28862 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28863 # Didn't find X anywhere. Cache the known absence of X.
28864 ac_cv_have_x
="have_x=no"
28866 # Record where we found X for the cache.
28867 ac_cv_have_x
="have_x=yes \
28868 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28873 eval "$ac_cv_have_x"
28876 if test "$have_x" != yes; then
28877 echo "$as_me:$LINENO: result: $have_x" >&5
28878 echo "${ECHO_T}$have_x" >&6
28881 # If each of the values was on the command line, it overrides each guess.
28882 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28883 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28884 # Update the cache value to reflect the command line values.
28885 ac_cv_have_x
="have_x=yes \
28886 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28887 # It might be that x_includes is empty (headers are found in the
28888 # standard search path. Then output the corresponding message
28889 ac_out_x_includes
=$x_includes
28890 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
28891 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28892 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28896 if test "$no_x" = yes; then
28897 # Not all programs may use this symbol, but it does not hurt to define it.
28899 cat >>confdefs.h
<<\_ACEOF
28900 #define X_DISPLAY_MISSING 1
28903 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28905 if test -n "$x_includes"; then
28906 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28909 # It would also be nice to do this for all -L options, not just this one.
28910 if test -n "$x_libraries"; then
28911 X_LIBS
="$X_LIBS -L$x_libraries"
28912 # For Solaris; some versions of Sun CC require a space after -R and
28913 # others require no space. Words are not sufficient . . . .
28914 case `(uname -sr) 2>/dev/null` in
28916 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28917 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28918 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28919 cat >conftest.
$ac_ext <<_ACEOF
28922 cat confdefs.h
>>conftest.
$ac_ext
28923 cat >>conftest.
$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28934 rm -f conftest.
$ac_objext conftest
$ac_exeext
28935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28936 (eval $ac_link) 2>conftest.er1
28938 grep -v '^ *+' conftest.er1
>conftest.err
28940 cat conftest.err
>&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } &&
28943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; } &&
28949 { ac_try
='test -s conftest$ac_exeext'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; }; then
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.
$ac_ext >&5
28962 rm -f conftest.err conftest.
$ac_objext \
28963 conftest
$ac_exeext conftest.
$ac_ext
28964 if test $ac_R_nospace = yes; then
28965 echo "$as_me:$LINENO: result: no" >&5
28966 echo "${ECHO_T}no" >&6
28967 X_LIBS
="$X_LIBS -R$x_libraries"
28969 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28970 cat >conftest.
$ac_ext <<_ACEOF
28973 cat confdefs.h
>>conftest.
$ac_ext
28974 cat >>conftest.
$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28985 rm -f conftest.
$ac_objext conftest
$ac_exeext
28986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>conftest.er1
28989 grep -v '^ *+' conftest.er1
>conftest.err
28991 cat conftest.err
>&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } &&
28994 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; } &&
29000 { ac_try
='test -s conftest$ac_exeext'
29001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29002 (eval $ac_try) 2>&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); }; }; then
29008 echo "$as_me: failed program was:" >&5
29009 sed 's/^/| /' conftest.
$ac_ext >&5
29013 rm -f conftest.err conftest.
$ac_objext \
29014 conftest
$ac_exeext conftest.
$ac_ext
29015 if test $ac_R_space = yes; then
29016 echo "$as_me:$LINENO: result: yes" >&5
29017 echo "${ECHO_T}yes" >&6
29018 X_LIBS
="$X_LIBS -R $x_libraries"
29020 echo "$as_me:$LINENO: result: neither works" >&5
29021 echo "${ECHO_T}neither works" >&6
29024 LIBS
=$ac_xsave_LIBS
29028 # Check for system-dependent libraries X programs must link with.
29029 # Do this before checking for the system-independent R6 libraries
29030 # (-lICE), since we may need -lsocket or whatever for X linking.
29032 if test "$ISC" = yes; then
29033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29035 # Martyn Johnson says this is needed for Ultrix, if the X
29036 # libraries were built with DECnet support. And Karl Berry says
29037 # the Alpha needs dnet_stub (dnet does not exist).
29038 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29039 cat >conftest.
$ac_ext <<_ACEOF
29042 cat confdefs.h
>>conftest.
$ac_ext
29043 cat >>conftest.
$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29046 /* Override any gcc2 internal prototype to avoid an error. */
29050 /* We use char because int might match the return type of a gcc2
29051 builtin and then its argument prototype would still apply. */
29052 char XOpenDisplay ();
29061 rm -f conftest.
$ac_objext conftest
$ac_exeext
29062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29063 (eval $ac_link) 2>conftest.er1
29065 grep -v '^ *+' conftest.er1
>conftest.err
29067 cat conftest.err
>&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); } &&
29070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; } &&
29076 { ac_try
='test -s conftest$ac_exeext'
29077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 (eval $ac_try) 2>&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); }; }; then
29084 echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.
$ac_ext >&5
29087 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29088 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29089 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 ac_check_lib_save_LIBS
=$LIBS
29093 LIBS
="-ldnet $LIBS"
29094 cat >conftest.
$ac_ext <<_ACEOF
29097 cat confdefs.h
>>conftest.
$ac_ext
29098 cat >>conftest.
$ac_ext <<_ACEOF
29099 /* end confdefs.h. */
29101 /* Override any gcc2 internal prototype to avoid an error. */
29105 /* We use char because int might match the return type of a gcc2
29106 builtin and then its argument prototype would still apply. */
29116 rm -f conftest.
$ac_objext conftest
$ac_exeext
29117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29118 (eval $ac_link) 2>conftest.er1
29120 grep -v '^ *+' conftest.er1
>conftest.err
29122 cat conftest.err
>&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); } &&
29125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try
='test -s conftest$ac_exeext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 ac_cv_lib_dnet_dnet_ntoa
=yes
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.
$ac_ext >&5
29142 ac_cv_lib_dnet_dnet_ntoa
=no
29144 rm -f conftest.err conftest.
$ac_objext \
29145 conftest
$ac_exeext conftest.
$ac_ext
29146 LIBS
=$ac_check_lib_save_LIBS
29148 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29149 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29150 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29151 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29154 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29155 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29156 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29157 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29160 ac_check_lib_save_LIBS
=$LIBS
29161 LIBS
="-ldnet_stub $LIBS"
29162 cat >conftest.
$ac_ext <<_ACEOF
29165 cat confdefs.h
>>conftest.
$ac_ext
29166 cat >>conftest.
$ac_ext <<_ACEOF
29167 /* end confdefs.h. */
29169 /* Override any gcc2 internal prototype to avoid an error. */
29173 /* We use char because int might match the return type of a gcc2
29174 builtin and then its argument prototype would still apply. */
29184 rm -f conftest.
$ac_objext conftest
$ac_exeext
29185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29186 (eval $ac_link) 2>conftest.er1
29188 grep -v '^ *+' conftest.er1
>conftest.err
29190 cat conftest.err
>&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); } &&
29193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29195 (eval $ac_try) 2>&5
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; } &&
29199 { ac_try
='test -s conftest$ac_exeext'
29200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29201 (eval $ac_try) 2>&5
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); }; }; then
29205 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29207 echo "$as_me: failed program was:" >&5
29208 sed 's/^/| /' conftest.
$ac_ext >&5
29210 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29212 rm -f conftest.err conftest.
$ac_objext \
29213 conftest
$ac_exeext conftest.
$ac_ext
29214 LIBS
=$ac_check_lib_save_LIBS
29216 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29217 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29218 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29219 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29224 rm -f conftest.err conftest.
$ac_objext \
29225 conftest
$ac_exeext conftest.
$ac_ext
29226 LIBS
="$ac_xsave_LIBS"
29228 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29229 # to get the SysV transport functions.
29230 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29232 # The nsl library prevents programs from opening the X display
29233 # on Irix 5.2, according to T.E. Dickey.
29234 # The functions gethostbyname, getservbyname, and inet_addr are
29235 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29236 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29237 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29238 if test "${ac_cv_func_gethostbyname+set}" = set; then
29239 echo $ECHO_N "(cached) $ECHO_C" >&6
29241 cat >conftest.
$ac_ext <<_ACEOF
29244 cat confdefs.h
>>conftest.
$ac_ext
29245 cat >>conftest.
$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29247 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29249 #define gethostbyname innocuous_gethostbyname
29251 /* System header to define __stub macros and hopefully few prototypes,
29252 which can conflict with char gethostbyname (); below.
29253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29254 <limits.h> exists even on freestanding compilers. */
29257 # include <limits.h>
29259 # include <assert.h>
29262 #undef gethostbyname
29264 /* Override any gcc2 internal prototype to avoid an error. */
29269 /* We use char because int might match the return type of a gcc2
29270 builtin and then its argument prototype would still apply. */
29271 char gethostbyname ();
29272 /* The GNU C library defines this for functions which it implements
29273 to always fail with ENOSYS. Some functions are actually named
29274 something starting with __ and the normal name is an alias. */
29275 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29278 char (*f) () = gethostbyname;
29287 return f != gethostbyname;
29292 rm -f conftest.
$ac_objext conftest
$ac_exeext
29293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29294 (eval $ac_link) 2>conftest.er1
29296 grep -v '^ *+' conftest.er1
>conftest.err
29298 cat conftest.err
>&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; } &&
29307 { ac_try
='test -s conftest$ac_exeext'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; }; then
29313 ac_cv_func_gethostbyname
=yes
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.
$ac_ext >&5
29318 ac_cv_func_gethostbyname
=no
29320 rm -f conftest.err conftest.
$ac_objext \
29321 conftest
$ac_exeext conftest.
$ac_ext
29323 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29324 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29326 if test $ac_cv_func_gethostbyname = no
; then
29327 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29328 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29329 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 ac_check_lib_save_LIBS
=$LIBS
29334 cat >conftest.
$ac_ext <<_ACEOF
29337 cat confdefs.h
>>conftest.
$ac_ext
29338 cat >>conftest.
$ac_ext <<_ACEOF
29339 /* end confdefs.h. */
29341 /* Override any gcc2 internal prototype to avoid an error. */
29345 /* We use char because int might match the return type of a gcc2
29346 builtin and then its argument prototype would still apply. */
29347 char gethostbyname ();
29356 rm -f conftest.
$ac_objext conftest
$ac_exeext
29357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29358 (eval $ac_link) 2>conftest.er1
29360 grep -v '^ *+' conftest.er1
>conftest.err
29362 cat conftest.err
>&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); } &&
29365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29367 (eval $ac_try) 2>&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); }; } &&
29371 { ac_try
='test -s conftest$ac_exeext'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; }; then
29377 ac_cv_lib_nsl_gethostbyname
=yes
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.
$ac_ext >&5
29382 ac_cv_lib_nsl_gethostbyname
=no
29384 rm -f conftest.err conftest.
$ac_objext \
29385 conftest
$ac_exeext conftest.
$ac_ext
29386 LIBS
=$ac_check_lib_save_LIBS
29388 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29389 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29390 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29394 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29395 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29396 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29397 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 ac_check_lib_save_LIBS
=$LIBS
29402 cat >conftest.
$ac_ext <<_ACEOF
29405 cat confdefs.h
>>conftest.
$ac_ext
29406 cat >>conftest.
$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29409 /* Override any gcc2 internal prototype to avoid an error. */
29413 /* We use char because int might match the return type of a gcc2
29414 builtin and then its argument prototype would still apply. */
29415 char gethostbyname ();
29424 rm -f conftest.
$ac_objext conftest
$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>conftest.er1
29428 grep -v '^ *+' conftest.er1
>conftest.err
29430 cat conftest.err
>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; } &&
29439 { ac_try
='test -s conftest$ac_exeext'
29440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29441 (eval $ac_try) 2>&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); }; }; then
29445 ac_cv_lib_bsd_gethostbyname
=yes
29447 echo "$as_me: failed program was:" >&5
29448 sed 's/^/| /' conftest.
$ac_ext >&5
29450 ac_cv_lib_bsd_gethostbyname
=no
29452 rm -f conftest.err conftest.
$ac_objext \
29453 conftest
$ac_exeext conftest.
$ac_ext
29454 LIBS
=$ac_check_lib_save_LIBS
29456 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29457 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29458 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29459 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29466 # socket/setsockopt and other routines are undefined under SCO ODT
29467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29468 # on later versions), says Simon Leinen: it contains gethostby*
29469 # variants that don't use the name server (or something). -lsocket
29470 # must be given before -lnsl if both are needed. We assume that
29471 # if connect needs -lnsl, so does gethostbyname.
29472 echo "$as_me:$LINENO: checking for connect" >&5
29473 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29474 if test "${ac_cv_func_connect+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 cat >conftest.
$ac_ext <<_ACEOF
29480 cat confdefs.h
>>conftest.
$ac_ext
29481 cat >>conftest.
$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29485 #define connect innocuous_connect
29487 /* System header to define __stub macros and hopefully few prototypes,
29488 which can conflict with char connect (); below.
29489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29490 <limits.h> exists even on freestanding compilers. */
29493 # include <limits.h>
29495 # include <assert.h>
29500 /* Override any gcc2 internal prototype to avoid an error. */
29505 /* We use char because int might match the return type of a gcc2
29506 builtin and then its argument prototype would still apply. */
29508 /* The GNU C library defines this for functions which it implements
29509 to always fail with ENOSYS. Some functions are actually named
29510 something starting with __ and the normal name is an alias. */
29511 #if defined (__stub_connect) || defined (__stub___connect)
29514 char (*f) () = connect;
29523 return f != connect;
29528 rm -f conftest.
$ac_objext conftest
$ac_exeext
29529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29530 (eval $ac_link) 2>conftest.er1
29532 grep -v '^ *+' conftest.er1
>conftest.err
29534 cat conftest.err
>&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); } &&
29537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539 (eval $ac_try) 2>&5
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); }; } &&
29543 { ac_try
='test -s conftest$ac_exeext'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; }; then
29549 ac_cv_func_connect
=yes
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.
$ac_ext >&5
29554 ac_cv_func_connect
=no
29556 rm -f conftest.err conftest.
$ac_objext \
29557 conftest
$ac_exeext conftest.
$ac_ext
29559 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29560 echo "${ECHO_T}$ac_cv_func_connect" >&6
29562 if test $ac_cv_func_connect = no
; then
29563 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29564 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29565 if test "${ac_cv_lib_socket_connect+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 ac_check_lib_save_LIBS
=$LIBS
29569 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29570 cat >conftest.
$ac_ext <<_ACEOF
29573 cat confdefs.h
>>conftest.
$ac_ext
29574 cat >>conftest.
$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29577 /* Override any gcc2 internal prototype to avoid an error. */
29581 /* We use char because int might match the return type of a gcc2
29582 builtin and then its argument prototype would still apply. */
29592 rm -f conftest.
$ac_objext conftest
$ac_exeext
29593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29594 (eval $ac_link) 2>conftest.er1
29596 grep -v '^ *+' conftest.er1
>conftest.err
29598 cat conftest.err
>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; } &&
29607 { ac_try
='test -s conftest$ac_exeext'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; }; then
29613 ac_cv_lib_socket_connect
=yes
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.
$ac_ext >&5
29618 ac_cv_lib_socket_connect
=no
29620 rm -f conftest.err conftest.
$ac_objext \
29621 conftest
$ac_exeext conftest.
$ac_ext
29622 LIBS
=$ac_check_lib_save_LIBS
29624 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29625 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29626 if test $ac_cv_lib_socket_connect = yes; then
29627 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29632 # Guillermo Gomez says -lposix is necessary on A/UX.
29633 echo "$as_me:$LINENO: checking for remove" >&5
29634 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29635 if test "${ac_cv_func_remove+set}" = set; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29638 cat >conftest.
$ac_ext <<_ACEOF
29641 cat confdefs.h
>>conftest.
$ac_ext
29642 cat >>conftest.
$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29644 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29646 #define remove innocuous_remove
29648 /* System header to define __stub macros and hopefully few prototypes,
29649 which can conflict with char remove (); below.
29650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29651 <limits.h> exists even on freestanding compilers. */
29654 # include <limits.h>
29656 # include <assert.h>
29661 /* Override any gcc2 internal prototype to avoid an error. */
29666 /* We use char because int might match the return type of a gcc2
29667 builtin and then its argument prototype would still apply. */
29669 /* The GNU C library defines this for functions which it implements
29670 to always fail with ENOSYS. Some functions are actually named
29671 something starting with __ and the normal name is an alias. */
29672 #if defined (__stub_remove) || defined (__stub___remove)
29675 char (*f) () = remove;
29684 return f != remove;
29689 rm -f conftest.
$ac_objext conftest
$ac_exeext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29691 (eval $ac_link) 2>conftest.er1
29693 grep -v '^ *+' conftest.er1
>conftest.err
29695 cat conftest.err
>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try
='test -s conftest$ac_exeext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 ac_cv_func_remove
=yes
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.
$ac_ext >&5
29715 ac_cv_func_remove
=no
29717 rm -f conftest.err conftest.
$ac_objext \
29718 conftest
$ac_exeext conftest.
$ac_ext
29720 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29721 echo "${ECHO_T}$ac_cv_func_remove" >&6
29723 if test $ac_cv_func_remove = no
; then
29724 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29725 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29726 if test "${ac_cv_lib_posix_remove+set}" = set; then
29727 echo $ECHO_N "(cached) $ECHO_C" >&6
29729 ac_check_lib_save_LIBS
=$LIBS
29730 LIBS
="-lposix $LIBS"
29731 cat >conftest.
$ac_ext <<_ACEOF
29734 cat confdefs.h
>>conftest.
$ac_ext
29735 cat >>conftest.
$ac_ext <<_ACEOF
29736 /* end confdefs.h. */
29738 /* Override any gcc2 internal prototype to avoid an error. */
29742 /* We use char because int might match the return type of a gcc2
29743 builtin and then its argument prototype would still apply. */
29753 rm -f conftest.
$ac_objext conftest
$ac_exeext
29754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29755 (eval $ac_link) 2>conftest.er1
29757 grep -v '^ *+' conftest.er1
>conftest.err
29759 cat conftest.err
>&5
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
29762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; } &&
29768 { ac_try
='test -s conftest$ac_exeext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774 ac_cv_lib_posix_remove
=yes
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.
$ac_ext >&5
29779 ac_cv_lib_posix_remove
=no
29781 rm -f conftest.err conftest.
$ac_objext \
29782 conftest
$ac_exeext conftest.
$ac_ext
29783 LIBS
=$ac_check_lib_save_LIBS
29785 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29786 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29787 if test $ac_cv_lib_posix_remove = yes; then
29788 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29793 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29794 echo "$as_me:$LINENO: checking for shmat" >&5
29795 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29796 if test "${ac_cv_func_shmat+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 cat >conftest.
$ac_ext <<_ACEOF
29802 cat confdefs.h
>>conftest.
$ac_ext
29803 cat >>conftest.
$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29805 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29807 #define shmat innocuous_shmat
29809 /* System header to define __stub macros and hopefully few prototypes,
29810 which can conflict with char shmat (); below.
29811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29812 <limits.h> exists even on freestanding compilers. */
29815 # include <limits.h>
29817 # include <assert.h>
29822 /* Override any gcc2 internal prototype to avoid an error. */
29827 /* We use char because int might match the return type of a gcc2
29828 builtin and then its argument prototype would still apply. */
29830 /* The GNU C library defines this for functions which it implements
29831 to always fail with ENOSYS. Some functions are actually named
29832 something starting with __ and the normal name is an alias. */
29833 #if defined (__stub_shmat) || defined (__stub___shmat)
29836 char (*f) () = shmat;
29850 rm -f conftest.
$ac_objext conftest
$ac_exeext
29851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29852 (eval $ac_link) 2>conftest.er1
29854 grep -v '^ *+' conftest.er1
>conftest.err
29856 cat conftest.err
>&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } &&
29859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29861 (eval $ac_try) 2>&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); }; } &&
29865 { ac_try
='test -s conftest$ac_exeext'
29866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29867 (eval $ac_try) 2>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; }; then
29871 ac_cv_func_shmat
=yes
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.
$ac_ext >&5
29876 ac_cv_func_shmat
=no
29878 rm -f conftest.err conftest.
$ac_objext \
29879 conftest
$ac_exeext conftest.
$ac_ext
29881 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29882 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29884 if test $ac_cv_func_shmat = no
; then
29885 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29886 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29887 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29890 ac_check_lib_save_LIBS
=$LIBS
29892 cat >conftest.
$ac_ext <<_ACEOF
29895 cat confdefs.h
>>conftest.
$ac_ext
29896 cat >>conftest.
$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29899 /* Override any gcc2 internal prototype to avoid an error. */
29903 /* We use char because int might match the return type of a gcc2
29904 builtin and then its argument prototype would still apply. */
29914 rm -f conftest.
$ac_objext conftest
$ac_exeext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29916 (eval $ac_link) 2>conftest.er1
29918 grep -v '^ *+' conftest.er1
>conftest.err
29920 cat conftest.err
>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; } &&
29929 { ac_try
='test -s conftest$ac_exeext'
29930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29931 (eval $ac_try) 2>&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; }; then
29935 ac_cv_lib_ipc_shmat
=yes
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.
$ac_ext >&5
29940 ac_cv_lib_ipc_shmat
=no
29942 rm -f conftest.err conftest.
$ac_objext \
29943 conftest
$ac_exeext conftest.
$ac_ext
29944 LIBS
=$ac_check_lib_save_LIBS
29946 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29947 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29948 if test $ac_cv_lib_ipc_shmat = yes; then
29949 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29955 # Check for libraries that X11R6 Xt/Xaw programs need.
29956 ac_save_LDFLAGS
=$LDFLAGS
29957 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29958 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29959 # check for ICE first), but we must link in the order -lSM -lICE or
29960 # we get undefined symbols. So assume we have SM if we have ICE.
29961 # These have to be linked with before -lX11, unlike the other
29962 # libraries we check for below, so use a different variable.
29963 # John Interrante, Karl Berry
29964 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29965 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29966 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29967 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 ac_check_lib_save_LIBS
=$LIBS
29970 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29971 cat >conftest.
$ac_ext <<_ACEOF
29974 cat confdefs.h
>>conftest.
$ac_ext
29975 cat >>conftest.
$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29978 /* Override any gcc2 internal prototype to avoid an error. */
29982 /* We use char because int might match the return type of a gcc2
29983 builtin and then its argument prototype would still apply. */
29984 char IceConnectionNumber ();
29988 IceConnectionNumber ();
29993 rm -f conftest.
$ac_objext conftest
$ac_exeext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29995 (eval $ac_link) 2>conftest.er1
29997 grep -v '^ *+' conftest.er1
>conftest.err
29999 cat conftest.err
>&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try
='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 ac_cv_lib_ICE_IceConnectionNumber
=yes
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.
$ac_ext >&5
30019 ac_cv_lib_ICE_IceConnectionNumber
=no
30021 rm -f conftest.err conftest.
$ac_objext \
30022 conftest
$ac_exeext conftest.
$ac_ext
30023 LIBS
=$ac_check_lib_save_LIBS
30025 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30026 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30027 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30028 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30031 LDFLAGS
=$ac_save_LDFLAGS
30036 if test "$no_x" = "yes"; then
30037 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30038 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30039 { (exit 1); exit 1; }; }
30042 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30043 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30044 AFMINSTALL
=afminstall
30045 COMPILED_X_PROGRAM
=0
30049 if test "$wxUSE_X11" = 1; then
30050 if test "$wxUSE_NANOX" = "yes"; then
30051 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30052 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30053 if test "x$MICROWIN" = x
; then
30054 echo "$as_me:$LINENO: result: not found" >&5
30055 echo "${ECHO_T}not found" >&6
30056 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30057 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30058 { (exit 1); exit 1; }; }
30060 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30061 echo "${ECHO_T}$MICROWIN" >&6
30062 cat >>confdefs.h
<<\_ACEOF
30063 #define wxUSE_NANOX 1
30069 if test "$wxUSE_UNICODE" = "yes"; then
30072 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30073 if test -n "$ac_tool_prefix"; then
30074 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30075 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30076 echo "$as_me:$LINENO: checking for $ac_word" >&5
30077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30078 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30081 case $PKG_CONFIG in
30083 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30087 for as_dir
in $PATH
30090 test -z "$as_dir" && as_dir
=.
30091 for ac_exec_ext
in '' $ac_executable_extensions; do
30092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30093 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30103 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30105 if test -n "$PKG_CONFIG"; then
30106 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30107 echo "${ECHO_T}$PKG_CONFIG" >&6
30109 echo "$as_me:$LINENO: result: no" >&5
30110 echo "${ECHO_T}no" >&6
30114 if test -z "$ac_cv_path_PKG_CONFIG"; then
30115 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30116 # Extract the first word of "pkg-config", so it can be a program name with args.
30117 set dummy pkg
-config; ac_word
=$2
30118 echo "$as_me:$LINENO: checking for $ac_word" >&5
30119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30120 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30121 echo $ECHO_N "(cached) $ECHO_C" >&6
30123 case $ac_pt_PKG_CONFIG in
30125 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30129 for as_dir
in $PATH
30132 test -z "$as_dir" && as_dir
=.
30133 for ac_exec_ext
in '' $ac_executable_extensions; do
30134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30135 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30145 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30147 if test -n "$ac_pt_PKG_CONFIG"; then
30148 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30149 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30151 echo "$as_me:$LINENO: result: no" >&5
30152 echo "${ECHO_T}no" >&6
30155 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30157 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30161 if test -n "$PKG_CONFIG"; then
30162 _pkg_min_version
=0.9.0
30163 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30164 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30166 echo "$as_me:$LINENO: result: yes" >&5
30167 echo "${ECHO_T}yes" >&6
30169 echo "$as_me:$LINENO: result: no" >&5
30170 echo "${ECHO_T}no" >&6
30177 echo "$as_me:$LINENO: checking for PANGOX" >&5
30178 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30180 if test -n "$PKG_CONFIG"; then
30181 if test -n "$PANGOX_CFLAGS"; then
30182 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30184 if test -n "$PKG_CONFIG" && \
30185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30186 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; then
30190 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30198 if test -n "$PKG_CONFIG"; then
30199 if test -n "$PANGOX_LIBS"; then
30200 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30202 if test -n "$PKG_CONFIG" && \
30203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30204 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; then
30208 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30219 if test $pkg_failed = yes; then
30221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30222 _pkg_short_errors_supported
=yes
30224 _pkg_short_errors_supported
=no
30226 if test $_pkg_short_errors_supported = yes; then
30227 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30229 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30231 # Put the nasty error message in config.log where it belongs
30232 echo "$PANGOX_PKG_ERRORS" >&5
30235 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30236 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30237 { (exit 1); exit 1; }; }
30240 elif test $pkg_failed = untried
; then
30242 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30243 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30244 { (exit 1); exit 1; }; }
30248 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30249 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30250 echo "$as_me:$LINENO: result: yes" >&5
30251 echo "${ECHO_T}yes" >&6
30253 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30254 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30259 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30260 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30262 if test -n "$PKG_CONFIG"; then
30263 if test -n "$PANGOFT2_CFLAGS"; then
30264 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30266 if test -n "$PKG_CONFIG" && \
30267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30268 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; then
30272 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30280 if test -n "$PKG_CONFIG"; then
30281 if test -n "$PANGOFT2_LIBS"; then
30282 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30284 if test -n "$PKG_CONFIG" && \
30285 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30286 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; then
30290 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30301 if test $pkg_failed = yes; then
30303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30304 _pkg_short_errors_supported
=yes
30306 _pkg_short_errors_supported
=no
30308 if test $_pkg_short_errors_supported = yes; then
30309 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30311 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30313 # Put the nasty error message in config.log where it belongs
30314 echo "$PANGOFT2_PKG_ERRORS" >&5
30317 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30318 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30319 wxUSE_PRINTING_ARCHITECTURE
="no"
30322 elif test $pkg_failed = untried
; then
30324 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30325 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30326 wxUSE_PRINTING_ARCHITECTURE
="no"
30330 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30331 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30332 echo "$as_me:$LINENO: result: yes" >&5
30333 echo "${ECHO_T}yes" >&6
30335 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30336 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30341 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30342 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30344 if test -n "$PKG_CONFIG"; then
30345 if test -n "$PANGOXFT_CFLAGS"; then
30346 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30348 if test -n "$PKG_CONFIG" && \
30349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30350 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; then
30354 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30362 if test -n "$PKG_CONFIG"; then
30363 if test -n "$PANGOXFT_LIBS"; then
30364 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30366 if test -n "$PKG_CONFIG" && \
30367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30368 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; then
30372 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30383 if test $pkg_failed = yes; then
30385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30386 _pkg_short_errors_supported
=yes
30388 _pkg_short_errors_supported
=no
30390 if test $_pkg_short_errors_supported = yes; then
30391 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30393 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30395 # Put the nasty error message in config.log where it belongs
30396 echo "$PANGOXFT_PKG_ERRORS" >&5
30399 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30400 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30403 elif test $pkg_failed = untried
; then
30405 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30406 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30410 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30411 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30412 echo "$as_me:$LINENO: result: yes" >&5
30413 echo "${ECHO_T}yes" >&6
30415 cat >>confdefs.h
<<\_ACEOF
30416 #define HAVE_PANGO_XFT 1
30419 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30420 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30423 save_CXXFLAGS
="$CXXFLAGS"
30425 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30426 LIBS
="$LIBS $PANGOX_LIBS"
30428 for ac_func
in pango_font_family_is_monospace
30430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30431 echo "$as_me:$LINENO: checking for $ac_func" >&5
30432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30433 if eval "test \"\${$as_ac_var+set}\" = set"; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30436 cat >conftest.
$ac_ext <<_ACEOF
30439 cat confdefs.h
>>conftest.
$ac_ext
30440 cat >>conftest.
$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30444 #define $ac_func innocuous_$ac_func
30446 /* System header to define __stub macros and hopefully few prototypes,
30447 which can conflict with char $ac_func (); below.
30448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30449 <limits.h> exists even on freestanding compilers. */
30452 # include <limits.h>
30454 # include <assert.h>
30459 /* Override any gcc2 internal prototype to avoid an error. */
30464 /* We use char because int might match the return type of a gcc2
30465 builtin and then its argument prototype would still apply. */
30467 /* The GNU C library defines this for functions which it implements
30468 to always fail with ENOSYS. Some functions are actually named
30469 something starting with __ and the normal name is an alias. */
30470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30473 char (*f) () = $ac_func;
30482 return f != $ac_func;
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30491 grep -v '^ *+' conftest.er1
>conftest.err
30493 cat conftest.err
>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; } &&
30502 { ac_try
='test -s conftest$ac_exeext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508 eval "$as_ac_var=yes"
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.
$ac_ext >&5
30513 eval "$as_ac_var=no"
30515 rm -f conftest.err conftest.
$ac_objext \
30516 conftest
$ac_exeext conftest.
$ac_ext
30518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30520 if test `eval echo '${'$as_ac_var'}'` = yes; then
30521 cat >>confdefs.h
<<_ACEOF
30522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30528 CXXFLAGS
="$save_CXXFLAGS"
30532 wxUSE_UNIVERSAL
="yes"
30534 if test "$wxUSE_NANOX" = "yes"; then
30535 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30536 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"
30537 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30539 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30546 if test "$wxUSE_MOTIF" = 1; then
30547 if test "$wxUSE_UNICODE" = "yes"; then
30548 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30549 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30550 { (exit 1); exit 1; }; }
30553 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30554 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30557 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30559 if test -f "$ac_dir/Xm/Xm.h"; then
30560 ac_find_includes
=$ac_dir
30565 if test "$ac_find_includes" != "" ; then
30566 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30567 echo "${ECHO_T}found in $ac_find_includes" >&6
30569 if test "x$ac_find_includes" = "x/usr/include"; then
30570 ac_path_to_include
=""
30572 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30574 if test $result = 0; then
30575 ac_path_to_include
=""
30577 ac_path_to_include
=" -I$ac_find_includes"
30581 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30583 save_CXXFLAGS
=$CXXFLAGS
30584 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30586 cat >conftest.
$ac_ext <<_ACEOF
30589 cat confdefs.h
>>conftest.
$ac_ext
30590 cat >>conftest.
$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30600 version = xmUseVersion;
30606 rm -f conftest.
$ac_objext
30607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30608 (eval $ac_compile) 2>conftest.er1
30610 grep -v '^ *+' conftest.er1
>conftest.err
30612 cat conftest.err
>&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } &&
30615 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30617 (eval $ac_try) 2>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); }; } &&
30621 { ac_try
='test -s conftest.$ac_objext'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; }; then
30628 echo "$as_me:$LINENO: result: found in default search path" >&5
30629 echo "${ECHO_T}found in default search path" >&6
30630 COMPILED_X_PROGRAM
=1
30633 echo "$as_me: failed program was:" >&5
30634 sed 's/^/| /' conftest.
$ac_ext >&5
30637 echo "$as_me:$LINENO: result: no" >&5
30638 echo "${ECHO_T}no" >&6
30639 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30640 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30641 { (exit 1); exit 1; }; }
30645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30647 CXXFLAGS
=$save_CXXFLAGS
30651 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30652 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30655 for ac_dir
in $SEARCH_LIB;
30657 for ac_extension
in a so sl dylib dll.a
; do
30658 if test -f "$ac_dir/libXm.$ac_extension"; then
30659 ac_find_libraries
=$ac_dir
30666 if test "x$ac_find_libraries" != "x" ; then
30667 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30668 echo "${ECHO_T}found in $ac_find_libraries" >&6
30671 if test "$ac_find_libraries" = "default location"; then
30674 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30676 if test $result = 0; then
30679 ac_path_to_link
=" -L$ac_find_libraries"
30683 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30685 save_CXXFLAGS
=$CXXFLAGS
30686 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30688 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30690 cat >conftest.
$ac_ext <<_ACEOF
30693 cat confdefs.h
>>conftest.
$ac_ext
30694 cat >>conftest.
$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30704 version = xmUseVersion;
30710 rm -f conftest.
$ac_objext conftest
$ac_exeext
30711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30712 (eval $ac_link) 2>conftest.er1
30714 grep -v '^ *+' conftest.er1
>conftest.err
30716 cat conftest.err
>&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); } &&
30719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try
='test -s conftest$ac_exeext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30732 echo "$as_me:$LINENO: result: found in default search path" >&5
30733 echo "${ECHO_T}found in default search path" >&6
30734 COMPILED_X_PROGRAM
=1
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.
$ac_ext >&5
30741 echo "$as_me:$LINENO: result: no" >&5
30742 echo "${ECHO_T}no" >&6
30743 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30744 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30745 { (exit 1); exit 1; }; }
30749 rm -f conftest.err conftest.
$ac_objext \
30750 conftest
$ac_exeext conftest.
$ac_ext
30752 CXXFLAGS
=$save_CXXFLAGS
30756 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30757 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30761 for libp
in "" " -lXp"; do
30762 if test "$libs_found" = "0"; then
30763 for libsm_ice
in "" " -lSM -lICE"; do
30764 if test "$libs_found" = "0"; then
30766 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30767 save_CXXFLAGS
=$CXXFLAGS
30768 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30770 cat >conftest.
$ac_ext <<_ACEOF
30773 cat confdefs.h
>>conftest.
$ac_ext
30774 cat >>conftest.
$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30778 #include <Xm/List.h>
30784 XmString string = NULL;
30787 XmListAddItem(w, string, position);
30793 rm -f conftest.
$ac_objext conftest
$ac_exeext
30794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30795 (eval $ac_link) 2>conftest.er1
30797 grep -v '^ *+' conftest.er1
>conftest.err
30799 cat conftest.err
>&5
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); } &&
30802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30804 (eval $ac_try) 2>&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); }; } &&
30808 { ac_try
='test -s conftest$ac_exeext'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30816 libsm_ice_link
="$libsm_ice"
30817 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30818 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.
$ac_ext >&5
30828 rm -f conftest.err conftest.
$ac_objext \
30829 conftest
$ac_exeext conftest.
$ac_ext
30832 CXXFLAGS
=$save_CXXFLAGS
30838 if test "$libs_found" = "0"; then
30839 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30840 echo "${ECHO_T}can't find the right libraries" >&6
30841 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30842 echo "$as_me: error: can't link a simple motif program" >&2;}
30843 { (exit 1); exit 1; }; }
30846 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30847 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30848 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30849 echo $ECHO_N "(cached) $ECHO_C" >&6
30851 ac_check_lib_save_LIBS
=$LIBS
30853 cat >conftest.
$ac_ext <<_ACEOF
30856 cat confdefs.h
>>conftest.
$ac_ext
30857 cat >>conftest.
$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30860 /* Override any gcc2 internal prototype to avoid an error. */
30864 /* We use char because int might match the return type of a gcc2
30865 builtin and then its argument prototype would still apply. */
30866 char SgCreateList ();
30875 rm -f conftest.
$ac_objext conftest
$ac_exeext
30876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30877 (eval $ac_link) 2>conftest.er1
30879 grep -v '^ *+' conftest.er1
>conftest.err
30881 cat conftest.err
>&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30886 (eval $ac_try) 2>&5
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); }; } &&
30890 { ac_try
='test -s conftest$ac_exeext'
30891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30892 (eval $ac_try) 2>&5
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); }; }; then
30896 ac_cv_lib_Sgm_SgCreateList
=yes
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.
$ac_ext >&5
30901 ac_cv_lib_Sgm_SgCreateList
=no
30903 rm -f conftest.err conftest.
$ac_objext \
30904 conftest
$ac_exeext conftest.
$ac_ext
30905 LIBS
=$ac_check_lib_save_LIBS
30907 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30908 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30909 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30910 libsgm_link
=" -lSgm"
30914 save_CXXFLAGS
=$CXXFLAGS
30915 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30917 echo "$as_me:$LINENO: checking for Motif 2" >&5
30918 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30919 if test "${wx_cv_lib_motif2+set}" = set; then
30920 echo $ECHO_N "(cached) $ECHO_C" >&6
30922 cat >conftest.
$ac_ext <<_ACEOF
30925 cat confdefs.h
>>conftest.
$ac_ext
30926 cat >>conftest.
$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30935 #if XmVersion < 2000
30943 rm -f conftest.
$ac_objext
30944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30945 (eval $ac_compile) 2>conftest.er1
30947 grep -v '^ *+' conftest.er1
>conftest.err
30949 cat conftest.err
>&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } &&
30952 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; } &&
30958 { ac_try
='test -s conftest.$ac_objext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 wx_cv_lib_motif2
="yes"
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.
$ac_ext >&5
30969 wx_cv_lib_motif2
="no"
30971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30973 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30974 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30975 if test "$wx_cv_lib_motif2" = "yes"; then
30976 cat >>confdefs.h
<<\_ACEOF
30977 #define __WXMOTIF20__ 1
30981 cat >>confdefs.h
<<\_ACEOF
30982 #define __WXMOTIF20__ 0
30987 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30988 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30989 if test "${wx_cv_lib_lesstif+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 cat >conftest.
$ac_ext <<_ACEOF
30995 cat confdefs.h
>>conftest.
$ac_ext
30996 cat >>conftest.
$ac_ext <<_ACEOF
30997 /* end confdefs.h. */
31005 #if !defined(LesstifVersion) || LesstifVersion <= 0
31013 rm -f conftest.
$ac_objext
31014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31015 (eval $ac_compile) 2>conftest.er1
31017 grep -v '^ *+' conftest.er1
>conftest.err
31019 cat conftest.err
>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); } &&
31022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try
='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 wx_cv_lib_lesstif
="yes"
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.
$ac_ext >&5
31039 wx_cv_lib_lesstif
="no"
31041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31044 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31045 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31046 if test "$wx_cv_lib_lesstif" = "yes"; then
31047 cat >>confdefs.h
<<\_ACEOF
31048 #define __WXLESSTIF__ 1
31052 cat >>confdefs.h
<<\_ACEOF
31053 #define __WXLESSTIF__ 0
31058 CXXFLAGS
=$save_CXXFLAGS
31060 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31065 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31066 if test "$wxUSE_LIBXPM" = "sys"; then
31067 echo "$as_me:$LINENO: checking for Xpm library" >&5
31068 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31071 for ac_dir
in $SEARCH_LIB;
31073 for ac_extension
in a so sl dylib dll.a
; do
31074 if test -f "$ac_dir/libXpm.$ac_extension"; then
31075 ac_find_libraries
=$ac_dir
31081 if test "$ac_find_libraries" != "" ; then
31083 if test "$ac_find_libraries" = "default location"; then
31086 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31088 if test $result = 0; then
31091 ac_path_to_link
=" -L$ac_find_libraries"
31095 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31096 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31097 echo "${ECHO_T}found in $ac_find_libraries" >&6
31099 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31100 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31101 if test "${wx_cv_x11_xpm_h+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 save_CXXFLAGS
=$CXXFLAGS
31106 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31108 cat >conftest.
$ac_ext <<_ACEOF
31111 cat confdefs.h
>>conftest.
$ac_ext
31112 cat >>conftest.
$ac_ext <<_ACEOF
31113 /* end confdefs.h. */
31115 #include <X11/xpm.h>
31122 version = XpmLibraryVersion();
31128 rm -f conftest.
$ac_objext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31130 (eval $ac_compile) 2>conftest.er1
31132 grep -v '^ *+' conftest.er1
>conftest.err
31134 cat conftest.err
>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try
='test -s conftest.$ac_objext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 wx_cv_x11_xpm_h
=yes
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.
$ac_ext >&5
31157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31159 CXXFLAGS
=$save_CXXFLAGS
31163 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31164 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31166 if test $wx_cv_x11_xpm_h = "yes"; then
31167 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31168 cat >>confdefs.h
<<\_ACEOF
31169 #define wxHAVE_LIB_XPM 1
31173 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31174 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31180 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31181 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31182 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31183 echo $ECHO_N "(cached) $ECHO_C" >&6
31185 ac_check_lib_save_LIBS
=$LIBS
31186 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31187 cat >conftest.
$ac_ext <<_ACEOF
31190 cat confdefs.h
>>conftest.
$ac_ext
31191 cat >>conftest.
$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31194 /* Override any gcc2 internal prototype to avoid an error. */
31198 /* We use char because int might match the return type of a gcc2
31199 builtin and then its argument prototype would still apply. */
31200 char XShapeQueryExtension ();
31204 XShapeQueryExtension ();
31209 rm -f conftest.
$ac_objext conftest
$ac_exeext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31211 (eval $ac_link) 2>conftest.er1
31213 grep -v '^ *+' conftest.er1
>conftest.err
31215 cat conftest.err
>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } &&
31218 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; } &&
31224 { ac_try
='test -s conftest$ac_exeext'
31225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31226 (eval $ac_try) 2>&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; }; then
31230 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.
$ac_ext >&5
31235 ac_cv_lib_Xext_XShapeQueryExtension
=no
31237 rm -f conftest.err conftest.
$ac_objext \
31238 conftest
$ac_exeext conftest.
$ac_ext
31239 LIBS
=$ac_check_lib_save_LIBS
31241 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31242 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31243 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31245 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31251 if test "$wxHAVE_XEXT_LIB" = 1; then
31252 save_CXXFLAGS
="$CXXFLAGS"
31253 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31255 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31256 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31257 cat >conftest.
$ac_ext <<_ACEOF
31260 cat confdefs.h
>>conftest.
$ac_ext
31261 cat >>conftest.
$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31264 #include <X11/Xlib.h>
31265 #include <X11/extensions/shape.h>
31271 int dummy1, dummy2;
31272 XShapeQueryExtension((Display*)NULL,
31273 (int*)NULL, (int*)NULL);
31279 rm -f conftest.
$ac_objext
31280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31281 (eval $ac_compile) 2>conftest.er1
31283 grep -v '^ *+' conftest.er1
>conftest.err
31285 cat conftest.err
>&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); } &&
31288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; } &&
31294 { ac_try
='test -s conftest.$ac_objext'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31301 cat >>confdefs.h
<<\_ACEOF
31302 #define HAVE_XSHAPE 1
31305 echo "$as_me:$LINENO: result: found" >&5
31306 echo "${ECHO_T}found" >&6
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.
$ac_ext >&5
31313 echo "$as_me:$LINENO: result: not found" >&5
31314 echo "${ECHO_T}not found" >&6
31317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31318 CXXFLAGS
="$save_CXXFLAGS"
31323 if test "$wxUSE_MAC" = 1; then
31324 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31325 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31326 if test "$GCC" = yes; then
31327 echo "$as_me:$LINENO: result: gcc" >&5
31328 echo "${ECHO_T}gcc" >&6
31329 CPPFLAGS_PASCAL
="-fpascal-strings"
31330 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31331 echo "$as_me:$LINENO: result: xlc" >&5
31332 echo "${ECHO_T}xlc" >&6
31333 CPPFLAGS_PASCAL
="-qmacpstr"
31335 echo "$as_me:$LINENO: result: none" >&5
31336 echo "${ECHO_T}none" >&6
31339 if test "x$wxUSE_UNIX" = "xyes"; then
31340 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31342 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31347 WXBASEPORT
="_carbon"
31350 if test "$wxUSE_COCOA" = 1; then
31355 if test "$wxUSE_PM" = 1; then
31358 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31359 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31360 if test "${wx_cv_spbcdata+set}" = set; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31364 cat >conftest.
$ac_ext <<_ACEOF
31367 cat confdefs.h
>>conftest.
$ac_ext
31368 cat >>conftest.
$ac_ext <<_ACEOF
31369 /* end confdefs.h. */
31384 rm -f conftest.
$ac_objext
31385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31386 (eval $ac_compile) 2>conftest.er1
31388 grep -v '^ *+' conftest.er1
>conftest.err
31390 cat conftest.err
>&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); } &&
31393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31395 (eval $ac_try) 2>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; } &&
31399 { ac_try
='test -s conftest.$ac_objext'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; }; then
31407 echo "$as_me: failed program was:" >&5
31408 sed 's/^/| /' conftest.
$ac_ext >&5
31413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31417 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31418 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31420 if test $wx_cv_spbcdata = "yes"; then
31421 cat >>confdefs.h
<<\_ACEOF
31422 #define HAVE_SPBCDATA 1
31428 if test "$TOOLKIT" = "PM" ; then
31431 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31434 if test "$wxUSE_UNIVERSAL" = "yes"; then
31435 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31439 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31440 DISTDIR
="wx\$(TOOLKIT)"
31446 if test "$USE_WIN32" = 1 ; then
31450 GUIDIST
="BASE_DIST"
31455 if test "$wxUSE_GUI" = "yes"; then
31456 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31458 for ac_header
in X
11/Xlib.h
31460 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31462 echo "$as_me:$LINENO: checking for $ac_header" >&5
31463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31470 # Is the header compilable?
31471 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31472 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31473 cat >conftest.
$ac_ext <<_ACEOF
31476 cat confdefs.h
>>conftest.
$ac_ext
31477 cat >>conftest.
$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31479 $ac_includes_default
31480 #include <$ac_header>
31482 rm -f conftest.
$ac_objext
31483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31484 (eval $ac_compile) 2>conftest.er1
31486 grep -v '^ *+' conftest.er1
>conftest.err
31488 cat conftest.err
>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } &&
31491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; } &&
31497 { ac_try
='test -s conftest.$ac_objext'
31498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31499 (eval $ac_try) 2>&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; }; then
31503 ac_header_compiler
=yes
31505 echo "$as_me: failed program was:" >&5
31506 sed 's/^/| /' conftest.
$ac_ext >&5
31508 ac_header_compiler
=no
31510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31512 echo "${ECHO_T}$ac_header_compiler" >&6
31514 # Is the header present?
31515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31517 cat >conftest.
$ac_ext <<_ACEOF
31520 cat confdefs.h
>>conftest.
$ac_ext
31521 cat >>conftest.
$ac_ext <<_ACEOF
31522 /* end confdefs.h. */
31523 #include <$ac_header>
31525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31528 grep -v '^ *+' conftest.er1
>conftest.err
31530 cat conftest.err
>&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); } >/dev
/null
; then
31533 if test -s conftest.err
; then
31534 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31535 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31542 if test -z "$ac_cpp_err"; then
31543 ac_header_preproc
=yes
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.
$ac_ext >&5
31548 ac_header_preproc
=no
31550 rm -f conftest.err conftest.
$ac_ext
31551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31552 echo "${ECHO_T}$ac_header_preproc" >&6
31554 # So? What about this header?
31555 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31561 ac_header_preproc
=yes
31564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31578 ## ----------------------------------------- ##
31579 ## Report this to wx-dev@lists.wxwidgets.org ##
31580 ## ----------------------------------------- ##
31583 sed "s/^/$as_me: WARNING: /" >&2
31586 echo "$as_me:$LINENO: checking for $ac_header" >&5
31587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31589 echo $ECHO_N "(cached) $ECHO_C" >&6
31591 eval "$as_ac_Header=\$ac_header_preproc"
31593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31598 cat >>confdefs.h
<<_ACEOF
31599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31607 for ac_header
in X
11/XKBlib.h
31609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31610 echo "$as_me:$LINENO: checking for $ac_header" >&5
31611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31613 echo $ECHO_N "(cached) $ECHO_C" >&6
31615 cat >conftest.
$ac_ext <<_ACEOF
31618 cat confdefs.h
>>conftest.
$ac_ext
31619 cat >>conftest.
$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31622 #if HAVE_X11_XLIB_H
31623 #include <X11/Xlib.h>
31627 #include <$ac_header>
31629 rm -f conftest.
$ac_objext
31630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31631 (eval $ac_compile) 2>conftest.er1
31633 grep -v '^ *+' conftest.er1
>conftest.err
31635 cat conftest.err
>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } &&
31638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try
='test -s conftest.$ac_objext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 eval "$as_ac_Header=yes"
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.
$ac_ext >&5
31655 eval "$as_ac_Header=no"
31657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31662 cat >>confdefs.h
<<_ACEOF
31663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31678 if test "$TOOLKIT" != "MSW" ; then
31680 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31682 if test "${ac_cv_header_sql_h+set}" = set; then
31683 echo "$as_me:$LINENO: checking for sql.h" >&5
31684 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31685 if test "${ac_cv_header_sql_h+set}" = set; then
31686 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31689 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31691 # Is the header compilable?
31692 echo "$as_me:$LINENO: checking sql.h usability" >&5
31693 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31694 cat >conftest.
$ac_ext <<_ACEOF
31697 cat confdefs.h
>>conftest.
$ac_ext
31698 cat >>conftest.
$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 $ac_includes_default
31703 rm -f conftest.
$ac_objext
31704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31705 (eval $ac_compile) 2>conftest.er1
31707 grep -v '^ *+' conftest.er1
>conftest.err
31709 cat conftest.err
>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); } &&
31712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; } &&
31718 { ac_try
='test -s conftest.$ac_objext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 ac_header_compiler
=yes
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.
$ac_ext >&5
31729 ac_header_compiler
=no
31731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31733 echo "${ECHO_T}$ac_header_compiler" >&6
31735 # Is the header present?
31736 echo "$as_me:$LINENO: checking sql.h presence" >&5
31737 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31738 cat >conftest.
$ac_ext <<_ACEOF
31741 cat confdefs.h
>>conftest.
$ac_ext
31742 cat >>conftest.
$ac_ext <<_ACEOF
31743 /* end confdefs.h. */
31746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31749 grep -v '^ *+' conftest.er1
>conftest.err
31751 cat conftest.err
>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } >/dev
/null
; then
31754 if test -s conftest.err
; then
31755 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31756 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31763 if test -z "$ac_cpp_err"; then
31764 ac_header_preproc
=yes
31766 echo "$as_me: failed program was:" >&5
31767 sed 's/^/| /' conftest.
$ac_ext >&5
31769 ac_header_preproc
=no
31771 rm -f conftest.err conftest.
$ac_ext
31772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31773 echo "${ECHO_T}$ac_header_preproc" >&6
31775 # So? What about this header?
31776 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31778 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31779 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31781 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31782 ac_header_preproc
=yes
31785 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31786 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31787 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31788 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31789 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31790 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31791 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31792 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31793 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31794 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31795 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31796 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31799 ## ----------------------------------------- ##
31800 ## Report this to wx-dev@lists.wxwidgets.org ##
31801 ## ----------------------------------------- ##
31804 sed "s/^/$as_me: WARNING: /" >&2
31807 echo "$as_me:$LINENO: checking for sql.h" >&5
31808 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31809 if test "${ac_cv_header_sql_h+set}" = set; then
31810 echo $ECHO_N "(cached) $ECHO_C" >&6
31812 ac_cv_header_sql_h
=$ac_header_preproc
31814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31818 if test $ac_cv_header_sql_h = yes; then
31823 if test "x$found_sql_h" = "x1" ; then
31824 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31825 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31826 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31827 echo $ECHO_N "(cached) $ECHO_C" >&6
31829 ac_check_lib_save_LIBS
=$LIBS
31830 LIBS
="-liodbc $LIBS"
31831 cat >conftest.
$ac_ext <<_ACEOF
31834 cat confdefs.h
>>conftest.
$ac_ext
31835 cat >>conftest.
$ac_ext <<_ACEOF
31836 /* end confdefs.h. */
31838 /* Override any gcc2 internal prototype to avoid an error. */
31842 /* We use char because int might match the return type of a gcc2
31843 builtin and then its argument prototype would still apply. */
31844 char SQLAllocEnv ();
31853 rm -f conftest.
$ac_objext conftest
$ac_exeext
31854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31855 (eval $ac_link) 2>conftest.er1
31857 grep -v '^ *+' conftest.er1
>conftest.err
31859 cat conftest.err
>&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } &&
31862 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864 (eval $ac_try) 2>&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); }; } &&
31868 { ac_try
='test -s conftest$ac_exeext'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; }; then
31874 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31876 echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.
$ac_ext >&5
31879 ac_cv_lib_iodbc_SQLAllocEnv
=no
31881 rm -f conftest.err conftest.
$ac_objext \
31882 conftest
$ac_exeext conftest.
$ac_ext
31883 LIBS
=$ac_check_lib_save_LIBS
31885 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31886 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31887 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31888 ODBC_LINK
=" -liodbc"
31891 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31892 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31893 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 ac_check_lib_save_LIBS
=$LIBS
31897 LIBS
="-lunixodbc $LIBS"
31898 cat >conftest.
$ac_ext <<_ACEOF
31901 cat confdefs.h
>>conftest.
$ac_ext
31902 cat >>conftest.
$ac_ext <<_ACEOF
31903 /* end confdefs.h. */
31905 /* Override any gcc2 internal prototype to avoid an error. */
31909 /* We use char because int might match the return type of a gcc2
31910 builtin and then its argument prototype would still apply. */
31911 char SQLAllocEnv ();
31920 rm -f conftest.
$ac_objext conftest
$ac_exeext
31921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31922 (eval $ac_link) 2>conftest.er1
31924 grep -v '^ *+' conftest.er1
>conftest.err
31926 cat conftest.err
>&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } &&
31929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 (eval $ac_try) 2>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; } &&
31935 { ac_try
='test -s conftest$ac_exeext'
31936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31937 (eval $ac_try) 2>&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; }; then
31941 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.
$ac_ext >&5
31946 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31948 rm -f conftest.err conftest.
$ac_objext \
31949 conftest
$ac_exeext conftest.
$ac_ext
31950 LIBS
=$ac_check_lib_save_LIBS
31952 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31953 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31954 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31955 ODBC_LINK
=" -lunixodbc"
31958 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31959 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31960 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31963 ac_check_lib_save_LIBS
=$LIBS
31964 LIBS
="-lodbc $LIBS"
31965 cat >conftest.
$ac_ext <<_ACEOF
31968 cat confdefs.h
>>conftest.
$ac_ext
31969 cat >>conftest.
$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31972 /* Override any gcc2 internal prototype to avoid an error. */
31976 /* We use char because int might match the return type of a gcc2
31977 builtin and then its argument prototype would still apply. */
31978 char SQLAllocEnv ();
31987 rm -f conftest.
$ac_objext conftest
$ac_exeext
31988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31989 (eval $ac_link) 2>conftest.er1
31991 grep -v '^ *+' conftest.er1
>conftest.err
31993 cat conftest.err
>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } &&
31996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; } &&
32002 { ac_try
='test -s conftest$ac_exeext'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }; then
32008 ac_cv_lib_odbc_SQLAllocEnv
=yes
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.
$ac_ext >&5
32013 ac_cv_lib_odbc_SQLAllocEnv
=no
32015 rm -f conftest.err conftest.
$ac_objext \
32016 conftest
$ac_exeext conftest.
$ac_ext
32017 LIBS
=$ac_check_lib_save_LIBS
32019 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32020 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32021 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32022 ODBC_LINK
=" -lodbc"
32032 if test "x$ODBC_LINK" = "x" ; then
32033 if test "$wxUSE_ODBC" = "sys" ; then
32034 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32035 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32036 { (exit 1); exit 1; }; }
32038 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32039 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32047 if test "$wxUSE_ODBC" = "builtin" ; then
32048 cat >>confdefs.h
<<\_ACEOF
32049 #define wxUSE_BUILTIN_IODBC 1
32055 if test "$wxUSE_ODBC" != "no" ; then
32056 cat >>confdefs.h
<<\_ACEOF
32057 #define wxUSE_ODBC 1
32060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32062 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32066 if test "$wxUSE_DISPLAY" = "yes"; then
32067 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32068 echo "$as_me:$LINENO: checking for Xinerama" >&5
32069 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32072 for ac_dir
in $SEARCH_LIB;
32074 for ac_extension
in a so sl dylib dll.a
; do
32075 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32076 ac_find_libraries
=$ac_dir
32082 if test "$ac_find_libraries" != "" ; then
32084 if test "$ac_find_libraries" = "default location"; then
32087 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32089 if test $result = 0; then
32092 ac_path_to_link
=" -L$ac_find_libraries"
32096 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32097 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32099 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32100 echo "$as_me:$LINENO: result: yes" >&5
32101 echo "${ECHO_T}yes" >&6
32103 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32104 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32107 for ac_dir
in $SEARCH_LIB;
32109 for ac_extension
in a so sl dylib dll.a
; do
32110 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32111 ac_find_libraries
=$ac_dir
32117 if test "$ac_find_libraries" != "" ; then
32118 echo "$as_me:$LINENO: result: yes" >&5
32119 echo "${ECHO_T}yes" >&6
32121 for ac_header
in X
11/extensions
/xf86vmode.h
32123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32124 echo "$as_me:$LINENO: checking for $ac_header" >&5
32125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 cat >conftest.
$ac_ext <<_ACEOF
32132 cat confdefs.h
>>conftest.
$ac_ext
32133 cat >>conftest.
$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32136 #if HAVE_X11_XLIB_H
32137 #include <X11/Xlib.h>
32141 #include <$ac_header>
32143 rm -f conftest.
$ac_objext
32144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32145 (eval $ac_compile) 2>conftest.er1
32147 grep -v '^ *+' conftest.er1
>conftest.err
32149 cat conftest.err
>&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; } &&
32158 { ac_try
='test -s conftest.$ac_objext'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; }; then
32164 eval "$as_ac_Header=yes"
32166 echo "$as_me: failed program was:" >&5
32167 sed 's/^/| /' conftest.
$ac_ext >&5
32169 eval "$as_ac_Header=no"
32171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32176 cat >>confdefs.h
<<_ACEOF
32177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32187 echo "$as_me:$LINENO: result: no" >&5
32188 echo "${ECHO_T}no" >&6
32192 echo "$as_me:$LINENO: result: no" >&5
32193 echo "${ECHO_T}no" >&6
32194 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32195 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32198 elif test "$wxUSE_MSW" = 1; then
32200 for ac_header
in ddraw.h
32202 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32203 echo "$as_me:$LINENO: checking for $ac_header" >&5
32204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 cat >conftest.
$ac_ext <<_ACEOF
32211 cat confdefs.h
>>conftest.
$ac_ext
32212 cat >>conftest.
$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 #include <windows.h>
32216 #include <$ac_header>
32218 rm -f conftest.
$ac_objext
32219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32220 (eval $ac_compile) 2>conftest.er1
32222 grep -v '^ *+' conftest.er1
>conftest.err
32224 cat conftest.err
>&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } &&
32227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32229 (eval $ac_try) 2>&5
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); }; } &&
32233 { ac_try
='test -s conftest.$ac_objext'
32234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32235 (eval $ac_try) 2>&5
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); }; }; then
32239 eval "$as_ac_Header=yes"
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.
$ac_ext >&5
32244 eval "$as_ac_Header=no"
32246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32251 cat >>confdefs.h
<<_ACEOF
32252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32264 if test "$wxUSE_OPENGL" = "yes"; then
32265 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32266 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32267 elif test "$wxUSE_MSW" = 1; then
32268 OPENGL_LIBS
="-lopengl32 -lglu32"
32273 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32275 if test -f "$ac_dir/GL/gl.h"; then
32276 ac_find_includes
=$ac_dir
32281 if test "$ac_find_includes" != "" ; then
32282 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32283 echo "${ECHO_T}found in $ac_find_includes" >&6
32285 if test "x$ac_find_includes" = "x/usr/include"; then
32286 ac_path_to_include
=""
32288 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32290 if test $result = 0; then
32291 ac_path_to_include
=""
32293 ac_path_to_include
=" -I$ac_find_includes"
32297 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32300 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32301 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32302 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32303 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32304 echo $ECHO_N "(cached) $ECHO_C" >&6
32306 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32307 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32309 # Is the header compilable?
32310 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32311 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32312 cat >conftest.
$ac_ext <<_ACEOF
32315 cat confdefs.h
>>conftest.
$ac_ext
32316 cat >>conftest.
$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318 $ac_includes_default
32321 rm -f conftest.
$ac_objext
32322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32323 (eval $ac_compile) 2>conftest.er1
32325 grep -v '^ *+' conftest.er1
>conftest.err
32327 cat conftest.err
>&5
32328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329 (exit $ac_status); } &&
32330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32332 (eval $ac_try) 2>&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; } &&
32336 { ac_try
='test -s conftest.$ac_objext'
32337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32338 (eval $ac_try) 2>&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); }; }; then
32342 ac_header_compiler
=yes
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.
$ac_ext >&5
32347 ac_header_compiler
=no
32349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32351 echo "${ECHO_T}$ac_header_compiler" >&6
32353 # Is the header present?
32354 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32355 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32356 cat >conftest.
$ac_ext <<_ACEOF
32359 cat confdefs.h
>>conftest.
$ac_ext
32360 cat >>conftest.
$ac_ext <<_ACEOF
32361 /* end confdefs.h. */
32364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32367 grep -v '^ *+' conftest.er1
>conftest.err
32369 cat conftest.err
>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } >/dev
/null
; then
32372 if test -s conftest.err
; then
32373 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32374 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32381 if test -z "$ac_cpp_err"; then
32382 ac_header_preproc
=yes
32384 echo "$as_me: failed program was:" >&5
32385 sed 's/^/| /' conftest.
$ac_ext >&5
32387 ac_header_preproc
=no
32389 rm -f conftest.err conftest.
$ac_ext
32390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32391 echo "${ECHO_T}$ac_header_preproc" >&6
32393 # So? What about this header?
32394 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32396 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32397 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32399 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32400 ac_header_preproc
=yes
32403 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32404 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32405 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32406 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32407 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32408 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32410 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32412 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32414 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32417 ## ----------------------------------------- ##
32418 ## Report this to wx-dev@lists.wxwidgets.org ##
32419 ## ----------------------------------------- ##
32422 sed "s/^/$as_me: WARNING: /" >&2
32425 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32426 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32427 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32428 echo $ECHO_N "(cached) $ECHO_C" >&6
32430 ac_cv_header_GL_gl_h
=$ac_header_preproc
32432 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32433 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32436 if test $ac_cv_header_GL_gl_h = yes; then
32440 echo "$as_me:$LINENO: checking for -lGL" >&5
32441 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32444 for ac_dir
in $SEARCH_LIB;
32446 for ac_extension
in a so sl dylib dll.a
; do
32447 if test -f "$ac_dir/libGL.$ac_extension"; then
32448 ac_find_libraries
=$ac_dir
32454 if test "$ac_find_libraries" != "" ; then
32455 echo "$as_me:$LINENO: result: yes" >&5
32456 echo "${ECHO_T}yes" >&6
32459 if test "$ac_find_libraries" = "default location"; then
32462 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32464 if test $result = 0; then
32467 ac_path_to_link
=" -L$ac_find_libraries"
32471 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32472 LDFLAGS_GL
="$ac_path_to_link"
32475 echo "$as_me:$LINENO: checking for -lGLU" >&5
32476 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32479 for ac_dir
in $SEARCH_LIB;
32481 for ac_extension
in a so sl dylib dll.a
; do
32482 if test -f "$ac_dir/libGLU.$ac_extension"; then
32483 ac_find_libraries
=$ac_dir
32489 if test "$ac_find_libraries" != "" ; then
32491 if test "$ac_find_libraries" = "default location"; then
32494 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32496 if test $result = 0; then
32499 ac_path_to_link
=" -L$ac_find_libraries"
32503 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32504 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32505 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32509 OPENGL_LIBS
="-lGL -lGLU"
32510 echo "$as_me:$LINENO: result: yes" >&5
32511 echo "${ECHO_T}yes" >&6
32513 echo "$as_me:$LINENO: result: no" >&5
32514 echo "${ECHO_T}no" >&6
32517 echo "$as_me:$LINENO: result: no" >&5
32518 echo "${ECHO_T}no" >&6
32521 if test "$found_gl" != 1; then
32522 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32523 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32526 for ac_dir
in $SEARCH_LIB;
32528 for ac_extension
in a so sl dylib dll.a
; do
32529 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32530 ac_find_libraries
=$ac_dir
32536 if test "$ac_find_libraries" != "" ; then
32538 if test "$ac_find_libraries" = "default location"; then
32541 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32543 if test $result = 0; then
32546 ac_path_to_link
=" -L$ac_find_libraries"
32550 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32551 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32552 echo "$as_me:$LINENO: result: yes" >&5
32553 echo "${ECHO_T}yes" >&6
32555 echo "$as_me:$LINENO: result: no" >&5
32556 echo "${ECHO_T}no" >&6
32564 if test "x$OPENGL_LIBS" = "x"; then
32565 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32566 echo "$as_me: error: OpenGL libraries not available" >&2;}
32567 { (exit 1); exit 1; }; }
32571 if test "$wxUSE_OPENGL" = "yes"; then
32573 cat >>confdefs.h
<<\_ACEOF
32574 #define wxUSE_OPENGL 1
32577 cat >>confdefs.h
<<\_ACEOF
32578 #define wxUSE_GLCANVAS 1
32581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32586 if test -n "$TOOLKIT" ; then
32587 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32592 if test "$wxUSE_SHARED" = "yes"; then
32596 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32597 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32602 if test "$wxUSE_SHARED" = "yes"; then
32605 found_versioning
=no
32608 if test $found_versioning = no
; then
32609 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32610 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32611 if test "${wx_cv_version_script+set}" = set; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 echo "VER_1 { *; };" >conftest.sym
32616 echo "int main() { return 0; }" >conftest.cpp
32619 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32620 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32622 (eval $ac_try) 2>&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; } ; then
32626 if test -s conftest.stderr
; then
32627 wx_cv_version_script
=no
32629 wx_cv_version_script
=yes
32632 wx_cv_version_script
=no
32635 if test $wx_cv_version_script = yes
32637 echo "struct B { virtual ~B() { } }; \
32638 struct D : public B { }; \
32639 void F() { D d; }" > conftest.cpp
32642 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32643 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32650 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32651 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; }
32659 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32660 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; }
32667 wx_cv_version_script
=yes
32669 wx_cv_version_script
=no
32674 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32675 rm -f conftest1.output conftest2.output conftest3.output
32678 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32679 echo "${ECHO_T}$wx_cv_version_script" >&6
32680 if test $wx_cv_version_script = yes ; then
32681 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32687 *-*-linux* | *-*-gnu* )
32688 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32689 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32693 if test "$GCC" = yes ; then
32694 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32696 saveLdflags
="$LDFLAGS"
32697 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32698 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32699 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32700 cat >conftest.
$ac_ext <<_ACEOF
32703 cat confdefs.h
>>conftest.
$ac_ext
32704 cat >>conftest.
$ac_ext <<_ACEOF
32705 /* end confdefs.h. */
32715 rm -f conftest.
$ac_objext conftest
$ac_exeext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32717 (eval $ac_link) 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" || test ! -s conftest.err'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; } &&
32730 { ac_try
='test -s conftest$ac_exeext'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; }; then
32737 echo "$as_me:$LINENO: result: yes" >&5
32738 echo "${ECHO_T}yes" >&6
32739 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32740 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.
$ac_ext >&5
32747 echo "$as_me:$LINENO: result: no" >&5
32748 echo "${ECHO_T}no" >&6
32749 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32750 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32751 LDFLAGS
="$saveLdflags -Wl,-R,/"
32752 cat >conftest.
$ac_ext <<_ACEOF
32755 cat confdefs.h
>>conftest.
$ac_ext
32756 cat >>conftest.
$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32767 rm -f conftest.
$ac_objext conftest
$ac_exeext
32768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32769 (eval $ac_link) 2>conftest.er1
32771 grep -v '^ *+' conftest.er1
>conftest.err
32773 cat conftest.err
>&5
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); } &&
32776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32778 (eval $ac_try) 2>&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); }; } &&
32782 { ac_try
='test -s conftest$ac_exeext'
32783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784 (eval $ac_try) 2>&5
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); }; }; then
32789 echo "$as_me:$LINENO: result: yes" >&5
32790 echo "${ECHO_T}yes" >&6
32791 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32792 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32795 echo "$as_me: failed program was:" >&5
32796 sed 's/^/| /' conftest.
$ac_ext >&5
32799 echo "$as_me:$LINENO: result: no" >&5
32800 echo "${ECHO_T}no" >&6
32803 rm -f conftest.err conftest.
$ac_objext \
32804 conftest
$ac_exeext conftest.
$ac_ext
32807 rm -f conftest.err conftest.
$ac_objext \
32808 conftest
$ac_exeext conftest.
$ac_ext
32809 LDFLAGS
="$saveLdflags"
32811 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32812 WXCONFIG_RPATH
="-R\$libdir"
32817 install_name_tool
=`which install_name_tool`
32818 if test "$install_name_tool" -a -x "$install_name_tool"; then
32819 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32820 cat <<EOF >change-install-names
32822 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32823 inst_cmd="install_name_tool "
32824 for i in \${libnames} ; do
32825 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32829 chmod +x change
-install-names
32833 *-*-cygwin* | *-*-mingw32* )
32834 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32838 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32839 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32844 if test $wxUSE_RPATH = "no"; then
32845 SAMPLES_RPATH_FLAG
=''
32846 SAMPLES_RPATH_POSTLINK
=''
32854 config_linkage_component
="-static"
32861 lib_unicode_suffix
=
32863 if test "$wxUSE_UNICODE" = "yes"; then
32864 lib_unicode_suffix
=u
32865 WX_CHARTYPE
="unicode"
32870 WX_DEBUGTYPE
="release"
32872 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32874 WX_DEBUGTYPE
="debug"
32878 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32879 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32882 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32886 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32888 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32890 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32892 if test "$cross_compiling" = "yes"; then
32893 HOST_SUFFIX
="-$host_alias"
32894 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32895 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32898 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32899 if test "${TOOLKIT_DIR}" = "os2"; then
32900 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32902 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32907 if test "$wxUSE_COCOA" = 1; then
32911 ac_cpp
='$CPP $CPPFLAGS'
32912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32918 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32919 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32920 cat >conftest.
$ac_ext <<_ACEOF
32923 cat confdefs.h
>>conftest.
$ac_ext
32924 cat >>conftest.
$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 #include <AppKit/NSEvent.h>
32927 #include <CoreFoundation/CoreFoundation.h>
32937 rm -f conftest.
$ac_objext
32938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32939 (eval $ac_compile) 2>conftest.er1
32941 grep -v '^ *+' conftest.er1
>conftest.err
32943 cat conftest.err
>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } &&
32946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; } &&
32952 { ac_try
='test -s conftest.$ac_objext'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; }; then
32958 echo "$as_me:$LINENO: result: no" >&5
32959 echo "${ECHO_T}no" >&6
32961 echo "$as_me: failed program was:" >&5
32962 sed 's/^/| /' conftest.
$ac_ext >&5
32964 echo "$as_me:$LINENO: result: yes" >&5
32965 echo "${ECHO_T}yes" >&6
32966 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32967 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32968 cat >conftest.
$ac_ext <<_ACEOF
32971 cat confdefs.h
>>conftest.
$ac_ext
32972 cat >>conftest.
$ac_ext <<_ACEOF
32973 /* end confdefs.h. */
32974 #define __Point__ 1
32975 #include <AppKit/NSEvent.h>
32976 #include <CoreFoundation/CoreFoundation.h>
32986 rm -f conftest.
$ac_objext
32987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32988 (eval $ac_compile) 2>conftest.er1
32990 grep -v '^ *+' conftest.er1
>conftest.err
32992 cat conftest.err
>&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } &&
32995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; } &&
33001 { ac_try
='test -s conftest.$ac_objext'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; }; then
33007 echo "$as_me:$LINENO: result: yes" >&5
33008 echo "${ECHO_T}yes" >&6
33009 cat >>confdefs.h
<<\_ACEOF
33010 #define __Point__ 1
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.
$ac_ext >&5
33018 { { echo "$as_me:$LINENO: error: no
33019 See \`config.log' for more details." >&5
33020 echo "$as_me: error: no
33021 See \`config.log' for more details." >&2;}
33022 { (exit 1); exit 1; }; }
33025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33030 ac_cpp
='$CXXCPP $CPPFLAGS'
33031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33037 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33038 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33039 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33041 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33043 # Extract the first word of "Rez", so it can be a program name with args.
33044 set dummy Rez
; ac_word
=$2
33045 echo "$as_me:$LINENO: checking for $ac_word" >&5
33046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33047 if test "${ac_cv_prog_REZ+set}" = set; then
33048 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 if test -n "$REZ"; then
33051 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33054 for as_dir
in $PATH
33057 test -z "$as_dir" && as_dir
=.
33058 for ac_exec_ext
in '' $ac_executable_extensions; do
33059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33060 ac_cv_prog_REZ
="Rez"
33061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33067 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33070 REZ
=$ac_cv_prog_REZ
33071 if test -n "$REZ"; then
33072 echo "$as_me:$LINENO: result: $REZ" >&5
33073 echo "${ECHO_T}$REZ" >&6
33075 echo "$as_me:$LINENO: result: no" >&5
33076 echo "${ECHO_T}no" >&6
33079 # Extract the first word of "DeRez", so it can be a program name with args.
33080 set dummy DeRez
; ac_word
=$2
33081 echo "$as_me:$LINENO: checking for $ac_word" >&5
33082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33083 if test "${ac_cv_prog_DEREZ+set}" = set; then
33084 echo $ECHO_N "(cached) $ECHO_C" >&6
33086 if test -n "$DEREZ"; then
33087 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33090 for as_dir
in $PATH
33093 test -z "$as_dir" && as_dir
=.
33094 for ac_exec_ext
in '' $ac_executable_extensions; do
33095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33096 ac_cv_prog_DEREZ
="DeRez"
33097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33103 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33106 DEREZ
=$ac_cv_prog_DEREZ
33107 if test -n "$DEREZ"; then
33108 echo "$as_me:$LINENO: result: $DEREZ" >&5
33109 echo "${ECHO_T}$DEREZ" >&6
33111 echo "$as_me:$LINENO: result: no" >&5
33112 echo "${ECHO_T}no" >&6
33115 # Extract the first word of "SetFile", so it can be a program name with args.
33116 set dummy SetFile
; ac_word
=$2
33117 echo "$as_me:$LINENO: checking for $ac_word" >&5
33118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33119 if test "${ac_cv_prog_SETFILE+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 if test -n "$SETFILE"; then
33123 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33126 for as_dir
in $PATH
33129 test -z "$as_dir" && as_dir
=.
33130 for ac_exec_ext
in '' $ac_executable_extensions; do
33131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33132 ac_cv_prog_SETFILE
="SetFile"
33133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33139 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33142 SETFILE
=$ac_cv_prog_SETFILE
33143 if test -n "$SETFILE"; then
33144 echo "$as_me:$LINENO: result: $SETFILE" >&5
33145 echo "${ECHO_T}$SETFILE" >&6
33147 echo "$as_me:$LINENO: result: no" >&5
33148 echo "${ECHO_T}no" >&6
33152 MACSETFILE
="\$(SETFILE)"
33154 if test "$wxUSE_MAC" = 1; then
33155 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33157 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33159 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33160 RESCOMP
="echo -n \| $REZ"
33161 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33167 if test "$wxUSE_PM" = 1; then
33169 WXCONFIG_RESFLAGS
="-ep"
33171 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33173 POSTLINK_COMMAND
="@true"
33180 echo "$as_me:$LINENO: checking for mode_t" >&5
33181 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33182 if test "${ac_cv_type_mode_t+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33185 cat >conftest.
$ac_ext <<_ACEOF
33188 cat confdefs.h
>>conftest.
$ac_ext
33189 cat >>conftest.
$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33197 if (sizeof (mode_t))
33203 rm -f conftest.
$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>conftest.er1
33207 grep -v '^ *+' conftest.er1
>conftest.err
33209 cat conftest.err
>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try
='test -s conftest.$ac_objext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 ac_cv_type_mode_t
=yes
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.
$ac_ext >&5
33229 ac_cv_type_mode_t
=no
33231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33233 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33234 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33235 if test $ac_cv_type_mode_t = yes; then
33239 cat >>confdefs.h
<<_ACEOF
33245 echo "$as_me:$LINENO: checking for off_t" >&5
33246 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33247 if test "${ac_cv_type_off_t+set}" = set; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 cat >conftest.
$ac_ext <<_ACEOF
33253 cat confdefs.h
>>conftest.
$ac_ext
33254 cat >>conftest.
$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 $ac_includes_default
33262 if (sizeof (off_t))
33268 rm -f conftest.
$ac_objext
33269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33270 (eval $ac_compile) 2>conftest.er1
33272 grep -v '^ *+' conftest.er1
>conftest.err
33274 cat conftest.err
>&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); } &&
33277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; } &&
33283 { ac_try
='test -s conftest.$ac_objext'
33284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33285 (eval $ac_try) 2>&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); }; }; then
33289 ac_cv_type_off_t
=yes
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.
$ac_ext >&5
33294 ac_cv_type_off_t
=no
33296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33298 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33299 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33300 if test $ac_cv_type_off_t = yes; then
33304 cat >>confdefs.h
<<_ACEOF
33310 echo "$as_me:$LINENO: checking for pid_t" >&5
33311 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33312 if test "${ac_cv_type_pid_t+set}" = set; then
33313 echo $ECHO_N "(cached) $ECHO_C" >&6
33315 cat >conftest.
$ac_ext <<_ACEOF
33318 cat confdefs.h
>>conftest.
$ac_ext
33319 cat >>conftest.
$ac_ext <<_ACEOF
33320 /* end confdefs.h. */
33321 $ac_includes_default
33327 if (sizeof (pid_t))
33333 rm -f conftest.
$ac_objext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33335 (eval $ac_compile) 2>conftest.er1
33337 grep -v '^ *+' conftest.er1
>conftest.err
33339 cat conftest.err
>&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try
='test -s conftest.$ac_objext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 ac_cv_type_pid_t
=yes
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.
$ac_ext >&5
33359 ac_cv_type_pid_t
=no
33361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33363 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33364 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33365 if test $ac_cv_type_pid_t = yes; then
33369 cat >>confdefs.h
<<_ACEOF
33375 echo "$as_me:$LINENO: checking for size_t" >&5
33376 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33377 if test "${ac_cv_type_size_t+set}" = set; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33380 cat >conftest.
$ac_ext <<_ACEOF
33383 cat confdefs.h
>>conftest.
$ac_ext
33384 cat >>conftest.
$ac_ext <<_ACEOF
33385 /* end confdefs.h. */
33386 $ac_includes_default
33392 if (sizeof (size_t))
33398 rm -f conftest.
$ac_objext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33400 (eval $ac_compile) 2>conftest.er1
33402 grep -v '^ *+' conftest.er1
>conftest.err
33404 cat conftest.err
>&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
33407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33409 (eval $ac_try) 2>&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); }; } &&
33413 { ac_try
='test -s conftest.$ac_objext'
33414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33415 (eval $ac_try) 2>&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); }; }; then
33419 ac_cv_type_size_t
=yes
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.
$ac_ext >&5
33424 ac_cv_type_size_t
=no
33426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33428 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33429 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33430 if test $ac_cv_type_size_t = yes; then
33434 cat >>confdefs.h
<<_ACEOF
33435 #define size_t unsigned
33440 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33441 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33442 if test "${ac_cv_type_uid_t+set}" = set; then
33443 echo $ECHO_N "(cached) $ECHO_C" >&6
33445 cat >conftest.
$ac_ext <<_ACEOF
33448 cat confdefs.h
>>conftest.
$ac_ext
33449 cat >>conftest.
$ac_ext <<_ACEOF
33450 /* end confdefs.h. */
33451 #include <sys/types.h>
33454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33455 $EGREP "uid_t" >/dev
/null
2>&1; then
33456 ac_cv_type_uid_t
=yes
33458 ac_cv_type_uid_t
=no
33463 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33464 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33465 if test $ac_cv_type_uid_t = no
; then
33467 cat >>confdefs.h
<<\_ACEOF
33472 cat >>confdefs.h
<<\_ACEOF
33479 echo "$as_me:$LINENO: checking for ssize_t" >&5
33480 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33481 if test "${ac_cv_type_ssize_t+set}" = set; then
33482 echo $ECHO_N "(cached) $ECHO_C" >&6
33484 cat >conftest.
$ac_ext <<_ACEOF
33487 cat confdefs.h
>>conftest.
$ac_ext
33488 cat >>conftest.
$ac_ext <<_ACEOF
33489 /* end confdefs.h. */
33490 $ac_includes_default
33496 if (sizeof (ssize_t))
33502 rm -f conftest.
$ac_objext
33503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33504 (eval $ac_compile) 2>conftest.er1
33506 grep -v '^ *+' conftest.er1
>conftest.err
33508 cat conftest.err
>&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } &&
33511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
33517 { ac_try
='test -s conftest.$ac_objext'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; }; then
33523 ac_cv_type_ssize_t
=yes
33525 echo "$as_me: failed program was:" >&5
33526 sed 's/^/| /' conftest.
$ac_ext >&5
33528 ac_cv_type_ssize_t
=no
33530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33532 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33533 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33534 if test $ac_cv_type_ssize_t = yes; then
33536 cat >>confdefs.h
<<_ACEOF
33537 #define HAVE_SSIZE_T 1
33544 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33545 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33546 if test "${wx_cv_size_t_is_uint+set}" = set; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33550 cat >conftest.
$ac_ext <<_ACEOF
33553 cat confdefs.h
>>conftest.
$ac_ext
33554 cat >>conftest.
$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 #include <stddef.h>
33563 struct Foo { void foo(size_t); void foo(unsigned int); };
33571 rm -f conftest.
$ac_objext
33572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33573 (eval $ac_compile) 2>conftest.er1
33575 grep -v '^ *+' conftest.er1
>conftest.err
33577 cat conftest.err
>&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); } &&
33580 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33582 (eval $ac_try) 2>&5
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); }; } &&
33586 { ac_try
='test -s conftest.$ac_objext'
33587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588 (eval $ac_try) 2>&5
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; }; then
33592 wx_cv_size_t_is_uint
=no
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.
$ac_ext >&5
33597 wx_cv_size_t_is_uint
=yes
33600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33604 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33605 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33607 if test "$wx_cv_size_t_is_uint" = "yes"; then
33608 cat >>confdefs.h
<<\_ACEOF
33609 #define wxSIZE_T_IS_UINT 1
33613 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33614 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33615 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33618 cat >conftest.
$ac_ext <<_ACEOF
33621 cat confdefs.h
>>conftest.
$ac_ext
33622 cat >>conftest.
$ac_ext <<_ACEOF
33623 /* end confdefs.h. */
33624 #include <stddef.h>
33631 struct Foo { void foo(size_t); void foo(unsigned long); };
33639 rm -f conftest.
$ac_objext
33640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33641 (eval $ac_compile) 2>conftest.er1
33643 grep -v '^ *+' conftest.er1
>conftest.err
33645 cat conftest.err
>&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); } &&
33648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; } &&
33654 { ac_try
='test -s conftest.$ac_objext'
33655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33656 (eval $ac_try) 2>&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); }; }; then
33660 wx_cv_size_t_is_ulong
=no
33662 echo "$as_me: failed program was:" >&5
33663 sed 's/^/| /' conftest.
$ac_ext >&5
33665 wx_cv_size_t_is_ulong
=yes
33668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33671 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33672 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33674 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33675 cat >>confdefs.h
<<\_ACEOF
33676 #define wxSIZE_T_IS_ULONG 1
33683 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33684 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33685 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33686 echo $ECHO_N "(cached) $ECHO_C" >&6
33689 cat >conftest.
$ac_ext <<_ACEOF
33692 cat confdefs.h
>>conftest.
$ac_ext
33693 cat >>conftest.
$ac_ext <<_ACEOF
33694 /* end confdefs.h. */
33708 rm -f conftest.
$ac_objext
33709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33710 (eval $ac_compile) 2>conftest.er1
33712 grep -v '^ *+' conftest.er1
>conftest.err
33714 cat conftest.err
>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } &&
33717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; } &&
33723 { ac_try
='test -s conftest.$ac_objext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33730 wx_cv_struct_pw_gecos
=yes
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.
$ac_ext >&5
33737 wx_cv_struct_pw_gecos
=no
33741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33745 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33746 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33748 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33749 cat >>confdefs.h
<<\_ACEOF
33750 #define HAVE_PW_GECOS 1
33756 if test "$wxUSE_WCHAR_T" = "yes"; then
33757 cat >>confdefs.h
<<\_ACEOF
33758 #define wxUSE_WCHAR_T 1
33765 for ac_func
in wcslen
33767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33768 echo "$as_me:$LINENO: checking for $ac_func" >&5
33769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33770 if eval "test \"\${$as_ac_var+set}\" = set"; then
33771 echo $ECHO_N "(cached) $ECHO_C" >&6
33773 cat >conftest.
$ac_ext <<_ACEOF
33776 cat confdefs.h
>>conftest.
$ac_ext
33777 cat >>conftest.
$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33781 #define $ac_func innocuous_$ac_func
33783 /* System header to define __stub macros and hopefully few prototypes,
33784 which can conflict with char $ac_func (); below.
33785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33786 <limits.h> exists even on freestanding compilers. */
33789 # include <limits.h>
33791 # include <assert.h>
33796 /* Override any gcc2 internal prototype to avoid an error. */
33801 /* We use char because int might match the return type of a gcc2
33802 builtin and then its argument prototype would still apply. */
33804 /* The GNU C library defines this for functions which it implements
33805 to always fail with ENOSYS. Some functions are actually named
33806 something starting with __ and the normal name is an alias. */
33807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33810 char (*f) () = $ac_func;
33819 return f != $ac_func;
33824 rm -f conftest.
$ac_objext conftest
$ac_exeext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33826 (eval $ac_link) 2>conftest.er1
33828 grep -v '^ *+' conftest.er1
>conftest.err
33830 cat conftest.err
>&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try
='test -s conftest$ac_exeext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845 eval "$as_ac_var=yes"
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.
$ac_ext >&5
33850 eval "$as_ac_var=no"
33852 rm -f conftest.err conftest.
$ac_objext \
33853 conftest
$ac_exeext conftest.
$ac_ext
33855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33857 if test `eval echo '${'$as_ac_var'}'` = yes; then
33858 cat >>confdefs.h
<<_ACEOF
33859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33866 if test "$WCSLEN_FOUND" = 0; then
33867 if test "$TOOLKIT" = "MSW"; then
33868 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33869 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33870 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 ac_check_lib_save_LIBS
=$LIBS
33874 LIBS
="-lmsvcrt $LIBS"
33875 cat >conftest.
$ac_ext <<_ACEOF
33878 cat confdefs.h
>>conftest.
$ac_ext
33879 cat >>conftest.
$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33882 /* Override any gcc2 internal prototype to avoid an error. */
33886 /* We use char because int might match the return type of a gcc2
33887 builtin and then its argument prototype would still apply. */
33897 rm -f conftest.
$ac_objext conftest
$ac_exeext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33899 (eval $ac_link) 2>conftest.er1
33901 grep -v '^ *+' conftest.er1
>conftest.err
33903 cat conftest.err
>&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; } &&
33912 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33918 ac_cv_lib_msvcrt_wcslen
=yes
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.
$ac_ext >&5
33923 ac_cv_lib_msvcrt_wcslen
=no
33925 rm -f conftest.err conftest.
$ac_objext \
33926 conftest
$ac_exeext conftest.
$ac_ext
33927 LIBS
=$ac_check_lib_save_LIBS
33929 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33930 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33931 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33936 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33937 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33938 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33939 echo $ECHO_N "(cached) $ECHO_C" >&6
33941 ac_check_lib_save_LIBS
=$LIBS
33943 cat >conftest.
$ac_ext <<_ACEOF
33946 cat confdefs.h
>>conftest.
$ac_ext
33947 cat >>conftest.
$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33950 /* Override any gcc2 internal prototype to avoid an error. */
33954 /* We use char because int might match the return type of a gcc2
33955 builtin and then its argument prototype would still apply. */
33965 rm -f conftest.
$ac_objext conftest
$ac_exeext
33966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33967 (eval $ac_link) 2>conftest.er1
33969 grep -v '^ *+' conftest.er1
>conftest.err
33971 cat conftest.err
>&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } &&
33974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; } &&
33980 { ac_try
='test -s conftest$ac_exeext'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; }; then
33986 ac_cv_lib_w_wcslen
=yes
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.
$ac_ext >&5
33991 ac_cv_lib_w_wcslen
=no
33993 rm -f conftest.err conftest.
$ac_objext \
33994 conftest
$ac_exeext conftest.
$ac_ext
33995 LIBS
=$ac_check_lib_save_LIBS
33997 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33998 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33999 if test $ac_cv_lib_w_wcslen = yes; then
34009 if test "$WCSLEN_FOUND" = 1; then
34010 cat >>confdefs.h
<<\_ACEOF
34011 #define HAVE_WCSLEN 1
34016 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34017 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34020 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34021 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34022 if test "${ac_cv_type_mbstate_t+set}" = set; then
34023 echo $ECHO_N "(cached) $ECHO_C" >&6
34025 cat >conftest.
$ac_ext <<_ACEOF
34028 cat confdefs.h
>>conftest.
$ac_ext
34029 cat >>conftest.
$ac_ext <<_ACEOF
34030 /* end confdefs.h. */
34036 if ((mbstate_t *) 0)
34038 if (sizeof (mbstate_t))
34044 rm -f conftest.
$ac_objext
34045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34046 (eval $ac_compile) 2>conftest.er1
34048 grep -v '^ *+' conftest.er1
>conftest.err
34050 cat conftest.err
>&5
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); } &&
34053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; } &&
34059 { ac_try
='test -s conftest.$ac_objext'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; }; then
34065 ac_cv_type_mbstate_t
=yes
34067 echo "$as_me: failed program was:" >&5
34068 sed 's/^/| /' conftest.
$ac_ext >&5
34070 ac_cv_type_mbstate_t
=no
34072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34074 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34075 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34076 if test $ac_cv_type_mbstate_t = yes; then
34078 cat >>confdefs.h
<<_ACEOF
34079 #define HAVE_MBSTATE_T 1
34083 for ac_func
in wcsrtombs
34085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34086 echo "$as_me:$LINENO: checking for $ac_func" >&5
34087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34088 if eval "test \"\${$as_ac_var+set}\" = set"; then
34089 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 cat >conftest.
$ac_ext <<_ACEOF
34094 cat confdefs.h
>>conftest.
$ac_ext
34095 cat >>conftest.
$ac_ext <<_ACEOF
34096 /* end confdefs.h. */
34097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34099 #define $ac_func innocuous_$ac_func
34101 /* System header to define __stub macros and hopefully few prototypes,
34102 which can conflict with char $ac_func (); below.
34103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34104 <limits.h> exists even on freestanding compilers. */
34107 # include <limits.h>
34109 # include <assert.h>
34114 /* Override any gcc2 internal prototype to avoid an error. */
34119 /* We use char because int might match the return type of a gcc2
34120 builtin and then its argument prototype would still apply. */
34122 /* The GNU C library defines this for functions which it implements
34123 to always fail with ENOSYS. Some functions are actually named
34124 something starting with __ and the normal name is an alias. */
34125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34128 char (*f) () = $ac_func;
34137 return f != $ac_func;
34142 rm -f conftest.
$ac_objext conftest
$ac_exeext
34143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34144 (eval $ac_link) 2>conftest.er1
34146 grep -v '^ *+' conftest.er1
>conftest.err
34148 cat conftest.err
>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } &&
34151 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; } &&
34157 { ac_try
='test -s conftest$ac_exeext'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }; then
34163 eval "$as_ac_var=yes"
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.
$ac_ext >&5
34168 eval "$as_ac_var=no"
34170 rm -f conftest.err conftest.
$ac_objext \
34171 conftest
$ac_exeext conftest.
$ac_ext
34173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34175 if test `eval echo '${'$as_ac_var'}'` = yes; then
34176 cat >>confdefs.h
<<_ACEOF
34177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34186 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34187 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34192 for ac_func
in snprintf vsnprintf
34194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34195 echo "$as_me:$LINENO: checking for $ac_func" >&5
34196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34197 if eval "test \"\${$as_ac_var+set}\" = set"; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 cat >conftest.
$ac_ext <<_ACEOF
34203 cat confdefs.h
>>conftest.
$ac_ext
34204 cat >>conftest.
$ac_ext <<_ACEOF
34205 /* end confdefs.h. */
34206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34208 #define $ac_func innocuous_$ac_func
34210 /* System header to define __stub macros and hopefully few prototypes,
34211 which can conflict with char $ac_func (); below.
34212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34213 <limits.h> exists even on freestanding compilers. */
34216 # include <limits.h>
34218 # include <assert.h>
34223 /* Override any gcc2 internal prototype to avoid an error. */
34228 /* We use char because int might match the return type of a gcc2
34229 builtin and then its argument prototype would still apply. */
34231 /* The GNU C library defines this for functions which it implements
34232 to always fail with ENOSYS. Some functions are actually named
34233 something starting with __ and the normal name is an alias. */
34234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34237 char (*f) () = $ac_func;
34246 return f != $ac_func;
34251 rm -f conftest.
$ac_objext conftest
$ac_exeext
34252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34253 (eval $ac_link) 2>conftest.er1
34255 grep -v '^ *+' conftest.er1
>conftest.err
34257 cat conftest.err
>&5
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); } &&
34260 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; } &&
34266 { ac_try
='test -s conftest$ac_exeext'
34267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34268 (eval $ac_try) 2>&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); }; }; then
34272 eval "$as_ac_var=yes"
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.
$ac_ext >&5
34277 eval "$as_ac_var=no"
34279 rm -f conftest.err conftest.
$ac_objext \
34280 conftest
$ac_exeext conftest.
$ac_ext
34282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34284 if test `eval echo '${'$as_ac_var'}'` = yes; then
34285 cat >>confdefs.h
<<_ACEOF
34286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34293 if test "$ac_cv_func_vsnprintf" = "yes"; then
34294 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34295 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34296 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 cat >conftest.
$ac_ext <<_ACEOF
34303 cat confdefs.h
>>conftest.
$ac_ext
34304 cat >>conftest.
$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34308 #include <stdarg.h>
34310 #if __MSL__ >= 0x6000
34312 using namespace std;
34322 vsnprintf(buf, 10u, "%s", ap);
34328 rm -f conftest.
$ac_objext
34329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34330 (eval $ac_compile) 2>conftest.er1
34332 grep -v '^ *+' conftest.er1
>conftest.err
34334 cat conftest.err
>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } &&
34337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34339 (eval $ac_try) 2>&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); }; } &&
34343 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
34349 wx_cv_func_vsnprintf_decl
=yes
34351 echo "$as_me: failed program was:" >&5
34352 sed 's/^/| /' conftest.
$ac_ext >&5
34354 wx_cv_func_vsnprintf_decl
=no
34357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34361 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34362 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34364 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34365 cat >>confdefs.h
<<\_ACEOF
34366 #define HAVE_VSNPRINTF_DECL 1
34370 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34371 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34372 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34376 cat >conftest.
$ac_ext <<_ACEOF
34379 cat confdefs.h
>>conftest.
$ac_ext
34380 cat >>conftest.
$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34384 #include <stdarg.h>
34386 #if __MSL__ >= 0x6000
34388 using namespace std;
34398 const char *fmt = "%s";
34399 vsnprintf(buf, 10u, fmt, ap);
34405 rm -f conftest.
$ac_objext
34406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34407 (eval $ac_compile) 2>conftest.er1
34409 grep -v '^ *+' conftest.er1
>conftest.err
34411 cat conftest.err
>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; } &&
34420 { ac_try
='test -s conftest.$ac_objext'
34421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34422 (eval $ac_try) 2>&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); }; }; then
34426 wx_cv_func_broken_vsnprintf_decl
=no
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.
$ac_ext >&5
34431 wx_cv_func_broken_vsnprintf_decl
=yes
34434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34438 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34439 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34441 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34442 cat >>confdefs.h
<<\_ACEOF
34443 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34450 if test "$ac_cv_func_snprintf" = "yes"; then
34451 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34452 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34453 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34457 cat >conftest.
$ac_ext <<_ACEOF
34460 cat confdefs.h
>>conftest.
$ac_ext
34461 cat >>conftest.
$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34465 #include <stdarg.h>
34467 #if __MSL__ >= 0x6000
34469 using namespace std;
34478 snprintf(buf, 10u, "%s", "wx");
34484 rm -f conftest.
$ac_objext
34485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34486 (eval $ac_compile) 2>conftest.er1
34488 grep -v '^ *+' conftest.er1
>conftest.err
34490 cat conftest.err
>&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); } &&
34493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34495 (eval $ac_try) 2>&5
34497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34498 (exit $ac_status); }; } &&
34499 { ac_try
='test -s conftest.$ac_objext'
34500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34501 (eval $ac_try) 2>&5
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); }; }; then
34505 wx_cv_func_snprintf_decl
=yes
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.
$ac_ext >&5
34510 wx_cv_func_snprintf_decl
=no
34513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34517 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34518 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34520 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34521 cat >>confdefs.h
<<\_ACEOF
34522 #define HAVE_SNPRINTF_DECL 1
34526 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34527 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34528 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34529 echo $ECHO_N "(cached) $ECHO_C" >&6
34532 cat >conftest.
$ac_ext <<_ACEOF
34535 cat confdefs.h
>>conftest.
$ac_ext
34536 cat >>conftest.
$ac_ext <<_ACEOF
34537 /* end confdefs.h. */
34540 #include <stdarg.h>
34542 #if __MSL__ >= 0x6000
34544 using namespace std;
34553 const char *fmt = "%s";
34554 snprintf(buf, 10u, fmt, "wx");
34560 rm -f conftest.
$ac_objext
34561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34562 (eval $ac_compile) 2>conftest.er1
34564 grep -v '^ *+' conftest.er1
>conftest.err
34566 cat conftest.err
>&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); } &&
34569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34571 (eval $ac_try) 2>&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); }; } &&
34575 { ac_try
='test -s conftest.$ac_objext'
34576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34577 (eval $ac_try) 2>&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); }; }; then
34581 wx_cv_func_broken_snprintf_decl
=no
34583 echo "$as_me: failed program was:" >&5
34584 sed 's/^/| /' conftest.
$ac_ext >&5
34586 wx_cv_func_broken_snprintf_decl
=yes
34589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34593 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34594 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34596 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34597 cat >>confdefs.h
<<\_ACEOF
34598 #define HAVE_BROKEN_SNPRINTF_DECL 1
34604 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34606 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34607 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34608 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34609 echo $ECHO_N "(cached) $ECHO_C" >&6
34612 if test "$cross_compiling" = yes; then
34613 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34614 See \`config.log' for more details." >&5
34615 echo "$as_me: error: cannot run test program while cross compiling
34616 See \`config.log' for more details." >&2;}
34617 { (exit 1); exit 1; }; }
34619 cat >conftest.
$ac_ext <<_ACEOF
34622 cat confdefs.h
>>conftest.
$ac_ext
34623 cat >>conftest.
$ac_ext <<_ACEOF
34624 /* end confdefs.h. */
34631 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34632 if (strcmp ("2 3 1", buffer) == 0)
34638 rm -f conftest
$ac_exeext
34639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34640 (eval $ac_link) 2>&5
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34645 (eval $ac_try) 2>&5
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); }; }; then
34649 wx_cv_func_snprintf_pos_params
=no
34651 echo "$as_me: program exited with status $ac_status" >&5
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.
$ac_ext >&5
34655 ( exit $ac_status )
34656 wx_cv_func_snprintf_pos_params
=yes
34659 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34664 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34665 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34667 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34668 cat >>confdefs.h
<<\_ACEOF
34669 #define HAVE_UNIX98_PRINTF 1
34677 if test "$wxUSE_UNICODE" = yes; then
34684 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34687 echo "$as_me:$LINENO: checking for $ac_func" >&5
34688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34689 if eval "test \"\${$as_ac_var+set}\" = set"; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34692 cat >conftest.
$ac_ext <<_ACEOF
34695 cat confdefs.h
>>conftest.
$ac_ext
34696 cat >>conftest.
$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34700 #define $ac_func innocuous_$ac_func
34702 /* System header to define __stub macros and hopefully few prototypes,
34703 which can conflict with char $ac_func (); below.
34704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34705 <limits.h> exists even on freestanding compilers. */
34708 # include <limits.h>
34710 # include <assert.h>
34715 /* Override any gcc2 internal prototype to avoid an error. */
34720 /* We use char because int might match the return type of a gcc2
34721 builtin and then its argument prototype would still apply. */
34723 /* The GNU C library defines this for functions which it implements
34724 to always fail with ENOSYS. Some functions are actually named
34725 something starting with __ and the normal name is an alias. */
34726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34729 char (*f) () = $ac_func;
34738 return f != $ac_func;
34743 rm -f conftest.
$ac_objext conftest
$ac_exeext
34744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34745 (eval $ac_link) 2>conftest.er1
34747 grep -v '^ *+' conftest.er1
>conftest.err
34749 cat conftest.err
>&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } &&
34752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try
='test -s conftest$ac_exeext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34764 eval "$as_ac_var=yes"
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.
$ac_ext >&5
34769 eval "$as_ac_var=no"
34771 rm -f conftest.err conftest.
$ac_objext \
34772 conftest
$ac_exeext conftest.
$ac_ext
34774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34776 if test `eval echo '${'$as_ac_var'}'` = yes; then
34777 cat >>confdefs.h
<<_ACEOF
34778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34785 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34786 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34787 cat >conftest.
$ac_ext <<_ACEOF
34790 cat confdefs.h
>>conftest.
$ac_ext
34791 cat >>conftest.
$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34802 rm -f conftest.
$ac_objext
34803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34804 (eval $ac_compile) 2>conftest.er1
34806 grep -v '^ *+' conftest.er1
>conftest.err
34808 cat conftest.err
>&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } &&
34811 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34813 (eval $ac_try) 2>&5
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); }; } &&
34817 { ac_try
='test -s conftest.$ac_objext'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; }; then
34823 echo "$as_me:$LINENO: result: yes" >&5
34824 echo "${ECHO_T}yes" >&6
34825 cat >>confdefs.h
<<\_ACEOF
34826 #define HAVE__VSNWPRINTF 1
34830 echo "$as_me: failed program was:" >&5
34831 sed 's/^/| /' conftest.
$ac_ext >&5
34833 echo "$as_me:$LINENO: result: no" >&5
34834 echo "${ECHO_T}no" >&6
34836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34839 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34841 for ac_func
in fnmatch
34843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34844 echo "$as_me:$LINENO: checking for $ac_func" >&5
34845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34846 if eval "test \"\${$as_ac_var+set}\" = set"; then
34847 echo $ECHO_N "(cached) $ECHO_C" >&6
34849 cat >conftest.
$ac_ext <<_ACEOF
34852 cat confdefs.h
>>conftest.
$ac_ext
34853 cat >>conftest.
$ac_ext <<_ACEOF
34854 /* end confdefs.h. */
34855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34857 #define $ac_func innocuous_$ac_func
34859 /* System header to define __stub macros and hopefully few prototypes,
34860 which can conflict with char $ac_func (); below.
34861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34862 <limits.h> exists even on freestanding compilers. */
34865 # include <limits.h>
34867 # include <assert.h>
34872 /* Override any gcc2 internal prototype to avoid an error. */
34877 /* We use char because int might match the return type of a gcc2
34878 builtin and then its argument prototype would still apply. */
34880 /* The GNU C library defines this for functions which it implements
34881 to always fail with ENOSYS. Some functions are actually named
34882 something starting with __ and the normal name is an alias. */
34883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34886 char (*f) () = $ac_func;
34895 return f != $ac_func;
34900 rm -f conftest.
$ac_objext conftest
$ac_exeext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34902 (eval $ac_link) 2>conftest.er1
34904 grep -v '^ *+' conftest.er1
>conftest.err
34906 cat conftest.err
>&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try
='test -s conftest$ac_exeext'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; }; then
34921 eval "$as_ac_var=yes"
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.
$ac_ext >&5
34926 eval "$as_ac_var=no"
34928 rm -f conftest.err conftest.
$ac_objext \
34929 conftest
$ac_exeext conftest.
$ac_ext
34931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34933 if test `eval echo '${'$as_ac_var'}'` = yes; then
34934 cat >>confdefs.h
<<_ACEOF
34935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34943 if test "$wxUSE_FILE" = "yes"; then
34945 for ac_func
in fsync
34947 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34948 echo "$as_me:$LINENO: checking for $ac_func" >&5
34949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34950 if eval "test \"\${$as_ac_var+set}\" = set"; then
34951 echo $ECHO_N "(cached) $ECHO_C" >&6
34953 cat >conftest.
$ac_ext <<_ACEOF
34956 cat confdefs.h
>>conftest.
$ac_ext
34957 cat >>conftest.
$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34961 #define $ac_func innocuous_$ac_func
34963 /* System header to define __stub macros and hopefully few prototypes,
34964 which can conflict with char $ac_func (); below.
34965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34966 <limits.h> exists even on freestanding compilers. */
34969 # include <limits.h>
34971 # include <assert.h>
34976 /* Override any gcc2 internal prototype to avoid an error. */
34981 /* We use char because int might match the return type of a gcc2
34982 builtin and then its argument prototype would still apply. */
34984 /* The GNU C library defines this for functions which it implements
34985 to always fail with ENOSYS. Some functions are actually named
34986 something starting with __ and the normal name is an alias. */
34987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34990 char (*f) () = $ac_func;
34999 return f != $ac_func;
35004 rm -f conftest.
$ac_objext conftest
$ac_exeext
35005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35006 (eval $ac_link) 2>conftest.er1
35008 grep -v '^ *+' conftest.er1
>conftest.err
35010 cat conftest.err
>&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } &&
35013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35015 (eval $ac_try) 2>&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); }; } &&
35019 { ac_try
='test -s conftest$ac_exeext'
35020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35021 (eval $ac_try) 2>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); }; }; then
35025 eval "$as_ac_var=yes"
35027 echo "$as_me: failed program was:" >&5
35028 sed 's/^/| /' conftest.
$ac_ext >&5
35030 eval "$as_ac_var=no"
35032 rm -f conftest.err conftest.
$ac_objext \
35033 conftest
$ac_exeext conftest.
$ac_ext
35035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35037 if test `eval echo '${'$as_ac_var'}'` = yes; then
35038 cat >>confdefs.h
<<_ACEOF
35039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 for ac_func
in round
35050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35051 echo "$as_me:$LINENO: checking for $ac_func" >&5
35052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35053 if eval "test \"\${$as_ac_var+set}\" = set"; then
35054 echo $ECHO_N "(cached) $ECHO_C" >&6
35056 cat >conftest.
$ac_ext <<_ACEOF
35059 cat confdefs.h
>>conftest.
$ac_ext
35060 cat >>conftest.
$ac_ext <<_ACEOF
35061 /* end confdefs.h. */
35062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35064 #define $ac_func innocuous_$ac_func
35066 /* System header to define __stub macros and hopefully few prototypes,
35067 which can conflict with char $ac_func (); below.
35068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35069 <limits.h> exists even on freestanding compilers. */
35072 # include <limits.h>
35074 # include <assert.h>
35079 /* Override any gcc2 internal prototype to avoid an error. */
35084 /* We use char because int might match the return type of a gcc2
35085 builtin and then its argument prototype would still apply. */
35087 /* The GNU C library defines this for functions which it implements
35088 to always fail with ENOSYS. Some functions are actually named
35089 something starting with __ and the normal name is an alias. */
35090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35093 char (*f) () = $ac_func;
35102 return f != $ac_func;
35107 rm -f conftest.
$ac_objext conftest
$ac_exeext
35108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35109 (eval $ac_link) 2>conftest.er1
35111 grep -v '^ *+' conftest.er1
>conftest.err
35113 cat conftest.err
>&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); } &&
35116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118 (eval $ac_try) 2>&5
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); }; } &&
35122 { ac_try
='test -s conftest$ac_exeext'
35123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35124 (eval $ac_try) 2>&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); }; }; then
35128 eval "$as_ac_var=yes"
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.
$ac_ext >&5
35133 eval "$as_ac_var=no"
35135 rm -f conftest.err conftest.
$ac_objext \
35136 conftest
$ac_exeext conftest.
$ac_ext
35138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35140 if test `eval echo '${'$as_ac_var'}'` = yes; then
35141 cat >>confdefs.h
<<_ACEOF
35142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35148 if test "$ac_cv_func_round" = yes; then
35149 echo "$as_me:$LINENO: checking whether round is declared" >&5
35150 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35151 if test "${ac_cv_have_decl_round+set}" = set; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 cat >conftest.
$ac_ext <<_ACEOF
35157 cat confdefs.h
>>conftest.
$ac_ext
35158 cat >>conftest.
$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35166 char *p = (char *) round;
35173 rm -f conftest.
$ac_objext
35174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35175 (eval $ac_compile) 2>conftest.er1
35177 grep -v '^ *+' conftest.er1
>conftest.err
35179 cat conftest.err
>&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); } &&
35182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184 (eval $ac_try) 2>&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; } &&
35188 { ac_try
='test -s conftest.$ac_objext'
35189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35190 (eval $ac_try) 2>&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); }; }; then
35194 ac_cv_have_decl_round
=yes
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.
$ac_ext >&5
35199 ac_cv_have_decl_round
=no
35201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35203 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35204 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35205 if test $ac_cv_have_decl_round = yes; then
35207 cat >>confdefs.h
<<_ACEOF
35208 #define HAVE_DECL_ROUND 1
35213 cat >>confdefs.h
<<_ACEOF
35214 #define HAVE_DECL_ROUND 0
35224 if test "$TOOLKIT" != "MSW"; then
35230 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35231 if test "${with_libiconv_prefix+set}" = set; then
35232 withval
="$with_libiconv_prefix"
35234 for dir
in `echo "$withval" | tr : ' '`; do
35235 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35236 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35241 echo "$as_me:$LINENO: checking for iconv" >&5
35242 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35243 if test "${am_cv_func_iconv+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 am_cv_func_iconv
="no, consider installing GNU libiconv"
35249 cat >conftest.
$ac_ext <<_ACEOF
35252 cat confdefs.h
>>conftest.
$ac_ext
35253 cat >>conftest.
$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 #include <stdlib.h>
35260 iconv_t cd = iconv_open("","");
35261 iconv(cd,NULL,NULL,NULL,NULL);
35267 rm -f conftest.
$ac_objext conftest
$ac_exeext
35268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35269 (eval $ac_link) 2>conftest.er1
35271 grep -v '^ *+' conftest.er1
>conftest.err
35273 cat conftest.err
>&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } &&
35276 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35278 (eval $ac_try) 2>&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); }; } &&
35282 { ac_try
='test -s conftest$ac_exeext'
35283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35284 (eval $ac_try) 2>&5
35286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35287 (exit $ac_status); }; }; then
35288 am_cv_func_iconv
=yes
35290 echo "$as_me: failed program was:" >&5
35291 sed 's/^/| /' conftest.
$ac_ext >&5
35294 rm -f conftest.err conftest.
$ac_objext \
35295 conftest
$ac_exeext conftest.
$ac_ext
35296 if test "$am_cv_func_iconv" != yes; then
35297 am_save_LIBS
="$LIBS"
35298 LIBS
="$LIBS -liconv"
35299 cat >conftest.
$ac_ext <<_ACEOF
35302 cat confdefs.h
>>conftest.
$ac_ext
35303 cat >>conftest.
$ac_ext <<_ACEOF
35304 /* end confdefs.h. */
35305 #include <stdlib.h>
35310 iconv_t cd = iconv_open("","");
35311 iconv(cd,NULL,NULL,NULL,NULL);
35317 rm -f conftest.
$ac_objext conftest
$ac_exeext
35318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35319 (eval $ac_link) 2>conftest.er1
35321 grep -v '^ *+' conftest.er1
>conftest.err
35323 cat conftest.err
>&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); } &&
35326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; } &&
35332 { ac_try
='test -s conftest$ac_exeext'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; }; then
35338 am_cv_lib_iconv
=yes
35339 am_cv_func_iconv
=yes
35341 echo "$as_me: failed program was:" >&5
35342 sed 's/^/| /' conftest.
$ac_ext >&5
35345 rm -f conftest.err conftest.
$ac_objext \
35346 conftest
$ac_exeext conftest.
$ac_ext
35347 LIBS
="$am_save_LIBS"
35351 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35352 echo "${ECHO_T}$am_cv_func_iconv" >&6
35353 if test "$am_cv_func_iconv" = yes; then
35355 cat >>confdefs.h
<<\_ACEOF
35356 #define HAVE_ICONV 1
35359 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35360 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35361 if test "${wx_cv_func_iconv_const+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 cat >conftest.
$ac_ext <<_ACEOF
35367 cat confdefs.h
>>conftest.
$ac_ext
35368 cat >>conftest.
$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35371 #include <stdlib.h>
35377 #if defined(__STDC__) || defined(__cplusplus)
35378 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35391 rm -f conftest.
$ac_objext
35392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35393 (eval $ac_compile) 2>conftest.er1
35395 grep -v '^ *+' conftest.er1
>conftest.err
35397 cat conftest.err
>&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); } &&
35400 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35402 (eval $ac_try) 2>&5
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); }; } &&
35406 { ac_try
='test -s conftest.$ac_objext'
35407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35408 (eval $ac_try) 2>&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); }; }; then
35412 wx_cv_func_iconv_const
="no"
35414 echo "$as_me: failed program was:" >&5
35415 sed 's/^/| /' conftest.
$ac_ext >&5
35417 wx_cv_func_iconv_const
="yes"
35420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35423 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35424 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35427 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35428 iconv_const
="const"
35432 cat >>confdefs.h
<<_ACEOF
35433 #define ICONV_CONST $iconv_const
35438 if test "$am_cv_lib_iconv" = yes; then
35443 LIBS
="$LIBICONV $LIBS"
35445 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35447 for ac_func
in sigaction
35449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35450 echo "$as_me:$LINENO: checking for $ac_func" >&5
35451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35452 if eval "test \"\${$as_ac_var+set}\" = set"; then
35453 echo $ECHO_N "(cached) $ECHO_C" >&6
35455 cat >conftest.
$ac_ext <<_ACEOF
35458 cat confdefs.h
>>conftest.
$ac_ext
35459 cat >>conftest.
$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35463 #define $ac_func innocuous_$ac_func
35465 /* System header to define __stub macros and hopefully few prototypes,
35466 which can conflict with char $ac_func (); below.
35467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35468 <limits.h> exists even on freestanding compilers. */
35471 # include <limits.h>
35473 # include <assert.h>
35478 /* Override any gcc2 internal prototype to avoid an error. */
35483 /* We use char because int might match the return type of a gcc2
35484 builtin and then its argument prototype would still apply. */
35486 /* The GNU C library defines this for functions which it implements
35487 to always fail with ENOSYS. Some functions are actually named
35488 something starting with __ and the normal name is an alias. */
35489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35492 char (*f) () = $ac_func;
35501 return f != $ac_func;
35506 rm -f conftest.
$ac_objext conftest
$ac_exeext
35507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35508 (eval $ac_link) 2>conftest.er1
35510 grep -v '^ *+' conftest.er1
>conftest.err
35512 cat conftest.err
>&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } &&
35515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; } &&
35521 { ac_try
='test -s conftest$ac_exeext'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; }; then
35527 eval "$as_ac_var=yes"
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.
$ac_ext >&5
35532 eval "$as_ac_var=no"
35534 rm -f conftest.err conftest.
$ac_objext \
35535 conftest
$ac_exeext conftest.
$ac_ext
35537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35539 if test `eval echo '${'$as_ac_var'}'` = yes; then
35540 cat >>confdefs.h
<<_ACEOF
35541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35548 if test "$ac_cv_func_sigaction" = "no"; then
35549 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35550 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35551 wxUSE_ON_FATAL_EXCEPTION
=no
35554 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35555 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35556 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35557 if test "${wx_cv_type_sa_handler+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 cat >conftest.
$ac_ext <<_ACEOF
35564 cat confdefs.h
>>conftest.
$ac_ext
35565 cat >>conftest.
$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35567 #include <signal.h>
35572 extern void testSigHandler(int);
35574 struct sigaction sa;
35575 sa.sa_handler = testSigHandler;
35581 rm -f conftest.
$ac_objext
35582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35583 (eval $ac_compile) 2>conftest.er1
35585 grep -v '^ *+' conftest.er1
>conftest.err
35587 cat conftest.err
>&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } &&
35590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try
='test -s conftest.$ac_objext'
35597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35598 (eval $ac_try) 2>&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); }; }; then
35603 wx_cv_type_sa_handler
=int
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.
$ac_ext >&5
35610 wx_cv_type_sa_handler
=void
35613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35616 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35617 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35619 cat >>confdefs.h
<<_ACEOF
35620 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35626 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35627 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35628 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35629 if test "${wx_cv_func_backtrace+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 cat >conftest.
$ac_ext <<_ACEOF
35636 cat confdefs.h
>>conftest.
$ac_ext
35637 cat >>conftest.
$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 #include <execinfo.h>
35647 backtrace(trace, 1);
35648 messages = backtrace_symbols(trace, 1);
35654 rm -f conftest.
$ac_objext
35655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35656 (eval $ac_compile) 2>conftest.er1
35658 grep -v '^ *+' conftest.er1
>conftest.err
35660 cat conftest.err
>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } &&
35663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try
='test -s conftest.$ac_objext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 wx_cv_func_backtrace
=yes
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.
$ac_ext >&5
35680 wx_cv_func_backtrace
=no
35683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35687 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35688 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35691 if test "$wx_cv_func_backtrace" = "no"; then
35692 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35693 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35694 wxUSE_STACKWALKER
=no
35696 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35697 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35698 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35699 echo $ECHO_N "(cached) $ECHO_C" >&6
35702 cat >conftest.
$ac_ext <<_ACEOF
35705 cat confdefs.h
>>conftest.
$ac_ext
35706 cat >>conftest.
$ac_ext <<_ACEOF
35707 /* end confdefs.h. */
35708 #include <cxxabi.h>
35714 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35720 rm -f conftest.
$ac_objext conftest
$ac_exeext
35721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35722 (eval $ac_link) 2>conftest.er1
35724 grep -v '^ *+' conftest.er1
>conftest.err
35726 cat conftest.err
>&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } &&
35729 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; } &&
35735 { ac_try
='test -s conftest$ac_exeext'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; }; then
35741 wx_cv_func_cxa_demangle
=yes
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.
$ac_ext >&5
35746 wx_cv_func_cxa_demangle
=no
35749 rm -f conftest.err conftest.
$ac_objext \
35750 conftest
$ac_exeext conftest.
$ac_ext
35754 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35755 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35757 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35758 cat >>confdefs.h
<<\_ACEOF
35759 #define HAVE_CXA_DEMANGLE 1
35766 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35767 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35768 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35769 wxUSE_STACKWALKER
=no
35775 for ac_func
in mkstemp mktemp
35777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35778 echo "$as_me:$LINENO: checking for $ac_func" >&5
35779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35780 if eval "test \"\${$as_ac_var+set}\" = set"; then
35781 echo $ECHO_N "(cached) $ECHO_C" >&6
35783 cat >conftest.
$ac_ext <<_ACEOF
35786 cat confdefs.h
>>conftest.
$ac_ext
35787 cat >>conftest.
$ac_ext <<_ACEOF
35788 /* end confdefs.h. */
35789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35791 #define $ac_func innocuous_$ac_func
35793 /* System header to define __stub macros and hopefully few prototypes,
35794 which can conflict with char $ac_func (); below.
35795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35796 <limits.h> exists even on freestanding compilers. */
35799 # include <limits.h>
35801 # include <assert.h>
35806 /* Override any gcc2 internal prototype to avoid an error. */
35811 /* We use char because int might match the return type of a gcc2
35812 builtin and then its argument prototype would still apply. */
35814 /* The GNU C library defines this for functions which it implements
35815 to always fail with ENOSYS. Some functions are actually named
35816 something starting with __ and the normal name is an alias. */
35817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35820 char (*f) () = $ac_func;
35829 return f != $ac_func;
35834 rm -f conftest.
$ac_objext conftest
$ac_exeext
35835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35836 (eval $ac_link) 2>conftest.er1
35838 grep -v '^ *+' conftest.er1
>conftest.err
35840 cat conftest.err
>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } &&
35843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; } &&
35849 { ac_try
='test -s conftest$ac_exeext'
35850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851 (eval $ac_try) 2>&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); }; }; then
35855 eval "$as_ac_var=yes"
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.
$ac_ext >&5
35860 eval "$as_ac_var=no"
35862 rm -f conftest.err conftest.
$ac_objext \
35863 conftest
$ac_exeext conftest.
$ac_ext
35865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35867 if test `eval echo '${'$as_ac_var'}'` = yes; then
35868 cat >>confdefs.h
<<_ACEOF
35869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35876 echo "$as_me:$LINENO: checking for statfs" >&5
35877 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35878 if test "${wx_cv_func_statfs+set}" = set; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35881 cat >conftest.
$ac_ext <<_ACEOF
35884 cat confdefs.h
>>conftest.
$ac_ext
35885 cat >>conftest.
$ac_ext <<_ACEOF
35886 /* end confdefs.h. */
35888 #if defined(__BSD__)
35889 #include <sys/param.h>
35890 #include <sys/mount.h>
35892 #include <sys/vfs.h>
35910 rm -f conftest.
$ac_objext
35911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35912 (eval $ac_compile) 2>conftest.er1
35914 grep -v '^ *+' conftest.er1
>conftest.err
35916 cat conftest.err
>&5
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); } &&
35919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35921 (eval $ac_try) 2>&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); }; } &&
35925 { ac_try
='test -s conftest.$ac_objext'
35926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35927 (eval $ac_try) 2>&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); }; }; then
35931 wx_cv_func_statfs
=yes
35933 echo "$as_me: failed program was:" >&5
35934 sed 's/^/| /' conftest.
$ac_ext >&5
35936 wx_cv_func_statfs
=no
35939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35942 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35943 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35945 if test "$wx_cv_func_statfs" = "yes"; then
35946 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35947 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35948 if test "${wx_cv_func_statfs_decl+set}" = set; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35951 cat >conftest.
$ac_ext <<_ACEOF
35954 cat confdefs.h
>>conftest.
$ac_ext
35955 cat >>conftest.
$ac_ext <<_ACEOF
35956 /* end confdefs.h. */
35958 #if defined(__BSD__)
35959 #include <sys/param.h>
35960 #include <sys/mount.h>
35962 #include <sys/vfs.h>
35976 rm -f conftest.
$ac_objext
35977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35978 (eval $ac_compile) 2>conftest.er1
35980 grep -v '^ *+' conftest.er1
>conftest.err
35982 cat conftest.err
>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); } &&
35985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; } &&
35991 { ac_try
='test -s conftest.$ac_objext'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; }; then
35997 wx_cv_func_statfs_decl
=yes
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.
$ac_ext >&5
36002 wx_cv_func_statfs_decl
=no
36005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36008 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36009 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36011 if test "$wx_cv_func_statfs_decl" = "yes"; then
36012 cat >>confdefs.h
<<\_ACEOF
36013 #define HAVE_STATFS_DECL 1
36018 wx_cv_type_statvfs_t
="struct statfs"
36019 cat >>confdefs.h
<<\_ACEOF
36020 #define HAVE_STATFS 1
36024 echo "$as_me:$LINENO: checking for statvfs" >&5
36025 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36026 if test "${wx_cv_func_statvfs+set}" = set; then
36027 echo $ECHO_N "(cached) $ECHO_C" >&6
36029 cat >conftest.
$ac_ext <<_ACEOF
36032 cat confdefs.h
>>conftest.
$ac_ext
36033 cat >>conftest.
$ac_ext <<_ACEOF
36034 /* end confdefs.h. */
36036 #include <stddef.h>
36037 #include <sys/statvfs.h>
36043 statvfs("/", NULL);
36049 rm -f conftest.
$ac_objext
36050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36051 (eval $ac_compile) 2>conftest.er1
36053 grep -v '^ *+' conftest.er1
>conftest.err
36055 cat conftest.err
>&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } &&
36058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36060 (eval $ac_try) 2>&5
36062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 (exit $ac_status); }; } &&
36064 { ac_try
='test -s conftest.$ac_objext'
36065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36066 (eval $ac_try) 2>&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); }; }; then
36070 wx_cv_func_statvfs
=yes
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.
$ac_ext >&5
36075 wx_cv_func_statvfs
=no
36078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36081 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36082 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36084 if test "$wx_cv_func_statvfs" = "yes"; then
36085 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36086 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36087 if test "${wx_cv_type_statvfs_t+set}" = set; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 cat >conftest.
$ac_ext <<_ACEOF
36093 cat confdefs.h
>>conftest.
$ac_ext
36094 cat >>conftest.
$ac_ext <<_ACEOF
36095 /* end confdefs.h. */
36097 #include <sys/statvfs.h>
36114 rm -f conftest.
$ac_objext
36115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36116 (eval $ac_compile) 2>conftest.er1
36118 grep -v '^ *+' conftest.er1
>conftest.err
36120 cat conftest.err
>&5
36121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36122 (exit $ac_status); } &&
36123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36125 (eval $ac_try) 2>&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); }; } &&
36129 { ac_try
='test -s conftest.$ac_objext'
36130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36131 (eval $ac_try) 2>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; }; then
36135 wx_cv_type_statvfs_t
=statvfs_t
36137 echo "$as_me: failed program was:" >&5
36138 sed 's/^/| /' conftest.
$ac_ext >&5
36141 cat >conftest.
$ac_ext <<_ACEOF
36144 cat confdefs.h
>>conftest.
$ac_ext
36145 cat >>conftest.
$ac_ext <<_ACEOF
36146 /* end confdefs.h. */
36148 #include <sys/statvfs.h>
36165 rm -f conftest.
$ac_objext
36166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36167 (eval $ac_compile) 2>conftest.er1
36169 grep -v '^ *+' conftest.er1
>conftest.err
36171 cat conftest.err
>&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); } &&
36174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36176 (eval $ac_try) 2>&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); }; } &&
36180 { ac_try
='test -s conftest.$ac_objext'
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; }; then
36186 wx_cv_type_statvfs_t
="struct statvfs"
36188 echo "$as_me: failed program was:" >&5
36189 sed 's/^/| /' conftest.
$ac_ext >&5
36191 wx_cv_type_statvfs_t
="unknown"
36194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36201 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36202 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36204 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36205 cat >>confdefs.h
<<\_ACEOF
36206 #define HAVE_STATVFS 1
36211 wx_cv_type_statvfs_t
="unknown"
36215 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36216 cat >>confdefs.h
<<_ACEOF
36217 #define WX_STATFS_T $wx_cv_type_statvfs_t
36221 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36222 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36225 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36228 for ac_func
in fcntl flock
36230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36231 echo "$as_me:$LINENO: checking for $ac_func" >&5
36232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36233 if eval "test \"\${$as_ac_var+set}\" = set"; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 cat >conftest.
$ac_ext <<_ACEOF
36239 cat confdefs.h
>>conftest.
$ac_ext
36240 cat >>conftest.
$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36244 #define $ac_func innocuous_$ac_func
36246 /* System header to define __stub macros and hopefully few prototypes,
36247 which can conflict with char $ac_func (); below.
36248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36249 <limits.h> exists even on freestanding compilers. */
36252 # include <limits.h>
36254 # include <assert.h>
36259 /* Override any gcc2 internal prototype to avoid an error. */
36264 /* We use char because int might match the return type of a gcc2
36265 builtin and then its argument prototype would still apply. */
36267 /* The GNU C library defines this for functions which it implements
36268 to always fail with ENOSYS. Some functions are actually named
36269 something starting with __ and the normal name is an alias. */
36270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36273 char (*f) () = $ac_func;
36282 return f != $ac_func;
36287 rm -f conftest.
$ac_objext conftest
$ac_exeext
36288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36289 (eval $ac_link) 2>conftest.er1
36291 grep -v '^ *+' conftest.er1
>conftest.err
36293 cat conftest.err
>&5
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); } &&
36296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36298 (eval $ac_try) 2>&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); }; } &&
36302 { ac_try
='test -s conftest$ac_exeext'
36303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36304 (eval $ac_try) 2>&5
36306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36307 (exit $ac_status); }; }; then
36308 eval "$as_ac_var=yes"
36310 echo "$as_me: failed program was:" >&5
36311 sed 's/^/| /' conftest.
$ac_ext >&5
36313 eval "$as_ac_var=no"
36315 rm -f conftest.err conftest.
$ac_objext \
36316 conftest
$ac_exeext conftest.
$ac_ext
36318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36320 if test `eval echo '${'$as_ac_var'}'` = yes; then
36321 cat >>confdefs.h
<<_ACEOF
36322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36329 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36330 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36331 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36332 wxUSE_SNGLINST_CHECKER
=no
36337 for ac_func
in timegm
36339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36340 echo "$as_me:$LINENO: checking for $ac_func" >&5
36341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36342 if eval "test \"\${$as_ac_var+set}\" = set"; then
36343 echo $ECHO_N "(cached) $ECHO_C" >&6
36345 cat >conftest.
$ac_ext <<_ACEOF
36348 cat confdefs.h
>>conftest.
$ac_ext
36349 cat >>conftest.
$ac_ext <<_ACEOF
36350 /* end confdefs.h. */
36351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36353 #define $ac_func innocuous_$ac_func
36355 /* System header to define __stub macros and hopefully few prototypes,
36356 which can conflict with char $ac_func (); below.
36357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36358 <limits.h> exists even on freestanding compilers. */
36361 # include <limits.h>
36363 # include <assert.h>
36368 /* Override any gcc2 internal prototype to avoid an error. */
36373 /* We use char because int might match the return type of a gcc2
36374 builtin and then its argument prototype would still apply. */
36376 /* The GNU C library defines this for functions which it implements
36377 to always fail with ENOSYS. Some functions are actually named
36378 something starting with __ and the normal name is an alias. */
36379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36382 char (*f) () = $ac_func;
36391 return f != $ac_func;
36396 rm -f conftest.
$ac_objext conftest
$ac_exeext
36397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36398 (eval $ac_link) 2>conftest.er1
36400 grep -v '^ *+' conftest.er1
>conftest.err
36402 cat conftest.err
>&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); } &&
36405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; } &&
36411 { ac_try
='test -s conftest$ac_exeext'
36412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413 (eval $ac_try) 2>&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); }; }; then
36417 eval "$as_ac_var=yes"
36419 echo "$as_me: failed program was:" >&5
36420 sed 's/^/| /' conftest.
$ac_ext >&5
36422 eval "$as_ac_var=no"
36424 rm -f conftest.err conftest.
$ac_objext \
36425 conftest
$ac_exeext conftest.
$ac_ext
36427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36429 if test `eval echo '${'$as_ac_var'}'` = yes; then
36430 cat >>confdefs.h
<<_ACEOF
36431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36440 for ac_func
in putenv setenv
36442 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36443 echo "$as_me:$LINENO: checking for $ac_func" >&5
36444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36445 if eval "test \"\${$as_ac_var+set}\" = set"; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 cat >conftest.
$ac_ext <<_ACEOF
36451 cat confdefs.h
>>conftest.
$ac_ext
36452 cat >>conftest.
$ac_ext <<_ACEOF
36453 /* end confdefs.h. */
36454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36456 #define $ac_func innocuous_$ac_func
36458 /* System header to define __stub macros and hopefully few prototypes,
36459 which can conflict with char $ac_func (); below.
36460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36461 <limits.h> exists even on freestanding compilers. */
36464 # include <limits.h>
36466 # include <assert.h>
36471 /* Override any gcc2 internal prototype to avoid an error. */
36476 /* We use char because int might match the return type of a gcc2
36477 builtin and then its argument prototype would still apply. */
36479 /* The GNU C library defines this for functions which it implements
36480 to always fail with ENOSYS. Some functions are actually named
36481 something starting with __ and the normal name is an alias. */
36482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36485 char (*f) () = $ac_func;
36494 return f != $ac_func;
36499 rm -f conftest.
$ac_objext conftest
$ac_exeext
36500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36501 (eval $ac_link) 2>conftest.er1
36503 grep -v '^ *+' conftest.er1
>conftest.err
36505 cat conftest.err
>&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } &&
36508 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510 (eval $ac_try) 2>&5
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); }; } &&
36514 { ac_try
='test -s conftest$ac_exeext'
36515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36516 (eval $ac_try) 2>&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); }; }; then
36520 eval "$as_ac_var=yes"
36522 echo "$as_me: failed program was:" >&5
36523 sed 's/^/| /' conftest.
$ac_ext >&5
36525 eval "$as_ac_var=no"
36527 rm -f conftest.err conftest.
$ac_objext \
36528 conftest
$ac_exeext conftest.
$ac_ext
36530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36532 if test `eval echo '${'$as_ac_var'}'` = yes; then
36533 cat >>confdefs.h
<<_ACEOF
36534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36541 HAVE_SOME_SLEEP_FUNC
=0
36542 if test "$USE_BEOS" = 1; then
36543 cat >>confdefs.h
<<\_ACEOF
36544 #define HAVE_SLEEP 1
36547 HAVE_SOME_SLEEP_FUNC
=1
36550 if test "$USE_DARWIN" = 1; then
36551 cat >>confdefs.h
<<\_ACEOF
36552 #define HAVE_USLEEP 1
36555 HAVE_SOME_SLEEP_FUNC
=1
36558 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36561 for ac_func
in nanosleep
36563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36564 echo "$as_me:$LINENO: checking for $ac_func" >&5
36565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36566 if eval "test \"\${$as_ac_var+set}\" = set"; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36569 cat >conftest.
$ac_ext <<_ACEOF
36572 cat confdefs.h
>>conftest.
$ac_ext
36573 cat >>conftest.
$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36577 #define $ac_func innocuous_$ac_func
36579 /* System header to define __stub macros and hopefully few prototypes,
36580 which can conflict with char $ac_func (); below.
36581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36582 <limits.h> exists even on freestanding compilers. */
36585 # include <limits.h>
36587 # include <assert.h>
36592 /* Override any gcc2 internal prototype to avoid an error. */
36597 /* We use char because int might match the return type of a gcc2
36598 builtin and then its argument prototype would still apply. */
36600 /* The GNU C library defines this for functions which it implements
36601 to always fail with ENOSYS. Some functions are actually named
36602 something starting with __ and the normal name is an alias. */
36603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36606 char (*f) () = $ac_func;
36615 return f != $ac_func;
36620 rm -f conftest.
$ac_objext conftest
$ac_exeext
36621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36622 (eval $ac_link) 2>conftest.er1
36624 grep -v '^ *+' conftest.er1
>conftest.err
36626 cat conftest.err
>&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } &&
36629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try
='test -s conftest$ac_exeext'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; }; then
36641 eval "$as_ac_var=yes"
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.
$ac_ext >&5
36646 eval "$as_ac_var=no"
36648 rm -f conftest.err conftest.
$ac_objext \
36649 conftest
$ac_exeext conftest.
$ac_ext
36651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36653 if test `eval echo '${'$as_ac_var'}'` = yes; then
36654 cat >>confdefs.h
<<_ACEOF
36655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36657 cat >>confdefs.h
<<\_ACEOF
36658 #define HAVE_NANOSLEEP 1
36663 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36664 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36665 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36666 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 ac_check_lib_save_LIBS
=$LIBS
36669 LIBS
="-lposix4 $LIBS"
36670 cat >conftest.
$ac_ext <<_ACEOF
36673 cat confdefs.h
>>conftest.
$ac_ext
36674 cat >>conftest.
$ac_ext <<_ACEOF
36675 /* end confdefs.h. */
36677 /* Override any gcc2 internal prototype to avoid an error. */
36681 /* We use char because int might match the return type of a gcc2
36682 builtin and then its argument prototype would still apply. */
36692 rm -f conftest.
$ac_objext conftest
$ac_exeext
36693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36694 (eval $ac_link) 2>conftest.er1
36696 grep -v '^ *+' conftest.er1
>conftest.err
36698 cat conftest.err
>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } &&
36701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try
='test -s conftest$ac_exeext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 ac_cv_lib_posix4_nanosleep
=yes
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.
$ac_ext >&5
36718 ac_cv_lib_posix4_nanosleep
=no
36720 rm -f conftest.err conftest.
$ac_objext \
36721 conftest
$ac_exeext conftest.
$ac_ext
36722 LIBS
=$ac_check_lib_save_LIBS
36724 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36725 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36726 if test $ac_cv_lib_posix4_nanosleep = yes; then
36728 cat >>confdefs.h
<<\_ACEOF
36729 #define HAVE_NANOSLEEP 1
36732 POSIX4_LINK
=" -lposix4"
36737 for ac_func
in usleep
36739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36740 echo "$as_me:$LINENO: checking for $ac_func" >&5
36741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36742 if eval "test \"\${$as_ac_var+set}\" = set"; then
36743 echo $ECHO_N "(cached) $ECHO_C" >&6
36745 cat >conftest.
$ac_ext <<_ACEOF
36748 cat confdefs.h
>>conftest.
$ac_ext
36749 cat >>conftest.
$ac_ext <<_ACEOF
36750 /* end confdefs.h. */
36751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36753 #define $ac_func innocuous_$ac_func
36755 /* System header to define __stub macros and hopefully few prototypes,
36756 which can conflict with char $ac_func (); below.
36757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36758 <limits.h> exists even on freestanding compilers. */
36761 # include <limits.h>
36763 # include <assert.h>
36768 /* Override any gcc2 internal prototype to avoid an error. */
36773 /* We use char because int might match the return type of a gcc2
36774 builtin and then its argument prototype would still apply. */
36776 /* The GNU C library defines this for functions which it implements
36777 to always fail with ENOSYS. Some functions are actually named
36778 something starting with __ and the normal name is an alias. */
36779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36782 char (*f) () = $ac_func;
36791 return f != $ac_func;
36796 rm -f conftest.
$ac_objext conftest
$ac_exeext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36798 (eval $ac_link) 2>conftest.er1
36800 grep -v '^ *+' conftest.er1
>conftest.err
36802 cat conftest.err
>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; } &&
36811 { ac_try
='test -s conftest$ac_exeext'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; }; then
36817 eval "$as_ac_var=yes"
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.
$ac_ext >&5
36822 eval "$as_ac_var=no"
36824 rm -f conftest.err conftest.
$ac_objext \
36825 conftest
$ac_exeext conftest.
$ac_ext
36827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36829 if test `eval echo '${'$as_ac_var'}'` = yes; then
36830 cat >>confdefs.h
<<_ACEOF
36831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define HAVE_USLEEP 1
36838 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36839 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36857 for ac_func
in uname gethostname
36859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36860 echo "$as_me:$LINENO: checking for $ac_func" >&5
36861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36862 if eval "test \"\${$as_ac_var+set}\" = set"; then
36863 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 cat >conftest.
$ac_ext <<_ACEOF
36868 cat confdefs.h
>>conftest.
$ac_ext
36869 cat >>conftest.
$ac_ext <<_ACEOF
36870 /* end confdefs.h. */
36871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36873 #define $ac_func innocuous_$ac_func
36875 /* System header to define __stub macros and hopefully few prototypes,
36876 which can conflict with char $ac_func (); below.
36877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36878 <limits.h> exists even on freestanding compilers. */
36881 # include <limits.h>
36883 # include <assert.h>
36888 /* Override any gcc2 internal prototype to avoid an error. */
36893 /* We use char because int might match the return type of a gcc2
36894 builtin and then its argument prototype would still apply. */
36896 /* The GNU C library defines this for functions which it implements
36897 to always fail with ENOSYS. Some functions are actually named
36898 something starting with __ and the normal name is an alias. */
36899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36902 char (*f) () = $ac_func;
36911 return f != $ac_func;
36916 rm -f conftest.
$ac_objext conftest
$ac_exeext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36918 (eval $ac_link) 2>conftest.er1
36920 grep -v '^ *+' conftest.er1
>conftest.err
36922 cat conftest.err
>&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); } &&
36925 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36927 (eval $ac_try) 2>&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); }; } &&
36931 { ac_try
='test -s conftest$ac_exeext'
36932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36933 (eval $ac_try) 2>&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; }; then
36937 eval "$as_ac_var=yes"
36939 echo "$as_me: failed program was:" >&5
36940 sed 's/^/| /' conftest.
$ac_ext >&5
36942 eval "$as_ac_var=no"
36944 rm -f conftest.err conftest.
$ac_objext \
36945 conftest
$ac_exeext conftest.
$ac_ext
36947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36949 if test `eval echo '${'$as_ac_var'}'` = yes; then
36950 cat >>confdefs.h
<<_ACEOF
36951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36959 for ac_func
in strtok_r
36961 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36962 echo "$as_me:$LINENO: checking for $ac_func" >&5
36963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36964 if eval "test \"\${$as_ac_var+set}\" = set"; then
36965 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 cat >conftest.
$ac_ext <<_ACEOF
36970 cat confdefs.h
>>conftest.
$ac_ext
36971 cat >>conftest.
$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36975 #define $ac_func innocuous_$ac_func
36977 /* System header to define __stub macros and hopefully few prototypes,
36978 which can conflict with char $ac_func (); below.
36979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36980 <limits.h> exists even on freestanding compilers. */
36983 # include <limits.h>
36985 # include <assert.h>
36990 /* Override any gcc2 internal prototype to avoid an error. */
36995 /* We use char because int might match the return type of a gcc2
36996 builtin and then its argument prototype would still apply. */
36998 /* The GNU C library defines this for functions which it implements
36999 to always fail with ENOSYS. Some functions are actually named
37000 something starting with __ and the normal name is an alias. */
37001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37004 char (*f) () = $ac_func;
37013 return f != $ac_func;
37018 rm -f conftest.
$ac_objext conftest
$ac_exeext
37019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37020 (eval $ac_link) 2>conftest.er1
37022 grep -v '^ *+' conftest.er1
>conftest.err
37024 cat conftest.err
>&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); } &&
37027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029 (eval $ac_try) 2>&5
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); }; } &&
37033 { ac_try
='test -s conftest$ac_exeext'
37034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37035 (eval $ac_try) 2>&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); }; }; then
37039 eval "$as_ac_var=yes"
37041 echo "$as_me: failed program was:" >&5
37042 sed 's/^/| /' conftest.
$ac_ext >&5
37044 eval "$as_ac_var=no"
37046 rm -f conftest.err conftest.
$ac_objext \
37047 conftest
$ac_exeext conftest.
$ac_ext
37049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37051 if test `eval echo '${'$as_ac_var'}'` = yes; then
37052 cat >>confdefs.h
<<_ACEOF
37053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37062 for ac_func
in inet_addr
37064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37065 echo "$as_me:$LINENO: checking for $ac_func" >&5
37066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37067 if eval "test \"\${$as_ac_var+set}\" = set"; then
37068 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 cat >conftest.
$ac_ext <<_ACEOF
37073 cat confdefs.h
>>conftest.
$ac_ext
37074 cat >>conftest.
$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37078 #define $ac_func innocuous_$ac_func
37080 /* System header to define __stub macros and hopefully few prototypes,
37081 which can conflict with char $ac_func (); below.
37082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37083 <limits.h> exists even on freestanding compilers. */
37086 # include <limits.h>
37088 # include <assert.h>
37093 /* Override any gcc2 internal prototype to avoid an error. */
37098 /* We use char because int might match the return type of a gcc2
37099 builtin and then its argument prototype would still apply. */
37101 /* The GNU C library defines this for functions which it implements
37102 to always fail with ENOSYS. Some functions are actually named
37103 something starting with __ and the normal name is an alias. */
37104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37107 char (*f) () = $ac_func;
37116 return f != $ac_func;
37121 rm -f conftest.
$ac_objext conftest
$ac_exeext
37122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37123 (eval $ac_link) 2>conftest.er1
37125 grep -v '^ *+' conftest.er1
>conftest.err
37127 cat conftest.err
>&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } &&
37130 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; } &&
37136 { ac_try
='test -s conftest$ac_exeext'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; }; then
37142 eval "$as_ac_var=yes"
37144 echo "$as_me: failed program was:" >&5
37145 sed 's/^/| /' conftest.
$ac_ext >&5
37147 eval "$as_ac_var=no"
37149 rm -f conftest.err conftest.
$ac_objext \
37150 conftest
$ac_exeext conftest.
$ac_ext
37152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37154 if test `eval echo '${'$as_ac_var'}'` = yes; then
37155 cat >>confdefs.h
<<_ACEOF
37156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37158 cat >>confdefs.h
<<\_ACEOF
37159 #define HAVE_INET_ADDR 1
37164 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37165 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37166 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37167 echo $ECHO_N "(cached) $ECHO_C" >&6
37169 ac_check_lib_save_LIBS
=$LIBS
37171 cat >conftest.
$ac_ext <<_ACEOF
37174 cat confdefs.h
>>conftest.
$ac_ext
37175 cat >>conftest.
$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37178 /* Override any gcc2 internal prototype to avoid an error. */
37182 /* We use char because int might match the return type of a gcc2
37183 builtin and then its argument prototype would still apply. */
37193 rm -f conftest.
$ac_objext conftest
$ac_exeext
37194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37195 (eval $ac_link) 2>conftest.er1
37197 grep -v '^ *+' conftest.er1
>conftest.err
37199 cat conftest.err
>&5
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); } &&
37202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37204 (eval $ac_try) 2>&5
37206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37207 (exit $ac_status); }; } &&
37208 { ac_try
='test -s conftest$ac_exeext'
37209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37210 (eval $ac_try) 2>&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); }; }; then
37214 ac_cv_lib_nsl_inet_addr
=yes
37216 echo "$as_me: failed program was:" >&5
37217 sed 's/^/| /' conftest.
$ac_ext >&5
37219 ac_cv_lib_nsl_inet_addr
=no
37221 rm -f conftest.err conftest.
$ac_objext \
37222 conftest
$ac_exeext conftest.
$ac_ext
37223 LIBS
=$ac_check_lib_save_LIBS
37225 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37226 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37227 if test $ac_cv_lib_nsl_inet_addr = yes; then
37231 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37232 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37233 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37234 echo $ECHO_N "(cached) $ECHO_C" >&6
37236 ac_check_lib_save_LIBS
=$LIBS
37237 LIBS
="-lresolv $LIBS"
37238 cat >conftest.
$ac_ext <<_ACEOF
37241 cat confdefs.h
>>conftest.
$ac_ext
37242 cat >>conftest.
$ac_ext <<_ACEOF
37243 /* end confdefs.h. */
37245 /* Override any gcc2 internal prototype to avoid an error. */
37249 /* We use char because int might match the return type of a gcc2
37250 builtin and then its argument prototype would still apply. */
37260 rm -f conftest.
$ac_objext conftest
$ac_exeext
37261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37262 (eval $ac_link) 2>conftest.er1
37264 grep -v '^ *+' conftest.er1
>conftest.err
37266 cat conftest.err
>&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } &&
37269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37271 (eval $ac_try) 2>&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); }; } &&
37275 { ac_try
='test -s conftest$ac_exeext'
37276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37277 (eval $ac_try) 2>&5
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); }; }; then
37281 ac_cv_lib_resolv_inet_addr
=yes
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.
$ac_ext >&5
37286 ac_cv_lib_resolv_inet_addr
=no
37288 rm -f conftest.err conftest.
$ac_objext \
37289 conftest
$ac_exeext conftest.
$ac_ext
37290 LIBS
=$ac_check_lib_save_LIBS
37292 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37293 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37294 if test $ac_cv_lib_resolv_inet_addr = yes; then
37298 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37299 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37300 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37301 echo $ECHO_N "(cached) $ECHO_C" >&6
37303 ac_check_lib_save_LIBS
=$LIBS
37304 LIBS
="-lsocket $LIBS"
37305 cat >conftest.
$ac_ext <<_ACEOF
37308 cat confdefs.h
>>conftest.
$ac_ext
37309 cat >>conftest.
$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37312 /* Override any gcc2 internal prototype to avoid an error. */
37316 /* We use char because int might match the return type of a gcc2
37317 builtin and then its argument prototype would still apply. */
37327 rm -f conftest.
$ac_objext conftest
$ac_exeext
37328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37329 (eval $ac_link) 2>conftest.er1
37331 grep -v '^ *+' conftest.er1
>conftest.err
37333 cat conftest.err
>&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } &&
37336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37338 (eval $ac_try) 2>&5
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); }; } &&
37342 { ac_try
='test -s conftest$ac_exeext'
37343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37344 (eval $ac_try) 2>&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); }; }; then
37348 ac_cv_lib_socket_inet_addr
=yes
37350 echo "$as_me: failed program was:" >&5
37351 sed 's/^/| /' conftest.
$ac_ext >&5
37353 ac_cv_lib_socket_inet_addr
=no
37355 rm -f conftest.err conftest.
$ac_objext \
37356 conftest
$ac_exeext conftest.
$ac_ext
37357 LIBS
=$ac_check_lib_save_LIBS
37359 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37360 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37361 if test $ac_cv_lib_socket_inet_addr = yes; then
37381 for ac_func
in inet_aton
37383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37384 echo "$as_me:$LINENO: checking for $ac_func" >&5
37385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37386 if eval "test \"\${$as_ac_var+set}\" = set"; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 cat >conftest.
$ac_ext <<_ACEOF
37392 cat confdefs.h
>>conftest.
$ac_ext
37393 cat >>conftest.
$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37397 #define $ac_func innocuous_$ac_func
37399 /* System header to define __stub macros and hopefully few prototypes,
37400 which can conflict with char $ac_func (); below.
37401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37402 <limits.h> exists even on freestanding compilers. */
37405 # include <limits.h>
37407 # include <assert.h>
37412 /* Override any gcc2 internal prototype to avoid an error. */
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37420 /* The GNU C library defines this for functions which it implements
37421 to always fail with ENOSYS. Some functions are actually named
37422 something starting with __ and the normal name is an alias. */
37423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37426 char (*f) () = $ac_func;
37435 return f != $ac_func;
37440 rm -f conftest.
$ac_objext conftest
$ac_exeext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37442 (eval $ac_link) 2>conftest.er1
37444 grep -v '^ *+' conftest.er1
>conftest.err
37446 cat conftest.err
>&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; } &&
37455 { ac_try
='test -s conftest$ac_exeext'
37456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37457 (eval $ac_try) 2>&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); }; }; then
37461 eval "$as_ac_var=yes"
37463 echo "$as_me: failed program was:" >&5
37464 sed 's/^/| /' conftest.
$ac_ext >&5
37466 eval "$as_ac_var=no"
37468 rm -f conftest.err conftest.
$ac_objext \
37469 conftest
$ac_exeext conftest.
$ac_ext
37471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37473 if test `eval echo '${'$as_ac_var'}'` = yes; then
37474 cat >>confdefs.h
<<_ACEOF
37475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37477 cat >>confdefs.h
<<\_ACEOF
37478 #define HAVE_INET_ATON 1
37483 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37484 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37485 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37486 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 ac_check_lib_save_LIBS
=$LIBS
37490 LIBS
="-l$INET_LINK $LIBS"
37491 cat >conftest.
$ac_ext <<_ACEOF
37494 cat confdefs.h
>>conftest.
$ac_ext
37495 cat >>conftest.
$ac_ext <<_ACEOF
37496 /* end confdefs.h. */
37498 /* Override any gcc2 internal prototype to avoid an error. */
37502 /* We use char because int might match the return type of a gcc2
37503 builtin and then its argument prototype would still apply. */
37513 rm -f conftest.
$ac_objext conftest
$ac_exeext
37514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37515 (eval $ac_link) 2>conftest.er1
37517 grep -v '^ *+' conftest.er1
>conftest.err
37519 cat conftest.err
>&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } &&
37522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37524 (eval $ac_try) 2>&5
37526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37527 (exit $ac_status); }; } &&
37528 { ac_try
='test -s conftest$ac_exeext'
37529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37530 (eval $ac_try) 2>&5
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); }; }; then
37534 eval "$as_ac_Lib=yes"
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.
$ac_ext >&5
37539 eval "$as_ac_Lib=no"
37541 rm -f conftest.err conftest.
$ac_objext \
37542 conftest
$ac_exeext conftest.
$ac_ext
37543 LIBS
=$ac_check_lib_save_LIBS
37545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37546 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37547 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37548 cat >>confdefs.h
<<\_ACEOF
37549 #define HAVE_INET_ATON 1
37559 if test "x$INET_LINK" != "x"; then
37560 cat >>confdefs.h
<<\_ACEOF
37561 #define HAVE_INET_ADDR 1
37564 INET_LINK
=" -l$INET_LINK"
37572 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37573 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37574 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37575 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 ac_check_lib_save_LIBS
=$LIBS
37579 cat >conftest.
$ac_ext <<_ACEOF
37582 cat confdefs.h
>>conftest.
$ac_ext
37583 cat >>conftest.
$ac_ext <<_ACEOF
37584 /* end confdefs.h. */
37586 /* Override any gcc2 internal prototype to avoid an error. */
37590 /* We use char because int might match the return type of a gcc2
37591 builtin and then its argument prototype would still apply. */
37601 rm -f conftest.
$ac_objext conftest
$ac_exeext
37602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37603 (eval $ac_link) 2>conftest.er1
37605 grep -v '^ *+' conftest.er1
>conftest.err
37607 cat conftest.err
>&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); } &&
37610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37612 (eval $ac_try) 2>&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); }; } &&
37616 { ac_try
='test -s conftest$ac_exeext'
37617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37618 (eval $ac_try) 2>&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); }; }; then
37622 ac_cv_lib_esd_esd_close
=yes
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.
$ac_ext >&5
37627 ac_cv_lib_esd_esd_close
=no
37629 rm -f conftest.err conftest.
$ac_objext \
37630 conftest
$ac_exeext conftest.
$ac_ext
37631 LIBS
=$ac_check_lib_save_LIBS
37633 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37634 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37635 if test $ac_cv_lib_esd_esd_close = yes; then
37638 for ac_header
in esd.h
37640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37642 echo "$as_me:$LINENO: checking for $ac_header" >&5
37643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37645 echo $ECHO_N "(cached) $ECHO_C" >&6
37647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37650 # Is the header compilable?
37651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37653 cat >conftest.
$ac_ext <<_ACEOF
37656 cat confdefs.h
>>conftest.
$ac_ext
37657 cat >>conftest.
$ac_ext <<_ACEOF
37658 /* end confdefs.h. */
37659 $ac_includes_default
37660 #include <$ac_header>
37662 rm -f conftest.
$ac_objext
37663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37664 (eval $ac_compile) 2>conftest.er1
37666 grep -v '^ *+' conftest.er1
>conftest.err
37668 cat conftest.err
>&5
37669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37670 (exit $ac_status); } &&
37671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37673 (eval $ac_try) 2>&5
37675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37676 (exit $ac_status); }; } &&
37677 { ac_try
='test -s conftest.$ac_objext'
37678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37679 (eval $ac_try) 2>&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); }; }; then
37683 ac_header_compiler
=yes
37685 echo "$as_me: failed program was:" >&5
37686 sed 's/^/| /' conftest.
$ac_ext >&5
37688 ac_header_compiler
=no
37690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37692 echo "${ECHO_T}$ac_header_compiler" >&6
37694 # Is the header present?
37695 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37697 cat >conftest.
$ac_ext <<_ACEOF
37700 cat confdefs.h
>>conftest.
$ac_ext
37701 cat >>conftest.
$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37703 #include <$ac_header>
37705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37708 grep -v '^ *+' conftest.er1
>conftest.err
37710 cat conftest.err
>&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); } >/dev
/null
; then
37713 if test -s conftest.err
; then
37714 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37715 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37722 if test -z "$ac_cpp_err"; then
37723 ac_header_preproc
=yes
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.
$ac_ext >&5
37728 ac_header_preproc
=no
37730 rm -f conftest.err conftest.
$ac_ext
37731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37732 echo "${ECHO_T}$ac_header_preproc" >&6
37734 # So? What about this header?
37735 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37741 ac_header_preproc
=yes
37744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37758 ## ----------------------------------------- ##
37759 ## Report this to wx-dev@lists.wxwidgets.org ##
37760 ## ----------------------------------------- ##
37763 sed "s/^/$as_me: WARNING: /" >&2
37766 echo "$as_me:$LINENO: checking for $ac_header" >&5
37767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37769 echo $ECHO_N "(cached) $ECHO_C" >&6
37771 eval "$as_ac_Header=\$ac_header_preproc"
37773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37778 cat >>confdefs.h
<<_ACEOF
37779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37782 EXTRALIBS_ESD
="-lesd"
37793 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37794 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37795 cat >conftest.
$ac_ext <<_ACEOF
37798 cat confdefs.h
>>conftest.
$ac_ext
37799 cat >>conftest.
$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37802 #include <linux/cdrom.h>
37805 #include <sys/cdio.h>
37811 struct cdrom_tocentry entry, old_entry;
37816 rm -f conftest.
$ac_objext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37818 (eval $ac_compile) 2>conftest.er1
37820 grep -v '^ *+' conftest.er1
>conftest.err
37822 cat conftest.err
>&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } &&
37825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try
='test -s conftest.$ac_objext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 echo "$as_me:$LINENO: result: yes" >&5
37838 echo "${ECHO_T}yes" >&6
37839 cat >>confdefs.h
<<\_ACEOF
37840 #define HAVE_KNOWN_CDROM_INTERFACE 1
37844 echo "$as_me: failed program was:" >&5
37845 sed 's/^/| /' conftest.
$ac_ext >&5
37847 echo "$as_me:$LINENO: result: no" >&5
37848 echo "${ECHO_T}no" >&6
37850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37853 cat >confcache
<<\_ACEOF
37854 # This file is a shell script that caches the results of configure
37855 # tests run on this system so they can be shared between configure
37856 # scripts and configure runs, see configure's option --config-cache.
37857 # It is not useful on other systems. If it contains results you don't
37858 # want to keep, you may remove or edit it.
37860 # config.status only pays attention to the cache file if you give it
37861 # the --recheck option to rerun configure.
37863 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37864 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37865 # following values.
37869 # The following way of writing the cache mishandles newlines in values,
37870 # but we know of no workaround that is simple, portable, and efficient.
37871 # So, don't put newlines in cache variables' values.
37872 # Ultrix sh set writes to stderr and can't be redirected directly,
37873 # and sets the high bit in the cache file unless we assign to the vars.
37876 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37878 # `set' does not quote correctly, so add quotes (double-quote
37879 # substitution turns \\\\ into \\, and sed turns \\ into \).
37882 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37885 # `set' quotes correctly as required by POSIX, so do not add quotes.
37887 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37896 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37898 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37899 if test -w $cache_file; then
37900 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37901 cat confcache
>$cache_file
37903 echo "not updating unwritable cache $cache_file"
37909 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37915 if test "$wxUSE_THREADS" = "yes" ; then
37916 if test "$USE_BEOS" = 1; then
37917 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37918 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37923 if test "$wxUSE_THREADS" = "yes" ; then
37926 THREAD_OPTS
="-pthread"
37928 *-*-solaris2* | *-*-sunos4* )
37929 if test "x$GCC" = "xyes"; then
37930 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37932 THREAD_OPTS
="-mt $THREAD_OPTS"
37936 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37938 *-*-darwin* | *-*-cygwin* )
37942 THREAD_OPTS
="pthreads"
37945 if test "x$GCC" = "xyes"; then
37946 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37954 if test "x$GCC" = "xyes"; then
37960 if test "x$GCC" != "xyes"; then
37961 THREAD_OPTS
="-Ethread"
37966 THREAD_OPTS
="$THREAD_OPTS pthread none"
37969 for flag
in $THREAD_OPTS; do
37972 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37973 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37977 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37978 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37979 THREADS_CXXFLAGS
="$flag"
37983 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37984 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37985 THREADS_LINK
="-l$flag"
37990 save_CXXFLAGS
="$CXXFLAGS"
37991 LIBS
="$THREADS_LINK $LIBS"
37992 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
37994 cat >conftest.
$ac_ext <<_ACEOF
37997 cat confdefs.h
>>conftest.
$ac_ext
37998 cat >>conftest.
$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38000 #include <pthread.h>
38004 pthread_create(0,0,0,0);
38009 rm -f conftest.
$ac_objext conftest
$ac_exeext
38010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38011 (eval $ac_link) 2>conftest.er1
38013 grep -v '^ *+' conftest.er1
>conftest.err
38015 cat conftest.err
>&5
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); } &&
38018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38020 (eval $ac_try) 2>&5
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); }; } &&
38024 { ac_try
='test -s conftest$ac_exeext'
38025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38026 (eval $ac_try) 2>&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); }; }; then
38032 echo "$as_me: failed program was:" >&5
38033 sed 's/^/| /' conftest.
$ac_ext >&5
38036 rm -f conftest.err conftest.
$ac_objext \
38037 conftest
$ac_exeext conftest.
$ac_ext
38040 CXXFLAGS
="$save_CXXFLAGS"
38042 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38043 echo "${ECHO_T}$THREADS_OK" >&6
38044 if test "x$THREADS_OK" = "xyes"; then
38049 THREADS_CXXFLAGS
=""
38052 if test "x$THREADS_OK" != "xyes"; then
38054 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38055 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38057 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38058 LIBS
="$THREADS_LINK $LIBS"
38060 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38061 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38065 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38066 flag
="-D_THREAD_SAFE"
38069 flag
="-D_THREAD_SAFE"
38072 flag
="-D_REENTRANT"
38073 if test "x$GCC" != "xyes"; then
38074 flag
="$flag -D_RWSTD_MULTI_THREAD"
38077 *solaris
* | alpha
*-osf*)
38078 flag
="-D_REENTRANT"
38081 echo "$as_me:$LINENO: result: ${flag}" >&5
38082 echo "${ECHO_T}${flag}" >&6
38083 if test "x$flag" != xno
; then
38084 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38087 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38091 if test "$wxUSE_THREADS" = "yes" ; then
38093 for ac_func
in thr_setconcurrency
38095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38096 echo "$as_me:$LINENO: checking for $ac_func" >&5
38097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38098 if eval "test \"\${$as_ac_var+set}\" = set"; then
38099 echo $ECHO_N "(cached) $ECHO_C" >&6
38101 cat >conftest.
$ac_ext <<_ACEOF
38104 cat confdefs.h
>>conftest.
$ac_ext
38105 cat >>conftest.
$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38109 #define $ac_func innocuous_$ac_func
38111 /* System header to define __stub macros and hopefully few prototypes,
38112 which can conflict with char $ac_func (); below.
38113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38114 <limits.h> exists even on freestanding compilers. */
38117 # include <limits.h>
38119 # include <assert.h>
38124 /* Override any gcc2 internal prototype to avoid an error. */
38129 /* We use char because int might match the return type of a gcc2
38130 builtin and then its argument prototype would still apply. */
38132 /* The GNU C library defines this for functions which it implements
38133 to always fail with ENOSYS. Some functions are actually named
38134 something starting with __ and the normal name is an alias. */
38135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38138 char (*f) () = $ac_func;
38147 return f != $ac_func;
38152 rm -f conftest.
$ac_objext conftest
$ac_exeext
38153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38154 (eval $ac_link) 2>conftest.er1
38156 grep -v '^ *+' conftest.er1
>conftest.err
38158 cat conftest.err
>&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } &&
38161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; } &&
38167 { ac_try
='test -s conftest$ac_exeext'
38168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38169 (eval $ac_try) 2>&5
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); }; }; then
38173 eval "$as_ac_var=yes"
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.
$ac_ext >&5
38178 eval "$as_ac_var=no"
38180 rm -f conftest.err conftest.
$ac_objext \
38181 conftest
$ac_exeext conftest.
$ac_ext
38183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38185 if test `eval echo '${'$as_ac_var'}'` = yes; then
38186 cat >>confdefs.h
<<_ACEOF
38187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38194 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38195 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38196 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38197 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 cat >conftest.
$ac_ext <<_ACEOF
38203 cat confdefs.h
>>conftest.
$ac_ext
38204 cat >>conftest.
$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206 #include <pthread.h>
38207 void ThreadCleanupFunc(void *p);
38214 pthread_cleanup_push(ThreadCleanupFunc, p);
38215 pthread_cleanup_pop(0);
38221 rm -f conftest.
$ac_objext
38222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38223 (eval $ac_compile) 2>conftest.er1
38225 grep -v '^ *+' conftest.er1
>conftest.err
38227 cat conftest.err
>&5
38228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38229 (exit $ac_status); } &&
38230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38232 (eval $ac_try) 2>&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); }; } &&
38236 { ac_try
='test -s conftest.$ac_objext'
38237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38238 (eval $ac_try) 2>&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); }; }; then
38243 wx_cv_func_pthread_cleanup
=yes
38246 echo "$as_me: failed program was:" >&5
38247 sed 's/^/| /' conftest.
$ac_ext >&5
38250 wx_cv_func_pthread_cleanup
=no
38254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38257 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38258 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38259 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38260 cat >>confdefs.h
<<\_ACEOF
38261 #define wxHAVE_PTHREAD_CLEANUP 1
38267 for ac_header
in sched.h
38269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38271 echo "$as_me:$LINENO: checking for $ac_header" >&5
38272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38279 # Is the header compilable?
38280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38282 cat >conftest.
$ac_ext <<_ACEOF
38285 cat confdefs.h
>>conftest.
$ac_ext
38286 cat >>conftest.
$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 $ac_includes_default
38289 #include <$ac_header>
38291 rm -f conftest.
$ac_objext
38292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38293 (eval $ac_compile) 2>conftest.er1
38295 grep -v '^ *+' conftest.er1
>conftest.err
38297 cat conftest.err
>&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } &&
38300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; } &&
38306 { ac_try
='test -s conftest.$ac_objext'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; }; then
38312 ac_header_compiler
=yes
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.
$ac_ext >&5
38317 ac_header_compiler
=no
38319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38321 echo "${ECHO_T}$ac_header_compiler" >&6
38323 # Is the header present?
38324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38326 cat >conftest.
$ac_ext <<_ACEOF
38329 cat confdefs.h
>>conftest.
$ac_ext
38330 cat >>conftest.
$ac_ext <<_ACEOF
38331 /* end confdefs.h. */
38332 #include <$ac_header>
38334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38337 grep -v '^ *+' conftest.er1
>conftest.err
38339 cat conftest.err
>&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } >/dev
/null
; then
38342 if test -s conftest.err
; then
38343 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38344 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38351 if test -z "$ac_cpp_err"; then
38352 ac_header_preproc
=yes
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.
$ac_ext >&5
38357 ac_header_preproc
=no
38359 rm -f conftest.err conftest.
$ac_ext
38360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38361 echo "${ECHO_T}$ac_header_preproc" >&6
38363 # So? What about this header?
38364 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38370 ac_header_preproc
=yes
38373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38387 ## ----------------------------------------- ##
38388 ## Report this to wx-dev@lists.wxwidgets.org ##
38389 ## ----------------------------------------- ##
38392 sed "s/^/$as_me: WARNING: /" >&2
38395 echo "$as_me:$LINENO: checking for $ac_header" >&5
38396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38398 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 eval "$as_ac_Header=\$ac_header_preproc"
38402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38407 cat >>confdefs.h
<<_ACEOF
38408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38415 if test "$ac_cv_header_sched_h" = "yes"; then
38416 echo "$as_me:$LINENO: checking for sched_yield" >&5
38417 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38418 if test "${ac_cv_func_sched_yield+set}" = set; then
38419 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 cat >conftest.
$ac_ext <<_ACEOF
38424 cat confdefs.h
>>conftest.
$ac_ext
38425 cat >>conftest.
$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38427 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38429 #define sched_yield innocuous_sched_yield
38431 /* System header to define __stub macros and hopefully few prototypes,
38432 which can conflict with char sched_yield (); below.
38433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38434 <limits.h> exists even on freestanding compilers. */
38437 # include <limits.h>
38439 # include <assert.h>
38444 /* Override any gcc2 internal prototype to avoid an error. */
38449 /* We use char because int might match the return type of a gcc2
38450 builtin and then its argument prototype would still apply. */
38451 char sched_yield ();
38452 /* The GNU C library defines this for functions which it implements
38453 to always fail with ENOSYS. Some functions are actually named
38454 something starting with __ and the normal name is an alias. */
38455 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38458 char (*f) () = sched_yield;
38467 return f != sched_yield;
38472 rm -f conftest.
$ac_objext conftest
$ac_exeext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38474 (eval $ac_link) 2>conftest.er1
38476 grep -v '^ *+' conftest.er1
>conftest.err
38478 cat conftest.err
>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38483 (eval $ac_try) 2>&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); }; } &&
38487 { ac_try
='test -s conftest$ac_exeext'
38488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38489 (eval $ac_try) 2>&5
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); }; }; then
38493 ac_cv_func_sched_yield
=yes
38495 echo "$as_me: failed program was:" >&5
38496 sed 's/^/| /' conftest.
$ac_ext >&5
38498 ac_cv_func_sched_yield
=no
38500 rm -f conftest.err conftest.
$ac_objext \
38501 conftest
$ac_exeext conftest.
$ac_ext
38503 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38504 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38505 if test $ac_cv_func_sched_yield = yes; then
38506 cat >>confdefs.h
<<\_ACEOF
38507 #define HAVE_SCHED_YIELD 1
38512 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38513 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38514 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38515 echo $ECHO_N "(cached) $ECHO_C" >&6
38517 ac_check_lib_save_LIBS
=$LIBS
38518 LIBS
="-lposix4 $LIBS"
38519 cat >conftest.
$ac_ext <<_ACEOF
38522 cat confdefs.h
>>conftest.
$ac_ext
38523 cat >>conftest.
$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38526 /* Override any gcc2 internal prototype to avoid an error. */
38530 /* We use char because int might match the return type of a gcc2
38531 builtin and then its argument prototype would still apply. */
38532 char sched_yield ();
38541 rm -f conftest.
$ac_objext conftest
$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38545 grep -v '^ *+' conftest.er1
>conftest.err
38547 cat conftest.err
>&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try
='test -s conftest$ac_exeext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 ac_cv_lib_posix4_sched_yield
=yes
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 ac_cv_lib_posix4_sched_yield
=no
38569 rm -f conftest.err conftest.
$ac_objext \
38570 conftest
$ac_exeext conftest.
$ac_ext
38571 LIBS
=$ac_check_lib_save_LIBS
38573 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38574 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38575 if test $ac_cv_lib_posix4_sched_yield = yes; then
38576 cat >>confdefs.h
<<\_ACEOF
38577 #define HAVE_SCHED_YIELD 1
38579 POSIX4_LINK
=" -lposix4"
38581 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38582 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38593 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38594 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38595 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38596 echo $ECHO_N "(cached) $ECHO_C" >&6
38598 cat >conftest.
$ac_ext <<_ACEOF
38601 cat confdefs.h
>>conftest.
$ac_ext
38602 cat >>conftest.
$ac_ext <<_ACEOF
38603 /* end confdefs.h. */
38604 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38606 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38608 /* System header to define __stub macros and hopefully few prototypes,
38609 which can conflict with char pthread_attr_getschedpolicy (); below.
38610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38611 <limits.h> exists even on freestanding compilers. */
38614 # include <limits.h>
38616 # include <assert.h>
38619 #undef pthread_attr_getschedpolicy
38621 /* Override any gcc2 internal prototype to avoid an error. */
38626 /* We use char because int might match the return type of a gcc2
38627 builtin and then its argument prototype would still apply. */
38628 char pthread_attr_getschedpolicy ();
38629 /* The GNU C library defines this for functions which it implements
38630 to always fail with ENOSYS. Some functions are actually named
38631 something starting with __ and the normal name is an alias. */
38632 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38635 char (*f) () = pthread_attr_getschedpolicy;
38644 return f != pthread_attr_getschedpolicy;
38649 rm -f conftest.
$ac_objext conftest
$ac_exeext
38650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38651 (eval $ac_link) 2>conftest.er1
38653 grep -v '^ *+' conftest.er1
>conftest.err
38655 cat conftest.err
>&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); } &&
38658 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_pthread_attr_getschedpolicy
=yes
38672 echo "$as_me: failed program was:" >&5
38673 sed 's/^/| /' conftest.
$ac_ext >&5
38675 ac_cv_func_pthread_attr_getschedpolicy
=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_pthread_attr_getschedpolicy" >&5
38681 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38682 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38683 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38684 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38685 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38686 echo $ECHO_N "(cached) $ECHO_C" >&6
38688 cat >conftest.
$ac_ext <<_ACEOF
38691 cat confdefs.h
>>conftest.
$ac_ext
38692 cat >>conftest.
$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38694 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38696 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38698 /* System header to define __stub macros and hopefully few prototypes,
38699 which can conflict with char pthread_attr_setschedparam (); below.
38700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38701 <limits.h> exists even on freestanding compilers. */
38704 # include <limits.h>
38706 # include <assert.h>
38709 #undef pthread_attr_setschedparam
38711 /* Override any gcc2 internal prototype to avoid an error. */
38716 /* We use char because int might match the return type of a gcc2
38717 builtin and then its argument prototype would still apply. */
38718 char pthread_attr_setschedparam ();
38719 /* The GNU C library defines this for functions which it implements
38720 to always fail with ENOSYS. Some functions are actually named
38721 something starting with __ and the normal name is an alias. */
38722 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38725 char (*f) () = pthread_attr_setschedparam;
38734 return f != pthread_attr_setschedparam;
38739 rm -f conftest.
$ac_objext conftest
$ac_exeext
38740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38741 (eval $ac_link) 2>conftest.er1
38743 grep -v '^ *+' conftest.er1
>conftest.err
38745 cat conftest.err
>&5
38746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38747 (exit $ac_status); } &&
38748 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38750 (eval $ac_try) 2>&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); }; } &&
38754 { ac_try
='test -s conftest$ac_exeext'
38755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756 (eval $ac_try) 2>&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; }; then
38760 ac_cv_func_pthread_attr_setschedparam
=yes
38762 echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.
$ac_ext >&5
38765 ac_cv_func_pthread_attr_setschedparam
=no
38767 rm -f conftest.err conftest.
$ac_objext \
38768 conftest
$ac_exeext conftest.
$ac_ext
38770 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38771 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38772 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38773 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38774 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38775 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38778 cat >conftest.
$ac_ext <<_ACEOF
38781 cat confdefs.h
>>conftest.
$ac_ext
38782 cat >>conftest.
$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38784 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38786 #define sched_get_priority_max innocuous_sched_get_priority_max
38788 /* System header to define __stub macros and hopefully few prototypes,
38789 which can conflict with char sched_get_priority_max (); below.
38790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38791 <limits.h> exists even on freestanding compilers. */
38794 # include <limits.h>
38796 # include <assert.h>
38799 #undef sched_get_priority_max
38801 /* Override any gcc2 internal prototype to avoid an error. */
38806 /* We use char because int might match the return type of a gcc2
38807 builtin and then its argument prototype would still apply. */
38808 char sched_get_priority_max ();
38809 /* The GNU C library defines this for functions which it implements
38810 to always fail with ENOSYS. Some functions are actually named
38811 something starting with __ and the normal name is an alias. */
38812 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38815 char (*f) () = sched_get_priority_max;
38824 return f != sched_get_priority_max;
38829 rm -f conftest.
$ac_objext conftest
$ac_exeext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38831 (eval $ac_link) 2>conftest.er1
38833 grep -v '^ *+' conftest.er1
>conftest.err
38835 cat conftest.err
>&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38840 (eval $ac_try) 2>&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); }; } &&
38844 { ac_try
='test -s conftest$ac_exeext'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; }; then
38850 ac_cv_func_sched_get_priority_max
=yes
38852 echo "$as_me: failed program was:" >&5
38853 sed 's/^/| /' conftest.
$ac_ext >&5
38855 ac_cv_func_sched_get_priority_max
=no
38857 rm -f conftest.err conftest.
$ac_objext \
38858 conftest
$ac_exeext conftest.
$ac_ext
38860 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38861 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38862 if test $ac_cv_func_sched_get_priority_max = yes; then
38865 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38866 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38867 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38868 echo $ECHO_N "(cached) $ECHO_C" >&6
38870 ac_check_lib_save_LIBS
=$LIBS
38871 LIBS
="-lposix4 $LIBS"
38872 cat >conftest.
$ac_ext <<_ACEOF
38875 cat confdefs.h
>>conftest.
$ac_ext
38876 cat >>conftest.
$ac_ext <<_ACEOF
38877 /* end confdefs.h. */
38879 /* Override any gcc2 internal prototype to avoid an error. */
38883 /* We use char because int might match the return type of a gcc2
38884 builtin and then its argument prototype would still apply. */
38885 char sched_get_priority_max ();
38889 sched_get_priority_max ();
38894 rm -f conftest.
$ac_objext conftest
$ac_exeext
38895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38896 (eval $ac_link) 2>conftest.er1
38898 grep -v '^ *+' conftest.er1
>conftest.err
38900 cat conftest.err
>&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } &&
38903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905 (eval $ac_try) 2>&5
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); }; } &&
38909 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38915 ac_cv_lib_posix4_sched_get_priority_max
=yes
38917 echo "$as_me: failed program was:" >&5
38918 sed 's/^/| /' conftest.
$ac_ext >&5
38920 ac_cv_lib_posix4_sched_get_priority_max
=no
38922 rm -f conftest.err conftest.
$ac_objext \
38923 conftest
$ac_exeext conftest.
$ac_ext
38924 LIBS
=$ac_check_lib_save_LIBS
38926 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38927 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38928 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38931 POSIX4_LINK
=" -lposix4"
38945 if test "$HAVE_PRIOR_FUNCS" = 1; then
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38951 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38952 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38955 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38956 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38957 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38958 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 cat >conftest.
$ac_ext <<_ACEOF
38963 cat confdefs.h
>>conftest.
$ac_ext
38964 cat >>conftest.
$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38968 #define pthread_cancel innocuous_pthread_cancel
38970 /* System header to define __stub macros and hopefully few prototypes,
38971 which can conflict with char pthread_cancel (); below.
38972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38973 <limits.h> exists even on freestanding compilers. */
38976 # include <limits.h>
38978 # include <assert.h>
38981 #undef pthread_cancel
38983 /* Override any gcc2 internal prototype to avoid an error. */
38988 /* We use char because int might match the return type of a gcc2
38989 builtin and then its argument prototype would still apply. */
38990 char pthread_cancel ();
38991 /* The GNU C library defines this for functions which it implements
38992 to always fail with ENOSYS. Some functions are actually named
38993 something starting with __ and the normal name is an alias. */
38994 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38997 char (*f) () = pthread_cancel;
39006 return f != pthread_cancel;
39011 rm -f conftest.
$ac_objext conftest
$ac_exeext
39012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39013 (eval $ac_link) 2>conftest.er1
39015 grep -v '^ *+' conftest.er1
>conftest.err
39017 cat conftest.err
>&5
39018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019 (exit $ac_status); } &&
39020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39022 (eval $ac_try) 2>&5
39024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39025 (exit $ac_status); }; } &&
39026 { ac_try
='test -s conftest$ac_exeext'
39027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39028 (eval $ac_try) 2>&5
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); }; }; then
39032 ac_cv_func_pthread_cancel
=yes
39034 echo "$as_me: failed program was:" >&5
39035 sed 's/^/| /' conftest.
$ac_ext >&5
39037 ac_cv_func_pthread_cancel
=no
39039 rm -f conftest.err conftest.
$ac_objext \
39040 conftest
$ac_exeext conftest.
$ac_ext
39042 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39043 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39044 if test $ac_cv_func_pthread_cancel = yes; then
39045 cat >>confdefs.h
<<\_ACEOF
39046 #define HAVE_PTHREAD_CANCEL 1
39050 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39051 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39055 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39056 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39057 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39058 echo $ECHO_N "(cached) $ECHO_C" >&6
39060 cat >conftest.
$ac_ext <<_ACEOF
39063 cat confdefs.h
>>conftest.
$ac_ext
39064 cat >>conftest.
$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39068 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39070 /* System header to define __stub macros and hopefully few prototypes,
39071 which can conflict with char pthread_attr_setstacksize (); below.
39072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39073 <limits.h> exists even on freestanding compilers. */
39076 # include <limits.h>
39078 # include <assert.h>
39081 #undef pthread_attr_setstacksize
39083 /* Override any gcc2 internal prototype to avoid an error. */
39088 /* We use char because int might match the return type of a gcc2
39089 builtin and then its argument prototype would still apply. */
39090 char pthread_attr_setstacksize ();
39091 /* The GNU C library defines this for functions which it implements
39092 to always fail with ENOSYS. Some functions are actually named
39093 something starting with __ and the normal name is an alias. */
39094 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39097 char (*f) () = pthread_attr_setstacksize;
39106 return f != pthread_attr_setstacksize;
39111 rm -f conftest.
$ac_objext conftest
$ac_exeext
39112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39113 (eval $ac_link) 2>conftest.er1
39115 grep -v '^ *+' conftest.er1
>conftest.err
39117 cat conftest.err
>&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); } &&
39120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122 (eval $ac_try) 2>&5
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); }; } &&
39126 { ac_try
='test -s conftest$ac_exeext'
39127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39128 (eval $ac_try) 2>&5
39130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131 (exit $ac_status); }; }; then
39132 ac_cv_func_pthread_attr_setstacksize
=yes
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.
$ac_ext >&5
39137 ac_cv_func_pthread_attr_setstacksize
=no
39139 rm -f conftest.err conftest.
$ac_objext \
39140 conftest
$ac_exeext conftest.
$ac_ext
39142 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39143 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39144 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39145 cat >>confdefs.h
<<\_ACEOF
39146 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39153 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39154 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39155 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39156 echo $ECHO_N "(cached) $ECHO_C" >&6
39159 cat >conftest.
$ac_ext <<_ACEOF
39162 cat confdefs.h
>>conftest.
$ac_ext
39163 cat >>conftest.
$ac_ext <<_ACEOF
39164 /* end confdefs.h. */
39165 #include <pthread.h>
39170 pthread_mutexattr_t attr;
39171 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39177 rm -f conftest.
$ac_objext
39178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39179 (eval $ac_compile) 2>conftest.er1
39181 grep -v '^ *+' conftest.er1
>conftest.err
39183 cat conftest.err
>&5
39184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39185 (exit $ac_status); } &&
39186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39188 (eval $ac_try) 2>&5
39190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39191 (exit $ac_status); }; } &&
39192 { ac_try
='test -s conftest.$ac_objext'
39193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39194 (eval $ac_try) 2>&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); }; }; then
39198 wx_cv_type_pthread_mutexattr_t
=yes
39200 echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.
$ac_ext >&5
39203 wx_cv_type_pthread_mutexattr_t
=no
39206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39209 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39210 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39212 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39213 cat >>confdefs.h
<<\_ACEOF
39214 #define HAVE_PTHREAD_MUTEXATTR_T 1
39218 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39219 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39220 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 cat >conftest.
$ac_ext <<_ACEOF
39227 cat confdefs.h
>>conftest.
$ac_ext
39228 cat >>conftest.
$ac_ext <<_ACEOF
39229 /* end confdefs.h. */
39230 #include <pthread.h>
39235 pthread_mutexattr_t attr;
39236 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39242 rm -f conftest.
$ac_objext
39243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39244 (eval $ac_compile) 2>conftest.er1
39246 grep -v '^ *+' conftest.er1
>conftest.err
39248 cat conftest.err
>&5
39249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250 (exit $ac_status); } &&
39251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39253 (eval $ac_try) 2>&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); }; } &&
39257 { ac_try
='test -s conftest.$ac_objext'
39258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39259 (eval $ac_try) 2>&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); }; }; then
39263 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39265 echo "$as_me: failed program was:" >&5
39266 sed 's/^/| /' conftest.
$ac_ext >&5
39268 wx_cv_func_pthread_mutexattr_settype_decl
=no
39271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39274 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39275 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39276 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39277 cat >>confdefs.h
<<\_ACEOF
39278 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39283 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39284 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39285 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39286 echo $ECHO_N "(cached) $ECHO_C" >&6
39289 cat >conftest.
$ac_ext <<_ACEOF
39292 cat confdefs.h
>>conftest.
$ac_ext
39293 cat >>conftest.
$ac_ext <<_ACEOF
39294 /* end confdefs.h. */
39295 #include <pthread.h>
39300 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39306 rm -f conftest.
$ac_objext
39307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39308 (eval $ac_compile) 2>conftest.er1
39310 grep -v '^ *+' conftest.er1
>conftest.err
39312 cat conftest.err
>&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } &&
39315 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39317 (eval $ac_try) 2>&5
39319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39320 (exit $ac_status); }; } &&
39321 { ac_try
='test -s conftest.$ac_objext'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; }; then
39328 wx_cv_type_pthread_rec_mutex_init
=yes
39331 echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.
$ac_ext >&5
39335 wx_cv_type_pthread_rec_mutex_init
=no
39339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39342 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39343 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39344 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39345 cat >>confdefs.h
<<\_ACEOF
39346 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39350 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39351 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39357 if test "$wxUSE_THREADS" = "yes" ; then
39360 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39361 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39362 if test "${wx_cv_cflags_mthread+set}" = set; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39366 CXXFLAGS_OLD
="$CXXFLAGS"
39367 CXXFLAGS
="-mthreads $CXXFLAGS"
39368 cat >conftest.
$ac_ext <<_ACEOF
39371 cat confdefs.h
>>conftest.
$ac_ext
39372 cat >>conftest.
$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39383 rm -f conftest.
$ac_objext
39384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39385 (eval $ac_compile) 2>conftest.er1
39387 grep -v '^ *+' conftest.er1
>conftest.err
39389 cat conftest.err
>&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } &&
39392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39394 (eval $ac_try) 2>&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); }; } &&
39398 { ac_try
='test -s conftest.$ac_objext'
39399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39400 (eval $ac_try) 2>&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); }; }; then
39404 wx_cv_cflags_mthread
=yes
39406 echo "$as_me: failed program was:" >&5
39407 sed 's/^/| /' conftest.
$ac_ext >&5
39409 wx_cv_cflags_mthread
=no
39412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39416 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39417 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39419 if test "$wx_cv_cflags_mthread" = "yes"; then
39420 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
39421 LDFLAGS
="$LDFLAGS -mthreads"
39423 CXXFLAGS
="$CXXFLAGS_OLD"
39427 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39428 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39429 LDFLAGS
="$LDFLAGS -Zmt"
39435 echo "$as_me:$LINENO: checking for localtime_r" >&5
39436 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39437 if test "${ac_cv_func_localtime_r+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39440 cat >conftest.
$ac_ext <<_ACEOF
39443 cat confdefs.h
>>conftest.
$ac_ext
39444 cat >>conftest.
$ac_ext <<_ACEOF
39445 /* end confdefs.h. */
39446 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39448 #define localtime_r innocuous_localtime_r
39450 /* System header to define __stub macros and hopefully few prototypes,
39451 which can conflict with char localtime_r (); below.
39452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39453 <limits.h> exists even on freestanding compilers. */
39456 # include <limits.h>
39458 # include <assert.h>
39463 /* Override any gcc2 internal prototype to avoid an error. */
39468 /* We use char because int might match the return type of a gcc2
39469 builtin and then its argument prototype would still apply. */
39470 char localtime_r ();
39471 /* The GNU C library defines this for functions which it implements
39472 to always fail with ENOSYS. Some functions are actually named
39473 something starting with __ and the normal name is an alias. */
39474 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39477 char (*f) () = localtime_r;
39486 return f != localtime_r;
39491 rm -f conftest.
$ac_objext conftest
$ac_exeext
39492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39493 (eval $ac_link) 2>conftest.er1
39495 grep -v '^ *+' conftest.er1
>conftest.err
39497 cat conftest.err
>&5
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); } &&
39500 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39502 (eval $ac_try) 2>&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); }; } &&
39506 { ac_try
='test -s conftest$ac_exeext'
39507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508 (eval $ac_try) 2>&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); }; }; then
39512 ac_cv_func_localtime_r
=yes
39514 echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.
$ac_ext >&5
39517 ac_cv_func_localtime_r
=no
39519 rm -f conftest.err conftest.
$ac_objext \
39520 conftest
$ac_exeext conftest.
$ac_ext
39522 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39523 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39524 if test $ac_cv_func_localtime_r = yes; then
39525 cat >>confdefs.h
<<\_ACEOF
39526 #define HAVE_LOCALTIME_R 1
39531 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39532 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39533 if test "${ac_cv_func_gmtime_r+set}" = set; then
39534 echo $ECHO_N "(cached) $ECHO_C" >&6
39536 cat >conftest.
$ac_ext <<_ACEOF
39539 cat confdefs.h
>>conftest.
$ac_ext
39540 cat >>conftest.
$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39544 #define gmtime_r innocuous_gmtime_r
39546 /* System header to define __stub macros and hopefully few prototypes,
39547 which can conflict with char gmtime_r (); below.
39548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39549 <limits.h> exists even on freestanding compilers. */
39552 # include <limits.h>
39554 # include <assert.h>
39559 /* Override any gcc2 internal prototype to avoid an error. */
39564 /* We use char because int might match the return type of a gcc2
39565 builtin and then its argument prototype would still apply. */
39567 /* The GNU C library defines this for functions which it implements
39568 to always fail with ENOSYS. Some functions are actually named
39569 something starting with __ and the normal name is an alias. */
39570 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39573 char (*f) () = gmtime_r;
39582 return f != gmtime_r;
39587 rm -f conftest.
$ac_objext conftest
$ac_exeext
39588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39589 (eval $ac_link) 2>conftest.er1
39591 grep -v '^ *+' conftest.er1
>conftest.err
39593 cat conftest.err
>&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } &&
39596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39598 (eval $ac_try) 2>&5
39600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39601 (exit $ac_status); }; } &&
39602 { ac_try
='test -s conftest$ac_exeext'
39603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39604 (eval $ac_try) 2>&5
39606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607 (exit $ac_status); }; }; then
39608 ac_cv_func_gmtime_r
=yes
39610 echo "$as_me: failed program was:" >&5
39611 sed 's/^/| /' conftest.
$ac_ext >&5
39613 ac_cv_func_gmtime_r
=no
39615 rm -f conftest.err conftest.
$ac_objext \
39616 conftest
$ac_exeext conftest.
$ac_ext
39618 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39619 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39620 if test $ac_cv_func_gmtime_r = yes; then
39621 cat >>confdefs.h
<<\_ACEOF
39622 #define HAVE_GMTIME_R 1
39627 echo "$as_me:$LINENO: checking for readdir_r" >&5
39628 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39629 if test "${ac_cv_func_readdir_r+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39632 cat >conftest.
$ac_ext <<_ACEOF
39635 cat confdefs.h
>>conftest.
$ac_ext
39636 cat >>conftest.
$ac_ext <<_ACEOF
39637 /* end confdefs.h. */
39638 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39640 #define readdir_r innocuous_readdir_r
39642 /* System header to define __stub macros and hopefully few prototypes,
39643 which can conflict with char readdir_r (); below.
39644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39645 <limits.h> exists even on freestanding compilers. */
39648 # include <limits.h>
39650 # include <assert.h>
39655 /* Override any gcc2 internal prototype to avoid an error. */
39660 /* We use char because int might match the return type of a gcc2
39661 builtin and then its argument prototype would still apply. */
39663 /* The GNU C library defines this for functions which it implements
39664 to always fail with ENOSYS. Some functions are actually named
39665 something starting with __ and the normal name is an alias. */
39666 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39669 char (*f) () = readdir_r;
39678 return f != readdir_r;
39683 rm -f conftest.
$ac_objext conftest
$ac_exeext
39684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39685 (eval $ac_link) 2>conftest.er1
39687 grep -v '^ *+' conftest.er1
>conftest.err
39689 cat conftest.err
>&5
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); } &&
39692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39694 (eval $ac_try) 2>&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); }; } &&
39698 { ac_try
='test -s conftest$ac_exeext'
39699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39700 (eval $ac_try) 2>&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); }; }; then
39704 ac_cv_func_readdir_r
=yes
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.
$ac_ext >&5
39709 ac_cv_func_readdir_r
=no
39711 rm -f conftest.err conftest.
$ac_objext \
39712 conftest
$ac_exeext conftest.
$ac_ext
39714 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39715 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39716 if test $ac_cv_func_readdir_r = yes; then
39717 cat >>confdefs.h
<<\_ACEOF
39718 #define HAVE_READDIR_R 1
39727 ac_cpp
='$CPP $CPPFLAGS'
39728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39732 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39733 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39735 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39736 echo $ECHO_N "(cached) $ECHO_C" >&6
39740 ################################################################
39742 ac_cv_func_which_gethostbyname_r
=unknown
39745 # ONE ARGUMENT (sanity check)
39748 # This should fail, as there is no variant of gethostbyname_r() that takes
39749 # a single argument. If it actually compiles, then we can assume that
39750 # netdb.h is not declaring the function, and the compiler is thereby
39751 # assuming an implicit prototype. In which case, we're out of luck.
39753 cat >conftest.
$ac_ext <<_ACEOF
39756 cat confdefs.h
>>conftest.
$ac_ext
39757 cat >>conftest.
$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39764 char *name = "www.gnu.org";
39765 (void)gethostbyname_r(name) /* ; */
39771 rm -f conftest.
$ac_objext
39772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39773 (eval $ac_compile) 2>conftest.er1
39775 grep -v '^ *+' conftest.er1
>conftest.err
39777 cat conftest.err
>&5
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); } &&
39780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39782 (eval $ac_try) 2>&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); }; } &&
39786 { ac_try
='test -s conftest.$ac_objext'
39787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39788 (eval $ac_try) 2>&5
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); }; }; then
39792 ac_cv_func_which_gethostbyname_r
=no
39794 echo "$as_me: failed program was:" >&5
39795 sed 's/^/| /' conftest.
$ac_ext >&5
39798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39805 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39807 cat >conftest.
$ac_ext <<_ACEOF
39810 cat confdefs.h
>>conftest.
$ac_ext
39811 cat >>conftest.
$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39818 char *name = "www.gnu.org";
39819 struct hostent ret, *retp;
39823 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39829 rm -f conftest.
$ac_objext
39830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39831 (eval $ac_compile) 2>conftest.er1
39833 grep -v '^ *+' conftest.er1
>conftest.err
39835 cat conftest.err
>&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } &&
39838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39840 (eval $ac_try) 2>&5
39842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843 (exit $ac_status); }; } &&
39844 { ac_try
='test -s conftest.$ac_objext'
39845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39846 (eval $ac_try) 2>&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); }; }; then
39850 ac_cv_func_which_gethostbyname_r
=six
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.
$ac_ext >&5
39856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39865 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39867 cat >conftest.
$ac_ext <<_ACEOF
39870 cat confdefs.h
>>conftest.
$ac_ext
39871 cat >>conftest.
$ac_ext <<_ACEOF
39872 /* end confdefs.h. */
39878 char *name = "www.gnu.org";
39879 struct hostent ret;
39883 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39889 rm -f conftest.
$ac_objext
39890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39891 (eval $ac_compile) 2>conftest.er1
39893 grep -v '^ *+' conftest.er1
>conftest.err
39895 cat conftest.err
>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } &&
39898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; } &&
39904 { ac_try
='test -s conftest.$ac_objext'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; }; then
39910 ac_cv_func_which_gethostbyname_r
=five
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.
$ac_ext >&5
39916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39922 # (e.g. AIX, HP-UX, Tru64)
39925 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39927 cat >conftest.
$ac_ext <<_ACEOF
39930 cat confdefs.h
>>conftest.
$ac_ext
39931 cat >>conftest.
$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39938 char *name = "www.gnu.org";
39939 struct hostent ret;
39940 struct hostent_data data;
39941 (void)gethostbyname_r(name, &ret, &data) /* ; */
39947 rm -f conftest.
$ac_objext
39948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39949 (eval $ac_compile) 2>conftest.er1
39951 grep -v '^ *+' conftest.er1
>conftest.err
39953 cat conftest.err
>&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } &&
39956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; } &&
39962 { ac_try
='test -s conftest.$ac_objext'
39963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39964 (eval $ac_try) 2>&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); }; }; then
39968 ac_cv_func_which_gethostbyname_r
=three
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.
$ac_ext >&5
39974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39978 ################################################################
39983 case "$ac_cv_func_which_gethostbyname_r" in
39985 echo "$as_me:$LINENO: result: three" >&5
39986 echo "${ECHO_T}three" >&6
39987 cat >>confdefs.h
<<\_ACEOF
39988 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39994 echo "$as_me:$LINENO: result: five" >&5
39995 echo "${ECHO_T}five" >&6
39996 cat >>confdefs.h
<<\_ACEOF
39997 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40003 echo "$as_me:$LINENO: result: six" >&5
40004 echo "${ECHO_T}six" >&6
40005 cat >>confdefs.h
<<\_ACEOF
40006 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40012 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40013 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40017 echo "$as_me:$LINENO: result: can't tell" >&5
40018 echo "${ECHO_T}can't tell" >&6
40022 { { echo "$as_me:$LINENO: error: internal error" >&5
40023 echo "$as_me: error: internal error" >&2;}
40024 { (exit 1); exit 1; }; }
40029 ac_cpp
='$CXXCPP $CPPFLAGS'
40030 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40031 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40032 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40036 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40037 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40038 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40039 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40040 if test "${ac_cv_func_gethostbyname+set}" = set; then
40041 echo $ECHO_N "(cached) $ECHO_C" >&6
40043 cat >conftest.
$ac_ext <<_ACEOF
40046 cat confdefs.h
>>conftest.
$ac_ext
40047 cat >>conftest.
$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40051 #define gethostbyname innocuous_gethostbyname
40053 /* System header to define __stub macros and hopefully few prototypes,
40054 which can conflict with char gethostbyname (); below.
40055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40056 <limits.h> exists even on freestanding compilers. */
40059 # include <limits.h>
40061 # include <assert.h>
40064 #undef gethostbyname
40066 /* Override any gcc2 internal prototype to avoid an error. */
40071 /* We use char because int might match the return type of a gcc2
40072 builtin and then its argument prototype would still apply. */
40073 char gethostbyname ();
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40080 char (*f) () = gethostbyname;
40089 return f != gethostbyname;
40094 rm -f conftest.
$ac_objext conftest
$ac_exeext
40095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40096 (eval $ac_link) 2>conftest.er1
40098 grep -v '^ *+' conftest.er1
>conftest.err
40100 cat conftest.err
>&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } &&
40103 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; } &&
40109 { ac_try
='test -s conftest$ac_exeext'
40110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40111 (eval $ac_try) 2>&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); }; }; then
40115 ac_cv_func_gethostbyname
=yes
40117 echo "$as_me: failed program was:" >&5
40118 sed 's/^/| /' conftest.
$ac_ext >&5
40120 ac_cv_func_gethostbyname
=no
40122 rm -f conftest.err conftest.
$ac_objext \
40123 conftest
$ac_exeext conftest.
$ac_ext
40125 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40126 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40127 if test $ac_cv_func_gethostbyname = yes; then
40128 cat >>confdefs.h
<<\_ACEOF
40129 #define HAVE_GETHOSTBYNAME 1
40135 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40136 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40137 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40142 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40143 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40144 echo $ECHO_N "(cached) $ECHO_C" >&6
40146 cat >conftest.
$ac_ext <<_ACEOF
40149 cat confdefs.h
>>conftest.
$ac_ext
40150 cat >>conftest.
$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40152 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40154 #define getservbyname_r innocuous_getservbyname_r
40156 /* System header to define __stub macros and hopefully few prototypes,
40157 which can conflict with char getservbyname_r (); below.
40158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40159 <limits.h> exists even on freestanding compilers. */
40162 # include <limits.h>
40164 # include <assert.h>
40167 #undef getservbyname_r
40169 /* Override any gcc2 internal prototype to avoid an error. */
40174 /* We use char because int might match the return type of a gcc2
40175 builtin and then its argument prototype would still apply. */
40176 char getservbyname_r ();
40177 /* The GNU C library defines this for functions which it implements
40178 to always fail with ENOSYS. Some functions are actually named
40179 something starting with __ and the normal name is an alias. */
40180 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40183 char (*f) () = getservbyname_r;
40192 return f != getservbyname_r;
40197 rm -f conftest.
$ac_objext conftest
$ac_exeext
40198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40199 (eval $ac_link) 2>conftest.er1
40201 grep -v '^ *+' conftest.er1
>conftest.err
40203 cat conftest.err
>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } &&
40206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208 (eval $ac_try) 2>&5
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; } &&
40212 { ac_try
='test -s conftest$ac_exeext'
40213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40214 (eval $ac_try) 2>&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); }; }; then
40218 ac_cv_func_getservbyname_r
=yes
40220 echo "$as_me: failed program was:" >&5
40221 sed 's/^/| /' conftest.
$ac_ext >&5
40223 ac_cv_func_getservbyname_r
=no
40225 rm -f conftest.err conftest.
$ac_objext \
40226 conftest
$ac_exeext conftest.
$ac_ext
40228 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40229 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40230 if test $ac_cv_func_getservbyname_r = yes; then
40232 cat >conftest.
$ac_ext <<_ACEOF
40235 cat confdefs.h
>>conftest.
$ac_ext
40236 cat >>conftest.
$ac_ext <<_ACEOF
40237 /* end confdefs.h. */
40239 # include <netdb.h>
40248 struct servent *se;
40249 struct servent_data data;
40250 (void) getservbyname_r(name, proto, se, &data);
40257 rm -f conftest.
$ac_objext
40258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40259 (eval $ac_compile) 2>conftest.er1
40261 grep -v '^ *+' conftest.er1
>conftest.err
40263 cat conftest.err
>&5
40264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40265 (exit $ac_status); } &&
40266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40268 (eval $ac_try) 2>&5
40270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40271 (exit $ac_status); }; } &&
40272 { ac_try
='test -s conftest.$ac_objext'
40273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40274 (eval $ac_try) 2>&5
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); }; }; then
40278 ac_cv_func_which_getservbyname_r
=four
40280 echo "$as_me: failed program was:" >&5
40281 sed 's/^/| /' conftest.
$ac_ext >&5
40284 cat >conftest.
$ac_ext <<_ACEOF
40287 cat confdefs.h
>>conftest.
$ac_ext
40288 cat >>conftest.
$ac_ext <<_ACEOF
40289 /* end confdefs.h. */
40291 # include <netdb.h>
40299 struct servent *se, *res;
40302 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40308 rm -f conftest.
$ac_objext
40309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40310 (eval $ac_compile) 2>conftest.er1
40312 grep -v '^ *+' conftest.er1
>conftest.err
40314 cat conftest.err
>&5
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); } &&
40317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; } &&
40323 { ac_try
='test -s conftest.$ac_objext'
40324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40325 (eval $ac_try) 2>&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); }; }; then
40329 ac_cv_func_which_getservbyname_r
=six
40331 echo "$as_me: failed program was:" >&5
40332 sed 's/^/| /' conftest.
$ac_ext >&5
40335 cat >conftest.
$ac_ext <<_ACEOF
40338 cat confdefs.h
>>conftest.
$ac_ext
40339 cat >>conftest.
$ac_ext <<_ACEOF
40340 /* end confdefs.h. */
40342 # include <netdb.h>
40350 struct servent *se;
40353 (void) getservbyname_r(name, proto, se, buffer, buflen)
40359 rm -f conftest.
$ac_objext
40360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40361 (eval $ac_compile) 2>conftest.er1
40363 grep -v '^ *+' conftest.er1
>conftest.err
40365 cat conftest.err
>&5
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); } &&
40368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40370 (eval $ac_try) 2>&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); }; } &&
40374 { ac_try
='test -s conftest.$ac_objext'
40375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40376 (eval $ac_try) 2>&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); }; }; then
40380 ac_cv_func_which_getservbyname_r
=five
40382 echo "$as_me: failed program was:" >&5
40383 sed 's/^/| /' conftest.
$ac_ext >&5
40385 ac_cv_func_which_getservbyname_r
=no
40387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40400 ac_cv_func_which_getservbyname_r
=no
40404 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40405 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40407 if test $ac_cv_func_which_getservbyname_r = six
; then
40408 cat >>confdefs.h
<<\_ACEOF
40409 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40412 elif test $ac_cv_func_which_getservbyname_r = five
; then
40413 cat >>confdefs.h
<<\_ACEOF
40414 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40417 elif test $ac_cv_func_which_getservbyname_r = four
; then
40418 cat >>confdefs.h
<<\_ACEOF
40419 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40426 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40427 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40429 for ac_func
in getservbyname
40431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40432 echo "$as_me:$LINENO: checking for $ac_func" >&5
40433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40434 if eval "test \"\${$as_ac_var+set}\" = set"; then
40435 echo $ECHO_N "(cached) $ECHO_C" >&6
40437 cat >conftest.
$ac_ext <<_ACEOF
40440 cat confdefs.h
>>conftest.
$ac_ext
40441 cat >>conftest.
$ac_ext <<_ACEOF
40442 /* end confdefs.h. */
40443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40445 #define $ac_func innocuous_$ac_func
40447 /* System header to define __stub macros and hopefully few prototypes,
40448 which can conflict with char $ac_func (); below.
40449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40450 <limits.h> exists even on freestanding compilers. */
40453 # include <limits.h>
40455 # include <assert.h>
40460 /* Override any gcc2 internal prototype to avoid an error. */
40465 /* We use char because int might match the return type of a gcc2
40466 builtin and then its argument prototype would still apply. */
40468 /* The GNU C library defines this for functions which it implements
40469 to always fail with ENOSYS. Some functions are actually named
40470 something starting with __ and the normal name is an alias. */
40471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40474 char (*f) () = $ac_func;
40483 return f != $ac_func;
40488 rm -f conftest.
$ac_objext conftest
$ac_exeext
40489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40490 (eval $ac_link) 2>conftest.er1
40492 grep -v '^ *+' conftest.er1
>conftest.err
40494 cat conftest.err
>&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } &&
40497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40499 (eval $ac_try) 2>&5
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); }; } &&
40503 { ac_try
='test -s conftest$ac_exeext'
40504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40505 (eval $ac_try) 2>&5
40507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40508 (exit $ac_status); }; }; then
40509 eval "$as_ac_var=yes"
40511 echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.
$ac_ext >&5
40514 eval "$as_ac_var=no"
40516 rm -f conftest.err conftest.
$ac_objext \
40517 conftest
$ac_exeext conftest.
$ac_ext
40519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40521 if test `eval echo '${'$as_ac_var'}'` = yes; then
40522 cat >>confdefs.h
<<_ACEOF
40523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40525 cat >>confdefs.h
<<\_ACEOF
40526 #define HAVE_GETSERVBYNAME 1
40534 if test "$wxUSE_THREADS" = "yes"; then
40535 cat >>confdefs.h
<<\_ACEOF
40536 #define wxUSE_THREADS 1
40540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40542 if test "$ac_cv_func_strtok_r" = "yes"; then
40543 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40544 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40545 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40546 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40547 echo "$as_me:$LINENO: result: yes" >&5
40548 echo "${ECHO_T}yes" >&6
40550 echo "$as_me:$LINENO: result: no" >&5
40551 echo "${ECHO_T}no" >&6
40556 if test "$WXGTK20" = 1 ; then
40557 cat >>confdefs.h
<<_ACEOF
40558 #define __WXGTK20__ $WXGTK20
40564 if test "$WXGTK12" = 1 ; then
40565 cat >>confdefs.h
<<_ACEOF
40566 #define __WXGTK12__ $WXGTK12
40571 if test "$WXGTK127" = 1 ; then
40572 cat >>confdefs.h
<<_ACEOF
40573 #define __WXGTK127__ $WXGTK127
40578 if test "$WXGPE" = 1 ; then
40579 cat >>confdefs.h
<<_ACEOF
40580 #define __WXGPE__ $WXGPE
40586 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40591 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40592 wxUSE_DEBUG_INFO
=yes
40593 if test "$GCC" = yes; then
40594 DEBUG_CFLAGS
="-ggdb"
40598 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40599 cat >>confdefs.h
<<\_ACEOF
40603 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40605 if test "$wxUSE_GTK" = 1 ; then
40606 if test "x$wxGTK_VERSION" = "x1" ; then
40607 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40612 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40613 cat >>confdefs.h
<<\_ACEOF
40614 #define wxUSE_MEMORY_TRACING 1
40617 cat >>confdefs.h
<<\_ACEOF
40618 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40621 cat >>confdefs.h
<<\_ACEOF
40622 #define wxUSE_DEBUG_NEW_ALWAYS 1
40625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40628 if test "$wxUSE_DMALLOC" = "yes" ; then
40629 DMALLOC_LIBS
="-ldmallocthcxx"
40633 if test "$wxUSE_PROFILE" = "yes" ; then
40634 PROFILE_FLAGS
=" -pg"
40637 if test "$GCC" = "yes" ; then
40638 if test "$wxUSE_NO_RTTI" = "yes" ; then
40639 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40641 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40642 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40644 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40645 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40650 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40653 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40659 if test "$wxUSE_OPTIMISE" = "no" ; then
40660 if test "$GCC" = yes ; then
40661 OPTIMISE_CFLAGS
="-O0"
40664 if test "$GCC" = yes ; then
40666 *-pc-os2_emx | *-pc-os2-emx )
40667 OPTIMISE_CFLAGS
="-O2"
40670 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40674 OPTIMISE_CFLAGS
="-O"
40679 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40680 cat >>confdefs.h
<<\_ACEOF
40681 #define WXWIN_COMPATIBILITY_2_4 1
40685 WXWIN_COMPATIBILITY_2_6
="yes"
40688 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40689 cat >>confdefs.h
<<\_ACEOF
40690 #define WXWIN_COMPATIBILITY_2_6 1
40696 if test "$wxUSE_GUI" = "yes"; then
40697 cat >>confdefs.h
<<\_ACEOF
40698 #define wxUSE_GUI 1
40705 if test "$wxUSE_UNIX" = "yes"; then
40706 cat >>confdefs.h
<<\_ACEOF
40707 #define wxUSE_UNIX 1
40713 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40717 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40718 if test "$USE_DARWIN" = 1; then
40720 elif test "$USE_DOS" = 1; then
40724 for ac_func
in dlopen
40726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40727 echo "$as_me:$LINENO: checking for $ac_func" >&5
40728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40729 if eval "test \"\${$as_ac_var+set}\" = set"; then
40730 echo $ECHO_N "(cached) $ECHO_C" >&6
40732 cat >conftest.
$ac_ext <<_ACEOF
40735 cat confdefs.h
>>conftest.
$ac_ext
40736 cat >>conftest.
$ac_ext <<_ACEOF
40737 /* end confdefs.h. */
40738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40740 #define $ac_func innocuous_$ac_func
40742 /* System header to define __stub macros and hopefully few prototypes,
40743 which can conflict with char $ac_func (); below.
40744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40745 <limits.h> exists even on freestanding compilers. */
40748 # include <limits.h>
40750 # include <assert.h>
40755 /* Override any gcc2 internal prototype to avoid an error. */
40760 /* We use char because int might match the return type of a gcc2
40761 builtin and then its argument prototype would still apply. */
40763 /* The GNU C library defines this for functions which it implements
40764 to always fail with ENOSYS. Some functions are actually named
40765 something starting with __ and the normal name is an alias. */
40766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40769 char (*f) () = $ac_func;
40778 return f != $ac_func;
40783 rm -f conftest.
$ac_objext conftest
$ac_exeext
40784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40785 (eval $ac_link) 2>conftest.er1
40787 grep -v '^ *+' conftest.er1
>conftest.err
40789 cat conftest.err
>&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } &&
40792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40794 (eval $ac_try) 2>&5
40796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797 (exit $ac_status); }; } &&
40798 { ac_try
='test -s conftest$ac_exeext'
40799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40800 (eval $ac_try) 2>&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); }; }; then
40804 eval "$as_ac_var=yes"
40806 echo "$as_me: failed program was:" >&5
40807 sed 's/^/| /' conftest.
$ac_ext >&5
40809 eval "$as_ac_var=no"
40811 rm -f conftest.err conftest.
$ac_objext \
40812 conftest
$ac_exeext conftest.
$ac_ext
40814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40816 if test `eval echo '${'$as_ac_var'}'` = yes; then
40817 cat >>confdefs.h
<<_ACEOF
40818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40821 cat >>confdefs.h
<<\_ACEOF
40822 #define HAVE_DLOPEN 1
40829 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40830 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40831 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40832 echo $ECHO_N "(cached) $ECHO_C" >&6
40834 ac_check_lib_save_LIBS
=$LIBS
40836 cat >conftest.
$ac_ext <<_ACEOF
40839 cat confdefs.h
>>conftest.
$ac_ext
40840 cat >>conftest.
$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40843 /* Override any gcc2 internal prototype to avoid an error. */
40847 /* We use char because int might match the return type of a gcc2
40848 builtin and then its argument prototype would still apply. */
40858 rm -f conftest.
$ac_objext conftest
$ac_exeext
40859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40860 (eval $ac_link) 2>conftest.er1
40862 grep -v '^ *+' conftest.er1
>conftest.err
40864 cat conftest.err
>&5
40865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866 (exit $ac_status); } &&
40867 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40869 (eval $ac_try) 2>&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); }; } &&
40873 { ac_try
='test -s conftest$ac_exeext'
40874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875 (eval $ac_try) 2>&5
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); }; }; then
40879 ac_cv_lib_dl_dlopen
=yes
40881 echo "$as_me: failed program was:" >&5
40882 sed 's/^/| /' conftest.
$ac_ext >&5
40884 ac_cv_lib_dl_dlopen
=no
40886 rm -f conftest.err conftest.
$ac_objext \
40887 conftest
$ac_exeext conftest.
$ac_ext
40888 LIBS
=$ac_check_lib_save_LIBS
40890 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40891 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40892 if test $ac_cv_lib_dl_dlopen = yes; then
40894 cat >>confdefs.h
<<\_ACEOF
40895 #define HAVE_DLOPEN 1
40899 DL_LINK
=" -ldl$DL_LINK"
40904 for ac_func
in shl_load
40906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40907 echo "$as_me:$LINENO: checking for $ac_func" >&5
40908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40909 if eval "test \"\${$as_ac_var+set}\" = set"; then
40910 echo $ECHO_N "(cached) $ECHO_C" >&6
40912 cat >conftest.
$ac_ext <<_ACEOF
40915 cat confdefs.h
>>conftest.
$ac_ext
40916 cat >>conftest.
$ac_ext <<_ACEOF
40917 /* end confdefs.h. */
40918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40920 #define $ac_func innocuous_$ac_func
40922 /* System header to define __stub macros and hopefully few prototypes,
40923 which can conflict with char $ac_func (); below.
40924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40925 <limits.h> exists even on freestanding compilers. */
40928 # include <limits.h>
40930 # include <assert.h>
40935 /* Override any gcc2 internal prototype to avoid an error. */
40940 /* We use char because int might match the return type of a gcc2
40941 builtin and then its argument prototype would still apply. */
40943 /* The GNU C library defines this for functions which it implements
40944 to always fail with ENOSYS. Some functions are actually named
40945 something starting with __ and the normal name is an alias. */
40946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40949 char (*f) () = $ac_func;
40958 return f != $ac_func;
40963 rm -f conftest.
$ac_objext conftest
$ac_exeext
40964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40965 (eval $ac_link) 2>conftest.er1
40967 grep -v '^ *+' conftest.er1
>conftest.err
40969 cat conftest.err
>&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); } &&
40972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974 (eval $ac_try) 2>&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); }; } &&
40978 { ac_try
='test -s conftest$ac_exeext'
40979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980 (eval $ac_try) 2>&5
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); }; }; then
40984 eval "$as_ac_var=yes"
40986 echo "$as_me: failed program was:" >&5
40987 sed 's/^/| /' conftest.
$ac_ext >&5
40989 eval "$as_ac_var=no"
40991 rm -f conftest.err conftest.
$ac_objext \
40992 conftest
$ac_exeext conftest.
$ac_ext
40994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40996 if test `eval echo '${'$as_ac_var'}'` = yes; then
40997 cat >>confdefs.h
<<_ACEOF
40998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41001 cat >>confdefs.h
<<\_ACEOF
41002 #define HAVE_SHL_LOAD 1
41009 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41010 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41011 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41012 echo $ECHO_N "(cached) $ECHO_C" >&6
41014 ac_check_lib_save_LIBS
=$LIBS
41015 LIBS
="-lshl_load $LIBS"
41016 cat >conftest.
$ac_ext <<_ACEOF
41019 cat confdefs.h
>>conftest.
$ac_ext
41020 cat >>conftest.
$ac_ext <<_ACEOF
41021 /* end confdefs.h. */
41023 /* Override any gcc2 internal prototype to avoid an error. */
41027 /* We use char because int might match the return type of a gcc2
41028 builtin and then its argument prototype would still apply. */
41038 rm -f conftest.
$ac_objext conftest
$ac_exeext
41039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41040 (eval $ac_link) 2>conftest.er1
41042 grep -v '^ *+' conftest.er1
>conftest.err
41044 cat conftest.err
>&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } &&
41047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41049 (eval $ac_try) 2>&5
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); }; } &&
41053 { ac_try
='test -s conftest$ac_exeext'
41054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41055 (eval $ac_try) 2>&5
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); }; }; then
41059 ac_cv_lib_shl_load_dld
=yes
41061 echo "$as_me: failed program was:" >&5
41062 sed 's/^/| /' conftest.
$ac_ext >&5
41064 ac_cv_lib_shl_load_dld
=no
41066 rm -f conftest.err conftest.
$ac_objext \
41067 conftest
$ac_exeext conftest.
$ac_ext
41068 LIBS
=$ac_check_lib_save_LIBS
41070 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41071 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41072 if test $ac_cv_lib_shl_load_dld = yes; then
41075 DL_LINK
=" -ldld$DL_LINK"
41091 if test "$HAVE_DL_FUNCS" = 1; then
41093 for ac_func
in dlerror
41095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41096 echo "$as_me:$LINENO: checking for $ac_func" >&5
41097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41098 if eval "test \"\${$as_ac_var+set}\" = set"; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 cat >conftest.
$ac_ext <<_ACEOF
41104 cat confdefs.h
>>conftest.
$ac_ext
41105 cat >>conftest.
$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41109 #define $ac_func innocuous_$ac_func
41111 /* System header to define __stub macros and hopefully few prototypes,
41112 which can conflict with char $ac_func (); below.
41113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41114 <limits.h> exists even on freestanding compilers. */
41117 # include <limits.h>
41119 # include <assert.h>
41124 /* Override any gcc2 internal prototype to avoid an error. */
41129 /* We use char because int might match the return type of a gcc2
41130 builtin and then its argument prototype would still apply. */
41132 /* The GNU C library defines this for functions which it implements
41133 to always fail with ENOSYS. Some functions are actually named
41134 something starting with __ and the normal name is an alias. */
41135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41138 char (*f) () = $ac_func;
41147 return f != $ac_func;
41152 rm -f conftest.
$ac_objext conftest
$ac_exeext
41153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41154 (eval $ac_link) 2>conftest.er1
41156 grep -v '^ *+' conftest.er1
>conftest.err
41158 cat conftest.err
>&5
41159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41160 (exit $ac_status); } &&
41161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41163 (eval $ac_try) 2>&5
41165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41166 (exit $ac_status); }; } &&
41167 { ac_try
='test -s conftest$ac_exeext'
41168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41169 (eval $ac_try) 2>&5
41171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41172 (exit $ac_status); }; }; then
41173 eval "$as_ac_var=yes"
41175 echo "$as_me: failed program was:" >&5
41176 sed 's/^/| /' conftest.
$ac_ext >&5
41178 eval "$as_ac_var=no"
41180 rm -f conftest.err conftest.
$ac_objext \
41181 conftest
$ac_exeext conftest.
$ac_ext
41183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41185 if test `eval echo '${'$as_ac_var'}'` = yes; then
41186 cat >>confdefs.h
<<_ACEOF
41187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41189 cat >>confdefs.h
<<\_ACEOF
41190 #define HAVE_DLERROR 1
41195 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41196 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41197 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 ac_check_lib_save_LIBS
=$LIBS
41202 cat >conftest.
$ac_ext <<_ACEOF
41205 cat confdefs.h
>>conftest.
$ac_ext
41206 cat >>conftest.
$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41209 /* Override any gcc2 internal prototype to avoid an error. */
41213 /* We use char because int might match the return type of a gcc2
41214 builtin and then its argument prototype would still apply. */
41224 rm -f conftest.
$ac_objext conftest
$ac_exeext
41225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41226 (eval $ac_link) 2>conftest.er1
41228 grep -v '^ *+' conftest.er1
>conftest.err
41230 cat conftest.err
>&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } &&
41233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41235 (eval $ac_try) 2>&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); }; } &&
41239 { ac_try
='test -s conftest$ac_exeext'
41240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41241 (eval $ac_try) 2>&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); }; }; then
41245 ac_cv_lib_dl_dlerror
=yes
41247 echo "$as_me: failed program was:" >&5
41248 sed 's/^/| /' conftest.
$ac_ext >&5
41250 ac_cv_lib_dl_dlerror
=no
41252 rm -f conftest.err conftest.
$ac_objext \
41253 conftest
$ac_exeext conftest.
$ac_ext
41254 LIBS
=$ac_check_lib_save_LIBS
41256 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41257 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41258 if test $ac_cv_lib_dl_dlerror = yes; then
41259 cat >>confdefs.h
<<\_ACEOF
41260 #define HAVE_DLERROR 1
41273 if test "$HAVE_DL_FUNCS" = 0; then
41274 if test "$HAVE_SHL_FUNCS" = 0; then
41275 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41276 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41277 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41278 wxUSE_DYNAMIC_LOADER
=no
41279 wxUSE_DYNLIB_CLASS
=no
41281 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41282 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41289 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41290 cat >>confdefs.h
<<\_ACEOF
41291 #define wxUSE_DYNAMIC_LOADER 1
41295 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41296 cat >>confdefs.h
<<\_ACEOF
41297 #define wxUSE_DYNLIB_CLASS 1
41304 if test "$wxUSE_PLUGINS" = "yes" ; then
41305 if test "$wxUSE_SHARED" = "no" ; then
41306 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41307 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41310 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41311 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41312 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41315 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41316 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41317 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41320 if test "$wxUSE_PLUGINS" = "yes" ; then
41321 cat >>confdefs.h
<<\_ACEOF
41322 #define wxUSE_PLUGINS 1
41329 if test "$wxUSE_STL" = "yes"; then
41330 cat >>confdefs.h
<<\_ACEOF
41331 #define wxUSE_STL 1
41336 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41337 cat >>confdefs.h
<<\_ACEOF
41338 #define wxUSE_APPLE_IEEE 1
41343 if test "$wxUSE_TIMER" = "yes"; then
41344 cat >>confdefs.h
<<\_ACEOF
41345 #define wxUSE_TIMER 1
41350 if test "$USE_UNIX" = "1" ; then
41351 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41352 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41353 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41354 echo $ECHO_N "(cached) $ECHO_C" >&6
41357 cat >conftest.
$ac_ext <<_ACEOF
41360 cat confdefs.h
>>conftest.
$ac_ext
41361 cat >>conftest.
$ac_ext <<_ACEOF
41362 /* end confdefs.h. */
41364 #include <sys/ioctl.h>
41365 #include <sys/soundcard.h>
41371 ioctl(0, SNDCTL_DSP_SPEED, 0);
41377 rm -f conftest.
$ac_objext conftest
$ac_exeext
41378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41379 (eval $ac_link) 2>conftest.er1
41381 grep -v '^ *+' conftest.er1
>conftest.err
41383 cat conftest.err
>&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); } &&
41386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41388 (eval $ac_try) 2>&5
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); }; } &&
41392 { ac_try
='test -s conftest$ac_exeext'
41393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41394 (eval $ac_try) 2>&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); }; }; then
41398 ac_cv_header_sys_soundcard
=yes
41400 echo "$as_me: failed program was:" >&5
41401 sed 's/^/| /' conftest.
$ac_ext >&5
41405 LIBS
="$saveLibs -lossaudio"
41406 cat >conftest.
$ac_ext <<_ACEOF
41409 cat confdefs.h
>>conftest.
$ac_ext
41410 cat >>conftest.
$ac_ext <<_ACEOF
41411 /* end confdefs.h. */
41413 #include <sys/ioctl.h>
41414 #include <sys/soundcard.h>
41420 ioctl(0, SNDCTL_DSP_SPEED, 0);
41426 rm -f conftest.
$ac_objext conftest
$ac_exeext
41427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41428 (eval $ac_link) 2>conftest.er1
41430 grep -v '^ *+' conftest.er1
>conftest.err
41432 cat conftest.err
>&5
41433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41434 (exit $ac_status); } &&
41435 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41437 (eval $ac_try) 2>&5
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); }; } &&
41441 { ac_try
='test -s conftest$ac_exeext'
41442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41443 (eval $ac_try) 2>&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; }; then
41447 ac_cv_header_sys_soundcard
=yes
41449 echo "$as_me: failed program was:" >&5
41450 sed 's/^/| /' conftest.
$ac_ext >&5
41454 ac_cv_header_sys_soundcard
=no
41458 rm -f conftest.err conftest.
$ac_objext \
41459 conftest
$ac_exeext conftest.
$ac_ext
41463 rm -f conftest.err conftest.
$ac_objext \
41464 conftest
$ac_exeext conftest.
$ac_ext
41467 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41468 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41470 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41471 cat >>confdefs.h
<<\_ACEOF
41472 #define HAVE_SYS_SOUNDCARD_H 1
41476 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41480 if test "$wxUSE_SOUND" = "yes"; then
41481 if test "$USE_UNIX" = "1" ; then
41482 if test "$wxUSE_LIBSDL" != "no"; then
41484 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41485 if test "${with_sdl_prefix+set}" = set; then
41486 withval
="$with_sdl_prefix"
41487 sdl_prefix
="$withval"
41492 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41493 if test "${with_sdl_exec_prefix+set}" = set; then
41494 withval
="$with_sdl_exec_prefix"
41495 sdl_exec_prefix
="$withval"
41499 # Check whether --enable-sdltest or --disable-sdltest was given.
41500 if test "${enable_sdltest+set}" = set; then
41501 enableval
="$enable_sdltest"
41507 if test x
$sdl_exec_prefix != x
; then
41508 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41509 if test x
${SDL_CONFIG+set} != xset
; then
41510 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41513 if test x
$sdl_prefix != x
; then
41514 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41515 if test x
${SDL_CONFIG+set} != xset
; then
41516 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41520 if test "x$prefix" != xNONE
; then
41521 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41523 # Extract the first word of "sdl-config", so it can be a program name with args.
41524 set dummy sdl
-config; ac_word
=$2
41525 echo "$as_me:$LINENO: checking for $ac_word" >&5
41526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41527 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41528 echo $ECHO_N "(cached) $ECHO_C" >&6
41530 case $SDL_CONFIG in
41532 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41536 for as_dir
in $PATH
41539 test -z "$as_dir" && as_dir
=.
41540 for ac_exec_ext
in '' $ac_executable_extensions; do
41541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41542 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41549 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41553 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41555 if test -n "$SDL_CONFIG"; then
41556 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41557 echo "${ECHO_T}$SDL_CONFIG" >&6
41559 echo "$as_me:$LINENO: result: no" >&5
41560 echo "${ECHO_T}no" >&6
41563 min_sdl_version
=1.2.0
41564 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41565 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41567 if test "$SDL_CONFIG" = "no" ; then
41570 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41571 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41573 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41575 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41577 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41579 if test "x$enable_sdltest" = "xyes" ; then
41580 ac_save_CFLAGS
="$CFLAGS"
41581 ac_save_CXXFLAGS
="$CXXFLAGS"
41582 ac_save_LIBS
="$LIBS"
41583 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41584 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41585 LIBS
="$LIBS $SDL_LIBS"
41587 if test "$cross_compiling" = yes; then
41588 echo $ac_n "cross compiling; assumed OK... $ac_c"
41590 cat >conftest.
$ac_ext <<_ACEOF
41593 cat confdefs.h
>>conftest.
$ac_ext
41594 cat >>conftest.
$ac_ext <<_ACEOF
41595 /* end confdefs.h. */
41598 #include <stdlib.h>
41599 #include <string.h>
41603 my_strdup (char *str)
41609 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41610 strcpy (new_str, str);
41618 int main (int argc, char *argv[])
41620 int major, minor, micro;
41623 /* This hangs on some systems (?)
41624 system ("touch conf.sdltest");
41626 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41628 /* HP/UX 9 (%@#!) writes to sscanf strings */
41629 tmp_version = my_strdup("$min_sdl_version");
41630 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41631 printf("%s, bad version string\n", "$min_sdl_version");
41635 if (($sdl_major_version > major) ||
41636 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41637 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41643 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41644 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41645 printf("*** best to upgrade to the required version.\n");
41646 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41647 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41648 printf("*** config.cache before re-running configure\n");
41655 rm -f conftest
$ac_exeext
41656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41657 (eval $ac_link) 2>&5
41659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41660 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41662 (eval $ac_try) 2>&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); }; }; then
41668 echo "$as_me: program exited with status $ac_status" >&5
41669 echo "$as_me: failed program was:" >&5
41670 sed 's/^/| /' conftest.
$ac_ext >&5
41672 ( exit $ac_status )
41675 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41677 CFLAGS
="$ac_save_CFLAGS"
41678 CXXFLAGS
="$ac_save_CXXFLAGS"
41679 LIBS
="$ac_save_LIBS"
41682 if test "x$no_sdl" = x
; then
41683 echo "$as_me:$LINENO: result: yes" >&5
41684 echo "${ECHO_T}yes" >&6
41686 EXTRALIBS_SDL
="$SDL_LIBS"
41687 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41688 cat >>confdefs.h
<<\_ACEOF
41689 #define wxUSE_LIBSDL 1
41694 echo "$as_me:$LINENO: result: no" >&5
41695 echo "${ECHO_T}no" >&6
41696 if test "$SDL_CONFIG" = "no" ; then
41697 echo "*** The sdl-config script installed by SDL could not be found"
41698 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41699 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41700 echo "*** full path to sdl-config."
41702 if test -f conf.sdltest
; then
41705 echo "*** Could not run SDL test program, checking why..."
41706 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41707 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41708 LIBS
="$LIBS $SDL_LIBS"
41709 cat >conftest.
$ac_ext <<_ACEOF
41712 cat confdefs.h
>>conftest.
$ac_ext
41713 cat >>conftest.
$ac_ext <<_ACEOF
41714 /* end confdefs.h. */
41719 int main(int argc, char *argv[])
41722 #define main K_and_R_C_main
41732 rm -f conftest.
$ac_objext conftest
$ac_exeext
41733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41734 (eval $ac_link) 2>conftest.er1
41736 grep -v '^ *+' conftest.er1
>conftest.err
41738 cat conftest.err
>&5
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); } &&
41741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41743 (eval $ac_try) 2>&5
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); }; } &&
41747 { ac_try
='test -s conftest$ac_exeext'
41748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41749 (eval $ac_try) 2>&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); }; }; then
41753 echo "*** The test program compiled, but did not run. This usually means"
41754 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41755 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41757 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41758 echo "*** is required on your system"
41760 echo "*** If you have an old version installed, it is best to remove it, although"
41761 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41763 echo "$as_me: failed program was:" >&5
41764 sed 's/^/| /' conftest.
$ac_ext >&5
41766 echo "*** The test program failed to compile or link. See the file config.log for the"
41767 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41768 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41769 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41771 rm -f conftest.err conftest.
$ac_objext \
41772 conftest
$ac_exeext conftest.
$ac_ext
41773 CFLAGS
="$ac_save_CFLAGS"
41774 CXXFLAGS
="$ac_save_CXXFLAGS"
41775 LIBS
="$ac_save_LIBS"
41786 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41792 cat >>confdefs.h
<<\_ACEOF
41793 #define wxUSE_SOUND 1
41796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41799 if test "$WXGTK20" = 1; then
41800 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41801 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41805 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41806 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41808 if test -n "$PKG_CONFIG"; then
41809 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41810 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41812 if test -n "$PKG_CONFIG" && \
41813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41814 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); }; then
41818 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41826 if test -n "$PKG_CONFIG"; then
41827 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41828 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41830 if test -n "$PKG_CONFIG" && \
41831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41832 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; then
41836 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41847 if test $pkg_failed = yes; then
41849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41850 _pkg_short_errors_supported
=yes
41852 _pkg_short_errors_supported
=no
41854 if test $_pkg_short_errors_supported = yes; then
41855 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41857 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41859 # Put the nasty error message in config.log where it belongs
41860 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41863 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41864 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41865 wxUSE_LIBGNOMEPRINT
="no"
41868 elif test $pkg_failed = untried
; then
41870 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41871 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41872 wxUSE_LIBGNOMEPRINT
="no"
41876 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41877 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41878 echo "$as_me:$LINENO: result: yes" >&5
41879 echo "${ECHO_T}yes" >&6
41881 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41882 cat >>confdefs.h
<<\_ACEOF
41883 #define wxUSE_LIBGNOMEPRINT 1
41892 if test "$WXGTK20" = 1; then
41893 if test "$wxUSE_MIMETYPE" = "yes" ; then
41894 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41898 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41899 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41901 if test -n "$PKG_CONFIG"; then
41902 if test -n "$GNOMEVFS_CFLAGS"; then
41903 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41905 if test -n "$PKG_CONFIG" && \
41906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41907 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41910 (exit $ac_status); }; then
41911 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41919 if test -n "$PKG_CONFIG"; then
41920 if test -n "$GNOMEVFS_LIBS"; then
41921 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41923 if test -n "$PKG_CONFIG" && \
41924 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41925 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); }; then
41929 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41940 if test $pkg_failed = yes; then
41942 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41943 _pkg_short_errors_supported
=yes
41945 _pkg_short_errors_supported
=no
41947 if test $_pkg_short_errors_supported = yes; then
41948 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41950 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41952 # Put the nasty error message in config.log where it belongs
41953 echo "$GNOMEVFS_PKG_ERRORS" >&5
41956 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41957 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41958 wxUSE_LIBGNOMEVFS
="no"
41961 elif test $pkg_failed = untried
; then
41963 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41964 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41965 wxUSE_LIBGNOMEVFS
="no"
41969 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41970 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41971 echo "$as_me:$LINENO: result: yes" >&5
41972 echo "${ECHO_T}yes" >&6
41974 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41975 cat >>confdefs.h
<<\_ACEOF
41976 #define wxUSE_LIBGNOMEVFS 1
41985 if test "$WXGTK20" = 1; then
41986 if test "$wxUSE_LIBHILDON" = "yes" ; then
41989 echo "$as_me:$LINENO: checking for HILDON" >&5
41990 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41992 if test -n "$PKG_CONFIG"; then
41993 if test -n "$HILDON_CFLAGS"; then
41994 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41996 if test -n "$PKG_CONFIG" && \
41997 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41998 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); }; then
42002 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42010 if test -n "$PKG_CONFIG"; then
42011 if test -n "$HILDON_LIBS"; then
42012 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42014 if test -n "$PKG_CONFIG" && \
42015 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42016 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); }; then
42020 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42031 if test $pkg_failed = yes; then
42033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42034 _pkg_short_errors_supported
=yes
42036 _pkg_short_errors_supported
=no
42038 if test $_pkg_short_errors_supported = yes; then
42039 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42041 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42043 # Put the nasty error message in config.log where it belongs
42044 echo "$HILDON_PKG_ERRORS" >&5
42047 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42048 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42049 wxUSE_LIBHILDON
="no"
42052 elif test $pkg_failed = untried
; then
42054 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42055 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42056 wxUSE_LIBHILDON
="no"
42060 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42061 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42062 echo "$as_me:$LINENO: result: yes" >&5
42063 echo "${ECHO_T}yes" >&6
42065 EXTRALIBS_HILDON
="$HILDON_LIBS"
42066 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42067 cat >>confdefs.h
<<\_ACEOF
42068 #define wxUSE_LIBHILDON 1
42076 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42077 cat >>confdefs.h
<<\_ACEOF
42078 #define wxUSE_CMDLINE_PARSER 1
42083 if test "$wxUSE_STOPWATCH" = "yes"; then
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define wxUSE_STOPWATCH 1
42090 if test "$wxUSE_DATETIME" = "yes"; then
42091 cat >>confdefs.h
<<\_ACEOF
42092 #define wxUSE_DATETIME 1
42097 if test "$wxUSE_FILE" = "yes"; then
42098 cat >>confdefs.h
<<\_ACEOF
42099 #define wxUSE_FILE 1
42104 if test "$wxUSE_FFILE" = "yes"; then
42105 cat >>confdefs.h
<<\_ACEOF
42106 #define wxUSE_FFILE 1
42111 if test "$wxUSE_FILESYSTEM" = "yes"; then
42112 cat >>confdefs.h
<<\_ACEOF
42113 #define wxUSE_FILESYSTEM 1
42118 if test "$wxUSE_FS_ZIP" = "yes"; then
42119 cat >>confdefs.h
<<\_ACEOF
42120 #define wxUSE_FS_ZIP 1
42125 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42126 cat >>confdefs.h
<<\_ACEOF
42127 #define wxUSE_ARCHIVE_STREAMS 1
42132 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42133 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42134 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42135 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42136 elif test "$wxUSE_ZLIB" = "no"; then
42137 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42138 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42140 cat >>confdefs.h
<<\_ACEOF
42141 #define wxUSE_ZIPSTREAM 1
42147 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42148 if test "$USE_UNIX" != 1; then
42149 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42150 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42151 wxUSE_ON_FATAL_EXCEPTION
=no
42153 cat >>confdefs.h
<<\_ACEOF
42154 #define wxUSE_ON_FATAL_EXCEPTION 1
42160 if test "$wxUSE_STACKWALKER" = "yes"; then
42161 cat >>confdefs.h
<<\_ACEOF
42162 #define wxUSE_STACKWALKER 1
42167 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42168 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42169 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42170 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42171 wxUSE_DEBUGREPORT
=no
42173 cat >>confdefs.h
<<\_ACEOF
42174 #define wxUSE_DEBUGREPORT 1
42177 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42183 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42184 cat >>confdefs.h
<<\_ACEOF
42185 #define wxUSE_SNGLINST_CHECKER 1
42190 if test "$wxUSE_BUSYINFO" = "yes"; then
42191 cat >>confdefs.h
<<\_ACEOF
42192 #define wxUSE_BUSYINFO 1
42197 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42198 cat >>confdefs.h
<<\_ACEOF
42199 #define wxUSE_STD_IOSTREAM 1
42204 if test "$wxUSE_STD_STRING" = "yes"; then
42205 cat >>confdefs.h
<<\_ACEOF
42206 #define wxUSE_STD_STRING 1
42211 if test "$wxUSE_STDPATHS" = "yes"; then
42212 cat >>confdefs.h
<<\_ACEOF
42213 #define wxUSE_STDPATHS 1
42218 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42219 cat >>confdefs.h
<<\_ACEOF
42220 #define wxUSE_TEXTBUFFER 1
42225 if test "$wxUSE_TEXTFILE" = "yes"; then
42226 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42227 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42228 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42230 cat >>confdefs.h
<<\_ACEOF
42231 #define wxUSE_TEXTFILE 1
42237 if test "$wxUSE_CONFIG" = "yes" ; then
42238 if test "$wxUSE_TEXTFILE" != "yes"; then
42239 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42240 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42242 cat >>confdefs.h
<<\_ACEOF
42243 #define wxUSE_CONFIG 1
42246 cat >>confdefs.h
<<\_ACEOF
42247 #define wxUSE_CONFIG_NATIVE 1
42250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42254 if test "$wxUSE_INTL" = "yes" ; then
42255 if test "$wxUSE_FILE" != "yes"; then
42256 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42257 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42259 cat >>confdefs.h
<<\_ACEOF
42260 #define wxUSE_INTL 1
42263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42264 GUIDIST
="$GUIDIST INTL_DIST"
42268 if test "$wxUSE_LOG" = "yes"; then
42269 cat >>confdefs.h
<<\_ACEOF
42270 #define wxUSE_LOG 1
42274 if test "$wxUSE_LOGGUI" = "yes"; then
42275 cat >>confdefs.h
<<\_ACEOF
42276 #define wxUSE_LOGGUI 1
42281 if test "$wxUSE_LOGWINDOW" = "yes"; then
42282 cat >>confdefs.h
<<\_ACEOF
42283 #define wxUSE_LOGWINDOW 1
42288 if test "$wxUSE_LOGDIALOG" = "yes"; then
42289 cat >>confdefs.h
<<\_ACEOF
42290 #define wxUSE_LOG_DIALOG 1
42295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42298 if test "$wxUSE_LONGLONG" = "yes"; then
42299 cat >>confdefs.h
<<\_ACEOF
42300 #define wxUSE_LONGLONG 1
42305 if test "$wxUSE_GEOMETRY" = "yes"; then
42306 cat >>confdefs.h
<<\_ACEOF
42307 #define wxUSE_GEOMETRY 1
42312 if test "$wxUSE_STREAMS" = "yes" ; then
42313 cat >>confdefs.h
<<\_ACEOF
42314 #define wxUSE_STREAMS 1
42319 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42320 cat >>confdefs.h
<<\_ACEOF
42321 #define wxUSE_PRINTF_POS_PARAMS 1
42328 if test "$wxUSE_DATETIME" = "yes"; then
42330 for ac_func
in strptime
42332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42333 echo "$as_me:$LINENO: checking for $ac_func" >&5
42334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42335 if eval "test \"\${$as_ac_var+set}\" = set"; then
42336 echo $ECHO_N "(cached) $ECHO_C" >&6
42338 cat >conftest.
$ac_ext <<_ACEOF
42341 cat confdefs.h
>>conftest.
$ac_ext
42342 cat >>conftest.
$ac_ext <<_ACEOF
42343 /* end confdefs.h. */
42344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42346 #define $ac_func innocuous_$ac_func
42348 /* System header to define __stub macros and hopefully few prototypes,
42349 which can conflict with char $ac_func (); below.
42350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42351 <limits.h> exists even on freestanding compilers. */
42354 # include <limits.h>
42356 # include <assert.h>
42361 /* Override any gcc2 internal prototype to avoid an error. */
42366 /* We use char because int might match the return type of a gcc2
42367 builtin and then its argument prototype would still apply. */
42369 /* The GNU C library defines this for functions which it implements
42370 to always fail with ENOSYS. Some functions are actually named
42371 something starting with __ and the normal name is an alias. */
42372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42375 char (*f) () = $ac_func;
42384 return f != $ac_func;
42389 rm -f conftest.
$ac_objext conftest
$ac_exeext
42390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42391 (eval $ac_link) 2>conftest.er1
42393 grep -v '^ *+' conftest.er1
>conftest.err
42395 cat conftest.err
>&5
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); } &&
42398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42400 (eval $ac_try) 2>&5
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); }; } &&
42404 { ac_try
='test -s conftest$ac_exeext'
42405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42406 (eval $ac_try) 2>&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); }; }; then
42410 eval "$as_ac_var=yes"
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.
$ac_ext >&5
42415 eval "$as_ac_var=no"
42417 rm -f conftest.err conftest.
$ac_objext \
42418 conftest
$ac_exeext conftest.
$ac_ext
42420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42422 if test `eval echo '${'$as_ac_var'}'` = yes; then
42423 cat >>confdefs.h
<<_ACEOF
42424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42430 if test "$ac_cv_func_strptime" = "yes"; then
42431 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42432 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42433 if test "${wx_cv_func_strptime_decl+set}" = set; then
42434 echo $ECHO_N "(cached) $ECHO_C" >&6
42437 cat >conftest.
$ac_ext <<_ACEOF
42440 cat confdefs.h
>>conftest.
$ac_ext
42441 cat >>conftest.
$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42451 strptime("foo", "bar", &t);
42457 rm -f conftest.
$ac_objext
42458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42459 (eval $ac_compile) 2>conftest.er1
42461 grep -v '^ *+' conftest.er1
>conftest.err
42463 cat conftest.err
>&5
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); } &&
42466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42468 (eval $ac_try) 2>&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); }; } &&
42472 { ac_try
='test -s conftest.$ac_objext'
42473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42474 (eval $ac_try) 2>&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); }; }; then
42478 wx_cv_func_strptime_decl
=yes
42480 echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.
$ac_ext >&5
42483 wx_cv_func_strptime_decl
=no
42486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42490 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42491 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42493 if test "$wx_cv_func_strptime_decl" = "yes"; then
42494 cat >>confdefs.h
<<\_ACEOF
42495 #define HAVE_STRPTIME_DECL 1
42500 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42501 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42502 if test "${wx_cv_var_timezone+set}" = set; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42506 cat >conftest.
$ac_ext <<_ACEOF
42509 cat confdefs.h
>>conftest.
$ac_ext
42510 cat >>conftest.
$ac_ext <<_ACEOF
42511 /* end confdefs.h. */
42526 rm -f conftest.
$ac_objext
42527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42528 (eval $ac_compile) 2>conftest.er1
42530 grep -v '^ *+' conftest.er1
>conftest.err
42532 cat conftest.err
>&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); } &&
42535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; } &&
42541 { ac_try
='test -s conftest.$ac_objext'
42542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42543 (eval $ac_try) 2>&5
42545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546 (exit $ac_status); }; }; then
42548 wx_cv_var_timezone
=timezone
42551 echo "$as_me: failed program was:" >&5
42552 sed 's/^/| /' conftest.
$ac_ext >&5
42555 cat >conftest.
$ac_ext <<_ACEOF
42558 cat confdefs.h
>>conftest.
$ac_ext
42559 cat >>conftest.
$ac_ext <<_ACEOF
42560 /* end confdefs.h. */
42575 rm -f conftest.
$ac_objext
42576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42577 (eval $ac_compile) 2>conftest.er1
42579 grep -v '^ *+' conftest.er1
>conftest.err
42581 cat conftest.err
>&5
42582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42583 (exit $ac_status); } &&
42584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; } &&
42590 { ac_try
='test -s conftest.$ac_objext'
42591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42592 (eval $ac_try) 2>&5
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); }; }; then
42597 wx_cv_var_timezone
=_timezone
42600 echo "$as_me: failed program was:" >&5
42601 sed 's/^/| /' conftest.
$ac_ext >&5
42604 cat >conftest.
$ac_ext <<_ACEOF
42607 cat confdefs.h
>>conftest.
$ac_ext
42608 cat >>conftest.
$ac_ext <<_ACEOF
42609 /* end confdefs.h. */
42624 rm -f conftest.
$ac_objext
42625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42626 (eval $ac_compile) 2>conftest.er1
42628 grep -v '^ *+' conftest.er1
>conftest.err
42630 cat conftest.err
>&5
42631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42632 (exit $ac_status); } &&
42633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42635 (eval $ac_try) 2>&5
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; } &&
42639 { ac_try
='test -s conftest.$ac_objext'
42640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42641 (eval $ac_try) 2>&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); }; }; then
42646 wx_cv_var_timezone
=__timezone
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.
$ac_ext >&5
42653 if test "$USE_DOS" = 0 ; then
42654 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42655 echo "$as_me: WARNING: no timezone variable" >&2;}
42660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42672 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42673 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42675 if test "x$wx_cv_var_timezone" != x
; then
42676 cat >>confdefs.h
<<_ACEOF
42677 #define WX_TIMEZONE $wx_cv_var_timezone
42683 for ac_func
in localtime
42685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42686 echo "$as_me:$LINENO: checking for $ac_func" >&5
42687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42688 if eval "test \"\${$as_ac_var+set}\" = set"; then
42689 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 cat >conftest.
$ac_ext <<_ACEOF
42694 cat confdefs.h
>>conftest.
$ac_ext
42695 cat >>conftest.
$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42699 #define $ac_func innocuous_$ac_func
42701 /* System header to define __stub macros and hopefully few prototypes,
42702 which can conflict with char $ac_func (); below.
42703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42704 <limits.h> exists even on freestanding compilers. */
42707 # include <limits.h>
42709 # include <assert.h>
42714 /* Override any gcc2 internal prototype to avoid an error. */
42719 /* We use char because int might match the return type of a gcc2
42720 builtin and then its argument prototype would still apply. */
42722 /* The GNU C library defines this for functions which it implements
42723 to always fail with ENOSYS. Some functions are actually named
42724 something starting with __ and the normal name is an alias. */
42725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42728 char (*f) () = $ac_func;
42737 return f != $ac_func;
42742 rm -f conftest.
$ac_objext conftest
$ac_exeext
42743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42744 (eval $ac_link) 2>conftest.er1
42746 grep -v '^ *+' conftest.er1
>conftest.err
42748 cat conftest.err
>&5
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); } &&
42751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753 (eval $ac_try) 2>&5
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; } &&
42757 { ac_try
='test -s conftest$ac_exeext'
42758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42759 (eval $ac_try) 2>&5
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); }; }; then
42763 eval "$as_ac_var=yes"
42765 echo "$as_me: failed program was:" >&5
42766 sed 's/^/| /' conftest.
$ac_ext >&5
42768 eval "$as_ac_var=no"
42770 rm -f conftest.err conftest.
$ac_objext \
42771 conftest
$ac_exeext conftest.
$ac_ext
42773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42775 if test `eval echo '${'$as_ac_var'}'` = yes; then
42776 cat >>confdefs.h
<<_ACEOF
42777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42784 if test "$ac_cv_func_localtime" = "yes"; then
42785 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42786 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42787 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42788 echo $ECHO_N "(cached) $ECHO_C" >&6
42791 cat >conftest.
$ac_ext <<_ACEOF
42794 cat confdefs.h
>>conftest.
$ac_ext
42795 cat >>conftest.
$ac_ext <<_ACEOF
42796 /* end confdefs.h. */
42811 rm -f conftest.
$ac_objext
42812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42813 (eval $ac_compile) 2>conftest.er1
42815 grep -v '^ *+' conftest.er1
>conftest.err
42817 cat conftest.err
>&5
42818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42819 (exit $ac_status); } &&
42820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42822 (eval $ac_try) 2>&5
42824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42825 (exit $ac_status); }; } &&
42826 { ac_try
='test -s conftest.$ac_objext'
42827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42828 (eval $ac_try) 2>&5
42830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831 (exit $ac_status); }; }; then
42833 wx_cv_struct_tm_has_gmtoff
=yes
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.
$ac_ext >&5
42839 wx_cv_struct_tm_has_gmtoff
=no
42842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42845 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42846 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42849 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42850 cat >>confdefs.h
<<\_ACEOF
42851 #define WX_GMTOFF_IN_TM 1
42858 for ac_func
in gettimeofday ftime
42860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42861 echo "$as_me:$LINENO: checking for $ac_func" >&5
42862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42863 if eval "test \"\${$as_ac_var+set}\" = set"; then
42864 echo $ECHO_N "(cached) $ECHO_C" >&6
42866 cat >conftest.
$ac_ext <<_ACEOF
42869 cat confdefs.h
>>conftest.
$ac_ext
42870 cat >>conftest.
$ac_ext <<_ACEOF
42871 /* end confdefs.h. */
42872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42874 #define $ac_func innocuous_$ac_func
42876 /* System header to define __stub macros and hopefully few prototypes,
42877 which can conflict with char $ac_func (); below.
42878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42879 <limits.h> exists even on freestanding compilers. */
42882 # include <limits.h>
42884 # include <assert.h>
42889 /* Override any gcc2 internal prototype to avoid an error. */
42894 /* We use char because int might match the return type of a gcc2
42895 builtin and then its argument prototype would still apply. */
42897 /* The GNU C library defines this for functions which it implements
42898 to always fail with ENOSYS. Some functions are actually named
42899 something starting with __ and the normal name is an alias. */
42900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42903 char (*f) () = $ac_func;
42912 return f != $ac_func;
42917 rm -f conftest.
$ac_objext conftest
$ac_exeext
42918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42919 (eval $ac_link) 2>conftest.er1
42921 grep -v '^ *+' conftest.er1
>conftest.err
42923 cat conftest.err
>&5
42924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42925 (exit $ac_status); } &&
42926 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42928 (eval $ac_try) 2>&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); }; } &&
42932 { ac_try
='test -s conftest$ac_exeext'
42933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42934 (eval $ac_try) 2>&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); }; }; then
42938 eval "$as_ac_var=yes"
42940 echo "$as_me: failed program was:" >&5
42941 sed 's/^/| /' conftest.
$ac_ext >&5
42943 eval "$as_ac_var=no"
42945 rm -f conftest.err conftest.
$ac_objext \
42946 conftest
$ac_exeext conftest.
$ac_ext
42948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42950 if test `eval echo '${'$as_ac_var'}'` = yes; then
42951 cat >>confdefs.h
<<_ACEOF
42952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42959 if test "$ac_cv_func_gettimeofday" = "yes"; then
42960 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42961 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42962 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42963 echo $ECHO_N "(cached) $ECHO_C" >&6
42966 cat >conftest.
$ac_ext <<_ACEOF
42969 cat confdefs.h
>>conftest.
$ac_ext
42970 cat >>conftest.
$ac_ext <<_ACEOF
42971 /* end confdefs.h. */
42973 #include <sys/time.h>
42974 #include <unistd.h>
42981 gettimeofday(&tv, NULL);
42987 rm -f conftest.
$ac_objext
42988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42989 (eval $ac_compile) 2>conftest.er1
42991 grep -v '^ *+' conftest.er1
>conftest.err
42993 cat conftest.err
>&5
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); } &&
42996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; } &&
43002 { ac_try
='test -s conftest.$ac_objext'
43003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43004 (eval $ac_try) 2>&5
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; }; then
43008 wx_cv_func_gettimeofday_has_2_args
=yes
43010 echo "$as_me: failed program was:" >&5
43011 sed 's/^/| /' conftest.
$ac_ext >&5
43013 cat >conftest.
$ac_ext <<_ACEOF
43016 cat confdefs.h
>>conftest.
$ac_ext
43017 cat >>conftest.
$ac_ext <<_ACEOF
43018 /* end confdefs.h. */
43020 #include <sys/time.h>
43021 #include <unistd.h>
43034 rm -f conftest.
$ac_objext
43035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43036 (eval $ac_compile) 2>conftest.er1
43038 grep -v '^ *+' conftest.er1
>conftest.err
43040 cat conftest.err
>&5
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); } &&
43043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43045 (eval $ac_try) 2>&5
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; } &&
43049 { ac_try
='test -s conftest.$ac_objext'
43050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43051 (eval $ac_try) 2>&5
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; }; then
43055 wx_cv_func_gettimeofday_has_2_args
=no
43057 echo "$as_me: failed program was:" >&5
43058 sed 's/^/| /' conftest.
$ac_ext >&5
43061 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43062 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43063 wx_cv_func_gettimeofday_has_2_args
=unknown
43067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43073 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43074 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43076 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43077 cat >>confdefs.h
<<\_ACEOF
43078 #define WX_GETTIMEOFDAY_NO_TZ 1
43084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43088 if test "$wxUSE_SOCKETS" = "yes"; then
43089 if test "$wxUSE_MGL" = "1"; then
43090 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43091 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43096 if test "$wxUSE_SOCKETS" = "yes"; then
43097 if test "$TOOLKIT" != "MSW"; then
43098 echo "$as_me:$LINENO: checking for socket" >&5
43099 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43100 if test "${ac_cv_func_socket+set}" = set; then
43101 echo $ECHO_N "(cached) $ECHO_C" >&6
43103 cat >conftest.
$ac_ext <<_ACEOF
43106 cat confdefs.h
>>conftest.
$ac_ext
43107 cat >>conftest.
$ac_ext <<_ACEOF
43108 /* end confdefs.h. */
43109 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43111 #define socket innocuous_socket
43113 /* System header to define __stub macros and hopefully few prototypes,
43114 which can conflict with char socket (); below.
43115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43116 <limits.h> exists even on freestanding compilers. */
43119 # include <limits.h>
43121 # include <assert.h>
43126 /* Override any gcc2 internal prototype to avoid an error. */
43131 /* We use char because int might match the return type of a gcc2
43132 builtin and then its argument prototype would still apply. */
43134 /* The GNU C library defines this for functions which it implements
43135 to always fail with ENOSYS. Some functions are actually named
43136 something starting with __ and the normal name is an alias. */
43137 #if defined (__stub_socket) || defined (__stub___socket)
43140 char (*f) () = socket;
43149 return f != socket;
43154 rm -f conftest.
$ac_objext conftest
$ac_exeext
43155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43156 (eval $ac_link) 2>conftest.er1
43158 grep -v '^ *+' conftest.er1
>conftest.err
43160 cat conftest.err
>&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); } &&
43163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43165 (eval $ac_try) 2>&5
43167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168 (exit $ac_status); }; } &&
43169 { ac_try
='test -s conftest$ac_exeext'
43170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43171 (eval $ac_try) 2>&5
43173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174 (exit $ac_status); }; }; then
43175 ac_cv_func_socket
=yes
43177 echo "$as_me: failed program was:" >&5
43178 sed 's/^/| /' conftest.
$ac_ext >&5
43180 ac_cv_func_socket
=no
43182 rm -f conftest.err conftest.
$ac_objext \
43183 conftest
$ac_exeext conftest.
$ac_ext
43185 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43186 echo "${ECHO_T}$ac_cv_func_socket" >&6
43187 if test $ac_cv_func_socket = yes; then
43191 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43192 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43193 if test "${ac_cv_lib_socket_socket+set}" = set; then
43194 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 ac_check_lib_save_LIBS
=$LIBS
43197 LIBS
="-lsocket $LIBS"
43198 cat >conftest.
$ac_ext <<_ACEOF
43201 cat confdefs.h
>>conftest.
$ac_ext
43202 cat >>conftest.
$ac_ext <<_ACEOF
43203 /* end confdefs.h. */
43205 /* Override any gcc2 internal prototype to avoid an error. */
43209 /* We use char because int might match the return type of a gcc2
43210 builtin and then its argument prototype would still apply. */
43220 rm -f conftest.
$ac_objext conftest
$ac_exeext
43221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43222 (eval $ac_link) 2>conftest.er1
43224 grep -v '^ *+' conftest.er1
>conftest.err
43226 cat conftest.err
>&5
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); } &&
43229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43231 (eval $ac_try) 2>&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); }; } &&
43235 { ac_try
='test -s conftest$ac_exeext'
43236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43237 (eval $ac_try) 2>&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); }; }; then
43241 ac_cv_lib_socket_socket
=yes
43243 echo "$as_me: failed program was:" >&5
43244 sed 's/^/| /' conftest.
$ac_ext >&5
43246 ac_cv_lib_socket_socket
=no
43248 rm -f conftest.err conftest.
$ac_objext \
43249 conftest
$ac_exeext conftest.
$ac_ext
43250 LIBS
=$ac_check_lib_save_LIBS
43252 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43253 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43254 if test $ac_cv_lib_socket_socket = yes; then
43255 if test "$INET_LINK" != " -lsocket"; then
43256 INET_LINK
="$INET_LINK -lsocket"
43260 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43261 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43274 if test "$wxUSE_SOCKETS" = "yes" ; then
43275 if test "$TOOLKIT" != "MSW"; then
43276 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43277 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43278 if test "${wx_cv_type_getsockname3+set}" = set; then
43279 echo $ECHO_N "(cached) $ECHO_C" >&6
43282 cat >conftest.
$ac_ext <<_ACEOF
43285 cat confdefs.h
>>conftest.
$ac_ext
43286 cat >>conftest.
$ac_ext <<_ACEOF
43287 /* end confdefs.h. */
43289 #include <sys/types.h>
43290 #include <sys/socket.h>
43297 getsockname(0, 0, &len);
43303 rm -f conftest.
$ac_objext
43304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43305 (eval $ac_compile) 2>conftest.er1
43307 grep -v '^ *+' conftest.er1
>conftest.err
43309 cat conftest.err
>&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } &&
43312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43314 (eval $ac_try) 2>&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); }; } &&
43318 { ac_try
='test -s conftest.$ac_objext'
43319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43320 (eval $ac_try) 2>&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); }; }; then
43324 wx_cv_type_getsockname3
=socklen_t
43326 echo "$as_me: failed program was:" >&5
43327 sed 's/^/| /' conftest.
$ac_ext >&5
43330 CXXFLAGS_OLD
="$CXXFLAGS"
43331 if test "$GCC" = yes ; then
43332 CXXFLAGS
="-Werror $CXXFLAGS"
43335 cat >conftest.
$ac_ext <<_ACEOF
43338 cat confdefs.h
>>conftest.
$ac_ext
43339 cat >>conftest.
$ac_ext <<_ACEOF
43340 /* end confdefs.h. */
43342 #include <sys/types.h>
43343 #include <sys/socket.h>
43350 getsockname(0, 0, &len);
43356 rm -f conftest.
$ac_objext
43357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43358 (eval $ac_compile) 2>conftest.er1
43360 grep -v '^ *+' conftest.er1
>conftest.err
43362 cat conftest.err
>&5
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); } &&
43365 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43367 (eval $ac_try) 2>&5
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); }; } &&
43371 { ac_try
='test -s conftest.$ac_objext'
43372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43373 (eval $ac_try) 2>&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); }; }; then
43377 wx_cv_type_getsockname3
=size_t
43379 echo "$as_me: failed program was:" >&5
43380 sed 's/^/| /' conftest.
$ac_ext >&5
43382 cat >conftest.
$ac_ext <<_ACEOF
43385 cat confdefs.h
>>conftest.
$ac_ext
43386 cat >>conftest.
$ac_ext <<_ACEOF
43387 /* end confdefs.h. */
43389 #include <sys/types.h>
43390 #include <sys/socket.h>
43397 getsockname(0, 0, &len);
43403 rm -f conftest.
$ac_objext
43404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43405 (eval $ac_compile) 2>conftest.er1
43407 grep -v '^ *+' conftest.er1
>conftest.err
43409 cat conftest.err
>&5
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); } &&
43412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43414 (eval $ac_try) 2>&5
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); }; } &&
43418 { ac_try
='test -s conftest.$ac_objext'
43419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43420 (eval $ac_try) 2>&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); }; }; then
43424 wx_cv_type_getsockname3
=int
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.
$ac_ext >&5
43429 wx_cv_type_getsockname3
=unknown
43432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43437 CXXFLAGS
="$CXXFLAGS_OLD"
43441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43444 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43445 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43447 if test "$wx_cv_type_getsockname3" = "unknown"; then
43449 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43450 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43452 cat >>confdefs.h
<<_ACEOF
43453 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43457 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43458 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43459 if test "${wx_cv_type_getsockopt5+set}" = set; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43463 cat >conftest.
$ac_ext <<_ACEOF
43466 cat confdefs.h
>>conftest.
$ac_ext
43467 cat >>conftest.
$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43470 #include <sys/types.h>
43471 #include <sys/socket.h>
43478 getsockopt(0, 0, 0, 0, &len);
43484 rm -f conftest.
$ac_objext
43485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43486 (eval $ac_compile) 2>conftest.er1
43488 grep -v '^ *+' conftest.er1
>conftest.err
43490 cat conftest.err
>&5
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); } &&
43493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43495 (eval $ac_try) 2>&5
43497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43498 (exit $ac_status); }; } &&
43499 { ac_try
='test -s conftest.$ac_objext'
43500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43501 (eval $ac_try) 2>&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); }; }; then
43505 wx_cv_type_getsockopt5
=socklen_t
43507 echo "$as_me: failed program was:" >&5
43508 sed 's/^/| /' conftest.
$ac_ext >&5
43511 CXXFLAGS_OLD
="$CXXFLAGS"
43512 if test "$GCC" = yes ; then
43513 CXXFLAGS
="-Werror $CXXFLAGS"
43516 cat >conftest.
$ac_ext <<_ACEOF
43519 cat confdefs.h
>>conftest.
$ac_ext
43520 cat >>conftest.
$ac_ext <<_ACEOF
43521 /* end confdefs.h. */
43523 #include <sys/types.h>
43524 #include <sys/socket.h>
43531 getsockopt(0, 0, 0, 0, &len);
43537 rm -f conftest.
$ac_objext
43538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43539 (eval $ac_compile) 2>conftest.er1
43541 grep -v '^ *+' conftest.er1
>conftest.err
43543 cat conftest.err
>&5
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); } &&
43546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548 (eval $ac_try) 2>&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; } &&
43552 { ac_try
='test -s conftest.$ac_objext'
43553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43554 (eval $ac_try) 2>&5
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); }; }; then
43558 wx_cv_type_getsockopt5
=size_t
43560 echo "$as_me: failed program was:" >&5
43561 sed 's/^/| /' conftest.
$ac_ext >&5
43563 cat >conftest.
$ac_ext <<_ACEOF
43566 cat confdefs.h
>>conftest.
$ac_ext
43567 cat >>conftest.
$ac_ext <<_ACEOF
43568 /* end confdefs.h. */
43570 #include <sys/types.h>
43571 #include <sys/socket.h>
43578 getsockopt(0, 0, 0, 0, &len);
43584 rm -f conftest.
$ac_objext
43585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43586 (eval $ac_compile) 2>conftest.er1
43588 grep -v '^ *+' conftest.er1
>conftest.err
43590 cat conftest.err
>&5
43591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43592 (exit $ac_status); } &&
43593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43595 (eval $ac_try) 2>&5
43597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598 (exit $ac_status); }; } &&
43599 { ac_try
='test -s conftest.$ac_objext'
43600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43601 (eval $ac_try) 2>&5
43603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43604 (exit $ac_status); }; }; then
43605 wx_cv_type_getsockopt5
=int
43607 echo "$as_me: failed program was:" >&5
43608 sed 's/^/| /' conftest.
$ac_ext >&5
43610 wx_cv_type_getsockopt5
=unknown
43613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43618 CXXFLAGS
="$CXXFLAGS_OLD"
43622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43625 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43626 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43628 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43630 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43631 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43633 cat >>confdefs.h
<<_ACEOF
43634 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43641 if test "$wxUSE_SOCKETS" = "yes" ; then
43642 cat >>confdefs.h
<<\_ACEOF
43643 #define wxUSE_SOCKETS 1
43646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43649 if test "$wxUSE_PROTOCOL" = "yes"; then
43650 if test "$wxUSE_SOCKETS" != "yes"; then
43651 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43652 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43657 if test "$wxUSE_PROTOCOL" = "yes"; then
43658 cat >>confdefs.h
<<\_ACEOF
43659 #define wxUSE_PROTOCOL 1
43663 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43664 cat >>confdefs.h
<<\_ACEOF
43665 #define wxUSE_PROTOCOL_HTTP 1
43669 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43670 cat >>confdefs.h
<<\_ACEOF
43671 #define wxUSE_PROTOCOL_FTP 1
43675 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43676 cat >>confdefs.h
<<\_ACEOF
43677 #define wxUSE_PROTOCOL_FILE 1
43682 if test "$wxUSE_FS_INET" = "yes"; then
43683 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43684 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43689 if test "$wxUSE_URL" = "yes"; then
43690 if test "$wxUSE_PROTOCOL" != "yes"; then
43691 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43692 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43695 if test "$wxUSE_URL" = "yes"; then
43696 cat >>confdefs.h
<<\_ACEOF
43697 #define wxUSE_URL 1
43703 if test "$wxUSE_FS_INET" = "yes"; then
43704 cat >>confdefs.h
<<\_ACEOF
43705 #define wxUSE_FS_INET 1
43711 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43714 if test "$TOOLKIT" = "MSW"; then
43717 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43718 if test "$USE_DARWIN" = 1; then
43719 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43720 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43721 cat >conftest.
$ac_ext <<_ACEOF
43724 cat confdefs.h
>>conftest.
$ac_ext
43725 cat >>conftest.
$ac_ext <<_ACEOF
43726 /* end confdefs.h. */
43727 #include <IOKit/hid/IOHIDLib.h>
43731 IOHIDQueueInterface *qi = NULL;
43732 IOHIDCallbackFunction cb = NULL;
43733 qi->setEventCallout(NULL, cb, NULL, NULL);
43738 rm -f conftest.
$ac_objext
43739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43740 (eval $ac_compile) 2>conftest.er1
43742 grep -v '^ *+' conftest.er1
>conftest.err
43744 cat conftest.err
>&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); } &&
43747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43749 (eval $ac_try) 2>&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); }; } &&
43753 { ac_try
='test -s conftest.$ac_objext'
43754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43755 (eval $ac_try) 2>&5
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); }; }; then
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.
$ac_ext >&5
43766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43767 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43768 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43773 for ac_header
in linux
/joystick.h
43775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43777 echo "$as_me:$LINENO: checking for $ac_header" >&5
43778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43780 echo $ECHO_N "(cached) $ECHO_C" >&6
43782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43785 # Is the header compilable?
43786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43788 cat >conftest.
$ac_ext <<_ACEOF
43791 cat confdefs.h
>>conftest.
$ac_ext
43792 cat >>conftest.
$ac_ext <<_ACEOF
43793 /* end confdefs.h. */
43794 $ac_includes_default
43795 #include <$ac_header>
43797 rm -f conftest.
$ac_objext
43798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43799 (eval $ac_compile) 2>conftest.er1
43801 grep -v '^ *+' conftest.er1
>conftest.err
43803 cat conftest.err
>&5
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); } &&
43806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43808 (eval $ac_try) 2>&5
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); }; } &&
43812 { ac_try
='test -s conftest.$ac_objext'
43813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43814 (eval $ac_try) 2>&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); }; }; then
43818 ac_header_compiler
=yes
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.
$ac_ext >&5
43823 ac_header_compiler
=no
43825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43827 echo "${ECHO_T}$ac_header_compiler" >&6
43829 # Is the header present?
43830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43832 cat >conftest.
$ac_ext <<_ACEOF
43835 cat confdefs.h
>>conftest.
$ac_ext
43836 cat >>conftest.
$ac_ext <<_ACEOF
43837 /* end confdefs.h. */
43838 #include <$ac_header>
43840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43843 grep -v '^ *+' conftest.er1
>conftest.err
43845 cat conftest.err
>&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } >/dev
/null
; then
43848 if test -s conftest.err
; then
43849 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43850 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43857 if test -z "$ac_cpp_err"; then
43858 ac_header_preproc
=yes
43860 echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.
$ac_ext >&5
43863 ac_header_preproc
=no
43865 rm -f conftest.err conftest.
$ac_ext
43866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43867 echo "${ECHO_T}$ac_header_preproc" >&6
43869 # So? What about this header?
43870 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43875 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43876 ac_header_preproc
=yes
43879 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43880 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43881 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43882 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43883 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43884 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43885 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43886 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43889 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43890 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43893 ## ----------------------------------------- ##
43894 ## Report this to wx-dev@lists.wxwidgets.org ##
43895 ## ----------------------------------------- ##
43898 sed "s/^/$as_me: WARNING: /" >&2
43901 echo "$as_me:$LINENO: checking for $ac_header" >&5
43902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43904 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 eval "$as_ac_Header=\$ac_header_preproc"
43908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43913 cat >>confdefs.h
<<_ACEOF
43914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43923 if test "$wxUSE_JOYSTICK" = "yes"; then
43924 cat >>confdefs.h
<<\_ACEOF
43925 #define wxUSE_JOYSTICK 1
43928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43930 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43931 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43937 if test "$wxUSE_FONTMAP" = "yes" ; then
43938 cat >>confdefs.h
<<\_ACEOF
43939 #define wxUSE_FONTMAP 1
43944 if test "$wxUSE_UNICODE" = "yes" ; then
43945 cat >>confdefs.h
<<\_ACEOF
43946 #define wxUSE_UNICODE 1
43950 if test "$USE_WIN32" != 1; then
43951 wxUSE_UNICODE_MSLU
=no
43954 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43955 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43956 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43957 if test "${ac_cv_lib_unicows_main+set}" = set; then
43958 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 ac_check_lib_save_LIBS
=$LIBS
43961 LIBS
="-lunicows $LIBS"
43962 cat >conftest.
$ac_ext <<_ACEOF
43965 cat confdefs.h
>>conftest.
$ac_ext
43966 cat >>conftest.
$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43978 rm -f conftest.
$ac_objext conftest
$ac_exeext
43979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43980 (eval $ac_link) 2>conftest.er1
43982 grep -v '^ *+' conftest.er1
>conftest.err
43984 cat conftest.err
>&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } &&
43987 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; } &&
43993 { ac_try
='test -s conftest$ac_exeext'
43994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995 (eval $ac_try) 2>&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; }; then
43999 ac_cv_lib_unicows_main
=yes
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.
$ac_ext >&5
44004 ac_cv_lib_unicows_main
=no
44006 rm -f conftest.err conftest.
$ac_objext \
44007 conftest
$ac_exeext conftest.
$ac_ext
44008 LIBS
=$ac_check_lib_save_LIBS
44010 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44011 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44012 if test $ac_cv_lib_unicows_main = yes; then
44014 cat >>confdefs.h
<<\_ACEOF
44015 #define wxUSE_UNICODE_MSLU 1
44021 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44022 Applications will only run on Windows NT/2000/XP!" >&5
44023 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44024 Applications will only run on Windows NT/2000/XP!" >&2;}
44025 wxUSE_UNICODE_MSLU
=no
44032 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44033 cat >>confdefs.h
<<\_ACEOF
44034 #define wxUSE_EXPERIMENTAL_PRINTF 1
44040 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44041 cat >>confdefs.h
<<\_ACEOF
44042 #define wxUSE_POSTSCRIPT 1
44047 cat >>confdefs.h
<<\_ACEOF
44048 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44052 cat >>confdefs.h
<<\_ACEOF
44053 #define wxUSE_NORMALIZED_PS_FONTS 1
44058 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44059 cat >>confdefs.h
<<\_ACEOF
44060 #define wxUSE_CONSTRAINTS 1
44063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44066 if test "$wxUSE_MDI" = "yes"; then
44067 cat >>confdefs.h
<<\_ACEOF
44068 #define wxUSE_MDI 1
44072 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44073 cat >>confdefs.h
<<\_ACEOF
44074 #define wxUSE_MDI_ARCHITECTURE 1
44077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44081 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44082 cat >>confdefs.h
<<\_ACEOF
44083 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44087 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44092 if test "$wxUSE_HELP" = "yes"; then
44093 cat >>confdefs.h
<<\_ACEOF
44094 #define wxUSE_HELP 1
44097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44099 if test "$wxUSE_MSW" = 1; then
44100 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44101 cat >>confdefs.h
<<\_ACEOF
44102 #define wxUSE_MS_HTML_HELP 1
44108 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44109 if test "$wxUSE_HTML" = "yes"; then
44110 cat >>confdefs.h
<<\_ACEOF
44111 #define wxUSE_WXHTML_HELP 1
44115 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44116 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44117 wxUSE_WXHTML_HELP
=no
44122 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44123 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44124 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44125 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44127 cat >>confdefs.h
<<\_ACEOF
44128 #define wxUSE_PRINTING_ARCHITECTURE 1
44132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44135 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44136 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44137 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44138 { (exit 1); exit 1; }; }
44142 if test "$wxUSE_METAFILE" = "yes"; then
44143 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44144 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44145 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44151 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44152 -o "$wxUSE_CLIPBOARD" = "yes" \
44153 -o "$wxUSE_OLE" = "yes" \
44154 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44156 for ac_header
in ole2.h
44158 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44160 echo "$as_me:$LINENO: checking for $ac_header" >&5
44161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44163 echo $ECHO_N "(cached) $ECHO_C" >&6
44165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44168 # Is the header compilable?
44169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44171 cat >conftest.
$ac_ext <<_ACEOF
44174 cat confdefs.h
>>conftest.
$ac_ext
44175 cat >>conftest.
$ac_ext <<_ACEOF
44176 /* end confdefs.h. */
44177 $ac_includes_default
44178 #include <$ac_header>
44180 rm -f conftest.
$ac_objext
44181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44182 (eval $ac_compile) 2>conftest.er1
44184 grep -v '^ *+' conftest.er1
>conftest.err
44186 cat conftest.err
>&5
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); } &&
44189 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44191 (eval $ac_try) 2>&5
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); }; } &&
44195 { ac_try
='test -s conftest.$ac_objext'
44196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44197 (eval $ac_try) 2>&5
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); }; }; then
44201 ac_header_compiler
=yes
44203 echo "$as_me: failed program was:" >&5
44204 sed 's/^/| /' conftest.
$ac_ext >&5
44206 ac_header_compiler
=no
44208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44210 echo "${ECHO_T}$ac_header_compiler" >&6
44212 # Is the header present?
44213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44215 cat >conftest.
$ac_ext <<_ACEOF
44218 cat confdefs.h
>>conftest.
$ac_ext
44219 cat >>conftest.
$ac_ext <<_ACEOF
44220 /* end confdefs.h. */
44221 #include <$ac_header>
44223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44226 grep -v '^ *+' conftest.er1
>conftest.err
44228 cat conftest.err
>&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); } >/dev
/null
; then
44231 if test -s conftest.err
; then
44232 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44233 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44240 if test -z "$ac_cpp_err"; then
44241 ac_header_preproc
=yes
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.
$ac_ext >&5
44246 ac_header_preproc
=no
44248 rm -f conftest.err conftest.
$ac_ext
44249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44250 echo "${ECHO_T}$ac_header_preproc" >&6
44252 # So? What about this header?
44253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44259 ac_header_preproc
=yes
44262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44276 ## ----------------------------------------- ##
44277 ## Report this to wx-dev@lists.wxwidgets.org ##
44278 ## ----------------------------------------- ##
44281 sed "s/^/$as_me: WARNING: /" >&2
44284 echo "$as_me:$LINENO: checking for $ac_header" >&5
44285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44287 echo $ECHO_N "(cached) $ECHO_C" >&6
44289 eval "$as_ac_Header=\$ac_header_preproc"
44291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44296 cat >>confdefs.h
<<_ACEOF
44297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44305 if test "$ac_cv_header_ole2_h" = "yes" ; then
44306 if test "$GCC" = yes ; then
44307 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44308 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44309 cat >conftest.
$ac_ext <<_ACEOF
44312 cat confdefs.h
>>conftest.
$ac_ext
44313 cat >>conftest.
$ac_ext <<_ACEOF
44314 /* end confdefs.h. */
44315 #include <windows.h>
44325 rm -f conftest.
$ac_objext
44326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44327 (eval $ac_compile) 2>conftest.er1
44329 grep -v '^ *+' conftest.er1
>conftest.err
44331 cat conftest.err
>&5
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); } &&
44334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44336 (eval $ac_try) 2>&5
44338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44339 (exit $ac_status); }; } &&
44340 { ac_try
='test -s conftest.$ac_objext'
44341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44342 (eval $ac_try) 2>&5
44344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44345 (exit $ac_status); }; }; then
44346 echo "$as_me:$LINENO: result: no" >&5
44347 echo "${ECHO_T}no" >&6
44349 echo "$as_me: failed program was:" >&5
44350 sed 's/^/| /' conftest.
$ac_ext >&5
44352 echo "$as_me:$LINENO: result: yes" >&5
44353 echo "${ECHO_T}yes" >&6
44354 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44357 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44358 if test "$wxUSE_OLE" = "yes" ; then
44359 cat >>confdefs.h
<<\_ACEOF
44360 #define wxUSE_OLE 1
44363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44367 if test "$wxUSE_DATAOBJ" = "yes" ; then
44368 cat >>confdefs.h
<<\_ACEOF
44369 #define wxUSE_DATAOBJ 1
44374 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44375 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44378 wxUSE_DRAG_AND_DROP
=no
44383 if test "$wxUSE_METAFILE" = "yes"; then
44384 cat >>confdefs.h
<<\_ACEOF
44385 #define wxUSE_METAFILE 1
44389 cat >>confdefs.h
<<\_ACEOF
44390 #define wxUSE_ENH_METAFILE 1
44396 if test "$wxUSE_IPC" = "yes"; then
44397 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44398 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44399 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44403 if test "$wxUSE_IPC" = "yes"; then
44404 cat >>confdefs.h
<<\_ACEOF
44405 #define wxUSE_IPC 1
44408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44412 if test "$wxUSE_DATAOBJ" = "yes"; then
44413 if test "$wxUSE_MGL" = 1; then
44414 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44415 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44418 cat >>confdefs.h
<<\_ACEOF
44419 #define wxUSE_DATAOBJ 1
44424 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44425 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44427 wxUSE_DRAG_AND_DROP
=no
44430 if test "$wxUSE_CLIPBOARD" = "yes"; then
44431 if test "$wxUSE_MGL" = 1; then
44432 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44433 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44437 if test "$wxUSE_CLIPBOARD" = "yes"; then
44438 cat >>confdefs.h
<<\_ACEOF
44439 #define wxUSE_CLIPBOARD 1
44445 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44446 if test "$wxUSE_GTK" = 1; then
44447 if test "$WXGTK12" != 1; then
44448 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44449 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44450 wxUSE_DRAG_AND_DROP
=no
44454 if test "$wxUSE_MOTIF" = 1; then
44455 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44456 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44457 wxUSE_DRAG_AND_DROP
=no
44460 if test "$wxUSE_X11" = 1; then
44461 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44462 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44463 wxUSE_DRAG_AND_DROP
=no
44466 if test "$wxUSE_MGL" = 1; then
44467 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44468 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44469 wxUSE_DRAG_AND_DROP
=no
44472 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44473 cat >>confdefs.h
<<\_ACEOF
44474 #define wxUSE_DRAG_AND_DROP 1
44481 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44485 if test "$wxUSE_SPLINES" = "yes" ; then
44486 cat >>confdefs.h
<<\_ACEOF
44487 #define wxUSE_SPLINES 1
44492 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44493 cat >>confdefs.h
<<\_ACEOF
44494 #define wxUSE_MOUSEWHEEL 1
44501 if test "$wxUSE_CONTROLS" = "yes"; then
44505 if test "$wxUSE_ACCEL" = "yes"; then
44506 cat >>confdefs.h
<<\_ACEOF
44507 #define wxUSE_ACCEL 1
44513 if test "$wxUSE_BUTTON" = "yes"; then
44514 cat >>confdefs.h
<<\_ACEOF
44515 #define wxUSE_BUTTON 1
44521 if test "$wxUSE_BMPBUTTON" = "yes"; then
44522 cat >>confdefs.h
<<\_ACEOF
44523 #define wxUSE_BMPBUTTON 1
44529 if test "$wxUSE_CALCTRL" = "yes"; then
44530 cat >>confdefs.h
<<\_ACEOF
44531 #define wxUSE_CALENDARCTRL 1
44535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44538 if test "$wxUSE_CARET" = "yes"; then
44539 cat >>confdefs.h
<<\_ACEOF
44540 #define wxUSE_CARET 1
44544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44547 if test "$wxUSE_COMBOBOX" = "yes"; then
44548 cat >>confdefs.h
<<\_ACEOF
44549 #define wxUSE_COMBOBOX 1
44555 if test "$wxUSE_COMBOCTRL" = "yes"; then
44556 cat >>confdefs.h
<<\_ACEOF
44557 #define wxUSE_COMBOCTRL 1
44563 if test "$wxUSE_CHOICE" = "yes"; then
44564 cat >>confdefs.h
<<\_ACEOF
44565 #define wxUSE_CHOICE 1
44571 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44572 cat >>confdefs.h
<<\_ACEOF
44573 #define wxUSE_CHOICEBOOK 1
44579 if test "$wxUSE_CHECKBOX" = "yes"; then
44580 cat >>confdefs.h
<<\_ACEOF
44581 #define wxUSE_CHECKBOX 1
44587 if test "$wxUSE_CHECKLST" = "yes"; then
44588 cat >>confdefs.h
<<\_ACEOF
44589 #define wxUSE_CHECKLISTBOX 1
44593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44596 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44597 cat >>confdefs.h
<<\_ACEOF
44598 #define wxUSE_COLOURPICKERCTRL 1
44604 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44605 cat >>confdefs.h
<<\_ACEOF
44606 #define wxUSE_DATEPICKCTRL 1
44612 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44613 cat >>confdefs.h
<<\_ACEOF
44614 #define wxUSE_DIRPICKERCTRL 1
44620 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44621 cat >>confdefs.h
<<\_ACEOF
44622 #define wxUSE_FILEPICKERCTRL 1
44628 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44629 cat >>confdefs.h
<<\_ACEOF
44630 #define wxUSE_FONTPICKERCTRL 1
44636 if test "$wxUSE_DISPLAY" = "yes"; then
44637 cat >>confdefs.h
<<\_ACEOF
44638 #define wxUSE_DISPLAY 1
44641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44644 if test "$wxUSE_GAUGE" = "yes"; then
44645 cat >>confdefs.h
<<\_ACEOF
44646 #define wxUSE_GAUGE 1
44652 if test "$wxUSE_GRID" = "yes"; then
44653 cat >>confdefs.h
<<\_ACEOF
44654 #define wxUSE_GRID 1
44658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44661 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44662 cat >>confdefs.h
<<\_ACEOF
44663 #define wxUSE_HYPERLINKCTRL 1
44669 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44670 cat >>confdefs.h
<<\_ACEOF
44671 #define wxUSE_DATAVIEWCTRL 1
44675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44678 if test "$wxUSE_IMAGLIST" = "yes"; then
44679 cat >>confdefs.h
<<\_ACEOF
44680 #define wxUSE_IMAGLIST 1
44685 if test "$wxUSE_LISTBOOK" = "yes"; then
44686 cat >>confdefs.h
<<\_ACEOF
44687 #define wxUSE_LISTBOOK 1
44693 if test "$wxUSE_LISTBOX" = "yes"; then
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define wxUSE_LISTBOX 1
44699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44702 if test "$wxUSE_LISTCTRL" = "yes"; then
44703 if test "$wxUSE_IMAGLIST" = "yes"; then
44704 cat >>confdefs.h
<<\_ACEOF
44705 #define wxUSE_LISTCTRL 1
44709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44711 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44712 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44716 if test "$wxUSE_NOTEBOOK" = "yes"; then
44717 cat >>confdefs.h
<<\_ACEOF
44718 #define wxUSE_NOTEBOOK 1
44722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44725 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_ODCOMBOBOX 1
44731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44735 if test "$wxUSE_RADIOBOX" = "yes"; then
44736 cat >>confdefs.h
<<\_ACEOF
44737 #define wxUSE_RADIOBOX 1
44743 if test "$wxUSE_RADIOBTN" = "yes"; then
44744 cat >>confdefs.h
<<\_ACEOF
44745 #define wxUSE_RADIOBTN 1
44751 if test "$wxUSE_SASH" = "yes"; then
44752 cat >>confdefs.h
<<\_ACEOF
44753 #define wxUSE_SASH 1
44756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44759 if test "$wxUSE_SCROLLBAR" = "yes"; then
44760 cat >>confdefs.h
<<\_ACEOF
44761 #define wxUSE_SCROLLBAR 1
44765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44768 if test "$wxUSE_SLIDER" = "yes"; then
44769 cat >>confdefs.h
<<\_ACEOF
44770 #define wxUSE_SLIDER 1
44776 if test "$wxUSE_SPINBTN" = "yes"; then
44777 cat >>confdefs.h
<<\_ACEOF
44778 #define wxUSE_SPINBTN 1
44784 if test "$wxUSE_SPINCTRL" = "yes"; then
44785 cat >>confdefs.h
<<\_ACEOF
44786 #define wxUSE_SPINCTRL 1
44792 if test "$wxUSE_SPLITTER" = "yes"; then
44793 cat >>confdefs.h
<<\_ACEOF
44794 #define wxUSE_SPLITTER 1
44797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44800 if test "$wxUSE_STATBMP" = "yes"; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_STATBMP 1
44808 if test "$wxUSE_STATBOX" = "yes"; then
44809 cat >>confdefs.h
<<\_ACEOF
44810 #define wxUSE_STATBOX 1
44816 if test "$wxUSE_STATTEXT" = "yes"; then
44817 cat >>confdefs.h
<<\_ACEOF
44818 #define wxUSE_STATTEXT 1
44824 if test "$wxUSE_STATLINE" = "yes"; then
44825 cat >>confdefs.h
<<\_ACEOF
44826 #define wxUSE_STATLINE 1
44832 if test "$wxUSE_STATUSBAR" = "yes"; then
44833 cat >>confdefs.h
<<\_ACEOF
44834 #define wxUSE_NATIVE_STATUSBAR 1
44837 cat >>confdefs.h
<<\_ACEOF
44838 #define wxUSE_STATUSBAR 1
44843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44846 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44847 cat >>confdefs.h
<<\_ACEOF
44848 #define wxUSE_TAB_DIALOG 1
44853 if test "$wxUSE_TEXTCTRL" = "yes"; then
44854 cat >>confdefs.h
<<\_ACEOF
44855 #define wxUSE_TEXTCTRL 1
44859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44862 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44863 if test "$wxUSE_COCOA" = 1 ; then
44864 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44865 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44870 cat >>confdefs.h
<<\_ACEOF
44871 #define wxUSE_TOGGLEBTN 1
44878 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44879 cat >>confdefs.h
<<\_ACEOF
44880 #define wxUSE_TOOLBAR_SIMPLE 1
44883 wxUSE_TOOLBAR
="yes"
44887 if test "$wxUSE_TOOLBAR" = "yes"; then
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_TOOLBAR 1
44894 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44895 wxUSE_TOOLBAR_NATIVE
="yes"
44898 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44899 cat >>confdefs.h
<<\_ACEOF
44900 #define wxUSE_TOOLBAR_NATIVE 1
44906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44909 if test "$wxUSE_TOOLTIPS" = "yes"; then
44910 if test "$wxUSE_MOTIF" = 1; then
44911 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44912 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44914 if test "$wxUSE_UNIVERSAL" = "yes"; then
44915 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44916 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44918 cat >>confdefs.h
<<\_ACEOF
44919 #define wxUSE_TOOLTIPS 1
44926 if test "$wxUSE_TREEBOOK" = "yes"; then
44927 cat >>confdefs.h
<<\_ACEOF
44928 #define wxUSE_TREEBOOK 1
44934 if test "$wxUSE_TOOLBOOK" = "yes"; then
44935 cat >>confdefs.h
<<\_ACEOF
44936 #define wxUSE_TOOLBOOK 1
44942 if test "$wxUSE_TREECTRL" = "yes"; then
44943 if test "$wxUSE_IMAGLIST" = "yes"; then
44944 cat >>confdefs.h
<<\_ACEOF
44945 #define wxUSE_TREECTRL 1
44949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44951 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44952 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44956 if test "$wxUSE_POPUPWIN" = "yes"; then
44957 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44958 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44959 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44961 if test "$wxUSE_PM" = 1; then
44962 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44963 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44965 cat >>confdefs.h
<<\_ACEOF
44966 #define wxUSE_POPUPWIN 1
44969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44976 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44977 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44978 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44979 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44981 cat >>confdefs.h
<<\_ACEOF
44982 #define wxUSE_DIALUP_MANAGER 1
44985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44989 if test "$wxUSE_TIPWINDOW" = "yes"; then
44990 if test "$wxUSE_PM" = 1; then
44991 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44992 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44994 cat >>confdefs.h
<<\_ACEOF
44995 #define wxUSE_TIPWINDOW 1
45001 if test "$USES_CONTROLS" = 1; then
45002 cat >>confdefs.h
<<\_ACEOF
45003 #define wxUSE_CONTROLS 1
45009 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_ACCESSIBILITY 1
45014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45017 if test "$wxUSE_DC_CACHEING" = "yes"; then
45018 cat >>confdefs.h
<<\_ACEOF
45019 #define wxUSE_DC_CACHEING 1
45024 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45025 cat >>confdefs.h
<<\_ACEOF
45026 #define wxUSE_DRAGIMAGE 1
45029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45032 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45033 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45034 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45035 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45037 cat >>confdefs.h
<<\_ACEOF
45038 #define wxUSE_EXCEPTIONS 1
45041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45046 if test "$wxUSE_HTML" = "yes"; then
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_HTML 1
45052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45053 if test "$wxUSE_MAC" = 1; then
45054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45057 if test "$wxUSE_WEBKIT" = "yes"; then
45058 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45059 old_CPPFLAGS
="$CPPFLAGS"
45060 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45061 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45062 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45063 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45064 echo $ECHO_N "(cached) $ECHO_C" >&6
45066 cat >conftest.
$ac_ext <<_ACEOF
45069 cat confdefs.h
>>conftest.
$ac_ext
45070 cat >>conftest.
$ac_ext <<_ACEOF
45071 /* end confdefs.h. */
45072 #include <Carbon/Carbon.h>
45074 #include <WebKit/HIWebView.h>
45076 rm -f conftest.
$ac_objext
45077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45078 (eval $ac_compile) 2>conftest.er1
45080 grep -v '^ *+' conftest.er1
>conftest.err
45082 cat conftest.err
>&5
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); } &&
45085 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45087 (eval $ac_try) 2>&5
45089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 (exit $ac_status); }; } &&
45091 { ac_try
='test -s conftest.$ac_objext'
45092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45093 (eval $ac_try) 2>&5
45095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096 (exit $ac_status); }; }; then
45097 ac_cv_header_WebKit_HIWebView_h
=yes
45099 echo "$as_me: failed program was:" >&5
45100 sed 's/^/| /' conftest.
$ac_ext >&5
45102 ac_cv_header_WebKit_HIWebView_h
=no
45104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45106 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45107 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45108 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define wxUSE_WEBKIT 1
45114 WEBKIT_LINK
="-framework WebKit"
45118 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45119 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45125 CPPFLAGS
="$old_CPPFLAGS"
45126 elif test "$wxUSE_COCOA" = 1; then
45127 cat >>confdefs.h
<<\_ACEOF
45128 #define wxUSE_WEBKIT 1
45137 if test "$wxUSE_XRC" = "yes"; then
45138 if test "$wxUSE_XML" != "yes"; then
45139 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45140 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45143 cat >>confdefs.h
<<\_ACEOF
45144 #define wxUSE_XRC 1
45148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45153 if test "$wxUSE_AUI" = "yes"; then
45154 cat >>confdefs.h
<<\_ACEOF
45155 #define wxUSE_AUI 1
45159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45162 if test "$wxUSE_MENUS" = "yes"; then
45163 cat >>confdefs.h
<<\_ACEOF
45164 #define wxUSE_MENUS 1
45167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45170 if test "$wxUSE_METAFILE" = "yes"; then
45171 cat >>confdefs.h
<<\_ACEOF
45172 #define wxUSE_METAFILE 1
45177 if test "$wxUSE_MIMETYPE" = "yes"; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define wxUSE_MIMETYPE 1
45184 if test "$wxUSE_MINIFRAME" = "yes"; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_MINIFRAME 1
45189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45192 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_SYSTEM_OPTIONS 1
45197 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45198 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45204 if test "$wxUSE_VALIDATORS" = "yes"; then
45205 cat >>confdefs.h
<<\_ACEOF
45206 #define wxUSE_VALIDATORS 1
45209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45212 if test "$wxUSE_PALETTE" = "yes" ; then
45213 cat >>confdefs.h
<<\_ACEOF
45214 #define wxUSE_PALETTE 1
45219 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45220 LIBS
=" -lunicows $LIBS"
45224 if test "$wxUSE_RICHTEXT" = "yes"; then
45225 cat >>confdefs.h
<<\_ACEOF
45226 #define wxUSE_RICHTEXT 1
45230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45234 if test "$wxUSE_IMAGE" = "yes" ; then
45235 cat >>confdefs.h
<<\_ACEOF
45236 #define wxUSE_IMAGE 1
45240 if test "$wxUSE_GIF" = "yes" ; then
45241 cat >>confdefs.h
<<\_ACEOF
45242 #define wxUSE_GIF 1
45247 if test "$wxUSE_PCX" = "yes" ; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_PCX 1
45254 if test "$wxUSE_IFF" = "yes" ; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_IFF 1
45261 if test "$wxUSE_PNM" = "yes" ; then
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_PNM 1
45268 if test "$wxUSE_XPM" = "yes" ; then
45269 cat >>confdefs.h
<<\_ACEOF
45270 #define wxUSE_XPM 1
45275 if test "$wxUSE_ICO_CUR" = "yes" ; then
45276 cat >>confdefs.h
<<\_ACEOF
45277 #define wxUSE_ICO_CUR 1
45284 if test "$wxUSE_CHOICEDLG" = "yes"; then
45285 cat >>confdefs.h
<<\_ACEOF
45286 #define wxUSE_CHOICEDLG 1
45291 if test "$wxUSE_COLOURDLG" = "yes"; then
45292 cat >>confdefs.h
<<\_ACEOF
45293 #define wxUSE_COLOURDLG 1
45298 if test "$wxUSE_FILEDLG" = "yes"; then
45299 cat >>confdefs.h
<<\_ACEOF
45300 #define wxUSE_FILEDLG 1
45305 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45306 cat >>confdefs.h
<<\_ACEOF
45307 #define wxUSE_FINDREPLDLG 1
45312 if test "$wxUSE_FONTDLG" = "yes"; then
45313 cat >>confdefs.h
<<\_ACEOF
45314 #define wxUSE_FONTDLG 1
45319 if test "$wxUSE_DIRDLG" = "yes"; then
45320 if test "$wxUSE_TREECTRL" != "yes"; then
45321 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45322 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45324 cat >>confdefs.h
<<\_ACEOF
45325 #define wxUSE_DIRDLG 1
45331 if test "$wxUSE_MSGDLG" = "yes"; then
45332 cat >>confdefs.h
<<\_ACEOF
45333 #define wxUSE_MSGDLG 1
45338 if test "$wxUSE_NUMBERDLG" = "yes"; then
45339 cat >>confdefs.h
<<\_ACEOF
45340 #define wxUSE_NUMBERDLG 1
45345 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45346 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45347 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45348 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45350 cat >>confdefs.h
<<\_ACEOF
45351 #define wxUSE_PROGRESSDLG 1
45357 if test "$wxUSE_SPLASH" = "yes"; then
45358 cat >>confdefs.h
<<\_ACEOF
45359 #define wxUSE_SPLASH 1
45362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45365 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45366 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45367 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45368 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45370 cat >>confdefs.h
<<\_ACEOF
45371 #define wxUSE_STARTUP_TIPS 1
45377 if test "$wxUSE_TEXTDLG" = "yes"; then
45378 cat >>confdefs.h
<<\_ACEOF
45379 #define wxUSE_TEXTDLG 1
45384 if test "$wxUSE_WIZARDDLG" = "yes"; then
45385 cat >>confdefs.h
<<\_ACEOF
45386 #define wxUSE_WIZARDDLG 1
45389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45395 if test "$wxUSE_MEDIACTRL" = "yes"; then
45398 if test "$wxUSE_GTK" = 1; then
45399 wxUSE_GSTREAMER
="no"
45401 GST_VERSION_MAJOR
=0
45402 GST_VERSION_MINOR
=10
45403 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45405 if test "$wxUSE_GSTREAMER8" = "no"; then
45408 echo "$as_me:$LINENO: checking for GST" >&5
45409 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45411 if test -n "$PKG_CONFIG"; then
45412 if test -n "$GST_CFLAGS"; then
45413 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45415 if test -n "$PKG_CONFIG" && \
45416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45417 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45420 (exit $ac_status); }; then
45421 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45429 if test -n "$PKG_CONFIG"; then
45430 if test -n "$GST_LIBS"; then
45431 pkg_cv_GST_LIBS
="$GST_LIBS"
45433 if test -n "$PKG_CONFIG" && \
45434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45435 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); }; then
45439 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45450 if test $pkg_failed = yes; then
45452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45453 _pkg_short_errors_supported
=yes
45455 _pkg_short_errors_supported
=no
45457 if test $_pkg_short_errors_supported = yes; then
45458 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45460 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45462 # Put the nasty error message in config.log where it belongs
45463 echo "$GST_PKG_ERRORS" >&5
45466 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45467 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45468 GST_VERSION_MINOR
=8
45471 elif test $pkg_failed = untried
; then
45473 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45474 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45475 GST_VERSION_MINOR
=8
45479 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45480 GST_LIBS
=$pkg_cv_GST_LIBS
45481 echo "$as_me:$LINENO: result: yes" >&5
45482 echo "${ECHO_T}yes" >&6
45484 wxUSE_GSTREAMER
="yes"
45485 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45489 GST_VERSION_MINOR
=8
45492 if test $GST_VERSION_MINOR = "8"; then
45493 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45496 echo "$as_me:$LINENO: checking for GST" >&5
45497 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45499 if test -n "$PKG_CONFIG"; then
45500 if test -n "$GST_CFLAGS"; then
45501 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45503 if test -n "$PKG_CONFIG" && \
45504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45505 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); }; then
45509 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45517 if test -n "$PKG_CONFIG"; then
45518 if test -n "$GST_LIBS"; then
45519 pkg_cv_GST_LIBS
="$GST_LIBS"
45521 if test -n "$PKG_CONFIG" && \
45522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45523 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45526 (exit $ac_status); }; then
45527 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45538 if test $pkg_failed = yes; then
45540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45541 _pkg_short_errors_supported
=yes
45543 _pkg_short_errors_supported
=no
45545 if test $_pkg_short_errors_supported = yes; then
45546 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45548 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45550 # Put the nasty error message in config.log where it belongs
45551 echo "$GST_PKG_ERRORS" >&5
45554 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45555 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45557 elif test $pkg_failed = untried
; then
45559 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45560 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45563 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45564 GST_LIBS
=$pkg_cv_GST_LIBS
45565 echo "$as_me:$LINENO: result: yes" >&5
45566 echo "${ECHO_T}yes" >&6
45567 wxUSE_GSTREAMER
="yes"
45572 if test "$wxUSE_GSTREAMER" = "yes"; then
45575 if "$GCC" = yes; then
45576 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45577 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45581 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45582 LIBS
="$GST_LIBS $LIBS"
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_GSTREAMER 1
45593 if test $USE_MEDIA = 1; then
45594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45595 cat >>confdefs.h
<<\_ACEOF
45596 #define wxUSE_MEDIACTRL 1
45603 if test "$cross_compiling" = "yes"; then
45606 OSINFO
=`uname -s -r -m`
45607 OSINFO
="\"$OSINFO\""
45610 cat >>confdefs.h
<<_ACEOF
45611 #define WXWIN_OS_DESCRIPTION $OSINFO
45616 if test "x$prefix" != "xNONE"; then
45619 wxPREFIX
=$ac_default_prefix
45622 cat >>confdefs.h
<<_ACEOF
45623 #define wxINSTALL_PREFIX "$wxPREFIX"
45629 CORE_BASE_LIBS
="net base"
45630 CORE_GUI_LIBS
="adv core"
45632 if test "$wxUSE_XML" = "yes" ; then
45633 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45635 if test "$wxUSE_ODBC" != "no" ; then
45636 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45637 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45639 if test "$wxUSE_HTML" = "yes" ; then
45640 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45642 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45643 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45645 if test "$wxUSE_XRC" = "yes" ; then
45646 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45648 if test "$wxUSE_AUI" = "yes" ; then
45649 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45652 if test "$wxUSE_GUI" != "yes"; then
45661 ac_cpp
='$CPP $CPPFLAGS'
45662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45668 if test "$wxUSE_MAC" = 1 ; then
45669 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45670 if test "$USE_DARWIN" = 1; then
45671 LDFLAGS
="$LDFLAGS -framework QuickTime"
45673 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45676 if test "$USE_DARWIN" = 1; then
45677 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45679 LDFLAGS
="$LDFLAGS -lCarbonLib"
45682 if test "$wxUSE_COCOA" = 1 ; then
45683 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45684 if test "$wxUSE_MEDIACTRL" = "yes"; then
45685 LDFLAGS
="$LDFLAGS -framework QuickTime"
45688 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45689 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45692 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45694 if test "$wxUSE_GUI" = "yes"; then
45697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45698 dynamic erase event exec font image minimal mobile \
45699 mobile/wxedit mobile/styles propsize render \
45700 rotate shaped vscroll widgets"
45702 if test "$wxUSE_MONOLITHIC" != "yes"; then
45703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45705 if test "$TOOLKIT" = "MSW"; then
45706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45707 if test "$wxUSE_UNIVERSAL" != "yes"; then
45708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45711 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45715 SAMPLES_SUBDIRS
="console"
45719 if test "x$INTELCC" = "xyes" ; then
45720 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45721 elif test "$GCC" = yes ; then
45722 CWARNINGS
="-Wall -Wundef"
45725 if test "x$INTELCXX" = "xyes" ; then
45726 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45727 elif test "$GXX" = yes ; then
45728 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45732 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45733 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45736 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45737 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45738 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45741 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45742 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45743 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45745 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45748 if test "x$MWCC" = "xyes"; then
45750 CC
="$CC -cwd source -I-"
45751 CXX
="$CXX -cwd source -I-"
45756 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45757 EXTRALIBS_XML
="$EXPAT_LINK"
45758 EXTRALIBS_HTML
="$MSPACK_LINK"
45759 EXTRALIBS_ODBC
="$ODBC_LINK"
45760 if test "$wxUSE_GUI" = "yes"; then
45761 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45763 if test "$wxUSE_OPENGL" = "yes"; then
45764 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45767 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45769 WXCONFIG_LIBS
="$LIBS"
45771 if test "$wxUSE_REGEX" = "builtin" ; then
45772 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45774 if test "$wxUSE_EXPAT" = "builtin" ; then
45775 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45777 if test "$wxUSE_ODBC" = "builtin" ; then
45778 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45780 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45781 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45783 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45784 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45786 if test "$wxUSE_LIBPNG" = "builtin" ; then
45787 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45789 if test "$wxUSE_ZLIB" = "builtin" ; then
45790 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45793 for i
in $wxconfig_3rdparty ; do
45794 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45798 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45812 if test $wxUSE_MONOLITHIC = "yes" ; then
45818 if test $wxUSE_PLUGINS = "yes" ; then
45824 if test $wxUSE_ODBC != "no" ; then
45830 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45836 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45866 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45877 TOOLKIT_DESC
="GTK+"
45878 if test "$WXGTK20" = 1; then
45879 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45880 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45881 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45883 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45884 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45886 if test "$wxUSE_LIBHILDON" = "yes"; then
45887 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45890 if test "$TOOLKIT_EXTRA" != ""; then
45891 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45897 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45901 TOOLKIT_DESC
="base only"
45905 if test "$wxUSE_WINE" = "yes"; then
45906 BAKEFILE_FORCE_PLATFORM
=win32
45909 if test "$wxUSE_MAC" = 1 ; then
45910 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45911 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45912 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45914 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45916 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45917 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45918 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45919 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45922 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45923 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45929 if test "x$BAKEFILE_HOST" = "x"; then
45930 if test "x${host}" = "x" ; then
45931 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45932 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45933 { (exit 1); exit 1; }; }
45936 BAKEFILE_HOST
="${host}"
45939 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45941 if test -n "$ac_tool_prefix"; then
45942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45943 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45944 echo "$as_me:$LINENO: checking for $ac_word" >&5
45945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45946 if test "${ac_cv_prog_RANLIB+set}" = set; then
45947 echo $ECHO_N "(cached) $ECHO_C" >&6
45949 if test -n "$RANLIB"; then
45950 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45953 for as_dir
in $PATH
45956 test -z "$as_dir" && as_dir
=.
45957 for ac_exec_ext
in '' $ac_executable_extensions; do
45958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45959 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45968 RANLIB
=$ac_cv_prog_RANLIB
45969 if test -n "$RANLIB"; then
45970 echo "$as_me:$LINENO: result: $RANLIB" >&5
45971 echo "${ECHO_T}$RANLIB" >&6
45973 echo "$as_me:$LINENO: result: no" >&5
45974 echo "${ECHO_T}no" >&6
45978 if test -z "$ac_cv_prog_RANLIB"; then
45979 ac_ct_RANLIB
=$RANLIB
45980 # Extract the first word of "ranlib", so it can be a program name with args.
45981 set dummy ranlib
; ac_word
=$2
45982 echo "$as_me:$LINENO: checking for $ac_word" >&5
45983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45985 echo $ECHO_N "(cached) $ECHO_C" >&6
45987 if test -n "$ac_ct_RANLIB"; then
45988 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45991 for as_dir
in $PATH
45994 test -z "$as_dir" && as_dir
=.
45995 for ac_exec_ext
in '' $ac_executable_extensions; do
45996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45997 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46004 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46007 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46008 if test -n "$ac_ct_RANLIB"; then
46009 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46010 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46012 echo "$as_me:$LINENO: result: no" >&5
46013 echo "${ECHO_T}no" >&6
46016 RANLIB
=$ac_ct_RANLIB
46018 RANLIB
="$ac_cv_prog_RANLIB"
46021 # Find a good install program. We prefer a C program (faster),
46022 # so one script is as good as another. But avoid the broken or
46023 # incompatible versions:
46024 # SysV /etc/install, /usr/sbin/install
46025 # SunOS /usr/etc/install
46026 # IRIX /sbin/install
46028 # AmigaOS /C/install, which installs bootblocks on floppy discs
46029 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46032 # OS/2's system install, which has a completely different semantic
46033 # ./install, which can be erroneously created by make from ./install.sh.
46034 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46035 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46036 if test -z "$INSTALL"; then
46037 if test "${ac_cv_path_install+set}" = set; then
46038 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46041 for as_dir
in $PATH
46044 test -z "$as_dir" && as_dir
=.
46045 # Account for people who put trailing slashes in PATH elements.
46047 .
/ | .
// | /cC
/* | \
46048 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46049 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46052 # OSF1 and SCO ODT 3.0 have their own names for install.
46053 # Don't use installbsd from OSF since it installs stuff as root
46055 for ac_prog
in ginstall scoinst
install; do
46056 for ac_exec_ext
in '' $ac_executable_extensions; do
46057 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46058 if test $ac_prog = install &&
46059 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46060 # AIX install. It has an incompatible calling convention.
46062 elif test $ac_prog = install &&
46063 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46064 # program-specific install script used by HP pwplus--don't use.
46067 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46079 if test "${ac_cv_path_install+set}" = set; then
46080 INSTALL
=$ac_cv_path_install
46082 # As a last resort, use the slow shell script. We don't cache a
46083 # path for INSTALL within a source directory, because that will
46084 # break other packages using the cache if that directory is
46085 # removed, or if the path is relative.
46086 INSTALL
=$ac_install_sh
46089 echo "$as_me:$LINENO: result: $INSTALL" >&5
46090 echo "${ECHO_T}$INSTALL" >&6
46092 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46093 # It thinks the first close brace ends the variable substitution.
46094 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46096 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46098 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46100 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46101 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46103 if test "$LN_S" = "ln -s"; then
46104 echo "$as_me:$LINENO: result: yes" >&5
46105 echo "${ECHO_T}yes" >&6
46107 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46108 echo "${ECHO_T}no, using $LN_S" >&6
46112 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46113 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46114 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46115 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46116 echo $ECHO_N "(cached) $ECHO_C" >&6
46118 cat >conftest.
make <<\_ACEOF
46120 @
echo 'ac_maketemp="$(MAKE)"'
46122 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46123 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46124 if test -n "$ac_maketemp"; then
46125 eval ac_cv_prog_make_
${ac_make}_set
=yes
46127 eval ac_cv_prog_make_
${ac_make}_set
=no
46129 rm -f conftest.
make
46131 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46132 echo "$as_me:$LINENO: result: yes" >&5
46133 echo "${ECHO_T}yes" >&6
46136 echo "$as_me:$LINENO: result: no" >&5
46137 echo "${ECHO_T}no" >&6
46138 SET_MAKE
="MAKE=${MAKE-make}"
46143 if test -n "$ac_tool_prefix"; then
46144 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46145 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46146 echo "$as_me:$LINENO: checking for $ac_word" >&5
46147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46148 if test "${ac_cv_prog_AR+set}" = set; then
46149 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 if test -n "$AR"; then
46152 ac_cv_prog_AR
="$AR" # Let the user override the test.
46154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46155 for as_dir
in $PATH
46158 test -z "$as_dir" && as_dir
=.
46159 for ac_exec_ext
in '' $ac_executable_extensions; do
46160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46161 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46171 if test -n "$AR"; then
46172 echo "$as_me:$LINENO: result: $AR" >&5
46173 echo "${ECHO_T}$AR" >&6
46175 echo "$as_me:$LINENO: result: no" >&5
46176 echo "${ECHO_T}no" >&6
46180 if test -z "$ac_cv_prog_AR"; then
46182 # Extract the first word of "ar", so it can be a program name with args.
46183 set dummy
ar; ac_word
=$2
46184 echo "$as_me:$LINENO: checking for $ac_word" >&5
46185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46186 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46187 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 if test -n "$ac_ct_AR"; then
46190 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46193 for as_dir
in $PATH
46196 test -z "$as_dir" && as_dir
=.
46197 for ac_exec_ext
in '' $ac_executable_extensions; do
46198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46199 ac_cv_prog_ac_ct_AR
="ar"
46200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46206 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46209 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46210 if test -n "$ac_ct_AR"; then
46211 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46212 echo "${ECHO_T}$ac_ct_AR" >&6
46214 echo "$as_me:$LINENO: result: no" >&5
46215 echo "${ECHO_T}no" >&6
46220 AR
="$ac_cv_prog_AR"
46223 if test -n "$ac_tool_prefix"; then
46224 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46225 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46226 echo "$as_me:$LINENO: checking for $ac_word" >&5
46227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46228 if test "${ac_cv_prog_STRIP+set}" = set; then
46229 echo $ECHO_N "(cached) $ECHO_C" >&6
46231 if test -n "$STRIP"; then
46232 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46235 for as_dir
in $PATH
46238 test -z "$as_dir" && as_dir
=.
46239 for ac_exec_ext
in '' $ac_executable_extensions; do
46240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46241 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46250 STRIP
=$ac_cv_prog_STRIP
46251 if test -n "$STRIP"; then
46252 echo "$as_me:$LINENO: result: $STRIP" >&5
46253 echo "${ECHO_T}$STRIP" >&6
46255 echo "$as_me:$LINENO: result: no" >&5
46256 echo "${ECHO_T}no" >&6
46260 if test -z "$ac_cv_prog_STRIP"; then
46262 # Extract the first word of "strip", so it can be a program name with args.
46263 set dummy strip
; ac_word
=$2
46264 echo "$as_me:$LINENO: checking for $ac_word" >&5
46265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46266 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46269 if test -n "$ac_ct_STRIP"; then
46270 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46273 for as_dir
in $PATH
46276 test -z "$as_dir" && as_dir
=.
46277 for ac_exec_ext
in '' $ac_executable_extensions; do
46278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46279 ac_cv_prog_ac_ct_STRIP
="strip"
46280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46286 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46289 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46290 if test -n "$ac_ct_STRIP"; then
46291 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46292 echo "${ECHO_T}$ac_ct_STRIP" >&6
46294 echo "$as_me:$LINENO: result: no" >&5
46295 echo "${ECHO_T}no" >&6
46300 STRIP
="$ac_cv_prog_STRIP"
46303 if test -n "$ac_tool_prefix"; then
46304 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46305 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46306 echo "$as_me:$LINENO: checking for $ac_word" >&5
46307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46308 if test "${ac_cv_prog_NM+set}" = set; then
46309 echo $ECHO_N "(cached) $ECHO_C" >&6
46311 if test -n "$NM"; then
46312 ac_cv_prog_NM
="$NM" # Let the user override the test.
46314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46315 for as_dir
in $PATH
46318 test -z "$as_dir" && as_dir
=.
46319 for ac_exec_ext
in '' $ac_executable_extensions; do
46320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46321 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46331 if test -n "$NM"; then
46332 echo "$as_me:$LINENO: result: $NM" >&5
46333 echo "${ECHO_T}$NM" >&6
46335 echo "$as_me:$LINENO: result: no" >&5
46336 echo "${ECHO_T}no" >&6
46340 if test -z "$ac_cv_prog_NM"; then
46342 # Extract the first word of "nm", so it can be a program name with args.
46343 set dummy nm
; ac_word
=$2
46344 echo "$as_me:$LINENO: checking for $ac_word" >&5
46345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46346 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46347 echo $ECHO_N "(cached) $ECHO_C" >&6
46349 if test -n "$ac_ct_NM"; then
46350 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46353 for as_dir
in $PATH
46356 test -z "$as_dir" && as_dir
=.
46357 for ac_exec_ext
in '' $ac_executable_extensions; do
46358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46359 ac_cv_prog_ac_ct_NM
="nm"
46360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46366 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46369 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46370 if test -n "$ac_ct_NM"; then
46371 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46372 echo "${ECHO_T}$ac_ct_NM" >&6
46374 echo "$as_me:$LINENO: result: no" >&5
46375 echo "${ECHO_T}no" >&6
46380 NM
="$ac_cv_prog_NM"
46384 case ${BAKEFILE_HOST} in
46386 INSTALL_DIR
="mkdir -p"
46388 *) INSTALL_DIR
="$INSTALL -d"
46394 case ${BAKEFILE_HOST} in
46395 *-*-cygwin* | *-*-mingw32* )
46396 LDFLAGS_GUI
="-mwindows"
46402 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46403 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46404 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46405 echo $ECHO_N "(cached) $ECHO_C" >&6
46408 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46409 egrep -s GNU
> /dev
/null
); then
46410 bakefile_cv_prog_makeisgnu
="yes"
46412 bakefile_cv_prog_makeisgnu
="no"
46416 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46417 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46419 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46436 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46437 case "${BAKEFILE_HOST}" in
46444 *-pc-os2_emx | *-pc-os2-emx )
46454 powerpc
-apple-macos* )
46463 case "$BAKEFILE_FORCE_PLATFORM" in
46484 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46485 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46486 { (exit 1); exit 1; }; }
46501 # Check whether --enable-omf or --disable-omf was given.
46502 if test "${enable_omf+set}" = set; then
46503 enableval
="$enable_omf"
46504 bk_os2_use_omf
="$enableval"
46507 case "${BAKEFILE_HOST}" in
46509 if test "x$GCC" = "xyes"; then
46510 CFLAGS
="$CFLAGS -fno-common"
46511 CXXFLAGS
="$CXXFLAGS -fno-common"
46513 if test "x$XLCC" = "xyes"; then
46514 CFLAGS
="$CFLAGS -qnocommon"
46515 CXXFLAGS
="$CXXFLAGS -qnocommon"
46519 *-pc-os2_emx | *-pc-os2-emx )
46520 if test "x$bk_os2_use_omf" = "xyes" ; then
46523 LDFLAGS
="-Zomf $LDFLAGS"
46524 CFLAGS
="-Zomf $CFLAGS"
46525 CXXFLAGS
="-Zomf $CXXFLAGS"
46533 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46539 SO_SUFFIX_MODULE
="so"
46544 DLLPREFIX_MODULE
=""
46548 case "${BAKEFILE_HOST}" in
46551 SO_SUFFIX_MODULE
="sl"
46555 SO_SUFFIX_MODULE
="a"
46559 SO_SUFFIX_MODULE
="dll"
46560 DLLIMP_SUFFIX
="dll.a"
46567 SO_SUFFIX_MODULE
="dll"
46568 DLLIMP_SUFFIX
="dll.a"
46578 *-pc-os2_emx | *-pc-os2-emx )
46580 SO_SUFFIX_MODULE
="dll"
46581 DLLIMP_SUFFIX
=$OS2_LIBEXT
46585 LIBEXT
=".$OS2_LIBEXT"
46590 SO_SUFFIX_MODULE
="bundle"
46594 if test "x$DLLIMP_SUFFIX" = "x" ; then
46595 DLLIMP_SUFFIX
="$SO_SUFFIX"
46610 if test "x$GCC" = "xyes"; then
46614 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46615 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46618 case "${BAKEFILE_HOST}" in
46620 if test "x$GCC" != "xyes"; then
46621 LDFLAGS
="$LDFLAGS -L/usr/lib"
46623 SHARED_LD_CC
="${CC} -b -o"
46624 SHARED_LD_CXX
="${CXX} -b -o"
46630 if test "x$GCC" != "xyes"; then
46631 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46632 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46633 if test "${bakefile_cv_prog_icc+set}" = set; then
46634 echo $ECHO_N "(cached) $ECHO_C" >&6
46637 cat >conftest.
$ac_ext <<_ACEOF
46640 cat confdefs.h
>>conftest.
$ac_ext
46641 cat >>conftest.
$ac_ext <<_ACEOF
46642 /* end confdefs.h. */
46648 #ifndef __INTEL_COMPILER
46656 rm -f conftest.
$ac_objext
46657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46658 (eval $ac_compile) 2>conftest.er1
46660 grep -v '^ *+' conftest.er1
>conftest.err
46662 cat conftest.err
>&5
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); } &&
46665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46667 (eval $ac_try) 2>&5
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); }; } &&
46671 { ac_try
='test -s conftest.$ac_objext'
46672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46673 (eval $ac_try) 2>&5
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); }; }; then
46677 bakefile_cv_prog_icc
=yes
46679 echo "$as_me: failed program was:" >&5
46680 sed 's/^/| /' conftest.
$ac_ext >&5
46682 bakefile_cv_prog_icc
=no
46685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46688 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46689 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46690 if test "$bakefile_cv_prog_icc" = "yes"; then
46697 if test "x$GCC" != xyes
; then
46698 SHARED_LD_CC
="${CC} -G -o"
46699 SHARED_LD_CXX
="${CXX} -G -o"
46707 cat <<EOF >shared-ld-sh
46709 #-----------------------------------------------------------------------------
46710 #-- Name: distrib/mac/shared-ld-sh
46711 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46712 #-- Author: Gilles Depeyrot
46713 #-- Copyright: (c) 2002 Gilles Depeyrot
46714 #-- Licence: any use permitted
46715 #-----------------------------------------------------------------------------
46720 linking_flag="-dynamiclib"
46721 ldargs="-r -keep_private_externs -nostdlib"
46723 while test ${D}# -gt 0; do
46730 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46731 # collect these options and values
46732 args="${D}{args} ${D}1 ${D}2"
46737 # collect these load args
46738 ldargs="${D}{ldargs} ${D}1"
46741 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46742 # collect these options
46743 args="${D}{args} ${D}1"
46746 -dynamiclib|-bundle)
46747 linking_flag="${D}1"
46751 echo "shared-ld: unhandled option '${D}1'"
46755 *.o | *.a | *.dylib)
46756 # collect object files
46757 objects="${D}{objects} ${D}1"
46761 echo "shared-ld: unhandled argument '${D}1'"
46772 # Link one module containing all the others
46774 if test ${D}{verbose} = 1; then
46775 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46777 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46781 # Link the shared library from the single module created, but only if the
46782 # previous command didn't fail:
46784 if test ${D}{status} = 0; then
46785 if test ${D}{verbose} = 1; then
46786 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46788 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46793 # Remove intermediate module
46795 rm -f master.${D}${D}.o
46800 chmod +x shared
-ld-sh
46802 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46803 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46806 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46807 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46808 if test "${bakefile_cv_gcc31+set}" = set; then
46809 echo $ECHO_N "(cached) $ECHO_C" >&6
46812 cat >conftest.
$ac_ext <<_ACEOF
46815 cat confdefs.h
>>conftest.
$ac_ext
46816 cat >>conftest.
$ac_ext <<_ACEOF
46817 /* end confdefs.h. */
46823 #if (__GNUC__ < 3) || \
46824 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46832 rm -f conftest.
$ac_objext
46833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46834 (eval $ac_compile) 2>conftest.er1
46836 grep -v '^ *+' conftest.er1
>conftest.err
46838 cat conftest.err
>&5
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); } &&
46841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46843 (eval $ac_try) 2>&5
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }; } &&
46847 { ac_try
='test -s conftest.$ac_objext'
46848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46849 (eval $ac_try) 2>&5
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); }; }; then
46854 bakefile_cv_gcc31
=yes
46857 echo "$as_me: failed program was:" >&5
46858 sed 's/^/| /' conftest.
$ac_ext >&5
46861 bakefile_cv_gcc31
=no
46865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46868 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46869 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46870 if test "$bakefile_cv_gcc31" = "no"; then
46871 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46872 SHARED_LD_CXX
="$SHARED_LD_CC"
46874 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46875 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46878 if test "x$GCC" == "xyes"; then
46879 PIC_FLAG
="-dynamic -fPIC"
46881 if test "x$XLCC" = "xyes"; then
46882 PIC_FLAG
="-dynamic -DPIC"
46887 if test "x$GCC" = "xyes"; then
46890 case "${BAKEFILE_HOST}" in
46892 LD_EXPFULL
="-Wl,-bexpfull"
46896 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46897 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46899 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46900 set dummy makeC
++SharedLib
; ac_word
=$2
46901 echo "$as_me:$LINENO: checking for $ac_word" >&5
46902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46903 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46904 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 if test -n "$AIX_CXX_LD"; then
46907 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46910 for as_dir
in $PATH
46913 test -z "$as_dir" && as_dir
=.
46914 for ac_exec_ext
in '' $ac_executable_extensions; do
46915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46916 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46923 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46926 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46927 if test -n "$AIX_CXX_LD"; then
46928 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46929 echo "${ECHO_T}$AIX_CXX_LD" >&6
46931 echo "$as_me:$LINENO: result: no" >&5
46932 echo "${ECHO_T}no" >&6
46935 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46936 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46941 SHARED_LD_CC
="${LD} -nostart -o"
46942 SHARED_LD_CXX
="${LD} -nostart -o"
46946 if test "x$GCC" != "xyes"; then
46951 *-*-cygwin* | *-*-mingw32* )
46953 SHARED_LD_CC
="\$(CC) -shared -o"
46954 SHARED_LD_CXX
="\$(CXX) -shared -o"
46958 *-pc-os2_emx | *-pc-os2-emx )
46959 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46960 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46964 cat <<EOF >dllar.sh
46967 # dllar - a tool to build both a .dll and an .a file
46968 # from a set of object (.o) files for EMX/OS2.
46970 # Written by Andrew Zabolotny, bit@freya.etu.ru
46971 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46973 # This script will accept a set of files on the command line.
46974 # All the public symbols from the .o files will be exported into
46975 # a .DEF file, then linker will be run (through gcc) against them to
46976 # build a shared library consisting of all given .o files. All libraries
46977 # (.a) will be first decompressed into component .o files then act as
46978 # described above. You can optionally give a description (-d "description")
46979 # which will be put into .DLL. To see the list of accepted options (as well
46980 # as command-line format) simply run this program without options. The .DLL
46981 # is built to be imported by name (there is no guarantee that new versions
46982 # of the library you build will have same ordinals for same symbols).
46984 # dllar is free software; you can redistribute it and/or modify
46985 # it under the terms of the GNU General Public License as published by
46986 # the Free Software Foundation; either version 2, or (at your option)
46987 # any later version.
46989 # dllar is distributed in the hope that it will be useful,
46990 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46991 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46992 # GNU General Public License for more details.
46994 # You should have received a copy of the GNU General Public License
46995 # along with dllar; see the file COPYING. If not, write to the Free
46996 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46999 # To successfuly run this program you will need:
47000 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47001 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47003 # (used to build the .dll)
47005 # (used to create .def file from .o files)
47007 # (used to create .a file from .def file)
47008 # - GNU text utilites (cat, sort, uniq)
47009 # used to process emxexp output
47010 # - GNU file utilities (mv, rm)
47012 # - lxlite (optional, see flag below)
47013 # (used for general .dll cleanup)
47020 # basnam, variant of basename, which does _not_ remove the path, _iff_
47021 # second argument (suffix to remove) is given
47025 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47028 echo ${D}1 | sed 's/'${D}2'${D}//'
47031 echo "error in basnam ${D}*"
47037 # Cleanup temporary files and output
47040 for i in ${D}inputFiles ; do
47043 rm -rf \`basnam ${D}i !\`
47050 # Kill result in case of failure as there is just to many stupid make/nmake
47051 # things out there which doesn't do this.
47052 if [ ${D}# -eq 0 ]; then
47053 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47057 # Print usage and exit script with rc=1.
47059 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47060 echo ' [-name-mangler-script script.sh]'
47061 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47062 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47063 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47064 echo ' [*.o] [*.a]'
47065 echo '*> "output_file" should have no extension.'
47066 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47067 echo ' The import library name is derived from this and is set to "name".a,'
47068 echo ' unless overridden by -import'
47069 echo '*> "importlib_name" should have no extension.'
47070 echo ' If it has the .o, or .a extension, it is automatically removed.'
47071 echo ' This name is used as the import library name and may be longer and'
47072 echo ' more descriptive than the DLL name which has to follow the old '
47073 echo ' 8.3 convention of FAT.'
47074 echo '*> "script.sh may be given to override the output_file name by a'
47075 echo ' different name. It is mainly useful if the regular make process'
47076 echo ' of some package does not take into account OS/2 restriction of'
47077 echo ' DLL name lengths. It takes the importlib name as input and is'
47078 echo ' supposed to procude a shorter name as output. The script should'
47079 echo ' expect to get importlib_name without extension and should produce'
47080 echo ' a (max.) 8 letter name without extension.'
47081 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47082 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47083 echo ' These flags will be put at the start of GCC command line.'
47084 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47085 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47086 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47087 echo ' If the last character of a symbol is "*", all symbols beginning'
47088 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47089 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47090 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47091 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47092 echo ' C runtime DLLs.'
47093 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47094 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47095 echo ' unchanged to GCC at the end of command line.'
47096 echo '*> If you create a DLL from a library and you do not specify -o,'
47097 echo ' the basename for DLL and import library will be set to library name,'
47098 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47099 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47100 echo ' library will be renamed into gcc_s.a.'
47103 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47104 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47109 # Execute a command.
47110 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47111 # @Uses Whatever CleanUp() uses.
47117 if [ ${D}rcCmd -ne 0 ]; then
47118 echo "command failed, exit code="${D}rcCmd
47133 CFLAGS="-s -Zcrtdll"
47135 EXPORT_BY_ORDINALS=0
47140 case ${D}curDirS in
47144 curDirS=${D}{curDirS}"/"
47147 # Parse commandline
47150 while [ ${D}1 ]; do
47153 EXPORT_BY_ORDINALS=1;
47163 -name-mangler-script)
47184 exclude_symbols=${D}{exclude_symbols}${D}1" "
47188 library_flags=${D}{library_flags}${D}1" "
47207 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47210 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47211 if [ ${D}omfLinking -eq 1 ]; then
47212 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47214 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47219 if [ ${D}libsToLink -ne 0 ]; then
47220 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47222 for file in ${D}1 ; do
47223 if [ -f ${D}file ]; then
47224 inputFiles="${D}{inputFiles} ${D}file"
47228 if [ ${D}found -eq 0 ]; then
47229 echo "ERROR: No file(s) found: "${D}1
47236 done # iterate cmdline words
47239 if [ -z "${D}inputFiles" ]; then
47240 echo "dllar: no input files"
47244 # Now extract all .o files from .a files
47246 for file in ${D}inputFiles ; do
47257 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47262 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47264 if [ ${D}? -ne 0 ]; then
47265 echo "Failed to create subdirectory ./${D}dirname"
47269 # Append '!' to indicate archive
47270 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47271 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47274 for subfile in ${D}dirname/*.o* ; do
47275 if [ -f ${D}subfile ]; then
47277 if [ -s ${D}subfile ]; then
47278 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47279 newInputFiles="${D}newInputFiles ${D}subfile"
47283 if [ ${D}found -eq 0 ]; then
47284 echo "WARNING: there are no files in archive \\'${D}file\\'"
47288 newInputFiles="${D}{newInputFiles} ${D}file"
47292 inputFiles="${D}newInputFiles"
47294 # Output filename(s).
47296 if [ -z ${D}outFile ]; then
47298 set outFile ${D}inputFiles; outFile=${D}2
47301 # If it is an archive, remove the '!' and the '_%' suffixes
47302 case ${D}outFile in
47304 outFile=\`basnam ${D}outFile _%!\`
47309 case ${D}outFile in
47311 outFile=\`basnam ${D}outFile .dll\`
47314 outFile=\`basnam ${D}outFile .DLL\`
47317 outFile=\`basnam ${D}outFile .o\`
47320 outFile=\`basnam ${D}outFile .obj\`
47323 outFile=\`basnam ${D}outFile .a\`
47326 outFile=\`basnam ${D}outFile .lib\`
47331 case ${D}outimpFile in
47333 outimpFile=\`basnam ${D}outimpFile .a\`
47336 outimpFile=\`basnam ${D}outimpFile .lib\`
47341 if [ -z ${D}outimpFile ]; then
47342 outimpFile=${D}outFile
47344 defFile="${D}{outFile}.def"
47345 arcFile="${D}{outimpFile}.a"
47346 arcFile2="${D}{outimpFile}.lib"
47348 #create ${D}dllFile as something matching 8.3 restrictions,
47349 if [ -z ${D}renameScript ] ; then
47350 dllFile="${D}outFile"
47352 dllFile=\`${D}renameScript ${D}outimpFile\`
47355 if [ ${D}do_backup -ne 0 ] ; then
47356 if [ -f ${D}arcFile ] ; then
47357 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47359 if [ -f ${D}arcFile2 ] ; then
47360 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47364 # Extract public symbols from all the object files.
47365 tmpdefFile=${D}{defFile}_%
47366 rm -f ${D}tmpdefFile
47367 for file in ${D}inputFiles ; do
47372 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47377 # Create the def file.
47379 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47380 dllFile="${D}{dllFile}.dll"
47381 if [ ! -z ${D}description ]; then
47382 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47384 echo "EXPORTS" >> ${D}defFile
47386 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47387 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47389 # Checks if the export is ok or not.
47390 for word in ${D}exclude_symbols; do
47391 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47392 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47396 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47397 sed "=" < ${D}tmpdefFile | \\
47401 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47403 ' > ${D}{tmpdefFile}%
47404 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47406 rm -f ${D}{tmpdefFile}%
47408 cat ${D}tmpdefFile >> ${D}defFile
47409 rm -f ${D}tmpdefFile
47411 # Do linking, create implib, and apply lxlite.
47413 for file in ${D}inputFiles ; do
47418 gccCmdl="${D}gccCmdl ${D}file"
47422 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47423 touch "${D}{outFile}.dll"
47425 doCommand "emximp -o ${D}arcFile ${D}defFile"
47426 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47428 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47431 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47433 doCommand "emxomf -s -l ${D}arcFile"
47443 powerpc
-apple-macos* | \
47444 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47455 if test "x$PIC_FLAG" != "x" ; then
47456 PIC_FLAG
="$PIC_FLAG -DPIC"
47459 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47460 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47462 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47463 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47482 case "${BAKEFILE_HOST}" in
47483 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47484 SONAME_FLAG
="-Wl,-soname,"
47518 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47519 if test "${enable_dependency_tracking+set}" = set; then
47520 enableval
="$enable_dependency_tracking"
47521 bk_use_trackdeps
="$enableval"
47524 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47525 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47527 if test "x$bk_use_trackdeps" = "xno" ; then
47529 echo "$as_me:$LINENO: result: disabled" >&5
47530 echo "${ECHO_T}disabled" >&6
47534 if test "x$GCC" = "xyes"; then
47536 case "${BAKEFILE_HOST}" in
47538 DEPSFLAG
="-no-cpp-precomp -MMD"
47544 echo "$as_me:$LINENO: result: gcc" >&5
47545 echo "${ECHO_T}gcc" >&6
47546 elif test "x$MWCC" = "xyes"; then
47549 echo "$as_me:$LINENO: result: mwcc" >&5
47550 echo "${ECHO_T}mwcc" >&6
47551 elif test "x$SUNCC" = "xyes"; then
47554 echo "$as_me:$LINENO: result: Sun cc" >&5
47555 echo "${ECHO_T}Sun cc" >&6
47556 elif test "x$SGICC" = "xyes"; then
47559 echo "$as_me:$LINENO: result: SGI cc" >&5
47560 echo "${ECHO_T}SGI cc" >&6
47561 elif test "x$HPCC" = "xyes"; then
47564 echo "$as_me:$LINENO: result: HP cc" >&5
47565 echo "${ECHO_T}HP cc" >&6
47566 elif test "x$COMPAQCC" = "xyes"; then
47569 echo "$as_me:$LINENO: result: Compaq cc" >&5
47570 echo "${ECHO_T}Compaq cc" >&6
47573 echo "$as_me:$LINENO: result: none" >&5
47574 echo "${ECHO_T}none" >&6
47577 if test $DEPS_TRACKING = 1 ; then
47583 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47584 # script. It is used to track C/C++ files dependencies in portable way.
47586 # Permission is given to use this file in any way.
47588 DEPSMODE=${DEPSMODE}
47590 DEPSFLAG="${DEPSFLAG}"
47592 mkdir -p ${D}DEPSDIR
47594 if test ${D}DEPSMODE = gcc ; then
47595 ${D}* ${D}{DEPSFLAG}
47597 if test ${D}{status} != 0 ; then
47600 # move created file to the location we want it in:
47601 while test ${D}# -gt 0; do
47615 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47616 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47617 if test -f ${D}depfile ; then
47618 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47621 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47622 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47623 if test ! -f ${D}depfile ; then
47624 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47625 depfile="${D}objfile.d"
47627 if test -f ${D}depfile ; then
47628 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47633 elif test ${D}DEPSMODE = mwcc ; then
47634 ${D}* || exit ${D}?
47635 # Run mwcc again with -MM and redirect into the dep file we want
47636 # NOTE: We can't use shift here because we need ${D}* to be valid
47638 for arg in ${D}* ; do
47639 if test "${D}prevarg" = "-o"; then
47652 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47654 elif test ${D}DEPSMODE = unixcc; then
47655 ${D}* || exit ${D}?
47656 # Run compiler again with deps flag and redirect into the dep file.
47657 # It doesn't work if the '-o FILE' option is used, but without it the
47658 # dependency file will contain the wrong name for the object. So it is
47659 # removed from the command line, and the dep file is fixed with sed.
47661 while test ${D}# -gt 0; do
47668 eval arg${D}#=\\${D}1
47669 cmd="${D}cmd \\${D}arg${D}#"
47674 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47689 case ${BAKEFILE_HOST} in
47690 *-*-cygwin* | *-*-mingw32* )
47691 if test -n "$ac_tool_prefix"; then
47692 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47693 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47694 echo "$as_me:$LINENO: checking for $ac_word" >&5
47695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47696 if test "${ac_cv_prog_WINDRES+set}" = set; then
47697 echo $ECHO_N "(cached) $ECHO_C" >&6
47699 if test -n "$WINDRES"; then
47700 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47703 for as_dir
in $PATH
47706 test -z "$as_dir" && as_dir
=.
47707 for ac_exec_ext
in '' $ac_executable_extensions; do
47708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47709 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47718 WINDRES
=$ac_cv_prog_WINDRES
47719 if test -n "$WINDRES"; then
47720 echo "$as_me:$LINENO: result: $WINDRES" >&5
47721 echo "${ECHO_T}$WINDRES" >&6
47723 echo "$as_me:$LINENO: result: no" >&5
47724 echo "${ECHO_T}no" >&6
47728 if test -z "$ac_cv_prog_WINDRES"; then
47729 ac_ct_WINDRES
=$WINDRES
47730 # Extract the first word of "windres", so it can be a program name with args.
47731 set dummy windres
; ac_word
=$2
47732 echo "$as_me:$LINENO: checking for $ac_word" >&5
47733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47734 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47735 echo $ECHO_N "(cached) $ECHO_C" >&6
47737 if test -n "$ac_ct_WINDRES"; then
47738 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47741 for as_dir
in $PATH
47744 test -z "$as_dir" && as_dir
=.
47745 for ac_exec_ext
in '' $ac_executable_extensions; do
47746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47747 ac_cv_prog_ac_ct_WINDRES
="windres"
47748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47756 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47757 if test -n "$ac_ct_WINDRES"; then
47758 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47759 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47761 echo "$as_me:$LINENO: result: no" >&5
47762 echo "${ECHO_T}no" >&6
47765 WINDRES
=$ac_ct_WINDRES
47767 WINDRES
="$ac_cv_prog_WINDRES"
47772 *-*-darwin* | powerpc
-apple-macos* )
47773 # Extract the first word of "Rez", so it can be a program name with args.
47774 set dummy Rez
; ac_word
=$2
47775 echo "$as_me:$LINENO: checking for $ac_word" >&5
47776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47777 if test "${ac_cv_prog_REZ+set}" = set; then
47778 echo $ECHO_N "(cached) $ECHO_C" >&6
47780 if test -n "$REZ"; then
47781 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47784 for as_dir
in $PATH
47787 test -z "$as_dir" && as_dir
=.
47788 for ac_exec_ext
in '' $ac_executable_extensions; do
47789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47790 ac_cv_prog_REZ
="Rez"
47791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47797 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47800 REZ
=$ac_cv_prog_REZ
47801 if test -n "$REZ"; then
47802 echo "$as_me:$LINENO: result: $REZ" >&5
47803 echo "${ECHO_T}$REZ" >&6
47805 echo "$as_me:$LINENO: result: no" >&5
47806 echo "${ECHO_T}no" >&6
47809 # Extract the first word of "SetFile", so it can be a program name with args.
47810 set dummy SetFile
; ac_word
=$2
47811 echo "$as_me:$LINENO: checking for $ac_word" >&5
47812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47813 if test "${ac_cv_prog_SETFILE+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47816 if test -n "$SETFILE"; then
47817 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47820 for as_dir
in $PATH
47823 test -z "$as_dir" && as_dir
=.
47824 for ac_exec_ext
in '' $ac_executable_extensions; do
47825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47826 ac_cv_prog_SETFILE
="SetFile"
47827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47833 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47836 SETFILE
=$ac_cv_prog_SETFILE
47837 if test -n "$SETFILE"; then
47838 echo "$as_me:$LINENO: result: $SETFILE" >&5
47839 echo "${ECHO_T}$SETFILE" >&6
47841 echo "$as_me:$LINENO: result: no" >&5
47842 echo "${ECHO_T}no" >&6
47853 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47856 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47860 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47861 if test "${enable_precomp_headers+set}" = set; then
47862 enableval
="$enable_precomp_headers"
47863 bk_use_pch
="$enableval"
47870 case ${BAKEFILE_HOST} in
47876 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47877 if test "x$GCC" = "xyes"; then
47878 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47879 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47880 cat >conftest.
$ac_ext <<_ACEOF
47883 cat confdefs.h
>>conftest.
$ac_ext
47884 cat >>conftest.
$ac_ext <<_ACEOF
47885 /* end confdefs.h. */
47891 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47892 There is no PCH support
47895 There is no PCH support
47897 #if (__GNUC__ == 3) && \
47898 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47899 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47900 ( defined(__INTEL_COMPILER) )
47901 There is no PCH support
47908 rm -f conftest.
$ac_objext
47909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47910 (eval $ac_compile) 2>conftest.er1
47912 grep -v '^ *+' conftest.er1
>conftest.err
47914 cat conftest.err
>&5
47915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47916 (exit $ac_status); } &&
47917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47919 (eval $ac_try) 2>&5
47921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47922 (exit $ac_status); }; } &&
47923 { ac_try
='test -s conftest.$ac_objext'
47924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47925 (eval $ac_try) 2>&5
47927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47928 (exit $ac_status); }; }; then
47930 echo "$as_me:$LINENO: result: yes" >&5
47931 echo "${ECHO_T}yes" >&6
47935 echo "$as_me: failed program was:" >&5
47936 sed 's/^/| /' conftest.
$ac_ext >&5
47939 cat >conftest.
$ac_ext <<_ACEOF
47942 cat confdefs.h
>>conftest.
$ac_ext
47943 cat >>conftest.
$ac_ext <<_ACEOF
47944 /* end confdefs.h. */
47950 #if !defined(__INTEL_COMPILER) || \
47951 (__INTEL_COMPILER < 800)
47952 There is no PCH support
47959 rm -f conftest.
$ac_objext
47960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47961 (eval $ac_compile) 2>conftest.er1
47963 grep -v '^ *+' conftest.er1
>conftest.err
47965 cat conftest.err
>&5
47966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47967 (exit $ac_status); } &&
47968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47970 (eval $ac_try) 2>&5
47972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47973 (exit $ac_status); }; } &&
47974 { ac_try
='test -s conftest.$ac_objext'
47975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47976 (eval $ac_try) 2>&5
47978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47979 (exit $ac_status); }; }; then
47981 echo "$as_me:$LINENO: result: yes" >&5
47982 echo "${ECHO_T}yes" >&6
47986 echo "$as_me: failed program was:" >&5
47987 sed 's/^/| /' conftest.
$ac_ext >&5
47990 echo "$as_me:$LINENO: result: no" >&5
47991 echo "${ECHO_T}no" >&6
47994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47998 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48002 cat <<EOF >bk-make-pch
48005 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48006 # script. It is used to generated precompiled headers.
48008 # Permission is given to use this file in any way.
48018 while test ${D}{#} -gt 0; do
48022 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48023 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48024 headerfile="${D}{incdir}/${D}{header}"
48027 -use-pch|-use_pch )
48032 if test ${D}add_to_cmdline = 1 ; then
48033 compiler="${D}{compiler} ${D}{1}"
48038 if test "x${D}{headerfile}" = "x" ; then
48039 echo "error: can't find header ${D}{header} in include paths" >&2
48041 if test -f ${D}{outfile} ; then
48042 rm -f ${D}{outfile}
48044 mkdir -p \`dirname ${D}{outfile}\`
48046 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48048 if test "x${GCC_PCH}" = "x1" ; then
48049 # can do this because gcc is >= 3.4:
48050 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48051 elif test "x${ICC_PCH}" = "x1" ; then
48052 filename=pch_gen-${D}${D}
48053 file=${D}{filename}.c
48054 dfile=${D}{filename}.d
48055 cat > ${D}file <<EOT
48056 #include "${D}header"
48058 # using -MF icc complains about differing command lines in creation/use
48059 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48060 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48061 rm -f ${D}file ${D}dfile ${D}{filename}.o
48067 chmod +x bk
-make-pch
48075 COND_BUILD_DEBUG
="#"
48076 if test "x$BUILD" = "xdebug" ; then
48077 COND_BUILD_DEBUG
=""
48080 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48081 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48082 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48085 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48086 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48087 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48090 COND_BUILD_DEBUG_UNICODE_0
="#"
48091 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48092 COND_BUILD_DEBUG_UNICODE_0
=""
48095 COND_BUILD_DEBUG_UNICODE_1
="#"
48096 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48097 COND_BUILD_DEBUG_UNICODE_1
=""
48100 COND_BUILD_RELEASE
="#"
48101 if test "x$BUILD" = "xrelease" ; then
48102 COND_BUILD_RELEASE
=""
48105 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48106 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48107 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48110 COND_BUILD_RELEASE_UNICODE_0
="#"
48111 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48112 COND_BUILD_RELEASE_UNICODE_0
=""
48115 COND_BUILD_RELEASE_UNICODE_1
="#"
48116 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48117 COND_BUILD_RELEASE_UNICODE_1
=""
48120 COND_DEBUG_FLAG_1
="#"
48121 if test "x$DEBUG_FLAG" = "x1" ; then
48122 COND_DEBUG_FLAG_1
=""
48125 COND_DEBUG_INFO_0
="#"
48126 if test "x$DEBUG_INFO" = "x0" ; then
48127 COND_DEBUG_INFO_0
=""
48130 COND_DEBUG_INFO_1
="#"
48131 if test "x$DEBUG_INFO" = "x1" ; then
48132 COND_DEBUG_INFO_1
=""
48135 COND_DEPS_TRACKING_0
="#"
48136 if test "x$DEPS_TRACKING" = "x0" ; then
48137 COND_DEPS_TRACKING_0
=""
48140 COND_DEPS_TRACKING_1
="#"
48141 if test "x$DEPS_TRACKING" = "x1" ; then
48142 COND_DEPS_TRACKING_1
=""
48146 if test "x$GCC_PCH" = "x1" ; then
48151 if test "x$ICC_PCH" = "x1" ; then
48155 COND_MONOLITHIC_0
="#"
48156 if test "x$MONOLITHIC" = "x0" ; then
48157 COND_MONOLITHIC_0
=""
48160 COND_MONOLITHIC_0_SHARED_0
="#"
48161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48162 COND_MONOLITHIC_0_SHARED_0
=""
48165 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48167 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48170 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48172 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48175 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48176 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48177 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48180 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48181 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48182 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48185 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48187 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48190 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48191 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48192 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48195 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48196 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48197 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48200 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48202 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48205 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48207 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48210 COND_MONOLITHIC_0_SHARED_1
="#"
48211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48212 COND_MONOLITHIC_0_SHARED_1
=""
48215 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48217 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48225 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48227 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48230 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48235 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48237 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48240 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48242 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48245 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48247 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48250 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48252 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48255 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48257 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48260 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48261 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48262 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48265 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48266 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48267 COND_MONOLITHIC_0_USE_ODBC_1
=""
48270 COND_MONOLITHIC_1
="#"
48271 if test "x$MONOLITHIC" = "x1" ; then
48272 COND_MONOLITHIC_1
=""
48275 COND_MONOLITHIC_1_SHARED_0
="#"
48276 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48277 COND_MONOLITHIC_1_SHARED_0
=""
48280 COND_MONOLITHIC_1_SHARED_1
="#"
48281 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48282 COND_MONOLITHIC_1_SHARED_1
=""
48285 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48286 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48287 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48290 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48291 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48292 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48295 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48296 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48297 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48300 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48301 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48302 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48305 COND_PLATFORM_MACOSX_1
="#"
48306 if test "x$PLATFORM_MACOSX" = "x1" ; then
48307 COND_PLATFORM_MACOSX_1
=""
48310 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48311 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48312 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48315 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48316 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48317 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48320 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48321 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48322 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48325 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48326 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48327 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48330 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48331 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48332 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48335 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48336 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48337 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48340 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48341 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48342 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48345 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48346 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48347 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48350 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48351 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48352 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48355 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48356 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48357 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48360 COND_PLATFORM_MACOS_1
="#"
48361 if test "x$PLATFORM_MACOS" = "x1" ; then
48362 COND_PLATFORM_MACOS_1
=""
48365 COND_PLATFORM_MAC_1
="#"
48366 if test "x$PLATFORM_MAC" = "x1" ; then
48367 COND_PLATFORM_MAC_1
=""
48370 COND_PLATFORM_MSDOS_0
="#"
48371 if test "x$PLATFORM_MSDOS" = "x0" ; then
48372 COND_PLATFORM_MSDOS_0
=""
48375 COND_PLATFORM_MSDOS_1
="#"
48376 if test "x$PLATFORM_MSDOS" = "x1" ; then
48377 COND_PLATFORM_MSDOS_1
=""
48380 COND_PLATFORM_OS2_1
="#"
48381 if test "x$PLATFORM_OS2" = "x1" ; then
48382 COND_PLATFORM_OS2_1
=""
48385 COND_PLATFORM_UNIX_0
="#"
48386 if test "x$PLATFORM_UNIX" = "x0" ; then
48387 COND_PLATFORM_UNIX_0
=""
48390 COND_PLATFORM_UNIX_1
="#"
48391 if test "x$PLATFORM_UNIX" = "x1" ; then
48392 COND_PLATFORM_UNIX_1
=""
48395 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48396 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48397 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48400 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48401 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48402 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48405 COND_PLATFORM_WIN32_0
="#"
48406 if test "x$PLATFORM_WIN32" = "x0" ; then
48407 COND_PLATFORM_WIN32_0
=""
48410 COND_PLATFORM_WIN32_1
="#"
48411 if test "x$PLATFORM_WIN32" = "x1" ; then
48412 COND_PLATFORM_WIN32_1
=""
48416 if test "x$SHARED" = "x0" ; then
48420 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48421 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48422 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48425 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48426 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48427 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48430 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48431 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48432 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48435 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48436 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48437 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48440 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48441 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48442 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48445 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48446 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48447 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48450 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48451 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48452 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48455 COND_SHARED_0_USE_XRC_1
="#"
48456 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48457 COND_SHARED_0_USE_XRC_1
=""
48460 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48461 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48462 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48465 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48466 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48467 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48470 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48471 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48472 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48475 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48476 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48477 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48481 if test "x$SHARED" = "x1" ; then
48485 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48486 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48487 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48490 COND_SHARED_1_USE_XRC_1
="#"
48491 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48492 COND_SHARED_1_USE_XRC_1
=""
48496 if test "x$TOOLKIT" = "x" ; then
48500 COND_TOOLKIT_COCOA
="#"
48501 if test "x$TOOLKIT" = "xCOCOA" ; then
48502 COND_TOOLKIT_COCOA
=""
48505 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48506 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48507 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48510 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48511 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48512 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48515 COND_TOOLKIT_GTK
="#"
48516 if test "x$TOOLKIT" = "xGTK" ; then
48517 COND_TOOLKIT_GTK
=""
48520 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48521 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48522 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48525 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48526 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48527 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48530 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48531 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48532 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48535 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48536 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48537 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48540 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48541 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48542 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48545 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48546 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48547 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48550 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48551 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48552 COND_TOOLKIT_GTK_USE_GUI_1
=""
48555 COND_TOOLKIT_MAC
="#"
48556 if test "x$TOOLKIT" = "xMAC" ; then
48557 COND_TOOLKIT_MAC
=""
48560 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48561 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48562 COND_TOOLKIT_MAC_USE_GUI_1
=""
48565 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48566 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48567 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48570 COND_TOOLKIT_MGL
="#"
48571 if test "x$TOOLKIT" = "xMGL" ; then
48572 COND_TOOLKIT_MGL
=""
48575 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48576 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48577 COND_TOOLKIT_MGL_USE_GUI_1
=""
48580 COND_TOOLKIT_MOTIF
="#"
48581 if test "x$TOOLKIT" = "xMOTIF" ; then
48582 COND_TOOLKIT_MOTIF
=""
48585 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48586 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48587 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48590 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48591 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48592 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48595 COND_TOOLKIT_MSW
="#"
48596 if test "x$TOOLKIT" = "xMSW" ; then
48597 COND_TOOLKIT_MSW
=""
48600 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48601 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48602 COND_TOOLKIT_MSW_USE_GUI_1
=""
48605 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48606 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48607 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48610 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48611 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48612 COND_TOOLKIT_MSW_WXUNIV_0
=""
48615 COND_TOOLKIT_PM
="#"
48616 if test "x$TOOLKIT" = "xPM" ; then
48620 COND_TOOLKIT_PM_USE_GUI_1
="#"
48621 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48622 COND_TOOLKIT_PM_USE_GUI_1
=""
48625 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48626 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48627 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48630 COND_TOOLKIT_WINCE
="#"
48631 if test "x$TOOLKIT" = "xWINCE" ; then
48632 COND_TOOLKIT_WINCE
=""
48635 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48636 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48637 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48640 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48641 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48642 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48645 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48646 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48647 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48650 COND_TOOLKIT_X11
="#"
48651 if test "x$TOOLKIT" = "xX11" ; then
48652 COND_TOOLKIT_X11
=""
48655 COND_TOOLKIT_X11_USE_GUI_1
="#"
48656 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48657 COND_TOOLKIT_X11_USE_GUI_1
=""
48661 if test "x$UNICODE" = "x1" ; then
48665 COND_USE_EXCEPTIONS_0
="#"
48666 if test "x$USE_EXCEPTIONS" = "x0" ; then
48667 COND_USE_EXCEPTIONS_0
=""
48670 COND_USE_EXCEPTIONS_1
="#"
48671 if test "x$USE_EXCEPTIONS" = "x1" ; then
48672 COND_USE_EXCEPTIONS_1
=""
48676 if test "x$USE_GUI" = "x0" ; then
48681 if test "x$USE_GUI" = "x1" ; then
48685 COND_USE_GUI_1_WXUNIV_0
="#"
48686 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48687 COND_USE_GUI_1_WXUNIV_0
=""
48690 COND_USE_GUI_1_WXUNIV_1
="#"
48691 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48692 COND_USE_GUI_1_WXUNIV_1
=""
48695 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48696 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48697 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48700 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48701 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48702 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48705 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48706 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48707 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48710 COND_USE_ODBC_1
="#"
48711 if test "x$USE_ODBC" = "x1" ; then
48715 COND_USE_OPENGL_1
="#"
48716 if test "x$USE_OPENGL" = "x1" ; then
48717 COND_USE_OPENGL_1
=""
48721 if test "x$USE_PCH" = "x1" ; then
48725 COND_USE_PLUGINS_0
="#"
48726 if test "x$USE_PLUGINS" = "x0" ; then
48727 COND_USE_PLUGINS_0
=""
48730 COND_USE_RTTI_0
="#"
48731 if test "x$USE_RTTI" = "x0" ; then
48735 COND_USE_RTTI_1
="#"
48736 if test "x$USE_RTTI" = "x1" ; then
48740 COND_USE_SOSYMLINKS_1
="#"
48741 if test "x$USE_SOSYMLINKS" = "x1" ; then
48742 COND_USE_SOSYMLINKS_1
=""
48745 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48746 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48747 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48750 COND_USE_SOVERLINUX_1
="#"
48751 if test "x$USE_SOVERLINUX" = "x1" ; then
48752 COND_USE_SOVERLINUX_1
=""
48755 COND_USE_SOVERSION_0
="#"
48756 if test "x$USE_SOVERSION" = "x0" ; then
48757 COND_USE_SOVERSION_0
=""
48760 COND_USE_SOVERSOLARIS_1
="#"
48761 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48762 COND_USE_SOVERSOLARIS_1
=""
48765 COND_USE_THREADS_0
="#"
48766 if test "x$USE_THREADS" = "x0" ; then
48767 COND_USE_THREADS_0
=""
48770 COND_USE_THREADS_1
="#"
48771 if test "x$USE_THREADS" = "x1" ; then
48772 COND_USE_THREADS_1
=""
48776 if test "x$USE_XRC" = "x1" ; then
48780 COND_WINDOWS_IMPLIB_1
="#"
48781 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48782 COND_WINDOWS_IMPLIB_1
=""
48785 COND_WITH_PLUGIN_SDL_1
="#"
48786 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48787 COND_WITH_PLUGIN_SDL_1
=""
48791 if test "x$WXUNIV" = "x0" ; then
48796 if test "x$WXUNIV" = "x1" ; then
48800 COND_WXUSE_EXPAT_BUILTIN
="#"
48801 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48802 COND_WXUSE_EXPAT_BUILTIN
=""
48805 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48806 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48807 COND_WXUSE_LIBJPEG_BUILTIN
=""
48810 COND_WXUSE_LIBPNG_BUILTIN
="#"
48811 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48812 COND_WXUSE_LIBPNG_BUILTIN
=""
48815 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48816 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48817 COND_WXUSE_LIBTIFF_BUILTIN
=""
48820 COND_WXUSE_ODBC_BUILTIN
="#"
48821 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48822 COND_WXUSE_ODBC_BUILTIN
=""
48825 COND_WXUSE_REGEX_BUILTIN
="#"
48826 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48827 COND_WXUSE_REGEX_BUILTIN
=""
48830 COND_WXUSE_ZLIB_BUILTIN
="#"
48831 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48832 COND_WXUSE_ZLIB_BUILTIN
=""
48837 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48838 { { 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
48839 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;}
48840 { (exit 1); exit 1; }; }
48843 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48844 { { 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
48845 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;}
48846 { (exit 1); exit 1; }; }
48851 if test "$wxUSE_MAC" = 1 ; then
48852 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48853 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48859 if test "$wxUSE_SHARED" = "yes"; then
48861 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48862 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48865 *-pc-os2_emx | *-pc-os2-emx )
48866 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48867 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48868 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48869 cp -p ${srcdir}/src
/os
2/dllar.sh .
48874 EXE_LINKER
="$CXX -o"
48877 if test "$wxUSE_OMF" = "yes"; then
48879 *-pc-os2_emx | *-pc-os2-emx )
48880 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48881 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48882 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48887 if test $GCC_PCH = 1 ; then
48888 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48891 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48893 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48955 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48956 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48957 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48958 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48959 echo $ECHO_N "(cached) $ECHO_C" >&6
48961 cat >conftest.
make <<\_ACEOF
48963 @
echo 'ac_maketemp="$(MAKE)"'
48965 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48966 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48967 if test -n "$ac_maketemp"; then
48968 eval ac_cv_prog_make_
${ac_make}_set
=yes
48970 eval ac_cv_prog_make_
${ac_make}_set
=no
48972 rm -f conftest.
make
48974 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48975 echo "$as_me:$LINENO: result: yes" >&5
48976 echo "${ECHO_T}yes" >&6
48979 echo "$as_me:$LINENO: result: no" >&5
48980 echo "${ECHO_T}no" >&6
48981 SET_MAKE
="MAKE=${MAKE-make}"
48986 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48989 if test "$USE_WIN32" = 1; then
48990 ac_config_commands
="$ac_config_commands
48996 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48999 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49002 ac_config_files
="$ac_config_files version-script Makefile"
49005 ac_config_commands
="$ac_config_commands wx-config"
49009 if test "$wxWITH_SUBDIRS" != "no"; then
49010 if test "$wxUSE_GUI" = "yes"; then
49011 SUBDIRS
="samples demos utils contrib"
49012 else SUBDIRS
="samples utils"
49017 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49018 if test "${with_cppunit_prefix+set}" = set; then
49019 withval
="$with_cppunit_prefix"
49020 cppunit_config_prefix
="$withval"
49022 cppunit_config_prefix
=""
49025 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49026 if test "${with_cppunit_exec_prefix+set}" = set; then
49027 withval
="$with_cppunit_exec_prefix"
49028 cppunit_config_exec_prefix
="$withval"
49030 cppunit_config_exec_prefix
=""
49033 if test x
$cppunit_config_exec_prefix != x
; then
49034 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49035 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49036 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49039 if test x
$cppunit_config_prefix != x
; then
49040 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49041 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49042 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49046 # Extract the first word of "cppunit-config", so it can be a program name with args.
49047 set dummy cppunit
-config; ac_word
=$2
49048 echo "$as_me:$LINENO: checking for $ac_word" >&5
49049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49050 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49051 echo $ECHO_N "(cached) $ECHO_C" >&6
49053 case $CPPUNIT_CONFIG in
49055 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49059 for as_dir
in $PATH
49062 test -z "$as_dir" && as_dir
=.
49063 for ac_exec_ext
in '' $ac_executable_extensions; do
49064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49065 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49072 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49076 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49078 if test -n "$CPPUNIT_CONFIG"; then
49079 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49080 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49082 echo "$as_me:$LINENO: result: no" >&5
49083 echo "${ECHO_T}no" >&6
49086 cppunit_version_min
=1.8.0
49088 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49089 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49091 if test "$CPPUNIT_CONFIG" = "no" ; then
49092 echo "$as_me:$LINENO: result: no" >&5
49093 echo "${ECHO_T}no" >&6
49096 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49097 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49098 cppunit_version
=`$CPPUNIT_CONFIG --version`
49100 cppunit_major_version
=`echo $cppunit_version | \
49101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49102 cppunit_minor_version
=`echo $cppunit_version | \
49103 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49104 cppunit_micro_version
=`echo $cppunit_version | \
49105 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49107 cppunit_major_min
=`echo $cppunit_version_min | \
49108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49109 cppunit_minor_min
=`echo $cppunit_version_min | \
49110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49111 cppunit_micro_min
=`echo $cppunit_version_min | \
49112 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49114 cppunit_version_proper
=`expr \
49115 $cppunit_major_version \> $cppunit_major_min \| \
49116 $cppunit_major_version \= $cppunit_major_min \& \
49117 $cppunit_minor_version \> $cppunit_minor_min \| \
49118 $cppunit_major_version \= $cppunit_major_min \& \
49119 $cppunit_minor_version \= $cppunit_minor_min \& \
49120 $cppunit_micro_version \>= $cppunit_micro_min `
49122 if test "$cppunit_version_proper" = "1" ; then
49123 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49124 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49126 echo "$as_me:$LINENO: result: no" >&5
49127 echo "${ECHO_T}no" >&6
49132 if test "x$no_cppunit" = x
; then
49133 SUBDIRS
="$SUBDIRS tests"
49144 for subdir
in `echo $SUBDIRS`; do
49145 if test -d ${srcdir}/${subdir} ; then
49146 if test "$wxUSE_GUI" = "yes"; then
49147 if test ${subdir} = "samples"; then
49148 makefiles
="samples/Makefile.in $makefiles"
49149 for sample
in `echo $SAMPLES_SUBDIRS`; do
49150 if test -d $srcdir/samples
/$sample; then
49151 makefiles
="samples/$sample/Makefile.in $makefiles"
49155 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49156 eval "disabled=\$$disabled_var"
49157 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49158 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49160 else if test ${subdir} = "samples"; then
49161 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49162 elif test ${subdir} = "utils"; then
49164 for util
in HelpGen tex2rtf
; do
49165 if test -d $srcdir/utils
/$util ; then
49166 makefiles
="utils/$util/Makefile.in \
49167 utils/$util/src/Makefile.in \
49171 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49175 for mkin
in $makefiles ; do
49176 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49177 ac_config_files
="$ac_config_files $mk"
49183 cat >confcache
<<\_ACEOF
49184 # This file is a shell script that caches the results of configure
49185 # tests run on this system so they can be shared between configure
49186 # scripts and configure runs, see configure's option --config-cache.
49187 # It is not useful on other systems. If it contains results you don't
49188 # want to keep, you may remove or edit it.
49190 # config.status only pays attention to the cache file if you give it
49191 # the --recheck option to rerun configure.
49193 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49194 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49195 # following values.
49199 # The following way of writing the cache mishandles newlines in values,
49200 # but we know of no workaround that is simple, portable, and efficient.
49201 # So, don't put newlines in cache variables' values.
49202 # Ultrix sh set writes to stderr and can't be redirected directly,
49203 # and sets the high bit in the cache file unless we assign to the vars.
49206 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49208 # `set' does not quote correctly, so add quotes (double-quote
49209 # substitution turns \\\\ into \\, and sed turns \\ into \).
49212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49215 # `set' quotes correctly as required by POSIX, so do not add quotes.
49217 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49224 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49226 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49228 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49229 if test -w $cache_file; then
49230 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49231 cat confcache
>$cache_file
49233 echo "not updating unwritable cache $cache_file"
49238 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49239 # Let make expand exec_prefix.
49240 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49242 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49243 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49244 # trailing colons and then remove the whole line if VPATH becomes empty
49245 # (actually we leave an empty line to preserve line numbers).
49246 if test "x$srcdir" = x.
; then
49247 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49248 s/:*\$(srcdir):*/:/;
49249 s/:*\${srcdir}:*/:/;
49251 s/^\([^=]*=[ ]*\):*/\1/;
49257 DEFS
=-DHAVE_CONFIG_H
49261 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49262 # 1. Remove the extension, and $U if already installed.
49263 ac_i
=`echo "$ac_i" |
49264 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49266 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49267 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49269 LIBOBJS
=$ac_libobjs
49271 LTLIBOBJS
=$ac_ltlibobjs
49275 : ${CONFIG_STATUS=./config.status}
49276 ac_clean_files_save
=$ac_clean_files
49277 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49278 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49279 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49280 cat >$CONFIG_STATUS <<_ACEOF
49282 # Generated by $as_me.
49283 # Run this file to recreate the current configuration.
49284 # Compiler output produced by configure, useful for debugging
49285 # configure, is in config.log if it exists.
49288 ac_cs_recheck=false
49290 SHELL=\${CONFIG_SHELL-$SHELL}
49293 cat >>$CONFIG_STATUS <<\_ACEOF
49294 ## --------------------- ##
49295 ## M4sh Initialization. ##
49296 ## --------------------- ##
49298 # Be Bourne compatible
49299 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49302 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49303 # is contrary to our usage. Disable this feature.
49304 alias -g '${1+"$@"}'='"$@"'
49305 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49308 DUALCASE
=1; export DUALCASE
# for MKS sh
49310 # Support unset when possible.
49311 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49318 # Work around bugs in pre-3.0 UWIN ksh.
49319 $as_unset ENV MAIL MAILPATH
49326 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49327 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49328 LC_TELEPHONE LC_TIME
49330 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49331 eval $as_var=C
; export $as_var
49337 # Required to use basename.
49338 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49344 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49345 as_basename
=basename
49351 # Name of the executable.
49352 as_me
=`$as_basename "$0" ||
49353 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49354 X"$0" : 'X\(//\)$' \| \
49355 X"$0" : 'X\(/\)$' \| \
49356 . : '\(.\)' 2>/dev/null ||
49358 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49359 /^X\/\(\/\/\)$/{ s//\1/; q; }
49360 /^X\/\(\/\).*/{ s//\1/; q; }
49364 # PATH needs CR, and LINENO needs CR and PATH.
49365 # Avoid depending upon Character Ranges.
49366 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49367 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49368 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49369 as_cr_digits
='0123456789'
49370 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49372 # The user is always right.
49373 if test "${PATH_SEPARATOR+set}" != set; then
49374 echo "#! /bin/sh" >conf$$.sh
49375 echo "exit 0" >>conf$$.sh
49377 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49386 as_lineno_1
=$LINENO
49387 as_lineno_2
=$LINENO
49388 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49389 test "x$as_lineno_1" != "x$as_lineno_2" &&
49390 test "x$as_lineno_3" = "x$as_lineno_2" || {
49391 # Find who we are. Look in the path if we contain no path at all
49394 *[\\/]* ) as_myself
=$0 ;;
49395 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49396 for as_dir
in $PATH
49399 test -z "$as_dir" && as_dir
=.
49400 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49405 # We did not find ourselves, most probably we were run as `sh COMMAND'
49406 # in which case we are not to be found in the path.
49407 if test "x$as_myself" = x
; then
49410 if test ! -f "$as_myself"; then
49411 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49412 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49413 { (exit 1); exit 1; }; }
49415 case $CONFIG_SHELL in
49417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49418 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49421 test -z "$as_dir" && as_dir
=.
49422 for as_base
in sh bash ksh sh5
; do
49425 if ("$as_dir/$as_base" -c '
49426 as_lineno_1=$LINENO
49427 as_lineno_2=$LINENO
49428 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49429 test "x$as_lineno_1" != "x$as_lineno_2" &&
49430 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49431 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49432 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49433 CONFIG_SHELL
=$as_dir/$as_base
49434 export CONFIG_SHELL
49435 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49443 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49444 # uniformly replaced by the line number. The first 'sed' inserts a
49445 # line-number line before each line; the second 'sed' does the real
49446 # work. The second script uses 'N' to pair each line-number line
49447 # with the numbered line, and appends trailing '-' during
49448 # substitution so that $LINENO is not a special case at line end.
49449 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49450 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49451 sed '=' <$as_myself |
49456 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49459 s,^['$as_cr_digits']*\n,,
49460 ' >$as_me.lineno
&&
49461 chmod +x
$as_me.lineno
||
49462 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49463 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49464 { (exit 1); exit 1; }; }
49466 # Don't try to exec as it changes $[0], causing all sort of problems
49467 # (the dirname of $[0] is not the place where we might find the
49468 # original and so on. Autoconf is especially sensible to this).
49470 # Exit status is that of the last command.
49475 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49476 *c
*,-n*) ECHO_N
= ECHO_C
='
49478 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49479 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49482 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49488 rm -f conf$$ conf$$.exe conf$$.
file
49490 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49491 # We could just check for DJGPP; but this test a) works b) is more generic
49492 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49493 if test -f conf$$.exe
; then
49494 # Don't use ln at all; we don't have any links
49499 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49504 rm -f conf$$ conf$$.exe conf$$.
file
49506 if mkdir -p .
2>/dev
/null
; then
49509 test -d .
/-p && rmdir .
/-p
49513 as_executable_p
="test -f"
49515 # Sed expression to map a string onto a valid CPP name.
49516 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49518 # Sed expression to map a string onto a valid variable name.
49519 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49523 # We need space, tab and new line, in precisely that order.
49533 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49534 # report actual input values of CONFIG_FILES etc. instead of their
49535 # values after options handling. Logging --version etc. is OK.
49539 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49540 ## Running $as_me. ##
49545 This file was extended by wxWidgets $as_me 2.7.0, which was
49546 generated by GNU Autoconf 2.59. Invocation command line was
49548 CONFIG_FILES = $CONFIG_FILES
49549 CONFIG_HEADERS = $CONFIG_HEADERS
49550 CONFIG_LINKS = $CONFIG_LINKS
49551 CONFIG_COMMANDS = $CONFIG_COMMANDS
49555 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49559 # Files that config.status was made for.
49560 if test -n "$ac_config_files"; then
49561 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49564 if test -n "$ac_config_headers"; then
49565 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49568 if test -n "$ac_config_links"; then
49569 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49572 if test -n "$ac_config_commands"; then
49573 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49576 cat >>$CONFIG_STATUS <<\_ACEOF
49579 \`$as_me' instantiates files from templates according to the
49580 current configuration.
49582 Usage: $0 [OPTIONS] [FILE]...
49584 -h, --help print this help, then exit
49585 -V, --version print version number, then exit
49586 -q, --quiet do not print progress messages
49587 -d, --debug don't remove temporary files
49588 --recheck update $as_me by reconfiguring in the same conditions
49589 --file=FILE[:TEMPLATE]
49590 instantiate the configuration file FILE
49591 --header=FILE[:TEMPLATE]
49592 instantiate the configuration header FILE
49594 Configuration files:
49597 Configuration headers:
49600 Configuration commands:
49603 Report bugs to <bug-autoconf@gnu.org>."
49606 cat >>$CONFIG_STATUS <<_ACEOF
49608 wxWidgets config.status 2.7.0
49609 configured by $0, generated by GNU Autoconf 2.59,
49610 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49612 Copyright (C) 2003 Free Software Foundation, Inc.
49613 This config.status script is free software; the Free Software Foundation
49614 gives unlimited permission to copy, distribute and modify it."
49619 cat >>$CONFIG_STATUS <<\_ACEOF
49620 # If no file are specified by the user, then we need to provide default
49621 # value. By we need to know if files were specified by the user.
49627 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49628 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49636 *) # This is not an option, so the user has probably given explicit
49639 ac_need_defaults
=false
;;
49643 # Handling of the options.
49645 cat >>$CONFIG_STATUS <<\_ACEOF
49646 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49648 --version | --vers* | -V )
49649 echo "$ac_cs_version"; exit 0 ;;
49651 # Conflict between --help and --header
49652 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49653 Try \`$0 --help' for more information." >&5
49654 echo "$as_me: error: ambiguous option: $1
49655 Try \`$0 --help' for more information." >&2;}
49656 { (exit 1); exit 1; }; };;
49657 --help | --hel | -h )
49658 echo "$ac_cs_usage"; exit 0 ;;
49659 --debug | --d* | -d )
49661 --file | --fil | --fi | --f )
49663 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49664 ac_need_defaults
=false
;;
49665 --header | --heade | --head | --hea )
49667 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49668 ac_need_defaults
=false
;;
49669 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49670 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49673 # This is an error.
49674 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49675 Try \`$0 --help' for more information." >&5
49676 echo "$as_me: error: unrecognized option: $1
49677 Try \`$0 --help' for more information." >&2;}
49678 { (exit 1); exit 1; }; } ;;
49680 *) ac_config_targets
="$ac_config_targets $1" ;;
49686 ac_configure_extra_args
=
49688 if $ac_cs_silent; then
49690 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49694 cat >>$CONFIG_STATUS <<_ACEOF
49695 if \$ac_cs_recheck; then
49696 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49697 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49702 cat >>$CONFIG_STATUS <<_ACEOF
49704 # INIT-COMMANDS section.
49709 infile="$srcdir/include/wx/msw/genrcdefs.h"
49710 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49713 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49714 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49715 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49723 cat >>$CONFIG_STATUS <<\_ACEOF
49724 for ac_config_target
in $ac_config_targets
49726 case "$ac_config_target" in
49727 # Handling of arguments.
49728 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49729 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49730 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49731 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49732 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49733 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49734 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49735 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49736 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49737 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49738 { (exit 1); exit 1; }; };;
49742 # If the user did not use the arguments to specify the items to instantiate,
49743 # then the envvar interface is used. Set only those that are not.
49744 # We use the long form for the default assignment because of an extremely
49745 # bizarre bug on SunOS 4.1.3.
49746 if $ac_need_defaults; then
49747 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49748 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49749 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49752 # Have a temporary directory for convenience. Make it in the build tree
49753 # simply because there is no reason to put it here, and in addition,
49754 # creating and moving files from /tmp can sometimes cause problems.
49755 # Create a temporary directory, and hook for its removal unless debugging.
49758 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49759 trap '{ (exit 1); exit 1; }' 1 2 13 15
49762 # Create a (secure) tmp directory for tmp files.
49765 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49766 test -n "$tmp" && test -d "$tmp"
49769 tmp
=.
/confstat$$
-$RANDOM
49770 (umask 077 && mkdir $tmp)
49773 echo "$me: cannot create a temporary directory in ." >&2
49774 { (exit 1); exit 1; }
49779 cat >>$CONFIG_STATUS <<_ACEOF
49782 # CONFIG_FILES section.
49785 # No need to generate the scripts if there are no CONFIG_FILES.
49786 # This happens for instance when ./config.status config.h
49787 if test -n "\$CONFIG_FILES"; then
49788 # Protect against being on the right side of a sed subst in config.status.
49789 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49790 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49791 s,@SHELL@,$SHELL,;t t
49792 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49793 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49794 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49795 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49796 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49797 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49798 s,@exec_prefix@,$exec_prefix,;t t
49799 s,@prefix@,$prefix,;t t
49800 s,@program_transform_name@,$program_transform_name,;t t
49801 s,@bindir@,$bindir,;t t
49802 s,@sbindir@,$sbindir,;t t
49803 s,@libexecdir@,$libexecdir,;t t
49804 s,@datadir@,$datadir,;t t
49805 s,@sysconfdir@,$sysconfdir,;t t
49806 s,@sharedstatedir@,$sharedstatedir,;t t
49807 s,@localstatedir@,$localstatedir,;t t
49808 s,@libdir@,$libdir,;t t
49809 s,@includedir@,$includedir,;t t
49810 s,@oldincludedir@,$oldincludedir,;t t
49811 s,@infodir@,$infodir,;t t
49812 s,@mandir@,$mandir,;t t
49813 s,@build_alias@,$build_alias,;t t
49814 s,@host_alias@,$host_alias,;t t
49815 s,@target_alias@,$target_alias,;t t
49816 s,@DEFS@,$DEFS,;t t
49817 s,@ECHO_C@,$ECHO_C,;t t
49818 s,@ECHO_N@,$ECHO_N,;t t
49819 s,@ECHO_T@,$ECHO_T,;t t
49820 s,@LIBS@,$LIBS,;t t
49821 s,@build@,$build,;t t
49822 s,@build_cpu@,$build_cpu,;t t
49823 s,@build_vendor@,$build_vendor,;t t
49824 s,@build_os@,$build_os,;t t
49825 s,@host@,$host,;t t
49826 s,@host_cpu@,$host_cpu,;t t
49827 s,@host_vendor@,$host_vendor,;t t
49828 s,@host_os@,$host_os,;t t
49829 s,@target@,$target,;t t
49830 s,@target_cpu@,$target_cpu,;t t
49831 s,@target_vendor@,$target_vendor,;t t
49832 s,@target_os@,$target_os,;t t
49834 s,@CFLAGS@,$CFLAGS,;t t
49835 s,@LDFLAGS@,$LDFLAGS,;t t
49836 s,@CPPFLAGS@,$CPPFLAGS,;t t
49837 s,@ac_ct_CC@,$ac_ct_CC,;t t
49838 s,@EXEEXT@,$EXEEXT,;t t
49839 s,@OBJEXT@,$OBJEXT,;t t
49841 s,@EGREP@,$EGREP,;t t
49843 s,@CXXFLAGS@,$CXXFLAGS,;t t
49844 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49845 s,@RANLIB@,$RANLIB,;t t
49846 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49848 s,@ac_ct_AR@,$ac_ct_AR,;t t
49849 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49850 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49851 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49852 s,@STRIP@,$STRIP,;t t
49853 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49854 s,@WINDRES@,$WINDRES,;t t
49855 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49856 s,@DLLTOOL@,$DLLTOOL,;t t
49857 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49858 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49859 s,@LN_S@,$LN_S,;t t
49860 s,@CXXCPP@,$CXXCPP,;t t
49861 s,@subdirs@,$subdirs,;t t
49862 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49863 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49864 s,@GTK_LIBS@,$GTK_LIBS,;t t
49865 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49866 s,@X_CFLAGS@,$X_CFLAGS,;t t
49867 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49868 s,@X_LIBS@,$X_LIBS,;t t
49869 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49870 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49871 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49872 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49873 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49874 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49875 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49876 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49878 s,@DEREZ@,$DEREZ,;t t
49879 s,@SETFILE@,$SETFILE,;t t
49880 s,@LIBICONV@,$LIBICONV,;t t
49881 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49882 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49883 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49884 s,@SDL_LIBS@,$SDL_LIBS,;t t
49885 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49886 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49887 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49888 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49889 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49890 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49891 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49892 s,@GST_LIBS@,$GST_LIBS,;t t
49893 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49894 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49895 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49896 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49897 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49898 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49899 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49900 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49901 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49902 s,@VENDOR@,$VENDOR,;t t
49903 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49904 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49905 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49906 s,@WXUNIV@,$WXUNIV,;t t
49907 s,@MONOLITHIC@,$MONOLITHIC,;t t
49908 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49909 s,@EXTRALIBS@,$EXTRALIBS,;t t
49910 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49911 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49912 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49913 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49914 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49915 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49916 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49917 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49918 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49919 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49920 s,@UNICODE@,$UNICODE,;t t
49921 s,@BUILD@,$BUILD,;t t
49922 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49923 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49924 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49925 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49926 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49927 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49928 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49929 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49930 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49931 s,@SET_MAKE@,$SET_MAKE,;t t
49932 s,@MAKE_SET@,$MAKE_SET,;t t
49934 s,@ac_ct_NM@,$ac_ct_NM,;t t
49935 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49936 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49937 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49938 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49939 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49940 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49941 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49942 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49943 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49944 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49945 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49946 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49947 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49948 s,@LIBPREFIX@,$LIBPREFIX,;t t
49949 s,@LIBEXT@,$LIBEXT,;t t
49950 s,@DLLPREFIX@,$DLLPREFIX,;t t
49951 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49952 s,@dlldir@,$dlldir,;t t
49953 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49954 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49955 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49956 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49957 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49958 s,@PIC_FLAG@,$PIC_FLAG,;t t
49959 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49960 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49961 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49962 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49963 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49964 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49965 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49966 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49967 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49968 s,@GCC_PCH@,$GCC_PCH,;t t
49969 s,@ICC_PCH@,$ICC_PCH,;t t
49970 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49971 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49972 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49973 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49974 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49975 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49976 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49977 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49978 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49979 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49980 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49981 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49982 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49983 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49984 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49985 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49986 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49987 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49988 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49989 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49990 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
49991 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
49992 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
49993 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
49994 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49995 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49996 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49997 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49998 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49999 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50000 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
50001 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
50002 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
50003 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
50004 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50005 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50006 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50007 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50008 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50009 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50010 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50011 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50012 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50013 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50014 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50015 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50016 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50017 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50018 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50019 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50020 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50021 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50022 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
50023 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50024 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50025 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50026 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50027 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50028 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50029 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50030 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50031 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50032 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50033 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50034 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50035 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50036 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50037 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50038 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50039 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50040 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50041 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50042 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50043 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50044 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50045 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50046 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50047 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50048 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50049 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50050 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50051 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50052 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50053 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50054 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50055 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50056 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50057 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50058 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50059 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50060 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50061 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50062 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
50063 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50064 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50065 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50066 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50067 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50068 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50069 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50070 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50071 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50072 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50073 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50074 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50075 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50076 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50077 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50078 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50079 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50080 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50081 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50082 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50083 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50084 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50085 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50086 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50087 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50088 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50089 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50090 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50091 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50092 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50093 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50094 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50095 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50096 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50097 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50098 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50099 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50100 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50101 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50102 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50103 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50104 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50105 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50106 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50107 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50108 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50109 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50110 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50111 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50112 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50113 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50114 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50115 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50116 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50117 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50118 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50119 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50120 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50121 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50122 s,@SHARED@,$SHARED,;t t
50123 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50124 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50125 s,@USE_GUI@,$USE_GUI,;t t
50126 s,@AFMINSTALL@,$AFMINSTALL,;t t
50127 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50128 s,@TOOLKIT@,$TOOLKIT,;t t
50129 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50130 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50131 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50132 s,@cross_compiling@,$cross_compiling,;t t
50133 s,@WIDGET_SET@,$WIDGET_SET,;t t
50134 s,@WX_RELEASE@,$WX_RELEASE,;t t
50135 s,@WX_VERSION@,$WX_VERSION,;t t
50136 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50137 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50138 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50139 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50140 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50141 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50142 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50143 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50144 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50145 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50146 s,@EXE_LINKER@,$EXE_LINKER,;t t
50147 s,@GUIDIST@,$GUIDIST,;t t
50148 s,@DISTDIR@,$DISTDIR,;t t
50149 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50150 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50151 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50152 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50153 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50154 s,@RESCOMP@,$RESCOMP,;t t
50155 s,@RESFLAGS@,$RESFLAGS,;t t
50156 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50157 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50158 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50159 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50160 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50161 s,@MACSETFILE@,$MACSETFILE,;t t
50163 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50164 s,@LIBOBJS@,$LIBOBJS,;t t
50165 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50170 cat >>$CONFIG_STATUS <<\_ACEOF
50171 # Split the substitutions into bite-sized pieces for seds with
50172 # small command number limits, like on Digital OSF/1 and HP-UX.
50173 ac_max_sed_lines
=48
50174 ac_sed_frag
=1 # Number of current file.
50175 ac_beg
=1 # First line for current file.
50176 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50179 while $ac_more_lines; do
50180 if test $ac_beg -gt 1; then
50181 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50183 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50185 if test ! -s $tmp/subs.frag
; then
50186 ac_more_lines
=false
50188 # The purpose of the label and of the branching condition is to
50189 # speed up the sed processing (if there are no `@' at all, there
50190 # is no need to browse any of the substitutions).
50191 # These are the two extra sed commands mentioned above.
50193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50194 if test -z "$ac_sed_cmds"; then
50195 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50197 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50199 ac_sed_frag
=`expr $ac_sed_frag + 1`
50201 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50204 if test -z "$ac_sed_cmds"; then
50207 fi # test -n "$CONFIG_FILES"
50210 cat >>$CONFIG_STATUS <<\_ACEOF
50211 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50212 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50214 - | *:- | *:-:* ) # input from stdin
50216 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50217 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50218 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50219 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50220 * ) ac_file_in
=$ac_file.
in ;;
50223 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50224 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50226 X"$ac_file" : 'X\(//\)[^/]' \| \
50227 X"$ac_file" : 'X\(//\)$' \| \
50228 X"$ac_file" : 'X\(/\)' \| \
50229 . : '\(.\)' 2>/dev/null ||
50231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50233 /^X\(\/\/\)$/{ s//\1/; q; }
50234 /^X\(\/\).*/{ s//\1/; q; }
50236 { if $as_mkdir_p; then
50241 while test ! -d "$as_dir"; do
50242 as_dirs
="$as_dir $as_dirs"
50243 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50245 X"$as_dir" : 'X\(//\)[^/]' \| \
50246 X"$as_dir" : 'X\(//\)$' \| \
50247 X"$as_dir" : 'X\(/\)' \| \
50248 . : '\(.\)' 2>/dev/null ||
50250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50252 /^X\(\/\/\)$/{ s//\1/; q; }
50253 /^X\(\/\).*/{ s//\1/; q; }
50256 test ! -n "$as_dirs" || mkdir $as_dirs
50257 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50259 { (exit 1); exit 1; }; }; }
50263 if test "$ac_dir" != .
; then
50264 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50265 # A "../" for each directory in $ac_dir_suffix.
50266 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50268 ac_dir_suffix
= ac_top_builddir
=
50272 .
) # No --srcdir option. We are building in place.
50274 if test -z "$ac_top_builddir"; then
50277 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50279 [\\/]* | ?
:[\\/]* ) # Absolute path.
50280 ac_srcdir
=$srcdir$ac_dir_suffix;
50281 ac_top_srcdir
=$srcdir ;;
50282 *) # Relative path.
50283 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50284 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50287 # Do not use `cd foo && pwd` to compute absolute paths, because
50288 # the directories may not exist.
50290 .
) ac_abs_builddir
="$ac_dir";;
50293 .
) ac_abs_builddir
=`pwd`;;
50294 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50295 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50298 case $ac_abs_builddir in
50299 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50301 case ${ac_top_builddir}.
in
50302 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50303 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50304 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50307 case $ac_abs_builddir in
50308 .
) ac_abs_srcdir
=$ac_srcdir;;
50311 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50312 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50313 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50316 case $ac_abs_builddir in
50317 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50319 case $ac_top_srcdir in
50320 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50321 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50322 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50328 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50329 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50332 # Let's still pretend it is `configure' which instantiates (i.e., don't
50333 # use $as_me), people would be surprised to read:
50334 # /* config.h. Generated by config.status. */
50335 if test x
"$ac_file" = x
-; then
50338 configure_input
="$ac_file. "
50340 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50341 sed 's,.*/,,'` by configure."
50343 # First look for the input files in the build tree, otherwise in the
50345 ac_file_inputs
=`IFS=:
50346 for f in $ac_file_in; do
50348 -) echo $tmp/stdin ;;
50350 # Absolute (can't be DOS-style, as IFS=:)
50351 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50352 echo "$as_me: error: cannot find input file: $f" >&2;}
50353 { (exit 1); exit 1; }; }
50356 if test -f "$f"; then
50359 elif test -f "$srcdir/$f"; then
50364 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50365 echo "$as_me: error: cannot find input file: $f" >&2;}
50366 { (exit 1); exit 1; }; }
50369 done` || { (exit 1); exit 1; }
50371 if test x
"$ac_file" != x
-; then
50372 { echo "$as_me:$LINENO: creating $ac_file" >&5
50373 echo "$as_me: creating $ac_file" >&6;}
50377 cat >>$CONFIG_STATUS <<_ACEOF
50381 cat >>$CONFIG_STATUS <<\_ACEOF
50383 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50384 s
,@configure_input@
,$configure_input,;t t
50385 s
,@srcdir@
,$ac_srcdir,;t t
50386 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50387 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50388 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50389 s
,@builddir@
,$ac_builddir,;t t
50390 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50391 s
,@top_builddir@
,$ac_top_builddir,;t t
50392 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50393 s
,@INSTALL@
,$ac_INSTALL,;t t
50394 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50396 if test x"$ac_file" != x-; then
50397 mv $tmp/out $ac_file
50403 # Run the commands associated with the file.
50405 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50406 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50410 cat >>$CONFIG_STATUS <<\_ACEOF
50413 # CONFIG_HEADER section.
50416 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50417 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50419 # ac_d sets the value in "#define NAME VALUE" lines.
50420 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50421 ac_dB
='[ ].*$,\1#\2'
50424 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50425 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50426 ac_uB
='$,\1#\2define\3'
50430 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50431 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50433 - | *:- | *:-:* ) # input from stdin
50435 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50436 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50437 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50438 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50439 * ) ac_file_in
=$ac_file.
in ;;
50442 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50443 echo "$as_me: creating $ac_file" >&6;}
50445 # First look for the input files in the build tree, otherwise in the
50447 ac_file_inputs
=`IFS=:
50448 for f in $ac_file_in; do
50450 -) echo $tmp/stdin ;;
50452 # Absolute (can't be DOS-style, as IFS=:)
50453 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50454 echo "$as_me: error: cannot find input file: $f" >&2;}
50455 { (exit 1); exit 1; }; }
50456 # Do quote $f, to prevent DOS paths from being IFS'd.
50459 if test -f "$f"; then
50462 elif test -f "$srcdir/$f"; then
50467 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50468 echo "$as_me: error: cannot find input file: $f" >&2;}
50469 { (exit 1); exit 1; }; }
50472 done` || { (exit 1); exit 1; }
50473 # Remove the trailing spaces.
50474 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50478 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50479 # `conftest.undefs', that substitutes the proper values into
50480 # config.h.in to produce config.h. The first handles `#define'
50481 # templates, and the second `#undef' templates.
50482 # And first: Protect against being on the right side of a sed subst in
50483 # config.status. Protect against being in an unquoted here document
50484 # in config.status.
50485 rm -f conftest.defines conftest.undefs
50486 # Using a here document instead of a string reduces the quoting nightmare.
50487 # Putting comments in sed scripts is not portable.
50489 # `end' is used to avoid that the second main sed command (meant for
50490 # 0-ary CPP macros) applies to n-ary macro definitions.
50491 # See the Autoconf documentation for `clear'.
50492 cat >confdef2sed.
sed <<\_ACEOF
50497 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50499 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50502 # If some macros were called several times there might be several times
50503 # the same #defines, which is useless. Nevertheless, we may not want to
50504 # sort them, since we want the *last* AC-DEFINE to be honored.
50505 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50506 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50507 rm -f confdef2sed.sed
50509 # This sed command replaces #undef with comments. This is necessary, for
50510 # example, in the case of _POSIX_SOURCE, which is predefined and required
50511 # on some systems where configure will not decide to define it.
50512 cat >>conftest.undefs <<\_ACEOF
50513 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50516 # Break up conftest.defines because some shells have a limit on the size
50517 # of here documents, and old seds have small limits too (100 cmds).
50518 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50519 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50520 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50521 echo ' :' >>$CONFIG_STATUS
50522 rm -f conftest.tail
50523 while grep . conftest.defines >/dev/null
50525 # Write a limited-size here document to $tmp/defines.sed.
50526 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50527 # Speed up: don't consider the non `#define' lines.
50528 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50529 # Work around the forget-to-reset-the-flag bug.
50530 echo 't clr' >>$CONFIG_STATUS
50531 echo ': clr' >>$CONFIG_STATUS
50532 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50534 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50536 mv $tmp/out $tmp/in
50538 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50539 rm -f conftest.defines
50540 mv conftest.
tail conftest.defines
50542 rm -f conftest.defines
50543 echo ' fi # grep' >>$CONFIG_STATUS
50544 echo >>$CONFIG_STATUS
50546 # Break up conftest.undefs because some shells have a limit on the size
50547 # of here documents, and old seds have small limits too (100 cmds).
50548 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50549 rm -f conftest.
tail
50550 while grep . conftest.undefs
>/dev
/null
50552 # Write a limited-size here document to $tmp/undefs.sed.
50553 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50554 # Speed up: don't consider the non
`#undef'
50555 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50556 # Work around the forget-to-reset-the-flag bug.
50557 echo 't clr' >>$CONFIG_STATUS
50558 echo ': clr' >>$CONFIG_STATUS
50559 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50561 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50563 mv $tmp/out $tmp/in
50565 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50566 rm -f conftest.undefs
50567 mv conftest.tail conftest.undefs
50569 rm -f conftest.undefs
50571 cat >>$CONFIG_STATUS <<\_ACEOF
50572 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50573 # use $as_me), people would be surprised to read:
50574 # /* config.h. Generated by config.status. */
50575 if test x
"$ac_file" = x
-; then
50576 echo "/* Generated by configure. */" >$tmp/config.h
50578 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50580 cat $tmp/in >>$tmp/config.h
50582 if test x
"$ac_file" != x
-; then
50583 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50584 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50585 echo "$as_me: $ac_file is unchanged" >&6;}
50587 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50588 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50589 X"$ac_file" : 'X\(//\)[^/]' \| \
50590 X"$ac_file" : 'X\(//\)$' \| \
50591 X"$ac_file" : 'X\(/\)' \| \
50592 . : '\(.\)' 2>/dev/null ||
50594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50595 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50596 /^X\(\/\/\)$/{ s//\1/; q; }
50597 /^X\(\/\).*/{ s//\1/; q; }
50599 { if $as_mkdir_p; then
50604 while test ! -d "$as_dir"; do
50605 as_dirs
="$as_dir $as_dirs"
50606 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50608 X"$as_dir" : 'X\(//\)[^/]' \| \
50609 X"$as_dir" : 'X\(//\)$' \| \
50610 X"$as_dir" : 'X\(/\)' \| \
50611 . : '\(.\)' 2>/dev/null ||
50613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50614 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50615 /^X\(\/\/\)$/{ s//\1/; q; }
50616 /^X\(\/\).*/{ s//\1/; q; }
50619 test ! -n "$as_dirs" || mkdir $as_dirs
50620 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50621 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50622 { (exit 1); exit 1; }; }; }
50625 mv $tmp/config.h
$ac_file
50629 rm -f $tmp/config.h
50633 cat >>$CONFIG_STATUS <<\_ACEOF
50636 # CONFIG_COMMANDS section.
50638 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50639 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50640 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50641 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50642 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50643 X"$ac_dest" : 'X\(//\)[^/]' \| \
50644 X"$ac_dest" : 'X\(//\)$' \| \
50645 X"$ac_dest" : 'X\(/\)' \| \
50646 . : '\(.\)' 2>/dev/null ||
50648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50650 /^X\(\/\/\)$/{ s//\1/; q; }
50651 /^X\(\/\).*/{ s//\1/; q; }
50653 { if $as_mkdir_p; then
50658 while test ! -d "$as_dir"; do
50659 as_dirs
="$as_dir $as_dirs"
50660 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50662 X"$as_dir" : 'X\(//\)[^/]' \| \
50663 X"$as_dir" : 'X\(//\)$' \| \
50664 X"$as_dir" : 'X\(/\)' \| \
50665 . : '\(.\)' 2>/dev/null ||
50667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50669 /^X\(\/\/\)$/{ s//\1/; q; }
50670 /^X\(\/\).*/{ s//\1/; q; }
50673 test ! -n "$as_dirs" || mkdir $as_dirs
50674 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50676 { (exit 1); exit 1; }; }; }
50680 if test "$ac_dir" != .
; then
50681 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50682 # A "../" for each directory in $ac_dir_suffix.
50683 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50685 ac_dir_suffix
= ac_top_builddir
=
50689 .
) # No --srcdir option. We are building in place.
50691 if test -z "$ac_top_builddir"; then
50694 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50696 [\\/]* | ?
:[\\/]* ) # Absolute path.
50697 ac_srcdir
=$srcdir$ac_dir_suffix;
50698 ac_top_srcdir
=$srcdir ;;
50699 *) # Relative path.
50700 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50701 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50704 # Do not use `cd foo && pwd` to compute absolute paths, because
50705 # the directories may not exist.
50707 .
) ac_abs_builddir
="$ac_dir";;
50710 .
) ac_abs_builddir
=`pwd`;;
50711 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50712 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50715 case $ac_abs_builddir in
50716 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50718 case ${ac_top_builddir}.
in
50719 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50720 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50721 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50724 case $ac_abs_builddir in
50725 .
) ac_abs_srcdir
=$ac_srcdir;;
50728 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50729 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50730 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50733 case $ac_abs_builddir in
50734 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50736 case $ac_top_srcdir in
50737 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50738 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50739 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50744 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50745 echo "$as_me: executing $ac_dest commands" >&6;}
50748 mkdir -p $outdir &&
50749 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50751 wx
-config ) rm -f wx
-config
50752 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50758 cat >>$CONFIG_STATUS <<\_ACEOF
50760 { (exit 0); exit 0; }
50762 chmod +x
$CONFIG_STATUS
50763 ac_clean_files
=$ac_clean_files_save
50766 # configure is writing to config.log, and then calls config.status.
50767 # config.status does its own redirection, appending to config.log.
50768 # Unfortunately, on DOS this fails, as config.log is still kept open
50769 # by configure, so config.status won't be able to write to it; its
50770 # output is simply discarded. So we exec the FD to /dev/null,
50771 # effectively closing config.log, so it can be properly (re)opened and
50772 # appended to by config.status. When coming back to configure, we
50773 # need to make the FD available again.
50774 if test "$no_create" != yes; then
50776 ac_config_status_args
=
50777 test "$silent" = yes &&
50778 ac_config_status_args
="$ac_config_status_args --quiet"
50780 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50782 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50783 # would make configure fail if this is the last instruction.
50784 $ac_cs_success || { (exit 1); exit 1; }
50788 # CONFIG_SUBDIRS section.
50790 if test "$no_recursion" != yes; then
50792 # Remove --cache-file and --srcdir arguments so they do not pile up.
50793 ac_sub_configure_args
=
50795 for ac_arg
in $ac_configure_args; do
50796 if test -n "$ac_prev"; then
50801 -cache-file | --cache-file | --cache-fil | --cache-fi \
50802 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50803 ac_prev
=cache_file
;;
50804 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50805 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50808 --config-cache | -C)
50810 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50812 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50814 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50816 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50818 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50822 # Always prepend --prefix to ensure using the same prefix
50823 # in subdir configurations.
50824 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50827 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50829 # Do not complain, so a configure script can configure whichever
50830 # parts of a large source tree are present.
50831 test -d $srcdir/$ac_dir || continue
50833 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50834 echo "$as_me: configuring in $ac_dir" >&6;}
50835 { if $as_mkdir_p; then
50840 while test ! -d "$as_dir"; do
50841 as_dirs
="$as_dir $as_dirs"
50842 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50844 X"$as_dir" : 'X\(//\)[^/]' \| \
50845 X"$as_dir" : 'X\(//\)$' \| \
50846 X"$as_dir" : 'X\(/\)' \| \
50847 . : '\(.\)' 2>/dev/null ||
50849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50851 /^X\(\/\/\)$/{ s//\1/; q; }
50852 /^X\(\/\).*/{ s//\1/; q; }
50855 test ! -n "$as_dirs" || mkdir $as_dirs
50856 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50857 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50858 { (exit 1); exit 1; }; }; }
50862 if test "$ac_dir" != .
; then
50863 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50864 # A "../" for each directory in $ac_dir_suffix.
50865 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50867 ac_dir_suffix
= ac_top_builddir
=
50871 .
) # No --srcdir option. We are building in place.
50873 if test -z "$ac_top_builddir"; then
50876 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50878 [\\/]* | ?
:[\\/]* ) # Absolute path.
50879 ac_srcdir
=$srcdir$ac_dir_suffix;
50880 ac_top_srcdir
=$srcdir ;;
50881 *) # Relative path.
50882 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50883 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50886 # Do not use `cd foo && pwd` to compute absolute paths, because
50887 # the directories may not exist.
50889 .
) ac_abs_builddir
="$ac_dir";;
50892 .
) ac_abs_builddir
=`pwd`;;
50893 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50894 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50897 case $ac_abs_builddir in
50898 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50900 case ${ac_top_builddir}.
in
50901 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50902 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50903 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50906 case $ac_abs_builddir in
50907 .
) ac_abs_srcdir
=$ac_srcdir;;
50910 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50911 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50912 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50915 case $ac_abs_builddir in
50916 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50918 case $ac_top_srcdir in
50919 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50920 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50921 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50928 # Check for guested configure; otherwise get Cygnus style configure.
50929 if test -f $ac_srcdir/configure.gnu
; then
50930 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50931 elif test -f $ac_srcdir/configure
; then
50932 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50933 elif test -f $ac_srcdir/configure.
in; then
50934 ac_sub_configure
=$ac_configure
50936 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50937 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50941 # The recursion is here.
50942 if test -n "$ac_sub_configure"; then
50943 # Make the cache file name correct relative to the subdirectory.
50944 case $cache_file in
50945 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50946 *) # Relative path.
50947 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50950 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50951 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50952 # The eval makes quoting arguments work.
50953 eval $ac_sub_configure $ac_sub_configure_args \
50954 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50955 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50956 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50957 { (exit 1); exit 1; }; }
50966 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50968 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50969 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50971 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50972 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50973 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50975 echo " What level of wxWidgets compatibility should be enabled?"
50976 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50977 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50979 echo " Which libraries should wxWidgets use?"
50980 echo " jpeg ${wxUSE_LIBJPEG-none}"
50981 echo " png ${wxUSE_LIBPNG-none}"
50982 echo " regex ${wxUSE_REGEX}"
50983 echo " tiff ${wxUSE_LIBTIFF-none}"
50984 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50985 echo " xpm ${wxUSE_LIBXPM-none}"
50987 echo " zlib ${wxUSE_ZLIB}"
50988 echo " odbc ${wxUSE_ODBC}"
50989 echo " expat ${wxUSE_EXPAT}"
50990 echo " libmspack ${wxUSE_LIBMSPACK}"
50991 echo " sdl ${wxUSE_LIBSDL}"