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 ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_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_DFB COND_TOOLKIT_DFB_USE_GUI_1 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_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-protocol use wxProtocol class
1014 --enable-protocol-http HTTP support
in wxProtocol
1015 --enable-protocol-ftp FTP support
in wxProtocol
1016 --enable-protocol-file FILE support
in wxProtocol
1017 --enable-threads use threads
1018 --enable-docview use document view architecture
1019 --enable-help use
help subsystem
1020 --enable-mshtmlhelp use MS HTML Help
(win32
)
1021 --enable-html use wxHTML sub
-library
1022 --enable-htmlhelp use wxHTML
-based help
1023 --enable-xrc use XRC resources sub
-library
1024 --enable-aui use AUI docking library
1025 --enable-constraints use layout
-constraints system
1026 --enable-printarch use printing architecture
1027 --enable-mdi use multiple document interface architecture
1028 --enable-mdidoc use docview architecture with MDI
1029 --enable-loggui use standard GUI logger
1030 --enable-logwin use wxLogWindow
1031 --enable-logdialog use wxLogDialog
1032 --enable-webkit use wxWebKitCtrl
(Mac
)
1033 --enable-richtext use wxRichTextCtrl
1034 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1035 --enable-prologio not available
; see contrib
1036 --enable-resources not available
; see contrib
1037 --enable-clipboard use wxClipboard class
1038 --enable-dnd use Drag
'n'Drop classes
1039 --enable-metafile use win32 metafiles
1040 --enable-controls use all usual controls
1041 --enable-accel use accelerators
1042 --enable-button use wxButton class
1043 --enable-bmpbutton use wxBitmapButton class
1044 --enable-bmpcombobox use wxBitmapComboBox class
1045 --enable-calendar use wxCalendarCtrl class
1046 --enable-caret use wxCaret class
1047 --enable-checkbox use wxCheckBox class
1048 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1049 --enable-choice use wxChoice class
1050 --enable-choicebook use wxChoicebook class
1051 --enable-colourpicker use wxColourPickerCtrl class
1052 --enable-combobox use wxComboBox class
1053 --enable-comboctrl use wxComboCtrl class
1054 --enable-datepick use wxDatePickerCtrl class
1055 --enable-dirpicker use wxDirPickerCtrl class
1056 --enable-display use wxDisplay class
1057 --enable-filepicker use wxFilePickerCtrl class
1058 --enable-fontpicker use wxFontPickerCtrl class
1059 --enable-gauge use wxGauge class
1060 --enable-grid use wxGrid class
1061 --enable-dataviewctrl, use wxDataViewCtrl class
1062 --enable-hyperlink use wxHyperlinkCtrl class
1063 --enable-imaglist use wxImageList class
1064 --enable-listbook use wxListbook class
1065 --enable-listbox use wxListBox class
1066 --enable-listctrl use wxListCtrl class
1067 --enable-notebook use wxNotebook class
1068 --enable-odcombobox use wxOwnerDrawnComboBox class
1069 --enable-radiobox use wxRadioBox class
1070 --enable-radiobtn use wxRadioButton class
1071 --enable-sash use wxSashWindow class
1072 --enable-scrollbar use wxScrollBar class and scrollable windows
1073 --enable-slider use wxSlider class
1074 --enable-spinbtn use wxSpinButton class
1075 --enable-spinctrl use wxSpinCtrl class
1076 --enable-splitter use wxSplitterWindow class
1077 --enable-statbmp use wxStaticBitmap class
1078 --enable-statbox use wxStaticBox class
1079 --enable-statline use wxStaticLine class
1080 --enable-stattext use wxStaticText class
1081 --enable-statusbar use wxStatusBar class
1082 --enable-tabdialog use wxTabControl class
1083 --enable-textctrl use wxTextCtrl class
1084 --enable-togglebtn use wxToggleButton class
1085 --enable-toolbar use wxToolBar class
1086 --enable-tbarnative use native wxToolBar class
1087 --enable-treebook use wxTreebook class
1088 --enable-toolbook use wxToolbook class
1089 --enable-treectrl use wxTreeCtrl class
1090 --enable-tipwindow use wxTipWindow class
1091 --enable-popupwin use wxPopUpWindow class
1092 --enable-commondlg use all common dialogs
1093 --enable-choicedlg use wxChoiceDialog
1094 --enable-coldlg use wxColourDialog
1095 --enable-filedlg use wxFileDialog
1096 --enable-finddlg use wxFindReplaceDialog
1097 --enable-fontdlg use wxFontDialog
1098 --enable-dirdlg use wxDirDialog
1099 --enable-msgdlg use wxMessageDialog
1100 --enable-numberdlg use wxNumberEntryDialog
1101 --enable-splash use wxSplashScreen
1102 --enable-textdlg use wxTextDialog
1103 --enable-tipdlg use startup tips
1104 --enable-progressdlg use wxProgressDialog
1105 --enable-wizarddlg use wxWizard
1106 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1107 --enable-miniframe use wxMiniFrame class
1108 --enable-tooltips use wxToolTip class
1109 --enable-splines use spline drawing code
1110 --enable-mousewheel use mousewheel
1111 --enable-validators use wxValidator and derived classes
1112 --enable-busyinfo use wxBusyInfo
1113 --enable-joystick use wxJoystick
1114 --enable-metafiles use wxMetaFile
(Win32 only
)
1115 --enable-dragimage use wxDragImage
1116 --enable-accessibility enable accessibility support
1117 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1118 --enable-palette use wxPalette class
1119 --enable-image use wxImage class
1120 --enable-gif use gif images
(GIF
file format
)
1121 --enable-pcx use pcx images
(PCX
file format
)
1122 --enable-iff use iff images
(IFF
file format
)
1123 --enable-pnm use pnm images
(PNM
file format
)
1124 --enable-xpm use xpm images
(XPM
file format
)
1125 --enable-icocur use Windows ICO and CUR formats
1126 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1127 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1128 --disable-largefile omit support
for large files
1129 --disable-gtktest do not try to compile and run a
test GTK
+ program
1130 --disable-gtktest Do not try to compile and run a
test GTK program
1131 --disable-sdltest Do not try to compile and run a
test SDL program
1132 --enable-omf use OMF object format
(OS
/2)
1133 --disable-dependency-tracking
1134 don
't use dependency tracking even if the compiler
1136 --disable-precomp-headers
1137 don't use precompiled headers even
if compiler can
1140 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1141 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1142 --without-subdirs don
't generate makefiles for samples/demos/...
1143 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1144 --with-motif use Motif/Lesstif
1145 --with-mac use Mac OS X
1146 --with-cocoa use Cocoa
1147 --with-wine use Wine
1148 --with-msw use MS-Windows
1149 --with-pm use OS/2 Presentation Manager
1150 --with-mgl use SciTech MGL
1151 --with-directfb use DirectFB
1152 --with-microwin use MicroWindows
1154 --with-libpng use libpng (PNG image format)
1155 --with-libjpeg use libjpeg (JPEG file format)
1156 --with-libtiff use libtiff (TIFF file format)
1157 --with-libxpm use libxpm (XPM file format)
1158 --with-libmspack use libmspack (CHM help files loading)
1159 --with-sdl use SDL for audio on Unix
1160 --with-gnomeprint use GNOME print for printing under GNOME
1161 --with-gnomevfs use GNOME VFS for associating MIME types
1162 --with-hildon use Hildon framework for Nokia 770
1163 --with-opengl use OpenGL (or Mesa)
1164 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1165 --with-regex enable support for wxRegEx class
1166 --with-zlib use zlib for LZW compression
1167 --with-odbc use the IODBC and wxODBC classes
1168 --with-expat enable XML support using expat parser
1169 --with-flavour=NAME specify a name to identify this build
1170 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1171 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1172 --with-x use the X Window System
1173 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1174 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1175 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1176 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1177 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1179 Some influential environment variables:
1180 CC C compiler command
1181 CFLAGS C compiler flags
1182 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1183 nonstandard directory <lib dir>
1184 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1185 headers in a nonstandard directory <include dir>
1187 CXX C++ compiler command
1188 CXXFLAGS C++ compiler flags
1189 CXXCPP C++ preprocessor
1190 PKG_CONFIG path to pkg-config utility
1192 C compiler flags for DIRECTFB, overriding pkg-config
1194 linker flags for DIRECTFB, overriding pkg-config
1196 C compiler flags for PANGOX, overriding pkg-config
1197 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1199 C compiler flags for PANGOFT2, overriding pkg-config
1201 linker flags for PANGOFT2, overriding pkg-config
1203 C compiler flags for PANGOXFT, overriding pkg-config
1205 linker flags for PANGOXFT, overriding pkg-config
1206 LIBGNOMEPRINTUI_CFLAGS
1207 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1208 LIBGNOMEPRINTUI_LIBS
1209 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1211 C compiler flags for GNOMEVFS, overriding pkg-config
1213 linker flags for GNOMEVFS, overriding pkg-config
1215 C compiler flags for HILDON, overriding pkg-config
1216 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1217 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1218 GST_LIBS linker flags for GST, overriding pkg-config
1220 Use these variables to override the choices made by `configure' or to
help
1221 it to
find libraries and programs with nonstandard names
/locations.
1223 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1227 if test "$ac_init_help" = "recursive"; then
1228 # If there are subdirs, report their specific --help.
1230 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1231 test -d $ac_dir || continue
1234 if test "$ac_dir" != .
; then
1235 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1236 # A "../" for each directory in $ac_dir_suffix.
1237 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1239 ac_dir_suffix
= ac_top_builddir
=
1243 .
) # No --srcdir option. We are building in place.
1245 if test -z "$ac_top_builddir"; then
1248 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1250 [\\/]* | ?
:[\\/]* ) # Absolute path.
1251 ac_srcdir
=$srcdir$ac_dir_suffix;
1252 ac_top_srcdir
=$srcdir ;;
1254 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1255 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1258 # Do not use `cd foo && pwd` to compute absolute paths, because
1259 # the directories may not exist.
1261 .
) ac_abs_builddir
="$ac_dir";;
1264 .
) ac_abs_builddir
=`pwd`;;
1265 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1266 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1269 case $ac_abs_builddir in
1270 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1272 case ${ac_top_builddir}.
in
1273 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1274 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1275 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1278 case $ac_abs_builddir in
1279 .
) ac_abs_srcdir
=$ac_srcdir;;
1282 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1283 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1284 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1287 case $ac_abs_builddir in
1288 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1290 case $ac_top_srcdir in
1291 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1292 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1293 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1298 # Check for guested configure; otherwise get Cygnus style configure.
1299 if test -f $ac_srcdir/configure.gnu
; then
1301 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1302 elif test -f $ac_srcdir/configure
; then
1304 $SHELL $ac_srcdir/configure
--help=recursive
1305 elif test -f $ac_srcdir/configure.ac
||
1306 test -f $ac_srcdir/configure.
in; then
1308 $ac_configure --help
1310 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1316 test -n "$ac_init_help" && exit 0
1317 if $ac_init_version; then
1319 wxWidgets configure
2.7.0
1320 generated by GNU Autoconf
2.59
1322 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1323 This configure
script is free software
; the Free Software Foundation
1324 gives unlimited permission to copy
, distribute and modify it.
1330 This file contains any messages produced by compilers while
1331 running configure, to aid debugging if configure makes a mistake.
1333 It was created by wxWidgets $as_me 2.7.0, which was
1334 generated by GNU Autoconf 2.59. Invocation command line was
1345 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1346 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1347 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1348 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1349 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1351 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1352 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1354 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1355 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1356 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1357 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1358 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1359 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1360 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1368 test -z "$as_dir" && as_dir
=.
1369 echo "PATH: $as_dir"
1384 # Keep a trace of the command line.
1385 # Strip out --no-create and --no-recursion so they do not pile up.
1386 # Strip out --silent because we don't want to record it for future runs.
1387 # Also quote any args containing shell meta-characters.
1388 # Make two passes to allow for proper duplicate-argument suppression.
1393 ac_must_keep_next
=false
1399 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1401 | -silent | --silent | --silen | --sile | --sil)
1403 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1404 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1407 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1409 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1410 if test $ac_must_keep_next = true
; then
1411 ac_must_keep_next
=false
# Got value, back to normal.
1414 *=* | --config-cache | -C | -disable-* | --disable-* \
1415 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1416 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1417 | -with-* | --with-* | -without-* | --without-* | --x)
1418 case "$ac_configure_args0 " in
1419 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1422 -* ) ac_must_keep_next
=true
;;
1425 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1426 # Get rid of the leading space.
1432 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1433 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1435 # When interrupted or exit'd, cleanup temporary files, and complete
1436 # config.log. We remove comments because anyway the quotes in there
1437 # would cause problems or look ugly.
1438 # WARNING: Be sure not to use single quotes in there, as some shells,
1439 # such as our DU 5.0 friend, will then `close' the trap.
1440 trap 'exit_status=$?
1441 # Save into config.log some information that might help in debugging.
1446 ## ---------------- ##
1447 ## Cache variables. ##
1448 ## ---------------- ##
1451 # The following way of writing the cache mishandles newlines in values,
1454 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1457 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1469 ## ----------------- ##
1470 ## Output variables. ##
1471 ## ----------------- ##
1474 for ac_var in $ac_subst_vars
1476 eval ac_val=$`echo $ac_var`
1477 echo "$ac_var='"'"'$ac_val'"'"'"
1481 if test -n "$ac_subst_files"; then
1488 for ac_var in $ac_subst_files
1490 eval ac_val=$`echo $ac_var`
1491 echo "$ac_var='"'"'$ac_val'"'"'"
1496 if test -s confdefs.h; then
1503 sed "/^$/d" confdefs.h | sort
1506 test "$ac_signal" != 0 &&
1507 echo "$as_me: caught signal $ac_signal"
1508 echo "$as_me: exit $exit_status"
1510 rm -f core *.core &&
1511 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1514 for ac_signal
in 1 2 13 15; do
1515 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1519 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1520 rm -rf conftest
* confdefs.h
1521 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1524 # Predefined preprocessor variables.
1526 cat >>confdefs.h
<<_ACEOF
1527 #define PACKAGE_NAME "$PACKAGE_NAME"
1531 cat >>confdefs.h
<<_ACEOF
1532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1536 cat >>confdefs.h
<<_ACEOF
1537 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1541 cat >>confdefs.h
<<_ACEOF
1542 #define PACKAGE_STRING "$PACKAGE_STRING"
1546 cat >>confdefs.h
<<_ACEOF
1547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1551 # Let the site file select an alternate cache file if it wants to.
1552 # Prefer explicitly selected file to automatically selected ones.
1553 if test -z "$CONFIG_SITE"; then
1554 if test "x$prefix" != xNONE
; then
1555 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1557 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1560 for ac_site_file
in $CONFIG_SITE; do
1561 if test -r "$ac_site_file"; then
1562 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1563 echo "$as_me: loading site script $ac_site_file" >&6;}
1564 sed 's/^/| /' "$ac_site_file" >&5
1569 if test -r "$cache_file"; then
1570 # Some versions of bash will fail to source /dev/null (special
1571 # files actually), so we avoid doing that.
1572 if test -f "$cache_file"; then
1573 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1574 echo "$as_me: loading cache $cache_file" >&6;}
1576 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1577 *) . .
/$cache_file;;
1581 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1582 echo "$as_me: creating cache $cache_file" >&6;}
1586 # Check that the precious variables saved in the cache have kept the same
1588 ac_cache_corrupted
=false
1589 for ac_var
in `(set) 2>&1 |
1590 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1591 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1592 eval ac_new_set
=\
$ac_env_${ac_var}_set
1593 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1594 eval ac_new_val
="\$ac_env_${ac_var}_value"
1595 case $ac_old_set,$ac_new_set in
1597 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1598 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1599 ac_cache_corrupted
=: ;;
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1603 ac_cache_corrupted
=: ;;
1606 if test "x$ac_old_val" != "x$ac_new_val"; then
1607 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1608 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1609 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1610 echo "$as_me: former value: $ac_old_val" >&2;}
1611 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1612 echo "$as_me: current value: $ac_new_val" >&2;}
1613 ac_cache_corrupted
=:
1616 # Pass precious variables to config.status.
1617 if test "$ac_new_set" = set; then
1619 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1620 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1621 *) ac_arg
=$ac_var=$ac_new_val ;;
1623 case " $ac_configure_args " in
1624 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1625 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1629 if $ac_cache_corrupted; then
1630 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1631 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1632 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1633 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1634 { (exit 1); exit 1; }; }
1638 ac_cpp
='$CPP $CPPFLAGS'
1639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1673 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1674 if test -f $ac_dir/install-sh; then
1676 ac_install_sh
="$ac_aux_dir/install-sh -c"
1678 elif test -f $ac_dir/install.sh
; then
1680 ac_install_sh
="$ac_aux_dir/install.sh -c"
1682 elif test -f $ac_dir/shtool
; then
1684 ac_install_sh
="$ac_aux_dir/shtool install -c"
1688 if test -z "$ac_aux_dir"; then
1689 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1690 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1691 { (exit 1); exit 1; }; }
1693 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1694 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1695 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1697 # Make sure we can run config.sub.
1698 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1699 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1700 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: checking build system type" >&5
1704 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1705 if test "${ac_cv_build+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 ac_cv_build_alias
=$build_alias
1709 test -z "$ac_cv_build_alias" &&
1710 ac_cv_build_alias
=`$ac_config_guess`
1711 test -z "$ac_cv_build_alias" &&
1712 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1713 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1714 { (exit 1); exit 1; }; }
1715 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1722 echo "${ECHO_T}$ac_cv_build" >&6
1724 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1729 echo "$as_me:$LINENO: checking host system type" >&5
1730 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1731 if test "${ac_cv_host+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 ac_cv_host_alias
=$host_alias
1735 test -z "$ac_cv_host_alias" &&
1736 ac_cv_host_alias
=$ac_cv_build_alias
1737 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1744 echo "${ECHO_T}$ac_cv_host" >&6
1746 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1751 echo "$as_me:$LINENO: checking target system type" >&5
1752 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1753 if test "${ac_cv_target+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 ac_cv_target_alias
=$target_alias
1757 test "x$ac_cv_target_alias" = "x" &&
1758 ac_cv_target_alias
=$ac_cv_host_alias
1759 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1766 echo "${ECHO_T}$ac_cv_target" >&6
1767 target
=$ac_cv_target
1768 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1773 # The aliases save the names the user supplied, while $host etc.
1774 # will get canonicalized.
1775 test -n "$target_alias" &&
1776 test "$program_prefix$program_suffix$program_transform_name" = \
1778 program_prefix
=${target_alias}-
1782 wx_major_version_number
=2
1783 wx_minor_version_number
=7
1785 wx_subrelease_number
=1
1787 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1788 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1789 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1791 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1804 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1810 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1816 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1818 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1820 DEFAULT_wxUSE_COCOA
=0
1824 DEFAULT_wxUSE_MICROWIN
=0
1825 DEFAULT_wxUSE_MOTIF
=0
1831 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1832 DEFAULT_DEFAULT_wxUSE_GTK
=0
1833 DEFAULT_DEFAULT_wxUSE_MAC
=0
1834 DEFAULT_DEFAULT_wxUSE_MGL
=0
1835 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1836 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1837 DEFAULT_DEFAULT_wxUSE_MSW
=0
1838 DEFAULT_DEFAULT_wxUSE_PM
=0
1839 DEFAULT_DEFAULT_wxUSE_X11
=0
1840 DEFAULT_DEFAULT_wxUSE_DFB
=0
1845 SAMPLES_RPATH_POSTLINK
=
1847 DEFAULT_STD_FLAG
=yes
1852 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1855 cat >>confdefs.h
<<\_ACEOF
1860 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1864 cat >>confdefs.h
<<\_ACEOF
1869 if test "x$TMP" = "xalpha"; then
1871 cat >>confdefs.h
<<\_ACEOF
1876 DEFAULT_DEFAULT_wxUSE_GTK
=1
1878 *-*-gnu* | *-*-k*bsd
*-gnu )
1881 if test "x$TMP" = "xalpha"; then
1883 cat >>confdefs.h
<<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_GTK
=1
1890 *-*-irix5* | *-*-irix6* )
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1907 cat >>confdefs.h
<<\_ACEOF
1911 cat >>confdefs.h
<<\_ACEOF
1912 #define __SOLARIS__ 1
1915 cat >>confdefs.h
<<\_ACEOF
1919 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1920 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1926 cat >>confdefs.h
<<\_ACEOF
1930 cat >>confdefs.h
<<\_ACEOF
1934 cat >>confdefs.h
<<\_ACEOF
1938 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1943 cat >>confdefs.h
<<\_ACEOF
1944 #define __FREEBSD__ 1
1947 cat >>confdefs.h
<<\_ACEOF
1951 DEFAULT_DEFAULT_wxUSE_GTK
=1
1953 *-*-openbsd*|*-*-mirbsd*)
1956 cat >>confdefs.h
<<\_ACEOF
1957 #define __OPENBSD__ 1
1960 cat >>confdefs.h
<<\_ACEOF
1964 DEFAULT_DEFAULT_wxUSE_GTK
=1
1969 cat >>confdefs.h
<<\_ACEOF
1970 #define __NETBSD__ 1
1973 cat >>confdefs.h
<<\_ACEOF
1977 DEFAULT_DEFAULT_wxUSE_GTK
=1
1978 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1980 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1985 cat >>confdefs.h
<<\_ACEOF
1989 cat >>confdefs.h
<<\_ACEOF
1993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1999 cat >>confdefs.h
<<\_ACEOF
2003 cat >>confdefs.h
<<\_ACEOF
2007 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2012 cat >>confdefs.h
<<\_ACEOF
2016 cat >>confdefs.h
<<\_ACEOF
2020 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2027 cat >>confdefs.h
<<\_ACEOF
2031 cat >>confdefs.h
<<\_ACEOF
2035 cat >>confdefs.h
<<\_ACEOF
2039 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2046 cat >>confdefs.h
<<\_ACEOF
2047 #define __UNIXWARE__ 1
2052 *-*-cygwin* | *-*-mingw32* )
2055 DEFAULT_DEFAULT_wxUSE_MSW
=1
2062 cat >>confdefs.h
<<\_ACEOF
2067 DEFAULT_DEFAULT_wxUSE_MGL
=1
2070 *-pc-os2_emx | *-pc-os2-emx )
2071 cat >>confdefs.h
<<\_ACEOF
2076 cat >>confdefs.h
<<\_ACEOF
2081 DEFAULT_DEFAULT_wxUSE_PM
=1
2083 LDFLAGS
="$LDFLAGS -Zcrtdll"
2084 ac_executable_extensions
=".exe"
2085 export ac_executable_extensions
2089 for ac_dir
in $PATH; do
2091 if test -z "$ac_TEMP_PATH"; then
2092 ac_TEMP_PATH
="$ac_dir"
2094 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2097 export PATH
="$ac_TEMP_PATH"
2106 cat >>confdefs.h
<<\_ACEOF
2110 cat >>confdefs.h
<<\_ACEOF
2111 #define __DARWIN__ 1
2114 cat >>confdefs.h
<<\_ACEOF
2115 #define TARGET_CARBON 1
2118 DEFAULT_DEFAULT_wxUSE_MAC
=1
2121 powerpc
-apple-macos* )
2123 ac_cv_c_bigendian
=yes
2125 DEFAULT_DEFAULT_wxUSE_MAC
=1
2131 cat >>confdefs.h
<<\_ACEOF
2138 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2139 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2140 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2141 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2143 DEFAULT_DEFAULT_wxUSE_X11
=1
2144 DEFAULT_wxUSE_SHARED
=no
2150 wx_arg_cache_file
="configarg.cache"
2151 echo "loading argument cache $wx_arg_cache_file"
2152 rm -f ${wx_arg_cache_file}.tmp
2153 touch ${wx_arg_cache_file}.tmp
2154 touch ${wx_arg_cache_file}
2158 if test $DEBUG_CONFIGURE = 1; then
2159 DEFAULT_wxUSE_UNIVERSAL
=no
2160 DEFAULT_wxUSE_STL
=no
2162 DEFAULT_wxUSE_NANOX
=no
2164 DEFAULT_wxUSE_THREADS
=yes
2166 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2167 DEFAULT_wxUSE_OPTIMISE
=no
2168 DEFAULT_wxUSE_PROFILE
=no
2169 DEFAULT_wxUSE_NO_DEPS
=no
2170 DEFAULT_wxUSE_NO_RTTI
=no
2171 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2172 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2173 DEFAULT_wxUSE_RPATH
=yes
2174 DEFAULT_wxUSE_PERMISSIVE
=no
2175 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2176 DEFAULT_wxUSE_DEBUG_INFO
=yes
2177 DEFAULT_wxUSE_DEBUG_GDB
=yes
2178 DEFAULT_wxUSE_MEM_TRACING
=no
2179 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2180 DEFAULT_wxUSE_DMALLOC
=no
2181 DEFAULT_wxUSE_APPLE_IEEE
=no
2183 DEFAULT_wxUSE_EXCEPTIONS
=no
2184 DEFAULT_wxUSE_LOG
=yes
2185 DEFAULT_wxUSE_LOGWINDOW
=no
2186 DEFAULT_wxUSE_LOGGUI
=no
2187 DEFAULT_wxUSE_LOGDIALOG
=no
2189 DEFAULT_wxUSE_GUI
=yes
2190 DEFAULT_wxUSE_CONTROLS
=no
2192 DEFAULT_wxUSE_REGEX
=no
2193 DEFAULT_wxUSE_XML
=no
2194 DEFAULT_wxUSE_EXPAT
=no
2195 DEFAULT_wxUSE_ZLIB
=no
2196 DEFAULT_wxUSE_LIBPNG
=no
2197 DEFAULT_wxUSE_LIBJPEG
=no
2198 DEFAULT_wxUSE_LIBTIFF
=no
2199 DEFAULT_wxUSE_LIBXPM
=no
2200 DEFAULT_wxUSE_LIBMSPACK
=no
2201 DEFAULT_wxUSE_LIBSDL
=no
2202 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2203 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2204 DEFAULT_wxUSE_LIBHILDON
=no
2205 DEFAULT_wxUSE_ODBC
=no
2206 DEFAULT_wxUSE_OPENGL
=no
2208 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2209 DEFAULT_wxUSE_STACKWALKER
=no
2210 DEFAULT_wxUSE_DEBUGREPORT
=no
2211 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2212 DEFAULT_wxUSE_STD_IOSTREAM
=no
2213 DEFAULT_wxUSE_STD_STRING
=no
2214 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2215 DEFAULT_wxUSE_DATETIME
=no
2216 DEFAULT_wxUSE_TIMER
=no
2217 DEFAULT_wxUSE_STOPWATCH
=no
2218 DEFAULT_wxUSE_FILE
=no
2219 DEFAULT_wxUSE_FFILE
=no
2220 DEFAULT_wxUSE_STDPATHS
=no
2221 DEFAULT_wxUSE_TEXTBUFFER
=no
2222 DEFAULT_wxUSE_TEXTFILE
=no
2223 DEFAULT_wxUSE_SOUND
=no
2224 DEFAULT_wxUSE_MEDIACTRL
=no
2225 DEFAULT_wxUSE_GSTREAMER8
=no
2226 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2227 DEFAULT_wxUSE_INTL
=no
2228 DEFAULT_wxUSE_CONFIG
=no
2229 DEFAULT_wxUSE_FONTMAP
=no
2230 DEFAULT_wxUSE_STREAMS
=no
2231 DEFAULT_wxUSE_SOCKETS
=no
2232 DEFAULT_wxUSE_OLE
=no
2233 DEFAULT_wxUSE_DATAOBJ
=no
2234 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2235 DEFAULT_wxUSE_JOYSTICK
=no
2236 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2237 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2238 DEFAULT_wxUSE_LONGLONG
=no
2239 DEFAULT_wxUSE_GEOMETRY
=no
2241 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2242 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2243 DEFAULT_wxUSE_POSTSCRIPT
=no
2245 DEFAULT_wxUSE_CLIPBOARD
=no
2246 DEFAULT_wxUSE_TOOLTIPS
=no
2247 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2248 DEFAULT_wxUSE_DRAGIMAGE
=no
2249 DEFAULT_wxUSE_SPLINES
=no
2250 DEFAULT_wxUSE_MOUSEWHEEL
=no
2252 DEFAULT_wxUSE_MDI
=no
2253 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2254 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2255 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2257 DEFAULT_wxUSE_RESOURCES
=no
2258 DEFAULT_wxUSE_CONSTRAINTS
=no
2259 DEFAULT_wxUSE_IPC
=no
2260 DEFAULT_wxUSE_HELP
=no
2261 DEFAULT_wxUSE_MS_HTML_HELP
=no
2262 DEFAULT_wxUSE_WXHTML_HELP
=no
2263 DEFAULT_wxUSE_TREELAYOUT
=no
2264 DEFAULT_wxUSE_METAFILE
=no
2265 DEFAULT_wxUSE_MIMETYPE
=no
2266 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2267 DEFAULT_wxUSE_PROTOCOL
=no
2268 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2269 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2270 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2271 DEFAULT_wxUSE_URL
=no
2273 DEFAULT_wxUSE_COMMONDLGS
=no
2274 DEFAULT_wxUSE_CHOICEDLG
=no
2275 DEFAULT_wxUSE_COLOURDLG
=no
2276 DEFAULT_wxUSE_DIRDLG
=no
2277 DEFAULT_wxUSE_FILEDLG
=no
2278 DEFAULT_wxUSE_FINDREPLDLG
=no
2279 DEFAULT_wxUSE_FONTDLG
=no
2280 DEFAULT_wxUSE_MSGDLG
=no
2281 DEFAULT_wxUSE_NUMBERDLG
=no
2282 DEFAULT_wxUSE_TEXTDLG
=no
2283 DEFAULT_wxUSE_SPLASH
=no
2284 DEFAULT_wxUSE_STARTUP_TIPS
=no
2285 DEFAULT_wxUSE_PROGRESSDLG
=no
2286 DEFAULT_wxUSE_WIZARDDLG
=no
2288 DEFAULT_wxUSE_MENUS
=no
2289 DEFAULT_wxUSE_MINIFRAME
=no
2290 DEFAULT_wxUSE_HTML
=no
2291 DEFAULT_wxUSE_RICHTEXT
=no
2292 DEFAULT_wxUSE_XRC
=no
2293 DEFAULT_wxUSE_AUI
=no
2294 DEFAULT_wxUSE_WEBKIT
=no
2295 DEFAULT_wxUSE_FILESYSTEM
=no
2296 DEFAULT_wxUSE_FS_INET
=no
2297 DEFAULT_wxUSE_FS_ZIP
=no
2298 DEFAULT_wxUSE_BUSYINFO
=no
2299 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2300 DEFAULT_wxUSE_ZIPSTREAM
=no
2301 DEFAULT_wxUSE_VALIDATORS
=no
2303 DEFAULT_wxUSE_ACCEL
=no
2304 DEFAULT_wxUSE_BUTTON
=no
2305 DEFAULT_wxUSE_BMPBUTTON
=no
2306 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2307 DEFAULT_wxUSE_CALCTRL
=no
2308 DEFAULT_wxUSE_CARET
=no
2309 DEFAULT_wxUSE_CHECKBOX
=no
2310 DEFAULT_wxUSE_CHECKLST
=no
2311 DEFAULT_wxUSE_CHOICE
=no
2312 DEFAULT_wxUSE_CHOICEBOOK
=no
2313 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2314 DEFAULT_wxUSE_COMBOBOX
=no
2315 DEFAULT_wxUSE_COMBOCTRL
=no
2316 DEFAULT_wxUSE_DATEPICKCTRL
=no
2317 DEFAULT_wxUSE_DISPLAY
=no
2318 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2319 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2320 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2321 DEFAULT_wxUSE_GAUGE
=no
2322 DEFAULT_wxUSE_GRID
=no
2323 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2324 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2325 DEFAULT_wxUSE_IMAGLIST
=no
2326 DEFAULT_wxUSE_LISTBOOK
=no
2327 DEFAULT_wxUSE_LISTBOX
=no
2328 DEFAULT_wxUSE_LISTCTRL
=no
2329 DEFAULT_wxUSE_NOTEBOOK
=no
2330 DEFAULT_wxUSE_ODCOMBOBOX
=no
2331 DEFAULT_wxUSE_RADIOBOX
=no
2332 DEFAULT_wxUSE_RADIOBTN
=no
2333 DEFAULT_wxUSE_SASH
=no
2334 DEFAULT_wxUSE_SCROLLBAR
=no
2335 DEFAULT_wxUSE_SLIDER
=no
2336 DEFAULT_wxUSE_SPINBTN
=no
2337 DEFAULT_wxUSE_SPINCTRL
=no
2338 DEFAULT_wxUSE_SPLITTER
=no
2339 DEFAULT_wxUSE_STATBMP
=no
2340 DEFAULT_wxUSE_STATBOX
=no
2341 DEFAULT_wxUSE_STATLINE
=no
2342 DEFAULT_wxUSE_STATTEXT
=no
2343 DEFAULT_wxUSE_STATUSBAR
=yes
2344 DEFAULT_wxUSE_TAB_DIALOG
=no
2345 DEFAULT_wxUSE_TEXTCTRL
=no
2346 DEFAULT_wxUSE_TOGGLEBTN
=no
2347 DEFAULT_wxUSE_TOOLBAR
=no
2348 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2349 DEFAULT_wxUSE_TREEBOOK
=no
2350 DEFAULT_wxUSE_TOOLBOOK
=no
2351 DEFAULT_wxUSE_TREECTRL
=no
2352 DEFAULT_wxUSE_POPUPWIN
=no
2353 DEFAULT_wxUSE_TIPWINDOW
=no
2355 DEFAULT_wxUSE_UNICODE
=no
2356 DEFAULT_wxUSE_UNICODE_MSLU
=no
2357 DEFAULT_wxUSE_WCSRTOMBS
=no
2359 DEFAULT_wxUSE_PALETTE
=no
2360 DEFAULT_wxUSE_IMAGE
=no
2361 DEFAULT_wxUSE_GIF
=no
2362 DEFAULT_wxUSE_PCX
=no
2363 DEFAULT_wxUSE_PNM
=no
2364 DEFAULT_wxUSE_IFF
=no
2365 DEFAULT_wxUSE_XPM
=no
2366 DEFAULT_wxUSE_ICO_CUR
=no
2367 DEFAULT_wxUSE_ACCESSIBILITY
=no
2369 DEFAULT_wxUSE_MONOLITHIC
=no
2370 DEFAULT_wxUSE_PLUGINS
=no
2371 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2373 DEFAULT_wxUSE_UNIVERSAL
=no
2374 DEFAULT_wxUSE_STL
=no
2376 DEFAULT_wxUSE_NANOX
=no
2378 DEFAULT_wxUSE_THREADS
=yes
2380 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2381 DEFAULT_wxUSE_OPTIMISE
=yes
2382 DEFAULT_wxUSE_PROFILE
=no
2383 DEFAULT_wxUSE_NO_DEPS
=no
2384 DEFAULT_wxUSE_NO_RTTI
=no
2385 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2386 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2387 DEFAULT_wxUSE_RPATH
=yes
2388 DEFAULT_wxUSE_PERMISSIVE
=no
2389 DEFAULT_wxUSE_DEBUG_FLAG
=no
2390 DEFAULT_wxUSE_DEBUG_INFO
=no
2391 DEFAULT_wxUSE_DEBUG_GDB
=no
2392 DEFAULT_wxUSE_MEM_TRACING
=no
2393 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2394 DEFAULT_wxUSE_DMALLOC
=no
2395 DEFAULT_wxUSE_APPLE_IEEE
=yes
2397 DEFAULT_wxUSE_EXCEPTIONS
=yes
2398 DEFAULT_wxUSE_LOG
=yes
2399 DEFAULT_wxUSE_LOGWINDOW
=yes
2400 DEFAULT_wxUSE_LOGGUI
=yes
2401 DEFAULT_wxUSE_LOGDIALOG
=yes
2403 DEFAULT_wxUSE_GUI
=yes
2405 DEFAULT_wxUSE_REGEX
=yes
2406 DEFAULT_wxUSE_XML
=yes
2407 DEFAULT_wxUSE_EXPAT
=yes
2408 DEFAULT_wxUSE_ZLIB
=yes
2409 DEFAULT_wxUSE_LIBPNG
=yes
2410 DEFAULT_wxUSE_LIBJPEG
=yes
2411 DEFAULT_wxUSE_LIBTIFF
=yes
2412 DEFAULT_wxUSE_LIBXPM
=yes
2413 DEFAULT_wxUSE_LIBMSPACK
=yes
2414 DEFAULT_wxUSE_LIBSDL
=no
2415 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2416 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2417 DEFAULT_wxUSE_LIBHILDON
=no
2418 DEFAULT_wxUSE_ODBC
=no
2419 DEFAULT_wxUSE_OPENGL
=no
2421 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2422 DEFAULT_wxUSE_STACKWALKER
=yes
2423 DEFAULT_wxUSE_DEBUGREPORT
=yes
2424 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2425 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2426 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2427 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2428 DEFAULT_wxUSE_DATETIME
=yes
2429 DEFAULT_wxUSE_TIMER
=yes
2430 DEFAULT_wxUSE_STOPWATCH
=yes
2431 DEFAULT_wxUSE_FILE
=yes
2432 DEFAULT_wxUSE_FFILE
=yes
2433 DEFAULT_wxUSE_STDPATHS
=yes
2434 DEFAULT_wxUSE_TEXTBUFFER
=yes
2435 DEFAULT_wxUSE_TEXTFILE
=yes
2436 DEFAULT_wxUSE_SOUND
=yes
2437 DEFAULT_wxUSE_MEDIACTRL
=no
2438 DEFAULT_wxUSE_GSTREAMER8
=no
2439 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2440 DEFAULT_wxUSE_INTL
=yes
2441 DEFAULT_wxUSE_CONFIG
=yes
2442 DEFAULT_wxUSE_FONTMAP
=yes
2443 DEFAULT_wxUSE_STREAMS
=yes
2444 DEFAULT_wxUSE_SOCKETS
=yes
2445 DEFAULT_wxUSE_OLE
=yes
2446 DEFAULT_wxUSE_DATAOBJ
=yes
2447 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2448 DEFAULT_wxUSE_JOYSTICK
=yes
2449 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2450 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2451 DEFAULT_wxUSE_LONGLONG
=yes
2452 DEFAULT_wxUSE_GEOMETRY
=yes
2454 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2455 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2456 DEFAULT_wxUSE_POSTSCRIPT
=yes
2458 DEFAULT_wxUSE_CLIPBOARD
=yes
2459 DEFAULT_wxUSE_TOOLTIPS
=yes
2460 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2461 DEFAULT_wxUSE_DRAGIMAGE
=yes
2462 DEFAULT_wxUSE_SPLINES
=yes
2463 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2465 DEFAULT_wxUSE_MDI
=yes
2466 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2467 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2468 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2470 DEFAULT_wxUSE_RESOURCES
=no
2471 DEFAULT_wxUSE_CONSTRAINTS
=yes
2472 DEFAULT_wxUSE_IPC
=yes
2473 DEFAULT_wxUSE_HELP
=yes
2474 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2475 DEFAULT_wxUSE_WXHTML_HELP
=yes
2476 DEFAULT_wxUSE_TREELAYOUT
=yes
2477 DEFAULT_wxUSE_METAFILE
=yes
2478 DEFAULT_wxUSE_MIMETYPE
=yes
2479 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2480 DEFAULT_wxUSE_PROTOCOL
=yes
2481 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2482 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2483 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2484 DEFAULT_wxUSE_URL
=yes
2486 DEFAULT_wxUSE_COMMONDLGS
=yes
2487 DEFAULT_wxUSE_CHOICEDLG
=yes
2488 DEFAULT_wxUSE_COLOURDLG
=yes
2489 DEFAULT_wxUSE_DIRDLG
=yes
2490 DEFAULT_wxUSE_FILEDLG
=yes
2491 DEFAULT_wxUSE_FINDREPLDLG
=yes
2492 DEFAULT_wxUSE_FONTDLG
=yes
2493 DEFAULT_wxUSE_MSGDLG
=yes
2494 DEFAULT_wxUSE_NUMBERDLG
=yes
2495 DEFAULT_wxUSE_TEXTDLG
=yes
2496 DEFAULT_wxUSE_SPLASH
=yes
2497 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2498 DEFAULT_wxUSE_PROGRESSDLG
=yes
2499 DEFAULT_wxUSE_WIZARDDLG
=yes
2501 DEFAULT_wxUSE_MENUS
=yes
2502 DEFAULT_wxUSE_MINIFRAME
=yes
2503 DEFAULT_wxUSE_HTML
=yes
2504 DEFAULT_wxUSE_RICHTEXT
=yes
2505 DEFAULT_wxUSE_XRC
=yes
2506 DEFAULT_wxUSE_AUI
=yes
2507 DEFAULT_wxUSE_WEBKIT
=yes
2508 DEFAULT_wxUSE_FILESYSTEM
=yes
2509 DEFAULT_wxUSE_FS_INET
=yes
2510 DEFAULT_wxUSE_FS_ZIP
=yes
2511 DEFAULT_wxUSE_BUSYINFO
=yes
2512 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2513 DEFAULT_wxUSE_ZIPSTREAM
=yes
2514 DEFAULT_wxUSE_VALIDATORS
=yes
2516 DEFAULT_wxUSE_ACCEL
=yes
2517 DEFAULT_wxUSE_BUTTON
=yes
2518 DEFAULT_wxUSE_BMPBUTTON
=yes
2519 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2520 DEFAULT_wxUSE_CALCTRL
=yes
2521 DEFAULT_wxUSE_CARET
=yes
2522 DEFAULT_wxUSE_CHECKBOX
=yes
2523 DEFAULT_wxUSE_CHECKLST
=yes
2524 DEFAULT_wxUSE_CHOICE
=yes
2525 DEFAULT_wxUSE_CHOICEBOOK
=yes
2526 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2527 DEFAULT_wxUSE_COMBOBOX
=yes
2528 DEFAULT_wxUSE_COMBOCTRL
=yes
2529 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2530 DEFAULT_wxUSE_DISPLAY
=yes
2531 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2532 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2533 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2534 DEFAULT_wxUSE_GAUGE
=yes
2535 DEFAULT_wxUSE_GRID
=yes
2536 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2537 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2538 DEFAULT_wxUSE_IMAGLIST
=yes
2539 DEFAULT_wxUSE_LISTBOOK
=yes
2540 DEFAULT_wxUSE_LISTBOX
=yes
2541 DEFAULT_wxUSE_LISTCTRL
=yes
2542 DEFAULT_wxUSE_NOTEBOOK
=yes
2543 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2544 DEFAULT_wxUSE_RADIOBOX
=yes
2545 DEFAULT_wxUSE_RADIOBTN
=yes
2546 DEFAULT_wxUSE_SASH
=yes
2547 DEFAULT_wxUSE_SCROLLBAR
=yes
2548 DEFAULT_wxUSE_SLIDER
=yes
2549 DEFAULT_wxUSE_SPINBTN
=yes
2550 DEFAULT_wxUSE_SPINCTRL
=yes
2551 DEFAULT_wxUSE_SPLITTER
=yes
2552 DEFAULT_wxUSE_STATBMP
=yes
2553 DEFAULT_wxUSE_STATBOX
=yes
2554 DEFAULT_wxUSE_STATLINE
=yes
2555 DEFAULT_wxUSE_STATTEXT
=yes
2556 DEFAULT_wxUSE_STATUSBAR
=yes
2557 DEFAULT_wxUSE_TAB_DIALOG
=no
2558 DEFAULT_wxUSE_TEXTCTRL
=yes
2559 DEFAULT_wxUSE_TOGGLEBTN
=yes
2560 DEFAULT_wxUSE_TOOLBAR
=yes
2561 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2562 DEFAULT_wxUSE_TREEBOOK
=yes
2563 DEFAULT_wxUSE_TOOLBOOK
=yes
2564 DEFAULT_wxUSE_TREECTRL
=yes
2565 DEFAULT_wxUSE_POPUPWIN
=yes
2566 DEFAULT_wxUSE_TIPWINDOW
=yes
2568 DEFAULT_wxUSE_UNICODE
=no
2569 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2570 DEFAULT_wxUSE_WCSRTOMBS
=no
2572 DEFAULT_wxUSE_PALETTE
=yes
2573 DEFAULT_wxUSE_IMAGE
=yes
2574 DEFAULT_wxUSE_GIF
=yes
2575 DEFAULT_wxUSE_PCX
=yes
2576 DEFAULT_wxUSE_IFF
=no
2577 DEFAULT_wxUSE_PNM
=yes
2578 DEFAULT_wxUSE_XPM
=yes
2579 DEFAULT_wxUSE_ICO_CUR
=yes
2580 DEFAULT_wxUSE_ACCESSIBILITY
=no
2582 DEFAULT_wxUSE_MONOLITHIC
=no
2583 DEFAULT_wxUSE_PLUGINS
=no
2584 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2586 DEFAULT_wxUSE_GTK2
=yes
2592 for toolkit
in `echo $ALL_TOOLKITS`; do
2593 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2594 if test "x$LINE" != "x" ; then
2595 has_toolkit_in_cache
=1
2596 eval "DEFAULT_$LINE"
2597 eval "CACHE_$toolkit=1"
2599 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2600 if test "x$LINE" != "x" ; then
2601 eval "DEFAULT_$LINE"
2609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2610 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2612 # Check whether --enable-gui or --disable-gui was given.
2613 if test "${enable_gui+set}" = set; then
2614 enableval
="$enable_gui"
2616 if test "$enableval" = yes; then
2617 ac_cv_use_gui
='wxUSE_GUI=yes'
2619 ac_cv_use_gui
='wxUSE_GUI=no'
2624 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x
; then
2626 eval "DEFAULT_$LINE"
2631 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2635 eval "$ac_cv_use_gui"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2640 if test "$wxUSE_GUI" = yes; then
2641 echo "$as_me:$LINENO: result: yes" >&5
2642 echo "${ECHO_T}yes" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2651 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2653 # Check whether --enable-monolithic or --disable-monolithic was given.
2654 if test "${enable_monolithic+set}" = set; then
2655 enableval
="$enable_monolithic"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2660 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2665 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2676 eval "$ac_cv_use_monolithic"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_MONOLITHIC" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2692 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2694 # Check whether --enable-plugins or --disable-plugins was given.
2695 if test "${enable_plugins+set}" = set; then
2696 enableval
="$enable_plugins"
2698 if test "$enableval" = yes; then
2699 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2701 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2706 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2707 if test "x$LINE" != x
; then
2708 eval "DEFAULT_$LINE"
2713 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2717 eval "$ac_cv_use_plugins"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2722 if test "$wxUSE_PLUGINS" = yes; then
2723 echo "$as_me:$LINENO: result: yes" >&5
2724 echo "${ECHO_T}yes" >&6
2726 echo "$as_me:$LINENO: result: no" >&5
2727 echo "${ECHO_T}no" >&6
2732 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2733 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2736 # Check whether --with-subdirs or --without-subdirs was given.
2737 if test "${with_subdirs+set}" = set; then
2738 withval
="$with_subdirs"
2740 if test "$withval" = yes; then
2741 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2743 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2748 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2759 eval "$ac_cv_use_subdirs"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2764 if test "$wxWITH_SUBDIRS" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2773 if test "$wxUSE_GUI" = "yes"; then
2777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2778 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2780 # Check whether --enable-universal or --disable-universal was given.
2781 if test "${enable_universal+set}" = set; then
2782 enableval
="$enable_universal"
2784 if test "$enableval" = yes; then
2785 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2787 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2792 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x
; then
2794 eval "DEFAULT_$LINE"
2799 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2803 eval "$ac_cv_use_universal"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2808 if test "$wxUSE_UNIVERSAL" = yes; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2817 # Check whether --with-gtk or --without-gtk was given.
2818 if test "${with_gtk+set}" = set; then
2820 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2823 # Check whether --with-motif or --without-motif was given.
2824 if test "${with_motif+set}" = set; then
2825 withval
="$with_motif"
2826 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2829 # Check whether --with-mac or --without-mac was given.
2830 if test "${with_mac+set}" = set; then
2832 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2835 # Check whether --with-cocoa or --without-cocoa was given.
2836 if test "${with_cocoa+set}" = set; then
2837 withval
="$with_cocoa"
2838 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2841 # Check whether --with-wine or --without-wine was given.
2842 if test "${with_wine+set}" = set; then
2843 withval
="$with_wine"
2844 wxUSE_WINE
="$withval" CACHE_WINE
=1
2847 # Check whether --with-msw or --without-msw was given.
2848 if test "${with_msw+set}" = set; then
2850 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2853 # Check whether --with-pm or --without-pm was given.
2854 if test "${with_pm+set}" = set; then
2856 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2859 # Check whether --with-mgl or --without-mgl was given.
2860 if test "${with_mgl+set}" = set; then
2862 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2865 # Check whether --with-directfb or --without-directfb was given.
2866 if test "${with_directfb+set}" = set; then
2867 withval
="$with_directfb"
2868 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2871 # Check whether --with-microwin or --without-microwin was given.
2872 if test "${with_microwin+set}" = set; then
2873 withval
="$with_microwin"
2874 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2877 # Check whether --with-x11 or --without-x11 was given.
2878 if test "${with_x11+set}" = set; then
2880 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2885 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2887 # Check whether --enable-nanox or --disable-nanox was given.
2888 if test "${enable_nanox+set}" = set; then
2889 enableval
="$enable_nanox"
2891 if test "$enableval" = yes; then
2892 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2894 ac_cv_use_nanox
='wxUSE_NANOX=no'
2899 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2900 if test "x$LINE" != x
; then
2901 eval "DEFAULT_$LINE"
2906 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2910 eval "$ac_cv_use_nanox"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2915 if test "$wxUSE_NANOX" = yes; then
2916 echo "$as_me:$LINENO: result: yes" >&5
2917 echo "${ECHO_T}yes" >&6
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2924 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2925 if test "${enable_gtk2+set}" = set; then
2926 enableval
="$enable_gtk2"
2927 wxUSE_GTK2
="$enableval"
2931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2932 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2934 # Check whether --enable-gpe or --disable-gpe was given.
2935 if test "${enable_gpe+set}" = set; then
2936 enableval
="$enable_gpe"
2938 if test "$enableval" = yes; then
2939 ac_cv_use_gpe
='wxUSE_GPE=yes'
2941 ac_cv_use_gpe
='wxUSE_GPE=no'
2946 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x
; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2957 eval "$ac_cv_use_gpe"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_GPE" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2972 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2973 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2976 # Check whether --with-libpng or --without-libpng was given.
2977 if test "${with_libpng+set}" = set; then
2978 withval
="$with_libpng"
2980 if test "$withval" = yes; then
2981 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2982 elif test "$withval" = no
; then
2983 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2984 elif test "$withval" = sys
; then
2985 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2986 elif test "$withval" = builtin; then
2987 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2989 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2990 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2991 { (exit 1); exit 1; }; }
2996 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2997 if test "x$LINE" != x
; then
2998 eval "DEFAULT_$LINE"
3003 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3007 eval "$ac_cv_use_libpng"
3008 if test "$no_cache" != 1; then
3009 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3012 if test "$wxUSE_LIBPNG" = yes; then
3013 echo "$as_me:$LINENO: result: yes" >&5
3014 echo "${ECHO_T}yes" >&6
3015 elif test "$wxUSE_LIBPNG" = no
; then
3016 echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6
3018 elif test "$wxUSE_LIBPNG" = sys
; then
3019 echo "$as_me:$LINENO: result: system version" >&5
3020 echo "${ECHO_T}system version" >&6
3021 elif test "$wxUSE_LIBPNG" = builtin; then
3022 echo "$as_me:$LINENO: result: builtin version" >&5
3023 echo "${ECHO_T}builtin version" >&6
3025 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3026 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3027 { (exit 1); exit 1; }; }
3031 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3032 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3035 # Check whether --with-libjpeg or --without-libjpeg was given.
3036 if test "${with_libjpeg+set}" = set; then
3037 withval
="$with_libjpeg"
3039 if test "$withval" = yes; then
3040 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3041 elif test "$withval" = no
; then
3042 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3043 elif test "$withval" = sys
; then
3044 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3045 elif test "$withval" = builtin; then
3046 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3048 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3049 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3050 { (exit 1); exit 1; }; }
3055 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3066 eval "$ac_cv_use_libjpeg"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3071 if test "$wxUSE_LIBJPEG" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3074 elif test "$wxUSE_LIBJPEG" = no
; then
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3077 elif test "$wxUSE_LIBJPEG" = sys
; then
3078 echo "$as_me:$LINENO: result: system version" >&5
3079 echo "${ECHO_T}system version" >&6
3080 elif test "$wxUSE_LIBJPEG" = builtin; then
3081 echo "$as_me:$LINENO: result: builtin version" >&5
3082 echo "${ECHO_T}builtin version" >&6
3084 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3085 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3086 { (exit 1); exit 1; }; }
3090 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3091 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3094 # Check whether --with-libtiff or --without-libtiff was given.
3095 if test "${with_libtiff+set}" = set; then
3096 withval
="$with_libtiff"
3098 if test "$withval" = yes; then
3099 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3100 elif test "$withval" = no
; then
3101 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3102 elif test "$withval" = sys
; then
3103 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3104 elif test "$withval" = builtin; then
3105 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3107 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3108 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3109 { (exit 1); exit 1; }; }
3114 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x
; then
3116 eval "DEFAULT_$LINE"
3121 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3125 eval "$ac_cv_use_libtiff"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_LIBTIFF" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3133 elif test "$wxUSE_LIBTIFF" = no
; then
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3136 elif test "$wxUSE_LIBTIFF" = sys
; then
3137 echo "$as_me:$LINENO: result: system version" >&5
3138 echo "${ECHO_T}system version" >&6
3139 elif test "$wxUSE_LIBTIFF" = builtin; then
3140 echo "$as_me:$LINENO: result: builtin version" >&5
3141 echo "${ECHO_T}builtin version" >&6
3143 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3144 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3145 { (exit 1); exit 1; }; }
3149 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3150 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3153 # Check whether --with-libxpm or --without-libxpm was given.
3154 if test "${with_libxpm+set}" = set; then
3155 withval
="$with_libxpm"
3157 if test "$withval" = yes; then
3158 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3159 elif test "$withval" = no
; then
3160 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3161 elif test "$withval" = sys
; then
3162 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3163 elif test "$withval" = builtin; then
3164 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3173 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3184 eval "$ac_cv_use_libxpm"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_LIBXPM" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 elif test "$wxUSE_LIBXPM" = no
; then
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 elif test "$wxUSE_LIBXPM" = sys
; then
3196 echo "$as_me:$LINENO: result: system version" >&5
3197 echo "${ECHO_T}system version" >&6
3198 elif test "$wxUSE_LIBXPM" = builtin; then
3199 echo "$as_me:$LINENO: result: builtin version" >&5
3200 echo "${ECHO_T}builtin version" >&6
3202 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3203 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3204 { (exit 1); exit 1; }; }
3209 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3210 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3213 # Check whether --with-libmspack or --without-libmspack was given.
3214 if test "${with_libmspack+set}" = set; then
3215 withval
="$with_libmspack"
3217 if test "$withval" = yes; then
3218 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3220 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3225 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x
; then
3227 eval "DEFAULT_$LINE"
3232 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3236 eval "$ac_cv_use_libmspack"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_LIBMSPACK" = yes; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3251 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3252 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3255 # Check whether --with-sdl or --without-sdl was given.
3256 if test "${with_sdl+set}" = set; then
3259 if test "$withval" = yes; then
3260 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3262 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3267 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3268 if test "x$LINE" != x
; then
3269 eval "DEFAULT_$LINE"
3274 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3278 eval "$ac_cv_use_sdl"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3283 if test "$wxUSE_LIBSDL" = yes; then
3284 echo "$as_me:$LINENO: result: yes" >&5
3285 echo "${ECHO_T}yes" >&6
3287 echo "$as_me:$LINENO: result: no" >&5
3288 echo "${ECHO_T}no" >&6
3293 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3294 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3297 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3298 if test "${with_gnomeprint+set}" = set; then
3299 withval
="$with_gnomeprint"
3301 if test "$withval" = yes; then
3302 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3304 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3309 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3310 if test "x$LINE" != x
; then
3311 eval "DEFAULT_$LINE"
3316 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3320 eval "$ac_cv_use_gnomeprint"
3321 if test "$no_cache" != 1; then
3322 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3325 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3326 echo "$as_me:$LINENO: result: yes" >&5
3327 echo "${ECHO_T}yes" >&6
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3335 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3336 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3339 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3340 if test "${with_gnomevfs+set}" = set; then
3341 withval
="$with_gnomevfs"
3343 if test "$withval" = yes; then
3344 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3346 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3351 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x
; then
3353 eval "DEFAULT_$LINE"
3358 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3362 eval "$ac_cv_use_gnomevfs"
3363 if test "$no_cache" != 1; then
3364 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3367 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3368 echo "$as_me:$LINENO: result: yes" >&5
3369 echo "${ECHO_T}yes" >&6
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3377 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3378 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3381 # Check whether --with-hildon or --without-hildon was given.
3382 if test "${with_hildon+set}" = set; then
3383 withval
="$with_hildon"
3385 if test "$withval" = yes; then
3386 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3388 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3393 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x
; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3404 eval "$ac_cv_use_hildon"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_LIBHILDON" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3419 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3420 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3423 # Check whether --with-opengl or --without-opengl was given.
3424 if test "${with_opengl+set}" = set; then
3425 withval
="$with_opengl"
3427 if test "$withval" = yes; then
3428 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3430 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3435 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3436 if test "x$LINE" != x
; then
3437 eval "DEFAULT_$LINE"
3442 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3446 eval "$ac_cv_use_opengl"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3451 if test "$wxUSE_OPENGL" = yes; then
3452 echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3464 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3465 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3468 # Check whether --with-dmalloc or --without-dmalloc was given.
3469 if test "${with_dmalloc+set}" = set; then
3470 withval
="$with_dmalloc"
3472 if test "$withval" = yes; then
3473 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3475 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3480 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x
; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3491 eval "$ac_cv_use_dmalloc"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3496 if test "$wxUSE_DMALLOC" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3505 echo "$as_me:$LINENO: checking for --with-regex" >&5
3506 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3509 # Check whether --with-regex or --without-regex was given.
3510 if test "${with_regex+set}" = set; then
3511 withval
="$with_regex"
3513 if test "$withval" = yes; then
3514 ac_cv_use_regex
='wxUSE_REGEX=yes'
3515 elif test "$withval" = no
; then
3516 ac_cv_use_regex
='wxUSE_REGEX=no'
3517 elif test "$withval" = sys
; then
3518 ac_cv_use_regex
='wxUSE_REGEX=sys'
3519 elif test "$withval" = builtin; then
3520 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3522 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3523 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3524 { (exit 1); exit 1; }; }
3529 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3540 eval "$ac_cv_use_regex"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_REGEX" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 elif test "$wxUSE_REGEX" = no
; then
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 elif test "$wxUSE_REGEX" = sys
; then
3552 echo "$as_me:$LINENO: result: system version" >&5
3553 echo "${ECHO_T}system version" >&6
3554 elif test "$wxUSE_REGEX" = builtin; then
3555 echo "$as_me:$LINENO: result: builtin version" >&5
3556 echo "${ECHO_T}builtin version" >&6
3558 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3559 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3560 { (exit 1); exit 1; }; }
3564 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3565 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3568 # Check whether --with-zlib or --without-zlib was given.
3569 if test "${with_zlib+set}" = set; then
3570 withval
="$with_zlib"
3572 if test "$withval" = yes; then
3573 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3574 elif test "$withval" = no
; then
3575 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3576 elif test "$withval" = sys
; then
3577 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3578 elif test "$withval" = builtin; then
3579 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3581 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3582 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3583 { (exit 1); exit 1; }; }
3588 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3589 if test "x$LINE" != x
; then
3590 eval "DEFAULT_$LINE"
3595 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3599 eval "$ac_cv_use_zlib"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3604 if test "$wxUSE_ZLIB" = yes; then
3605 echo "$as_me:$LINENO: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6
3607 elif test "$wxUSE_ZLIB" = no
; then
3608 echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3610 elif test "$wxUSE_ZLIB" = sys
; then
3611 echo "$as_me:$LINENO: result: system version" >&5
3612 echo "${ECHO_T}system version" >&6
3613 elif test "$wxUSE_ZLIB" = builtin; then
3614 echo "$as_me:$LINENO: result: builtin version" >&5
3615 echo "${ECHO_T}builtin version" >&6
3617 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3618 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3619 { (exit 1); exit 1; }; }
3623 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3624 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3627 # Check whether --with-odbc or --without-odbc was given.
3628 if test "${with_odbc+set}" = set; then
3629 withval
="$with_odbc"
3631 if test "$withval" = yes; then
3632 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3633 elif test "$withval" = no
; then
3634 ac_cv_use_odbc
='wxUSE_ODBC=no'
3635 elif test "$withval" = sys
; then
3636 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3637 elif test "$withval" = builtin; then
3638 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3647 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x
; then
3649 eval "DEFAULT_$LINE"
3654 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3658 eval "$ac_cv_use_odbc"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_ODBC" = yes; then
3664 echo "$as_me:$LINENO: result: yes" >&5
3665 echo "${ECHO_T}yes" >&6
3666 elif test "$wxUSE_ODBC" = no
; then
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3669 elif test "$wxUSE_ODBC" = sys
; then
3670 echo "$as_me:$LINENO: result: system version" >&5
3671 echo "${ECHO_T}system version" >&6
3672 elif test "$wxUSE_ODBC" = builtin; then
3673 echo "$as_me:$LINENO: result: builtin version" >&5
3674 echo "${ECHO_T}builtin version" >&6
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3682 echo "$as_me:$LINENO: checking for --with-expat" >&5
3683 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3686 # Check whether --with-expat or --without-expat was given.
3687 if test "${with_expat+set}" = set; then
3688 withval
="$with_expat"
3690 if test "$withval" = yes; then
3691 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3692 elif test "$withval" = no
; then
3693 ac_cv_use_expat
='wxUSE_EXPAT=no'
3694 elif test "$withval" = sys
; then
3695 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3696 elif test "$withval" = builtin; then
3697 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3699 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3700 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3701 { (exit 1); exit 1; }; }
3706 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x
; then
3708 eval "DEFAULT_$LINE"
3713 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3717 eval "$ac_cv_use_expat"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3722 if test "$wxUSE_EXPAT" = yes; then
3723 echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6
3725 elif test "$wxUSE_EXPAT" = no
; then
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3728 elif test "$wxUSE_EXPAT" = sys
; then
3729 echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6
3731 elif test "$wxUSE_EXPAT" = builtin; then
3732 echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3745 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3747 # Check whether --enable-shared or --disable-shared was given.
3748 if test "${enable_shared+set}" = set; then
3749 enableval
="$enable_shared"
3751 if test "$enableval" = yes; then
3752 ac_cv_use_shared
='wxUSE_SHARED=yes'
3754 ac_cv_use_shared
='wxUSE_SHARED=no'
3759 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x
; then
3761 eval "DEFAULT_$LINE"
3766 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3770 eval "$ac_cv_use_shared"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_SHARED" = yes; then
3776 echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6
3779 echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6
3785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3786 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3788 # Check whether --enable-optimise or --disable-optimise was given.
3789 if test "${enable_optimise+set}" = set; then
3790 enableval
="$enable_optimise"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3795 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3800 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3811 eval "$ac_cv_use_optimise"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_OPTIMISE" = yes; then
3817 echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6
3820 echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6
3826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3827 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3829 # Check whether --enable-debug or --disable-debug was given.
3830 if test "${enable_debug+set}" = set; then
3831 enableval
="$enable_debug"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3836 ac_cv_use_debug
='wxUSE_DEBUG=no'
3841 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3852 eval "$ac_cv_use_debug"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3857 if test "$wxUSE_DEBUG" = yes; then
3858 echo "$as_me:$LINENO: result: yes" >&5
3859 echo "${ECHO_T}yes" >&6
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3868 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3870 # Check whether --enable-stl or --disable-stl was given.
3871 if test "${enable_stl+set}" = set; then
3872 enableval
="$enable_stl"
3874 if test "$enableval" = yes; then
3875 ac_cv_use_stl
='wxUSE_STL=yes'
3877 ac_cv_use_stl
='wxUSE_STL=no'
3882 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x
; then
3884 eval "DEFAULT_$LINE"
3889 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3893 eval "$ac_cv_use_stl"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3898 if test "$wxUSE_STL" = yes; then
3899 echo "$as_me:$LINENO: result: yes" >&5
3900 echo "${ECHO_T}yes" >&6
3902 echo "$as_me:$LINENO: result: no" >&5
3903 echo "${ECHO_T}no" >&6
3906 if test "$USE_OS2" = "1"; then
3907 DEFAULT_wxUSE_OMF
=no
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3913 # Check whether --enable-omf or --disable-omf was given.
3914 if test "${enable_omf+set}" = set; then
3915 enableval
="$enable_omf"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_omf
='wxUSE_OMF=yes'
3920 ac_cv_use_omf
='wxUSE_OMF=no'
3925 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3936 eval "$ac_cv_use_omf"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_OMF" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3951 if test "$wxUSE_DEBUG" = "yes"; then
3952 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3953 DEFAULT_wxUSE_DEBUG_INFO
=yes
3955 elif test "$wxUSE_DEBUG" = "no"; then
3956 DEFAULT_wxUSE_DEBUG_FLAG
=no
3957 DEFAULT_wxUSE_DEBUG_INFO
=no
3963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3964 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3966 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3967 if test "${enable_debug_flag+set}" = set; then
3968 enableval
="$enable_debug_flag"
3970 if test "$enableval" = yes; then
3971 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3973 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3978 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x
; then
3980 eval "DEFAULT_$LINE"
3985 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3989 eval "$ac_cv_use_debug_flag"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3994 if test "$wxUSE_DEBUG_FLAG" = yes; then
3995 echo "$as_me:$LINENO: result: yes" >&5
3996 echo "${ECHO_T}yes" >&6
3998 echo "$as_me:$LINENO: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4005 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4007 # Check whether --enable-debug_info or --disable-debug_info was given.
4008 if test "${enable_debug_info+set}" = set; then
4009 enableval
="$enable_debug_info"
4011 if test "$enableval" = yes; then
4012 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4014 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4019 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4020 if test "x$LINE" != x
; then
4021 eval "DEFAULT_$LINE"
4026 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4030 eval "$ac_cv_use_debug_info"
4031 if test "$no_cache" != 1; then
4032 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4035 if test "$wxUSE_DEBUG_INFO" = yes; then
4036 echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6
4039 echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6
4045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4046 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4048 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4049 if test "${enable_debug_gdb+set}" = set; then
4050 enableval
="$enable_debug_gdb"
4052 if test "$enableval" = yes; then
4053 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4055 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4060 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x
; then
4062 eval "DEFAULT_$LINE"
4067 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4071 eval "$ac_cv_use_debug_gdb"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4076 if test "$wxUSE_DEBUG_GDB" = yes; then
4077 echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6
4080 echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4089 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4090 if test "${enable_debug_cntxt+set}" = set; then
4091 enableval
="$enable_debug_cntxt"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4096 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4101 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4112 eval "$ac_cv_use_debug_cntxt"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4117 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4130 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4131 if test "${enable_mem_tracing+set}" = set; then
4132 enableval
="$enable_mem_tracing"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4137 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4142 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x
; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4153 eval "$ac_cv_use_mem_tracing"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4158 if test "$wxUSE_MEM_TRACING" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4169 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4171 # Check whether --enable-profile or --disable-profile was given.
4172 if test "${enable_profile+set}" = set; then
4173 enableval
="$enable_profile"
4175 if test "$enableval" = yes; then
4176 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4178 ac_cv_use_profile
='wxUSE_PROFILE=no'
4183 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x
; then
4185 eval "DEFAULT_$LINE"
4190 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4194 eval "$ac_cv_use_profile"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4199 if test "$wxUSE_PROFILE" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4210 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4212 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4213 if test "${enable_no_rtti+set}" = set; then
4214 enableval
="$enable_no_rtti"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4219 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4224 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4235 eval "$ac_cv_use_no_rtti"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4240 if test "$wxUSE_NO_RTTI" = yes; then
4241 echo "$as_me:$LINENO: result: yes" >&5
4242 echo "${ECHO_T}yes" >&6
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4251 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4253 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4254 if test "${enable_no_exceptions+set}" = set; then
4255 enableval
="$enable_no_exceptions"
4257 if test "$enableval" = yes; then
4258 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4260 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4265 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x
; then
4267 eval "DEFAULT_$LINE"
4272 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4276 eval "$ac_cv_use_no_exceptions"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4292 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4294 # Check whether --enable-permissive or --disable-permissive was given.
4295 if test "${enable_permissive+set}" = set; then
4296 enableval
="$enable_permissive"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4301 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4306 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4317 eval "$ac_cv_use_permissive"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_PERMISSIVE" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4335 # Check whether --enable-no_deps or --disable-no_deps was given.
4336 if test "${enable_no_deps+set}" = set; then
4337 enableval
="$enable_no_deps"
4339 if test "$enableval" = yes; then
4340 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4342 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4347 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x
; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4358 eval "$ac_cv_use_no_deps"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_NO_DEPS" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4376 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4377 if test "${enable_universal_binary+set}" = set; then
4378 enableval
="$enable_universal_binary"
4380 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4384 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4387 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4390 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4395 eval "$wx_cv_use_universal_binary"
4396 if test "$no_cache" != 1; then
4397 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4400 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4401 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4409 # Check whether --enable-compat24 or --disable-compat24 was given.
4410 if test "${enable_compat24+set}" = set; then
4411 enableval
="$enable_compat24"
4413 if test "$enableval" = yes; then
4414 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4416 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4421 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x
; then
4423 eval "DEFAULT_$LINE"
4428 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4432 eval "$ac_cv_use_compat24"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4437 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4438 echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4446 enablestring
=disable
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4450 # Check whether --enable-compat26 or --disable-compat26 was given.
4451 if test "${enable_compat26+set}" = set; then
4452 enableval
="$enable_compat26"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4457 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4462 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4473 eval "$ac_cv_use_compat26"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4478 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4492 # Check whether --enable-rpath or --disable-rpath was given.
4493 if test "${enable_rpath+set}" = set; then
4494 enableval
="$enable_rpath"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4499 ac_cv_use_rpath
='wxUSE_RPATH=no'
4504 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4515 eval "$ac_cv_use_rpath"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_RPATH" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4536 # Check whether --enable-intl or --disable-intl was given.
4537 if test "${enable_intl+set}" = set; then
4538 enableval
="$enable_intl"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_intl
='wxUSE_INTL=yes'
4543 ac_cv_use_intl
='wxUSE_INTL=no'
4548 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4559 eval "$ac_cv_use_intl"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_INTL" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4577 # Check whether --enable-config or --disable-config was given.
4578 if test "${enable_config+set}" = set; then
4579 enableval
="$enable_config"
4581 if test "$enableval" = yes; then
4582 ac_cv_use_config
='wxUSE_CONFIG=yes'
4584 ac_cv_use_config
='wxUSE_CONFIG=no'
4589 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4596 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4600 eval "$ac_cv_use_config"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4605 if test "$wxUSE_CONFIG" = yes; then
4606 echo "$as_me:$LINENO: result: yes" >&5
4607 echo "${ECHO_T}yes" >&6
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4619 # Check whether --enable-protocols or --disable-protocols was given.
4620 if test "${enable_protocols+set}" = set; then
4621 enableval
="$enable_protocols"
4623 if test "$enableval" = yes; then
4624 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4626 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4631 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4632 if test "x$LINE" != x
; then
4633 eval "DEFAULT_$LINE"
4638 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4642 eval "$ac_cv_use_protocols"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4647 if test "$wxUSE_PROTOCOL" = yes; then
4648 echo "$as_me:$LINENO: result: yes" >&5
4649 echo "${ECHO_T}yes" >&6
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6
4657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4660 # Check whether --enable-ftp or --disable-ftp was given.
4661 if test "${enable_ftp+set}" = set; then
4662 enableval
="$enable_ftp"
4664 if test "$enableval" = yes; then
4665 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4667 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4672 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x
; then
4674 eval "DEFAULT_$LINE"
4679 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4683 eval "$ac_cv_use_ftp"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4688 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4689 echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4701 # Check whether --enable-http or --disable-http was given.
4702 if test "${enable_http+set}" = set; then
4703 enableval
="$enable_http"
4705 if test "$enableval" = yes; then
4706 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4708 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4713 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x
; then
4715 eval "DEFAULT_$LINE"
4720 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4724 eval "$ac_cv_use_http"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4729 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4730 echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6
4733 echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6
4739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4742 # Check whether --enable-fileproto or --disable-fileproto was given.
4743 if test "${enable_fileproto+set}" = set; then
4744 enableval
="$enable_fileproto"
4746 if test "$enableval" = yes; then
4747 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4749 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4754 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x
; then
4756 eval "DEFAULT_$LINE"
4761 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4765 eval "$ac_cv_use_fileproto"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4771 echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6
4774 echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6
4780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4781 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4783 # Check whether --enable-sockets or --disable-sockets was given.
4784 if test "${enable_sockets+set}" = set; then
4785 enableval
="$enable_sockets"
4787 if test "$enableval" = yes; then
4788 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4790 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4795 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x
; then
4797 eval "DEFAULT_$LINE"
4802 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4806 eval "$ac_cv_use_sockets"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4811 if test "$wxUSE_SOCKETS" = yes; then
4812 echo "$as_me:$LINENO: result: yes" >&5
4813 echo "${ECHO_T}yes" >&6
4815 echo "$as_me:$LINENO: result: no" >&5
4816 echo "${ECHO_T}no" >&6
4821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4822 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4824 # Check whether --enable-ole or --disable-ole was given.
4825 if test "${enable_ole+set}" = set; then
4826 enableval
="$enable_ole"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_ole
='wxUSE_OLE=yes'
4831 ac_cv_use_ole
='wxUSE_OLE=no'
4836 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4847 eval "$ac_cv_use_ole"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4852 if test "$wxUSE_OLE" = yes; then
4853 echo "$as_me:$LINENO: result: yes" >&5
4854 echo "${ECHO_T}yes" >&6
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4863 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4865 # Check whether --enable-dataobj or --disable-dataobj was given.
4866 if test "${enable_dataobj+set}" = set; then
4867 enableval
="$enable_dataobj"
4869 if test "$enableval" = yes; then
4870 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4872 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4877 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4884 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4888 eval "$ac_cv_use_dataobj"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_DATAOBJ" = yes; then
4894 echo "$as_me:$LINENO: result: yes" >&5
4895 echo "${ECHO_T}yes" >&6
4897 echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4907 # Check whether --enable-ipc or --disable-ipc was given.
4908 if test "${enable_ipc+set}" = set; then
4909 enableval
="$enable_ipc"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_ipc
='wxUSE_IPC=yes'
4914 ac_cv_use_ipc
='wxUSE_IPC=no'
4919 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x
; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4930 eval "$ac_cv_use_ipc"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_IPC" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4949 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4950 if test "${enable_apple_ieee+set}" = set; then
4951 enableval
="$enable_apple_ieee"
4953 if test "$enableval" = yes; then
4954 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4956 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4961 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x
; then
4963 eval "DEFAULT_$LINE"
4968 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4972 eval "$ac_cv_use_apple_ieee"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4977 if test "$wxUSE_APPLE_IEEE" = yes; then
4978 echo "$as_me:$LINENO: result: yes" >&5
4979 echo "${ECHO_T}yes" >&6
4981 echo "$as_me:$LINENO: result: no" >&5
4982 echo "${ECHO_T}no" >&6
4987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4990 # Check whether --enable-arcstream or --disable-arcstream was given.
4991 if test "${enable_arcstream+set}" = set; then
4992 enableval
="$enable_arcstream"
4994 if test "$enableval" = yes; then
4995 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4997 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5002 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x
; then
5004 eval "DEFAULT_$LINE"
5009 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5013 eval "$ac_cv_use_arcstream"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5018 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5019 echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6
5022 echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6
5028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5031 # Check whether --enable-backtrace or --disable-backtrace was given.
5032 if test "${enable_backtrace+set}" = set; then
5033 enableval
="$enable_backtrace"
5035 if test "$enableval" = yes; then
5036 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5038 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5043 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x
; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5054 eval "$ac_cv_use_backtrace"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5059 if test "$wxUSE_STACKWALKER" = yes; then
5060 echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6
5063 echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6
5069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5072 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5073 if test "${enable_catch_segvs+set}" = set; then
5074 enableval
="$enable_catch_segvs"
5076 if test "$enableval" = yes; then
5077 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5079 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5084 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x
; then
5086 eval "DEFAULT_$LINE"
5091 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5095 eval "$ac_cv_use_catch_segvs"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5100 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5101 echo "$as_me:$LINENO: result: yes" >&5
5102 echo "${ECHO_T}yes" >&6
5104 echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6
5110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5113 # Check whether --enable-cmdline or --disable-cmdline was given.
5114 if test "${enable_cmdline+set}" = set; then
5115 enableval
="$enable_cmdline"
5117 if test "$enableval" = yes; then
5118 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5120 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5125 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x
; then
5127 eval "DEFAULT_$LINE"
5132 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5136 eval "$ac_cv_use_cmdline"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5141 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5142 echo "$as_me:$LINENO: result: yes" >&5
5143 echo "${ECHO_T}yes" >&6
5145 echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6
5151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5154 # Check whether --enable-datetime or --disable-datetime was given.
5155 if test "${enable_datetime+set}" = set; then
5156 enableval
="$enable_datetime"
5158 if test "$enableval" = yes; then
5159 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5161 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5166 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x
; then
5168 eval "DEFAULT_$LINE"
5173 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5177 eval "$ac_cv_use_datetime"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5182 if test "$wxUSE_DATETIME" = yes; then
5183 echo "$as_me:$LINENO: result: yes" >&5
5184 echo "${ECHO_T}yes" >&6
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5195 # Check whether --enable-debugreport or --disable-debugreport was given.
5196 if test "${enable_debugreport+set}" = set; then
5197 enableval
="$enable_debugreport"
5199 if test "$enableval" = yes; then
5200 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5202 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5207 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x
; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5218 eval "$ac_cv_use_debugreport"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5223 if test "$wxUSE_DEBUGREPORT" = yes; then
5224 echo "$as_me:$LINENO: result: yes" >&5
5225 echo "${ECHO_T}yes" >&6
5227 echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6
5233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5236 # Check whether --enable-dialupman or --disable-dialupman was given.
5237 if test "${enable_dialupman+set}" = set; then
5238 enableval
="$enable_dialupman"
5240 if test "$enableval" = yes; then
5241 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5243 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5248 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5259 eval "$ac_cv_use_dialupman"
5260 if test "$no_cache" != 1; then
5261 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5264 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5265 echo "$as_me:$LINENO: result: yes" >&5
5266 echo "${ECHO_T}yes" >&6
5268 echo "$as_me:$LINENO: result: no" >&5
5269 echo "${ECHO_T}no" >&6
5274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5275 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5277 # Check whether --enable-dynlib or --disable-dynlib was given.
5278 if test "${enable_dynlib+set}" = set; then
5279 enableval
="$enable_dynlib"
5281 if test "$enableval" = yes; then
5282 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5284 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5289 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5290 if test "x$LINE" != x
; then
5291 eval "DEFAULT_$LINE"
5296 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5300 eval "$ac_cv_use_dynlib"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5305 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5306 echo "$as_me:$LINENO: result: yes" >&5
5307 echo "${ECHO_T}yes" >&6
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5316 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5318 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5319 if test "${enable_dynamicloader+set}" = set; then
5320 enableval
="$enable_dynamicloader"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5325 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5330 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5341 eval "$ac_cv_use_dynamicloader"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5346 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5347 echo "$as_me:$LINENO: result: yes" >&5
5348 echo "${ECHO_T}yes" >&6
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5359 # Check whether --enable-exceptions or --disable-exceptions was given.
5360 if test "${enable_exceptions+set}" = set; then
5361 enableval
="$enable_exceptions"
5363 if test "$enableval" = yes; then
5364 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5366 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5371 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x
; then
5373 eval "DEFAULT_$LINE"
5378 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5382 eval "$ac_cv_use_exceptions"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_EXCEPTIONS" = yes; then
5388 echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6
5391 echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6
5397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5400 # Check whether --enable-ffile or --disable-ffile was given.
5401 if test "${enable_ffile+set}" = set; then
5402 enableval
="$enable_ffile"
5404 if test "$enableval" = yes; then
5405 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5407 ac_cv_use_ffile
='wxUSE_FFILE=no'
5412 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x
; then
5414 eval "DEFAULT_$LINE"
5419 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5423 eval "$ac_cv_use_ffile"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5428 if test "$wxUSE_FFILE" = yes; then
5429 echo "$as_me:$LINENO: result: yes" >&5
5430 echo "${ECHO_T}yes" >&6
5432 echo "$as_me:$LINENO: result: no" >&5
5433 echo "${ECHO_T}no" >&6
5438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5441 # Check whether --enable-file or --disable-file was given.
5442 if test "${enable_file+set}" = set; then
5443 enableval
="$enable_file"
5445 if test "$enableval" = yes; then
5446 ac_cv_use_file
='wxUSE_FILE=yes'
5448 ac_cv_use_file
='wxUSE_FILE=no'
5453 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x
; then
5455 eval "DEFAULT_$LINE"
5460 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5464 eval "$ac_cv_use_file"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_FILE" = yes; then
5470 echo "$as_me:$LINENO: result: yes" >&5
5471 echo "${ECHO_T}yes" >&6
5473 echo "$as_me:$LINENO: result: no" >&5
5474 echo "${ECHO_T}no" >&6
5479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5480 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5482 # Check whether --enable-filesystem or --disable-filesystem was given.
5483 if test "${enable_filesystem+set}" = set; then
5484 enableval
="$enable_filesystem"
5486 if test "$enableval" = yes; then
5487 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5489 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5494 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5501 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5505 eval "$ac_cv_use_filesystem"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5510 if test "$wxUSE_FILESYSTEM" = yes; then
5511 echo "$as_me:$LINENO: result: yes" >&5
5512 echo "${ECHO_T}yes" >&6
5514 echo "$as_me:$LINENO: result: no" >&5
5515 echo "${ECHO_T}no" >&6
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5523 # Check whether --enable-fontmap or --disable-fontmap was given.
5524 if test "${enable_fontmap+set}" = set; then
5525 enableval
="$enable_fontmap"
5527 if test "$enableval" = yes; then
5528 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5530 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5535 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x
; then
5537 eval "DEFAULT_$LINE"
5542 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5546 eval "$ac_cv_use_fontmap"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5551 if test "$wxUSE_FONTMAP" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553 echo "${ECHO_T}yes" >&6
5555 echo "$as_me:$LINENO: result: no" >&5
5556 echo "${ECHO_T}no" >&6
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5564 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5565 if test "${enable_fs_inet+set}" = set; then
5566 enableval
="$enable_fs_inet"
5568 if test "$enableval" = yes; then
5569 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5571 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5576 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5583 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5587 eval "$ac_cv_use_fs_inet"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5592 if test "$wxUSE_FS_INET" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594 echo "${ECHO_T}yes" >&6
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5605 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5606 if test "${enable_fs_zip+set}" = set; then
5607 enableval
="$enable_fs_zip"
5609 if test "$enableval" = yes; then
5610 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5612 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5617 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x
; then
5619 eval "DEFAULT_$LINE"
5624 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5628 eval "$ac_cv_use_fs_zip"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5633 if test "$wxUSE_FS_ZIP" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635 echo "${ECHO_T}yes" >&6
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5646 # Check whether --enable-geometry or --disable-geometry was given.
5647 if test "${enable_geometry+set}" = set; then
5648 enableval
="$enable_geometry"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5653 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5658 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5669 eval "$ac_cv_use_geometry"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5674 if test "$wxUSE_GEOMETRY" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676 echo "${ECHO_T}yes" >&6
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5687 # Check whether --enable-log or --disable-log was given.
5688 if test "${enable_log+set}" = set; then
5689 enableval
="$enable_log"
5691 if test "$enableval" = yes; then
5692 ac_cv_use_log
='wxUSE_LOG=yes'
5694 ac_cv_use_log
='wxUSE_LOG=no'
5699 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x
; then
5701 eval "DEFAULT_$LINE"
5706 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5710 eval "$ac_cv_use_log"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5715 if test "$wxUSE_LOG" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5728 # Check whether --enable-longlong or --disable-longlong was given.
5729 if test "${enable_longlong+set}" = set; then
5730 enableval
="$enable_longlong"
5732 if test "$enableval" = yes; then
5733 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5735 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5740 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x
; then
5742 eval "DEFAULT_$LINE"
5747 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5751 eval "$ac_cv_use_longlong"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5756 if test "$wxUSE_LONGLONG" = yes; then
5757 echo "$as_me:$LINENO: result: yes" >&5
5758 echo "${ECHO_T}yes" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5769 # Check whether --enable-mimetype or --disable-mimetype was given.
5770 if test "${enable_mimetype+set}" = set; then
5771 enableval
="$enable_mimetype"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5776 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5781 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x
; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5792 eval "$ac_cv_use_mimetype"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5797 if test "$wxUSE_MIMETYPE" = yes; then
5798 echo "$as_me:$LINENO: result: yes" >&5
5799 echo "${ECHO_T}yes" >&6
5801 echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6
5807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5810 # Check whether --enable-mslu or --disable-mslu was given.
5811 if test "${enable_mslu+set}" = set; then
5812 enableval
="$enable_mslu"
5814 if test "$enableval" = yes; then
5815 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5817 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5822 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5823 if test "x$LINE" != x
; then
5824 eval "DEFAULT_$LINE"
5829 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5833 eval "$ac_cv_use_mslu"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5838 if test "$wxUSE_UNICODE_MSLU" = yes; then
5839 echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5851 # Check whether --enable-snglinst or --disable-snglinst was given.
5852 if test "${enable_snglinst+set}" = set; then
5853 enableval
="$enable_snglinst"
5855 if test "$enableval" = yes; then
5856 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5858 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5863 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5864 if test "x$LINE" != x
; then
5865 eval "DEFAULT_$LINE"
5870 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5874 eval "$ac_cv_use_snglinst"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5879 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5880 echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5892 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5893 if test "${enable_std_iostreams+set}" = set; then
5894 enableval
="$enable_std_iostreams"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5899 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5904 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5915 eval "$ac_cv_use_std_iostreams"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5920 if test "$wxUSE_STD_IOSTREAM" = yes; then
5921 echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5933 # Check whether --enable-std_string or --disable-std_string was given.
5934 if test "${enable_std_string+set}" = set; then
5935 enableval
="$enable_std_string"
5937 if test "$enableval" = yes; then
5938 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5940 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5945 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5946 if test "x$LINE" != x
; then
5947 eval "DEFAULT_$LINE"
5952 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5956 eval "$ac_cv_use_std_string"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_STD_STRING" = yes; then
5962 echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6
5965 echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6
5971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5974 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5975 if test "${enable_stdpaths+set}" = set; then
5976 enableval
="$enable_stdpaths"
5978 if test "$enableval" = yes; then
5979 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5981 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5986 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5987 if test "x$LINE" != x
; then
5988 eval "DEFAULT_$LINE"
5993 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5997 eval "$ac_cv_use_stdpaths"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6002 if test "$wxUSE_STDPATHS" = yes; then
6003 echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6
6006 echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6015 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6016 if test "${enable_stopwatch+set}" = set; then
6017 enableval
="$enable_stopwatch"
6019 if test "$enableval" = yes; then
6020 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6022 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6027 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x
; then
6029 eval "DEFAULT_$LINE"
6034 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6038 eval "$ac_cv_use_stopwatch"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_STOPWATCH" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6056 # Check whether --enable-streams or --disable-streams was given.
6057 if test "${enable_streams+set}" = set; then
6058 enableval
="$enable_streams"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6063 ac_cv_use_streams
='wxUSE_STREAMS=no'
6068 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x
; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6079 eval "$ac_cv_use_streams"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_STREAMS" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6097 # Check whether --enable-system_options or --disable-system_options was given.
6098 if test "${enable_system_options+set}" = set; then
6099 enableval
="$enable_system_options"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6104 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6109 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x
; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6120 eval "$ac_cv_use_system_options"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6138 # Check whether --enable-textbuf or --disable-textbuf was given.
6139 if test "${enable_textbuf+set}" = set; then
6140 enableval
="$enable_textbuf"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6145 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6150 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6161 eval "$ac_cv_use_textbuf"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_TEXTBUFFER" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6179 # Check whether --enable-textfile or --disable-textfile was given.
6180 if test "${enable_textfile+set}" = set; then
6181 enableval
="$enable_textfile"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6186 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6191 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6202 eval "$ac_cv_use_textfile"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_TEXTFILE" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6220 # Check whether --enable-timer or --disable-timer was given.
6221 if test "${enable_timer+set}" = set; then
6222 enableval
="$enable_timer"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_timer
='wxUSE_TIMER=yes'
6227 ac_cv_use_timer
='wxUSE_TIMER=no'
6232 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6243 eval "$ac_cv_use_timer"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_TIMER" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6261 # Check whether --enable-unicode or --disable-unicode was given.
6262 if test "${enable_unicode+set}" = set; then
6263 enableval
="$enable_unicode"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6268 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6273 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6284 eval "$ac_cv_use_unicode"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_UNICODE" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6302 # Check whether --enable-sound or --disable-sound was given.
6303 if test "${enable_sound+set}" = set; then
6304 enableval
="$enable_sound"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_sound
='wxUSE_SOUND=yes'
6309 ac_cv_use_sound
='wxUSE_SOUND=no'
6314 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6325 eval "$ac_cv_use_sound"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_SOUND" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6343 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6344 if test "${enable_mediactrl+set}" = set; then
6345 enableval
="$enable_mediactrl"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6350 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6355 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6366 eval "$ac_cv_use_mediactrl"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_MEDIACTRL" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6384 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6385 if test "${enable_gstreamer8+set}" = set; then
6386 enableval
="$enable_gstreamer8"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6391 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6396 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6407 eval "$ac_cv_use_gstreamer8"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_GSTREAMER8" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6425 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6426 if test "${enable_printfposparam+set}" = set; then
6427 enableval
="$enable_printfposparam"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6432 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6437 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x
; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6448 eval "$ac_cv_use_printfposparam"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6466 # Check whether --enable-zipstream or --disable-zipstream was given.
6467 if test "${enable_zipstream+set}" = set; then
6468 enableval
="$enable_zipstream"
6470 if test "$enableval" = yes; then
6471 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6473 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6478 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x
; then
6480 eval "DEFAULT_$LINE"
6485 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6489 eval "$ac_cv_use_zipstream"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6494 if test "$wxUSE_ZIPSTREAM" = yes; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6498 echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6506 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6508 # Check whether --enable-url or --disable-url was given.
6509 if test "${enable_url+set}" = set; then
6510 enableval
="$enable_url"
6512 if test "$enableval" = yes; then
6513 ac_cv_use_url
='wxUSE_URL=yes'
6515 ac_cv_use_url
='wxUSE_URL=no'
6520 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x
; then
6522 eval "DEFAULT_$LINE"
6527 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6531 eval "$ac_cv_use_url"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6536 if test "$wxUSE_URL" = yes; then
6537 echo "$as_me:$LINENO: result: yes" >&5
6538 echo "${ECHO_T}yes" >&6
6540 echo "$as_me:$LINENO: result: no" >&5
6541 echo "${ECHO_T}no" >&6
6546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6547 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6549 # Check whether --enable-protocol or --disable-protocol was given.
6550 if test "${enable_protocol+set}" = set; then
6551 enableval
="$enable_protocol"
6553 if test "$enableval" = yes; then
6554 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6556 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6561 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6562 if test "x$LINE" != x
; then
6563 eval "DEFAULT_$LINE"
6568 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6572 eval "$ac_cv_use_protocol"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6577 if test "$wxUSE_PROTOCOL" = yes; then
6578 echo "$as_me:$LINENO: result: yes" >&5
6579 echo "${ECHO_T}yes" >&6
6581 echo "$as_me:$LINENO: result: no" >&5
6582 echo "${ECHO_T}no" >&6
6587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6590 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6591 if test "${enable_protocol_http+set}" = set; then
6592 enableval
="$enable_protocol_http"
6594 if test "$enableval" = yes; then
6595 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6597 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6602 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6603 if test "x$LINE" != x
; then
6604 eval "DEFAULT_$LINE"
6609 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6613 eval "$ac_cv_use_protocol_http"
6614 if test "$no_cache" != 1; then
6615 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6618 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6619 echo "$as_me:$LINENO: result: yes" >&5
6620 echo "${ECHO_T}yes" >&6
6622 echo "$as_me:$LINENO: result: no" >&5
6623 echo "${ECHO_T}no" >&6
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6631 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6632 if test "${enable_protocol_ftp+set}" = set; then
6633 enableval
="$enable_protocol_ftp"
6635 if test "$enableval" = yes; then
6636 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6638 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6643 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x
; then
6645 eval "DEFAULT_$LINE"
6650 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6654 eval "$ac_cv_use_protocol_ftp"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6672 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6673 if test "${enable_protocol_file+set}" = set; then
6674 enableval
="$enable_protocol_file"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6679 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6684 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6695 eval "$ac_cv_use_protocol_file"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6700 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6716 # Check whether --enable-threads or --disable-threads was given.
6717 if test "${enable_threads+set}" = set; then
6718 enableval
="$enable_threads"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_threads
='wxUSE_THREADS=yes'
6723 ac_cv_use_threads
='wxUSE_THREADS=no'
6728 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6739 eval "$ac_cv_use_threads"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_THREADS" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6753 if test "$wxUSE_GUI" = "yes"; then
6758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6761 # Check whether --enable-docview or --disable-docview was given.
6762 if test "${enable_docview+set}" = set; then
6763 enableval
="$enable_docview"
6765 if test "$enableval" = yes; then
6766 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6768 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6773 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x
; then
6775 eval "DEFAULT_$LINE"
6780 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6784 eval "$ac_cv_use_docview"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6789 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6790 echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6
6793 echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6
6799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6802 # Check whether --enable-help or --disable-help was given.
6803 if test "${enable_help+set}" = set; then
6804 enableval
="$enable_help"
6806 if test "$enableval" = yes; then
6807 ac_cv_use_help
='wxUSE_HELP=yes'
6809 ac_cv_use_help
='wxUSE_HELP=no'
6814 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x
; then
6816 eval "DEFAULT_$LINE"
6821 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6825 eval "$ac_cv_use_help"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_HELP" = yes; then
6831 echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6
6834 echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6843 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6844 if test "${enable_mshtmlhelp+set}" = set; then
6845 enableval
="$enable_mshtmlhelp"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6850 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6855 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6866 eval "$ac_cv_use_mshtmlhelp"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_MS_HTML_HELP" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6884 # Check whether --enable-html or --disable-html was given.
6885 if test "${enable_html+set}" = set; then
6886 enableval
="$enable_html"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_html
='wxUSE_HTML=yes'
6891 ac_cv_use_html
='wxUSE_HTML=no'
6896 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6907 eval "$ac_cv_use_html"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_HTML" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6925 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6926 if test "${enable_htmlhelp+set}" = set; then
6927 enableval
="$enable_htmlhelp"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6932 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6937 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6948 eval "$ac_cv_use_htmlhelp"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_WXHTML_HELP" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6966 # Check whether --enable-xrc or --disable-xrc was given.
6967 if test "${enable_xrc+set}" = set; then
6968 enableval
="$enable_xrc"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_xrc
='wxUSE_XRC=yes'
6973 ac_cv_use_xrc
='wxUSE_XRC=no'
6978 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6989 eval "$ac_cv_use_xrc"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_XRC" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7007 # Check whether --enable-aui or --disable-aui was given.
7008 if test "${enable_aui+set}" = set; then
7009 enableval
="$enable_aui"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_aui
='wxUSE_AUI=yes'
7014 ac_cv_use_aui
='wxUSE_AUI=no'
7019 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7030 eval "$ac_cv_use_aui"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_AUI" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7048 # Check whether --enable-constraints or --disable-constraints was given.
7049 if test "${enable_constraints+set}" = set; then
7050 enableval
="$enable_constraints"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7055 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7060 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7071 eval "$ac_cv_use_constraints"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_CONSTRAINTS" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7089 # Check whether --enable-printarch or --disable-printarch was given.
7090 if test "${enable_printarch+set}" = set; then
7091 enableval
="$enable_printarch"
7093 if test "$enableval" = yes; then
7094 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7096 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7101 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x
; then
7103 eval "DEFAULT_$LINE"
7108 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7112 eval "$ac_cv_use_printarch"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7130 # Check whether --enable-mdi or --disable-mdi was given.
7131 if test "${enable_mdi+set}" = set; then
7132 enableval
="$enable_mdi"
7134 if test "$enableval" = yes; then
7135 ac_cv_use_mdi
='wxUSE_MDI=yes'
7137 ac_cv_use_mdi
='wxUSE_MDI=no'
7142 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x
; then
7144 eval "DEFAULT_$LINE"
7149 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7153 eval "$ac_cv_use_mdi"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_MDI" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7171 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7172 if test "${enable_mdidoc+set}" = set; then
7173 enableval
="$enable_mdidoc"
7175 if test "$enableval" = yes; then
7176 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7178 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7183 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x
; then
7185 eval "DEFAULT_$LINE"
7190 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7194 eval "$ac_cv_use_mdidoc"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7212 # Check whether --enable-loggui or --disable-loggui was given.
7213 if test "${enable_loggui+set}" = set; then
7214 enableval
="$enable_loggui"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7219 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7224 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7235 eval "$ac_cv_use_loggui"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_LOGGUI" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7253 # Check whether --enable-logwin or --disable-logwin was given.
7254 if test "${enable_logwin+set}" = set; then
7255 enableval
="$enable_logwin"
7257 if test "$enableval" = yes; then
7258 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7260 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7265 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x
; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7276 eval "$ac_cv_use_logwin"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_LOGWINDOW" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7294 # Check whether --enable-logdialog or --disable-logdialog was given.
7295 if test "${enable_logdialog+set}" = set; then
7296 enableval
="$enable_logdialog"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7301 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7306 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7317 eval "$ac_cv_use_logdialog"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_LOGDIALOG" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7335 # Check whether --enable-webkit or --disable-webkit was given.
7336 if test "${enable_webkit+set}" = set; then
7337 enableval
="$enable_webkit"
7339 if test "$enableval" = yes; then
7340 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7342 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7347 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x
; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7358 eval "$ac_cv_use_webkit"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_WEBKIT" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7376 # Check whether --enable-html or --disable-html was given.
7377 if test "${enable_html+set}" = set; then
7378 enableval
="$enable_html"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7383 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7388 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7399 eval "$ac_cv_use_html"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_RICHTEXT" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7418 # Check whether --enable-postscript or --disable-postscript was given.
7419 if test "${enable_postscript+set}" = set; then
7420 enableval
="$enable_postscript"
7422 if test "$enableval" = yes; then
7423 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7425 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7430 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x
; then
7432 eval "DEFAULT_$LINE"
7437 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7441 eval "$ac_cv_use_postscript"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7446 if test "$wxUSE_POSTSCRIPT" = yes; then
7447 echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6
7450 echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6
7459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7462 # Check whether --enable-prologio or --disable-prologio was given.
7463 if test "${enable_prologio+set}" = set; then
7464 enableval
="$enable_prologio"
7466 if test "$enableval" = yes; then
7467 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7469 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7474 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7475 if test "x$LINE" != x
; then
7476 eval "DEFAULT_$LINE"
7481 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7485 eval "$ac_cv_use_prologio"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7490 if test "$wxUSE_PROLOGIO" = yes; then
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7501 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7503 # Check whether --enable-resources or --disable-resources was given.
7504 if test "${enable_resources+set}" = set; then
7505 enableval
="$enable_resources"
7507 if test "$enableval" = yes; then
7508 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7510 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7515 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7516 if test "x$LINE" != x
; then
7517 eval "DEFAULT_$LINE"
7522 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7526 eval "$ac_cv_use_resources"
7527 if test "$no_cache" != 1; then
7528 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7531 if test "$wxUSE_RESOURCES" = yes; then
7532 echo "$as_me:$LINENO: result: yes" >&5
7533 echo "${ECHO_T}yes" >&6
7535 echo "$as_me:$LINENO: result: no" >&5
7536 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7546 # Check whether --enable-clipboard or --disable-clipboard was given.
7547 if test "${enable_clipboard+set}" = set; then
7548 enableval
="$enable_clipboard"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7553 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7558 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7569 eval "$ac_cv_use_clipboard"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_CLIPBOARD" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7587 # Check whether --enable-dnd or --disable-dnd was given.
7588 if test "${enable_dnd+set}" = set; then
7589 enableval
="$enable_dnd"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7594 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7599 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7610 eval "$ac_cv_use_dnd"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7628 # Check whether --enable-metafile or --disable-metafile was given.
7629 if test "${enable_metafile+set}" = set; then
7630 enableval
="$enable_metafile"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7635 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7640 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7651 eval "$ac_cv_use_metafile"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_METAFILE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7672 # Check whether --enable-controls or --disable-controls was given.
7673 if test "${enable_controls+set}" = set; then
7674 enableval
="$enable_controls"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7679 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7684 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7695 eval "$ac_cv_use_controls"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_CONTROLS" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7709 if test "$wxUSE_CONTROLS" = "yes"; then
7710 DEFAULT_wxUSE_ACCEL
=yes
7711 DEFAULT_wxUSE_BMPBUTTON
=yes
7712 DEFAULT_wxUSE_BUTTON
=yes
7713 DEFAULT_wxUSE_CALCTRL
=yes
7714 DEFAULT_wxUSE_CARET
=yes
7715 DEFAULT_wxUSE_COMBOBOX
=yes
7716 DEFAULT_wxUSE_CHECKBOX
=yes
7717 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7718 DEFAULT_wxUSE_CHOICE
=yes
7719 DEFAULT_wxUSE_CHOICEBOOK
=yes
7720 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7721 DEFAULT_wxUSE_COMBOBOX
=yes
7722 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7723 DEFAULT_wxUSE_DISPLAY
=yes
7724 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7725 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7726 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7727 DEFAULT_wxUSE_GAUGE
=yes
7728 DEFAULT_wxUSE_GRID
=yes
7729 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7730 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7731 DEFAULT_wxUSE_IMAGLIST
=yes
7732 DEFAULT_wxUSE_LISTBOOK
=yes
7733 DEFAULT_wxUSE_LISTBOX
=yes
7734 DEFAULT_wxUSE_LISTCTRL
=yes
7735 DEFAULT_wxUSE_NOTEBOOK
=yes
7736 DEFAULT_wxUSE_RADIOBOX
=yes
7737 DEFAULT_wxUSE_RADIOBTN
=yes
7738 DEFAULT_wxUSE_SASH
=yes
7739 DEFAULT_wxUSE_SCROLLBAR
=yes
7740 DEFAULT_wxUSE_SLIDER
=yes
7741 DEFAULT_wxUSE_SPINBTN
=yes
7742 DEFAULT_wxUSE_SPINCTRL
=yes
7743 DEFAULT_wxUSE_SPLITTER
=yes
7744 DEFAULT_wxUSE_STATBMP
=yes
7745 DEFAULT_wxUSE_STATBOX
=yes
7746 DEFAULT_wxUSE_STATLINE
=yes
7747 DEFAULT_wxUSE_STATUSBAR
=yes
7748 DEFAULT_wxUSE_TAB_DIALOG
=yes
7749 DEFAULT_wxUSE_TOGGLEBTN
=yes
7750 DEFAULT_wxUSE_TOOLBAR
=yes
7751 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7752 DEFAULT_wxUSE_TOOLTIPS
=yes
7753 DEFAULT_wxUSE_TREEBOOK
=yes
7754 DEFAULT_wxUSE_TOOLBOOK
=yes
7755 DEFAULT_wxUSE_TREECTRL
=yes
7756 DEFAULT_wxUSE_POPUPWIN
=yes
7757 DEFAULT_wxUSE_TIPWINDOW
=yes
7758 elif test "$wxUSE_CONTROLS" = "no"; then
7759 DEFAULT_wxUSE_ACCEL
=no
7760 DEFAULT_wxUSE_BMPBUTTON
=no
7761 DEFAULT_wxUSE_BUTTON
=no
7762 DEFAULT_wxUSE_CALCTRL
=no
7763 DEFAULT_wxUSE_CARET
=no
7764 DEFAULT_wxUSE_COMBOBOX
=no
7765 DEFAULT_wxUSE_CHECKBOX
=no
7766 DEFAULT_wxUSE_CHECKLISTBOX
=no
7767 DEFAULT_wxUSE_CHOICE
=no
7768 DEFAULT_wxUSE_CHOICEBOOK
=no
7769 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7770 DEFAULT_wxUSE_COMBOBOX
=no
7771 DEFAULT_wxUSE_DATEPICKCTRL
=no
7772 DEFAULT_wxUSE_DISPLAY
=no
7773 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7774 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7775 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7776 DEFAULT_wxUSE_GAUGE
=no
7777 DEFAULT_wxUSE_GRID
=no
7778 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7779 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7780 DEFAULT_wxUSE_IMAGLIST
=no
7781 DEFAULT_wxUSE_LISTBOOK
=no
7782 DEFAULT_wxUSE_LISTBOX
=no
7783 DEFAULT_wxUSE_LISTCTRL
=no
7784 DEFAULT_wxUSE_NOTEBOOK
=no
7785 DEFAULT_wxUSE_RADIOBOX
=no
7786 DEFAULT_wxUSE_RADIOBTN
=no
7787 DEFAULT_wxUSE_SASH
=no
7788 DEFAULT_wxUSE_SCROLLBAR
=no
7789 DEFAULT_wxUSE_SLIDER
=no
7790 DEFAULT_wxUSE_SPINBTN
=no
7791 DEFAULT_wxUSE_SPINCTRL
=no
7792 DEFAULT_wxUSE_SPLITTER
=no
7793 DEFAULT_wxUSE_STATBMP
=no
7794 DEFAULT_wxUSE_STATBOX
=no
7795 DEFAULT_wxUSE_STATLINE
=no
7796 DEFAULT_wxUSE_STATUSBAR
=no
7797 DEFAULT_wxUSE_TAB_DIALOG
=no
7798 DEFAULT_wxUSE_TOGGLEBTN
=no
7799 DEFAULT_wxUSE_TOOLBAR
=no
7800 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7801 DEFAULT_wxUSE_TOOLTIPS
=no
7802 DEFAULT_wxUSE_TREEBOOK
=no
7803 DEFAULT_wxUSE_TOOLBOOK
=no
7804 DEFAULT_wxUSE_TREECTRL
=no
7805 DEFAULT_wxUSE_POPUPWIN
=no
7806 DEFAULT_wxUSE_TIPWINDOW
=no
7811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7814 # Check whether --enable-accel or --disable-accel was given.
7815 if test "${enable_accel+set}" = set; then
7816 enableval
="$enable_accel"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7821 ac_cv_use_accel
='wxUSE_ACCEL=no'
7826 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x
; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7837 eval "$ac_cv_use_accel"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7842 if test "$wxUSE_ACCEL" = yes; then
7843 echo "$as_me:$LINENO: result: yes" >&5
7844 echo "${ECHO_T}yes" >&6
7846 echo "$as_me:$LINENO: result: no" >&5
7847 echo "${ECHO_T}no" >&6
7852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7855 # Check whether --enable-button or --disable-button was given.
7856 if test "${enable_button+set}" = set; then
7857 enableval
="$enable_button"
7859 if test "$enableval" = yes; then
7860 ac_cv_use_button
='wxUSE_BUTTON=yes'
7862 ac_cv_use_button
='wxUSE_BUTTON=no'
7867 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x
; then
7869 eval "DEFAULT_$LINE"
7874 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7878 eval "$ac_cv_use_button"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_BUTTON" = yes; then
7884 echo "$as_me:$LINENO: result: yes" >&5
7885 echo "${ECHO_T}yes" >&6
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7894 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7896 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7897 if test "${enable_bmpbutton+set}" = set; then
7898 enableval
="$enable_bmpbutton"
7900 if test "$enableval" = yes; then
7901 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7903 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7908 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7909 if test "x$LINE" != x
; then
7910 eval "DEFAULT_$LINE"
7915 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7919 eval "$ac_cv_use_bmpbutton"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7924 if test "$wxUSE_BMPBUTTON" = yes; then
7925 echo "$as_me:$LINENO: result: yes" >&5
7926 echo "${ECHO_T}yes" >&6
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
7935 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
7937 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
7938 if test "${enable_bmpcombobox+set}" = set; then
7939 enableval
="$enable_bmpcombobox"
7941 if test "$enableval" = yes; then
7942 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
7944 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
7949 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
7950 if test "x$LINE" != x
; then
7951 eval "DEFAULT_$LINE"
7956 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
7960 eval "$ac_cv_use_bmpcombobox"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
7965 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
7966 echo "$as_me:$LINENO: result: yes" >&5
7967 echo "${ECHO_T}yes" >&6
7969 echo "$as_me:$LINENO: result: no" >&5
7970 echo "${ECHO_T}no" >&6
7975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7978 # Check whether --enable-calendar or --disable-calendar was given.
7979 if test "${enable_calendar+set}" = set; then
7980 enableval
="$enable_calendar"
7982 if test "$enableval" = yes; then
7983 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7985 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7990 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x
; then
7992 eval "DEFAULT_$LINE"
7997 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8001 eval "$ac_cv_use_calendar"
8002 if test "$no_cache" != 1; then
8003 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8006 if test "$wxUSE_CALCTRL" = yes; then
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8019 # Check whether --enable-caret or --disable-caret was given.
8020 if test "${enable_caret+set}" = set; then
8021 enableval
="$enable_caret"
8023 if test "$enableval" = yes; then
8024 ac_cv_use_caret
='wxUSE_CARET=yes'
8026 ac_cv_use_caret
='wxUSE_CARET=no'
8031 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x
; then
8033 eval "DEFAULT_$LINE"
8038 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8042 eval "$ac_cv_use_caret"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8047 if test "$wxUSE_CARET" = yes; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8051 echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8060 # Check whether --enable-checkbox or --disable-checkbox was given.
8061 if test "${enable_checkbox+set}" = set; then
8062 enableval
="$enable_checkbox"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8067 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8072 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x
; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8083 eval "$ac_cv_use_checkbox"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8088 if test "$wxUSE_CHECKBOX" = yes; then
8089 echo "$as_me:$LINENO: result: yes" >&5
8090 echo "${ECHO_T}yes" >&6
8092 echo "$as_me:$LINENO: result: no" >&5
8093 echo "${ECHO_T}no" >&6
8098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8101 # Check whether --enable-checklst or --disable-checklst was given.
8102 if test "${enable_checklst+set}" = set; then
8103 enableval
="$enable_checklst"
8105 if test "$enableval" = yes; then
8106 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8108 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8113 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x
; then
8115 eval "DEFAULT_$LINE"
8120 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8124 eval "$ac_cv_use_checklst"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_CHECKLST" = yes; then
8130 echo "$as_me:$LINENO: result: yes" >&5
8131 echo "${ECHO_T}yes" >&6
8133 echo "$as_me:$LINENO: result: no" >&5
8134 echo "${ECHO_T}no" >&6
8139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8142 # Check whether --enable-choice or --disable-choice was given.
8143 if test "${enable_choice+set}" = set; then
8144 enableval
="$enable_choice"
8146 if test "$enableval" = yes; then
8147 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8149 ac_cv_use_choice
='wxUSE_CHOICE=no'
8154 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8155 if test "x$LINE" != x
; then
8156 eval "DEFAULT_$LINE"
8161 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8165 eval "$ac_cv_use_choice"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8170 if test "$wxUSE_CHOICE" = yes; then
8171 echo "$as_me:$LINENO: result: yes" >&5
8172 echo "${ECHO_T}yes" >&6
8174 echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6
8180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8183 # Check whether --enable-choicebook or --disable-choicebook was given.
8184 if test "${enable_choicebook+set}" = set; then
8185 enableval
="$enable_choicebook"
8187 if test "$enableval" = yes; then
8188 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8190 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8195 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x
; then
8197 eval "DEFAULT_$LINE"
8202 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8206 eval "$ac_cv_use_choicebook"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8211 if test "$wxUSE_CHOICEBOOK" = yes; then
8212 echo "$as_me:$LINENO: result: yes" >&5
8213 echo "${ECHO_T}yes" >&6
8215 echo "$as_me:$LINENO: result: no" >&5
8216 echo "${ECHO_T}no" >&6
8221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8224 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8225 if test "${enable_colourpicker+set}" = set; then
8226 enableval
="$enable_colourpicker"
8228 if test "$enableval" = yes; then
8229 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8231 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8236 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x
; then
8238 eval "DEFAULT_$LINE"
8243 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8247 eval "$ac_cv_use_colourpicker"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8252 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8253 echo "$as_me:$LINENO: result: yes" >&5
8254 echo "${ECHO_T}yes" >&6
8256 echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6
8262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8265 # Check whether --enable-combobox or --disable-combobox was given.
8266 if test "${enable_combobox+set}" = set; then
8267 enableval
="$enable_combobox"
8269 if test "$enableval" = yes; then
8270 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8272 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8277 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x
; then
8279 eval "DEFAULT_$LINE"
8284 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8288 eval "$ac_cv_use_combobox"
8289 if test "$no_cache" != 1; then
8290 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8293 if test "$wxUSE_COMBOBOX" = yes; then
8294 echo "$as_me:$LINENO: result: yes" >&5
8295 echo "${ECHO_T}yes" >&6
8297 echo "$as_me:$LINENO: result: no" >&5
8298 echo "${ECHO_T}no" >&6
8303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8306 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8307 if test "${enable_comboctrl+set}" = set; then
8308 enableval
="$enable_comboctrl"
8310 if test "$enableval" = yes; then
8311 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8313 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8318 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8319 if test "x$LINE" != x
; then
8320 eval "DEFAULT_$LINE"
8325 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8329 eval "$ac_cv_use_comboctrl"
8330 if test "$no_cache" != 1; then
8331 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8334 if test "$wxUSE_COMBOCTRL" = yes; then
8335 echo "$as_me:$LINENO: result: yes" >&5
8336 echo "${ECHO_T}yes" >&6
8338 echo "$as_me:$LINENO: result: no" >&5
8339 echo "${ECHO_T}no" >&6
8344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8347 # Check whether --enable-datepick or --disable-datepick was given.
8348 if test "${enable_datepick+set}" = set; then
8349 enableval
="$enable_datepick"
8351 if test "$enableval" = yes; then
8352 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8354 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8359 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8360 if test "x$LINE" != x
; then
8361 eval "DEFAULT_$LINE"
8366 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8370 eval "$ac_cv_use_datepick"
8371 if test "$no_cache" != 1; then
8372 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8375 if test "$wxUSE_DATEPICKCTRL" = yes; then
8376 echo "$as_me:$LINENO: result: yes" >&5
8377 echo "${ECHO_T}yes" >&6
8379 echo "$as_me:$LINENO: result: no" >&5
8380 echo "${ECHO_T}no" >&6
8385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8386 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8388 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8389 if test "${enable_dirpicker+set}" = set; then
8390 enableval
="$enable_dirpicker"
8392 if test "$enableval" = yes; then
8393 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8395 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8400 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8401 if test "x$LINE" != x
; then
8402 eval "DEFAULT_$LINE"
8407 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8411 eval "$ac_cv_use_dirpicker"
8412 if test "$no_cache" != 1; then
8413 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8416 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8417 echo "$as_me:$LINENO: result: yes" >&5
8418 echo "${ECHO_T}yes" >&6
8420 echo "$as_me:$LINENO: result: no" >&5
8421 echo "${ECHO_T}no" >&6
8426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8427 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8429 # Check whether --enable-display or --disable-display was given.
8430 if test "${enable_display+set}" = set; then
8431 enableval
="$enable_display"
8433 if test "$enableval" = yes; then
8434 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8436 ac_cv_use_display
='wxUSE_DISPLAY=no'
8441 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x
; then
8443 eval "DEFAULT_$LINE"
8448 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8452 eval "$ac_cv_use_display"
8453 if test "$no_cache" != 1; then
8454 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8457 if test "$wxUSE_DISPLAY" = yes; then
8458 echo "$as_me:$LINENO: result: yes" >&5
8459 echo "${ECHO_T}yes" >&6
8461 echo "$as_me:$LINENO: result: no" >&5
8462 echo "${ECHO_T}no" >&6
8467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8470 # Check whether --enable-filepicker or --disable-filepicker was given.
8471 if test "${enable_filepicker+set}" = set; then
8472 enableval
="$enable_filepicker"
8474 if test "$enableval" = yes; then
8475 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8477 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8482 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x
; then
8484 eval "DEFAULT_$LINE"
8489 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8493 eval "$ac_cv_use_filepicker"
8494 if test "$no_cache" != 1; then
8495 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8498 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8499 echo "$as_me:$LINENO: result: yes" >&5
8500 echo "${ECHO_T}yes" >&6
8502 echo "$as_me:$LINENO: result: no" >&5
8503 echo "${ECHO_T}no" >&6
8508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8511 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8512 if test "${enable_fontpicker+set}" = set; then
8513 enableval
="$enable_fontpicker"
8515 if test "$enableval" = yes; then
8516 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8518 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8523 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8524 if test "x$LINE" != x
; then
8525 eval "DEFAULT_$LINE"
8530 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8534 eval "$ac_cv_use_fontpicker"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8539 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8540 echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6
8543 echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6
8549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8552 # Check whether --enable-gauge or --disable-gauge was given.
8553 if test "${enable_gauge+set}" = set; then
8554 enableval
="$enable_gauge"
8556 if test "$enableval" = yes; then
8557 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8559 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8564 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8565 if test "x$LINE" != x
; then
8566 eval "DEFAULT_$LINE"
8571 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8575 eval "$ac_cv_use_gauge"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8580 if test "$wxUSE_GAUGE" = yes; then
8581 echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6
8584 echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6
8590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8593 # Check whether --enable-grid or --disable-grid was given.
8594 if test "${enable_grid+set}" = set; then
8595 enableval
="$enable_grid"
8597 if test "$enableval" = yes; then
8598 ac_cv_use_grid
='wxUSE_GRID=yes'
8600 ac_cv_use_grid
='wxUSE_GRID=no'
8605 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x
; then
8607 eval "DEFAULT_$LINE"
8612 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8616 eval "$ac_cv_use_grid"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8621 if test "$wxUSE_GRID" = yes; then
8622 echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6
8625 echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6
8631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8634 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8635 if test "${enable_dataviewctrl+set}" = set; then
8636 enableval
="$enable_dataviewctrl"
8638 if test "$enableval" = yes; then
8639 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8641 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8646 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8647 if test "x$LINE" != x
; then
8648 eval "DEFAULT_$LINE"
8653 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8657 eval "$ac_cv_use_dataviewctrl"
8658 if test "$no_cache" != 1; then
8659 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8662 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8663 echo "$as_me:$LINENO: result: yes" >&5
8664 echo "${ECHO_T}yes" >&6
8666 echo "$as_me:$LINENO: result: no" >&5
8667 echo "${ECHO_T}no" >&6
8672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8675 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8676 if test "${enable_hyperlink+set}" = set; then
8677 enableval
="$enable_hyperlink"
8679 if test "$enableval" = yes; then
8680 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8682 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8687 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8688 if test "x$LINE" != x
; then
8689 eval "DEFAULT_$LINE"
8694 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8698 eval "$ac_cv_use_hyperlink"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8703 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8704 echo "$as_me:$LINENO: result: yes" >&5
8705 echo "${ECHO_T}yes" >&6
8707 echo "$as_me:$LINENO: result: no" >&5
8708 echo "${ECHO_T}no" >&6
8713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8716 # Check whether --enable-imaglist or --disable-imaglist was given.
8717 if test "${enable_imaglist+set}" = set; then
8718 enableval
="$enable_imaglist"
8720 if test "$enableval" = yes; then
8721 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8723 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8728 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8729 if test "x$LINE" != x
; then
8730 eval "DEFAULT_$LINE"
8735 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8739 eval "$ac_cv_use_imaglist"
8740 if test "$no_cache" != 1; then
8741 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8744 if test "$wxUSE_IMAGLIST" = yes; then
8745 echo "$as_me:$LINENO: result: yes" >&5
8746 echo "${ECHO_T}yes" >&6
8748 echo "$as_me:$LINENO: result: no" >&5
8749 echo "${ECHO_T}no" >&6
8754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8755 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8757 # Check whether --enable-listbook or --disable-listbook was given.
8758 if test "${enable_listbook+set}" = set; then
8759 enableval
="$enable_listbook"
8761 if test "$enableval" = yes; then
8762 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8764 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8769 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x
; then
8771 eval "DEFAULT_$LINE"
8776 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8780 eval "$ac_cv_use_listbook"
8781 if test "$no_cache" != 1; then
8782 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8785 if test "$wxUSE_LISTBOOK" = yes; then
8786 echo "$as_me:$LINENO: result: yes" >&5
8787 echo "${ECHO_T}yes" >&6
8789 echo "$as_me:$LINENO: result: no" >&5
8790 echo "${ECHO_T}no" >&6
8795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8796 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8798 # Check whether --enable-listbox or --disable-listbox was given.
8799 if test "${enable_listbox+set}" = set; then
8800 enableval
="$enable_listbox"
8802 if test "$enableval" = yes; then
8803 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8805 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8810 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8811 if test "x$LINE" != x
; then
8812 eval "DEFAULT_$LINE"
8817 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8821 eval "$ac_cv_use_listbox"
8822 if test "$no_cache" != 1; then
8823 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8826 if test "$wxUSE_LISTBOX" = yes; then
8827 echo "$as_me:$LINENO: result: yes" >&5
8828 echo "${ECHO_T}yes" >&6
8830 echo "$as_me:$LINENO: result: no" >&5
8831 echo "${ECHO_T}no" >&6
8836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8837 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8839 # Check whether --enable-listctrl or --disable-listctrl was given.
8840 if test "${enable_listctrl+set}" = set; then
8841 enableval
="$enable_listctrl"
8843 if test "$enableval" = yes; then
8844 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8846 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8851 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8852 if test "x$LINE" != x
; then
8853 eval "DEFAULT_$LINE"
8858 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8862 eval "$ac_cv_use_listctrl"
8863 if test "$no_cache" != 1; then
8864 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8867 if test "$wxUSE_LISTCTRL" = yes; then
8868 echo "$as_me:$LINENO: result: yes" >&5
8869 echo "${ECHO_T}yes" >&6
8871 echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6
8877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8880 # Check whether --enable-notebook or --disable-notebook was given.
8881 if test "${enable_notebook+set}" = set; then
8882 enableval
="$enable_notebook"
8884 if test "$enableval" = yes; then
8885 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8887 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8892 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x
; then
8894 eval "DEFAULT_$LINE"
8899 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8903 eval "$ac_cv_use_notebook"
8904 if test "$no_cache" != 1; then
8905 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8908 if test "$wxUSE_NOTEBOOK" = yes; then
8909 echo "$as_me:$LINENO: result: yes" >&5
8910 echo "${ECHO_T}yes" >&6
8912 echo "$as_me:$LINENO: result: no" >&5
8913 echo "${ECHO_T}no" >&6
8918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8921 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8922 if test "${enable_odcombobox+set}" = set; then
8923 enableval
="$enable_odcombobox"
8925 if test "$enableval" = yes; then
8926 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8928 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8933 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8934 if test "x$LINE" != x
; then
8935 eval "DEFAULT_$LINE"
8940 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8944 eval "$ac_cv_use_odcombobox"
8945 if test "$no_cache" != 1; then
8946 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8949 if test "$wxUSE_ODCOMBOBOX" = yes; then
8950 echo "$as_me:$LINENO: result: yes" >&5
8951 echo "${ECHO_T}yes" >&6
8953 echo "$as_me:$LINENO: result: no" >&5
8954 echo "${ECHO_T}no" >&6
8959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8960 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8962 # Check whether --enable-radiobox or --disable-radiobox was given.
8963 if test "${enable_radiobox+set}" = set; then
8964 enableval
="$enable_radiobox"
8966 if test "$enableval" = yes; then
8967 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8969 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8974 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8975 if test "x$LINE" != x
; then
8976 eval "DEFAULT_$LINE"
8981 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8985 eval "$ac_cv_use_radiobox"
8986 if test "$no_cache" != 1; then
8987 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8990 if test "$wxUSE_RADIOBOX" = yes; then
8991 echo "$as_me:$LINENO: result: yes" >&5
8992 echo "${ECHO_T}yes" >&6
8994 echo "$as_me:$LINENO: result: no" >&5
8995 echo "${ECHO_T}no" >&6
9000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9001 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9003 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9004 if test "${enable_radiobtn+set}" = set; then
9005 enableval
="$enable_radiobtn"
9007 if test "$enableval" = yes; then
9008 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9010 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9015 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9016 if test "x$LINE" != x
; then
9017 eval "DEFAULT_$LINE"
9022 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9026 eval "$ac_cv_use_radiobtn"
9027 if test "$no_cache" != 1; then
9028 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9031 if test "$wxUSE_RADIOBTN" = yes; then
9032 echo "$as_me:$LINENO: result: yes" >&5
9033 echo "${ECHO_T}yes" >&6
9035 echo "$as_me:$LINENO: result: no" >&5
9036 echo "${ECHO_T}no" >&6
9041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9044 # Check whether --enable-sash or --disable-sash was given.
9045 if test "${enable_sash+set}" = set; then
9046 enableval
="$enable_sash"
9048 if test "$enableval" = yes; then
9049 ac_cv_use_sash
='wxUSE_SASH=yes'
9051 ac_cv_use_sash
='wxUSE_SASH=no'
9056 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x
; then
9058 eval "DEFAULT_$LINE"
9063 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9067 eval "$ac_cv_use_sash"
9068 if test "$no_cache" != 1; then
9069 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9072 if test "$wxUSE_SASH" = yes; then
9073 echo "$as_me:$LINENO: result: yes" >&5
9074 echo "${ECHO_T}yes" >&6
9076 echo "$as_me:$LINENO: result: no" >&5
9077 echo "${ECHO_T}no" >&6
9082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9085 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9086 if test "${enable_scrollbar+set}" = set; then
9087 enableval
="$enable_scrollbar"
9089 if test "$enableval" = yes; then
9090 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9092 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9097 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9098 if test "x$LINE" != x
; then
9099 eval "DEFAULT_$LINE"
9104 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9108 eval "$ac_cv_use_scrollbar"
9109 if test "$no_cache" != 1; then
9110 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9113 if test "$wxUSE_SCROLLBAR" = yes; then
9114 echo "$as_me:$LINENO: result: yes" >&5
9115 echo "${ECHO_T}yes" >&6
9117 echo "$as_me:$LINENO: result: no" >&5
9118 echo "${ECHO_T}no" >&6
9123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9124 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9126 # Check whether --enable-slider or --disable-slider was given.
9127 if test "${enable_slider+set}" = set; then
9128 enableval
="$enable_slider"
9130 if test "$enableval" = yes; then
9131 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9133 ac_cv_use_slider
='wxUSE_SLIDER=no'
9138 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9139 if test "x$LINE" != x
; then
9140 eval "DEFAULT_$LINE"
9145 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9149 eval "$ac_cv_use_slider"
9150 if test "$no_cache" != 1; then
9151 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9154 if test "$wxUSE_SLIDER" = yes; then
9155 echo "$as_me:$LINENO: result: yes" >&5
9156 echo "${ECHO_T}yes" >&6
9158 echo "$as_me:$LINENO: result: no" >&5
9159 echo "${ECHO_T}no" >&6
9164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9165 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9167 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9168 if test "${enable_spinbtn+set}" = set; then
9169 enableval
="$enable_spinbtn"
9171 if test "$enableval" = yes; then
9172 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9174 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9179 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9180 if test "x$LINE" != x
; then
9181 eval "DEFAULT_$LINE"
9186 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9190 eval "$ac_cv_use_spinbtn"
9191 if test "$no_cache" != 1; then
9192 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9195 if test "$wxUSE_SPINBTN" = yes; then
9196 echo "$as_me:$LINENO: result: yes" >&5
9197 echo "${ECHO_T}yes" >&6
9199 echo "$as_me:$LINENO: result: no" >&5
9200 echo "${ECHO_T}no" >&6
9205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9208 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9209 if test "${enable_spinctrl+set}" = set; then
9210 enableval
="$enable_spinctrl"
9212 if test "$enableval" = yes; then
9213 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9215 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9220 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x
; then
9222 eval "DEFAULT_$LINE"
9227 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9231 eval "$ac_cv_use_spinctrl"
9232 if test "$no_cache" != 1; then
9233 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9236 if test "$wxUSE_SPINCTRL" = yes; then
9237 echo "$as_me:$LINENO: result: yes" >&5
9238 echo "${ECHO_T}yes" >&6
9240 echo "$as_me:$LINENO: result: no" >&5
9241 echo "${ECHO_T}no" >&6
9246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9249 # Check whether --enable-splitter or --disable-splitter was given.
9250 if test "${enable_splitter+set}" = set; then
9251 enableval
="$enable_splitter"
9253 if test "$enableval" = yes; then
9254 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9256 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9261 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x
; then
9263 eval "DEFAULT_$LINE"
9268 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9272 eval "$ac_cv_use_splitter"
9273 if test "$no_cache" != 1; then
9274 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9277 if test "$wxUSE_SPLITTER" = yes; then
9278 echo "$as_me:$LINENO: result: yes" >&5
9279 echo "${ECHO_T}yes" >&6
9281 echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6
9287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9290 # Check whether --enable-statbmp or --disable-statbmp was given.
9291 if test "${enable_statbmp+set}" = set; then
9292 enableval
="$enable_statbmp"
9294 if test "$enableval" = yes; then
9295 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9297 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9302 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9303 if test "x$LINE" != x
; then
9304 eval "DEFAULT_$LINE"
9309 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9313 eval "$ac_cv_use_statbmp"
9314 if test "$no_cache" != 1; then
9315 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9318 if test "$wxUSE_STATBMP" = yes; then
9319 echo "$as_me:$LINENO: result: yes" >&5
9320 echo "${ECHO_T}yes" >&6
9322 echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6
9328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9331 # Check whether --enable-statbox or --disable-statbox was given.
9332 if test "${enable_statbox+set}" = set; then
9333 enableval
="$enable_statbox"
9335 if test "$enableval" = yes; then
9336 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9338 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9343 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9344 if test "x$LINE" != x
; then
9345 eval "DEFAULT_$LINE"
9350 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9354 eval "$ac_cv_use_statbox"
9355 if test "$no_cache" != 1; then
9356 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9359 if test "$wxUSE_STATBOX" = yes; then
9360 echo "$as_me:$LINENO: result: yes" >&5
9361 echo "${ECHO_T}yes" >&6
9363 echo "$as_me:$LINENO: result: no" >&5
9364 echo "${ECHO_T}no" >&6
9369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9372 # Check whether --enable-statline or --disable-statline was given.
9373 if test "${enable_statline+set}" = set; then
9374 enableval
="$enable_statline"
9376 if test "$enableval" = yes; then
9377 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9379 ac_cv_use_statline
='wxUSE_STATLINE=no'
9384 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x
; then
9386 eval "DEFAULT_$LINE"
9391 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9395 eval "$ac_cv_use_statline"
9396 if test "$no_cache" != 1; then
9397 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9400 if test "$wxUSE_STATLINE" = yes; then
9401 echo "$as_me:$LINENO: result: yes" >&5
9402 echo "${ECHO_T}yes" >&6
9404 echo "$as_me:$LINENO: result: no" >&5
9405 echo "${ECHO_T}no" >&6
9410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9413 # Check whether --enable-stattext or --disable-stattext was given.
9414 if test "${enable_stattext+set}" = set; then
9415 enableval
="$enable_stattext"
9417 if test "$enableval" = yes; then
9418 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9420 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9425 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9426 if test "x$LINE" != x
; then
9427 eval "DEFAULT_$LINE"
9432 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9436 eval "$ac_cv_use_stattext"
9437 if test "$no_cache" != 1; then
9438 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9441 if test "$wxUSE_STATTEXT" = yes; then
9442 echo "$as_me:$LINENO: result: yes" >&5
9443 echo "${ECHO_T}yes" >&6
9445 echo "$as_me:$LINENO: result: no" >&5
9446 echo "${ECHO_T}no" >&6
9451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9452 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9454 # Check whether --enable-statusbar or --disable-statusbar was given.
9455 if test "${enable_statusbar+set}" = set; then
9456 enableval
="$enable_statusbar"
9458 if test "$enableval" = yes; then
9459 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9461 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9466 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9467 if test "x$LINE" != x
; then
9468 eval "DEFAULT_$LINE"
9473 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9477 eval "$ac_cv_use_statusbar"
9478 if test "$no_cache" != 1; then
9479 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9482 if test "$wxUSE_STATUSBAR" = yes; then
9483 echo "$as_me:$LINENO: result: yes" >&5
9484 echo "${ECHO_T}yes" >&6
9486 echo "$as_me:$LINENO: result: no" >&5
9487 echo "${ECHO_T}no" >&6
9492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9495 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9496 if test "${enable_tabdialog+set}" = set; then
9497 enableval
="$enable_tabdialog"
9499 if test "$enableval" = yes; then
9500 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9502 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9507 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x
; then
9509 eval "DEFAULT_$LINE"
9514 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9518 eval "$ac_cv_use_tabdialog"
9519 if test "$no_cache" != 1; then
9520 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9523 if test "$wxUSE_TAB_DIALOG" = yes; then
9524 echo "$as_me:$LINENO: result: yes" >&5
9525 echo "${ECHO_T}yes" >&6
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9536 # Check whether --enable-textctrl or --disable-textctrl was given.
9537 if test "${enable_textctrl+set}" = set; then
9538 enableval
="$enable_textctrl"
9540 if test "$enableval" = yes; then
9541 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9543 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9548 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x
; then
9550 eval "DEFAULT_$LINE"
9555 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9559 eval "$ac_cv_use_textctrl"
9560 if test "$no_cache" != 1; then
9561 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9564 if test "$wxUSE_TEXTCTRL" = yes; then
9565 echo "$as_me:$LINENO: result: yes" >&5
9566 echo "${ECHO_T}yes" >&6
9568 echo "$as_me:$LINENO: result: no" >&5
9569 echo "${ECHO_T}no" >&6
9574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9577 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9578 if test "${enable_togglebtn+set}" = set; then
9579 enableval
="$enable_togglebtn"
9581 if test "$enableval" = yes; then
9582 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9584 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9589 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9590 if test "x$LINE" != x
; then
9591 eval "DEFAULT_$LINE"
9596 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9600 eval "$ac_cv_use_togglebtn"
9601 if test "$no_cache" != 1; then
9602 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9605 if test "$wxUSE_TOGGLEBTN" = yes; then
9606 echo "$as_me:$LINENO: result: yes" >&5
9607 echo "${ECHO_T}yes" >&6
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9616 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9618 # Check whether --enable-toolbar or --disable-toolbar was given.
9619 if test "${enable_toolbar+set}" = set; then
9620 enableval
="$enable_toolbar"
9622 if test "$enableval" = yes; then
9623 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9625 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9630 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9631 if test "x$LINE" != x
; then
9632 eval "DEFAULT_$LINE"
9637 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9641 eval "$ac_cv_use_toolbar"
9642 if test "$no_cache" != 1; then
9643 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9646 if test "$wxUSE_TOOLBAR" = yes; then
9647 echo "$as_me:$LINENO: result: yes" >&5
9648 echo "${ECHO_T}yes" >&6
9650 echo "$as_me:$LINENO: result: no" >&5
9651 echo "${ECHO_T}no" >&6
9656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9659 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9660 if test "${enable_tbarnative+set}" = set; then
9661 enableval
="$enable_tbarnative"
9663 if test "$enableval" = yes; then
9664 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9666 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9671 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x
; then
9673 eval "DEFAULT_$LINE"
9678 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9682 eval "$ac_cv_use_tbarnative"
9683 if test "$no_cache" != 1; then
9684 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9687 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9688 echo "$as_me:$LINENO: result: yes" >&5
9689 echo "${ECHO_T}yes" >&6
9691 echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6
9697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9700 # Check whether --enable-treebook or --disable-treebook was given.
9701 if test "${enable_treebook+set}" = set; then
9702 enableval
="$enable_treebook"
9704 if test "$enableval" = yes; then
9705 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9707 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9712 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9713 if test "x$LINE" != x
; then
9714 eval "DEFAULT_$LINE"
9719 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9723 eval "$ac_cv_use_treebook"
9724 if test "$no_cache" != 1; then
9725 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9728 if test "$wxUSE_TREEBOOK" = yes; then
9729 echo "$as_me:$LINENO: result: yes" >&5
9730 echo "${ECHO_T}yes" >&6
9732 echo "$as_me:$LINENO: result: no" >&5
9733 echo "${ECHO_T}no" >&6
9738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9741 # Check whether --enable-toolbook or --disable-toolbook was given.
9742 if test "${enable_toolbook+set}" = set; then
9743 enableval
="$enable_toolbook"
9745 if test "$enableval" = yes; then
9746 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9748 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9753 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9754 if test "x$LINE" != x
; then
9755 eval "DEFAULT_$LINE"
9760 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9764 eval "$ac_cv_use_toolbook"
9765 if test "$no_cache" != 1; then
9766 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9769 if test "$wxUSE_TOOLBOOK" = yes; then
9770 echo "$as_me:$LINENO: result: yes" >&5
9771 echo "${ECHO_T}yes" >&6
9773 echo "$as_me:$LINENO: result: no" >&5
9774 echo "${ECHO_T}no" >&6
9779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9782 # Check whether --enable-treectrl or --disable-treectrl was given.
9783 if test "${enable_treectrl+set}" = set; then
9784 enableval
="$enable_treectrl"
9786 if test "$enableval" = yes; then
9787 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9789 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9794 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x
; then
9796 eval "DEFAULT_$LINE"
9801 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9805 eval "$ac_cv_use_treectrl"
9806 if test "$no_cache" != 1; then
9807 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9810 if test "$wxUSE_TREECTRL" = yes; then
9811 echo "$as_me:$LINENO: result: yes" >&5
9812 echo "${ECHO_T}yes" >&6
9814 echo "$as_me:$LINENO: result: no" >&5
9815 echo "${ECHO_T}no" >&6
9820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9823 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9824 if test "${enable_tipwindow+set}" = set; then
9825 enableval
="$enable_tipwindow"
9827 if test "$enableval" = yes; then
9828 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9830 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9835 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9836 if test "x$LINE" != x
; then
9837 eval "DEFAULT_$LINE"
9842 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9846 eval "$ac_cv_use_tipwindow"
9847 if test "$no_cache" != 1; then
9848 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9851 if test "$wxUSE_TIPWINDOW" = yes; then
9852 echo "$as_me:$LINENO: result: yes" >&5
9853 echo "${ECHO_T}yes" >&6
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9862 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9864 # Check whether --enable-popupwin or --disable-popupwin was given.
9865 if test "${enable_popupwin+set}" = set; then
9866 enableval
="$enable_popupwin"
9868 if test "$enableval" = yes; then
9869 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9871 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9876 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9877 if test "x$LINE" != x
; then
9878 eval "DEFAULT_$LINE"
9883 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9887 eval "$ac_cv_use_popupwin"
9888 if test "$no_cache" != 1; then
9889 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9892 if test "$wxUSE_POPUPWIN" = yes; then
9893 echo "$as_me:$LINENO: result: yes" >&5
9894 echo "${ECHO_T}yes" >&6
9896 echo "$as_me:$LINENO: result: no" >&5
9897 echo "${ECHO_T}no" >&6
9904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9905 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9907 # Check whether --enable-commondlg or --disable-commondlg was given.
9908 if test "${enable_commondlg+set}" = set; then
9909 enableval
="$enable_commondlg"
9911 if test "$enableval" = yes; then
9912 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9914 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9919 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x
; then
9921 eval "DEFAULT_$LINE"
9926 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9930 eval "$ac_cv_use_commondlg"
9931 if test "$no_cache" != 1; then
9932 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9935 if test "$wxUSE_COMMONDLGS" = yes; then
9936 echo "$as_me:$LINENO: result: yes" >&5
9937 echo "${ECHO_T}yes" >&6
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9946 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9948 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9949 if test "${enable_choicedlg+set}" = set; then
9950 enableval
="$enable_choicedlg"
9952 if test "$enableval" = yes; then
9953 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9955 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9960 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x
; then
9962 eval "DEFAULT_$LINE"
9967 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9971 eval "$ac_cv_use_choicedlg"
9972 if test "$no_cache" != 1; then
9973 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9976 if test "$wxUSE_CHOICEDLG" = yes; then
9977 echo "$as_me:$LINENO: result: yes" >&5
9978 echo "${ECHO_T}yes" >&6
9980 echo "$as_me:$LINENO: result: no" >&5
9981 echo "${ECHO_T}no" >&6
9986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9989 # Check whether --enable-coldlg or --disable-coldlg was given.
9990 if test "${enable_coldlg+set}" = set; then
9991 enableval
="$enable_coldlg"
9993 if test "$enableval" = yes; then
9994 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9996 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10001 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x
; then
10003 eval "DEFAULT_$LINE"
10008 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10012 eval "$ac_cv_use_coldlg"
10013 if test "$no_cache" != 1; then
10014 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10017 if test "$wxUSE_COLOURDLG" = yes; then
10018 echo "$as_me:$LINENO: result: yes" >&5
10019 echo "${ECHO_T}yes" >&6
10021 echo "$as_me:$LINENO: result: no" >&5
10022 echo "${ECHO_T}no" >&6
10027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10030 # Check whether --enable-filedlg or --disable-filedlg was given.
10031 if test "${enable_filedlg+set}" = set; then
10032 enableval
="$enable_filedlg"
10034 if test "$enableval" = yes; then
10035 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10037 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10042 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x
; then
10044 eval "DEFAULT_$LINE"
10049 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10053 eval "$ac_cv_use_filedlg"
10054 if test "$no_cache" != 1; then
10055 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10058 if test "$wxUSE_FILEDLG" = yes; then
10059 echo "$as_me:$LINENO: result: yes" >&5
10060 echo "${ECHO_T}yes" >&6
10062 echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6
10068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10071 # Check whether --enable-finddlg or --disable-finddlg was given.
10072 if test "${enable_finddlg+set}" = set; then
10073 enableval
="$enable_finddlg"
10075 if test "$enableval" = yes; then
10076 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10078 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10083 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x
; then
10085 eval "DEFAULT_$LINE"
10090 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10094 eval "$ac_cv_use_finddlg"
10095 if test "$no_cache" != 1; then
10096 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10099 if test "$wxUSE_FINDREPLDLG" = yes; then
10100 echo "$as_me:$LINENO: result: yes" >&5
10101 echo "${ECHO_T}yes" >&6
10103 echo "$as_me:$LINENO: result: no" >&5
10104 echo "${ECHO_T}no" >&6
10109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10112 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10113 if test "${enable_fontdlg+set}" = set; then
10114 enableval
="$enable_fontdlg"
10116 if test "$enableval" = yes; then
10117 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10119 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10124 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x
; then
10126 eval "DEFAULT_$LINE"
10131 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10135 eval "$ac_cv_use_fontdlg"
10136 if test "$no_cache" != 1; then
10137 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10140 if test "$wxUSE_FONTDLG" = yes; then
10141 echo "$as_me:$LINENO: result: yes" >&5
10142 echo "${ECHO_T}yes" >&6
10144 echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6
10150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10153 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10154 if test "${enable_dirdlg+set}" = set; then
10155 enableval
="$enable_dirdlg"
10157 if test "$enableval" = yes; then
10158 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10160 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10165 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x
; then
10167 eval "DEFAULT_$LINE"
10172 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10176 eval "$ac_cv_use_dirdlg"
10177 if test "$no_cache" != 1; then
10178 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10181 if test "$wxUSE_DIRDLG" = yes; then
10182 echo "$as_me:$LINENO: result: yes" >&5
10183 echo "${ECHO_T}yes" >&6
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10194 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10195 if test "${enable_msgdlg+set}" = set; then
10196 enableval
="$enable_msgdlg"
10198 if test "$enableval" = yes; then
10199 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10201 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10206 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x
; then
10208 eval "DEFAULT_$LINE"
10213 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10217 eval "$ac_cv_use_msgdlg"
10218 if test "$no_cache" != 1; then
10219 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10222 if test "$wxUSE_MSGDLG" = yes; then
10223 echo "$as_me:$LINENO: result: yes" >&5
10224 echo "${ECHO_T}yes" >&6
10226 echo "$as_me:$LINENO: result: no" >&5
10227 echo "${ECHO_T}no" >&6
10232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10233 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10235 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10236 if test "${enable_numberdlg+set}" = set; then
10237 enableval
="$enable_numberdlg"
10239 if test "$enableval" = yes; then
10240 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10242 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10247 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x
; then
10249 eval "DEFAULT_$LINE"
10254 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10258 eval "$ac_cv_use_numberdlg"
10259 if test "$no_cache" != 1; then
10260 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10263 if test "$wxUSE_NUMBERDLG" = yes; then
10264 echo "$as_me:$LINENO: result: yes" >&5
10265 echo "${ECHO_T}yes" >&6
10267 echo "$as_me:$LINENO: result: no" >&5
10268 echo "${ECHO_T}no" >&6
10273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10276 # Check whether --enable-splash or --disable-splash was given.
10277 if test "${enable_splash+set}" = set; then
10278 enableval
="$enable_splash"
10280 if test "$enableval" = yes; then
10281 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10283 ac_cv_use_splash
='wxUSE_SPLASH=no'
10288 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x
; then
10290 eval "DEFAULT_$LINE"
10295 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10299 eval "$ac_cv_use_splash"
10300 if test "$no_cache" != 1; then
10301 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10304 if test "$wxUSE_SPLASH" = yes; then
10305 echo "$as_me:$LINENO: result: yes" >&5
10306 echo "${ECHO_T}yes" >&6
10308 echo "$as_me:$LINENO: result: no" >&5
10309 echo "${ECHO_T}no" >&6
10314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10315 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10317 # Check whether --enable-textdlg or --disable-textdlg was given.
10318 if test "${enable_textdlg+set}" = set; then
10319 enableval
="$enable_textdlg"
10321 if test "$enableval" = yes; then
10322 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10324 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10329 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x
; then
10331 eval "DEFAULT_$LINE"
10336 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10340 eval "$ac_cv_use_textdlg"
10341 if test "$no_cache" != 1; then
10342 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10345 if test "$wxUSE_TEXTDLG" = yes; then
10346 echo "$as_me:$LINENO: result: yes" >&5
10347 echo "${ECHO_T}yes" >&6
10349 echo "$as_me:$LINENO: result: no" >&5
10350 echo "${ECHO_T}no" >&6
10355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10356 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10358 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10359 if test "${enable_tipdlg+set}" = set; then
10360 enableval
="$enable_tipdlg"
10362 if test "$enableval" = yes; then
10363 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10365 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10370 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x
; then
10372 eval "DEFAULT_$LINE"
10377 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10381 eval "$ac_cv_use_tipdlg"
10382 if test "$no_cache" != 1; then
10383 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10386 if test "$wxUSE_STARTUP_TIPS" = yes; then
10387 echo "$as_me:$LINENO: result: yes" >&5
10388 echo "${ECHO_T}yes" >&6
10390 echo "$as_me:$LINENO: result: no" >&5
10391 echo "${ECHO_T}no" >&6
10396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10399 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10400 if test "${enable_progressdlg+set}" = set; then
10401 enableval
="$enable_progressdlg"
10403 if test "$enableval" = yes; then
10404 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10406 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10411 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x
; then
10413 eval "DEFAULT_$LINE"
10418 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10422 eval "$ac_cv_use_progressdlg"
10423 if test "$no_cache" != 1; then
10424 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10427 if test "$wxUSE_PROGRESSDLG" = yes; then
10428 echo "$as_me:$LINENO: result: yes" >&5
10429 echo "${ECHO_T}yes" >&6
10431 echo "$as_me:$LINENO: result: no" >&5
10432 echo "${ECHO_T}no" >&6
10437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10438 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10440 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10441 if test "${enable_wizarddlg+set}" = set; then
10442 enableval
="$enable_wizarddlg"
10444 if test "$enableval" = yes; then
10445 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10447 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10452 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x
; then
10454 eval "DEFAULT_$LINE"
10459 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10463 eval "$ac_cv_use_wizarddlg"
10464 if test "$no_cache" != 1; then
10465 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10468 if test "$wxUSE_WIZARDDLG" = yes; then
10469 echo "$as_me:$LINENO: result: yes" >&5
10470 echo "${ECHO_T}yes" >&6
10472 echo "$as_me:$LINENO: result: no" >&5
10473 echo "${ECHO_T}no" >&6
10480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10481 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10483 # Check whether --enable-menus or --disable-menus was given.
10484 if test "${enable_menus+set}" = set; then
10485 enableval
="$enable_menus"
10487 if test "$enableval" = yes; then
10488 ac_cv_use_menus
='wxUSE_MENUS=yes'
10490 ac_cv_use_menus
='wxUSE_MENUS=no'
10495 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x
; then
10497 eval "DEFAULT_$LINE"
10502 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10506 eval "$ac_cv_use_menus"
10507 if test "$no_cache" != 1; then
10508 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10511 if test "$wxUSE_MENUS" = yes; then
10512 echo "$as_me:$LINENO: result: yes" >&5
10513 echo "${ECHO_T}yes" >&6
10515 echo "$as_me:$LINENO: result: no" >&5
10516 echo "${ECHO_T}no" >&6
10521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10522 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10524 # Check whether --enable-miniframe or --disable-miniframe was given.
10525 if test "${enable_miniframe+set}" = set; then
10526 enableval
="$enable_miniframe"
10528 if test "$enableval" = yes; then
10529 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10531 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10536 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x
; then
10538 eval "DEFAULT_$LINE"
10543 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10547 eval "$ac_cv_use_miniframe"
10548 if test "$no_cache" != 1; then
10549 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10552 if test "$wxUSE_MINIFRAME" = yes; then
10553 echo "$as_me:$LINENO: result: yes" >&5
10554 echo "${ECHO_T}yes" >&6
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10563 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10565 # Check whether --enable-tooltips or --disable-tooltips was given.
10566 if test "${enable_tooltips+set}" = set; then
10567 enableval
="$enable_tooltips"
10569 if test "$enableval" = yes; then
10570 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10572 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10577 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10578 if test "x$LINE" != x
; then
10579 eval "DEFAULT_$LINE"
10584 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10588 eval "$ac_cv_use_tooltips"
10589 if test "$no_cache" != 1; then
10590 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10593 if test "$wxUSE_TOOLTIPS" = yes; then
10594 echo "$as_me:$LINENO: result: yes" >&5
10595 echo "${ECHO_T}yes" >&6
10597 echo "$as_me:$LINENO: result: no" >&5
10598 echo "${ECHO_T}no" >&6
10603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10604 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10606 # Check whether --enable-splines or --disable-splines was given.
10607 if test "${enable_splines+set}" = set; then
10608 enableval
="$enable_splines"
10610 if test "$enableval" = yes; then
10611 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10613 ac_cv_use_splines
='wxUSE_SPLINES=no'
10618 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10619 if test "x$LINE" != x
; then
10620 eval "DEFAULT_$LINE"
10625 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10629 eval "$ac_cv_use_splines"
10630 if test "$no_cache" != 1; then
10631 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10634 if test "$wxUSE_SPLINES" = yes; then
10635 echo "$as_me:$LINENO: result: yes" >&5
10636 echo "${ECHO_T}yes" >&6
10638 echo "$as_me:$LINENO: result: no" >&5
10639 echo "${ECHO_T}no" >&6
10644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10647 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10648 if test "${enable_mousewheel+set}" = set; then
10649 enableval
="$enable_mousewheel"
10651 if test "$enableval" = yes; then
10652 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10654 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10659 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10660 if test "x$LINE" != x
; then
10661 eval "DEFAULT_$LINE"
10666 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10670 eval "$ac_cv_use_mousewheel"
10671 if test "$no_cache" != 1; then
10672 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10675 if test "$wxUSE_MOUSEWHEEL" = yes; then
10676 echo "$as_me:$LINENO: result: yes" >&5
10677 echo "${ECHO_T}yes" >&6
10679 echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6
10685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10686 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10688 # Check whether --enable-validators or --disable-validators was given.
10689 if test "${enable_validators+set}" = set; then
10690 enableval
="$enable_validators"
10692 if test "$enableval" = yes; then
10693 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10695 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10700 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10701 if test "x$LINE" != x
; then
10702 eval "DEFAULT_$LINE"
10707 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10711 eval "$ac_cv_use_validators"
10712 if test "$no_cache" != 1; then
10713 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10716 if test "$wxUSE_VALIDATORS" = yes; then
10717 echo "$as_me:$LINENO: result: yes" >&5
10718 echo "${ECHO_T}yes" >&6
10720 echo "$as_me:$LINENO: result: no" >&5
10721 echo "${ECHO_T}no" >&6
10726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10727 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10729 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10730 if test "${enable_busyinfo+set}" = set; then
10731 enableval
="$enable_busyinfo"
10733 if test "$enableval" = yes; then
10734 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10736 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10741 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x
; then
10743 eval "DEFAULT_$LINE"
10748 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10752 eval "$ac_cv_use_busyinfo"
10753 if test "$no_cache" != 1; then
10754 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10757 if test "$wxUSE_BUSYINFO" = yes; then
10758 echo "$as_me:$LINENO: result: yes" >&5
10759 echo "${ECHO_T}yes" >&6
10761 echo "$as_me:$LINENO: result: no" >&5
10762 echo "${ECHO_T}no" >&6
10767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10770 # Check whether --enable-joystick or --disable-joystick was given.
10771 if test "${enable_joystick+set}" = set; then
10772 enableval
="$enable_joystick"
10774 if test "$enableval" = yes; then
10775 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10777 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10782 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10783 if test "x$LINE" != x
; then
10784 eval "DEFAULT_$LINE"
10789 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10793 eval "$ac_cv_use_joystick"
10794 if test "$no_cache" != 1; then
10795 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10798 if test "$wxUSE_JOYSTICK" = yes; then
10799 echo "$as_me:$LINENO: result: yes" >&5
10800 echo "${ECHO_T}yes" >&6
10802 echo "$as_me:$LINENO: result: no" >&5
10803 echo "${ECHO_T}no" >&6
10808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10809 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10811 # Check whether --enable-metafile or --disable-metafile was given.
10812 if test "${enable_metafile+set}" = set; then
10813 enableval
="$enable_metafile"
10815 if test "$enableval" = yes; then
10816 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10818 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10823 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10824 if test "x$LINE" != x
; then
10825 eval "DEFAULT_$LINE"
10830 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10834 eval "$ac_cv_use_metafile"
10835 if test "$no_cache" != 1; then
10836 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10839 if test "$wxUSE_METAFILE" = yes; then
10840 echo "$as_me:$LINENO: result: yes" >&5
10841 echo "${ECHO_T}yes" >&6
10843 echo "$as_me:$LINENO: result: no" >&5
10844 echo "${ECHO_T}no" >&6
10849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10852 # Check whether --enable-dragimage or --disable-dragimage was given.
10853 if test "${enable_dragimage+set}" = set; then
10854 enableval
="$enable_dragimage"
10856 if test "$enableval" = yes; then
10857 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10859 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10864 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x
; then
10866 eval "DEFAULT_$LINE"
10871 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10875 eval "$ac_cv_use_dragimage"
10876 if test "$no_cache" != 1; then
10877 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10880 if test "$wxUSE_DRAGIMAGE" = yes; then
10881 echo "$as_me:$LINENO: result: yes" >&5
10882 echo "${ECHO_T}yes" >&6
10884 echo "$as_me:$LINENO: result: no" >&5
10885 echo "${ECHO_T}no" >&6
10890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10891 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10893 # Check whether --enable-accessibility or --disable-accessibility was given.
10894 if test "${enable_accessibility+set}" = set; then
10895 enableval
="$enable_accessibility"
10897 if test "$enableval" = yes; then
10898 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10900 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10905 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x
; then
10907 eval "DEFAULT_$LINE"
10912 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10916 eval "$ac_cv_use_accessibility"
10917 if test "$no_cache" != 1; then
10918 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10921 if test "$wxUSE_ACCESSIBILITY" = yes; then
10922 echo "$as_me:$LINENO: result: yes" >&5
10923 echo "${ECHO_T}yes" >&6
10925 echo "$as_me:$LINENO: result: no" >&5
10926 echo "${ECHO_T}no" >&6
10930 if test "$wxUSE_MSW" = "1"; then
10933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10936 # Check whether --enable-dccache or --disable-dccache was given.
10937 if test "${enable_dccache+set}" = set; then
10938 enableval
="$enable_dccache"
10940 if test "$enableval" = yes; then
10941 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10943 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10948 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10949 if test "x$LINE" != x
; then
10950 eval "DEFAULT_$LINE"
10955 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10959 eval "$ac_cv_use_dccache"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10964 if test "$wxUSE_DC_CACHEING" = yes; then
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10980 # Check whether --enable-palette or --disable-palette was given.
10981 if test "${enable_palette+set}" = set; then
10982 enableval
="$enable_palette"
10984 if test "$enableval" = yes; then
10985 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10987 ac_cv_use_palette
='wxUSE_PALETTE=no'
10992 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10993 if test "x$LINE" != x
; then
10994 eval "DEFAULT_$LINE"
10999 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11003 eval "$ac_cv_use_palette"
11004 if test "$no_cache" != 1; then
11005 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11008 if test "$wxUSE_PALETTE" = yes; then
11009 echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11019 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11021 # Check whether --enable-image or --disable-image was given.
11022 if test "${enable_image+set}" = set; then
11023 enableval
="$enable_image"
11025 if test "$enableval" = yes; then
11026 ac_cv_use_image
='wxUSE_IMAGE=yes'
11028 ac_cv_use_image
='wxUSE_IMAGE=no'
11033 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11034 if test "x$LINE" != x
; then
11035 eval "DEFAULT_$LINE"
11040 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11044 eval "$ac_cv_use_image"
11045 if test "$no_cache" != 1; then
11046 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11049 if test "$wxUSE_IMAGE" = yes; then
11050 echo "$as_me:$LINENO: result: yes" >&5
11051 echo "${ECHO_T}yes" >&6
11053 echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11062 # Check whether --enable-gif or --disable-gif was given.
11063 if test "${enable_gif+set}" = set; then
11064 enableval
="$enable_gif"
11066 if test "$enableval" = yes; then
11067 ac_cv_use_gif
='wxUSE_GIF=yes'
11069 ac_cv_use_gif
='wxUSE_GIF=no'
11074 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x
; then
11076 eval "DEFAULT_$LINE"
11081 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11085 eval "$ac_cv_use_gif"
11086 if test "$no_cache" != 1; then
11087 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11090 if test "$wxUSE_GIF" = yes; then
11091 echo "$as_me:$LINENO: result: yes" >&5
11092 echo "${ECHO_T}yes" >&6
11094 echo "$as_me:$LINENO: result: no" >&5
11095 echo "${ECHO_T}no" >&6
11100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11101 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11103 # Check whether --enable-pcx or --disable-pcx was given.
11104 if test "${enable_pcx+set}" = set; then
11105 enableval
="$enable_pcx"
11107 if test "$enableval" = yes; then
11108 ac_cv_use_pcx
='wxUSE_PCX=yes'
11110 ac_cv_use_pcx
='wxUSE_PCX=no'
11115 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11116 if test "x$LINE" != x
; then
11117 eval "DEFAULT_$LINE"
11122 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11126 eval "$ac_cv_use_pcx"
11127 if test "$no_cache" != 1; then
11128 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11131 if test "$wxUSE_PCX" = yes; then
11132 echo "$as_me:$LINENO: result: yes" >&5
11133 echo "${ECHO_T}yes" >&6
11135 echo "$as_me:$LINENO: result: no" >&5
11136 echo "${ECHO_T}no" >&6
11141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11142 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11144 # Check whether --enable-iff or --disable-iff was given.
11145 if test "${enable_iff+set}" = set; then
11146 enableval
="$enable_iff"
11148 if test "$enableval" = yes; then
11149 ac_cv_use_iff
='wxUSE_IFF=yes'
11151 ac_cv_use_iff
='wxUSE_IFF=no'
11156 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11157 if test "x$LINE" != x
; then
11158 eval "DEFAULT_$LINE"
11163 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11167 eval "$ac_cv_use_iff"
11168 if test "$no_cache" != 1; then
11169 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11172 if test "$wxUSE_IFF" = yes; then
11173 echo "$as_me:$LINENO: result: yes" >&5
11174 echo "${ECHO_T}yes" >&6
11176 echo "$as_me:$LINENO: result: no" >&5
11177 echo "${ECHO_T}no" >&6
11182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11185 # Check whether --enable-pnm or --disable-pnm was given.
11186 if test "${enable_pnm+set}" = set; then
11187 enableval
="$enable_pnm"
11189 if test "$enableval" = yes; then
11190 ac_cv_use_pnm
='wxUSE_PNM=yes'
11192 ac_cv_use_pnm
='wxUSE_PNM=no'
11197 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11198 if test "x$LINE" != x
; then
11199 eval "DEFAULT_$LINE"
11204 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11208 eval "$ac_cv_use_pnm"
11209 if test "$no_cache" != 1; then
11210 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11213 if test "$wxUSE_PNM" = yes; then
11214 echo "$as_me:$LINENO: result: yes" >&5
11215 echo "${ECHO_T}yes" >&6
11217 echo "$as_me:$LINENO: result: no" >&5
11218 echo "${ECHO_T}no" >&6
11223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11224 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11226 # Check whether --enable-xpm or --disable-xpm was given.
11227 if test "${enable_xpm+set}" = set; then
11228 enableval
="$enable_xpm"
11230 if test "$enableval" = yes; then
11231 ac_cv_use_xpm
='wxUSE_XPM=yes'
11233 ac_cv_use_xpm
='wxUSE_XPM=no'
11238 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11239 if test "x$LINE" != x
; then
11240 eval "DEFAULT_$LINE"
11245 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11249 eval "$ac_cv_use_xpm"
11250 if test "$no_cache" != 1; then
11251 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11254 if test "$wxUSE_XPM" = yes; then
11255 echo "$as_me:$LINENO: result: yes" >&5
11256 echo "${ECHO_T}yes" >&6
11258 echo "$as_me:$LINENO: result: no" >&5
11259 echo "${ECHO_T}no" >&6
11264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11265 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11267 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11268 if test "${enable_ico_cur+set}" = set; then
11269 enableval
="$enable_ico_cur"
11271 if test "$enableval" = yes; then
11272 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11274 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11279 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11280 if test "x$LINE" != x
; then
11281 eval "DEFAULT_$LINE"
11286 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11290 eval "$ac_cv_use_ico_cur"
11291 if test "$no_cache" != 1; then
11292 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11295 if test "$wxUSE_ICO_CUR" = yes; then
11296 echo "$as_me:$LINENO: result: yes" >&5
11297 echo "${ECHO_T}yes" >&6
11299 echo "$as_me:$LINENO: result: no" >&5
11300 echo "${ECHO_T}no" >&6
11308 # Check whether --with-flavour or --without-flavour was given.
11309 if test "${with_flavour+set}" = set; then
11310 withval
="$with_flavour"
11311 WX_FLAVOUR
="$withval"
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11320 # Check whether --enable-official_build or --disable-official_build was given.
11321 if test "${enable_official_build+set}" = set; then
11322 enableval
="$enable_official_build"
11324 if test "$enableval" = yes; then
11325 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11327 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11332 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x
; then
11334 eval "DEFAULT_$LINE"
11339 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11343 eval "$ac_cv_use_official_build"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11348 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11356 # Check whether --enable-vendor or --disable-vendor was given.
11357 if test "${enable_vendor+set}" = set; then
11358 enableval
="$enable_vendor"
11359 VENDOR
="$enableval"
11361 if test "x$VENDOR" = "x"; then
11368 echo "saving argument cache $wx_arg_cache_file"
11369 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11373 echo "$as_me:$LINENO: checking for toolkit" >&5
11374 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11376 # In Wine, we need to default to MSW, not GTK or MOTIF
11377 if test "$wxUSE_WINE" = "yes"; then
11378 DEFAULT_DEFAULT_wxUSE_GTK
=0
11379 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11380 DEFAULT_DEFAULT_wxUSE_MSW
=1
11385 if test "$wxUSE_GUI" = "yes"; then
11387 if test "$USE_BEOS" = 1; then
11388 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11389 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11390 { (exit 1); exit 1; }; }
11393 if test "$TOOLKIT_GIVEN" = 1; then
11394 for toolkit
in `echo $ALL_TOOLKITS`; do
11396 eval "value=\$${var}"
11397 if test "x$value" = "xno"; then
11399 elif test "x$value" != "x"; then
11403 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11404 eval "wx${toolkit}_VERSION=$value"
11408 for toolkit
in `echo $ALL_TOOLKITS`; do
11409 if test "$has_toolkit_in_cache" != 1; then
11410 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11412 var
=DEFAULT_wxUSE_
$toolkit
11414 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11415 if test "x$version" != "x"; then
11416 eval "wx${toolkit}_VERSION=$version"
11419 eval "wxUSE_$toolkit=\$${var}"
11423 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11424 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11428 *-pc-os2_emx | *-pc-os2-emx )
11429 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11432 case "$NUM_TOOLKITS" in
11436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11438 { (exit 1); exit 1; }; }
11441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11443 { (exit 1); exit 1; }; }
11446 # to be removed when --disable-gtk2 isn't needed
11447 if test "x$wxUSE_GTK2" = "xyes"; then
11449 elif test "x$wxUSE_GTK2" = "xno"; then
11453 for toolkit
in `echo $ALL_TOOLKITS`; do
11455 eval "value=\$${var}"
11456 if test "x$value" != x
; then
11457 cache_var
=CACHE_
$toolkit
11458 eval "cache=\$${cache_var}"
11459 if test "$cache" = 1; then
11460 echo "$var=$value" >> ${wx_arg_cache_file}
11461 eval "version=\$wx${toolkit}_VERSION"
11462 if test "x$version" != "x"; then
11463 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11466 if test "$value" = 1; then
11467 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11468 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11469 echo "${ECHO_T}$toolkit_echo" >&6
11474 if test "x$host_alias" != "x"; then
11475 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11476 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11478 echo "$as_me:$LINENO: result: base only" >&5
11479 echo "${ECHO_T}base only" >&6
11484 doesnt_want_win32
=0
11487 if test "$wxUSE_MSW" = 1 ; then
11489 BAKEFILE_FORCE_PLATFORM
=win32
11491 doesnt_want_win32
=1
11499 if test "$wxUSE_WINE" = "yes"; then
11503 LDFLAGS_GUI
="-mwindows"
11506 if test "$wants_win32" = 1 ; then
11509 cat >>confdefs.h
<<\_ACEOF
11510 #define __WIN32__ 1
11513 cat >>confdefs.h
<<\_ACEOF
11514 #define __WIN95__ 1
11517 cat >>confdefs.h
<<\_ACEOF
11518 #define __WINDOWS__ 1
11521 cat >>confdefs.h
<<\_ACEOF
11522 #define __GNUWIN32__ 1
11525 cat >>confdefs.h
<<\_ACEOF
11529 cat >>confdefs.h
<<\_ACEOF
11530 #define WINVER 0x0400
11534 if test "$doesnt_want_win32" = 1 ; then
11539 if test "$USE_UNIX" = 1 ; then
11541 cat >>confdefs.h
<<\_ACEOF
11548 cat >confcache
<<\_ACEOF
11549 # This file is a shell script that caches the results of configure
11550 # tests run on this system so they can be shared between configure
11551 # scripts and configure runs, see configure's option --config-cache.
11552 # It is not useful on other systems. If it contains results you don't
11553 # want to keep, you may remove or edit it.
11555 # config.status only pays attention to the cache file if you give it
11556 # the --recheck option to rerun configure.
11558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11560 # following values.
11564 # The following way of writing the cache mishandles newlines in values,
11565 # but we know of no workaround that is simple, portable, and efficient.
11566 # So, don't put newlines in cache variables' values.
11567 # Ultrix sh set writes to stderr and can't be redirected directly,
11568 # and sets the high bit in the cache file unless we assign to the vars.
11571 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11573 # `set' does not quote correctly, so add quotes (double-quote
11574 # substitution turns \\\\ into \\, and sed turns \\ into \).
11577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11580 # `set' quotes correctly as required by POSIX, so do not add quotes.
11582 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11591 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11593 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11594 if test -w $cache_file; then
11595 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11596 cat confcache
>$cache_file
11598 echo "not updating unwritable cache $cache_file"
11608 ac_cpp
='$CPP $CPPFLAGS'
11609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11612 if test -n "$ac_tool_prefix"; then
11613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11614 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11615 echo "$as_me:$LINENO: checking for $ac_word" >&5
11616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11617 if test "${ac_cv_prog_CC+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 if test -n "$CC"; then
11621 ac_cv_prog_CC
="$CC" # Let the user override the test.
11623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11624 for as_dir
in $PATH
11627 test -z "$as_dir" && as_dir
=.
11628 for ac_exec_ext
in '' $ac_executable_extensions; do
11629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11630 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11640 if test -n "$CC"; then
11641 echo "$as_me:$LINENO: result: $CC" >&5
11642 echo "${ECHO_T}$CC" >&6
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11649 if test -z "$ac_cv_prog_CC"; then
11651 # Extract the first word of "gcc", so it can be a program name with args.
11652 set dummy gcc
; ac_word
=$2
11653 echo "$as_me:$LINENO: checking for $ac_word" >&5
11654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 if test -n "$ac_ct_CC"; then
11659 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11662 for as_dir
in $PATH
11665 test -z "$as_dir" && as_dir
=.
11666 for ac_exec_ext
in '' $ac_executable_extensions; do
11667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11668 ac_cv_prog_ac_ct_CC
="gcc"
11669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11677 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11678 if test -n "$ac_ct_CC"; then
11679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11680 echo "${ECHO_T}$ac_ct_CC" >&6
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11688 CC
="$ac_cv_prog_CC"
11691 if test -z "$CC"; then
11692 if test -n "$ac_tool_prefix"; then
11693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11694 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11695 echo "$as_me:$LINENO: checking for $ac_word" >&5
11696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11697 if test "${ac_cv_prog_CC+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 if test -n "$CC"; then
11701 ac_cv_prog_CC
="$CC" # Let the user override the test.
11703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11704 for as_dir
in $PATH
11707 test -z "$as_dir" && as_dir
=.
11708 for ac_exec_ext
in '' $ac_executable_extensions; do
11709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11710 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11720 if test -n "$CC"; then
11721 echo "$as_me:$LINENO: result: $CC" >&5
11722 echo "${ECHO_T}$CC" >&6
11724 echo "$as_me:$LINENO: result: no" >&5
11725 echo "${ECHO_T}no" >&6
11729 if test -z "$ac_cv_prog_CC"; then
11731 # Extract the first word of "cc", so it can be a program name with args.
11732 set dummy cc
; ac_word
=$2
11733 echo "$as_me:$LINENO: checking for $ac_word" >&5
11734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 if test -n "$ac_ct_CC"; then
11739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11742 for as_dir
in $PATH
11745 test -z "$as_dir" && as_dir
=.
11746 for ac_exec_ext
in '' $ac_executable_extensions; do
11747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11748 ac_cv_prog_ac_ct_CC
="cc"
11749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11757 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11758 if test -n "$ac_ct_CC"; then
11759 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11760 echo "${ECHO_T}$ac_ct_CC" >&6
11762 echo "$as_me:$LINENO: result: no" >&5
11763 echo "${ECHO_T}no" >&6
11768 CC
="$ac_cv_prog_CC"
11772 if test -z "$CC"; then
11773 # Extract the first word of "cc", so it can be a program name with args.
11774 set dummy cc
; ac_word
=$2
11775 echo "$as_me:$LINENO: checking for $ac_word" >&5
11776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11777 if test "${ac_cv_prog_CC+set}" = set; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 if test -n "$CC"; then
11781 ac_cv_prog_CC
="$CC" # Let the user override the test.
11783 ac_prog_rejected
=no
11784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11785 for as_dir
in $PATH
11788 test -z "$as_dir" && as_dir
=.
11789 for ac_exec_ext
in '' $ac_executable_extensions; do
11790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11791 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11792 ac_prog_rejected
=yes
11796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 if test $ac_prog_rejected = yes; then
11803 # We found a bogon in the path, so make sure we never use it.
11804 set dummy
$ac_cv_prog_CC
11806 if test $# != 0; then
11807 # We chose a different compiler from the bogus one.
11808 # However, it has the same basename, so the bogon will be chosen
11809 # first if we set CC to just the basename; use the full file name.
11811 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11817 if test -n "$CC"; then
11818 echo "$as_me:$LINENO: result: $CC" >&5
11819 echo "${ECHO_T}$CC" >&6
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11826 if test -z "$CC"; then
11827 if test -n "$ac_tool_prefix"; then
11830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11831 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11832 echo "$as_me:$LINENO: checking for $ac_word" >&5
11833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11834 if test "${ac_cv_prog_CC+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 if test -n "$CC"; then
11838 ac_cv_prog_CC
="$CC" # Let the user override the test.
11840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11841 for as_dir
in $PATH
11844 test -z "$as_dir" && as_dir
=.
11845 for ac_exec_ext
in '' $ac_executable_extensions; do
11846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11847 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11857 if test -n "$CC"; then
11858 echo "$as_me:$LINENO: result: $CC" >&5
11859 echo "${ECHO_T}$CC" >&6
11861 echo "$as_me:$LINENO: result: no" >&5
11862 echo "${ECHO_T}no" >&6
11865 test -n "$CC" && break
11868 if test -z "$CC"; then
11872 # Extract the first word of "$ac_prog", so it can be a program name with args.
11873 set dummy
$ac_prog; ac_word
=$2
11874 echo "$as_me:$LINENO: checking for $ac_word" >&5
11875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 if test -n "$ac_ct_CC"; then
11880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11883 for as_dir
in $PATH
11886 test -z "$as_dir" && as_dir
=.
11887 for ac_exec_ext
in '' $ac_executable_extensions; do
11888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889 ac_cv_prog_ac_ct_CC
="$ac_prog"
11890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11899 if test -n "$ac_ct_CC"; then
11900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11901 echo "${ECHO_T}$ac_ct_CC" >&6
11903 echo "$as_me:$LINENO: result: no" >&5
11904 echo "${ECHO_T}no" >&6
11907 test -n "$ac_ct_CC" && break
11916 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11917 See \`config.log' for more details." >&5
11918 echo "$as_me: error: no acceptable C compiler found in \$PATH
11919 See \`config.log' for more details." >&2;}
11920 { (exit 1); exit 1; }; }
11922 # Provide some information about the compiler.
11923 echo "$as_me:$LINENO:" \
11924 "checking for C compiler version" >&5
11925 ac_compiler
=`set X $ac_compile; echo $2`
11926 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11927 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }
11931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11932 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }
11936 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11937 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }
11942 cat >conftest.
$ac_ext <<_ACEOF
11945 cat confdefs.h
>>conftest.
$ac_ext
11946 cat >>conftest.
$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11957 ac_clean_files_save
=$ac_clean_files
11958 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11959 # Try to create an executable without -o first, disregard a.out.
11960 # It will help us diagnose broken compilers, and finding out an intuition
11962 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11963 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11964 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11965 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11966 (eval $ac_link_default) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; then
11970 # Find the output, starting from the most likely. This scheme is
11971 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11974 # Be careful to initialize this variable, since it used to be cached.
11975 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11977 # b.out is created by i960 compilers.
11978 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11980 test -f "$ac_file" || continue
11982 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11985 # This is the source file.
11988 # We found the default executable, but exeext='' is most
11992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11993 # FIXME: I believe we export ac_cv_exeext for Libtool,
11994 # but it would be cool to find out if it's true. Does anybody
11995 # maintain Libtool? --akim.
11996 export ac_cv_exeext
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.
$ac_ext >&5
12006 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12007 See \`config.log' for more details." >&5
12008 echo "$as_me: error: C compiler cannot create executables
12009 See \`config.log' for more details." >&2;}
12010 { (exit 77); exit 77; }; }
12013 ac_exeext
=$ac_cv_exeext
12014 echo "$as_me:$LINENO: result: $ac_file" >&5
12015 echo "${ECHO_T}$ac_file" >&6
12017 # Check the compiler produces executables we can run. If not, either
12018 # the compiler is broken, or we cross compile.
12019 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12020 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12021 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12022 # If not cross compiling, check that we can run a simple program.
12023 if test "$cross_compiling" != yes; then
12024 if { ac_try
='./$ac_file'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then
12032 if test "$cross_compiling" = maybe
; then
12033 cross_compiling
=yes
12035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12036 If you meant to cross compile, use \`--host'.
12037 See \`config.log' for more details." >&5
12038 echo "$as_me: error: cannot run C compiled programs.
12039 If you meant to cross compile, use \`--host'.
12040 See \`config.log' for more details." >&2;}
12041 { (exit 1); exit 1; }; }
12045 echo "$as_me:$LINENO: result: yes" >&5
12046 echo "${ECHO_T}yes" >&6
12048 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12049 ac_clean_files
=$ac_clean_files_save
12050 # Check the compiler produces executables we can run. If not, either
12051 # the compiler is broken, or we cross compile.
12052 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12054 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12055 echo "${ECHO_T}$cross_compiling" >&6
12057 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12060 (eval $ac_link) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; then
12064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12066 # work properly (i.e., refer to `conftest.exe'), while it won't with
12068 for ac_file
in conftest.exe conftest conftest.
*; do
12069 test -f "$ac_file" || continue
12071 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12072 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12073 export ac_cv_exeext
12079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12080 See \`config.log' for more details." >&5
12081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12082 See \`config.log' for more details." >&2;}
12083 { (exit 1); exit 1; }; }
12086 rm -f conftest
$ac_cv_exeext
12087 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12088 echo "${ECHO_T}$ac_cv_exeext" >&6
12090 rm -f conftest.
$ac_ext
12091 EXEEXT
=$ac_cv_exeext
12093 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12095 if test "${ac_cv_objext+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 cat >conftest.
$ac_ext <<_ACEOF
12101 cat confdefs.h
>>conftest.
$ac_ext
12102 cat >>conftest.
$ac_ext <<_ACEOF
12103 /* end confdefs.h. */
12113 rm -f conftest.o conftest.obj
12114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12115 (eval $ac_compile) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; then
12119 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12121 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12122 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12130 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12131 See \`config.log' for more details." >&5
12132 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12133 See \`config.log' for more details." >&2;}
12134 { (exit 1); exit 1; }; }
12137 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12139 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12140 echo "${ECHO_T}$ac_cv_objext" >&6
12141 OBJEXT
=$ac_cv_objext
12143 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12144 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12145 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 cat >conftest.
$ac_ext <<_ACEOF
12151 cat confdefs.h
>>conftest.
$ac_ext
12152 cat >>conftest.
$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12166 rm -f conftest.
$ac_objext
12167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12168 (eval $ac_compile) 2>conftest.er1
12170 grep -v '^ *+' conftest.er1
>conftest.err
12172 cat conftest.err
>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } &&
12175 { ac_try
='test -z "$ac_c_werror_flag"
12176 || test ! -s conftest.err'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try
='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 ac_compiler_gnu
=yes
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.
$ac_ext >&5
12195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12196 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12199 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12200 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12201 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12202 ac_test_CFLAGS
=${CFLAGS+set}
12203 ac_save_CFLAGS
=$CFLAGS
12205 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12206 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12207 if test "${ac_cv_prog_cc_g+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 cat >conftest.
$ac_ext <<_ACEOF
12213 cat confdefs.h
>>conftest.
$ac_ext
12214 cat >>conftest.
$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12225 rm -f conftest.
$ac_objext
12226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12227 (eval $ac_compile) 2>conftest.er1
12229 grep -v '^ *+' conftest.er1
>conftest.err
12231 cat conftest.err
>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); } &&
12234 { ac_try
='test -z "$ac_c_werror_flag"
12235 || test ! -s conftest.err'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; } &&
12241 { ac_try
='test -s conftest.$ac_objext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 ac_cv_prog_cc_g
=yes
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.
$ac_ext >&5
12254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12257 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12258 if test "$ac_test_CFLAGS" = set; then
12259 CFLAGS
=$ac_save_CFLAGS
12260 elif test $ac_cv_prog_cc_g = yes; then
12261 if test "$GCC" = yes; then
12267 if test "$GCC" = yes; then
12273 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12274 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12275 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12278 ac_cv_prog_cc_stdc
=no
12280 cat >conftest.
$ac_ext <<_ACEOF
12283 cat confdefs.h
>>conftest.
$ac_ext
12284 cat >>conftest.
$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 #include <stdarg.h>
12288 #include <sys/types.h>
12289 #include <sys/stat.h>
12290 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12291 struct buf { int x; };
12292 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12293 static char *e (p, i)
12299 static char *f (char * (*g) (char **, int), char **p, ...)
12304 s = g (p, va_arg (v,int));
12309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12310 function prototypes and stuff, but not '\xHH' hex character constants.
12311 These don't provoke an error unfortunately, instead are silently treated
12312 as 'x'. The following induces an error, until -std1 is added to get
12313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12314 array size at least. It's necessary to write '\x00'==0 to get something
12315 that's true only with -std1. */
12316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12318 int test (int i, double x);
12319 struct s1 {int (*f) (int a);};
12320 struct s2 {int (*f) (double a);};
12321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12332 # Don't try gcc -ansi; that turns off useful extensions and
12333 # breaks some systems' header files.
12334 # AIX -qlanglvl=ansi
12335 # Ultrix and OSF/1 -std1
12336 # HP-UX 10.20 and later -Ae
12337 # HP-UX older versions -Aa -D_HPUX_SOURCE
12338 # SVR4 -Xc -D__EXTENSIONS__
12339 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12341 CC
="$ac_save_CC $ac_arg"
12342 rm -f conftest.
$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12346 grep -v '^ *+' conftest.er1
>conftest.err
12348 cat conftest.err
>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try
='test -z "$ac_c_werror_flag"
12352 || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try
='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12364 ac_cv_prog_cc_stdc
=$ac_arg
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.
$ac_ext >&5
12371 rm -f conftest.err conftest.
$ac_objext
12373 rm -f conftest.
$ac_ext conftest.
$ac_objext
12378 case "x$ac_cv_prog_cc_stdc" in
12380 echo "$as_me:$LINENO: result: none needed" >&5
12381 echo "${ECHO_T}none needed" >&6 ;;
12383 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12384 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12385 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12388 # Some people use a C++ compiler to compile C. Since we use `exit',
12389 # in C++ we need to declare it. In case someone uses the same compiler
12390 # for both compiling C and C++ we need to have the C++ compiler decide
12391 # the declaration of exit, since it's the most demanding environment.
12392 cat >conftest.
$ac_ext <<_ACEOF
12393 #ifndef __cplusplus
12397 rm -f conftest.
$ac_objext
12398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12399 (eval $ac_compile) 2>conftest.er1
12401 grep -v '^ *+' conftest.er1
>conftest.err
12403 cat conftest.err
>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try
='test -z "$ac_c_werror_flag"
12407 || test ! -s conftest.err'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; } &&
12413 { ac_try
='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 for ac_declaration
in \
12421 'extern "C" void std::exit (int) throw (); using std::exit;' \
12422 'extern "C" void std::exit (int); using std::exit;' \
12423 'extern "C" void exit (int) throw ();' \
12424 'extern "C" void exit (int);' \
12427 cat >conftest.
$ac_ext <<_ACEOF
12430 cat confdefs.h
>>conftest.
$ac_ext
12431 cat >>conftest.
$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12434 #include <stdlib.h>
12443 rm -f conftest.
$ac_objext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12445 (eval $ac_compile) 2>conftest.er1
12447 grep -v '^ *+' conftest.er1
>conftest.err
12449 cat conftest.err
>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try
='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try
='test -s conftest.$ac_objext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.
$ac_ext >&5
12472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12473 cat >conftest.
$ac_ext <<_ACEOF
12476 cat confdefs.h
>>conftest.
$ac_ext
12477 cat >>conftest.
$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12488 rm -f conftest.
$ac_objext
12489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12490 (eval $ac_compile) 2>conftest.er1
12492 grep -v '^ *+' conftest.er1
>conftest.err
12494 cat conftest.err
>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
12497 { ac_try
='test -z "$ac_c_werror_flag"
12498 || test ! -s conftest.err'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; } &&
12504 { ac_try
='test -s conftest.$ac_objext'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; }; then
12512 echo "$as_me: failed program was:" >&5
12513 sed 's/^/| /' conftest.
$ac_ext >&5
12516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12519 if test -n "$ac_declaration"; then
12520 echo '#ifdef __cplusplus' >>confdefs.h
12521 echo $ac_declaration >>confdefs.h
12522 echo '#endif' >>confdefs.h
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.
$ac_ext >&5
12530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12532 ac_cpp
='$CPP $CPPFLAGS'
12533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12540 ac_cpp
='$CPP $CPPFLAGS'
12541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12545 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12546 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12547 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12561 #ifndef __INTEL_COMPILER
12569 rm -f conftest.
$ac_objext
12570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12571 (eval $ac_compile) 2>conftest.er1
12573 grep -v '^ *+' conftest.er1
>conftest.err
12575 cat conftest.err
>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } &&
12578 { ac_try
='test -z "$ac_c_werror_flag"
12579 || test ! -s conftest.err'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; } &&
12585 { ac_try
='test -s conftest.$ac_objext'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; }; then
12591 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.
$ac_ext >&5
12596 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12603 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12604 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12606 ac_cpp
='$CPP $CPPFLAGS'
12607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12611 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12618 if test "x$GCC" != "xyes"; then
12619 if test "xCC" = "xC"; then
12620 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12621 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12622 if test "${bakefile_cv_c_exto+set}" = set; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 cat >conftest.
$ac_ext <<_ACEOF
12628 cat confdefs.h
>>conftest.
$ac_ext
12629 cat >>conftest.
$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12640 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; then
12646 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12648 conftest.
$ac_ext.o
)
12649 bakefile_cv_c_exto
="-ext o"
12656 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12657 See \`config.log' for more details." >&5
12658 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12659 See \`config.log' for more details." >&2;}
12660 { (exit 1); exit 1; }; }
12664 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12667 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12668 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12669 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12670 if test "c" = "c"; then
12671 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12673 if test "c" = "cxx"; then
12674 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12678 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12679 unset ac_cv_prog_cc_g
12680 ac_test_CFLAGS
=${CFLAGS+set}
12681 ac_save_CFLAGS
=$CFLAGS
12683 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12684 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12685 if test "${ac_cv_prog_cc_g+set}" = set; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 cat >conftest.
$ac_ext <<_ACEOF
12691 cat confdefs.h
>>conftest.
$ac_ext
12692 cat >>conftest.
$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12703 rm -f conftest.
$ac_objext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705 (eval $ac_compile) 2>conftest.er1
12707 grep -v '^ *+' conftest.er1
>conftest.err
12709 cat conftest.err
>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try
='test -z "$ac_c_werror_flag"
12713 || test ! -s conftest.err'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; } &&
12719 { ac_try
='test -s conftest.$ac_objext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12725 ac_cv_prog_cc_g
=yes
12727 echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.
$ac_ext >&5
12732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12736 if test "$ac_test_CFLAGS" = set; then
12737 CFLAGS
=$ac_save_CFLAGS
12738 elif test $ac_cv_prog_cc_g = yes; then
12739 if test "$GCC" = yes; then
12745 if test "$GCC" = yes; then
12757 ac_cpp
='$CPP $CPPFLAGS'
12758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12762 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12763 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12764 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 cat >conftest.
$ac_ext <<_ACEOF
12770 cat confdefs.h
>>conftest.
$ac_ext
12771 cat >>conftest.
$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12785 rm -f conftest.
$ac_objext
12786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 (eval $ac_compile) 2>conftest.er1
12789 grep -v '^ *+' conftest.er1
>conftest.err
12791 cat conftest.err
>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 { ac_try
='test -z "$ac_c_werror_flag"
12795 || test ! -s conftest.err'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } &&
12801 { ac_try
='test -s conftest.$ac_objext'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12807 bakefile_compiler_xlc
=yes
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.
$ac_ext >&5
12812 bakefile_compiler_xlc
=no
12814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12815 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12818 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12819 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12821 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12823 ac_cpp
='$CPP $CPPFLAGS'
12824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12833 ac_cpp
='$CPP $CPPFLAGS'
12834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12838 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12839 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12840 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 cat >conftest.
$ac_ext <<_ACEOF
12846 cat confdefs.h
>>conftest.
$ac_ext
12847 cat >>conftest.
$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12861 rm -f conftest.
$ac_objext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>conftest.er1
12865 grep -v '^ *+' conftest.er1
>conftest.err
12867 cat conftest.err
>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } &&
12870 { ac_try
='test -z "$ac_c_werror_flag"
12871 || test ! -s conftest.err'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; } &&
12877 { ac_try
='test -s conftest.$ac_objext'
12878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879 (eval $ac_try) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; }; then
12883 bakefile_compiler_mwerks
=yes
12885 echo "$as_me: failed program was:" >&5
12886 sed 's/^/| /' conftest.
$ac_ext >&5
12888 bakefile_compiler_mwerks
=no
12890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12891 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12894 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12895 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12897 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12899 ac_cpp
='$CPP $CPPFLAGS'
12900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12906 ac_cpp
='$CPP $CPPFLAGS'
12907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12911 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12912 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12913 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 cat >conftest.
$ac_ext <<_ACEOF
12919 cat confdefs.h
>>conftest.
$ac_ext
12920 cat >>conftest.
$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12934 rm -f conftest.
$ac_objext
12935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12936 (eval $ac_compile) 2>conftest.er1
12938 grep -v '^ *+' conftest.er1
>conftest.err
12940 cat conftest.err
>&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); } &&
12943 { ac_try
='test -z "$ac_c_werror_flag"
12944 || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try
='test -s conftest.$ac_objext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 bakefile_compiler_xlc
=yes
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12961 bakefile_compiler_xlc
=no
12963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12964 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12967 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12968 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12970 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12972 ac_cpp
='$CPP $CPPFLAGS'
12973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12984 ac_cpp
='$CPP $CPPFLAGS'
12985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12989 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12990 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12991 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 cat >conftest.
$ac_ext <<_ACEOF
12997 cat confdefs.h
>>conftest.
$ac_ext
12998 cat >>conftest.
$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13005 #ifndef _SGI_COMPILER_VERSION
13013 rm -f conftest.
$ac_objext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13015 (eval $ac_compile) 2>conftest.er1
13017 grep -v '^ *+' conftest.er1
>conftest.err
13019 cat conftest.err
>&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } &&
13022 { ac_try
='test -z "$ac_c_werror_flag"
13023 || test ! -s conftest.err'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; } &&
13029 { ac_try
='test -s conftest.$ac_objext'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; }; then
13035 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.
$ac_ext >&5
13040 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13047 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13048 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13050 ac_cpp
='$CPP $CPPFLAGS'
13051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13055 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13068 ac_cpp
='$CPP $CPPFLAGS'
13069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13073 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13074 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13075 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 cat >conftest.
$ac_ext <<_ACEOF
13081 cat confdefs.h
>>conftest.
$ac_ext
13082 cat >>conftest.
$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13097 rm -f conftest.
$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_c_werror_flag"
13107 || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try
='test -s conftest.$ac_objext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 bakefile_cv_c_compiler___HP_cc
=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 bakefile_cv_c_compiler___HP_cc
=no
13127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13131 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13132 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13134 ac_cpp
='$CPP $CPPFLAGS'
13135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13139 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13152 ac_cpp
='$CPP $CPPFLAGS'
13153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13157 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13158 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13159 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 cat >conftest.
$ac_ext <<_ACEOF
13165 cat confdefs.h
>>conftest.
$ac_ext
13166 cat >>conftest.
$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13181 rm -f conftest.
$ac_objext
13182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13183 (eval $ac_compile) 2>conftest.er1
13185 grep -v '^ *+' conftest.er1
>conftest.err
13187 cat conftest.err
>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try
='test -z "$ac_c_werror_flag"
13191 || test ! -s conftest.err'
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; } &&
13197 { ac_try
='test -s conftest.$ac_objext'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; }; then
13203 bakefile_cv_c_compiler___DECC
=yes
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.
$ac_ext >&5
13208 bakefile_cv_c_compiler___DECC
=no
13211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13215 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13216 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13218 ac_cpp
='$CPP $CPPFLAGS'
13219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13223 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13236 ac_cpp
='$CPP $CPPFLAGS'
13237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13241 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13242 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13243 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13244 echo $ECHO_N "(cached) $ECHO_C" >&6
13246 cat >conftest.
$ac_ext <<_ACEOF
13249 cat confdefs.h
>>conftest.
$ac_ext
13250 cat >>conftest.
$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13265 rm -f conftest.
$ac_objext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13267 (eval $ac_compile) 2>conftest.er1
13269 grep -v '^ *+' conftest.er1
>conftest.err
13271 cat conftest.err
>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } &&
13274 { ac_try
='test -z "$ac_c_werror_flag"
13275 || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 bakefile_cv_c_compiler___SUNPRO_C
=yes
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 bakefile_cv_c_compiler___SUNPRO_C
=no
13295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13299 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13300 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13302 ac_cpp
='$CPP $CPPFLAGS'
13303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13307 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13321 ac_cpp
='$CPP $CPPFLAGS'
13322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13325 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13326 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13327 # On Suns, sometimes $CPP names a directory.
13328 if test -n "$CPP" && test -d "$CPP"; then
13331 if test -z "$CPP"; then
13332 if test "${ac_cv_prog_CPP+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 # Double quotes because CPP needs to be expanded
13336 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13338 ac_preproc_ok
=false
13339 for ac_c_preproc_warn_flag
in '' yes
13341 # Use a header file that comes with gcc, so configuring glibc
13342 # with a fresh cross-compiler works.
13343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344 # <limits.h> exists even on freestanding compilers.
13345 # On the NeXT, cc -E runs the code through the compiler's parser,
13346 # not just through cpp. "Syntax error" is here to catch this case.
13347 cat >conftest.
$ac_ext <<_ACEOF
13350 cat confdefs.h
>>conftest.
$ac_ext
13351 cat >>conftest.
$ac_ext <<_ACEOF
13352 /* end confdefs.h. */
13354 # include <limits.h>
13356 # include <assert.h>
13360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13363 grep -v '^ *+' conftest.er1
>conftest.err
13365 cat conftest.err
>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } >/dev
/null
; then
13368 if test -s conftest.err
; then
13369 ac_cpp_err
=$ac_c_preproc_warn_flag
13370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13377 if test -z "$ac_cpp_err"; then
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.
$ac_ext >&5
13383 # Broken: fails on valid input.
13386 rm -f conftest.err conftest.
$ac_ext
13388 # OK, works on sane cases. Now check whether non-existent headers
13389 # can be detected and how.
13390 cat >conftest.
$ac_ext <<_ACEOF
13393 cat confdefs.h
>>conftest.
$ac_ext
13394 cat >>conftest.
$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 #include <ac_nonexistent.h>
13398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13401 grep -v '^ *+' conftest.er1
>conftest.err
13403 cat conftest.err
>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); } >/dev
/null
; then
13406 if test -s conftest.err
; then
13407 ac_cpp_err
=$ac_c_preproc_warn_flag
13408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13415 if test -z "$ac_cpp_err"; then
13416 # Broken: success on invalid input.
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.
$ac_ext >&5
13422 # Passes both tests.
13426 rm -f conftest.err conftest.
$ac_ext
13429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13430 rm -f conftest.err conftest.
$ac_ext
13431 if $ac_preproc_ok; then
13436 ac_cv_prog_CPP
=$CPP
13439 CPP
=$ac_cv_prog_CPP
13441 ac_cv_prog_CPP
=$CPP
13443 echo "$as_me:$LINENO: result: $CPP" >&5
13444 echo "${ECHO_T}$CPP" >&6
13445 ac_preproc_ok
=false
13446 for ac_c_preproc_warn_flag
in '' yes
13448 # Use a header file that comes with gcc, so configuring glibc
13449 # with a fresh cross-compiler works.
13450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13451 # <limits.h> exists even on freestanding compilers.
13452 # On the NeXT, cc -E runs the code through the compiler's parser,
13453 # not just through cpp. "Syntax error" is here to catch this case.
13454 cat >conftest.
$ac_ext <<_ACEOF
13457 cat confdefs.h
>>conftest.
$ac_ext
13458 cat >>conftest.
$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13461 # include <limits.h>
13463 # include <assert.h>
13467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13470 grep -v '^ *+' conftest.er1
>conftest.err
13472 cat conftest.err
>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } >/dev
/null
; then
13475 if test -s conftest.err
; then
13476 ac_cpp_err
=$ac_c_preproc_warn_flag
13477 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13484 if test -z "$ac_cpp_err"; then
13487 echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.
$ac_ext >&5
13490 # Broken: fails on valid input.
13493 rm -f conftest.err conftest.
$ac_ext
13495 # OK, works on sane cases. Now check whether non-existent headers
13496 # can be detected and how.
13497 cat >conftest.
$ac_ext <<_ACEOF
13500 cat confdefs.h
>>conftest.
$ac_ext
13501 cat >>conftest.
$ac_ext <<_ACEOF
13502 /* end confdefs.h. */
13503 #include <ac_nonexistent.h>
13505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13508 grep -v '^ *+' conftest.er1
>conftest.err
13510 cat conftest.err
>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } >/dev
/null
; then
13513 if test -s conftest.err
; then
13514 ac_cpp_err
=$ac_c_preproc_warn_flag
13515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13522 if test -z "$ac_cpp_err"; then
13523 # Broken: success on invalid input.
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.
$ac_ext >&5
13529 # Passes both tests.
13533 rm -f conftest.err conftest.
$ac_ext
13536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13537 rm -f conftest.err conftest.
$ac_ext
13538 if $ac_preproc_ok; then
13541 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13542 See \`config.log' for more details." >&5
13543 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13544 See \`config.log' for more details." >&2;}
13545 { (exit 1); exit 1; }; }
13549 ac_cpp
='$CPP $CPPFLAGS'
13550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13555 echo "$as_me:$LINENO: checking for egrep" >&5
13556 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13557 if test "${ac_cv_prog_egrep+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13560 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13561 then ac_cv_prog_egrep
='grep -E'
13562 else ac_cv_prog_egrep
='egrep'
13565 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13566 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13567 EGREP
=$ac_cv_prog_egrep
13570 if test $ac_cv_c_compiler_gnu = yes; then
13571 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13572 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13573 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13576 ac_pattern
="Autoconf.*'x'"
13577 cat >conftest.
$ac_ext <<_ACEOF
13580 cat confdefs.h
>>conftest.
$ac_ext
13581 cat >>conftest.
$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13587 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13588 ac_cv_prog_gcc_traditional
=yes
13590 ac_cv_prog_gcc_traditional
=no
13595 if test $ac_cv_prog_gcc_traditional = no
; then
13596 cat >conftest.
$ac_ext <<_ACEOF
13599 cat confdefs.h
>>conftest.
$ac_ext
13600 cat >>conftest.
$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 #include <termio.h>
13605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13606 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13607 ac_cv_prog_gcc_traditional
=yes
13613 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13614 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13615 if test $ac_cv_prog_gcc_traditional = yes; then
13616 CC
="$CC -traditional"
13622 ac_cpp
='$CXXCPP $CPPFLAGS'
13623 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13624 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13625 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13628 CXXFLAGS
=${CXXFLAGS:=}
13633 ac_cpp
='$CXXCPP $CPPFLAGS'
13634 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13635 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13636 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13637 if test -n "$ac_tool_prefix"; then
13638 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13641 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13642 echo "$as_me:$LINENO: checking for $ac_word" >&5
13643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13644 if test "${ac_cv_prog_CXX+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 if test -n "$CXX"; then
13648 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13651 for as_dir
in $PATH
13654 test -z "$as_dir" && as_dir
=.
13655 for ac_exec_ext
in '' $ac_executable_extensions; do
13656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13657 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13666 CXX
=$ac_cv_prog_CXX
13667 if test -n "$CXX"; then
13668 echo "$as_me:$LINENO: result: $CXX" >&5
13669 echo "${ECHO_T}$CXX" >&6
13671 echo "$as_me:$LINENO: result: no" >&5
13672 echo "${ECHO_T}no" >&6
13675 test -n "$CXX" && break
13678 if test -z "$CXX"; then
13680 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13682 # Extract the first word of "$ac_prog", so it can be a program name with args.
13683 set dummy
$ac_prog; ac_word
=$2
13684 echo "$as_me:$LINENO: checking for $ac_word" >&5
13685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13686 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 if test -n "$ac_ct_CXX"; then
13690 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13693 for as_dir
in $PATH
13696 test -z "$as_dir" && as_dir
=.
13697 for ac_exec_ext
in '' $ac_executable_extensions; do
13698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13699 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13708 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13709 if test -n "$ac_ct_CXX"; then
13710 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13711 echo "${ECHO_T}$ac_ct_CXX" >&6
13713 echo "$as_me:$LINENO: result: no" >&5
13714 echo "${ECHO_T}no" >&6
13717 test -n "$ac_ct_CXX" && break
13719 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13725 # Provide some information about the compiler.
13726 echo "$as_me:$LINENO:" \
13727 "checking for C++ compiler version" >&5
13728 ac_compiler
=`set X $ac_compile; echo $2`
13729 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13730 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }
13734 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13735 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }
13739 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13740 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }
13745 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13746 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13747 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13768 rm -f conftest.
$ac_objext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13770 (eval $ac_compile) 2>conftest.er1
13772 grep -v '^ *+' conftest.er1
>conftest.err
13774 cat conftest.err
>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try
='test -z "$ac_cxx_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try
='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_compiler_gnu
=yes
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.
$ac_ext >&5
13797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13798 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13801 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13802 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13803 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13804 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13805 ac_save_CXXFLAGS
=$CXXFLAGS
13807 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13808 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13809 if test "${ac_cv_prog_cxx_g+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13812 cat >conftest.
$ac_ext <<_ACEOF
13815 cat confdefs.h
>>conftest.
$ac_ext
13816 cat >>conftest.
$ac_ext <<_ACEOF
13817 /* end confdefs.h. */
13827 rm -f conftest.
$ac_objext
13828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13829 (eval $ac_compile) 2>conftest.er1
13831 grep -v '^ *+' conftest.er1
>conftest.err
13833 cat conftest.err
>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } &&
13836 { ac_try
='test -z "$ac_cxx_werror_flag"
13837 || test ! -s conftest.err'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try
='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_cv_prog_cxx_g
=yes
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.
$ac_ext >&5
13854 ac_cv_prog_cxx_g
=no
13856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13858 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13859 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13860 if test "$ac_test_CXXFLAGS" = set; then
13861 CXXFLAGS
=$ac_save_CXXFLAGS
13862 elif test $ac_cv_prog_cxx_g = yes; then
13863 if test "$GXX" = yes; then
13869 if test "$GXX" = yes; then
13875 for ac_declaration
in \
13877 'extern "C" void std::exit (int) throw (); using std::exit;' \
13878 'extern "C" void std::exit (int); using std::exit;' \
13879 'extern "C" void exit (int) throw ();' \
13880 'extern "C" void exit (int);' \
13883 cat >conftest.
$ac_ext <<_ACEOF
13886 cat confdefs.h
>>conftest.
$ac_ext
13887 cat >>conftest.
$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13890 #include <stdlib.h>
13899 rm -f conftest.
$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13903 grep -v '^ *+' conftest.er1
>conftest.err
13905 cat conftest.err
>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try
='test -z "$ac_cxx_werror_flag"
13909 || test ! -s conftest.err'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; } &&
13915 { ac_try
='test -s conftest.$ac_objext'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.
$ac_ext >&5
13928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13929 cat >conftest.
$ac_ext <<_ACEOF
13932 cat confdefs.h
>>conftest.
$ac_ext
13933 cat >>conftest.
$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13944 rm -f conftest.
$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>conftest.er1
13948 grep -v '^ *+' conftest.er1
>conftest.err
13950 cat conftest.err
>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try
='test -z "$ac_cxx_werror_flag"
13954 || test ! -s conftest.err'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; } &&
13960 { ac_try
='test -s conftest.$ac_objext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.
$ac_ext >&5
13972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13975 if test -n "$ac_declaration"; then
13976 echo '#ifdef __cplusplus' >>confdefs.h
13977 echo $ac_declaration >>confdefs.h
13978 echo '#endif' >>confdefs.h
13982 ac_cpp
='$CXXCPP $CPPFLAGS'
13983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13990 ac_cpp
='$CXXCPP $CPPFLAGS'
13991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13995 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13996 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13997 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 cat >conftest.
$ac_ext <<_ACEOF
14003 cat confdefs.h
>>conftest.
$ac_ext
14004 cat >>conftest.
$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14011 #ifndef __INTEL_COMPILER
14019 rm -f conftest.
$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>conftest.er1
14023 grep -v '^ *+' conftest.er1
>conftest.err
14025 cat conftest.err
>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try
='test -z "$ac_cxx_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try
='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14056 ac_cpp
='$CXXCPP $CPPFLAGS'
14057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14061 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14068 if test "x$GCXX" != "xyes"; then
14069 if test "xCXX" = "xC"; then
14070 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14071 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14072 if test "${bakefile_cv_cxx_exto+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14075 cat >conftest.
$ac_ext <<_ACEOF
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14090 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14092 (eval $ac_compile) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; then
14096 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14098 conftest.
$ac_ext.o
)
14099 bakefile_cv_cxx_exto
="-ext o"
14106 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14107 See \`config.log' for more details." >&5
14108 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14109 See \`config.log' for more details." >&2;}
14110 { (exit 1); exit 1; }; }
14114 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14117 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14118 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14119 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14120 if test "cxx" = "c"; then
14121 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14123 if test "cxx" = "cxx"; then
14124 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14128 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14129 unset ac_cv_prog_cc_g
14130 ac_test_CFLAGS
=${CFLAGS+set}
14131 ac_save_CFLAGS
=$CFLAGS
14133 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14134 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14135 if test "${ac_cv_prog_cc_g+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14153 rm -f conftest.
$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_cxx_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try
='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_cv_prog_cc_g
=yes
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.
$ac_ext >&5
14182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14184 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14185 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14186 if test "$ac_test_CFLAGS" = set; then
14187 CFLAGS
=$ac_save_CFLAGS
14188 elif test $ac_cv_prog_cc_g = yes; then
14189 if test "$GCC" = yes; then
14195 if test "$GCC" = yes; then
14207 ac_cpp
='$CXXCPP $CPPFLAGS'
14208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14212 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14213 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14214 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 cat >conftest.
$ac_ext <<_ACEOF
14220 cat confdefs.h
>>conftest.
$ac_ext
14221 cat >>conftest.
$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14235 rm -f conftest.
$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14239 grep -v '^ *+' conftest.er1
>conftest.err
14241 cat conftest.err
>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try
='test -z "$ac_cxx_werror_flag"
14245 || test ! -s conftest.err'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; } &&
14251 { ac_try
='test -s conftest.$ac_objext'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; }; then
14257 bakefile_compiler_xlc
=yes
14259 echo "$as_me: failed program was:" >&5
14260 sed 's/^/| /' conftest.
$ac_ext >&5
14262 bakefile_compiler_xlc
=no
14264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14265 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14268 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14269 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14271 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14273 ac_cpp
='$CXXCPP $CPPFLAGS'
14274 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14275 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14276 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14283 ac_cpp
='$CXXCPP $CPPFLAGS'
14284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14288 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14289 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14290 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 cat >conftest.
$ac_ext <<_ACEOF
14296 cat confdefs.h
>>conftest.
$ac_ext
14297 cat >>conftest.
$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14311 rm -f conftest.
$ac_objext
14312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14313 (eval $ac_compile) 2>conftest.er1
14315 grep -v '^ *+' conftest.er1
>conftest.err
14317 cat conftest.err
>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); } &&
14320 { ac_try
='test -z "$ac_cxx_werror_flag"
14321 || test ! -s conftest.err'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; } &&
14327 { ac_try
='test -s conftest.$ac_objext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 bakefile_compiler_mwerks
=yes
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.
$ac_ext >&5
14338 bakefile_compiler_mwerks
=no
14340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14344 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14345 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14347 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14349 ac_cpp
='$CXXCPP $CPPFLAGS'
14350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14356 ac_cpp
='$CXXCPP $CPPFLAGS'
14357 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14358 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14359 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14361 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14362 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14363 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 cat >conftest.
$ac_ext <<_ACEOF
14369 cat confdefs.h
>>conftest.
$ac_ext
14370 cat >>conftest.
$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14384 rm -f conftest.
$ac_objext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14386 (eval $ac_compile) 2>conftest.er1
14388 grep -v '^ *+' conftest.er1
>conftest.err
14390 cat conftest.err
>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try
='test -z "$ac_cxx_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try
='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 bakefile_compiler_xlc
=yes
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.
$ac_ext >&5
14411 bakefile_compiler_xlc
=no
14413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14414 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14417 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14418 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14420 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14422 ac_cpp
='$CXXCPP $CPPFLAGS'
14423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14434 ac_cpp
='$CXXCPP $CPPFLAGS'
14435 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14436 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14437 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14439 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14440 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14441 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 cat >conftest.
$ac_ext <<_ACEOF
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14455 #ifndef _SGI_COMPILER_VERSION
14463 rm -f conftest.
$ac_objext
14464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14465 (eval $ac_compile) 2>conftest.er1
14467 grep -v '^ *+' conftest.er1
>conftest.err
14469 cat conftest.err
>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try
='test -z "$ac_cxx_werror_flag"
14473 || test ! -s conftest.err'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; } &&
14479 { ac_try
='test -s conftest.$ac_objext'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; }; then
14485 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.
$ac_ext >&5
14490 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14497 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14498 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14500 ac_cpp
='$CXXCPP $CPPFLAGS'
14501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14505 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14518 ac_cpp
='$CXXCPP $CPPFLAGS'
14519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14523 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14524 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14525 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 cat >conftest.
$ac_ext <<_ACEOF
14531 cat confdefs.h
>>conftest.
$ac_ext
14532 cat >>conftest.
$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14547 rm -f conftest.
$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14551 grep -v '^ *+' conftest.er1
>conftest.err
14553 cat conftest.err
>&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try
='test -z "$ac_cxx_werror_flag"
14557 || test ! -s conftest.err'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; } &&
14563 { ac_try
='test -s conftest.$ac_objext'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 bakefile_cv_cxx_compiler___HP_aCC
=yes
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.
$ac_ext >&5
14574 bakefile_cv_cxx_compiler___HP_aCC
=no
14577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14581 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14582 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14584 ac_cpp
='$CXXCPP $CPPFLAGS'
14585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14589 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14602 ac_cpp
='$CXXCPP $CPPFLAGS'
14603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14607 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14608 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14609 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 cat >conftest.
$ac_ext <<_ACEOF
14615 cat confdefs.h
>>conftest.
$ac_ext
14616 cat >>conftest.
$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14631 rm -f conftest.
$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633 (eval $ac_compile) 2>conftest.er1
14635 grep -v '^ *+' conftest.er1
>conftest.err
14637 cat conftest.err
>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try
='test -z "$ac_cxx_werror_flag"
14641 || test ! -s conftest.err'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; } &&
14647 { ac_try
='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 bakefile_cv_cxx_compiler___DECCXX
=yes
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.
$ac_ext >&5
14658 bakefile_cv_cxx_compiler___DECCXX
=no
14661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14665 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14666 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14668 ac_cpp
='$CXXCPP $CPPFLAGS'
14669 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14673 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14686 ac_cpp
='$CXXCPP $CPPFLAGS'
14687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14691 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14692 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14693 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 cat >conftest.
$ac_ext <<_ACEOF
14699 cat confdefs.h
>>conftest.
$ac_ext
14700 cat >>conftest.
$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14707 #ifndef __SUNPRO_CC
14715 rm -f conftest.
$ac_objext
14716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14717 (eval $ac_compile) 2>conftest.er1
14719 grep -v '^ *+' conftest.er1
>conftest.err
14721 cat conftest.err
>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } &&
14724 { ac_try
='test -z "$ac_cxx_werror_flag"
14725 || test ! -s conftest.err'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; } &&
14731 { ac_try
='test -s conftest.$ac_objext'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14737 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.
$ac_ext >&5
14742 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14749 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14750 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14752 ac_cpp
='$CXXCPP $CPPFLAGS'
14753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14757 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14770 if test -n "$ac_tool_prefix"; then
14771 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14772 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14773 echo "$as_me:$LINENO: checking for $ac_word" >&5
14774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14775 if test "${ac_cv_prog_RANLIB+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 if test -n "$RANLIB"; then
14779 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14782 for as_dir
in $PATH
14785 test -z "$as_dir" && as_dir
=.
14786 for ac_exec_ext
in '' $ac_executable_extensions; do
14787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14788 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14797 RANLIB
=$ac_cv_prog_RANLIB
14798 if test -n "$RANLIB"; then
14799 echo "$as_me:$LINENO: result: $RANLIB" >&5
14800 echo "${ECHO_T}$RANLIB" >&6
14802 echo "$as_me:$LINENO: result: no" >&5
14803 echo "${ECHO_T}no" >&6
14807 if test -z "$ac_cv_prog_RANLIB"; then
14808 ac_ct_RANLIB
=$RANLIB
14809 # Extract the first word of "ranlib", so it can be a program name with args.
14810 set dummy ranlib
; ac_word
=$2
14811 echo "$as_me:$LINENO: checking for $ac_word" >&5
14812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14813 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 if test -n "$ac_ct_RANLIB"; then
14817 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14820 for as_dir
in $PATH
14823 test -z "$as_dir" && as_dir
=.
14824 for ac_exec_ext
in '' $ac_executable_extensions; do
14825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14826 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14833 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14836 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14837 if test -n "$ac_ct_RANLIB"; then
14838 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14839 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14841 echo "$as_me:$LINENO: result: no" >&5
14842 echo "${ECHO_T}no" >&6
14845 RANLIB
=$ac_ct_RANLIB
14847 RANLIB
="$ac_cv_prog_RANLIB"
14851 if test -n "$ac_tool_prefix"; then
14852 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14853 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14854 echo "$as_me:$LINENO: checking for $ac_word" >&5
14855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14856 if test "${ac_cv_prog_AR+set}" = set; then
14857 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 if test -n "$AR"; then
14860 ac_cv_prog_AR
="$AR" # Let the user override the test.
14862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14863 for as_dir
in $PATH
14866 test -z "$as_dir" && as_dir
=.
14867 for ac_exec_ext
in '' $ac_executable_extensions; do
14868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14869 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14879 if test -n "$AR"; then
14880 echo "$as_me:$LINENO: result: $AR" >&5
14881 echo "${ECHO_T}$AR" >&6
14883 echo "$as_me:$LINENO: result: no" >&5
14884 echo "${ECHO_T}no" >&6
14888 if test -z "$ac_cv_prog_AR"; then
14890 # Extract the first word of "ar", so it can be a program name with args.
14891 set dummy
ar; ac_word
=$2
14892 echo "$as_me:$LINENO: checking for $ac_word" >&5
14893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14894 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 if test -n "$ac_ct_AR"; then
14898 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14901 for as_dir
in $PATH
14904 test -z "$as_dir" && as_dir
=.
14905 for ac_exec_ext
in '' $ac_executable_extensions; do
14906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14907 ac_cv_prog_ac_ct_AR
="ar"
14908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14916 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14917 if test -n "$ac_ct_AR"; then
14918 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14919 echo "${ECHO_T}$ac_ct_AR" >&6
14921 echo "$as_me:$LINENO: result: no" >&5
14922 echo "${ECHO_T}no" >&6
14927 AR
="$ac_cv_prog_AR"
14930 if test "x$AR" = "x" ; then
14931 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14932 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14933 { (exit 1); exit 1; }; }
14936 # Find a good install program. We prefer a C program (faster),
14937 # so one script is as good as another. But avoid the broken or
14938 # incompatible versions:
14939 # SysV /etc/install, /usr/sbin/install
14940 # SunOS /usr/etc/install
14941 # IRIX /sbin/install
14943 # AmigaOS /C/install, which installs bootblocks on floppy discs
14944 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14945 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14946 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14947 # OS/2's system install, which has a completely different semantic
14948 # ./install, which can be erroneously created by make from ./install.sh.
14949 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14950 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14951 if test -z "$INSTALL"; then
14952 if test "${ac_cv_path_install+set}" = set; then
14953 echo $ECHO_N "(cached) $ECHO_C" >&6
14955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14956 for as_dir
in $PATH
14959 test -z "$as_dir" && as_dir
=.
14960 # Account for people who put trailing slashes in PATH elements.
14962 .
/ | .
// | /cC
/* | \
14963 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14964 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14967 # OSF1 and SCO ODT 3.0 have their own names for install.
14968 # Don't use installbsd from OSF since it installs stuff as root
14970 for ac_prog
in ginstall scoinst
install; do
14971 for ac_exec_ext
in '' $ac_executable_extensions; do
14972 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14973 if test $ac_prog = install &&
14974 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14975 # AIX install. It has an incompatible calling convention.
14977 elif test $ac_prog = install &&
14978 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14979 # program-specific install script used by HP pwplus--don't use.
14982 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14994 if test "${ac_cv_path_install+set}" = set; then
14995 INSTALL
=$ac_cv_path_install
14997 # As a last resort, use the slow shell script. We don't cache a
14998 # path for INSTALL within a source directory, because that will
14999 # break other packages using the cache if that directory is
15000 # removed, or if the path is relative.
15001 INSTALL
=$ac_install_sh
15004 echo "$as_me:$LINENO: result: $INSTALL" >&5
15005 echo "${ECHO_T}$INSTALL" >&6
15007 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15008 # It thinks the first close brace ends the variable substitution.
15009 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15011 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15013 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15019 ?
:* ) # Drive letter, considered as absolute.
15022 INSTALL
=`pwd`/${INSTALL} ;;
15029 INSTALL_PROGRAM
="cp -fp"
15030 INSTALL_DATA
="cp -fp"
15036 if test -n "$ac_tool_prefix"; then
15037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15038 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15039 echo "$as_me:$LINENO: checking for $ac_word" >&5
15040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15041 if test "${ac_cv_prog_STRIP+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 if test -n "$STRIP"; then
15045 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15048 for as_dir
in $PATH
15051 test -z "$as_dir" && as_dir
=.
15052 for ac_exec_ext
in '' $ac_executable_extensions; do
15053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15054 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15063 STRIP
=$ac_cv_prog_STRIP
15064 if test -n "$STRIP"; then
15065 echo "$as_me:$LINENO: result: $STRIP" >&5
15066 echo "${ECHO_T}$STRIP" >&6
15068 echo "$as_me:$LINENO: result: no" >&5
15069 echo "${ECHO_T}no" >&6
15073 if test -z "$ac_cv_prog_STRIP"; then
15075 # Extract the first word of "strip", so it can be a program name with args.
15076 set dummy strip
; ac_word
=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 if test -n "$ac_ct_STRIP"; then
15083 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15086 for as_dir
in $PATH
15089 test -z "$as_dir" && as_dir
=.
15090 for ac_exec_ext
in '' $ac_executable_extensions; do
15091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_prog_ac_ct_STRIP
="strip"
15093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15099 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15102 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15103 if test -n "$ac_ct_STRIP"; then
15104 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15105 echo "${ECHO_T}$ac_ct_STRIP" >&6
15107 echo "$as_me:$LINENO: result: no" >&5
15108 echo "${ECHO_T}no" >&6
15113 STRIP
="$ac_cv_prog_STRIP"
15117 if test "$wxUSE_WINE" = "yes"; then
15118 if test -n "$ac_tool_prefix"; then
15119 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15120 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_prog_WINDRES+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 if test -n "$WINDRES"; then
15127 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15130 for as_dir
in $PATH
15133 test -z "$as_dir" && as_dir
=.
15134 for ac_exec_ext
in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15145 WINDRES
=$ac_cv_prog_WINDRES
15146 if test -n "$WINDRES"; then
15147 echo "$as_me:$LINENO: result: $WINDRES" >&5
15148 echo "${ECHO_T}$WINDRES" >&6
15150 echo "$as_me:$LINENO: result: no" >&5
15151 echo "${ECHO_T}no" >&6
15155 if test -z "$ac_cv_prog_WINDRES"; then
15156 ac_ct_WINDRES
=$WINDRES
15157 # Extract the first word of "wrc", so it can be a program name with args.
15158 set dummy wrc
; ac_word
=$2
15159 echo "$as_me:$LINENO: checking for $ac_word" >&5
15160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15161 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 if test -n "$ac_ct_WINDRES"; then
15165 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15168 for as_dir
in $PATH
15171 test -z "$as_dir" && as_dir
=.
15172 for ac_exec_ext
in '' $ac_executable_extensions; do
15173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15174 ac_cv_prog_ac_ct_WINDRES
="wrc"
15175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15183 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15184 if test -n "$ac_ct_WINDRES"; then
15185 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15186 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15188 echo "$as_me:$LINENO: result: no" >&5
15189 echo "${ECHO_T}no" >&6
15192 WINDRES
=$ac_ct_WINDRES
15194 WINDRES
="$ac_cv_prog_WINDRES"
15200 *-*-cygwin* | *-*-mingw32* )
15201 if test -n "$ac_tool_prefix"; then
15202 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15203 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15204 echo "$as_me:$LINENO: checking for $ac_word" >&5
15205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15206 if test "${ac_cv_prog_WINDRES+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 if test -n "$WINDRES"; then
15210 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15213 for as_dir
in $PATH
15216 test -z "$as_dir" && as_dir
=.
15217 for ac_exec_ext
in '' $ac_executable_extensions; do
15218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15219 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15228 WINDRES
=$ac_cv_prog_WINDRES
15229 if test -n "$WINDRES"; then
15230 echo "$as_me:$LINENO: result: $WINDRES" >&5
15231 echo "${ECHO_T}$WINDRES" >&6
15233 echo "$as_me:$LINENO: result: no" >&5
15234 echo "${ECHO_T}no" >&6
15238 if test -z "$ac_cv_prog_WINDRES"; then
15239 ac_ct_WINDRES
=$WINDRES
15240 # Extract the first word of "windres", so it can be a program name with args.
15241 set dummy windres
; ac_word
=$2
15242 echo "$as_me:$LINENO: checking for $ac_word" >&5
15243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15244 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 if test -n "$ac_ct_WINDRES"; then
15248 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15251 for as_dir
in $PATH
15254 test -z "$as_dir" && as_dir
=.
15255 for ac_exec_ext
in '' $ac_executable_extensions; do
15256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15257 ac_cv_prog_ac_ct_WINDRES
="windres"
15258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15266 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15267 if test -n "$ac_ct_WINDRES"; then
15268 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15269 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15271 echo "$as_me:$LINENO: result: no" >&5
15272 echo "${ECHO_T}no" >&6
15275 WINDRES
=$ac_ct_WINDRES
15277 WINDRES
="$ac_cv_prog_WINDRES"
15281 if test -n "$ac_tool_prefix"; then
15282 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15283 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15284 echo "$as_me:$LINENO: checking for $ac_word" >&5
15285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15286 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 if test -n "$DLLTOOL"; then
15290 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15293 for as_dir
in $PATH
15296 test -z "$as_dir" && as_dir
=.
15297 for ac_exec_ext
in '' $ac_executable_extensions; do
15298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15299 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15308 DLLTOOL
=$ac_cv_prog_DLLTOOL
15309 if test -n "$DLLTOOL"; then
15310 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15311 echo "${ECHO_T}$DLLTOOL" >&6
15313 echo "$as_me:$LINENO: result: no" >&5
15314 echo "${ECHO_T}no" >&6
15318 if test -z "$ac_cv_prog_DLLTOOL"; then
15319 ac_ct_DLLTOOL
=$DLLTOOL
15320 # Extract the first word of "dlltool", so it can be a program name with args.
15321 set dummy dlltool
; ac_word
=$2
15322 echo "$as_me:$LINENO: checking for $ac_word" >&5
15323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15324 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 if test -n "$ac_ct_DLLTOOL"; then
15328 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15331 for as_dir
in $PATH
15334 test -z "$as_dir" && as_dir
=.
15335 for ac_exec_ext
in '' $ac_executable_extensions; do
15336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15337 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15346 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15347 if test -n "$ac_ct_DLLTOOL"; then
15348 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15349 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15351 echo "$as_me:$LINENO: result: no" >&5
15352 echo "${ECHO_T}no" >&6
15355 DLLTOOL
=$ac_ct_DLLTOOL
15357 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15364 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15365 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15366 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15371 egrep -s GNU
> /dev
/null
); then
15372 wx_cv_prog_makeisgnu
="yes"
15374 wx_cv_prog_makeisgnu
="no"
15378 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15379 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15381 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15389 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15390 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15391 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15392 if test "${wx_cv_prog_makevpath+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 cat - << EOF > confMake
15402 if test ! -d sub
; then
15405 echo dummy
> sub
/file
15406 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15408 rm -f sub
/file check final_file confMake
15410 if test "$RESULT" = 0; then
15411 wx_cv_prog_makevpath
="yes"
15413 wx_cv_prog_makevpath
="no"
15417 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15418 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15420 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15421 { { echo "$as_me:$LINENO: error:
15422 You need a make-utility that is able to use the variable
15424 If your version of make does not support VPATH correctly,
15425 please install GNU-make (possibly as gmake), and start
15426 configure with the following command:
15427 export MAKE=gmake; ./configure for sh-type shells
15428 setenv MAKE gmake; ./configure for csh-type shells
15429 Also please do remember to use gmake in this case every time
15430 you are trying to compile.
15432 echo "$as_me: error:
15433 You need a make-utility that is able to use the variable
15435 If your version of make does not support VPATH correctly,
15436 please install GNU-make (possibly as gmake), and start
15437 configure with the following command:
15438 export MAKE=gmake; ./configure for sh-type shells
15439 setenv MAKE gmake; ./configure for csh-type shells
15440 Also please do remember to use gmake in this case every time
15441 you are trying to compile.
15443 { (exit 1); exit 1; }; }
15445 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15446 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15448 if test "$LN_S" = "ln -s"; then
15449 echo "$as_me:$LINENO: result: yes" >&5
15450 echo "${ECHO_T}yes" >&6
15452 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15453 echo "${ECHO_T}no, using $LN_S" >&6
15459 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15460 CXXFLAGS
="-qunique $CXXFLAGS"
15464 powerpc
-*-darwin* )
15465 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15466 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15467 cat >conftest.
$ac_ext <<_ACEOF
15470 cat confdefs.h
>>conftest.
$ac_ext
15471 cat >>conftest.
$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15477 #ifndef __POWERPC__
15478 choke me for lack of PowerPC
15485 rm -f conftest.
$ac_objext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 (eval $ac_compile) 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -z "$ac_cxx_werror_flag"
15495 || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try
='test -s conftest.$ac_objext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 echo "$as_me:$LINENO: result: yes" >&5
15508 echo "${ECHO_T}yes" >&6
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.
$ac_ext >&5
15513 echo "$as_me:$LINENO: result: no" >&5
15514 echo "${ECHO_T}no" >&6
15515 cat >>confdefs.h
<<\_ACEOF
15516 #define __POWERPC__ 1
15521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15527 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15528 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15529 cat >conftest.
$ac_ext <<_ACEOF
15532 cat confdefs.h
>>conftest.
$ac_ext
15533 cat >>conftest.
$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15535 #include <CoreFoundation/CFBase.h>
15545 rm -f conftest.
$ac_objext
15546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15547 (eval $ac_compile) 2>conftest.er1
15549 grep -v '^ *+' conftest.er1
>conftest.err
15551 cat conftest.err
>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try
='test -z "$ac_cxx_werror_flag"
15555 || test ! -s conftest.err'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; } &&
15561 { ac_try
='test -s conftest.$ac_objext'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; }; then
15567 echo "$as_me:$LINENO: result: yes" >&5
15568 echo "${ECHO_T}yes" >&6
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.
$ac_ext >&5
15573 echo "$as_me:$LINENO: result: no" >&5
15574 echo "${ECHO_T}no" >&6
15575 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15576 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15577 cat >conftest.
$ac_ext <<_ACEOF
15580 cat confdefs.h
>>conftest.
$ac_ext
15581 cat >>conftest.
$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 #define __CF_USE_FRAMEWORK_INCLUDES__
15584 #include <CoreFoundation/CFBase.h>
15594 rm -f conftest.
$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>conftest.er1
15598 grep -v '^ *+' conftest.er1
>conftest.err
15600 cat conftest.err
>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try
='test -z "$ac_cxx_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try
='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 echo "$as_me:$LINENO: result: yes" >&5
15617 echo "${ECHO_T}yes" >&6
15618 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.
$ac_ext >&5
15623 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15624 See \`config.log' for more details." >&5
15625 echo "$as_me: error: no. CoreFoundation not available.
15626 See \`config.log' for more details." >&2;}
15627 { (exit 1); exit 1; }; }
15630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15639 *-pc-os2_emx | *-pc-os2-emx )
15641 ac_cpp
='$CPP $CPPFLAGS'
15642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15646 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15647 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15648 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15649 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 ac_check_lib_save_LIBS
=$LIBS
15653 LIBS
="-lcExt $LIBS"
15654 cat >conftest.
$ac_ext <<_ACEOF
15657 cat confdefs.h
>>conftest.
$ac_ext
15658 cat >>conftest.
$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15661 /* Override any gcc2 internal prototype to avoid an error. */
15665 /* We use char because int might match the return type of a gcc2
15666 builtin and then its argument prototype would still apply. */
15676 rm -f conftest.
$ac_objext conftest
$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>conftest.er1
15680 grep -v '^ *+' conftest.er1
>conftest.err
15682 cat conftest.err
>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try
='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try
='test -s conftest$ac_exeext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_cv_lib_cExt_drand48
=yes
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 ac_cv_lib_cExt_drand48
=no
15705 rm -f conftest.err conftest.
$ac_objext \
15706 conftest
$ac_exeext conftest.
$ac_ext
15707 LIBS
=$ac_check_lib_save_LIBS
15709 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15710 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15711 if test $ac_cv_lib_cExt_drand48 = yes; then
15712 LIBS
="$LIBS -lcExt"
15716 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15718 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15719 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15720 if test "${wx_cv_gccversion+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15724 if test "$cross_compiling" = yes; then
15725 wx_cv_gccversion
="EMX2"
15728 cat >conftest.
$ac_ext <<_ACEOF
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15739 FILE *f=fopen("conftestval", "w");
15744 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15746 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15756 rm -f conftest
$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 wx_cv_gccversion
=`cat conftestval`
15769 echo "$as_me: program exited with status $ac_status" >&5
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.
$ac_ext >&5
15773 ( exit $ac_status )
15774 wx_cv_gccversion
="EMX2"
15776 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15780 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15781 echo "${ECHO_T}$wx_cv_gccversion" >&6
15783 ac_cpp
='$CXXCPP $CPPFLAGS'
15784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15788 if test "$wx_cv_gccversion" = "EMX2"; then
15789 LIBS
="$LIBS -lstdcpp"
15790 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15792 if test "$wx_cv_gccversion" = "EMX3"; then
15793 LIBS
="$LIBS -lstdcxx -lgcc"
15794 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15796 LIBS
="$LIBS -lstdc++"
15799 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15800 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15801 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15808 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15809 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15810 if test "${ac_cv_string_strcasecmp+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15814 cat >conftest.
$ac_ext <<_ACEOF
15817 cat confdefs.h
>>conftest.
$ac_ext
15818 cat >>conftest.
$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15821 #include <string.h>
15827 strcasecmp("foo", "bar");
15833 rm -f conftest.
$ac_objext conftest
$ac_exeext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15835 (eval $ac_link) 2>conftest.er1
15837 grep -v '^ *+' conftest.er1
>conftest.err
15839 cat conftest.err
>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try
='test -z "$ac_cxx_werror_flag"
15843 || test ! -s conftest.err'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; } &&
15849 { ac_try
='test -s conftest$ac_exeext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_string_strcasecmp
=yes
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.
$ac_ext >&5
15860 ac_cv_string_strcasecmp
=no
15863 rm -f conftest.err conftest.
$ac_objext \
15864 conftest
$ac_exeext conftest.
$ac_ext
15867 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15868 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15870 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15871 cat >>confdefs.h
<<\_ACEOF
15872 #define HAVE_STRCASECMP_IN_STRING_H 1
15876 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15877 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15878 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15882 cat >conftest.
$ac_ext <<_ACEOF
15885 cat confdefs.h
>>conftest.
$ac_ext
15886 cat >>conftest.
$ac_ext <<_ACEOF
15887 /* end confdefs.h. */
15889 #include <strings.h>
15895 strcasecmp("foo", "bar");
15901 rm -f conftest.
$ac_objext conftest
$ac_exeext
15902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15903 (eval $ac_link) 2>conftest.er1
15905 grep -v '^ *+' conftest.er1
>conftest.err
15907 cat conftest.err
>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } &&
15910 { ac_try
='test -z "$ac_cxx_werror_flag"
15911 || test ! -s conftest.err'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; } &&
15917 { ac_try
='test -s conftest$ac_exeext'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15923 ac_cv_strings_strcasecmp
=yes
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.
$ac_ext >&5
15928 ac_cv_strings_strcasecmp
=no
15931 rm -f conftest.err conftest.
$ac_objext \
15932 conftest
$ac_exeext conftest.
$ac_ext
15935 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15936 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15938 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15939 cat >>confdefs.h
<<\_ACEOF
15940 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15944 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15945 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15946 { (exit 1); exit 1; }; }
15955 ac_cpp
='$CXXCPP $CPPFLAGS'
15956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15959 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15960 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15961 if test -z "$CXXCPP"; then
15962 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15965 # Double quotes because CXXCPP needs to be expanded
15966 for CXXCPP
in "$CXX -E" "/lib/cpp"
15968 ac_preproc_ok
=false
15969 for ac_cxx_preproc_warn_flag
in '' yes
15971 # Use a header file that comes with gcc, so configuring glibc
15972 # with a fresh cross-compiler works.
15973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15974 # <limits.h> exists even on freestanding compilers.
15975 # On the NeXT, cc -E runs the code through the compiler's parser,
15976 # not just through cpp. "Syntax error" is here to catch this case.
15977 cat >conftest.
$ac_ext <<_ACEOF
15980 cat confdefs.h
>>conftest.
$ac_ext
15981 cat >>conftest.
$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15984 # include <limits.h>
15986 # include <assert.h>
15990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15993 grep -v '^ *+' conftest.er1
>conftest.err
15995 cat conftest.err
>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } >/dev
/null
; then
15998 if test -s conftest.err
; then
15999 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16000 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16007 if test -z "$ac_cpp_err"; then
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.
$ac_ext >&5
16013 # Broken: fails on valid input.
16016 rm -f conftest.err conftest.
$ac_ext
16018 # OK, works on sane cases. Now check whether non-existent headers
16019 # can be detected and how.
16020 cat >conftest.
$ac_ext <<_ACEOF
16023 cat confdefs.h
>>conftest.
$ac_ext
16024 cat >>conftest.
$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16026 #include <ac_nonexistent.h>
16028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16031 grep -v '^ *+' conftest.er1
>conftest.err
16033 cat conftest.err
>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } >/dev
/null
; then
16036 if test -s conftest.err
; then
16037 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16038 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16045 if test -z "$ac_cpp_err"; then
16046 # Broken: success on invalid input.
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.
$ac_ext >&5
16052 # Passes both tests.
16056 rm -f conftest.err conftest.
$ac_ext
16059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16060 rm -f conftest.err conftest.
$ac_ext
16061 if $ac_preproc_ok; then
16066 ac_cv_prog_CXXCPP
=$CXXCPP
16069 CXXCPP
=$ac_cv_prog_CXXCPP
16071 ac_cv_prog_CXXCPP
=$CXXCPP
16073 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16074 echo "${ECHO_T}$CXXCPP" >&6
16075 ac_preproc_ok
=false
16076 for ac_cxx_preproc_warn_flag
in '' yes
16078 # Use a header file that comes with gcc, so configuring glibc
16079 # with a fresh cross-compiler works.
16080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16081 # <limits.h> exists even on freestanding compilers.
16082 # On the NeXT, cc -E runs the code through the compiler's parser,
16083 # not just through cpp. "Syntax error" is here to catch this case.
16084 cat >conftest.
$ac_ext <<_ACEOF
16087 cat confdefs.h
>>conftest.
$ac_ext
16088 cat >>conftest.
$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16091 # include <limits.h>
16093 # include <assert.h>
16097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16100 grep -v '^ *+' conftest.er1
>conftest.err
16102 cat conftest.err
>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } >/dev
/null
; then
16105 if test -s conftest.err
; then
16106 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16107 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16114 if test -z "$ac_cpp_err"; then
16117 echo "$as_me: failed program was:" >&5
16118 sed 's/^/| /' conftest.
$ac_ext >&5
16120 # Broken: fails on valid input.
16123 rm -f conftest.err conftest.
$ac_ext
16125 # OK, works on sane cases. Now check whether non-existent headers
16126 # can be detected and how.
16127 cat >conftest.
$ac_ext <<_ACEOF
16130 cat confdefs.h
>>conftest.
$ac_ext
16131 cat >>conftest.
$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133 #include <ac_nonexistent.h>
16135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16138 grep -v '^ *+' conftest.er1
>conftest.err
16140 cat conftest.err
>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } >/dev
/null
; then
16143 if test -s conftest.err
; then
16144 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16145 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16152 if test -z "$ac_cpp_err"; then
16153 # Broken: success on invalid input.
16156 echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.
$ac_ext >&5
16159 # Passes both tests.
16163 rm -f conftest.err conftest.
$ac_ext
16166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16167 rm -f conftest.err conftest.
$ac_ext
16168 if $ac_preproc_ok; then
16171 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16172 See \`config.log' for more details." >&5
16173 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16174 See \`config.log' for more details." >&2;}
16175 { (exit 1); exit 1; }; }
16179 ac_cpp
='$CXXCPP $CPPFLAGS'
16180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16185 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16186 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16187 if test "${ac_cv_header_stdc+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 cat >conftest.
$ac_ext <<_ACEOF
16193 cat confdefs.h
>>conftest.
$ac_ext
16194 cat >>conftest.
$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 #include <stdlib.h>
16197 #include <stdarg.h>
16198 #include <string.h>
16209 rm -f conftest.
$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>conftest.er1
16213 grep -v '^ *+' conftest.er1
>conftest.err
16215 cat conftest.err
>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try
='test -z "$ac_cxx_werror_flag"
16219 || test ! -s conftest.err'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; } &&
16225 { ac_try
='test -s conftest.$ac_objext'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; }; then
16231 ac_cv_header_stdc
=yes
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.
$ac_ext >&5
16236 ac_cv_header_stdc
=no
16238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16240 if test $ac_cv_header_stdc = yes; then
16241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16242 cat >conftest.
$ac_ext <<_ACEOF
16245 cat confdefs.h
>>conftest.
$ac_ext
16246 cat >>conftest.
$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 #include <string.h>
16251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16252 $EGREP "memchr" >/dev
/null
2>&1; then
16255 ac_cv_header_stdc
=no
16261 if test $ac_cv_header_stdc = yes; then
16262 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16263 cat >conftest.
$ac_ext <<_ACEOF
16266 cat confdefs.h
>>conftest.
$ac_ext
16267 cat >>conftest.
$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #include <stdlib.h>
16272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16273 $EGREP "free" >/dev
/null
2>&1; then
16276 ac_cv_header_stdc
=no
16282 if test $ac_cv_header_stdc = yes; then
16283 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16284 if test "$cross_compiling" = yes; then
16287 cat >conftest.
$ac_ext <<_ACEOF
16290 cat confdefs.h
>>conftest.
$ac_ext
16291 cat >>conftest.
$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16294 #if ((' ' & 0x0FF) == 0x020)
16295 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16296 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16298 # define ISLOWER(c) \
16299 (('a' <= (c) && (c) <= 'i') \
16300 || ('j' <= (c) && (c) <= 'r') \
16301 || ('s' <= (c) && (c) <= 'z'))
16302 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16305 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16310 for (i = 0; i < 256; i++)
16311 if (XOR (islower (i), ISLOWER (i))
16312 || toupper (i) != TOUPPER (i))
16317 rm -f conftest
$ac_exeext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16319 (eval $ac_link) 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; }; then
16330 echo "$as_me: program exited with status $ac_status" >&5
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.
$ac_ext >&5
16334 ( exit $ac_status )
16335 ac_cv_header_stdc
=no
16337 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16341 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16342 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16343 if test $ac_cv_header_stdc = yes; then
16345 cat >>confdefs.h
<<\_ACEOF
16346 #define STDC_HEADERS 1
16351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16361 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16362 inttypes.h stdint.h unistd.h
16364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16365 echo "$as_me:$LINENO: checking for $ac_header" >&5
16366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 cat >conftest.
$ac_ext <<_ACEOF
16373 cat confdefs.h
>>conftest.
$ac_ext
16374 cat >>conftest.
$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 $ac_includes_default
16378 #include <$ac_header>
16380 rm -f conftest.
$ac_objext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16382 (eval $ac_compile) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1
>conftest.err
16386 cat conftest.err
>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -z "$ac_cxx_werror_flag"
16390 || test ! -s conftest.err'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try
='test -s conftest.$ac_objext'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; }; then
16402 eval "$as_ac_Header=yes"
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.
$ac_ext >&5
16407 eval "$as_ac_Header=no"
16409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16414 cat >>confdefs.h
<<_ACEOF
16415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16424 for ac_header
in stdlib.h
16426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16428 echo "$as_me:$LINENO: checking for $ac_header" >&5
16429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16431 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16436 # Is the header compilable?
16437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16439 cat >conftest.
$ac_ext <<_ACEOF
16442 cat confdefs.h
>>conftest.
$ac_ext
16443 cat >>conftest.
$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 $ac_includes_default
16446 #include <$ac_header>
16448 rm -f conftest.
$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450 (eval $ac_compile) 2>conftest.er1
16452 grep -v '^ *+' conftest.er1
>conftest.err
16454 cat conftest.err
>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } &&
16457 { ac_try
='test -z "$ac_cxx_werror_flag"
16458 || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try
='test -s conftest.$ac_objext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 ac_header_compiler
=yes
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.
$ac_ext >&5
16475 ac_header_compiler
=no
16477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16479 echo "${ECHO_T}$ac_header_compiler" >&6
16481 # Is the header present?
16482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16484 cat >conftest.
$ac_ext <<_ACEOF
16487 cat confdefs.h
>>conftest.
$ac_ext
16488 cat >>conftest.
$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 #include <$ac_header>
16492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16495 grep -v '^ *+' conftest.er1
>conftest.err
16497 cat conftest.err
>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } >/dev
/null
; then
16500 if test -s conftest.err
; then
16501 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16502 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16509 if test -z "$ac_cpp_err"; then
16510 ac_header_preproc
=yes
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.
$ac_ext >&5
16515 ac_header_preproc
=no
16517 rm -f conftest.err conftest.
$ac_ext
16518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16519 echo "${ECHO_T}$ac_header_preproc" >&6
16521 # So? What about this header?
16522 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16528 ac_header_preproc
=yes
16531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16545 ## ----------------------------------------- ##
16546 ## Report this to wx-dev@lists.wxwidgets.org ##
16547 ## ----------------------------------------- ##
16550 sed "s/^/$as_me: WARNING: /" >&2
16553 echo "$as_me:$LINENO: checking for $ac_header" >&5
16554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 eval "$as_ac_Header=\$ac_header_preproc"
16560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16565 cat >>confdefs.h
<<_ACEOF
16566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16574 for ac_header
in malloc.h
16576 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16578 echo "$as_me:$LINENO: checking for $ac_header" >&5
16579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16586 # Is the header compilable?
16587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16589 cat >conftest.
$ac_ext <<_ACEOF
16592 cat confdefs.h
>>conftest.
$ac_ext
16593 cat >>conftest.
$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 $ac_includes_default
16596 #include <$ac_header>
16598 rm -f conftest.
$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>conftest.er1
16602 grep -v '^ *+' conftest.er1
>conftest.err
16604 cat conftest.err
>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); } &&
16607 { ac_try
='test -z "$ac_cxx_werror_flag"
16608 || test ! -s conftest.err'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; } &&
16614 { ac_try
='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_header_compiler
=yes
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.
$ac_ext >&5
16625 ac_header_compiler
=no
16627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16629 echo "${ECHO_T}$ac_header_compiler" >&6
16631 # Is the header present?
16632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16634 cat >conftest.
$ac_ext <<_ACEOF
16637 cat confdefs.h
>>conftest.
$ac_ext
16638 cat >>conftest.
$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16640 #include <$ac_header>
16642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16645 grep -v '^ *+' conftest.er1
>conftest.err
16647 cat conftest.err
>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } >/dev
/null
; then
16650 if test -s conftest.err
; then
16651 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16652 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16659 if test -z "$ac_cpp_err"; then
16660 ac_header_preproc
=yes
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16665 ac_header_preproc
=no
16667 rm -f conftest.err conftest.
$ac_ext
16668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16669 echo "${ECHO_T}$ac_header_preproc" >&6
16671 # So? What about this header?
16672 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16678 ac_header_preproc
=yes
16681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16695 ## ----------------------------------------- ##
16696 ## Report this to wx-dev@lists.wxwidgets.org ##
16697 ## ----------------------------------------- ##
16700 sed "s/^/$as_me: WARNING: /" >&2
16703 echo "$as_me:$LINENO: checking for $ac_header" >&5
16704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16706 echo $ECHO_N "(cached) $ECHO_C" >&6
16708 eval "$as_ac_Header=\$ac_header_preproc"
16710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16715 cat >>confdefs.h
<<_ACEOF
16716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16724 for ac_header
in unistd.h
16726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16728 echo "$as_me:$LINENO: checking for $ac_header" >&5
16729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16736 # Is the header compilable?
16737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16739 cat >conftest.
$ac_ext <<_ACEOF
16742 cat confdefs.h
>>conftest.
$ac_ext
16743 cat >>conftest.
$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 $ac_includes_default
16746 #include <$ac_header>
16748 rm -f conftest.
$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750 (eval $ac_compile) 2>conftest.er1
16752 grep -v '^ *+' conftest.er1
>conftest.err
16754 cat conftest.err
>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try
='test -z "$ac_cxx_werror_flag"
16758 || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try
='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16770 ac_header_compiler
=yes
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.
$ac_ext >&5
16775 ac_header_compiler
=no
16777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16779 echo "${ECHO_T}$ac_header_compiler" >&6
16781 # Is the header present?
16782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 #include <$ac_header>
16792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16795 grep -v '^ *+' conftest.er1
>conftest.err
16797 cat conftest.err
>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } >/dev
/null
; then
16800 if test -s conftest.err
; then
16801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16809 if test -z "$ac_cpp_err"; then
16810 ac_header_preproc
=yes
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.
$ac_ext >&5
16815 ac_header_preproc
=no
16817 rm -f conftest.err conftest.
$ac_ext
16818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16819 echo "${ECHO_T}$ac_header_preproc" >&6
16821 # So? What about this header?
16822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16828 ac_header_preproc
=yes
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16845 ## ----------------------------------------- ##
16846 ## Report this to wx-dev@lists.wxwidgets.org ##
16847 ## ----------------------------------------- ##
16850 sed "s/^/$as_me: WARNING: /" >&2
16853 echo "$as_me:$LINENO: checking for $ac_header" >&5
16854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 eval "$as_ac_Header=\$ac_header_preproc"
16860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16865 cat >>confdefs.h
<<_ACEOF
16866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16874 for ac_header
in wchar.h
16876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16878 echo "$as_me:$LINENO: checking for $ac_header" >&5
16879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16886 # Is the header compilable?
16887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16889 cat >conftest.
$ac_ext <<_ACEOF
16892 cat confdefs.h
>>conftest.
$ac_ext
16893 cat >>conftest.
$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 #include <$ac_header>
16898 rm -f conftest.
$ac_objext
16899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16900 (eval $ac_compile) 2>conftest.er1
16902 grep -v '^ *+' conftest.er1
>conftest.err
16904 cat conftest.err
>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } &&
16907 { ac_try
='test -z "$ac_cxx_werror_flag"
16908 || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try
='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_header_compiler
=yes
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.
$ac_ext >&5
16925 ac_header_compiler
=no
16927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16929 echo "${ECHO_T}$ac_header_compiler" >&6
16931 # Is the header present?
16932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16934 cat >conftest.
$ac_ext <<_ACEOF
16937 cat confdefs.h
>>conftest.
$ac_ext
16938 cat >>conftest.
$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940 #include <$ac_header>
16942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16945 grep -v '^ *+' conftest.er1
>conftest.err
16947 cat conftest.err
>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } >/dev
/null
; then
16950 if test -s conftest.err
; then
16951 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16952 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16959 if test -z "$ac_cpp_err"; then
16960 ac_header_preproc
=yes
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_header_preproc
=no
16967 rm -f conftest.err conftest.
$ac_ext
16968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16969 echo "${ECHO_T}$ac_header_preproc" >&6
16971 # So? What about this header?
16972 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16978 ac_header_preproc
=yes
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16995 ## ----------------------------------------- ##
16996 ## Report this to wx-dev@lists.wxwidgets.org ##
16997 ## ----------------------------------------- ##
17000 sed "s/^/$as_me: WARNING: /" >&2
17003 echo "$as_me:$LINENO: checking for $ac_header" >&5
17004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 eval "$as_ac_Header=\$ac_header_preproc"
17010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17015 cat >>confdefs.h
<<_ACEOF
17016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17024 if test "$ac_cv_header_wchar_h" != "yes"; then
17026 for ac_header
in wcstr.h
17028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17030 echo "$as_me:$LINENO: checking for $ac_header" >&5
17031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17038 # Is the header compilable?
17039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17041 cat >conftest.
$ac_ext <<_ACEOF
17044 cat confdefs.h
>>conftest.
$ac_ext
17045 cat >>conftest.
$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17048 #include <$ac_header>
17050 rm -f conftest.
$ac_objext
17051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17052 (eval $ac_compile) 2>conftest.er1
17054 grep -v '^ *+' conftest.er1
>conftest.err
17056 cat conftest.err
>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } &&
17059 { ac_try
='test -z "$ac_cxx_werror_flag"
17060 || test ! -s conftest.err'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; } &&
17066 { ac_try
='test -s conftest.$ac_objext'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; }; then
17072 ac_header_compiler
=yes
17074 echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.
$ac_ext >&5
17077 ac_header_compiler
=no
17079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17081 echo "${ECHO_T}$ac_header_compiler" >&6
17083 # Is the header present?
17084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 #include <$ac_header>
17094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17097 grep -v '^ *+' conftest.er1
>conftest.err
17099 cat conftest.err
>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } >/dev
/null
; then
17102 if test -s conftest.err
; then
17103 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17104 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17111 if test -z "$ac_cpp_err"; then
17112 ac_header_preproc
=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.
$ac_ext >&5
17117 ac_header_preproc
=no
17119 rm -f conftest.err conftest.
$ac_ext
17120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17121 echo "${ECHO_T}$ac_header_preproc" >&6
17123 # So? What about this header?
17124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17130 ac_header_preproc
=yes
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17147 ## ----------------------------------------- ##
17148 ## Report this to wx-dev@lists.wxwidgets.org ##
17149 ## ----------------------------------------- ##
17152 sed "s/^/$as_me: WARNING: /" >&2
17155 echo "$as_me:$LINENO: checking for $ac_header" >&5
17156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 eval "$as_ac_Header=\$ac_header_preproc"
17162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17167 cat >>confdefs.h
<<_ACEOF
17168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17178 for ac_header
in fnmatch.h
17180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17182 echo "$as_me:$LINENO: checking for $ac_header" >&5
17183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17190 # Is the header compilable?
17191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17193 cat >conftest.
$ac_ext <<_ACEOF
17196 cat confdefs.h
>>conftest.
$ac_ext
17197 cat >>conftest.
$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 $ac_includes_default
17200 #include <$ac_header>
17202 rm -f conftest.
$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17206 grep -v '^ *+' conftest.er1
>conftest.err
17208 cat conftest.err
>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try
='test -z "$ac_cxx_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try
='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_header_compiler
=yes
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.
$ac_ext >&5
17229 ac_header_compiler
=no
17231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17233 echo "${ECHO_T}$ac_header_compiler" >&6
17235 # Is the header present?
17236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17238 cat >conftest.
$ac_ext <<_ACEOF
17241 cat confdefs.h
>>conftest.
$ac_ext
17242 cat >>conftest.
$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244 #include <$ac_header>
17246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17247 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17249 grep -v '^ *+' conftest.er1
>conftest.err
17251 cat conftest.err
>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } >/dev
/null
; then
17254 if test -s conftest.err
; then
17255 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17256 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17263 if test -z "$ac_cpp_err"; then
17264 ac_header_preproc
=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 ac_header_preproc
=no
17271 rm -f conftest.err conftest.
$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17273 echo "${ECHO_T}$ac_header_preproc" >&6
17275 # So? What about this header?
17276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17282 ac_header_preproc
=yes
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17299 ## ----------------------------------------- ##
17300 ## Report this to wx-dev@lists.wxwidgets.org ##
17301 ## ----------------------------------------- ##
17304 sed "s/^/$as_me: WARNING: /" >&2
17307 echo "$as_me:$LINENO: checking for $ac_header" >&5
17308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 eval "$as_ac_Header=\$ac_header_preproc"
17314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17319 cat >>confdefs.h
<<_ACEOF
17320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17329 for ac_header
in langinfo.h
17331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17333 echo "$as_me:$LINENO: checking for $ac_header" >&5
17334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17341 # Is the header compilable?
17342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17344 cat >conftest.
$ac_ext <<_ACEOF
17347 cat confdefs.h
>>conftest.
$ac_ext
17348 cat >>conftest.
$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 $ac_includes_default
17351 #include <$ac_header>
17353 rm -f conftest.
$ac_objext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17355 (eval $ac_compile) 2>conftest.er1
17357 grep -v '^ *+' conftest.er1
>conftest.err
17359 cat conftest.err
>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try
='test -z "$ac_cxx_werror_flag"
17363 || test ! -s conftest.err'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; } &&
17369 { ac_try
='test -s conftest.$ac_objext'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; }; then
17375 ac_header_compiler
=yes
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.
$ac_ext >&5
17380 ac_header_compiler
=no
17382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17384 echo "${ECHO_T}$ac_header_compiler" >&6
17386 # Is the header present?
17387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17389 cat >conftest.
$ac_ext <<_ACEOF
17392 cat confdefs.h
>>conftest.
$ac_ext
17393 cat >>conftest.
$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 #include <$ac_header>
17397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17400 grep -v '^ *+' conftest.er1
>conftest.err
17402 cat conftest.err
>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } >/dev
/null
; then
17405 if test -s conftest.err
; then
17406 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17407 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17414 if test -z "$ac_cpp_err"; then
17415 ac_header_preproc
=yes
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.
$ac_ext >&5
17420 ac_header_preproc
=no
17422 rm -f conftest.err conftest.
$ac_ext
17423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17424 echo "${ECHO_T}$ac_header_preproc" >&6
17426 # So? What about this header?
17427 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17433 ac_header_preproc
=yes
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17450 ## ----------------------------------------- ##
17451 ## Report this to wx-dev@lists.wxwidgets.org ##
17452 ## ----------------------------------------- ##
17455 sed "s/^/$as_me: WARNING: /" >&2
17458 echo "$as_me:$LINENO: checking for $ac_header" >&5
17459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17463 eval "$as_ac_Header=\$ac_header_preproc"
17465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17470 cat >>confdefs.h
<<_ACEOF
17471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17480 *-pc-os2_emx | *-pc-os2-emx )
17481 if test $ac_cv_header_langinfo_h = "yes" \
17482 -a \
( "$wx_cv_gccversion" = "EMX2" \
17483 -o "$wx_cv_gccversion" = "EMX3" \
17484 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17485 LIBS
="$LIBS -lintl"
17490 if test "$USE_UNIX" = 1 ; then
17492 for ac_header
in sys
/select.h
17494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17496 echo "$as_me:$LINENO: checking for $ac_header" >&5
17497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17504 # Is the header compilable?
17505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17507 cat >conftest.
$ac_ext <<_ACEOF
17510 cat confdefs.h
>>conftest.
$ac_ext
17511 cat >>conftest.
$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 $ac_includes_default
17514 #include <$ac_header>
17516 rm -f conftest.
$ac_objext
17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17518 (eval $ac_compile) 2>conftest.er1
17520 grep -v '^ *+' conftest.er1
>conftest.err
17522 cat conftest.err
>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } &&
17525 { ac_try
='test -z "$ac_cxx_werror_flag"
17526 || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try
='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_header_compiler
=yes
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.
$ac_ext >&5
17543 ac_header_compiler
=no
17545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17547 echo "${ECHO_T}$ac_header_compiler" >&6
17549 # Is the header present?
17550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17552 cat >conftest.
$ac_ext <<_ACEOF
17555 cat confdefs.h
>>conftest.
$ac_ext
17556 cat >>conftest.
$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 #include <$ac_header>
17560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } >/dev
/null
; then
17568 if test -s conftest.err
; then
17569 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17570 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17577 if test -z "$ac_cpp_err"; then
17578 ac_header_preproc
=yes
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 ac_header_preproc
=no
17585 rm -f conftest.err conftest.
$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17587 echo "${ECHO_T}$ac_header_preproc" >&6
17589 # So? What about this header?
17590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17596 ac_header_preproc
=yes
17599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17613 ## ----------------------------------------- ##
17614 ## Report this to wx-dev@lists.wxwidgets.org ##
17615 ## ----------------------------------------- ##
17618 sed "s/^/$as_me: WARNING: /" >&2
17621 echo "$as_me:$LINENO: checking for $ac_header" >&5
17622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 eval "$as_ac_Header=\$ac_header_preproc"
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17633 cat >>confdefs.h
<<_ACEOF
17634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17644 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17645 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17646 if test "${ac_cv_c_const+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17659 /* FIXME: Include the comments suggested by Paul. */
17660 #ifndef __cplusplus
17661 /* Ultrix mips cc rejects this. */
17662 typedef int charset[2];
17664 /* SunOS 4.1.1 cc rejects this. */
17665 char const *const *ccp;
17667 /* NEC SVR4.0.2 mips cc rejects this. */
17668 struct point {int x, y;};
17669 static struct point const zero = {0,0};
17670 /* AIX XL C 1.02.0.0 rejects this.
17671 It does not let you subtract one const X* pointer from another in
17672 an arm of an if-expression whose if-part is not a constant
17674 const char *g = "string";
17675 ccp = &g + (g ? g-g : 0);
17676 /* HPUX 7.0 cc rejects these. */
17679 ccp = (char const *const *) p;
17680 { /* SCO 3.2v4 cc rejects this. */
17682 char const *s = 0 ? (char *) 0 : (char const *) 0;
17686 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17687 int x[] = {25, 17};
17688 const int *foo = &x[0];
17691 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17692 typedef const int *iptr;
17696 { /* AIX XL C 1.02.0.0 rejects this saying
17697 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17698 struct s { int j; const int *ap[3]; };
17699 struct s *b; b->j = 5;
17701 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17702 const int foo = 10;
17710 rm -f conftest.
$ac_objext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17712 (eval $ac_compile) 2>conftest.er1
17714 grep -v '^ *+' conftest.er1
>conftest.err
17716 cat conftest.err
>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try
='test -z "$ac_cxx_werror_flag"
17720 || test ! -s conftest.err'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; } &&
17726 { ac_try
='test -s conftest.$ac_objext'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; }; then
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.
$ac_ext >&5
17739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17741 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17742 echo "${ECHO_T}$ac_cv_c_const" >&6
17743 if test $ac_cv_c_const = no
; then
17745 cat >>confdefs.h
<<\_ACEOF
17751 echo "$as_me:$LINENO: checking for inline" >&5
17752 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17753 if test "${ac_cv_c_inline+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 for ac_kw
in inline __inline__ __inline
; do
17758 cat >conftest.
$ac_ext <<_ACEOF
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 #ifndef __cplusplus
17766 static $ac_kw foo_t static_foo () {return 0; }
17767 $ac_kw foo_t foo () {return 0; }
17771 rm -f conftest.
$ac_objext
17772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773 (eval $ac_compile) 2>conftest.er1
17775 grep -v '^ *+' conftest.er1
>conftest.err
17777 cat conftest.err
>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try
='test -z "$ac_cxx_werror_flag"
17781 || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17793 ac_cv_c_inline
=$ac_kw; break
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.
$ac_ext >&5
17799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17803 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17804 echo "${ECHO_T}$ac_cv_c_inline" >&6
17807 case $ac_cv_c_inline in
17810 case $ac_cv_c_inline in
17812 *) ac_val
=$ac_cv_c_inline;;
17814 cat >>confdefs.h
<<_ACEOF
17815 #ifndef __cplusplus
17816 #define inline $ac_val
17823 echo "$as_me:$LINENO: checking for char" >&5
17824 echo $ECHO_N "checking for char... $ECHO_C" >&6
17825 if test "${ac_cv_type_char+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 cat >conftest.
$ac_ext <<_ACEOF
17831 cat confdefs.h
>>conftest.
$ac_ext
17832 cat >>conftest.
$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17834 $ac_includes_default
17846 rm -f conftest.
$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1
>conftest.err
17852 cat conftest.err
>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try
='test -z "$ac_cxx_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try
='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_cv_type_char
=yes
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.
$ac_ext >&5
17875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17877 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17878 echo "${ECHO_T}$ac_cv_type_char" >&6
17880 echo "$as_me:$LINENO: checking size of char" >&5
17881 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17882 if test "${ac_cv_sizeof_char+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 if test "$ac_cv_type_char" = yes; then
17886 # The cast to unsigned long works around a bug in the HP C Compiler
17887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17889 # This bug is HP SR number 8606223364.
17890 if test "$cross_compiling" = yes; then
17891 # Depending upon the size, compute the lo and hi bounds.
17892 cat >conftest.
$ac_ext <<_ACEOF
17895 cat confdefs.h
>>conftest.
$ac_ext
17896 cat >>conftest.
$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 $ac_includes_default
17902 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17909 rm -f conftest.
$ac_objext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17911 (eval $ac_compile) 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try
='test -z "$ac_cxx_werror_flag"
17919 || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try
='test -s conftest.$ac_objext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17933 cat >conftest.
$ac_ext <<_ACEOF
17936 cat confdefs.h
>>conftest.
$ac_ext
17937 cat >>conftest.
$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17943 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17950 rm -f conftest.
$ac_objext
17951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17952 (eval $ac_compile) 2>conftest.er1
17954 grep -v '^ *+' conftest.er1
>conftest.err
17956 cat conftest.err
>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try
='test -z "$ac_cxx_werror_flag"
17960 || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try
='test -s conftest.$ac_objext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 ac_hi
=$ac_mid; break
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.
$ac_ext >&5
17977 ac_lo
=`expr $ac_mid + 1`
17978 if test $ac_lo -le $ac_mid; then
17982 ac_mid
=`expr 2 '*' $ac_mid + 1`
17984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18007 rm -f conftest.
$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1
>conftest.err
18013 cat conftest.err
>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try
='test -z "$ac_cxx_werror_flag"
18017 || test ! -s conftest.err'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; } &&
18023 { ac_try
='test -s conftest.$ac_objext'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18031 cat >conftest.
$ac_ext <<_ACEOF
18034 cat confdefs.h
>>conftest.
$ac_ext
18035 cat >>conftest.
$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 $ac_includes_default
18041 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18048 rm -f conftest.
$ac_objext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18050 (eval $ac_compile) 2>conftest.er1
18052 grep -v '^ *+' conftest.er1
>conftest.err
18054 cat conftest.err
>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } &&
18057 { ac_try
='test -z "$ac_cxx_werror_flag"
18058 || test ! -s conftest.err'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; } &&
18064 { ac_try
='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_lo
=$ac_mid; break
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.
$ac_ext >&5
18075 ac_hi
=`expr '(' $ac_mid ')' - 1`
18076 if test $ac_mid -le $ac_hi; then
18080 ac_mid
=`expr 2 '*' $ac_mid`
18082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18093 # Binary search between lo and hi bounds.
18094 while test "x$ac_lo" != "x$ac_hi"; do
18095 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18096 cat >conftest.
$ac_ext <<_ACEOF
18099 cat confdefs.h
>>conftest.
$ac_ext
18100 cat >>conftest.
$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 $ac_includes_default
18106 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18113 rm -f conftest.
$ac_objext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>conftest.er1
18117 grep -v '^ *+' conftest.er1
>conftest.err
18119 cat conftest.err
>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try
='test -z "$ac_cxx_werror_flag"
18123 || test ! -s conftest.err'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try
='test -s conftest.$ac_objext'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.
$ac_ext >&5
18140 ac_lo
=`expr '(' $ac_mid ')' + 1`
18142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18145 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18146 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18147 See \`config.log' for more details." >&5
18148 echo "$as_me: error: cannot compute sizeof (char), 77
18149 See \`config.log' for more details." >&2;}
18150 { (exit 1); exit 1; }; } ;;
18153 if test "$cross_compiling" = yes; then
18154 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot run test program while cross compiling
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; }
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 $ac_includes_default
18167 long longval () { return (long) (sizeof (char)); }
18168 unsigned long ulongval () { return (long) (sizeof (char)); }
18170 #include <stdlib.h>
18175 FILE *f = fopen ("conftest.val", "w");
18178 if (((long) (sizeof (char))) < 0)
18180 long i = longval ();
18181 if (i != ((long) (sizeof (char))))
18183 fprintf (f, "%ld\n", i);
18187 unsigned long i = ulongval ();
18188 if (i != ((long) (sizeof (char))))
18190 fprintf (f, "%lu\n", i);
18192 exit (ferror (f) || fclose (f) != 0);
18198 rm -f conftest
$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 ac_cv_sizeof_char
=`cat conftest.val`
18211 echo "$as_me: program exited with status $ac_status" >&5
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 ( exit $ac_status )
18216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18217 See \`config.log' for more details." >&5
18218 echo "$as_me: error: cannot compute sizeof (char), 77
18219 See \`config.log' for more details." >&2;}
18220 { (exit 1); exit 1; }; }
18222 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18227 ac_cv_sizeof_char
=0
18230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18231 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18232 cat >>confdefs.h
<<_ACEOF
18233 #define SIZEOF_CHAR $ac_cv_sizeof_char
18237 echo "$as_me:$LINENO: checking for short" >&5
18238 echo $ECHO_N "checking for short... $ECHO_C" >&6
18239 if test "${ac_cv_type_short+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 $ac_includes_default
18254 if (sizeof (short))
18260 rm -f conftest.
$ac_objext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18262 (eval $ac_compile) 2>conftest.er1
18264 grep -v '^ *+' conftest.er1
>conftest.err
18266 cat conftest.err
>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } &&
18269 { ac_try
='test -z "$ac_cxx_werror_flag"
18270 || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try
='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_type_short
=yes
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18287 ac_cv_type_short
=no
18289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18291 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18292 echo "${ECHO_T}$ac_cv_type_short" >&6
18294 echo "$as_me:$LINENO: checking size of short" >&5
18295 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18296 if test "${ac_cv_sizeof_short+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 if test "$ac_cv_type_short" = yes; then
18300 # The cast to unsigned long works around a bug in the HP C Compiler
18301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18303 # This bug is HP SR number 8606223364.
18304 if test "$cross_compiling" = yes; then
18305 # Depending upon the size, compute the lo and hi bounds.
18306 cat >conftest.
$ac_ext <<_ACEOF
18309 cat confdefs.h
>>conftest.
$ac_ext
18310 cat >>conftest.
$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 $ac_includes_default
18316 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18323 rm -f conftest.
$ac_objext
18324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18325 (eval $ac_compile) 2>conftest.er1
18327 grep -v '^ *+' conftest.er1
>conftest.err
18329 cat conftest.err
>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } &&
18332 { ac_try
='test -z "$ac_cxx_werror_flag"
18333 || test ! -s conftest.err'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; } &&
18339 { ac_try
='test -s conftest.$ac_objext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18347 cat >conftest.
$ac_ext <<_ACEOF
18350 cat confdefs.h
>>conftest.
$ac_ext
18351 cat >>conftest.
$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18353 $ac_includes_default
18357 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18364 rm -f conftest.
$ac_objext
18365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18366 (eval $ac_compile) 2>conftest.er1
18368 grep -v '^ *+' conftest.er1
>conftest.err
18370 cat conftest.err
>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } &&
18373 { ac_try
='test -z "$ac_cxx_werror_flag"
18374 || test ! -s conftest.err'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; } &&
18380 { ac_try
='test -s conftest.$ac_objext'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 ac_hi
=$ac_mid; break
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.
$ac_ext >&5
18391 ac_lo
=`expr $ac_mid + 1`
18392 if test $ac_lo -le $ac_mid; then
18396 ac_mid
=`expr 2 '*' $ac_mid + 1`
18398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.
$ac_ext >&5
18404 cat >conftest.
$ac_ext <<_ACEOF
18407 cat confdefs.h
>>conftest.
$ac_ext
18408 cat >>conftest.
$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18414 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18421 rm -f conftest.
$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18425 grep -v '^ *+' conftest.er1
>conftest.err
18427 cat conftest.err
>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try
='test -z "$ac_cxx_werror_flag"
18431 || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try
='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18445 cat >conftest.
$ac_ext <<_ACEOF
18448 cat confdefs.h
>>conftest.
$ac_ext
18449 cat >>conftest.
$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18455 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18462 rm -f conftest.
$ac_objext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>conftest.er1
18466 grep -v '^ *+' conftest.er1
>conftest.err
18468 cat conftest.err
>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try
='test -z "$ac_cxx_werror_flag"
18472 || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try
='test -s conftest.$ac_objext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_lo
=$ac_mid; break
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.
$ac_ext >&5
18489 ac_hi
=`expr '(' $ac_mid ')' - 1`
18490 if test $ac_mid -le $ac_hi; then
18494 ac_mid
=`expr 2 '*' $ac_mid`
18496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18507 # Binary search between lo and hi bounds.
18508 while test "x$ac_lo" != "x$ac_hi"; do
18509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18510 cat >conftest.
$ac_ext <<_ACEOF
18513 cat confdefs.h
>>conftest.
$ac_ext
18514 cat >>conftest.
$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516 $ac_includes_default
18520 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18527 rm -f conftest.
$ac_objext
18528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18529 (eval $ac_compile) 2>conftest.er1
18531 grep -v '^ *+' conftest.er1
>conftest.err
18533 cat conftest.err
>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } &&
18536 { ac_try
='test -z "$ac_cxx_werror_flag"
18537 || test ! -s conftest.err'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; } &&
18543 { ac_try
='test -s conftest.$ac_objext'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.
$ac_ext >&5
18554 ac_lo
=`expr '(' $ac_mid ')' + 1`
18556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18559 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18560 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18561 See \`config.log' for more details." >&5
18562 echo "$as_me: error: cannot compute sizeof (short), 77
18563 See \`config.log' for more details." >&2;}
18564 { (exit 1); exit 1; }; } ;;
18567 if test "$cross_compiling" = yes; then
18568 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18569 See \`config.log' for more details." >&5
18570 echo "$as_me: error: cannot run test program while cross compiling
18571 See \`config.log' for more details." >&2;}
18572 { (exit 1); exit 1; }; }
18574 cat >conftest.
$ac_ext <<_ACEOF
18577 cat confdefs.h
>>conftest.
$ac_ext
18578 cat >>conftest.
$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (short)); }
18582 unsigned long ulongval () { return (long) (sizeof (short)); }
18584 #include <stdlib.h>
18589 FILE *f = fopen ("conftest.val", "w");
18592 if (((long) (sizeof (short))) < 0)
18594 long i = longval ();
18595 if (i != ((long) (sizeof (short))))
18597 fprintf (f, "%ld\n", i);
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (short))))
18604 fprintf (f, "%lu\n", i);
18606 exit (ferror (f) || fclose (f) != 0);
18612 rm -f conftest
$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_sizeof_short
=`cat conftest.val`
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (short), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18641 ac_cv_sizeof_short
=0
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18646 cat >>confdefs.h
<<_ACEOF
18647 #define SIZEOF_SHORT $ac_cv_sizeof_short
18651 echo "$as_me:$LINENO: checking for void *" >&5
18652 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18653 if test "${ac_cv_type_void_p+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 cat >conftest.
$ac_ext <<_ACEOF
18659 cat confdefs.h
>>conftest.
$ac_ext
18660 cat >>conftest.
$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 $ac_includes_default
18668 if (sizeof (void *))
18674 rm -f conftest.
$ac_objext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18676 (eval $ac_compile) 2>conftest.er1
18678 grep -v '^ *+' conftest.er1
>conftest.err
18680 cat conftest.err
>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try
='test -z "$ac_cxx_werror_flag"
18684 || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try
='test -s conftest.$ac_objext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 ac_cv_type_void_p
=yes
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.
$ac_ext >&5
18701 ac_cv_type_void_p
=no
18703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18705 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18706 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18708 echo "$as_me:$LINENO: checking size of void *" >&5
18709 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18710 if test "${ac_cv_sizeof_void_p+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 if test "$ac_cv_type_void_p" = yes; then
18714 # The cast to unsigned long works around a bug in the HP C Compiler
18715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18717 # This bug is HP SR number 8606223364.
18718 if test "$cross_compiling" = yes; then
18719 # Depending upon the size, compute the lo and hi bounds.
18720 cat >conftest.
$ac_ext <<_ACEOF
18723 cat confdefs.h
>>conftest.
$ac_ext
18724 cat >>conftest.
$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 $ac_includes_default
18730 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18737 rm -f conftest.
$ac_objext
18738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18739 (eval $ac_compile) 2>conftest.er1
18741 grep -v '^ *+' conftest.er1
>conftest.err
18743 cat conftest.err
>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try
='test -z "$ac_cxx_werror_flag"
18747 || test ! -s conftest.err'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; } &&
18753 { ac_try
='test -s conftest.$ac_objext'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18761 cat >conftest.
$ac_ext <<_ACEOF
18764 cat confdefs.h
>>conftest.
$ac_ext
18765 cat >>conftest.
$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18771 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18778 rm -f conftest.
$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780 (eval $ac_compile) 2>conftest.er1
18782 grep -v '^ *+' conftest.er1
>conftest.err
18784 cat conftest.err
>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } &&
18787 { ac_try
='test -z "$ac_cxx_werror_flag"
18788 || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try
='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_hi
=$ac_mid; break
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.
$ac_ext >&5
18805 ac_lo
=`expr $ac_mid + 1`
18806 if test $ac_lo -le $ac_mid; then
18810 ac_mid
=`expr 2 '*' $ac_mid + 1`
18812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 cat >conftest.
$ac_ext <<_ACEOF
18821 cat confdefs.h
>>conftest.
$ac_ext
18822 cat >>conftest.
$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18828 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18835 rm -f conftest.
$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837 (eval $ac_compile) 2>conftest.er1
18839 grep -v '^ *+' conftest.er1
>conftest.err
18841 cat conftest.err
>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try
='test -z "$ac_cxx_werror_flag"
18845 || test ! -s conftest.err'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; } &&
18851 { ac_try
='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18859 cat >conftest.
$ac_ext <<_ACEOF
18862 cat confdefs.h
>>conftest.
$ac_ext
18863 cat >>conftest.
$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 $ac_includes_default
18869 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18876 rm -f conftest.
$ac_objext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18878 (eval $ac_compile) 2>conftest.er1
18880 grep -v '^ *+' conftest.er1
>conftest.err
18882 cat conftest.err
>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try
='test -z "$ac_cxx_werror_flag"
18886 || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try
='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_lo
=$ac_mid; break
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.
$ac_ext >&5
18903 ac_hi
=`expr '(' $ac_mid ')' - 1`
18904 if test $ac_mid -le $ac_hi; then
18908 ac_mid
=`expr 2 '*' $ac_mid`
18910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.
$ac_ext >&5
18918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18921 # Binary search between lo and hi bounds.
18922 while test "x$ac_lo" != "x$ac_hi"; do
18923 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18924 cat >conftest.
$ac_ext <<_ACEOF
18927 cat confdefs.h
>>conftest.
$ac_ext
18928 cat >>conftest.
$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18934 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_cxx_werror_flag"
18951 || test ! -s conftest.err'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; } &&
18957 { ac_try
='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.
$ac_ext >&5
18968 ac_lo
=`expr '(' $ac_mid ')' + 1`
18970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18973 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18974 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18975 See \`config.log' for more details." >&5
18976 echo "$as_me: error: cannot compute sizeof (void *), 77
18977 See \`config.log' for more details." >&2;}
18978 { (exit 1); exit 1; }; } ;;
18981 if test "$cross_compiling" = yes; then
18982 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18983 See \`config.log' for more details." >&5
18984 echo "$as_me: error: cannot run test program while cross compiling
18985 See \`config.log' for more details." >&2;}
18986 { (exit 1); exit 1; }; }
18988 cat >conftest.
$ac_ext <<_ACEOF
18991 cat confdefs.h
>>conftest.
$ac_ext
18992 cat >>conftest.
$ac_ext <<_ACEOF
18993 /* end confdefs.h. */
18994 $ac_includes_default
18995 long longval () { return (long) (sizeof (void *)); }
18996 unsigned long ulongval () { return (long) (sizeof (void *)); }
18998 #include <stdlib.h>
19003 FILE *f = fopen ("conftest.val", "w");
19006 if (((long) (sizeof (void *))) < 0)
19008 long i = longval ();
19009 if (i != ((long) (sizeof (void *))))
19011 fprintf (f, "%ld\n", i);
19015 unsigned long i = ulongval ();
19016 if (i != ((long) (sizeof (void *))))
19018 fprintf (f, "%lu\n", i);
19020 exit (ferror (f) || fclose (f) != 0);
19026 rm -f conftest
$ac_exeext
19027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19028 (eval $ac_link) 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 ac_cv_sizeof_void_p
=`cat conftest.val`
19039 echo "$as_me: program exited with status $ac_status" >&5
19040 echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.
$ac_ext >&5
19043 ( exit $ac_status )
19044 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19045 See \`config.log' for more details." >&5
19046 echo "$as_me: error: cannot compute sizeof (void *), 77
19047 See \`config.log' for more details." >&2;}
19048 { (exit 1); exit 1; }; }
19050 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19055 ac_cv_sizeof_void_p
=0
19058 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19059 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19060 cat >>confdefs.h
<<_ACEOF
19061 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19065 echo "$as_me:$LINENO: checking for int" >&5
19066 echo $ECHO_N "checking for int... $ECHO_C" >&6
19067 if test "${ac_cv_type_int+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19076 $ac_includes_default
19088 rm -f conftest.
$ac_objext
19089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19090 (eval $ac_compile) 2>conftest.er1
19092 grep -v '^ *+' conftest.er1
>conftest.err
19094 cat conftest.err
>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } &&
19097 { ac_try
='test -z "$ac_cxx_werror_flag"
19098 || test ! -s conftest.err'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; } &&
19104 { ac_try
='test -s conftest.$ac_objext'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19119 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19120 echo "${ECHO_T}$ac_cv_type_int" >&6
19122 echo "$as_me:$LINENO: checking size of int" >&5
19123 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19124 if test "${ac_cv_sizeof_int+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19127 if test "$ac_cv_type_int" = yes; then
19128 # The cast to unsigned long works around a bug in the HP C Compiler
19129 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19130 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19131 # This bug is HP SR number 8606223364.
19132 if test "$cross_compiling" = yes; then
19133 # Depending upon the size, compute the lo and hi bounds.
19134 cat >conftest.
$ac_ext <<_ACEOF
19137 cat confdefs.h
>>conftest.
$ac_ext
19138 cat >>conftest.
$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19144 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19151 rm -f conftest.
$ac_objext
19152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19153 (eval $ac_compile) 2>conftest.er1
19155 grep -v '^ *+' conftest.er1
>conftest.err
19157 cat conftest.err
>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } &&
19160 { ac_try
='test -z "$ac_cxx_werror_flag"
19161 || test ! -s conftest.err'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; } &&
19167 { ac_try
='test -s conftest.$ac_objext'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; }; then
19175 cat >conftest.
$ac_ext <<_ACEOF
19178 cat confdefs.h
>>conftest.
$ac_ext
19179 cat >>conftest.
$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 $ac_includes_default
19185 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19192 rm -f conftest.
$ac_objext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19194 (eval $ac_compile) 2>conftest.er1
19196 grep -v '^ *+' conftest.er1
>conftest.err
19198 cat conftest.err
>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } &&
19201 { ac_try
='test -z "$ac_cxx_werror_flag"
19202 || test ! -s conftest.err'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; } &&
19208 { ac_try
='test -s conftest.$ac_objext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 ac_hi
=$ac_mid; break
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19219 ac_lo
=`expr $ac_mid + 1`
19220 if test $ac_lo -le $ac_mid; then
19224 ac_mid
=`expr 2 '*' $ac_mid + 1`
19226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19232 cat >conftest.
$ac_ext <<_ACEOF
19235 cat confdefs.h
>>conftest.
$ac_ext
19236 cat >>conftest.
$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 $ac_includes_default
19242 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19249 rm -f conftest.
$ac_objext
19250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19251 (eval $ac_compile) 2>conftest.er1
19253 grep -v '^ *+' conftest.er1
>conftest.err
19255 cat conftest.err
>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } &&
19258 { ac_try
='test -z "$ac_cxx_werror_flag"
19259 || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try
='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19273 cat >conftest.
$ac_ext <<_ACEOF
19276 cat confdefs.h
>>conftest.
$ac_ext
19277 cat >>conftest.
$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 $ac_includes_default
19283 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19290 rm -f conftest.
$ac_objext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19292 (eval $ac_compile) 2>conftest.er1
19294 grep -v '^ *+' conftest.er1
>conftest.err
19296 cat conftest.err
>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try
='test -z "$ac_cxx_werror_flag"
19300 || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try
='test -s conftest.$ac_objext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_lo
=$ac_mid; break
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.
$ac_ext >&5
19317 ac_hi
=`expr '(' $ac_mid ')' - 1`
19318 if test $ac_mid -le $ac_hi; then
19322 ac_mid
=`expr 2 '*' $ac_mid`
19324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.
$ac_ext >&5
19332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19335 # Binary search between lo and hi bounds.
19336 while test "x$ac_lo" != "x$ac_hi"; do
19337 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19338 cat >conftest.
$ac_ext <<_ACEOF
19341 cat confdefs.h
>>conftest.
$ac_ext
19342 cat >>conftest.
$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 $ac_includes_default
19348 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19355 rm -f conftest.
$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>conftest.er1
19359 grep -v '^ *+' conftest.er1
>conftest.err
19361 cat conftest.err
>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try
='test -z "$ac_cxx_werror_flag"
19365 || test ! -s conftest.err'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try
='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.
$ac_ext >&5
19382 ac_lo
=`expr '(' $ac_mid ')' + 1`
19384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19387 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19388 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19389 See \`config.log' for more details." >&5
19390 echo "$as_me: error: cannot compute sizeof (int), 77
19391 See \`config.log' for more details." >&2;}
19392 { (exit 1); exit 1; }; } ;;
19395 if test "$cross_compiling" = yes; then
19396 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19397 See \`config.log' for more details." >&5
19398 echo "$as_me: error: cannot run test program while cross compiling
19399 See \`config.log' for more details." >&2;}
19400 { (exit 1); exit 1; }; }
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 long longval () { return (long) (sizeof (int)); }
19410 unsigned long ulongval () { return (long) (sizeof (int)); }
19412 #include <stdlib.h>
19417 FILE *f = fopen ("conftest.val", "w");
19420 if (((long) (sizeof (int))) < 0)
19422 long i = longval ();
19423 if (i != ((long) (sizeof (int))))
19425 fprintf (f, "%ld\n", i);
19429 unsigned long i = ulongval ();
19430 if (i != ((long) (sizeof (int))))
19432 fprintf (f, "%lu\n", i);
19434 exit (ferror (f) || fclose (f) != 0);
19440 rm -f conftest
$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442 (eval $ac_link) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 ac_cv_sizeof_int
=`cat conftest.val`
19453 echo "$as_me: program exited with status $ac_status" >&5
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.
$ac_ext >&5
19457 ( exit $ac_status )
19458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19459 See \`config.log' for more details." >&5
19460 echo "$as_me: error: cannot compute sizeof (int), 77
19461 See \`config.log' for more details." >&2;}
19462 { (exit 1); exit 1; }; }
19464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19472 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19473 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19474 cat >>confdefs.h
<<_ACEOF
19475 #define SIZEOF_INT $ac_cv_sizeof_int
19479 echo "$as_me:$LINENO: checking for long" >&5
19480 echo $ECHO_N "checking for long... $ECHO_C" >&6
19481 if test "${ac_cv_type_long+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19502 rm -f conftest.
$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_cxx_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try
='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_type_long
=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19533 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19534 echo "${ECHO_T}$ac_cv_type_long" >&6
19536 echo "$as_me:$LINENO: checking size of long" >&5
19537 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19538 if test "${ac_cv_sizeof_long+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 if test "$ac_cv_type_long" = yes; then
19542 # The cast to unsigned long works around a bug in the HP C Compiler
19543 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19544 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19545 # This bug is HP SR number 8606223364.
19546 if test "$cross_compiling" = yes; then
19547 # Depending upon the size, compute the lo and hi bounds.
19548 cat >conftest.
$ac_ext <<_ACEOF
19551 cat confdefs.h
>>conftest.
$ac_ext
19552 cat >>conftest.
$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 $ac_includes_default
19558 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19565 rm -f conftest.
$ac_objext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19567 (eval $ac_compile) 2>conftest.er1
19569 grep -v '^ *+' conftest.er1
>conftest.err
19571 cat conftest.err
>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } &&
19574 { ac_try
='test -z "$ac_cxx_werror_flag"
19575 || test ! -s conftest.err'
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); }; } &&
19581 { ac_try
='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19589 cat >conftest.
$ac_ext <<_ACEOF
19592 cat confdefs.h
>>conftest.
$ac_ext
19593 cat >>conftest.
$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595 $ac_includes_default
19599 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19606 rm -f conftest.
$ac_objext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19608 (eval $ac_compile) 2>conftest.er1
19610 grep -v '^ *+' conftest.er1
>conftest.err
19612 cat conftest.err
>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try
='test -z "$ac_cxx_werror_flag"
19616 || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try
='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_hi
=$ac_mid; break
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 ac_lo
=`expr $ac_mid + 1`
19634 if test $ac_lo -le $ac_mid; then
19638 ac_mid
=`expr 2 '*' $ac_mid + 1`
19640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.
$ac_ext >&5
19646 cat >conftest.
$ac_ext <<_ACEOF
19649 cat confdefs.h
>>conftest.
$ac_ext
19650 cat >>conftest.
$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19656 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19663 rm -f conftest.
$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19667 grep -v '^ *+' conftest.er1
>conftest.err
19669 cat conftest.err
>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try
='test -z "$ac_cxx_werror_flag"
19673 || 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 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 $ac_includes_default
19697 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19704 rm -f conftest.
$ac_objext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19706 (eval $ac_compile) 2>conftest.er1
19708 grep -v '^ *+' conftest.er1
>conftest.err
19710 cat conftest.err
>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try
='test -z "$ac_cxx_werror_flag"
19714 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try
='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_lo
=$ac_mid; break
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 ac_hi
=`expr '(' $ac_mid ')' - 1`
19732 if test $ac_mid -le $ac_hi; then
19736 ac_mid
=`expr 2 '*' $ac_mid`
19738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.
$ac_ext >&5
19746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19749 # Binary search between lo and hi bounds.
19750 while test "x$ac_lo" != "x$ac_hi"; do
19751 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19752 cat >conftest.
$ac_ext <<_ACEOF
19755 cat confdefs.h
>>conftest.
$ac_ext
19756 cat >>conftest.
$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19758 $ac_includes_default
19762 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19769 rm -f conftest.
$ac_objext
19770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19771 (eval $ac_compile) 2>conftest.er1
19773 grep -v '^ *+' conftest.er1
>conftest.err
19775 cat conftest.err
>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try
='test -z "$ac_cxx_werror_flag"
19779 || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try
='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.
$ac_ext >&5
19796 ac_lo
=`expr '(' $ac_mid ')' + 1`
19798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19801 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19802 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19803 See \`config.log' for more details." >&5
19804 echo "$as_me: error: cannot compute sizeof (long), 77
19805 See \`config.log' for more details." >&2;}
19806 { (exit 1); exit 1; }; } ;;
19809 if test "$cross_compiling" = yes; then
19810 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19811 See \`config.log' for more details." >&5
19812 echo "$as_me: error: cannot run test program while cross compiling
19813 See \`config.log' for more details." >&2;}
19814 { (exit 1); exit 1; }; }
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823 long longval () { return (long) (sizeof (long)); }
19824 unsigned long ulongval () { return (long) (sizeof (long)); }
19826 #include <stdlib.h>
19831 FILE *f = fopen ("conftest.val", "w");
19834 if (((long) (sizeof (long))) < 0)
19836 long i = longval ();
19837 if (i != ((long) (sizeof (long))))
19839 fprintf (f, "%ld\n", i);
19843 unsigned long i = ulongval ();
19844 if (i != ((long) (sizeof (long))))
19846 fprintf (f, "%lu\n", i);
19848 exit (ferror (f) || fclose (f) != 0);
19854 rm -f conftest
$ac_exeext
19855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19856 (eval $ac_link) 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; }; then
19865 ac_cv_sizeof_long
=`cat conftest.val`
19867 echo "$as_me: program exited with status $ac_status" >&5
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.
$ac_ext >&5
19871 ( exit $ac_status )
19872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19873 See \`config.log' for more details." >&5
19874 echo "$as_me: error: cannot compute sizeof (long), 77
19875 See \`config.log' for more details." >&2;}
19876 { (exit 1); exit 1; }; }
19878 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19883 ac_cv_sizeof_long
=0
19886 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19887 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19888 cat >>confdefs.h
<<_ACEOF
19889 #define SIZEOF_LONG $ac_cv_sizeof_long
19893 echo "$as_me:$LINENO: checking for size_t" >&5
19894 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19895 if test "${ac_cv_type_size_t+set}" = set; then
19896 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 cat >conftest.
$ac_ext <<_ACEOF
19901 cat confdefs.h
>>conftest.
$ac_ext
19902 cat >>conftest.
$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 $ac_includes_default
19910 if (sizeof (size_t))
19916 rm -f conftest.
$ac_objext
19917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19918 (eval $ac_compile) 2>conftest.er1
19920 grep -v '^ *+' conftest.er1
>conftest.err
19922 cat conftest.err
>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } &&
19925 { ac_try
='test -z "$ac_cxx_werror_flag"
19926 || test ! -s conftest.err'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; } &&
19932 { ac_try
='test -s conftest.$ac_objext'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; }; then
19938 ac_cv_type_size_t
=yes
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.
$ac_ext >&5
19943 ac_cv_type_size_t
=no
19945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19947 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19948 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19950 echo "$as_me:$LINENO: checking size of size_t" >&5
19951 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19952 if test "${ac_cv_sizeof_size_t+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 if test "$ac_cv_type_size_t" = yes; then
19956 # The cast to unsigned long works around a bug in the HP C Compiler
19957 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19958 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19959 # This bug is HP SR number 8606223364.
19960 if test "$cross_compiling" = yes; then
19961 # Depending upon the size, compute the lo and hi bounds.
19962 cat >conftest.
$ac_ext <<_ACEOF
19965 cat confdefs.h
>>conftest.
$ac_ext
19966 cat >>conftest.
$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19972 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19979 rm -f conftest.
$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>conftest.er1
19983 grep -v '^ *+' conftest.er1
>conftest.err
19985 cat conftest.err
>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try
='test -z "$ac_cxx_werror_flag"
19989 || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try
='test -s conftest.$ac_objext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 $ac_includes_default
20013 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20020 rm -f conftest.
$ac_objext
20021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20022 (eval $ac_compile) 2>conftest.er1
20024 grep -v '^ *+' conftest.er1
>conftest.err
20026 cat conftest.err
>&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } &&
20029 { ac_try
='test -z "$ac_cxx_werror_flag"
20030 || test ! -s conftest.err'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try
='test -s conftest.$ac_objext'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20042 ac_hi
=$ac_mid; break
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.
$ac_ext >&5
20047 ac_lo
=`expr $ac_mid + 1`
20048 if test $ac_lo -le $ac_mid; then
20052 ac_mid
=`expr 2 '*' $ac_mid + 1`
20054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.
$ac_ext >&5
20060 cat >conftest.
$ac_ext <<_ACEOF
20063 cat confdefs.h
>>conftest.
$ac_ext
20064 cat >>conftest.
$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 $ac_includes_default
20070 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20077 rm -f conftest.
$ac_objext
20078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20079 (eval $ac_compile) 2>conftest.er1
20081 grep -v '^ *+' conftest.er1
>conftest.err
20083 cat conftest.err
>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } &&
20086 { ac_try
='test -z "$ac_cxx_werror_flag"
20087 || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try
='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20101 cat >conftest.
$ac_ext <<_ACEOF
20104 cat confdefs.h
>>conftest.
$ac_ext
20105 cat >>conftest.
$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20111 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20118 rm -f conftest.
$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20122 grep -v '^ *+' conftest.er1
>conftest.err
20124 cat conftest.err
>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try
='test -z "$ac_cxx_werror_flag"
20128 || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try
='test -s conftest.$ac_objext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 ac_lo
=$ac_mid; break
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.
$ac_ext >&5
20145 ac_hi
=`expr '(' $ac_mid ')' - 1`
20146 if test $ac_mid -le $ac_hi; then
20150 ac_mid
=`expr 2 '*' $ac_mid`
20152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20163 # Binary search between lo and hi bounds.
20164 while test "x$ac_lo" != "x$ac_hi"; do
20165 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20166 cat >conftest.
$ac_ext <<_ACEOF
20169 cat confdefs.h
>>conftest.
$ac_ext
20170 cat >>conftest.
$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 $ac_includes_default
20176 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20183 rm -f conftest.
$ac_objext
20184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20185 (eval $ac_compile) 2>conftest.er1
20187 grep -v '^ *+' conftest.er1
>conftest.err
20189 cat conftest.err
>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try
='test -z "$ac_cxx_werror_flag"
20193 || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try
='test -s conftest.$ac_objext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.
$ac_ext >&5
20210 ac_lo
=`expr '(' $ac_mid ')' + 1`
20212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20215 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20216 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20217 See \`config.log' for more details." >&5
20218 echo "$as_me: error: cannot compute sizeof (size_t), 77
20219 See \`config.log' for more details." >&2;}
20220 { (exit 1); exit 1; }; } ;;
20223 if test "$cross_compiling" = yes; then
20224 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20225 See \`config.log' for more details." >&5
20226 echo "$as_me: error: cannot run test program while cross compiling
20227 See \`config.log' for more details." >&2;}
20228 { (exit 1); exit 1; }; }
20230 cat >conftest.
$ac_ext <<_ACEOF
20233 cat confdefs.h
>>conftest.
$ac_ext
20234 cat >>conftest.
$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 $ac_includes_default
20237 long longval () { return (long) (sizeof (size_t)); }
20238 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20240 #include <stdlib.h>
20245 FILE *f = fopen ("conftest.val", "w");
20248 if (((long) (sizeof (size_t))) < 0)
20250 long i = longval ();
20251 if (i != ((long) (sizeof (size_t))))
20253 fprintf (f, "%ld\n", i);
20257 unsigned long i = ulongval ();
20258 if (i != ((long) (sizeof (size_t))))
20260 fprintf (f, "%lu\n", i);
20262 exit (ferror (f) || fclose (f) != 0);
20268 rm -f conftest
$ac_exeext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20270 (eval $ac_link) 2>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 ac_cv_sizeof_size_t
=`cat conftest.val`
20281 echo "$as_me: program exited with status $ac_status" >&5
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.
$ac_ext >&5
20285 ( exit $ac_status )
20286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20287 See \`config.log' for more details." >&5
20288 echo "$as_me: error: cannot compute sizeof (size_t), 77
20289 See \`config.log' for more details." >&2;}
20290 { (exit 1); exit 1; }; }
20292 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20297 ac_cv_sizeof_size_t
=0
20300 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20301 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20302 cat >>confdefs.h
<<_ACEOF
20303 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20310 echo "$as_me:$LINENO: checking for long long" >&5
20311 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20312 if test "${ac_cv_type_long_long+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 cat >conftest.
$ac_ext <<_ACEOF
20318 cat confdefs.h
>>conftest.
$ac_ext
20319 cat >>conftest.
$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20325 if ((long long *) 0)
20327 if (sizeof (long long))
20333 rm -f conftest.
$ac_objext
20334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20335 (eval $ac_compile) 2>conftest.er1
20337 grep -v '^ *+' conftest.er1
>conftest.err
20339 cat conftest.err
>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } &&
20342 { ac_try
='test -z "$ac_cxx_werror_flag"
20343 || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try
='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_cv_type_long_long
=yes
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.
$ac_ext >&5
20360 ac_cv_type_long_long
=no
20362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20364 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20365 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20367 echo "$as_me:$LINENO: checking size of long long" >&5
20368 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20369 if test "${ac_cv_sizeof_long_long+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20372 if test "$ac_cv_type_long_long" = yes; then
20373 # The cast to unsigned long works around a bug in the HP C Compiler
20374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20376 # This bug is HP SR number 8606223364.
20377 if test "$cross_compiling" = yes; then
20378 # Depending upon the size, compute the lo and hi bounds.
20379 cat >conftest.
$ac_ext <<_ACEOF
20382 cat confdefs.h
>>conftest.
$ac_ext
20383 cat >>conftest.
$ac_ext <<_ACEOF
20384 /* end confdefs.h. */
20385 $ac_includes_default
20389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20396 rm -f conftest.
$ac_objext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20398 (eval $ac_compile) 2>conftest.er1
20400 grep -v '^ *+' conftest.er1
>conftest.err
20402 cat conftest.err
>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try
='test -z "$ac_cxx_werror_flag"
20406 || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try
='test -s conftest.$ac_objext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20420 cat >conftest.
$ac_ext <<_ACEOF
20423 cat confdefs.h
>>conftest.
$ac_ext
20424 cat >>conftest.
$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 $ac_includes_default
20430 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20437 rm -f conftest.
$ac_objext
20438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20439 (eval $ac_compile) 2>conftest.er1
20441 grep -v '^ *+' conftest.er1
>conftest.err
20443 cat conftest.err
>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try
='test -z "$ac_cxx_werror_flag"
20447 || test ! -s conftest.err'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; } &&
20453 { ac_try
='test -s conftest.$ac_objext'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_hi
=$ac_mid; break
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.
$ac_ext >&5
20464 ac_lo
=`expr $ac_mid + 1`
20465 if test $ac_lo -le $ac_mid; then
20469 ac_mid
=`expr 2 '*' $ac_mid + 1`
20471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.
$ac_ext >&5
20477 cat >conftest.
$ac_ext <<_ACEOF
20480 cat confdefs.h
>>conftest.
$ac_ext
20481 cat >>conftest.
$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20487 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20494 rm -f conftest.
$ac_objext
20495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20496 (eval $ac_compile) 2>conftest.er1
20498 grep -v '^ *+' conftest.er1
>conftest.err
20500 cat conftest.err
>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } &&
20503 { ac_try
='test -z "$ac_cxx_werror_flag"
20504 || test ! -s conftest.err'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; } &&
20510 { ac_try
='test -s conftest.$ac_objext'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; }; then
20518 cat >conftest.
$ac_ext <<_ACEOF
20521 cat confdefs.h
>>conftest.
$ac_ext
20522 cat >>conftest.
$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20528 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20535 rm -f conftest.
$ac_objext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20537 (eval $ac_compile) 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try
='test -z "$ac_cxx_werror_flag"
20545 || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try
='test -s conftest.$ac_objext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 ac_lo
=$ac_mid; break
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.
$ac_ext >&5
20562 ac_hi
=`expr '(' $ac_mid ')' - 1`
20563 if test $ac_mid -le $ac_hi; then
20567 ac_mid
=`expr 2 '*' $ac_mid`
20569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.
$ac_ext >&5
20577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 # Binary search between lo and hi bounds.
20581 while test "x$ac_lo" != "x$ac_hi"; do
20582 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20583 cat >conftest.
$ac_ext <<_ACEOF
20586 cat confdefs.h
>>conftest.
$ac_ext
20587 cat >>conftest.
$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20589 $ac_includes_default
20593 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20600 rm -f conftest.
$ac_objext
20601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20602 (eval $ac_compile) 2>conftest.er1
20604 grep -v '^ *+' conftest.er1
>conftest.err
20606 cat conftest.err
>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try
='test -z "$ac_cxx_werror_flag"
20610 || test ! -s conftest.err'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; } &&
20616 { ac_try
='test -s conftest.$ac_objext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20627 ac_lo
=`expr '(' $ac_mid ')' + 1`
20629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20632 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20634 See \`config.log' for more details." >&5
20635 echo "$as_me: error: cannot compute sizeof (long long), 77
20636 See \`config.log' for more details." >&2;}
20637 { (exit 1); exit 1; }; } ;;
20640 if test "$cross_compiling" = yes; then
20641 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20642 See \`config.log' for more details." >&5
20643 echo "$as_me: error: cannot run test program while cross compiling
20644 See \`config.log' for more details." >&2;}
20645 { (exit 1); exit 1; }; }
20647 cat >conftest.
$ac_ext <<_ACEOF
20650 cat confdefs.h
>>conftest.
$ac_ext
20651 cat >>conftest.
$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 $ac_includes_default
20654 long longval () { return (long) (sizeof (long long)); }
20655 unsigned long ulongval () { return (long) (sizeof (long long)); }
20657 #include <stdlib.h>
20662 FILE *f = fopen ("conftest.val", "w");
20665 if (((long) (sizeof (long long))) < 0)
20667 long i = longval ();
20668 if (i != ((long) (sizeof (long long))))
20670 fprintf (f, "%ld\n", i);
20674 unsigned long i = ulongval ();
20675 if (i != ((long) (sizeof (long long))))
20677 fprintf (f, "%lu\n", i);
20679 exit (ferror (f) || fclose (f) != 0);
20685 rm -f conftest
$ac_exeext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20687 (eval $ac_link) 2>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696 ac_cv_sizeof_long_long
=`cat conftest.val`
20698 echo "$as_me: program exited with status $ac_status" >&5
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.
$ac_ext >&5
20702 ( exit $ac_status )
20703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20704 See \`config.log' for more details." >&5
20705 echo "$as_me: error: cannot compute sizeof (long long), 77
20706 See \`config.log' for more details." >&2;}
20707 { (exit 1); exit 1; }; }
20709 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20714 ac_cv_sizeof_long_long
=0
20717 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20718 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20719 cat >>confdefs.h
<<_ACEOF
20720 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20726 echo "$as_me:$LINENO: checking for long long" >&5
20727 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20728 if test "${ac_cv_type_long_long+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 cat >conftest.
$ac_ext <<_ACEOF
20734 cat confdefs.h
>>conftest.
$ac_ext
20735 cat >>conftest.
$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 $ac_includes_default
20741 if ((long long *) 0)
20743 if (sizeof (long long))
20749 rm -f conftest.
$ac_objext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20751 (eval $ac_compile) 2>conftest.er1
20753 grep -v '^ *+' conftest.er1
>conftest.err
20755 cat conftest.err
>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try
='test -z "$ac_cxx_werror_flag"
20759 || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try
='test -s conftest.$ac_objext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20771 ac_cv_type_long_long
=yes
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20776 ac_cv_type_long_long
=no
20778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20780 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20781 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20783 echo "$as_me:$LINENO: checking size of long long" >&5
20784 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20785 if test "${ac_cv_sizeof_long_long+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 if test "$ac_cv_type_long_long" = yes; then
20789 # The cast to unsigned long works around a bug in the HP C Compiler
20790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20792 # This bug is HP SR number 8606223364.
20793 if test "$cross_compiling" = yes; then
20794 # Depending upon the size, compute the lo and hi bounds.
20795 cat >conftest.
$ac_ext <<_ACEOF
20798 cat confdefs.h
>>conftest.
$ac_ext
20799 cat >>conftest.
$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20812 rm -f conftest.
$ac_objext
20813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20814 (eval $ac_compile) 2>conftest.er1
20816 grep -v '^ *+' conftest.er1
>conftest.err
20818 cat conftest.err
>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try
='test -z "$ac_cxx_werror_flag"
20822 || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try
='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20836 cat >conftest.
$ac_ext <<_ACEOF
20839 cat confdefs.h
>>conftest.
$ac_ext
20840 cat >>conftest.
$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20853 rm -f conftest.
$ac_objext
20854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20855 (eval $ac_compile) 2>conftest.er1
20857 grep -v '^ *+' conftest.er1
>conftest.err
20859 cat conftest.err
>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } &&
20862 { ac_try
='test -z "$ac_cxx_werror_flag"
20863 || test ! -s conftest.err'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; } &&
20869 { ac_try
='test -s conftest.$ac_objext'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 ac_hi
=$ac_mid; break
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20880 ac_lo
=`expr $ac_mid + 1`
20881 if test $ac_lo -le $ac_mid; then
20885 ac_mid
=`expr 2 '*' $ac_mid + 1`
20887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.
$ac_ext >&5
20893 cat >conftest.
$ac_ext <<_ACEOF
20896 cat confdefs.h
>>conftest.
$ac_ext
20897 cat >>conftest.
$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20903 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20910 rm -f conftest.
$ac_objext
20911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20912 (eval $ac_compile) 2>conftest.er1
20914 grep -v '^ *+' conftest.er1
>conftest.err
20916 cat conftest.err
>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } &&
20919 { ac_try
='test -z "$ac_cxx_werror_flag"
20920 || test ! -s conftest.err'
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922 (eval $ac_try) 2>&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; } &&
20926 { ac_try
='test -s conftest.$ac_objext'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; }; then
20934 cat >conftest.
$ac_ext <<_ACEOF
20937 cat confdefs.h
>>conftest.
$ac_ext
20938 cat >>conftest.
$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 $ac_includes_default
20944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20951 rm -f conftest.
$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } &&
20960 { ac_try
='test -z "$ac_cxx_werror_flag"
20961 || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try
='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973 ac_lo
=$ac_mid; break
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.
$ac_ext >&5
20978 ac_hi
=`expr '(' $ac_mid ')' - 1`
20979 if test $ac_mid -le $ac_hi; then
20983 ac_mid
=`expr 2 '*' $ac_mid`
20985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20988 echo "$as_me: failed program was:" >&5
20989 sed 's/^/| /' conftest.
$ac_ext >&5
20993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20996 # Binary search between lo and hi bounds.
20997 while test "x$ac_lo" != "x$ac_hi"; do
20998 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20999 cat >conftest.
$ac_ext <<_ACEOF
21002 cat confdefs.h
>>conftest.
$ac_ext
21003 cat >>conftest.
$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 $ac_includes_default
21009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21016 rm -f conftest.
$ac_objext
21017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21018 (eval $ac_compile) 2>conftest.er1
21020 grep -v '^ *+' conftest.er1
>conftest.err
21022 cat conftest.err
>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } &&
21025 { ac_try
='test -z "$ac_cxx_werror_flag"
21026 || test ! -s conftest.err'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; } &&
21032 { ac_try
='test -s conftest.$ac_objext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.
$ac_ext >&5
21043 ac_lo
=`expr '(' $ac_mid ')' + 1`
21045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21048 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21050 See \`config.log' for more details." >&5
21051 echo "$as_me: error: cannot compute sizeof (long long), 77
21052 See \`config.log' for more details." >&2;}
21053 { (exit 1); exit 1; }; } ;;
21056 if test "$cross_compiling" = yes; then
21057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21058 See \`config.log' for more details." >&5
21059 echo "$as_me: error: cannot run test program while cross compiling
21060 See \`config.log' for more details." >&2;}
21061 { (exit 1); exit 1; }; }
21063 cat >conftest.
$ac_ext <<_ACEOF
21066 cat confdefs.h
>>conftest.
$ac_ext
21067 cat >>conftest.
$ac_ext <<_ACEOF
21068 /* end confdefs.h. */
21069 $ac_includes_default
21070 long longval () { return (long) (sizeof (long long)); }
21071 unsigned long ulongval () { return (long) (sizeof (long long)); }
21073 #include <stdlib.h>
21078 FILE *f = fopen ("conftest.val", "w");
21081 if (((long) (sizeof (long long))) < 0)
21083 long i = longval ();
21084 if (i != ((long) (sizeof (long long))))
21086 fprintf (f, "%ld\n", i);
21090 unsigned long i = ulongval ();
21091 if (i != ((long) (sizeof (long long))))
21093 fprintf (f, "%lu\n", i);
21095 exit (ferror (f) || fclose (f) != 0);
21101 rm -f conftest
$ac_exeext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21103 (eval $ac_link) 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 ac_cv_sizeof_long_long
=`cat conftest.val`
21114 echo "$as_me: program exited with status $ac_status" >&5
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.
$ac_ext >&5
21118 ( exit $ac_status )
21119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21120 See \`config.log' for more details." >&5
21121 echo "$as_me: error: cannot compute sizeof (long long), 77
21122 See \`config.log' for more details." >&2;}
21123 { (exit 1); exit 1; }; }
21125 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21130 ac_cv_sizeof_long_long
=0
21133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21134 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21135 cat >>confdefs.h
<<_ACEOF
21136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21140 if test "$ac_cv_sizeof_long_long" != "0"; then
21141 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21145 echo "$as_me:$LINENO: checking for long long" >&5
21146 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21147 if test "${ac_cv_type_long_long+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 cat >conftest.
$ac_ext <<_ACEOF
21153 cat confdefs.h
>>conftest.
$ac_ext
21154 cat >>conftest.
$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21160 if ((long long *) 0)
21162 if (sizeof (long long))
21168 rm -f conftest.
$ac_objext
21169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21170 (eval $ac_compile) 2>conftest.er1
21172 grep -v '^ *+' conftest.er1
>conftest.err
21174 cat conftest.err
>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } &&
21177 { ac_try
='test -z "$ac_cxx_werror_flag"
21178 || test ! -s conftest.err'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; } &&
21184 { ac_try
='test -s conftest.$ac_objext'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; }; then
21190 ac_cv_type_long_long
=yes
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.
$ac_ext >&5
21195 ac_cv_type_long_long
=no
21197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21199 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21200 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21202 echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 if test "$ac_cv_type_long_long" = yes; then
21208 # The cast to unsigned long works around a bug in the HP C Compiler
21209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21211 # This bug is HP SR number 8606223364.
21212 if test "$cross_compiling" = yes; then
21213 # Depending upon the size, compute the lo and hi bounds.
21214 cat >conftest.
$ac_ext <<_ACEOF
21217 cat confdefs.h
>>conftest.
$ac_ext
21218 cat >>conftest.
$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 $ac_includes_default
21224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21231 rm -f conftest.
$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21235 grep -v '^ *+' conftest.er1
>conftest.err
21237 cat conftest.err
>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try
='test -z "$ac_cxx_werror_flag"
21241 || test ! -s conftest.err'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; } &&
21247 { ac_try
='test -s conftest.$ac_objext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21255 cat >conftest.
$ac_ext <<_ACEOF
21258 cat confdefs.h
>>conftest.
$ac_ext
21259 cat >>conftest.
$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 $ac_includes_default
21265 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21272 rm -f conftest.
$ac_objext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21274 (eval $ac_compile) 2>conftest.er1
21276 grep -v '^ *+' conftest.er1
>conftest.err
21278 cat conftest.err
>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } &&
21281 { ac_try
='test -z "$ac_cxx_werror_flag"
21282 || test ! -s conftest.err'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try
='test -s conftest.$ac_objext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 ac_hi
=$ac_mid; break
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.
$ac_ext >&5
21299 ac_lo
=`expr $ac_mid + 1`
21300 if test $ac_lo -le $ac_mid; then
21304 ac_mid
=`expr 2 '*' $ac_mid + 1`
21306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.
$ac_ext >&5
21312 cat >conftest.
$ac_ext <<_ACEOF
21315 cat confdefs.h
>>conftest.
$ac_ext
21316 cat >>conftest.
$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21329 rm -f conftest.
$ac_objext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21331 (eval $ac_compile) 2>conftest.er1
21333 grep -v '^ *+' conftest.er1
>conftest.err
21335 cat conftest.err
>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try
='test -z "$ac_cxx_werror_flag"
21339 || test ! -s conftest.err'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try
='test -s conftest.$ac_objext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21353 cat >conftest.
$ac_ext <<_ACEOF
21356 cat confdefs.h
>>conftest.
$ac_ext
21357 cat >>conftest.
$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21370 rm -f conftest.
$ac_objext
21371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21372 (eval $ac_compile) 2>conftest.er1
21374 grep -v '^ *+' conftest.er1
>conftest.err
21376 cat conftest.err
>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } &&
21379 { ac_try
='test -z "$ac_cxx_werror_flag"
21380 || test ! -s conftest.err'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; } &&
21386 { ac_try
='test -s conftest.$ac_objext'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_lo
=$ac_mid; break
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.
$ac_ext >&5
21397 ac_hi
=`expr '(' $ac_mid ')' - 1`
21398 if test $ac_mid -le $ac_hi; then
21402 ac_mid
=`expr 2 '*' $ac_mid`
21404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21407 echo "$as_me: failed program was:" >&5
21408 sed 's/^/| /' conftest.
$ac_ext >&5
21412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21415 # Binary search between lo and hi bounds.
21416 while test "x$ac_lo" != "x$ac_hi"; do
21417 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21418 cat >conftest.
$ac_ext <<_ACEOF
21421 cat confdefs.h
>>conftest.
$ac_ext
21422 cat >>conftest.
$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 $ac_includes_default
21428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21435 rm -f conftest.
$ac_objext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21437 (eval $ac_compile) 2>conftest.er1
21439 grep -v '^ *+' conftest.er1
>conftest.err
21441 cat conftest.err
>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } &&
21444 { ac_try
='test -z "$ac_cxx_werror_flag"
21445 || test ! -s conftest.err'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; } &&
21451 { ac_try
='test -s conftest.$ac_objext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.
$ac_ext >&5
21462 ac_lo
=`expr '(' $ac_mid ')' + 1`
21464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21467 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21468 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21469 See \`config.log' for more details." >&5
21470 echo "$as_me: error: cannot compute sizeof (long long), 77
21471 See \`config.log' for more details." >&2;}
21472 { (exit 1); exit 1; }; } ;;
21475 if test "$cross_compiling" = yes; then
21476 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21477 See \`config.log' for more details." >&5
21478 echo "$as_me: error: cannot run test program while cross compiling
21479 See \`config.log' for more details." >&2;}
21480 { (exit 1); exit 1; }; }
21482 cat >conftest.
$ac_ext <<_ACEOF
21485 cat confdefs.h
>>conftest.
$ac_ext
21486 cat >>conftest.
$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 $ac_includes_default
21489 long longval () { return (long) (sizeof (long long)); }
21490 unsigned long ulongval () { return (long) (sizeof (long long)); }
21492 #include <stdlib.h>
21497 FILE *f = fopen ("conftest.val", "w");
21500 if (((long) (sizeof (long long))) < 0)
21502 long i = longval ();
21503 if (i != ((long) (sizeof (long long))))
21505 fprintf (f, "%ld\n", i);
21509 unsigned long i = ulongval ();
21510 if (i != ((long) (sizeof (long long))))
21512 fprintf (f, "%lu\n", i);
21514 exit (ferror (f) || fclose (f) != 0);
21520 rm -f conftest
$ac_exeext
21521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21522 (eval $ac_link) 2>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 ac_cv_sizeof_long_long
=`cat conftest.val`
21533 echo "$as_me: program exited with status $ac_status" >&5
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.
$ac_ext >&5
21537 ( exit $ac_status )
21538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21539 See \`config.log' for more details." >&5
21540 echo "$as_me: error: cannot compute sizeof (long long), 77
21541 See \`config.log' for more details." >&2;}
21542 { (exit 1); exit 1; }; }
21544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21549 ac_cv_sizeof_long_long
=0
21552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21553 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21554 cat >>confdefs.h
<<_ACEOF
21555 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21561 echo "$as_me:$LINENO: checking for wchar_t" >&5
21562 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21563 if test "${ac_cv_type_wchar_t+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 cat >conftest.
$ac_ext <<_ACEOF
21569 cat confdefs.h
>>conftest.
$ac_ext
21570 cat >>conftest.
$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21573 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21574 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21575 # error "fake wchar_t"
21577 #ifdef HAVE_WCHAR_H
21579 # include <stddef.h>
21581 # include <wchar.h>
21583 #ifdef HAVE_STDLIB_H
21584 # include <stdlib.h>
21595 if (sizeof (wchar_t))
21601 rm -f conftest.
$ac_objext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21603 (eval $ac_compile) 2>conftest.er1
21605 grep -v '^ *+' conftest.er1
>conftest.err
21607 cat conftest.err
>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } &&
21610 { ac_try
='test -z "$ac_cxx_werror_flag"
21611 || test ! -s conftest.err'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; } &&
21617 { ac_try
='test -s conftest.$ac_objext'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; }; then
21623 ac_cv_type_wchar_t
=yes
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.
$ac_ext >&5
21628 ac_cv_type_wchar_t
=no
21630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21632 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21633 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21635 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21636 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21637 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 if test "$ac_cv_type_wchar_t" = yes; then
21641 # The cast to unsigned long works around a bug in the HP C Compiler
21642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21644 # This bug is HP SR number 8606223364.
21645 if test "$cross_compiling" = yes; then
21646 # Depending upon the size, compute the lo and hi bounds.
21647 cat >conftest.
$ac_ext <<_ACEOF
21650 cat confdefs.h
>>conftest.
$ac_ext
21651 cat >>conftest.
$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21654 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21655 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21656 # error "fake wchar_t"
21658 #ifdef HAVE_WCHAR_H
21660 # include <stddef.h>
21662 # include <wchar.h>
21664 #ifdef HAVE_STDLIB_H
21665 # include <stdlib.h>
21674 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21681 rm -f conftest.
$ac_objext
21682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21683 (eval $ac_compile) 2>conftest.er1
21685 grep -v '^ *+' conftest.er1
>conftest.err
21687 cat conftest.err
>&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try
='test -z "$ac_cxx_werror_flag"
21691 || test ! -s conftest.err'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; } &&
21697 { ac_try
='test -s conftest.$ac_objext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21705 cat >conftest.
$ac_ext <<_ACEOF
21708 cat confdefs.h
>>conftest.
$ac_ext
21709 cat >>conftest.
$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21712 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21713 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21714 # error "fake wchar_t"
21716 #ifdef HAVE_WCHAR_H
21718 # include <stddef.h>
21720 # include <wchar.h>
21722 #ifdef HAVE_STDLIB_H
21723 # include <stdlib.h>
21732 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21739 rm -f conftest.
$ac_objext
21740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21741 (eval $ac_compile) 2>conftest.er1
21743 grep -v '^ *+' conftest.er1
>conftest.err
21745 cat conftest.err
>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); } &&
21748 { ac_try
='test -z "$ac_cxx_werror_flag"
21749 || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try
='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_hi
=$ac_mid; break
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21766 ac_lo
=`expr $ac_mid + 1`
21767 if test $ac_lo -le $ac_mid; then
21771 ac_mid
=`expr 2 '*' $ac_mid + 1`
21773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.
$ac_ext >&5
21779 cat >conftest.
$ac_ext <<_ACEOF
21782 cat confdefs.h
>>conftest.
$ac_ext
21783 cat >>conftest.
$ac_ext <<_ACEOF
21784 /* end confdefs.h. */
21786 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21787 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21788 # error "fake wchar_t"
21790 #ifdef HAVE_WCHAR_H
21792 # include <stddef.h>
21794 # include <wchar.h>
21796 #ifdef HAVE_STDLIB_H
21797 # include <stdlib.h>
21806 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21813 rm -f conftest.
$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21817 grep -v '^ *+' conftest.er1
>conftest.err
21819 cat conftest.err
>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try
='test -z "$ac_cxx_werror_flag"
21823 || test ! -s conftest.err'
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); }; } &&
21829 { ac_try
='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21837 cat >conftest.
$ac_ext <<_ACEOF
21840 cat confdefs.h
>>conftest.
$ac_ext
21841 cat >>conftest.
$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21844 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21845 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21846 # error "fake wchar_t"
21848 #ifdef HAVE_WCHAR_H
21850 # include <stddef.h>
21852 # include <wchar.h>
21854 #ifdef HAVE_STDLIB_H
21855 # include <stdlib.h>
21864 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21871 rm -f conftest.
$ac_objext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21873 (eval $ac_compile) 2>conftest.er1
21875 grep -v '^ *+' conftest.er1
>conftest.err
21877 cat conftest.err
>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try
='test -z "$ac_cxx_werror_flag"
21881 || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try
='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 ac_lo
=$ac_mid; break
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.
$ac_ext >&5
21898 ac_hi
=`expr '(' $ac_mid ')' - 1`
21899 if test $ac_mid -le $ac_hi; then
21903 ac_mid
=`expr 2 '*' $ac_mid`
21905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21916 # Binary search between lo and hi bounds.
21917 while test "x$ac_lo" != "x$ac_hi"; do
21918 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21919 cat >conftest.
$ac_ext <<_ACEOF
21922 cat confdefs.h
>>conftest.
$ac_ext
21923 cat >>conftest.
$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21926 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21927 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21928 # error "fake wchar_t"
21930 #ifdef HAVE_WCHAR_H
21932 # include <stddef.h>
21934 # include <wchar.h>
21936 #ifdef HAVE_STDLIB_H
21937 # include <stdlib.h>
21946 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21953 rm -f conftest.
$ac_objext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21955 (eval $ac_compile) 2>conftest.er1
21957 grep -v '^ *+' conftest.er1
>conftest.err
21959 cat conftest.err
>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try
='test -z "$ac_cxx_werror_flag"
21963 || test ! -s conftest.err'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; } &&
21969 { ac_try
='test -s conftest.$ac_objext'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; }; then
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.
$ac_ext >&5
21980 ac_lo
=`expr '(' $ac_mid ')' + 1`
21982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21985 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21986 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21987 See \`config.log' for more details." >&5
21988 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21989 See \`config.log' for more details." >&2;}
21990 { (exit 1); exit 1; }; } ;;
21993 if test "$cross_compiling" = yes; then
21994 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21995 See \`config.log' for more details." >&5
21996 echo "$as_me: error: cannot run test program while cross compiling
21997 See \`config.log' for more details." >&2;}
21998 { (exit 1); exit 1; }; }
22000 cat >conftest.
$ac_ext <<_ACEOF
22003 cat confdefs.h
>>conftest.
$ac_ext
22004 cat >>conftest.
$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22007 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22008 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22009 # error "fake wchar_t"
22011 #ifdef HAVE_WCHAR_H
22013 # include <stddef.h>
22015 # include <wchar.h>
22017 #ifdef HAVE_STDLIB_H
22018 # include <stdlib.h>
22024 long longval () { return (long) (sizeof (wchar_t)); }
22025 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22027 #include <stdlib.h>
22032 FILE *f = fopen ("conftest.val", "w");
22035 if (((long) (sizeof (wchar_t))) < 0)
22037 long i = longval ();
22038 if (i != ((long) (sizeof (wchar_t))))
22040 fprintf (f, "%ld\n", i);
22044 unsigned long i = ulongval ();
22045 if (i != ((long) (sizeof (wchar_t))))
22047 fprintf (f, "%lu\n", i);
22049 exit (ferror (f) || fclose (f) != 0);
22055 rm -f conftest
$ac_exeext
22056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22057 (eval $ac_link) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22066 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22068 echo "$as_me: program exited with status $ac_status" >&5
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.
$ac_ext >&5
22072 ( exit $ac_status )
22073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22074 See \`config.log' for more details." >&5
22075 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22076 See \`config.log' for more details." >&2;}
22077 { (exit 1); exit 1; }; }
22079 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22084 ac_cv_sizeof_wchar_t
=0
22087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22088 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22089 cat >>confdefs.h
<<_ACEOF
22090 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22094 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22100 echo "$as_me:$LINENO: checking for va_copy" >&5
22101 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22102 if test "${wx_cv_func_va_copy+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22106 cat >conftest.
$ac_ext <<_ACEOF
22108 #include <stdarg.h>
22109 void foo(char *f, ...)
22123 rm -f conftest.
$ac_objext conftest
$ac_exeext
22124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22125 (eval $ac_link) 2>conftest.er1
22127 grep -v '^ *+' conftest.er1
>conftest.err
22129 cat conftest.err
>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); } &&
22132 { ac_try
='test -z "$ac_cxx_werror_flag"
22133 || test ! -s conftest.err'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; } &&
22139 { ac_try
='test -s conftest$ac_exeext'
22140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141 (eval $ac_try) 2>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; }; then
22145 wx_cv_func_va_copy
=yes
22147 echo "$as_me: failed program was:" >&5
22148 sed 's/^/| /' conftest.
$ac_ext >&5
22150 wx_cv_func_va_copy
=no
22153 rm -f conftest.err conftest.
$ac_objext \
22154 conftest
$ac_exeext conftest.
$ac_ext
22158 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22159 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22161 if test $wx_cv_func_va_copy = "yes"; then
22162 cat >>confdefs.h
<<\_ACEOF
22163 #define HAVE_VA_COPY 1
22167 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22168 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22169 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 if test "$cross_compiling" = yes; then
22174 wx_cv_type_va_list_lvalue
=yes
22177 cat >conftest.
$ac_ext <<_ACEOF
22179 #include <stdarg.h>
22180 int foo(char *f, ...)
22185 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22193 return foo("hi", 17);
22196 rm -f conftest
$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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 wx_cv_type_va_list_lvalue
=yes
22209 echo "$as_me: program exited with status $ac_status" >&5
22210 echo "$as_me: failed program was:" >&5
22211 sed 's/^/| /' conftest.
$ac_ext >&5
22213 ( exit $ac_status )
22214 wx_cv_type_va_list_lvalue
=no
22216 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22221 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22222 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22224 if test $wx_cv_type_va_list_lvalue != "yes"; then
22225 cat >>confdefs.h
<<\_ACEOF
22226 #define VA_LIST_IS_ARRAY 1
22232 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22233 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22234 if test "${wx_cv_have_variadic_macros+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22238 cat >conftest.
$ac_ext <<_ACEOF
22241 cat confdefs.h
>>conftest.
$ac_ext
22242 cat >>conftest.
$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22246 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22252 test("%s %d %p", "test", 1, 0);
22259 rm -f conftest.
$ac_objext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22261 (eval $ac_compile) 2>conftest.er1
22263 grep -v '^ *+' conftest.er1
>conftest.err
22265 cat conftest.err
>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try
='test -z "$ac_cxx_werror_flag"
22269 || test ! -s conftest.err'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; } &&
22275 { ac_try
='test -s conftest.$ac_objext'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 wx_cv_have_variadic_macros
=yes
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.
$ac_ext >&5
22286 wx_cv_have_variadic_macros
=no
22289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22293 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22294 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22296 if test $wx_cv_have_variadic_macros = "yes"; then
22297 cat >>confdefs.h
<<\_ACEOF
22298 #define HAVE_VARIADIC_MACROS 1
22303 # Check whether --enable-largefile or --disable-largefile was given.
22304 if test "${enable_largefile+set}" = set; then
22305 enableval
="$enable_largefile"
22308 if test "$enable_largefile" != no
; then
22311 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22312 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22313 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22317 cat >conftest.
$ac_ext <<_ACEOF
22320 cat confdefs.h
>>conftest.
$ac_ext
22321 cat >>conftest.
$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 #define _FILE_OFFSET_BITS 64
22324 #include <sys/types.h>
22329 unsigned int field: sizeof(off_t) == 8;
22336 rm -f conftest.
$ac_objext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22338 (eval $ac_compile) 2>conftest.er1
22340 grep -v '^ *+' conftest.er1
>conftest.err
22342 cat conftest.err
>&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } &&
22345 { ac_try
='test -z "$ac_cxx_werror_flag"
22346 || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try
='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_sys_file_offset_bits
=64
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 ac_cv_sys_file_offset_bits
=no
22365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22369 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22370 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22372 if test "$ac_cv_sys_file_offset_bits" != no
; then
22374 cat >>confdefs.h
<<_ACEOF
22375 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22380 if test "x$wx_largefile" != "xyes"; then
22382 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22383 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22384 if test "${ac_cv_sys_large_files+set}" = set; then
22385 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 cat >conftest.
$ac_ext <<_ACEOF
22391 cat confdefs.h
>>conftest.
$ac_ext
22392 cat >>conftest.
$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 #define _LARGE_FILES 1
22395 #include <sys/types.h>
22400 unsigned int field: sizeof(off_t) == 8;
22407 rm -f conftest.
$ac_objext
22408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22409 (eval $ac_compile) 2>conftest.er1
22411 grep -v '^ *+' conftest.er1
>conftest.err
22413 cat conftest.err
>&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } &&
22416 { ac_try
='test -z "$ac_cxx_werror_flag"
22417 || test ! -s conftest.err'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; } &&
22423 { ac_try
='test -s conftest.$ac_objext'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; }; then
22429 ac_cv_sys_large_files
=1
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.
$ac_ext >&5
22434 ac_cv_sys_large_files
=no
22436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22440 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22441 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22443 if test "$ac_cv_sys_large_files" != no
; then
22445 cat >>confdefs.h
<<_ACEOF
22446 #define _LARGE_FILES $ac_cv_sys_large_files
22453 echo "$as_me:$LINENO: checking if large file support is available" >&5
22454 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22455 if test "x$wx_largefile" = "xyes"; then
22456 cat >>confdefs.h
<<\_ACEOF
22457 #define HAVE_LARGEFILE_SUPPORT 1
22461 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22462 echo "${ECHO_T}$wx_largefile" >&6
22466 if test "x$wx_largefile" = "xyes"; then
22467 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22468 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22470 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22471 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22472 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22473 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22477 cat >conftest.
$ac_ext <<_ACEOF
22480 cat confdefs.h
>>conftest.
$ac_ext
22481 cat >>conftest.
$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22488 #ifndef __STDC_EXT__
22496 rm -f conftest.
$ac_objext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22498 (eval $ac_compile) 2>conftest.er1
22500 grep -v '^ *+' conftest.er1
>conftest.err
22502 cat conftest.err
>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } &&
22505 { ac_try
='test -z "$ac_cxx_werror_flag"
22506 || test ! -s conftest.err'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try
='test -s conftest.$ac_objext'
22513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22514 (eval $ac_try) 2>&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 wx_cv_STDC_EXT_required
=no
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.
$ac_ext >&5
22523 wx_cv_STDC_EXT_required
=yes
22526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22530 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22531 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22532 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22533 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22537 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22539 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22540 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22541 if test "${ac_cv_sys_largefile_source+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 ac_cv_sys_largefile_source
=no
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22561 rm -f conftest.
$ac_objext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22563 (eval $ac_compile) 2>conftest.er1
22565 grep -v '^ *+' conftest.er1
>conftest.err
22567 cat conftest.err
>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try
='test -z "$ac_cxx_werror_flag"
22571 || test ! -s conftest.err'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; } &&
22577 { ac_try
='test -s conftest.$ac_objext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22590 cat >conftest.
$ac_ext <<_ACEOF
22593 cat confdefs.h
>>conftest.
$ac_ext
22594 cat >>conftest.
$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 #define _LARGEFILE_SOURCE 1
22606 rm -f conftest.
$ac_objext
22607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22608 (eval $ac_compile) 2>conftest.er1
22610 grep -v '^ *+' conftest.er1
>conftest.err
22612 cat conftest.err
>&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } &&
22615 { ac_try
='test -z "$ac_cxx_werror_flag"
22616 || test ! -s conftest.err'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; } &&
22622 { ac_try
='test -s conftest.$ac_objext'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; }; then
22628 ac_cv_sys_largefile_source
=1; break
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22638 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22639 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22640 if test "$ac_cv_sys_largefile_source" != no
; then
22642 cat >>confdefs.h
<<_ACEOF
22643 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22649 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22650 # in glibc 2.1.3, but that breaks too many other things.
22651 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22652 echo "$as_me:$LINENO: checking for fseeko" >&5
22653 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22654 if test "${ac_cv_func_fseeko+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 cat >conftest.
$ac_ext <<_ACEOF
22660 cat confdefs.h
>>conftest.
$ac_ext
22661 cat >>conftest.
$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22667 return fseeko && fseeko (stdin, 0, 0);
22672 rm -f conftest.
$ac_objext conftest
$ac_exeext
22673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22674 (eval $ac_link) 2>conftest.er1
22676 grep -v '^ *+' conftest.er1
>conftest.err
22678 cat conftest.err
>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } &&
22681 { ac_try
='test -z "$ac_cxx_werror_flag"
22682 || test ! -s conftest.err'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; } &&
22688 { ac_try
='test -s conftest$ac_exeext'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; }; then
22694 ac_cv_func_fseeko
=yes
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22699 ac_cv_func_fseeko
=no
22701 rm -f conftest.err conftest.
$ac_objext \
22702 conftest
$ac_exeext conftest.
$ac_ext
22704 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22705 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22706 if test $ac_cv_func_fseeko = yes; then
22708 cat >>confdefs.h
<<\_ACEOF
22709 #define HAVE_FSEEKO 1
22714 if test "$ac_cv_sys_largefile_source" != no
; then
22715 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22719 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22720 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22721 if test "${ac_cv_c_bigendian+set}" = set; then
22722 echo $ECHO_N "(cached) $ECHO_C" >&6
22724 ac_cv_c_bigendian
=unknown
22725 # See if sys/param.h defines the BYTE_ORDER macro.
22726 cat >conftest.
$ac_ext <<_ACEOF
22729 cat confdefs.h
>>conftest.
$ac_ext
22730 cat >>conftest.
$ac_ext <<_ACEOF
22731 /* end confdefs.h. */
22732 #include <sys/types.h>
22733 #include <sys/param.h>
22738 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22739 bogus endian macros
22745 rm -f conftest.
$ac_objext
22746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22747 (eval $ac_compile) 2>conftest.er1
22749 grep -v '^ *+' conftest.er1
>conftest.err
22751 cat conftest.err
>&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try
='test -z "$ac_cxx_werror_flag"
22755 || test ! -s conftest.err'
22756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22757 (eval $ac_try) 2>&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); }; } &&
22761 { ac_try
='test -s conftest.$ac_objext'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; }; then
22767 # It does; now see whether it defined to BIG_ENDIAN or not.
22768 cat >conftest.
$ac_ext <<_ACEOF
22771 cat confdefs.h
>>conftest.
$ac_ext
22772 cat >>conftest.
$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774 #include <sys/types.h>
22775 #include <sys/param.h>
22780 #if BYTE_ORDER != BIG_ENDIAN
22787 rm -f conftest.
$ac_objext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22789 (eval $ac_compile) 2>conftest.er1
22791 grep -v '^ *+' conftest.er1
>conftest.err
22793 cat conftest.err
>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try
='test -z "$ac_cxx_werror_flag"
22797 || test ! -s conftest.err'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; } &&
22803 { ac_try
='test -s conftest.$ac_objext'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; }; then
22809 ac_cv_c_bigendian
=yes
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.
$ac_ext >&5
22814 ac_cv_c_bigendian
=no
22816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22818 echo "$as_me: failed program was:" >&5
22819 sed 's/^/| /' conftest.
$ac_ext >&5
22822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22823 if test $ac_cv_c_bigendian = unknown
; then
22824 if test "$cross_compiling" = yes; then
22825 ac_cv_c_bigendian
=unknown
22827 cat >conftest.
$ac_ext <<_ACEOF
22830 cat confdefs.h
>>conftest.
$ac_ext
22831 cat >>conftest.
$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22834 /* Are we little or big endian? From Harbison&Steele. */
22838 char c[sizeof (long)];
22841 exit (u.c[sizeof (long) - 1] == 1);
22844 rm -f conftest
$ac_exeext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22846 (eval $ac_link) 2>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; }; then
22855 ac_cv_c_bigendian
=no
22857 echo "$as_me: program exited with status $ac_status" >&5
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.
$ac_ext >&5
22861 ( exit $ac_status )
22862 ac_cv_c_bigendian
=yes
22864 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22868 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22869 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22870 if test $ac_cv_c_bigendian = unknown
; then
22871 { 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
22872 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;}
22874 if test $ac_cv_c_bigendian = yes; then
22875 cat >>confdefs.h
<<\_ACEOF
22876 #define WORDS_BIGENDIAN 1
22886 ac_cpp
='$CXXCPP $CPPFLAGS'
22887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22893 for ac_header
in iostream
22895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22897 echo "$as_me:$LINENO: checking for $ac_header" >&5
22898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22905 # Is the header compilable?
22906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22908 cat >conftest.
$ac_ext <<_ACEOF
22911 cat confdefs.h
>>conftest.
$ac_ext
22912 cat >>conftest.
$ac_ext <<_ACEOF
22913 /* end confdefs.h. */
22914 $ac_includes_default
22915 #include <$ac_header>
22917 rm -f conftest.
$ac_objext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22919 (eval $ac_compile) 2>conftest.er1
22921 grep -v '^ *+' conftest.er1
>conftest.err
22923 cat conftest.err
>&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try
='test -z "$ac_cxx_werror_flag"
22927 || test ! -s conftest.err'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try
='test -s conftest.$ac_objext'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_header_compiler
=yes
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.
$ac_ext >&5
22944 ac_header_compiler
=no
22946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22948 echo "${ECHO_T}$ac_header_compiler" >&6
22950 # Is the header present?
22951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22953 cat >conftest.
$ac_ext <<_ACEOF
22956 cat confdefs.h
>>conftest.
$ac_ext
22957 cat >>conftest.
$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 #include <$ac_header>
22961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22964 grep -v '^ *+' conftest.er1
>conftest.err
22966 cat conftest.err
>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } >/dev
/null
; then
22969 if test -s conftest.err
; then
22970 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22971 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22978 if test -z "$ac_cpp_err"; then
22979 ac_header_preproc
=yes
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.
$ac_ext >&5
22984 ac_header_preproc
=no
22986 rm -f conftest.err conftest.
$ac_ext
22987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22988 echo "${ECHO_T}$ac_header_preproc" >&6
22990 # So? What about this header?
22991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22997 ac_header_preproc
=yes
23000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23014 ## ----------------------------------------- ##
23015 ## Report this to wx-dev@lists.wxwidgets.org ##
23016 ## ----------------------------------------- ##
23019 sed "s/^/$as_me: WARNING: /" >&2
23022 echo "$as_me:$LINENO: checking for $ac_header" >&5
23023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 eval "$as_ac_Header=\$ac_header_preproc"
23029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23034 cat >>confdefs.h
<<_ACEOF
23035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23043 if test "$ac_cv_header_iostream" = "yes" ; then
23046 cat >>confdefs.h
<<\_ACEOF
23047 #define wxUSE_IOSTREAMH 1
23053 ac_cpp
='$CXXCPP $CPPFLAGS'
23054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23061 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23062 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23063 if test "${wx_cv_cpp_bool+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23070 ac_cpp
='$CXXCPP $CPPFLAGS'
23071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23076 cat >conftest.
$ac_ext <<_ACEOF
23079 cat confdefs.h
>>conftest.
$ac_ext
23080 cat >>conftest.
$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23096 rm -f conftest.
$ac_objext
23097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23098 (eval $ac_compile) 2>conftest.er1
23100 grep -v '^ *+' conftest.er1
>conftest.err
23102 cat conftest.err
>&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } &&
23105 { ac_try
='test -z "$ac_cxx_werror_flag"
23106 || test ! -s conftest.err'
23107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108 (eval $ac_try) 2>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; } &&
23112 { ac_try
='test -s conftest.$ac_objext'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; }; then
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.
$ac_ext >&5
23130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23133 ac_cpp
='$CXXCPP $CPPFLAGS'
23134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23140 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23141 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23143 if test "$wx_cv_cpp_bool" = "yes"; then
23144 cat >>confdefs.h
<<\_ACEOF
23145 #define HAVE_BOOL 1
23152 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23153 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23154 if test "${wx_cv_explicit+set}" = set; then
23155 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 ac_cpp
='$CXXCPP $CPPFLAGS'
23162 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23167 cat >conftest.
$ac_ext <<_ACEOF
23170 cat confdefs.h
>>conftest.
$ac_ext
23171 cat >>conftest.
$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23174 class Foo { public: explicit Foo(int) {} };
23186 rm -f conftest.
$ac_objext
23187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23188 (eval $ac_compile) 2>conftest.er1
23190 grep -v '^ *+' conftest.er1
>conftest.err
23192 cat conftest.err
>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } &&
23195 { ac_try
='test -z "$ac_cxx_werror_flag"
23196 || test ! -s conftest.err'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; } &&
23202 { ac_try
='test -s conftest.$ac_objext'
23203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23204 (eval $ac_try) 2>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; }; then
23209 cat >conftest.
$ac_ext <<_ACEOF
23212 cat confdefs.h
>>conftest.
$ac_ext
23213 cat >>conftest.
$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23216 class Foo { public: explicit Foo(int) {} };
23217 static void TakeFoo(const Foo& foo) { }
23230 rm -f conftest.
$ac_objext
23231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23232 (eval $ac_compile) 2>conftest.er1
23234 grep -v '^ *+' conftest.er1
>conftest.err
23236 cat conftest.err
>&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } &&
23239 { ac_try
='test -z "$ac_cxx_werror_flag"
23240 || test ! -s conftest.err'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; } &&
23246 { ac_try
='test -s conftest.$ac_objext'
23247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248 (eval $ac_try) 2>&5
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; }; then
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.
$ac_ext >&5
23260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.
$ac_ext >&5
23269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23272 ac_cpp
='$CXXCPP $CPPFLAGS'
23273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23279 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23280 echo "${ECHO_T}$wx_cv_explicit" >&6
23282 if test "$wx_cv_explicit" = "yes"; then
23283 cat >>confdefs.h
<<\_ACEOF
23284 #define HAVE_EXPLICIT 1
23290 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23291 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23292 if test "${ac_cv_cxx_const_cast+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23298 ac_cpp
='$CXXCPP $CPPFLAGS'
23299 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23303 cat >conftest.
$ac_ext <<_ACEOF
23306 cat confdefs.h
>>conftest.
$ac_ext
23307 cat >>conftest.
$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23313 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23318 rm -f conftest.
$ac_objext
23319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23320 (eval $ac_compile) 2>conftest.er1
23322 grep -v '^ *+' conftest.er1
>conftest.err
23324 cat conftest.err
>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } &&
23327 { ac_try
='test -z "$ac_cxx_werror_flag"
23328 || test ! -s conftest.err'
23329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23330 (eval $ac_try) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; } &&
23334 { ac_try
='test -s conftest.$ac_objext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_cxx_const_cast
=yes
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.
$ac_ext >&5
23345 ac_cv_cxx_const_cast
=no
23347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23349 ac_cpp
='$CXXCPP $CPPFLAGS'
23350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23356 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23357 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23358 if test "$ac_cv_cxx_const_cast" = yes; then
23360 cat >>confdefs.h
<<\_ACEOF
23361 #define HAVE_CONST_CAST
23366 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23367 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23368 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 ac_cpp
='$CXXCPP $CPPFLAGS'
23375 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23379 cat >conftest.
$ac_ext <<_ACEOF
23382 cat confdefs.h
>>conftest.
$ac_ext
23383 cat >>conftest.
$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 #include <typeinfo>
23386 class Base { public : Base () {} virtual void f () = 0;};
23387 class Derived : public Base { public : Derived () {} virtual void f () {} };
23388 class Unrelated { public : Unrelated () {} };
23389 int g (Unrelated&) { return 0; }
23394 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23399 rm -f conftest.
$ac_objext
23400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23401 (eval $ac_compile) 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try
='test -z "$ac_cxx_werror_flag"
23409 || test ! -s conftest.err'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; } &&
23415 { ac_try
='test -s conftest.$ac_objext'
23416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417 (eval $ac_try) 2>&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); }; }; then
23421 ac_cv_cxx_reinterpret_cast
=yes
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.
$ac_ext >&5
23426 ac_cv_cxx_reinterpret_cast
=no
23428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23430 ac_cpp
='$CXXCPP $CPPFLAGS'
23431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23437 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23438 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23439 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23441 cat >>confdefs.h
<<\_ACEOF
23442 #define HAVE_REINTERPRET_CAST
23447 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23448 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23449 if test "${ac_cv_cxx_static_cast+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 ac_cpp
='$CXXCPP $CPPFLAGS'
23456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23460 cat >conftest.
$ac_ext <<_ACEOF
23463 cat confdefs.h
>>conftest.
$ac_ext
23464 cat >>conftest.
$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 #include <typeinfo>
23467 class Base { public : Base () {} virtual void f () = 0; };
23468 class Derived : public Base { public : Derived () {} virtual void f () {} };
23469 int g (Derived&) { return 0; }
23474 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23479 rm -f conftest.
$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23483 grep -v '^ *+' conftest.er1
>conftest.err
23485 cat conftest.err
>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try
='test -z "$ac_cxx_werror_flag"
23489 || test ! -s conftest.err'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try
='test -s conftest.$ac_objext'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 ac_cv_cxx_static_cast
=yes
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.
$ac_ext >&5
23506 ac_cv_cxx_static_cast
=no
23508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23510 ac_cpp
='$CXXCPP $CPPFLAGS'
23511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23517 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23518 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23519 if test "$ac_cv_cxx_static_cast" = yes; then
23521 cat >>confdefs.h
<<\_ACEOF
23522 #define HAVE_STATIC_CAST
23528 if test "x$SUNCXX" = xyes
; then
23529 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23532 if test "x$SUNCC" = xyes
; then
23533 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23536 if test "x$SGICC" = "xyes"; then
23537 CFLAGS
="-woff 3970 $CFLAGS"
23539 if test "x$SGICXX" = "xyes"; then
23540 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23543 if test "x$HPCC" = "xyes"; then
23544 CFLAGS
="+W 2011,2450 $CFLAGS"
23546 if test "x$HPCXX" = "xyes"; then
23547 CXXFLAGS
="+W 2340 $CXXFLAGS"
23550 if test "x$COMPAQCXX" = "xyes"; then
23551 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23554 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23555 if test "$wxUSE_UNICODE" = "yes"; then
23556 std_string
="std::wstring"
23557 char_type
="wchar_t"
23559 std_string
="std::string"
23563 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23564 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23565 cat >conftest.
$ac_ext <<_ACEOF
23568 cat confdefs.h
>>conftest.
$ac_ext
23569 cat >>conftest.
$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23580 rm -f conftest.
$ac_objext
23581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23582 (eval $ac_compile) 2>conftest.er1
23584 grep -v '^ *+' conftest.er1
>conftest.err
23586 cat conftest.err
>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); } &&
23589 { ac_try
='test -z "$ac_cxx_werror_flag"
23590 || test ! -s conftest.err'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; } &&
23596 { ac_try
='test -s conftest.$ac_objext'
23597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598 (eval $ac_try) 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; }; then
23602 echo "$as_me:$LINENO: result: yes" >&5
23603 echo "${ECHO_T}yes" >&6
23604 cat >>confdefs.h
<<\_ACEOF
23605 #define HAVE_STD_WSTRING 1
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23612 echo "$as_me:$LINENO: result: no" >&5
23613 echo "${ECHO_T}no" >&6
23614 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23615 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23616 cat >conftest.
$ac_ext <<_ACEOF
23619 cat confdefs.h
>>conftest.
$ac_ext
23620 cat >>conftest.
$ac_ext <<_ACEOF
23621 /* end confdefs.h. */
23623 #ifdef HAVE_WCHAR_H
23625 # include <stddef.h>
23627 # include <wchar.h>
23629 #ifdef HAVE_STDLIB_H
23630 # include <stdlib.h>
23638 std::basic_string<$char_type> foo;
23639 const $char_type* dummy = foo.c_str();
23644 rm -f conftest.
$ac_objext
23645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23646 (eval $ac_compile) 2>conftest.er1
23648 grep -v '^ *+' conftest.er1
>conftest.err
23650 cat conftest.err
>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } &&
23653 { ac_try
='test -z "$ac_cxx_werror_flag"
23654 || test ! -s conftest.err'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; } &&
23660 { ac_try
='test -s conftest.$ac_objext'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; }; then
23666 echo "$as_me:$LINENO: result: yes" >&5
23667 echo "${ECHO_T}yes" >&6
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.
$ac_ext >&5
23672 echo "$as_me:$LINENO: result: no" >&5
23673 echo "${ECHO_T}no" >&6
23674 if test "$wxUSE_STL" = "yes"; then
23675 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23676 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23677 { (exit 1); exit 1; }; }
23678 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23679 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23680 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23681 { (exit 1); exit 1; }; }
23683 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23684 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23685 wxUSE_STD_STRING
=no
23690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23696 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23697 echo "$as_me:$LINENO: checking for std::istream" >&5
23698 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23699 if test "${ac_cv_type_std__istream+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 cat >conftest.
$ac_ext <<_ACEOF
23705 cat confdefs.h
>>conftest.
$ac_ext
23706 cat >>conftest.
$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708 #include <iostream>
23713 if ((std::istream *) 0)
23715 if (sizeof (std::istream))
23721 rm -f conftest.
$ac_objext
23722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23723 (eval $ac_compile) 2>conftest.er1
23725 grep -v '^ *+' conftest.er1
>conftest.err
23727 cat conftest.err
>&5
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); } &&
23730 { ac_try
='test -z "$ac_cxx_werror_flag"
23731 || test ! -s conftest.err'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; } &&
23737 { ac_try
='test -s conftest.$ac_objext'
23738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739 (eval $ac_try) 2>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_cv_type_std__istream
=yes
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.
$ac_ext >&5
23748 ac_cv_type_std__istream
=no
23750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23752 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23753 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23754 if test $ac_cv_type_std__istream = yes; then
23756 cat >>confdefs.h
<<_ACEOF
23757 #define HAVE_STD__ISTREAM 1
23762 wxUSE_STD_IOSTREAM
=no
23764 echo "$as_me:$LINENO: checking for std::ostream" >&5
23765 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23766 if test "${ac_cv_type_std__ostream+set}" = set; then
23767 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 cat >conftest.
$ac_ext <<_ACEOF
23772 cat confdefs.h
>>conftest.
$ac_ext
23773 cat >>conftest.
$ac_ext <<_ACEOF
23774 /* end confdefs.h. */
23775 #include <iostream>
23780 if ((std::ostream *) 0)
23782 if (sizeof (std::ostream))
23788 rm -f conftest.
$ac_objext
23789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23790 (eval $ac_compile) 2>conftest.er1
23792 grep -v '^ *+' conftest.er1
>conftest.err
23794 cat conftest.err
>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); } &&
23797 { ac_try
='test -z "$ac_cxx_werror_flag"
23798 || test ! -s conftest.err'
23799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23800 (eval $ac_try) 2>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); }; } &&
23804 { ac_try
='test -s conftest.$ac_objext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_type_std__ostream
=yes
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.
$ac_ext >&5
23815 ac_cv_type_std__ostream
=no
23817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23819 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23820 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23821 if test $ac_cv_type_std__ostream = yes; then
23823 cat >>confdefs.h
<<_ACEOF
23824 #define HAVE_STD__OSTREAM 1
23829 wxUSE_STD_IOSTREAM
=no
23833 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23834 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23835 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23836 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23837 { (exit 1); exit 1; }; }
23839 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23840 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23845 if test "$wxUSE_STL" = "yes"; then
23846 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23847 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23848 cat >conftest.
$ac_ext <<_ACEOF
23851 cat confdefs.h
>>conftest.
$ac_ext
23852 cat >>conftest.
$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23855 #include <functional>
23856 #include <algorithm>
23862 std::vector<int> moo;
23863 std::list<int> foo;
23864 std::vector<int>::iterator it =
23865 std::find_if(moo.begin(), moo.end(),
23866 std::bind2nd(std::less<int>(), 3));
23871 rm -f conftest.
$ac_objext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23873 (eval $ac_compile) 2>conftest.er1
23875 grep -v '^ *+' conftest.er1
>conftest.err
23877 cat conftest.err
>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try
='test -z "$ac_cxx_werror_flag"
23881 || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try
='test -s conftest.$ac_objext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 echo "$as_me:$LINENO: result: yes" >&5
23894 echo "${ECHO_T}yes" >&6
23896 echo "$as_me: failed program was:" >&5
23897 sed 's/^/| /' conftest.
$ac_ext >&5
23899 echo "$as_me:$LINENO: result: no" >&5
23900 echo "${ECHO_T}no" >&6
23901 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23902 echo "$as_me: error: Basic STL functionality missing" >&2;}
23903 { (exit 1); exit 1; }; }
23905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23907 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23908 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23909 cat >conftest.
$ac_ext <<_ACEOF
23912 cat confdefs.h
>>conftest.
$ac_ext
23913 cat >>conftest.
$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23919 std::string foo, bar;
23921 foo.compare(1, 1, bar);
23922 foo.compare(1, 1, bar, 1, 1);
23924 foo.compare(1, 1, "");
23925 foo.compare(1, 1, "", 2);
23930 rm -f conftest.
$ac_objext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23932 (eval $ac_compile) 2>conftest.er1
23934 grep -v '^ *+' conftest.er1
>conftest.err
23936 cat conftest.err
>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try
='test -z "$ac_cxx_werror_flag"
23940 || test ! -s conftest.err'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try
='test -s conftest.$ac_objext'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 echo "$as_me:$LINENO: result: yes" >&5
23953 echo "${ECHO_T}yes" >&6
23954 cat >>confdefs.h
<<\_ACEOF
23955 #define HAVE_STD_STRING_COMPARE 1
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.
$ac_ext >&5
23962 echo "$as_me:$LINENO: result: no" >&5
23963 echo "${ECHO_T}no" >&6
23965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23967 if test "${ac_cv_header_hash_map+set}" = set; then
23968 echo "$as_me:$LINENO: checking for hash_map" >&5
23969 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23970 if test "${ac_cv_header_hash_map+set}" = set; then
23971 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23974 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23976 # Is the header compilable?
23977 echo "$as_me:$LINENO: checking hash_map usability" >&5
23978 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23979 cat >conftest.
$ac_ext <<_ACEOF
23982 cat confdefs.h
>>conftest.
$ac_ext
23983 cat >>conftest.
$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23985 $ac_includes_default
23986 #include <hash_map>
23988 rm -f conftest.
$ac_objext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23990 (eval $ac_compile) 2>conftest.er1
23992 grep -v '^ *+' conftest.er1
>conftest.err
23994 cat conftest.err
>&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try
='test -z "$ac_cxx_werror_flag"
23998 || test ! -s conftest.err'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; } &&
24004 { ac_try
='test -s conftest.$ac_objext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24010 ac_header_compiler
=yes
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.
$ac_ext >&5
24015 ac_header_compiler
=no
24017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24019 echo "${ECHO_T}$ac_header_compiler" >&6
24021 # Is the header present?
24022 echo "$as_me:$LINENO: checking hash_map presence" >&5
24023 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24024 cat >conftest.
$ac_ext <<_ACEOF
24027 cat confdefs.h
>>conftest.
$ac_ext
24028 cat >>conftest.
$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 #include <hash_map>
24032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24035 grep -v '^ *+' conftest.er1
>conftest.err
24037 cat conftest.err
>&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } >/dev
/null
; then
24040 if test -s conftest.err
; then
24041 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24042 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24049 if test -z "$ac_cpp_err"; then
24050 ac_header_preproc
=yes
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.
$ac_ext >&5
24055 ac_header_preproc
=no
24057 rm -f conftest.err conftest.
$ac_ext
24058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24059 echo "${ECHO_T}$ac_header_preproc" >&6
24061 # So? What about this header?
24062 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24064 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24065 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24066 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24067 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24068 ac_header_preproc
=yes
24071 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24072 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24073 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24074 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24075 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24076 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24077 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24078 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24080 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24081 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24082 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24085 ## ----------------------------------------- ##
24086 ## Report this to wx-dev@lists.wxwidgets.org ##
24087 ## ----------------------------------------- ##
24090 sed "s/^/$as_me: WARNING: /" >&2
24093 echo "$as_me:$LINENO: checking for hash_map" >&5
24094 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24095 if test "${ac_cv_header_hash_map+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 ac_cv_header_hash_map
=$ac_header_preproc
24100 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24101 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24104 if test $ac_cv_header_hash_map = yes; then
24105 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24106 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24107 cat >conftest.
$ac_ext <<_ACEOF
24110 cat confdefs.h
>>conftest.
$ac_ext
24111 cat >>conftest.
$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 #include <hash_map>
24114 #include <hash_set>
24118 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24119 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24124 rm -f conftest.
$ac_objext
24125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24126 (eval $ac_compile) 2>conftest.er1
24128 grep -v '^ *+' conftest.er1
>conftest.err
24130 cat conftest.err
>&5
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); } &&
24133 { ac_try
='test -z "$ac_cxx_werror_flag"
24134 || test ! -s conftest.err'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; } &&
24140 { ac_try
='test -s conftest.$ac_objext'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; }; then
24146 echo "$as_me:$LINENO: result: yes" >&5
24147 echo "${ECHO_T}yes" >&6
24148 cat >>confdefs.h
<<\_ACEOF
24149 #define HAVE_HASH_MAP 1
24152 cat >>confdefs.h
<<\_ACEOF
24153 #define HAVE_STD_HASH_MAP 1
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.
$ac_ext >&5
24160 echo "$as_me:$LINENO: result: no" >&5
24161 echo "${ECHO_T}no" >&6
24163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24169 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24170 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24171 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24172 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24173 echo $ECHO_N "(cached) $ECHO_C" >&6
24175 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24176 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24178 # Is the header compilable?
24179 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24180 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24181 cat >conftest.
$ac_ext <<_ACEOF
24184 cat confdefs.h
>>conftest.
$ac_ext
24185 cat >>conftest.
$ac_ext <<_ACEOF
24186 /* end confdefs.h. */
24187 $ac_includes_default
24188 #include <ext/hash_map>
24190 rm -f conftest.
$ac_objext
24191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24192 (eval $ac_compile) 2>conftest.er1
24194 grep -v '^ *+' conftest.er1
>conftest.err
24196 cat conftest.err
>&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } &&
24199 { ac_try
='test -z "$ac_cxx_werror_flag"
24200 || test ! -s conftest.err'
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); }; } &&
24206 { ac_try
='test -s conftest.$ac_objext'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24212 ac_header_compiler
=yes
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.
$ac_ext >&5
24217 ac_header_compiler
=no
24219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24221 echo "${ECHO_T}$ac_header_compiler" >&6
24223 # Is the header present?
24224 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24225 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24226 cat >conftest.
$ac_ext <<_ACEOF
24229 cat confdefs.h
>>conftest.
$ac_ext
24230 cat >>conftest.
$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 #include <ext/hash_map>
24234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24237 grep -v '^ *+' conftest.er1
>conftest.err
24239 cat conftest.err
>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } >/dev
/null
; then
24242 if test -s conftest.err
; then
24243 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24244 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24251 if test -z "$ac_cpp_err"; then
24252 ac_header_preproc
=yes
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.
$ac_ext >&5
24257 ac_header_preproc
=no
24259 rm -f conftest.err conftest.
$ac_ext
24260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24261 echo "${ECHO_T}$ac_header_preproc" >&6
24263 # So? What about this header?
24264 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24266 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24267 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24268 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24269 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24270 ac_header_preproc
=yes
24273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24274 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24275 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24276 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24277 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24278 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24279 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24280 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24281 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24282 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24283 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24284 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24287 ## ----------------------------------------- ##
24288 ## Report this to wx-dev@lists.wxwidgets.org ##
24289 ## ----------------------------------------- ##
24292 sed "s/^/$as_me: WARNING: /" >&2
24295 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24296 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24297 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24298 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 ac_cv_header_ext_hash_map
=$ac_header_preproc
24302 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24303 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24306 if test $ac_cv_header_ext_hash_map = yes; then
24307 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24308 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24309 cat >conftest.
$ac_ext <<_ACEOF
24312 cat confdefs.h
>>conftest.
$ac_ext
24313 cat >>conftest.
$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 #include <ext/hash_map>
24316 #include <ext/hash_set>
24320 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24321 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24326 rm -f conftest.
$ac_objext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24328 (eval $ac_compile) 2>conftest.er1
24330 grep -v '^ *+' conftest.er1
>conftest.err
24332 cat conftest.err
>&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try
='test -z "$ac_cxx_werror_flag"
24336 || test ! -s conftest.err'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; } &&
24342 { ac_try
='test -s conftest.$ac_objext'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; }; then
24348 echo "$as_me:$LINENO: result: yes" >&5
24349 echo "${ECHO_T}yes" >&6
24350 cat >>confdefs.h
<<\_ACEOF
24351 #define HAVE_EXT_HASH_MAP 1
24354 cat >>confdefs.h
<<\_ACEOF
24355 #define HAVE_GNU_CXX_HASH_MAP 1
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.
$ac_ext >&5
24362 echo "$as_me:$LINENO: result: no" >&5
24363 echo "${ECHO_T}no" >&6
24365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24374 /usr/local/include \
24376 /usr/Motif-2.1/include \
24377 /usr/Motif-1.2/include \
24378 /usr/include/Motif1.2 \
24381 /usr/openwin/include \
24385 /usr/X11R6/include \
24386 /usr/X11R6.4/include \
24387 /usr/X11R5/include \
24388 /usr/X11R4/include \
24390 /usr/include/X11R6 \
24391 /usr/include/X11R5 \
24392 /usr/include/X11R4 \
24394 /usr/local/X11R6/include \
24395 /usr/local/X11R5/include \
24396 /usr/local/X11R4/include \
24398 /usr/local/include/X11R6 \
24399 /usr/local/include/X11R5 \
24400 /usr/local/include/X11R4 \
24404 /usr/local/X11/include \
24405 /usr/local/include/X11 \
24407 /usr/XFree86/include/X11 \
24410 /usr/openwin/share/include"
24412 echo "$as_me:$LINENO: checking for libraries directory" >&5
24413 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24417 if test "${wx_cv_std_libpath+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24421 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24422 for e
in a so sl dylib dll.a
; do
24424 if test -f $libc; then
24427 cat >conftest.
$ac_ext <<_ACEOF
24428 int main() { return 0; }
24430 rm -f conftest.
$ac_objext conftest
$ac_exeext
24431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24432 (eval $ac_link) 2>conftest.er1
24434 grep -v '^ *+' conftest.er1
>conftest.err
24436 cat conftest.err
>&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } &&
24439 { ac_try
='test -z "$ac_cxx_werror_flag"
24440 || test ! -s conftest.err'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; } &&
24446 { ac_try
='test -s conftest$ac_exeext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24458 rm -f conftest.err conftest.
$ac_objext \
24459 conftest
$ac_exeext conftest.
$ac_ext
24461 if test "x$wx_cv_std_libpath" != "x"; then
24467 if test "x$wx_cv_std_libpath" = "x"; then
24468 wx_cv_std_libpath
="lib"
24477 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24478 wx_cv_std_libpath
="lib/64"
24480 wx_cv_std_libpath
="lib"
24485 if test "$ac_cv_sizeof_void_p" = 8 -a \
24486 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24487 wx_cv_std_libpath
="lib64"
24489 wx_cv_std_libpath
="lib"
24494 wx_cv_std_libpath
="lib";
24498 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24499 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24501 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24503 if test "$build" != "$host" -a "$GCC" = yes; then
24504 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24505 cross_root
=`dirname $cross_root`
24506 cross_root
=`dirname $cross_root`
24508 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24509 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24510 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24512 if test -z "$PKG_CONFIG_PATH"; then
24513 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24514 export PKG_CONFIG_PATH
24517 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24520 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24522 if test -f "$ac_dir/X11/Intrinsic.h"; then
24523 ac_find_includes
=$ac_dir
24528 x_includes
=$ac_find_includes
24530 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24533 for ac_dir
in $SEARCH_LIB;
24535 for ac_extension
in a so sl dylib dll.a
; do
24536 if test -f "$ac_dir/libXt.$ac_extension"; then
24537 ac_find_libraries
=$ac_dir
24543 x_libraries
=$ac_find_libraries
24549 cat >confcache
<<\_ACEOF
24550 # This file is a shell script that caches the results of configure
24551 # tests run on this system so they can be shared between configure
24552 # scripts and configure runs, see configure's option --config-cache.
24553 # It is not useful on other systems. If it contains results you don't
24554 # want to keep, you may remove or edit it.
24556 # config.status only pays attention to the cache file if you give it
24557 # the --recheck option to rerun configure.
24559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24561 # following values.
24565 # The following way of writing the cache mishandles newlines in values,
24566 # but we know of no workaround that is simple, portable, and efficient.
24567 # So, don't put newlines in cache variables' values.
24568 # Ultrix sh set writes to stderr and can't be redirected directly,
24569 # and sets the high bit in the cache file unless we assign to the vars.
24572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24574 # `set' does not quote correctly, so add quotes (double-quote
24575 # substitution turns \\\\ into \\, and sed turns \\ into \).
24578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24581 # `set' quotes correctly as required by POSIX, so do not add quotes.
24583 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24592 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24594 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24595 if test -w $cache_file; then
24596 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24597 cat confcache
>$cache_file
24599 echo "not updating unwritable cache $cache_file"
24604 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24605 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24606 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24607 if test "${wx_cv_lib_glibc21+set}" = set; then
24608 echo $ECHO_N "(cached) $ECHO_C" >&6
24611 cat >conftest.
$ac_ext <<_ACEOF
24614 cat confdefs.h
>>conftest.
$ac_ext
24615 cat >>conftest.
$ac_ext <<_ACEOF
24616 /* end confdefs.h. */
24617 #include <features.h>
24622 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24630 rm -f conftest.
$ac_objext
24631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24632 (eval $ac_compile) 2>conftest.er1
24634 grep -v '^ *+' conftest.er1
>conftest.err
24636 cat conftest.err
>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } &&
24639 { ac_try
='test -z "$ac_cxx_werror_flag"
24640 || test ! -s conftest.err'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; } &&
24646 { ac_try
='test -s conftest.$ac_objext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24653 wx_cv_lib_glibc21
=yes
24656 echo "$as_me: failed program was:" >&5
24657 sed 's/^/| /' conftest.
$ac_ext >&5
24660 wx_cv_lib_glibc21
=no
24664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24667 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24668 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24669 if test "$wx_cv_lib_glibc21" = "yes"; then
24670 cat >>confdefs.h
<<\_ACEOF
24671 #define wxHAVE_GLIBC2 1
24677 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24678 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24679 cat >>confdefs.h
<<\_ACEOF
24680 #define _GNU_SOURCE 1
24691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24692 echo "$as_me:$LINENO: checking for $ac_func" >&5
24693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24694 if eval "test \"\${$as_ac_var+set}\" = set"; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 cat >conftest.
$ac_ext <<_ACEOF
24700 cat confdefs.h
>>conftest.
$ac_ext
24701 cat >>conftest.
$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24705 #define $ac_func innocuous_$ac_func
24707 /* System header to define __stub macros and hopefully few prototypes,
24708 which can conflict with char $ac_func (); below.
24709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24710 <limits.h> exists even on freestanding compilers. */
24713 # include <limits.h>
24715 # include <assert.h>
24720 /* Override any gcc2 internal prototype to avoid an error. */
24725 /* We use char because int might match the return type of a gcc2
24726 builtin and then its argument prototype would still apply. */
24728 /* The GNU C library defines this for functions which it implements
24729 to always fail with ENOSYS. Some functions are actually named
24730 something starting with __ and the normal name is an alias. */
24731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24734 char (*f) () = $ac_func;
24743 return f != $ac_func;
24748 rm -f conftest.
$ac_objext conftest
$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>conftest.er1
24752 grep -v '^ *+' conftest.er1
>conftest.err
24754 cat conftest.err
>&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } &&
24757 { ac_try
='test -z "$ac_cxx_werror_flag"
24758 || test ! -s conftest.err'
24759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760 (eval $ac_try) 2>&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); }; } &&
24764 { ac_try
='test -s conftest$ac_exeext'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; }; then
24770 eval "$as_ac_var=yes"
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.
$ac_ext >&5
24775 eval "$as_ac_var=no"
24777 rm -f conftest.err conftest.
$ac_objext \
24778 conftest
$ac_exeext conftest.
$ac_ext
24780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24782 if test `eval echo '${'$as_ac_var'}'` = yes; then
24783 cat >>confdefs.h
<<_ACEOF
24784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24791 for ac_func
in floor
24793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24794 echo "$as_me:$LINENO: checking for $ac_func" >&5
24795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24796 if eval "test \"\${$as_ac_var+set}\" = set"; then
24797 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 cat >conftest.
$ac_ext <<_ACEOF
24802 cat confdefs.h
>>conftest.
$ac_ext
24803 cat >>conftest.
$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24807 #define $ac_func innocuous_$ac_func
24809 /* System header to define __stub macros and hopefully few prototypes,
24810 which can conflict with char $ac_func (); below.
24811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24812 <limits.h> exists even on freestanding compilers. */
24815 # include <limits.h>
24817 # include <assert.h>
24822 /* Override any gcc2 internal prototype to avoid an error. */
24827 /* We use char because int might match the return type of a gcc2
24828 builtin and then its argument prototype would still apply. */
24830 /* The GNU C library defines this for functions which it implements
24831 to always fail with ENOSYS. Some functions are actually named
24832 something starting with __ and the normal name is an alias. */
24833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24836 char (*f) () = $ac_func;
24845 return f != $ac_func;
24850 rm -f conftest.
$ac_objext conftest
$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>conftest.er1
24854 grep -v '^ *+' conftest.er1
>conftest.err
24856 cat conftest.err
>&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); } &&
24859 { ac_try
='test -z "$ac_cxx_werror_flag"
24860 || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try
='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 eval "$as_ac_var=yes"
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.
$ac_ext >&5
24877 eval "$as_ac_var=no"
24879 rm -f conftest.err conftest.
$ac_objext \
24880 conftest
$ac_exeext conftest.
$ac_ext
24882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24884 if test `eval echo '${'$as_ac_var'}'` = yes; then
24885 cat >>confdefs.h
<<_ACEOF
24886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24892 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24893 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24894 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24895 echo "$as_me:$LINENO: result: yes" >&5
24896 echo "${ECHO_T}yes" >&6
24898 echo "$as_me:$LINENO: result: no" >&5
24899 echo "${ECHO_T}no" >&6
24901 # use different functions to avoid configure caching
24907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24908 echo "$as_me:$LINENO: checking for $ac_func" >&5
24909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24910 if eval "test \"\${$as_ac_var+set}\" = set"; then
24911 echo $ECHO_N "(cached) $ECHO_C" >&6
24913 cat >conftest.
$ac_ext <<_ACEOF
24916 cat confdefs.h
>>conftest.
$ac_ext
24917 cat >>conftest.
$ac_ext <<_ACEOF
24918 /* end confdefs.h. */
24919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24921 #define $ac_func innocuous_$ac_func
24923 /* System header to define __stub macros and hopefully few prototypes,
24924 which can conflict with char $ac_func (); below.
24925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24926 <limits.h> exists even on freestanding compilers. */
24929 # include <limits.h>
24931 # include <assert.h>
24936 /* Override any gcc2 internal prototype to avoid an error. */
24941 /* We use char because int might match the return type of a gcc2
24942 builtin and then its argument prototype would still apply. */
24944 /* The GNU C library defines this for functions which it implements
24945 to always fail with ENOSYS. Some functions are actually named
24946 something starting with __ and the normal name is an alias. */
24947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24950 char (*f) () = $ac_func;
24959 return f != $ac_func;
24964 rm -f conftest.
$ac_objext conftest
$ac_exeext
24965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24966 (eval $ac_link) 2>conftest.er1
24968 grep -v '^ *+' conftest.er1
>conftest.err
24970 cat conftest.err
>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } &&
24973 { ac_try
='test -z "$ac_cxx_werror_flag"
24974 || test ! -s conftest.err'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; } &&
24980 { ac_try
='test -s conftest$ac_exeext'
24981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24982 (eval $ac_try) 2>&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); }; }; then
24986 eval "$as_ac_var=yes"
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.
$ac_ext >&5
24991 eval "$as_ac_var=no"
24993 rm -f conftest.err conftest.
$ac_objext \
24994 conftest
$ac_exeext conftest.
$ac_ext
24996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24998 if test `eval echo '${'$as_ac_var'}'` = yes; then
24999 cat >>confdefs.h
<<_ACEOF
25000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25007 for ac_func
in ceil
25009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25010 echo "$as_me:$LINENO: checking for $ac_func" >&5
25011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25012 if eval "test \"\${$as_ac_var+set}\" = set"; then
25013 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 cat >conftest.
$ac_ext <<_ACEOF
25018 cat confdefs.h
>>conftest.
$ac_ext
25019 cat >>conftest.
$ac_ext <<_ACEOF
25020 /* end confdefs.h. */
25021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25023 #define $ac_func innocuous_$ac_func
25025 /* System header to define __stub macros and hopefully few prototypes,
25026 which can conflict with char $ac_func (); below.
25027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25028 <limits.h> exists even on freestanding compilers. */
25031 # include <limits.h>
25033 # include <assert.h>
25038 /* Override any gcc2 internal prototype to avoid an error. */
25043 /* We use char because int might match the return type of a gcc2
25044 builtin and then its argument prototype would still apply. */
25046 /* The GNU C library defines this for functions which it implements
25047 to always fail with ENOSYS. Some functions are actually named
25048 something starting with __ and the normal name is an alias. */
25049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25052 char (*f) () = $ac_func;
25061 return f != $ac_func;
25066 rm -f conftest.
$ac_objext conftest
$ac_exeext
25067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25068 (eval $ac_link) 2>conftest.er1
25070 grep -v '^ *+' conftest.er1
>conftest.err
25072 cat conftest.err
>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } &&
25075 { ac_try
='test -z "$ac_cxx_werror_flag"
25076 || test ! -s conftest.err'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; } &&
25082 { ac_try
='test -s conftest$ac_exeext'
25083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25084 (eval $ac_try) 2>&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); }; }; then
25088 eval "$as_ac_var=yes"
25090 echo "$as_me: failed program was:" >&5
25091 sed 's/^/| /' conftest.
$ac_ext >&5
25093 eval "$as_ac_var=no"
25095 rm -f conftest.err conftest.
$ac_objext \
25096 conftest
$ac_exeext conftest.
$ac_ext
25098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25100 if test `eval echo '${'$as_ac_var'}'` = yes; then
25101 cat >>confdefs.h
<<_ACEOF
25102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25108 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25109 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25110 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25111 echo "$as_me:$LINENO: result: yes" >&5
25112 echo "${ECHO_T}yes" >&6
25114 echo "$as_me:$LINENO: result: no" >&5
25115 echo "${ECHO_T}no" >&6
25116 # not sure we should warn the user, crash, etc.
25122 if test "$wxUSE_REGEX" != "no"; then
25123 cat >>confdefs.h
<<\_ACEOF
25124 #define wxUSE_REGEX 1
25128 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25129 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25130 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25131 wxUSE_REGEX
=builtin
25134 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25135 if test "${ac_cv_header_regex_h+set}" = set; then
25136 echo "$as_me:$LINENO: checking for regex.h" >&5
25137 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25138 if test "${ac_cv_header_regex_h+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25141 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25142 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25144 # Is the header compilable?
25145 echo "$as_me:$LINENO: checking regex.h usability" >&5
25146 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25147 cat >conftest.
$ac_ext <<_ACEOF
25150 cat confdefs.h
>>conftest.
$ac_ext
25151 cat >>conftest.
$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 $ac_includes_default
25156 rm -f conftest.
$ac_objext
25157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25158 (eval $ac_compile) 2>conftest.er1
25160 grep -v '^ *+' conftest.er1
>conftest.err
25162 cat conftest.err
>&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } &&
25165 { ac_try
='test -z "$ac_cxx_werror_flag"
25166 || test ! -s conftest.err'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; } &&
25172 { ac_try
='test -s conftest.$ac_objext'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; }; then
25178 ac_header_compiler
=yes
25180 echo "$as_me: failed program was:" >&5
25181 sed 's/^/| /' conftest.
$ac_ext >&5
25183 ac_header_compiler
=no
25185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25187 echo "${ECHO_T}$ac_header_compiler" >&6
25189 # Is the header present?
25190 echo "$as_me:$LINENO: checking regex.h presence" >&5
25191 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25192 cat >conftest.
$ac_ext <<_ACEOF
25195 cat confdefs.h
>>conftest.
$ac_ext
25196 cat >>conftest.
$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25203 grep -v '^ *+' conftest.er1
>conftest.err
25205 cat conftest.err
>&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } >/dev
/null
; then
25208 if test -s conftest.err
; then
25209 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25210 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25217 if test -z "$ac_cpp_err"; then
25218 ac_header_preproc
=yes
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.
$ac_ext >&5
25223 ac_header_preproc
=no
25225 rm -f conftest.err conftest.
$ac_ext
25226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25227 echo "${ECHO_T}$ac_header_preproc" >&6
25229 # So? What about this header?
25230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25232 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25233 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25234 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25235 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25236 ac_header_preproc
=yes
25239 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25240 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25241 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25242 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25243 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25244 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25245 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25246 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25247 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25248 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25249 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25250 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25253 ## ----------------------------------------- ##
25254 ## Report this to wx-dev@lists.wxwidgets.org ##
25255 ## ----------------------------------------- ##
25258 sed "s/^/$as_me: WARNING: /" >&2
25261 echo "$as_me:$LINENO: checking for regex.h" >&5
25262 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25263 if test "${ac_cv_header_regex_h+set}" = set; then
25264 echo $ECHO_N "(cached) $ECHO_C" >&6
25266 ac_cv_header_regex_h
=$ac_header_preproc
25268 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25269 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25272 if test $ac_cv_header_regex_h = yes; then
25275 for ac_func
in regcomp re_search
25277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25278 echo "$as_me:$LINENO: checking for $ac_func" >&5
25279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25280 if eval "test \"\${$as_ac_var+set}\" = set"; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25283 cat >conftest.
$ac_ext <<_ACEOF
25286 cat confdefs.h
>>conftest.
$ac_ext
25287 cat >>conftest.
$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25291 #define $ac_func innocuous_$ac_func
25293 /* System header to define __stub macros and hopefully few prototypes,
25294 which can conflict with char $ac_func (); below.
25295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25296 <limits.h> exists even on freestanding compilers. */
25299 # include <limits.h>
25301 # include <assert.h>
25306 /* Override any gcc2 internal prototype to avoid an error. */
25311 /* We use char because int might match the return type of a gcc2
25312 builtin and then its argument prototype would still apply. */
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25320 char (*f) () = $ac_func;
25329 return f != $ac_func;
25334 rm -f conftest.
$ac_objext conftest
$ac_exeext
25335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25336 (eval $ac_link) 2>conftest.er1
25338 grep -v '^ *+' conftest.er1
>conftest.err
25340 cat conftest.err
>&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } &&
25343 { ac_try
='test -z "$ac_cxx_werror_flag"
25344 || test ! -s conftest.err'
25345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25346 (eval $ac_try) 2>&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); }; } &&
25350 { ac_try
='test -s conftest$ac_exeext'
25351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352 (eval $ac_try) 2>&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); }; }; then
25356 eval "$as_ac_var=yes"
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.
$ac_ext >&5
25361 eval "$as_ac_var=no"
25363 rm -f conftest.err conftest.
$ac_objext \
25364 conftest
$ac_exeext conftest.
$ac_ext
25366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25368 if test `eval echo '${'$as_ac_var'}'` = yes; then
25369 cat >>confdefs.h
<<_ACEOF
25370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25380 if test "x$ac_cv_func_regcomp" != "xyes"; then
25381 if test "$wxUSE_REGEX" = "sys" ; then
25382 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25383 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25384 { (exit 1); exit 1; }; }
25386 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25387 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25388 wxUSE_REGEX
=builtin
25392 cat >>confdefs.h
<<\_ACEOF
25393 #define WX_NO_REGEX_ADVANCED 1
25402 if test "$wxUSE_ZLIB" != "no" ; then
25403 cat >>confdefs.h
<<\_ACEOF
25404 #define wxUSE_ZLIB 1
25408 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25409 if test "$USE_DARWIN" = 1; then
25410 system_zlib_h_ok
="yes"
25412 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25413 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25414 if test "${ac_cv_header_zlib_h+set}" = set; then
25415 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 if test "$cross_compiling" = yes; then
25418 unset ac_cv_header_zlib_h
25421 cat >conftest.
$ac_ext <<_ACEOF
25424 cat confdefs.h
>>conftest.
$ac_ext
25425 cat >>conftest.
$ac_ext <<_ACEOF
25426 /* end confdefs.h. */
25433 FILE *f=fopen("conftestval", "w");
25436 ZLIB_VERSION[0] == '1' &&
25437 (ZLIB_VERSION[2] > '1' ||
25438 (ZLIB_VERSION[2] == '1' &&
25439 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25444 rm -f conftest
$ac_exeext
25445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25446 (eval $ac_link) 2>&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25451 (eval $ac_try) 2>&5
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); }; }; then
25455 ac_cv_header_zlib_h
=`cat conftestval`
25457 echo "$as_me: program exited with status $ac_status" >&5
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.
$ac_ext >&5
25461 ( exit $ac_status )
25462 ac_cv_header_zlib_h
=no
25464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25468 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25469 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25470 if test "${ac_cv_header_zlib_h+set}" = set; then
25471 echo "$as_me:$LINENO: checking for zlib.h" >&5
25472 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25473 if test "${ac_cv_header_zlib_h+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25477 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25479 # Is the header compilable?
25480 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25481 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25482 cat >conftest.
$ac_ext <<_ACEOF
25485 cat confdefs.h
>>conftest.
$ac_ext
25486 cat >>conftest.
$ac_ext <<_ACEOF
25487 /* end confdefs.h. */
25488 $ac_includes_default
25491 rm -f conftest.
$ac_objext
25492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25493 (eval $ac_compile) 2>conftest.er1
25495 grep -v '^ *+' conftest.er1
>conftest.err
25497 cat conftest.err
>&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } &&
25500 { ac_try
='test -z "$ac_cxx_werror_flag"
25501 || test ! -s conftest.err'
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); }; } &&
25507 { ac_try
='test -s conftest.$ac_objext'
25508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25509 (eval $ac_try) 2>&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); }; }; then
25513 ac_header_compiler
=yes
25515 echo "$as_me: failed program was:" >&5
25516 sed 's/^/| /' conftest.
$ac_ext >&5
25518 ac_header_compiler
=no
25520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25522 echo "${ECHO_T}$ac_header_compiler" >&6
25524 # Is the header present?
25525 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25526 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25527 cat >conftest.
$ac_ext <<_ACEOF
25530 cat confdefs.h
>>conftest.
$ac_ext
25531 cat >>conftest.
$ac_ext <<_ACEOF
25532 /* end confdefs.h. */
25535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25538 grep -v '^ *+' conftest.er1
>conftest.err
25540 cat conftest.err
>&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); } >/dev
/null
; then
25543 if test -s conftest.err
; then
25544 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25545 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25552 if test -z "$ac_cpp_err"; then
25553 ac_header_preproc
=yes
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.
$ac_ext >&5
25558 ac_header_preproc
=no
25560 rm -f conftest.err conftest.
$ac_ext
25561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25562 echo "${ECHO_T}$ac_header_preproc" >&6
25564 # So? What about this header?
25565 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25567 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25568 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25569 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25570 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25571 ac_header_preproc
=yes
25574 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25575 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25576 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25577 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25578 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25579 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25580 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25581 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25582 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25583 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25584 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25585 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25588 ## ----------------------------------------- ##
25589 ## Report this to wx-dev@lists.wxwidgets.org ##
25590 ## ----------------------------------------- ##
25593 sed "s/^/$as_me: WARNING: /" >&2
25596 echo "$as_me:$LINENO: checking for zlib.h" >&5
25597 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25598 if test "${ac_cv_header_zlib_h+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 ac_cv_header_zlib_h
=$ac_header_preproc
25603 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25610 system_zlib_h_ok
=$ac_cv_header_zlib_h
25613 if test "$system_zlib_h_ok" = "yes"; then
25614 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25615 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25616 if test "${ac_cv_lib_z_deflate+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 ac_check_lib_save_LIBS
=$LIBS
25621 cat >conftest.
$ac_ext <<_ACEOF
25624 cat confdefs.h
>>conftest.
$ac_ext
25625 cat >>conftest.
$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25628 /* Override any gcc2 internal prototype to avoid an error. */
25632 /* We use char because int might match the return type of a gcc2
25633 builtin and then its argument prototype would still apply. */
25643 rm -f conftest.
$ac_objext conftest
$ac_exeext
25644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25645 (eval $ac_link) 2>conftest.er1
25647 grep -v '^ *+' conftest.er1
>conftest.err
25649 cat conftest.err
>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try
='test -z "$ac_cxx_werror_flag"
25653 || test ! -s conftest.err'
25654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25655 (eval $ac_try) 2>&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); }; } &&
25659 { ac_try
='test -s conftest$ac_exeext'
25660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661 (eval $ac_try) 2>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; }; then
25665 ac_cv_lib_z_deflate
=yes
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.
$ac_ext >&5
25670 ac_cv_lib_z_deflate
=no
25672 rm -f conftest.err conftest.
$ac_objext \
25673 conftest
$ac_exeext conftest.
$ac_ext
25674 LIBS
=$ac_check_lib_save_LIBS
25676 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25677 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25678 if test $ac_cv_lib_z_deflate = yes; then
25684 if test "x$ZLIB_LINK" = "x" ; then
25685 if test "$wxUSE_ZLIB" = "sys" ; then
25686 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25687 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25688 { (exit 1); exit 1; }; }
25690 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25691 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25702 if test "$wxUSE_LIBPNG" != "no" ; then
25703 cat >>confdefs.h
<<\_ACEOF
25704 #define wxUSE_LIBPNG 1
25708 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25709 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25710 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25714 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25715 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25716 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25717 wxUSE_LIBPNG
=builtin
25720 if test "$wxUSE_MGL" != 1 ; then
25721 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25722 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25723 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25724 if test "${ac_cv_header_png_h+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 if test "$cross_compiling" = yes; then
25728 unset ac_cv_header_png_h
25731 cat >conftest.
$ac_ext <<_ACEOF
25734 cat confdefs.h
>>conftest.
$ac_ext
25735 cat >>conftest.
$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25743 FILE *f=fopen("conftestval", "w");
25746 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25751 rm -f conftest
$ac_exeext
25752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25753 (eval $ac_link) 2>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25762 ac_cv_header_png_h
=`cat conftestval`
25764 echo "$as_me: program exited with status $ac_status" >&5
25765 echo "$as_me: failed program was:" >&5
25766 sed 's/^/| /' conftest.
$ac_ext >&5
25768 ( exit $ac_status )
25769 ac_cv_header_png_h
=no
25771 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25775 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25776 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25777 if test "${ac_cv_header_png_h+set}" = set; then
25778 echo "$as_me:$LINENO: checking for png.h" >&5
25779 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25780 if test "${ac_cv_header_png_h+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25783 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25784 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25786 # Is the header compilable?
25787 echo "$as_me:$LINENO: checking png.h usability" >&5
25788 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25789 cat >conftest.
$ac_ext <<_ACEOF
25792 cat confdefs.h
>>conftest.
$ac_ext
25793 cat >>conftest.
$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25795 $ac_includes_default
25798 rm -f conftest.
$ac_objext
25799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25800 (eval $ac_compile) 2>conftest.er1
25802 grep -v '^ *+' conftest.er1
>conftest.err
25804 cat conftest.err
>&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try
='test -z "$ac_cxx_werror_flag"
25808 || test ! -s conftest.err'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; } &&
25814 { ac_try
='test -s conftest.$ac_objext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820 ac_header_compiler
=yes
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.
$ac_ext >&5
25825 ac_header_compiler
=no
25827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25829 echo "${ECHO_T}$ac_header_compiler" >&6
25831 # Is the header present?
25832 echo "$as_me:$LINENO: checking png.h presence" >&5
25833 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25834 cat >conftest.
$ac_ext <<_ACEOF
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25845 grep -v '^ *+' conftest.er1
>conftest.err
25847 cat conftest.err
>&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } >/dev
/null
; then
25850 if test -s conftest.err
; then
25851 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25852 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25859 if test -z "$ac_cpp_err"; then
25860 ac_header_preproc
=yes
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.
$ac_ext >&5
25865 ac_header_preproc
=no
25867 rm -f conftest.err conftest.
$ac_ext
25868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25869 echo "${ECHO_T}$ac_header_preproc" >&6
25871 # So? What about this header?
25872 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25874 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25875 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25876 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25877 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25878 ac_header_preproc
=yes
25881 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25882 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25883 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25884 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25885 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25886 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25887 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25888 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25889 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25890 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25891 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25892 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25895 ## ----------------------------------------- ##
25896 ## Report this to wx-dev@lists.wxwidgets.org ##
25897 ## ----------------------------------------- ##
25900 sed "s/^/$as_me: WARNING: /" >&2
25903 echo "$as_me:$LINENO: checking for png.h" >&5
25904 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25905 if test "${ac_cv_header_png_h+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25908 ac_cv_header_png_h
=$ac_header_preproc
25910 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25911 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25917 if test "$ac_cv_header_png_h" = "yes"; then
25918 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25919 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25920 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25921 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 ac_check_lib_save_LIBS
=$LIBS
25924 LIBS
="-lpng -lz -lm $LIBS"
25925 cat >conftest.
$ac_ext <<_ACEOF
25928 cat confdefs.h
>>conftest.
$ac_ext
25929 cat >>conftest.
$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25932 /* Override any gcc2 internal prototype to avoid an error. */
25936 /* We use char because int might match the return type of a gcc2
25937 builtin and then its argument prototype would still apply. */
25938 char png_check_sig ();
25947 rm -f conftest.
$ac_objext conftest
$ac_exeext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25949 (eval $ac_link) 2>conftest.er1
25951 grep -v '^ *+' conftest.er1
>conftest.err
25953 cat conftest.err
>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -z "$ac_cxx_werror_flag"
25957 || test ! -s conftest.err'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; } &&
25963 { ac_try
='test -s conftest$ac_exeext'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; }; then
25969 ac_cv_lib_png_png_check_sig
=yes
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 ac_cv_lib_png_png_check_sig
=no
25976 rm -f conftest.err conftest.
$ac_objext \
25977 conftest
$ac_exeext conftest.
$ac_ext
25978 LIBS
=$ac_check_lib_save_LIBS
25980 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25981 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25982 if test $ac_cv_lib_png_png_check_sig = yes; then
25983 PNG_LINK
=" -lpng -lz"
25988 if test "x$PNG_LINK" = "x" ; then
25989 if test "$wxUSE_LIBPNG" = "sys" ; then
25990 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25991 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25992 { (exit 1); exit 1; }; }
25994 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25995 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25996 wxUSE_LIBPNG
=builtin
26004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26009 if test "$wxUSE_LIBJPEG" != "no" ; then
26010 cat >>confdefs.h
<<\_ACEOF
26011 #define wxUSE_LIBJPEG 1
26015 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26016 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26017 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26021 if test "$wxUSE_MGL" != 1 ; then
26022 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26023 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26024 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26025 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26026 echo $ECHO_N "(cached) $ECHO_C" >&6
26028 cat >conftest.
$ac_ext <<_ACEOF
26031 cat confdefs.h
>>conftest.
$ac_ext
26032 cat >>conftest.
$ac_ext <<_ACEOF
26033 /* end confdefs.h. */
26035 #undef HAVE_STDLIB_H
26037 #include <jpeglib.h>
26048 rm -f conftest.
$ac_objext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26050 (eval $ac_compile) 2>conftest.er1
26052 grep -v '^ *+' conftest.er1
>conftest.err
26054 cat conftest.err
>&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } &&
26057 { ac_try
='test -z "$ac_cxx_werror_flag"
26058 || test ! -s conftest.err'
26059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060 (eval $ac_try) 2>&5
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; } &&
26064 { ac_try
='test -s conftest.$ac_objext'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; }; then
26070 ac_cv_header_jpeglib_h
=yes
26072 echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.
$ac_ext >&5
26075 ac_cv_header_jpeglib_h
=no
26078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26082 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26083 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26085 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26086 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26087 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26088 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26089 echo $ECHO_N "(cached) $ECHO_C" >&6
26091 ac_check_lib_save_LIBS
=$LIBS
26092 LIBS
="-ljpeg $LIBS"
26093 cat >conftest.
$ac_ext <<_ACEOF
26096 cat confdefs.h
>>conftest.
$ac_ext
26097 cat >>conftest.
$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26100 /* Override any gcc2 internal prototype to avoid an error. */
26104 /* We use char because int might match the return type of a gcc2
26105 builtin and then its argument prototype would still apply. */
26106 char jpeg_read_header ();
26110 jpeg_read_header ();
26115 rm -f conftest.
$ac_objext conftest
$ac_exeext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26117 (eval $ac_link) 2>conftest.er1
26119 grep -v '^ *+' conftest.er1
>conftest.err
26121 cat conftest.err
>&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try
='test -z "$ac_cxx_werror_flag"
26125 || test ! -s conftest.err'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; } &&
26131 { ac_try
='test -s conftest$ac_exeext'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; }; then
26137 ac_cv_lib_jpeg_jpeg_read_header
=yes
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.
$ac_ext >&5
26142 ac_cv_lib_jpeg_jpeg_read_header
=no
26144 rm -f conftest.err conftest.
$ac_objext \
26145 conftest
$ac_exeext conftest.
$ac_ext
26146 LIBS
=$ac_check_lib_save_LIBS
26148 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26149 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26150 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26151 JPEG_LINK
=" -ljpeg"
26156 if test "x$JPEG_LINK" = "x" ; then
26157 if test "$wxUSE_LIBJPEG" = "sys" ; then
26158 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26159 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26160 { (exit 1); exit 1; }; }
26162 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26163 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26164 wxUSE_LIBJPEG
=builtin
26175 TIFF_PREREQ_LINKS
=-lm
26176 if test "$wxUSE_LIBTIFF" != "no" ; then
26177 cat >>confdefs.h
<<\_ACEOF
26178 #define wxUSE_LIBTIFF 1
26182 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26183 if test "$wxUSE_LIBJPEG" = "sys"; then
26184 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26186 if test "$wxUSE_ZLIB" = "sys"; then
26187 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26189 if test "${ac_cv_header_tiffio_h+set}" = set; then
26190 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26191 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26192 if test "${ac_cv_header_tiffio_h+set}" = set; then
26193 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26196 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26198 # Is the header compilable?
26199 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26200 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26201 cat >conftest.
$ac_ext <<_ACEOF
26204 cat confdefs.h
>>conftest.
$ac_ext
26205 cat >>conftest.
$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26207 $ac_includes_default
26208 #include <tiffio.h>
26210 rm -f conftest.
$ac_objext
26211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26212 (eval $ac_compile) 2>conftest.er1
26214 grep -v '^ *+' conftest.er1
>conftest.err
26216 cat conftest.err
>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } &&
26219 { ac_try
='test -z "$ac_cxx_werror_flag"
26220 || test ! -s conftest.err'
26221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26222 (eval $ac_try) 2>&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); }; } &&
26226 { ac_try
='test -s conftest.$ac_objext'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; }; then
26232 ac_header_compiler
=yes
26234 echo "$as_me: failed program was:" >&5
26235 sed 's/^/| /' conftest.
$ac_ext >&5
26237 ac_header_compiler
=no
26239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26241 echo "${ECHO_T}$ac_header_compiler" >&6
26243 # Is the header present?
26244 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26245 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26246 cat >conftest.
$ac_ext <<_ACEOF
26249 cat confdefs.h
>>conftest.
$ac_ext
26250 cat >>conftest.
$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252 #include <tiffio.h>
26254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26257 grep -v '^ *+' conftest.er1
>conftest.err
26259 cat conftest.err
>&5
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); } >/dev
/null
; then
26262 if test -s conftest.err
; then
26263 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26264 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26271 if test -z "$ac_cpp_err"; then
26272 ac_header_preproc
=yes
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.
$ac_ext >&5
26277 ac_header_preproc
=no
26279 rm -f conftest.err conftest.
$ac_ext
26280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26281 echo "${ECHO_T}$ac_header_preproc" >&6
26283 # So? What about this header?
26284 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26286 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26287 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26289 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26290 ac_header_preproc
=yes
26293 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26294 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26295 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26296 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26297 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26298 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26299 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26300 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26301 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26302 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26303 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26304 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26307 ## ----------------------------------------- ##
26308 ## Report this to wx-dev@lists.wxwidgets.org ##
26309 ## ----------------------------------------- ##
26312 sed "s/^/$as_me: WARNING: /" >&2
26315 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26316 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26317 if test "${ac_cv_header_tiffio_h+set}" = set; then
26318 echo $ECHO_N "(cached) $ECHO_C" >&6
26320 ac_cv_header_tiffio_h
=$ac_header_preproc
26322 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26323 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26326 if test $ac_cv_header_tiffio_h = yes; then
26328 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26329 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26330 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26333 ac_check_lib_save_LIBS
=$LIBS
26334 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26335 cat >conftest.
$ac_ext <<_ACEOF
26338 cat confdefs.h
>>conftest.
$ac_ext
26339 cat >>conftest.
$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26342 /* Override any gcc2 internal prototype to avoid an error. */
26346 /* We use char because int might match the return type of a gcc2
26347 builtin and then its argument prototype would still apply. */
26357 rm -f conftest.
$ac_objext conftest
$ac_exeext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359 (eval $ac_link) 2>conftest.er1
26361 grep -v '^ *+' conftest.er1
>conftest.err
26363 cat conftest.err
>&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try
='test -z "$ac_cxx_werror_flag"
26367 || test ! -s conftest.err'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; } &&
26373 { ac_try
='test -s conftest$ac_exeext'
26374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26375 (eval $ac_try) 2>&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); }; }; then
26379 ac_cv_lib_tiff_TIFFError
=yes
26381 echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.
$ac_ext >&5
26384 ac_cv_lib_tiff_TIFFError
=no
26386 rm -f conftest.err conftest.
$ac_objext \
26387 conftest
$ac_exeext conftest.
$ac_ext
26388 LIBS
=$ac_check_lib_save_LIBS
26390 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26391 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26392 if test $ac_cv_lib_tiff_TIFFError = yes; then
26393 TIFF_LINK
=" -ltiff"
26402 if test "x$TIFF_LINK" = "x" ; then
26403 if test "$wxUSE_LIBTIFF" = "sys" ; then
26404 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26405 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26406 { (exit 1); exit 1; }; }
26408 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26409 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26410 wxUSE_LIBTIFF
=builtin
26419 if test "$wxUSE_WCHAR_T" != "yes"; then
26420 if test "$wxUSE_EXPAT" != "no"; then
26421 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26422 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26425 if test "$wxUSE_XML" != "no"; then
26426 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26427 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26432 if test "$wxUSE_EXPAT" != "no"; then
26434 cat >>confdefs.h
<<\_ACEOF
26435 #define wxUSE_EXPAT 1
26438 cat >>confdefs.h
<<\_ACEOF
26439 #define wxUSE_XML 1
26443 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26444 if test "${ac_cv_header_expat_h+set}" = set; then
26445 echo "$as_me:$LINENO: checking for expat.h" >&5
26446 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26447 if test "${ac_cv_header_expat_h+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26451 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26453 # Is the header compilable?
26454 echo "$as_me:$LINENO: checking expat.h usability" >&5
26455 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26456 cat >conftest.
$ac_ext <<_ACEOF
26459 cat confdefs.h
>>conftest.
$ac_ext
26460 cat >>conftest.
$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462 $ac_includes_default
26465 rm -f conftest.
$ac_objext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26467 (eval $ac_compile) 2>conftest.er1
26469 grep -v '^ *+' conftest.er1
>conftest.err
26471 cat conftest.err
>&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try
='test -z "$ac_cxx_werror_flag"
26475 || test ! -s conftest.err'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; } &&
26481 { ac_try
='test -s conftest.$ac_objext'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26487 ac_header_compiler
=yes
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.
$ac_ext >&5
26492 ac_header_compiler
=no
26494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26496 echo "${ECHO_T}$ac_header_compiler" >&6
26498 # Is the header present?
26499 echo "$as_me:$LINENO: checking expat.h presence" >&5
26500 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26501 cat >conftest.
$ac_ext <<_ACEOF
26504 cat confdefs.h
>>conftest.
$ac_ext
26505 cat >>conftest.
$ac_ext <<_ACEOF
26506 /* end confdefs.h. */
26509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26512 grep -v '^ *+' conftest.er1
>conftest.err
26514 cat conftest.err
>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } >/dev
/null
; then
26517 if test -s conftest.err
; then
26518 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26519 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26526 if test -z "$ac_cpp_err"; then
26527 ac_header_preproc
=yes
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.
$ac_ext >&5
26532 ac_header_preproc
=no
26534 rm -f conftest.err conftest.
$ac_ext
26535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26536 echo "${ECHO_T}$ac_header_preproc" >&6
26538 # So? What about this header?
26539 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26541 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26542 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26543 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26544 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26545 ac_header_preproc
=yes
26548 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26549 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26550 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26551 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26552 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26553 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26554 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26555 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26556 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26557 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26558 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26559 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26562 ## ----------------------------------------- ##
26563 ## Report this to wx-dev@lists.wxwidgets.org ##
26564 ## ----------------------------------------- ##
26567 sed "s/^/$as_me: WARNING: /" >&2
26570 echo "$as_me:$LINENO: checking for expat.h" >&5
26571 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26572 if test "${ac_cv_header_expat_h+set}" = set; then
26573 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 ac_cv_header_expat_h
=$ac_header_preproc
26577 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26578 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26581 if test $ac_cv_header_expat_h = yes; then
26586 if test "x$found_expat_h" = "x1"; then
26587 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26588 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26589 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 cat >conftest.
$ac_ext <<_ACEOF
26596 cat confdefs.h
>>conftest.
$ac_ext
26597 cat >>conftest.
$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26608 rm -f conftest.
$ac_objext
26609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26610 (eval $ac_compile) 2>conftest.er1
26612 grep -v '^ *+' conftest.er1
>conftest.err
26614 cat conftest.err
>&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } &&
26617 { ac_try
='test -z "$ac_cxx_werror_flag"
26618 || test ! -s conftest.err'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; } &&
26624 { ac_try
='test -s conftest.$ac_objext'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; }; then
26630 wx_cv_expat_is_not_broken
=yes
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.
$ac_ext >&5
26635 wx_cv_expat_is_not_broken
=no
26638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26642 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26643 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26644 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26645 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26646 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26647 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26648 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 ac_check_lib_save_LIBS
=$LIBS
26651 LIBS
="-lexpat $LIBS"
26652 cat >conftest.
$ac_ext <<_ACEOF
26655 cat confdefs.h
>>conftest.
$ac_ext
26656 cat >>conftest.
$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26659 /* Override any gcc2 internal prototype to avoid an error. */
26663 /* We use char because int might match the return type of a gcc2
26664 builtin and then its argument prototype would still apply. */
26665 char XML_ParserCreate ();
26669 XML_ParserCreate ();
26674 rm -f conftest.
$ac_objext conftest
$ac_exeext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26676 (eval $ac_link) 2>conftest.er1
26678 grep -v '^ *+' conftest.er1
>conftest.err
26680 cat conftest.err
>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try
='test -z "$ac_cxx_werror_flag"
26684 || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try
='test -s conftest$ac_exeext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 ac_cv_lib_expat_XML_ParserCreate
=yes
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.
$ac_ext >&5
26701 ac_cv_lib_expat_XML_ParserCreate
=no
26703 rm -f conftest.err conftest.
$ac_objext \
26704 conftest
$ac_exeext conftest.
$ac_ext
26705 LIBS
=$ac_check_lib_save_LIBS
26707 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26708 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26709 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26710 EXPAT_LINK
=" -lexpat"
26715 if test "x$EXPAT_LINK" = "x" ; then
26716 if test "$wxUSE_EXPAT" = "sys" ; then
26717 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26718 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26719 { (exit 1); exit 1; }; }
26721 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26722 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26723 wxUSE_EXPAT
=builtin
26729 if test "$wxUSE_EXPAT" = "builtin" ; then
26732 subdirs
="$subdirs src/expat"
26739 if test "$wxUSE_LIBMSPACK" != "no"; then
26740 if test "${ac_cv_header_mspack_h+set}" = set; then
26741 echo "$as_me:$LINENO: checking for mspack.h" >&5
26742 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26743 if test "${ac_cv_header_mspack_h+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26747 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26749 # Is the header compilable?
26750 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26751 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26752 cat >conftest.
$ac_ext <<_ACEOF
26755 cat confdefs.h
>>conftest.
$ac_ext
26756 cat >>conftest.
$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758 $ac_includes_default
26759 #include <mspack.h>
26761 rm -f conftest.
$ac_objext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26763 (eval $ac_compile) 2>conftest.er1
26765 grep -v '^ *+' conftest.er1
>conftest.err
26767 cat conftest.err
>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try
='test -z "$ac_cxx_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try
='test -s conftest.$ac_objext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 ac_header_compiler
=yes
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.
$ac_ext >&5
26788 ac_header_compiler
=no
26790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26792 echo "${ECHO_T}$ac_header_compiler" >&6
26794 # Is the header present?
26795 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26796 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26797 cat >conftest.
$ac_ext <<_ACEOF
26800 cat confdefs.h
>>conftest.
$ac_ext
26801 cat >>conftest.
$ac_ext <<_ACEOF
26802 /* end confdefs.h. */
26803 #include <mspack.h>
26805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26808 grep -v '^ *+' conftest.er1
>conftest.err
26810 cat conftest.err
>&5
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); } >/dev
/null
; then
26813 if test -s conftest.err
; then
26814 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26815 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26822 if test -z "$ac_cpp_err"; then
26823 ac_header_preproc
=yes
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.
$ac_ext >&5
26828 ac_header_preproc
=no
26830 rm -f conftest.err conftest.
$ac_ext
26831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26832 echo "${ECHO_T}$ac_header_preproc" >&6
26834 # So? What about this header?
26835 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26837 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26838 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26839 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26840 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26841 ac_header_preproc
=yes
26844 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26845 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26846 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26847 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26848 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26849 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26850 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26851 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26852 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26853 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26854 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26855 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26858 ## ----------------------------------------- ##
26859 ## Report this to wx-dev@lists.wxwidgets.org ##
26860 ## ----------------------------------------- ##
26863 sed "s/^/$as_me: WARNING: /" >&2
26866 echo "$as_me:$LINENO: checking for mspack.h" >&5
26867 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26868 if test "${ac_cv_header_mspack_h+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 ac_cv_header_mspack_h
=$ac_header_preproc
26873 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26874 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26877 if test $ac_cv_header_mspack_h = yes; then
26882 if test "x$found_mspack_h" = "x1"; then
26883 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26884 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26885 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 ac_check_lib_save_LIBS
=$LIBS
26889 LIBS
="-lmspack $LIBS"
26890 cat >conftest.
$ac_ext <<_ACEOF
26893 cat confdefs.h
>>conftest.
$ac_ext
26894 cat >>conftest.
$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26897 /* Override any gcc2 internal prototype to avoid an error. */
26901 /* We use char because int might match the return type of a gcc2
26902 builtin and then its argument prototype would still apply. */
26903 char mspack_create_chm_decompressor ();
26907 mspack_create_chm_decompressor ();
26912 rm -f conftest.
$ac_objext conftest
$ac_exeext
26913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26914 (eval $ac_link) 2>conftest.er1
26916 grep -v '^ *+' conftest.er1
>conftest.err
26918 cat conftest.err
>&5
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); } &&
26921 { ac_try
='test -z "$ac_cxx_werror_flag"
26922 || test ! -s conftest.err'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; } &&
26928 { ac_try
='test -s conftest$ac_exeext'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; }; then
26934 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26936 echo "$as_me: failed program was:" >&5
26937 sed 's/^/| /' conftest.
$ac_ext >&5
26939 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26941 rm -f conftest.err conftest.
$ac_objext \
26942 conftest
$ac_exeext conftest.
$ac_ext
26943 LIBS
=$ac_check_lib_save_LIBS
26945 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26946 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26947 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26948 MSPACK_LINK
=" -lmspack"
26952 if test "x$MSPACK_LINK" = "x" ; then
26957 if test "$wxUSE_LIBMSPACK" != "no"; then
26958 cat >>confdefs.h
<<\_ACEOF
26959 #define wxUSE_LIBMSPACK 1
26973 if test "$USE_WIN32" = 1 ; then
26975 for ac_header
in w32api.h
26977 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26979 echo "$as_me:$LINENO: checking for $ac_header" >&5
26980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26982 echo $ECHO_N "(cached) $ECHO_C" >&6
26984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26987 # Is the header compilable?
26988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26990 cat >conftest.
$ac_ext <<_ACEOF
26993 cat confdefs.h
>>conftest.
$ac_ext
26994 cat >>conftest.
$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26996 $ac_includes_default
26997 #include <$ac_header>
26999 rm -f conftest.
$ac_objext
27000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27001 (eval $ac_compile) 2>conftest.er1
27003 grep -v '^ *+' conftest.er1
>conftest.err
27005 cat conftest.err
>&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } &&
27008 { ac_try
='test -z "$ac_cxx_werror_flag"
27009 || test ! -s conftest.err'
27010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 (eval $ac_try) 2>&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); }; } &&
27015 { ac_try
='test -s conftest.$ac_objext'
27016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27017 (eval $ac_try) 2>&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); }; }; then
27021 ac_header_compiler
=yes
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.
$ac_ext >&5
27026 ac_header_compiler
=no
27028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27030 echo "${ECHO_T}$ac_header_compiler" >&6
27032 # Is the header present?
27033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27035 cat >conftest.
$ac_ext <<_ACEOF
27038 cat confdefs.h
>>conftest.
$ac_ext
27039 cat >>conftest.
$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27041 #include <$ac_header>
27043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27046 grep -v '^ *+' conftest.er1
>conftest.err
27048 cat conftest.err
>&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } >/dev
/null
; then
27051 if test -s conftest.err
; then
27052 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27053 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27060 if test -z "$ac_cpp_err"; then
27061 ac_header_preproc
=yes
27063 echo "$as_me: failed program was:" >&5
27064 sed 's/^/| /' conftest.
$ac_ext >&5
27066 ac_header_preproc
=no
27068 rm -f conftest.err conftest.
$ac_ext
27069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27070 echo "${ECHO_T}$ac_header_preproc" >&6
27072 # So? What about this header?
27073 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27079 ac_header_preproc
=yes
27082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27096 ## ----------------------------------------- ##
27097 ## Report this to wx-dev@lists.wxwidgets.org ##
27098 ## ----------------------------------------- ##
27101 sed "s/^/$as_me: WARNING: /" >&2
27104 echo "$as_me:$LINENO: checking for $ac_header" >&5
27105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27109 eval "$as_ac_Header=\$ac_header_preproc"
27111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27116 cat >>confdefs.h
<<_ACEOF
27117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27124 if test "${ac_cv_header_windows_h+set}" = set; then
27125 echo "$as_me:$LINENO: checking for windows.h" >&5
27126 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27127 if test "${ac_cv_header_windows_h+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27130 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27131 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27133 # Is the header compilable?
27134 echo "$as_me:$LINENO: checking windows.h usability" >&5
27135 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27136 cat >conftest.
$ac_ext <<_ACEOF
27139 cat confdefs.h
>>conftest.
$ac_ext
27140 cat >>conftest.
$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27142 $ac_includes_default
27143 #include <windows.h>
27145 rm -f conftest.
$ac_objext
27146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27147 (eval $ac_compile) 2>conftest.er1
27149 grep -v '^ *+' conftest.er1
>conftest.err
27151 cat conftest.err
>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); } &&
27154 { ac_try
='test -z "$ac_cxx_werror_flag"
27155 || test ! -s conftest.err'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; } &&
27161 { ac_try
='test -s conftest.$ac_objext'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; }; then
27167 ac_header_compiler
=yes
27169 echo "$as_me: failed program was:" >&5
27170 sed 's/^/| /' conftest.
$ac_ext >&5
27172 ac_header_compiler
=no
27174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27176 echo "${ECHO_T}$ac_header_compiler" >&6
27178 # Is the header present?
27179 echo "$as_me:$LINENO: checking windows.h presence" >&5
27180 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27181 cat >conftest.
$ac_ext <<_ACEOF
27184 cat confdefs.h
>>conftest.
$ac_ext
27185 cat >>conftest.
$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187 #include <windows.h>
27189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27192 grep -v '^ *+' conftest.er1
>conftest.err
27194 cat conftest.err
>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } >/dev
/null
; then
27197 if test -s conftest.err
; then
27198 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27199 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27206 if test -z "$ac_cpp_err"; then
27207 ac_header_preproc
=yes
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.
$ac_ext >&5
27212 ac_header_preproc
=no
27214 rm -f conftest.err conftest.
$ac_ext
27215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27216 echo "${ECHO_T}$ac_header_preproc" >&6
27218 # So? What about this header?
27219 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27221 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27222 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27223 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27224 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27225 ac_header_preproc
=yes
27228 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27229 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27230 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27231 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27232 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27233 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27234 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27235 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27236 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27237 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27238 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27239 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27242 ## ----------------------------------------- ##
27243 ## Report this to wx-dev@lists.wxwidgets.org ##
27244 ## ----------------------------------------- ##
27247 sed "s/^/$as_me: WARNING: /" >&2
27250 echo "$as_me:$LINENO: checking for windows.h" >&5
27251 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27252 if test "${ac_cv_header_windows_h+set}" = set; then
27253 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 ac_cv_header_windows_h
=$ac_header_preproc
27257 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27258 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27261 if test $ac_cv_header_windows_h = yes; then
27265 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27266 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27267 { (exit 1); exit 1; }; }
27273 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27275 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27276 LIBS
="$LIBS -loleacc"
27281 LIBS
="$LIBS -lkernel32 -luser32"
27284 if test "$wxUSE_ODBC" = "sys" ; then
27287 if test "$wxUSE_ODBC" = "yes" ; then
27288 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27289 cat >>confdefs.h
<<\_ACEOF
27290 #define wxUSE_ODBC 1
27295 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27296 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27298 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27300 WIN32INSTALL
=win32install
27302 echo "$as_me:$LINENO: checking for boolean" >&5
27303 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27304 if test "${ac_cv_type_boolean+set}" = set; then
27305 echo $ECHO_N "(cached) $ECHO_C" >&6
27307 cat >conftest.
$ac_ext <<_ACEOF
27310 cat confdefs.h
>>conftest.
$ac_ext
27311 cat >>conftest.
$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27313 #include <windows.h>
27320 if (sizeof (boolean))
27326 rm -f conftest.
$ac_objext
27327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27328 (eval $ac_compile) 2>conftest.er1
27330 grep -v '^ *+' conftest.er1
>conftest.err
27332 cat conftest.err
>&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } &&
27335 { ac_try
='test -z "$ac_cxx_werror_flag"
27336 || test ! -s conftest.err'
27337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27338 (eval $ac_try) 2>&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); }; } &&
27342 { ac_try
='test -s conftest.$ac_objext'
27343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27344 (eval $ac_try) 2>&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); }; }; then
27348 ac_cv_type_boolean
=yes
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.
$ac_ext >&5
27353 ac_cv_type_boolean
=no
27355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27357 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27358 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27359 if test $ac_cv_type_boolean = yes; then
27361 cat >>confdefs.h
<<_ACEOF
27362 #define HAVE_BOOLEAN 1
27370 for ac_header
in pbt.h
27372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27374 echo "$as_me:$LINENO: checking for $ac_header" >&5
27375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27382 # Is the header compilable?
27383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27385 cat >conftest.
$ac_ext <<_ACEOF
27388 cat confdefs.h
>>conftest.
$ac_ext
27389 cat >>conftest.
$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391 $ac_includes_default
27392 #include <$ac_header>
27394 rm -f conftest.
$ac_objext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27396 (eval $ac_compile) 2>conftest.er1
27398 grep -v '^ *+' conftest.er1
>conftest.err
27400 cat conftest.err
>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try
='test -z "$ac_cxx_werror_flag"
27404 || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try
='test -s conftest.$ac_objext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27416 ac_header_compiler
=yes
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.
$ac_ext >&5
27421 ac_header_compiler
=no
27423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27425 echo "${ECHO_T}$ac_header_compiler" >&6
27427 # Is the header present?
27428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27430 cat >conftest.
$ac_ext <<_ACEOF
27433 cat confdefs.h
>>conftest.
$ac_ext
27434 cat >>conftest.
$ac_ext <<_ACEOF
27435 /* end confdefs.h. */
27436 #include <$ac_header>
27438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27441 grep -v '^ *+' conftest.er1
>conftest.err
27443 cat conftest.err
>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } >/dev
/null
; then
27446 if test -s conftest.err
; then
27447 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27448 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27455 if test -z "$ac_cpp_err"; then
27456 ac_header_preproc
=yes
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.
$ac_ext >&5
27461 ac_header_preproc
=no
27463 rm -f conftest.err conftest.
$ac_ext
27464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27465 echo "${ECHO_T}$ac_header_preproc" >&6
27467 # So? What about this header?
27468 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27474 ac_header_preproc
=yes
27477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27491 ## ----------------------------------------- ##
27492 ## Report this to wx-dev@lists.wxwidgets.org ##
27493 ## ----------------------------------------- ##
27496 sed "s/^/$as_me: WARNING: /" >&2
27499 echo "$as_me:$LINENO: checking for $ac_header" >&5
27500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27502 echo $ECHO_N "(cached) $ECHO_C" >&6
27504 eval "$as_ac_Header=\$ac_header_preproc"
27506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27511 cat >>confdefs.h
<<_ACEOF
27512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27516 cat >>confdefs.h
<<\_ACEOF
27517 #define NEED_PBT_H 1
27526 if test "$wxUSE_GUI" = "yes"; then
27536 if test "$wxUSE_COCOA" = 1 ; then
27537 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27538 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27539 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27540 wxUSE_PRINTING_ARCHITECTURE
=no
27542 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27543 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27544 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27545 wxUSE_DRAG_AND_DROP
=no
27547 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27548 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27549 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27554 if test "$wxUSE_MSW" = 1 ; then
27560 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27564 if test "$wxUSE_GTK" = 1; then
27566 ac_cpp
='$CPP $CPPFLAGS'
27567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27572 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27573 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27575 gtk_version_cached
=1
27576 if test "${wx_cv_lib_gtk+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27580 gtk_version_cached
=0
27581 echo "$as_me:$LINENO: result: " >&5
27582 echo "${ECHO_T}" >&6
27585 if test "$wxUSE_THREADS" = "yes"; then
27586 GTK_MODULES
=gthread
27590 if test "x$wxGTK_VERSION" != "x1"
27594 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27599 # Check whether --enable-gtktest or --disable-gtktest was given.
27600 if test "${enable_gtktest+set}" = set; then
27601 enableval
="$enable_gtktest"
27607 pkg_config_args
=gtk
+-2.0
27608 for module
in .
$GTK_MODULES
27612 pkg_config_args
="$pkg_config_args gthread-2.0"
27619 # Extract the first word of "pkg-config", so it can be a program name with args.
27620 set dummy pkg
-config; ac_word
=$2
27621 echo "$as_me:$LINENO: checking for $ac_word" >&5
27622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 case $PKG_CONFIG in
27628 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27632 for as_dir
in $PATH
27635 test -z "$as_dir" && as_dir
=.
27636 for ac_exec_ext
in '' $ac_executable_extensions; do
27637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27638 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27649 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27651 if test -n "$PKG_CONFIG"; then
27652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27653 echo "${ECHO_T}$PKG_CONFIG" >&6
27655 echo "$as_me:$LINENO: result: no" >&5
27656 echo "${ECHO_T}no" >&6
27660 if test x
$PKG_CONFIG != xno
; then
27661 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27664 echo "*** pkg-config too old; version 0.7 or better required."
27672 min_gtk_version
=2.0.0
27673 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27674 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27676 if test x
$PKG_CONFIG != xno
; then
27677 ## don't try to run the test against uninstalled libtool libs
27678 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27679 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27683 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27690 if test x
"$no_gtk" = x
; then
27691 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27692 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27693 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27695 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27697 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27699 if test "x$enable_gtktest" = "xyes" ; then
27700 ac_save_CFLAGS
="$CFLAGS"
27701 ac_save_LIBS
="$LIBS"
27702 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27703 LIBS
="$GTK_LIBS $LIBS"
27705 if test "$cross_compiling" = yes; then
27706 echo $ac_n "cross compiling; assumed OK... $ac_c"
27708 cat >conftest.
$ac_ext <<_ACEOF
27711 cat confdefs.h
>>conftest.
$ac_ext
27712 cat >>conftest.
$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27715 #include <gtk/gtk.h>
27717 #include <stdlib.h>
27722 int major, minor, micro;
27725 system ("touch conf.gtktest");
27727 /* HP/UX 9 (%@#!) writes to sscanf strings */
27728 tmp_version = g_strdup("$min_gtk_version");
27729 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27730 printf("%s, bad version string\n", "$min_gtk_version");
27734 if ((gtk_major_version != $gtk_config_major_version) ||
27735 (gtk_minor_version != $gtk_config_minor_version) ||
27736 (gtk_micro_version != $gtk_config_micro_version))
27738 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27739 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27740 gtk_major_version, gtk_minor_version, gtk_micro_version);
27741 printf ("*** was found! If pkg-config was correct, then it is best\n");
27742 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27743 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27744 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27745 printf("*** required on your system.\n");
27746 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27747 printf("*** to point to the correct configuration files\n");
27749 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27750 (gtk_minor_version != GTK_MINOR_VERSION) ||
27751 (gtk_micro_version != GTK_MICRO_VERSION))
27753 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27754 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27755 printf("*** library (version %d.%d.%d)\n",
27756 gtk_major_version, gtk_minor_version, gtk_micro_version);
27760 if ((gtk_major_version > major) ||
27761 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27762 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27768 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27769 gtk_major_version, gtk_minor_version, gtk_micro_version);
27770 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27771 major, minor, micro);
27772 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27774 printf("*** If you have already installed a sufficiently new version, this error\n");
27775 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27776 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27777 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27778 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27779 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27780 printf("*** so that the correct libraries are found at run-time))\n");
27787 rm -f conftest
$ac_exeext
27788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27789 (eval $ac_link) 2>&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; }; then
27800 echo "$as_me: program exited with status $ac_status" >&5
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.
$ac_ext >&5
27804 ( exit $ac_status )
27807 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27809 CFLAGS
="$ac_save_CFLAGS"
27810 LIBS
="$ac_save_LIBS"
27813 if test "x$no_gtk" = x
; then
27814 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27815 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27818 echo "$as_me:$LINENO: result: no" >&5
27819 echo "${ECHO_T}no" >&6
27820 if test "$PKG_CONFIG" = "no" ; then
27821 echo "*** A new enough version of pkg-config was not found."
27822 echo "*** See http://pkgconfig.sourceforge.net"
27824 if test -f conf.gtktest
; then
27827 echo "*** Could not run GTK+ test program, checking why..."
27828 ac_save_CFLAGS
="$CFLAGS"
27829 ac_save_LIBS
="$LIBS"
27830 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27831 LIBS
="$LIBS $GTK_LIBS"
27832 cat >conftest.
$ac_ext <<_ACEOF
27835 cat confdefs.h
>>conftest.
$ac_ext
27836 cat >>conftest.
$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27839 #include <gtk/gtk.h>
27845 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27850 rm -f conftest.
$ac_objext conftest
$ac_exeext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27852 (eval $ac_link) 2>conftest.er1
27854 grep -v '^ *+' conftest.er1
>conftest.err
27856 cat conftest.err
>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try
='test -z "$ac_c_werror_flag"
27860 || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try
='test -s conftest$ac_exeext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 echo "*** The test program compiled, but did not run. This usually means"
27873 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27874 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27875 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27876 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27877 echo "*** is required on your system"
27879 echo "*** If you have an old version installed, it is best to remove it, although"
27880 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27882 echo "$as_me: failed program was:" >&5
27883 sed 's/^/| /' conftest.
$ac_ext >&5
27885 echo "*** The test program failed to compile or link. See the file config.log for the"
27886 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27888 rm -f conftest.err conftest.
$ac_objext \
27889 conftest
$ac_exeext conftest.
$ac_ext
27890 CFLAGS
="$ac_save_CFLAGS"
27891 LIBS
="$ac_save_LIBS"
27905 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27906 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27907 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27909 if test "$wxUSE_SHARED" != "yes"; then
27910 GTK_LIBS
="$GTK_LIBS -lX11"
27915 if test -z "$wx_cv_lib_gtk"; then
27916 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27918 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27919 if test "${with_gtk_prefix+set}" = set; then
27920 withval
="$with_gtk_prefix"
27921 gtk_config_prefix
="$withval"
27923 gtk_config_prefix
=""
27926 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27927 if test "${with_gtk_exec_prefix+set}" = set; then
27928 withval
="$with_gtk_exec_prefix"
27929 gtk_config_exec_prefix
="$withval"
27931 gtk_config_exec_prefix
=""
27933 # Check whether --enable-gtktest or --disable-gtktest was given.
27934 if test "${enable_gtktest+set}" = set; then
27935 enableval
="$enable_gtktest"
27941 for module
in .
$GTK_MODULES
27945 gtk_config_args
="$gtk_config_args gthread"
27950 if test x
$gtk_config_exec_prefix != x
; then
27951 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27952 if test x
${GTK_CONFIG+set} != xset
; then
27953 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27956 if test x
$gtk_config_prefix != x
; then
27957 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27958 if test x
${GTK_CONFIG+set} != xset
; then
27959 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27963 # Extract the first word of "gtk-config", so it can be a program name with args.
27964 set dummy gtk
-config; ac_word
=$2
27965 echo "$as_me:$LINENO: checking for $ac_word" >&5
27966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27967 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27968 echo $ECHO_N "(cached) $ECHO_C" >&6
27970 case $GTK_CONFIG in
27972 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27976 for as_dir
in $PATH
27979 test -z "$as_dir" && as_dir
=.
27980 for ac_exec_ext
in '' $ac_executable_extensions; do
27981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27982 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27989 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27993 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27995 if test -n "$GTK_CONFIG"; then
27996 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27997 echo "${ECHO_T}$GTK_CONFIG" >&6
27999 echo "$as_me:$LINENO: result: no" >&5
28000 echo "${ECHO_T}no" >&6
28003 min_gtk_version
=1.2.7
28004 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28005 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28007 if test "$GTK_CONFIG" = "no" ; then
28010 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28011 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28012 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28014 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28016 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28018 if test "x$enable_gtktest" = "xyes" ; then
28019 ac_save_CFLAGS
="$CFLAGS"
28020 ac_save_LIBS
="$LIBS"
28021 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28022 LIBS
="$GTK_LIBS $LIBS"
28024 if test "$cross_compiling" = yes; then
28025 echo $ac_n "cross compiling; assumed OK... $ac_c"
28027 cat >conftest.
$ac_ext <<_ACEOF
28030 cat confdefs.h
>>conftest.
$ac_ext
28031 cat >>conftest.
$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28034 #include <gtk/gtk.h>
28036 #include <stdlib.h>
28041 int major, minor, micro;
28044 system ("touch conf.gtktest");
28046 /* HP/UX 9 (%@#!) writes to sscanf strings */
28047 tmp_version = g_strdup("$min_gtk_version");
28048 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28049 printf("%s, bad version string\n", "$min_gtk_version");
28053 if ((gtk_major_version != $gtk_config_major_version) ||
28054 (gtk_minor_version != $gtk_config_minor_version) ||
28055 (gtk_micro_version != $gtk_config_micro_version))
28057 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28058 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28059 gtk_major_version, gtk_minor_version, gtk_micro_version);
28060 printf ("*** was found! If gtk-config was correct, then it is best\n");
28061 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28062 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28063 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28064 printf("*** required on your system.\n");
28065 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28066 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28067 printf("*** before re-running configure\n");
28069 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28070 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28071 (gtk_minor_version != GTK_MINOR_VERSION) ||
28072 (gtk_micro_version != GTK_MICRO_VERSION))
28074 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28075 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28076 printf("*** library (version %d.%d.%d)\n",
28077 gtk_major_version, gtk_minor_version, gtk_micro_version);
28079 #endif /* defined (GTK_MAJOR_VERSION) ... */
28082 if ((gtk_major_version > major) ||
28083 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28084 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28090 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28091 gtk_major_version, gtk_minor_version, gtk_micro_version);
28092 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28093 major, minor, micro);
28094 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28096 printf("*** If you have already installed a sufficiently new version, this error\n");
28097 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28098 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28099 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28100 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28101 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28102 printf("*** so that the correct libraries are found at run-time))\n");
28109 rm -f conftest
$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111 (eval $ac_link) 2>&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116 (eval $ac_try) 2>&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); }; }; then
28122 echo "$as_me: program exited with status $ac_status" >&5
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.
$ac_ext >&5
28126 ( exit $ac_status )
28129 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28131 CFLAGS
="$ac_save_CFLAGS"
28132 LIBS
="$ac_save_LIBS"
28135 if test "x$no_gtk" = x
; then
28136 echo "$as_me:$LINENO: result: yes" >&5
28137 echo "${ECHO_T}yes" >&6
28138 wx_cv_lib_gtk
=1.2.7
28140 echo "$as_me:$LINENO: result: no" >&5
28141 echo "${ECHO_T}no" >&6
28142 if test "$GTK_CONFIG" = "no" ; then
28143 echo "*** The gtk-config script installed by GTK could not be found"
28144 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28145 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28146 echo "*** full path to gtk-config."
28148 if test -f conf.gtktest
; then
28151 echo "*** Could not run GTK test program, checking why..."
28152 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28153 LIBS
="$LIBS $GTK_LIBS"
28154 cat >conftest.
$ac_ext <<_ACEOF
28157 cat confdefs.h
>>conftest.
$ac_ext
28158 cat >>conftest.
$ac_ext <<_ACEOF
28159 /* end confdefs.h. */
28161 #include <gtk/gtk.h>
28167 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28172 rm -f conftest.
$ac_objext conftest
$ac_exeext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28174 (eval $ac_link) 2>conftest.er1
28176 grep -v '^ *+' conftest.er1
>conftest.err
28178 cat conftest.err
>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } &&
28181 { ac_try
='test -z "$ac_c_werror_flag"
28182 || test ! -s conftest.err'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; } &&
28188 { ac_try
='test -s conftest$ac_exeext'
28189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190 (eval $ac_try) 2>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 echo "*** The test program compiled, but did not run. This usually means"
28195 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28196 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28197 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28198 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28199 echo "*** is required on your system"
28201 echo "*** If you have an old version installed, it is best to remove it, although"
28202 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28204 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28205 echo "*** came with the system with the command"
28207 echo "*** rpm --erase --nodeps gtk gtk-devel"
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.
$ac_ext >&5
28212 echo "*** The test program failed to compile or link. See the file config.log for the"
28213 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28214 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28215 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28217 rm -f conftest.err conftest.
$ac_objext \
28218 conftest
$ac_exeext conftest.
$ac_ext
28219 CFLAGS
="$ac_save_CFLAGS"
28220 LIBS
="$ac_save_LIBS"
28232 if test -z "$wx_cv_lib_gtk"; then
28234 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28235 if test "${with_gtk_prefix+set}" = set; then
28236 withval
="$with_gtk_prefix"
28237 gtk_config_prefix
="$withval"
28239 gtk_config_prefix
=""
28242 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28243 if test "${with_gtk_exec_prefix+set}" = set; then
28244 withval
="$with_gtk_exec_prefix"
28245 gtk_config_exec_prefix
="$withval"
28247 gtk_config_exec_prefix
=""
28249 # Check whether --enable-gtktest or --disable-gtktest was given.
28250 if test "${enable_gtktest+set}" = set; then
28251 enableval
="$enable_gtktest"
28257 for module
in .
$GTK_MODULES
28261 gtk_config_args
="$gtk_config_args gthread"
28266 if test x
$gtk_config_exec_prefix != x
; then
28267 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28268 if test x
${GTK_CONFIG+set} != xset
; then
28269 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28272 if test x
$gtk_config_prefix != x
; then
28273 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28274 if test x
${GTK_CONFIG+set} != xset
; then
28275 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28279 # Extract the first word of "gtk-config", so it can be a program name with args.
28280 set dummy gtk
-config; ac_word
=$2
28281 echo "$as_me:$LINENO: checking for $ac_word" >&5
28282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28283 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 case $GTK_CONFIG in
28288 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28292 for as_dir
in $PATH
28295 test -z "$as_dir" && as_dir
=.
28296 for ac_exec_ext
in '' $ac_executable_extensions; do
28297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28298 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28305 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28309 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28311 if test -n "$GTK_CONFIG"; then
28312 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28313 echo "${ECHO_T}$GTK_CONFIG" >&6
28315 echo "$as_me:$LINENO: result: no" >&5
28316 echo "${ECHO_T}no" >&6
28319 min_gtk_version
=1.2.3
28320 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28321 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28323 if test "$GTK_CONFIG" = "no" ; then
28326 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28327 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28328 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28330 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28332 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28334 if test "x$enable_gtktest" = "xyes" ; then
28335 ac_save_CFLAGS
="$CFLAGS"
28336 ac_save_LIBS
="$LIBS"
28337 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28338 LIBS
="$GTK_LIBS $LIBS"
28340 if test "$cross_compiling" = yes; then
28341 echo $ac_n "cross compiling; assumed OK... $ac_c"
28343 cat >conftest.
$ac_ext <<_ACEOF
28346 cat confdefs.h
>>conftest.
$ac_ext
28347 cat >>conftest.
$ac_ext <<_ACEOF
28348 /* end confdefs.h. */
28350 #include <gtk/gtk.h>
28352 #include <stdlib.h>
28357 int major, minor, micro;
28360 system ("touch conf.gtktest");
28362 /* HP/UX 9 (%@#!) writes to sscanf strings */
28363 tmp_version = g_strdup("$min_gtk_version");
28364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28365 printf("%s, bad version string\n", "$min_gtk_version");
28369 if ((gtk_major_version != $gtk_config_major_version) ||
28370 (gtk_minor_version != $gtk_config_minor_version) ||
28371 (gtk_micro_version != $gtk_config_micro_version))
28373 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28374 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28375 gtk_major_version, gtk_minor_version, gtk_micro_version);
28376 printf ("*** was found! If gtk-config was correct, then it is best\n");
28377 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28378 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28379 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28380 printf("*** required on your system.\n");
28381 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28382 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28383 printf("*** before re-running configure\n");
28385 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28386 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28387 (gtk_minor_version != GTK_MINOR_VERSION) ||
28388 (gtk_micro_version != GTK_MICRO_VERSION))
28390 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28391 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28392 printf("*** library (version %d.%d.%d)\n",
28393 gtk_major_version, gtk_minor_version, gtk_micro_version);
28395 #endif /* defined (GTK_MAJOR_VERSION) ... */
28398 if ((gtk_major_version > major) ||
28399 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28400 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28406 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28407 gtk_major_version, gtk_minor_version, gtk_micro_version);
28408 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28409 major, minor, micro);
28410 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28412 printf("*** If you have already installed a sufficiently new version, this error\n");
28413 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28414 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28415 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28416 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28417 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28418 printf("*** so that the correct libraries are found at run-time))\n");
28425 rm -f conftest
$ac_exeext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28427 (eval $ac_link) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; }; then
28438 echo "$as_me: program exited with status $ac_status" >&5
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.
$ac_ext >&5
28442 ( exit $ac_status )
28445 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28447 CFLAGS
="$ac_save_CFLAGS"
28448 LIBS
="$ac_save_LIBS"
28451 if test "x$no_gtk" = x
; then
28452 echo "$as_me:$LINENO: result: yes" >&5
28453 echo "${ECHO_T}yes" >&6
28454 wx_cv_lib_gtk
=1.2.3
28456 echo "$as_me:$LINENO: result: no" >&5
28457 echo "${ECHO_T}no" >&6
28458 if test "$GTK_CONFIG" = "no" ; then
28459 echo "*** The gtk-config script installed by GTK could not be found"
28460 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28461 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28462 echo "*** full path to gtk-config."
28464 if test -f conf.gtktest
; then
28467 echo "*** Could not run GTK test program, checking why..."
28468 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28469 LIBS
="$LIBS $GTK_LIBS"
28470 cat >conftest.
$ac_ext <<_ACEOF
28473 cat confdefs.h
>>conftest.
$ac_ext
28474 cat >>conftest.
$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28477 #include <gtk/gtk.h>
28483 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28488 rm -f conftest.
$ac_objext conftest
$ac_exeext
28489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28490 (eval $ac_link) 2>conftest.er1
28492 grep -v '^ *+' conftest.er1
>conftest.err
28494 cat conftest.err
>&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); } &&
28497 { ac_try
='test -z "$ac_c_werror_flag"
28498 || test ! -s conftest.err'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; } &&
28504 { ac_try
='test -s conftest$ac_exeext'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; }; then
28510 echo "*** The test program compiled, but did not run. This usually means"
28511 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28512 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28513 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28514 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28515 echo "*** is required on your system"
28517 echo "*** If you have an old version installed, it is best to remove it, although"
28518 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28520 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28521 echo "*** came with the system with the command"
28523 echo "*** rpm --erase --nodeps gtk gtk-devel"
28525 echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.
$ac_ext >&5
28528 echo "*** The test program failed to compile or link. See the file config.log for the"
28529 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28530 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28531 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28533 rm -f conftest.err conftest.
$ac_objext \
28534 conftest
$ac_exeext conftest.
$ac_ext
28535 CFLAGS
="$ac_save_CFLAGS"
28536 LIBS
="$ac_save_LIBS"
28551 if test -z "$wx_cv_lib_gtk"; then
28554 wx_cv_cflags_gtk
=$GTK_CFLAGS
28555 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28562 if test "$gtk_version_cached" = 1; then
28563 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28564 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28567 case "$wx_cv_lib_gtk" in
28576 *) { { echo "$as_me:$LINENO: error:
28577 The development files for GTK+ were not found. For GTK+ 2, please
28578 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28579 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28580 and that the version is 1.2.3 or above. Also check that the
28581 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28582 --libs' are in the LD_LIBRARY_PATH or equivalent.
28584 echo "$as_me: error:
28585 The development files for GTK+ were not found. For GTK+ 2, please
28586 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28587 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28588 and that the version is 1.2.3 or above. Also check that the
28589 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28590 --libs' are in the LD_LIBRARY_PATH or equivalent.
28592 { (exit 1); exit 1; }; }
28596 if test "$WXGTK20" = 1; then
28597 save_CFLAGS
="$CFLAGS"
28599 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28600 LIBS
="$LIBS $wx_cv_libs_gtk"
28602 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28603 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28604 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28607 cat >conftest.
$ac_ext <<_ACEOF
28610 cat confdefs.h
>>conftest.
$ac_ext
28611 cat >>conftest.
$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28613 #include <gtk/gtk.h>
28618 #ifndef gtk_icon_size_lookup
28619 char *p = (char *) gtk_icon_size_lookup;
28626 rm -f conftest.
$ac_objext
28627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28628 (eval $ac_compile) 2>conftest.er1
28630 grep -v '^ *+' conftest.er1
>conftest.err
28632 cat conftest.err
>&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } &&
28635 { ac_try
='test -z "$ac_c_werror_flag"
28636 || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try
='test -s conftest.$ac_objext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28648 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28650 echo "$as_me: failed program was:" >&5
28651 sed 's/^/| /' conftest.
$ac_ext >&5
28653 ac_cv_have_decl_gtk_icon_size_lookup
=no
28655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28657 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28658 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28659 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28661 cat >>confdefs.h
<<_ACEOF
28662 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28667 cat >>confdefs.h
<<_ACEOF
28668 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28671 cat >>confdefs.h
<<\_ACEOF
28672 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28679 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28680 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28681 cat >conftest.
$ac_ext <<_ACEOF
28684 cat confdefs.h
>>conftest.
$ac_ext
28685 cat >>conftest.
$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28688 #include <gtk/gtk.h>
28694 #if !GTK_CHECK_VERSION(2,6,0)
28702 rm -f conftest.
$ac_objext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28704 (eval $ac_compile) 2>conftest.er1
28706 grep -v '^ *+' conftest.er1
>conftest.err
28708 cat conftest.err
>&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); } &&
28711 { ac_try
='test -z "$ac_c_werror_flag"
28712 || test ! -s conftest.err'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; } &&
28718 { ac_try
='test -s conftest.$ac_objext'
28719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720 (eval $ac_try) 2>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); }; }; then
28725 cat >>confdefs.h
<<\_ACEOF
28726 #define __WXGTK26__ 1
28729 cat >>confdefs.h
<<\_ACEOF
28730 #define __WXGTK24__ 1
28733 echo "$as_me:$LINENO: result: yes" >&5
28734 echo "${ECHO_T}yes" >&6
28738 echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.
$ac_ext >&5
28742 echo "$as_me:$LINENO: result: no" >&5
28743 echo "${ECHO_T}no" >&6
28747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28749 if test "$ac_wxgtk26" = 0; then
28750 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28751 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28752 cat >conftest.
$ac_ext <<_ACEOF
28755 cat confdefs.h
>>conftest.
$ac_ext
28756 cat >>conftest.
$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28759 #include <gtk/gtk.h>
28765 #if !GTK_CHECK_VERSION(2,4,0)
28773 rm -f conftest.
$ac_objext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28775 (eval $ac_compile) 2>conftest.er1
28777 grep -v '^ *+' conftest.er1
>conftest.err
28779 cat conftest.err
>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try
='test -z "$ac_c_werror_flag"
28783 || test ! -s conftest.err'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; } &&
28789 { ac_try
='test -s conftest.$ac_objext'
28790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28791 (eval $ac_try) 2>&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; }; then
28796 cat >>confdefs.h
<<\_ACEOF
28797 #define __WXGTK24__ 1
28800 echo "$as_me:$LINENO: result: yes" >&5
28801 echo "${ECHO_T}yes" >&6
28804 echo "$as_me: failed program was:" >&5
28805 sed 's/^/| /' conftest.
$ac_ext >&5
28808 echo "$as_me:$LINENO: result: no" >&5
28809 echo "${ECHO_T}no" >&6
28812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28815 CFLAGS
="$save_CFLAGS"
28818 if test "$wxUSE_UNICODE" = "yes"; then
28819 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28820 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28826 ac_cpp
='$CXXCPP $CPPFLAGS'
28827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28832 if test "$USE_DARWIN" != 1; then
28834 for ac_func
in poll
28836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28837 echo "$as_me:$LINENO: checking for $ac_func" >&5
28838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28839 if eval "test \"\${$as_ac_var+set}\" = set"; then
28840 echo $ECHO_N "(cached) $ECHO_C" >&6
28842 cat >conftest.
$ac_ext <<_ACEOF
28845 cat confdefs.h
>>conftest.
$ac_ext
28846 cat >>conftest.
$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28850 #define $ac_func innocuous_$ac_func
28852 /* System header to define __stub macros and hopefully few prototypes,
28853 which can conflict with char $ac_func (); below.
28854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28855 <limits.h> exists even on freestanding compilers. */
28858 # include <limits.h>
28860 # include <assert.h>
28865 /* Override any gcc2 internal prototype to avoid an error. */
28870 /* We use char because int might match the return type of a gcc2
28871 builtin and then its argument prototype would still apply. */
28873 /* The GNU C library defines this for functions which it implements
28874 to always fail with ENOSYS. Some functions are actually named
28875 something starting with __ and the normal name is an alias. */
28876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28879 char (*f) () = $ac_func;
28888 return f != $ac_func;
28893 rm -f conftest.
$ac_objext conftest
$ac_exeext
28894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28895 (eval $ac_link) 2>conftest.er1
28897 grep -v '^ *+' conftest.er1
>conftest.err
28899 cat conftest.err
>&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } &&
28902 { ac_try
='test -z "$ac_cxx_werror_flag"
28903 || test ! -s conftest.err'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; } &&
28909 { ac_try
='test -s conftest$ac_exeext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 eval "$as_ac_var=yes"
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.
$ac_ext >&5
28920 eval "$as_ac_var=no"
28922 rm -f conftest.err conftest.
$ac_objext \
28923 conftest
$ac_exeext conftest.
$ac_ext
28925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28927 if test `eval echo '${'$as_ac_var'}'` = yes; then
28928 cat >>confdefs.h
<<_ACEOF
28929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28937 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28938 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28940 AFMINSTALL
=afminstall
28944 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28945 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28946 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 ac_check_lib_save_LIBS
=$LIBS
28951 cat >conftest.
$ac_ext <<_ACEOF
28954 cat confdefs.h
>>conftest.
$ac_ext
28955 cat >>conftest.
$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28958 /* Override any gcc2 internal prototype to avoid an error. */
28962 /* We use char because int might match the return type of a gcc2
28963 builtin and then its argument prototype would still apply. */
28964 char gdk_im_open ();
28973 rm -f conftest.
$ac_objext conftest
$ac_exeext
28974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28975 (eval $ac_link) 2>conftest.er1
28977 grep -v '^ *+' conftest.er1
>conftest.err
28979 cat conftest.err
>&5
28980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28981 (exit $ac_status); } &&
28982 { ac_try
='test -z "$ac_cxx_werror_flag"
28983 || test ! -s conftest.err'
28984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28985 (eval $ac_try) 2>&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); }; } &&
28989 { ac_try
='test -s conftest$ac_exeext'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; }; then
28995 ac_cv_lib_gdk_gdk_im_open
=yes
28997 echo "$as_me: failed program was:" >&5
28998 sed 's/^/| /' conftest.
$ac_ext >&5
29000 ac_cv_lib_gdk_gdk_im_open
=no
29002 rm -f conftest.err conftest.
$ac_objext \
29003 conftest
$ac_exeext conftest.
$ac_ext
29004 LIBS
=$ac_check_lib_save_LIBS
29006 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29007 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29008 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29009 cat >>confdefs.h
<<\_ACEOF
29017 if test "$wxUSE_GPE" = "yes"; then
29018 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29019 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29022 for ac_dir
in $SEARCH_LIB;
29024 for ac_extension
in a so sl dylib dll.a
; do
29025 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29026 ac_find_libraries
=$ac_dir
29032 if test "$ac_find_libraries" != "" ; then
29034 if test "$ac_find_libraries" = "default location"; then
29037 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29039 if test $result = 0; then
29042 ac_path_to_link
=" -L$ac_find_libraries"
29046 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29048 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29049 echo "${ECHO_T}found in $ac_find_libraries" >&6
29051 echo "$as_me:$LINENO: result: not found" >&5
29052 echo "${ECHO_T}not found" >&6
29058 if test "$wxUSE_MGL" = 1; then
29059 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29060 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29061 if test "x$MGL_ROOT" = x
; then
29062 echo "$as_me:$LINENO: result: not found" >&5
29063 echo "${ECHO_T}not found" >&6
29064 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29065 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29066 { (exit 1); exit 1; }; }
29068 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29069 echo "${ECHO_T}$MGL_ROOT" >&6
29072 echo "$as_me:$LINENO: checking for libmgl location" >&5
29073 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29076 if test "x$wxUSE_SHARED" = xyes
; then
29077 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29079 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29083 mgl_os_candidates
="dos32/dj2"
29086 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29087 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29088 { (exit 1); exit 1; }; }
29094 for mgl_os_i
in $mgl_os_candidates ; do
29095 if test "x$mgl_os" = x
; then
29096 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29097 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29098 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29103 if test "x$mgl_lib_type" = x
; then
29104 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29105 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29106 mgl_lib_type
=release
29113 if test "x$mgl_os" = x
; then
29114 echo "$as_me:$LINENO: result: not found" >&5
29115 echo "${ECHO_T}not found" >&6
29116 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29117 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29118 { (exit 1); exit 1; }; }
29120 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29121 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29123 wxUSE_UNIVERSAL
="yes"
29125 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29126 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29128 AFMINSTALL
=afminstall
29133 if test "$wxUSE_DFB" = 1; then
29136 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29137 if test -n "$ac_tool_prefix"; then
29138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29139 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29140 echo "$as_me:$LINENO: checking for $ac_word" >&5
29141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29142 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29143 echo $ECHO_N "(cached) $ECHO_C" >&6
29145 case $PKG_CONFIG in
29147 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29151 for as_dir
in $PATH
29154 test -z "$as_dir" && as_dir
=.
29155 for ac_exec_ext
in '' $ac_executable_extensions; do
29156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29157 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29167 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29169 if test -n "$PKG_CONFIG"; then
29170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29171 echo "${ECHO_T}$PKG_CONFIG" >&6
29173 echo "$as_me:$LINENO: result: no" >&5
29174 echo "${ECHO_T}no" >&6
29178 if test -z "$ac_cv_path_PKG_CONFIG"; then
29179 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29180 # Extract the first word of "pkg-config", so it can be a program name with args.
29181 set dummy pkg
-config; ac_word
=$2
29182 echo "$as_me:$LINENO: checking for $ac_word" >&5
29183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29184 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29185 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 case $ac_pt_PKG_CONFIG in
29189 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29193 for as_dir
in $PATH
29196 test -z "$as_dir" && as_dir
=.
29197 for ac_exec_ext
in '' $ac_executable_extensions; do
29198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29199 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29209 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29211 if test -n "$ac_pt_PKG_CONFIG"; then
29212 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29213 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29215 echo "$as_me:$LINENO: result: no" >&5
29216 echo "${ECHO_T}no" >&6
29219 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29221 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29225 if test -n "$PKG_CONFIG"; then
29226 _pkg_min_version
=0.9.0
29227 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29228 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29229 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29230 echo "$as_me:$LINENO: result: yes" >&5
29231 echo "${ECHO_T}yes" >&6
29233 echo "$as_me:$LINENO: result: no" >&5
29234 echo "${ECHO_T}no" >&6
29241 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29242 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29244 if test -n "$PKG_CONFIG"; then
29245 if test -n "$DIRECTFB_CFLAGS"; then
29246 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29248 if test -n "$PKG_CONFIG" && \
29249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29250 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; then
29254 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29262 if test -n "$PKG_CONFIG"; then
29263 if test -n "$DIRECTFB_LIBS"; then
29264 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29266 if test -n "$PKG_CONFIG" && \
29267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29268 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; then
29272 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29283 if test $pkg_failed = yes; then
29285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29286 _pkg_short_errors_supported
=yes
29288 _pkg_short_errors_supported
=no
29290 if test $_pkg_short_errors_supported = yes; then
29291 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29293 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29295 # Put the nasty error message in config.log where it belongs
29296 echo "$DIRECTFB_PKG_ERRORS" >&5
29299 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29300 echo "$as_me: error: DirectFB not found." >&2;}
29301 { (exit 1); exit 1; }; }
29304 elif test $pkg_failed = untried
; then
29306 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29307 echo "$as_me: error: DirectFB not found." >&2;}
29308 { (exit 1); exit 1; }; }
29312 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29313 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29314 echo "$as_me:$LINENO: result: yes" >&5
29315 echo "${ECHO_T}yes" >&6
29317 wxUSE_UNIVERSAL
="yes"
29318 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29319 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29326 if test "$wxUSE_MICROWIN" = 1; then
29327 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29328 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29329 if test "x$MICROWINDOWS" = x
; then
29330 echo "$as_me:$LINENO: result: not found" >&5
29331 echo "${ECHO_T}not found" >&6
29332 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29333 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29334 { (exit 1); exit 1; }; }
29336 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29337 echo "${ECHO_T}$MICROWINDOWS" >&6
29340 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29341 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29342 echo "${ECHO_T}MicroWindows' libraries found." >&6
29344 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29345 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29346 { (exit 1); exit 1; }; }
29349 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29350 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29352 wxUSE_UNIVERSAL
="yes"
29354 AFMINSTALL
=afminstall
29356 GUIDIST
=MICROWIN_DIST
29358 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29361 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29362 echo "$as_me:$LINENO: checking for X" >&5
29363 echo $ECHO_N "checking for X... $ECHO_C" >&6
29366 # Check whether --with-x or --without-x was given.
29367 if test "${with_x+set}" = set; then
29371 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29372 if test "x$with_x" = xno
; then
29373 # The user explicitly disabled X.
29376 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29377 # Both variables are already set.
29380 if test "${ac_cv_have_x+set}" = set; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29383 # One or both of the vars are not set, and there is no cached value.
29384 ac_x_includes
=no ac_x_libraries
=no
29385 rm -fr conftest.dir
29386 if mkdir conftest.dir
; then
29388 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29389 cat >Imakefile
<<'_ACEOF'
29391 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29393 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29394 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29395 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29396 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29397 for ac_extension
in a so sl
; do
29398 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29399 test -f $ac_im_libdir/libX11.
$ac_extension; then
29400 ac_im_usrlibdir
=$ac_im_libdir; break
29403 # Screen out bogus values from the imake configuration. They are
29404 # bogus both because they are the default anyway, and because
29405 # using them would break gcc on systems where it needs fixed includes.
29406 case $ac_im_incroot in
29408 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29410 case $ac_im_usrlibdir in
29411 /usr
/lib
| /lib
) ;;
29412 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29416 rm -fr conftest.dir
29419 # Standard set of common directories for X headers.
29420 # Check X11 before X11Rn because it is often a symlink to the current release.
29432 /usr/local/X11/include
29433 /usr/local/X11R6/include
29434 /usr/local/X11R5/include
29435 /usr/local/X11R4/include
29437 /usr/local/include/X11
29438 /usr/local/include/X11R6
29439 /usr/local/include/X11R5
29440 /usr/local/include/X11R4
29444 /usr/XFree86/include/X11
29448 /usr/unsupported/include
29449 /usr/athena/include
29450 /usr/local/x11r5/include
29451 /usr/lpp/Xamples/include
29453 /usr/openwin/include
29454 /usr/openwin/share/include'
29456 if test "$ac_x_includes" = no
; then
29457 # Guess where to find include files, by looking for Intrinsic.h.
29458 # First, try using that file with no special directory specified.
29459 cat >conftest.
$ac_ext <<_ACEOF
29462 cat confdefs.h
>>conftest.
$ac_ext
29463 cat >>conftest.
$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465 #include <X11/Intrinsic.h>
29467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29470 grep -v '^ *+' conftest.er1
>conftest.err
29472 cat conftest.err
>&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } >/dev
/null
; then
29475 if test -s conftest.err
; then
29476 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29477 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29484 if test -z "$ac_cpp_err"; then
29485 # We can compile using X headers with no special include directory.
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.
$ac_ext >&5
29491 for ac_dir
in $ac_x_header_dirs; do
29492 if test -r "$ac_dir/X11/Intrinsic.h"; then
29493 ac_x_includes
=$ac_dir
29498 rm -f conftest.err conftest.
$ac_ext
29499 fi # $ac_x_includes = no
29501 if test "$ac_x_libraries" = no
; then
29502 # Check for the libraries.
29503 # See if we find them without any special options.
29504 # Don't add to $LIBS permanently.
29507 cat >conftest.
$ac_ext <<_ACEOF
29510 cat confdefs.h
>>conftest.
$ac_ext
29511 cat >>conftest.
$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29513 #include <X11/Intrinsic.h>
29522 rm -f conftest.
$ac_objext conftest
$ac_exeext
29523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29524 (eval $ac_link) 2>conftest.er1
29526 grep -v '^ *+' conftest.er1
>conftest.err
29528 cat conftest.err
>&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); } &&
29531 { ac_try
='test -z "$ac_cxx_werror_flag"
29532 || test ! -s conftest.err'
29533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534 (eval $ac_try) 2>&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; } &&
29538 { ac_try
='test -s conftest$ac_exeext'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; }; then
29545 # We can link X programs with no special library path.
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.
$ac_ext >&5
29552 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29554 # Don't even attempt the hair of trying to link an X program!
29555 for ac_extension
in a so sl
; do
29556 if test -r $ac_dir/libXt.
$ac_extension; then
29557 ac_x_libraries
=$ac_dir
29563 rm -f conftest.err conftest.
$ac_objext \
29564 conftest
$ac_exeext conftest.
$ac_ext
29565 fi # $ac_x_libraries = no
29567 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29568 # Didn't find X anywhere. Cache the known absence of X.
29569 ac_cv_have_x
="have_x=no"
29571 # Record where we found X for the cache.
29572 ac_cv_have_x
="have_x=yes \
29573 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29578 eval "$ac_cv_have_x"
29581 if test "$have_x" != yes; then
29582 echo "$as_me:$LINENO: result: $have_x" >&5
29583 echo "${ECHO_T}$have_x" >&6
29586 # If each of the values was on the command line, it overrides each guess.
29587 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29588 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29589 # Update the cache value to reflect the command line values.
29590 ac_cv_have_x
="have_x=yes \
29591 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29592 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29593 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29596 if test "$no_x" = yes; then
29597 # Not all programs may use this symbol, but it does not hurt to define it.
29599 cat >>confdefs.h
<<\_ACEOF
29600 #define X_DISPLAY_MISSING 1
29603 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29605 if test -n "$x_includes"; then
29606 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29609 # It would also be nice to do this for all -L options, not just this one.
29610 if test -n "$x_libraries"; then
29611 X_LIBS
="$X_LIBS -L$x_libraries"
29612 # For Solaris; some versions of Sun CC require a space after -R and
29613 # others require no space. Words are not sufficient . . . .
29614 case `(uname -sr) 2>/dev/null` in
29616 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29617 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29618 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29619 cat >conftest.
$ac_ext <<_ACEOF
29622 cat confdefs.h
>>conftest.
$ac_ext
29623 cat >>conftest.
$ac_ext <<_ACEOF
29624 /* end confdefs.h. */
29634 rm -f conftest.
$ac_objext conftest
$ac_exeext
29635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29636 (eval $ac_link) 2>conftest.er1
29638 grep -v '^ *+' conftest.er1
>conftest.err
29640 cat conftest.err
>&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); } &&
29643 { ac_try
='test -z "$ac_cxx_werror_flag"
29644 || test ! -s conftest.err'
29645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29646 (eval $ac_try) 2>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; } &&
29650 { ac_try
='test -s conftest$ac_exeext'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; }; then
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.
$ac_ext >&5
29663 rm -f conftest.err conftest.
$ac_objext \
29664 conftest
$ac_exeext conftest.
$ac_ext
29665 if test $ac_R_nospace = yes; then
29666 echo "$as_me:$LINENO: result: no" >&5
29667 echo "${ECHO_T}no" >&6
29668 X_LIBS
="$X_LIBS -R$x_libraries"
29670 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29671 cat >conftest.
$ac_ext <<_ACEOF
29674 cat confdefs.h
>>conftest.
$ac_ext
29675 cat >>conftest.
$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29686 rm -f conftest.
$ac_objext conftest
$ac_exeext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29688 (eval $ac_link) 2>conftest.er1
29690 grep -v '^ *+' conftest.er1
>conftest.err
29692 cat conftest.err
>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); } &&
29695 { ac_try
='test -z "$ac_cxx_werror_flag"
29696 || test ! -s conftest.err'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; } &&
29702 { ac_try
='test -s conftest$ac_exeext'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; }; then
29710 echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.
$ac_ext >&5
29715 rm -f conftest.err conftest.
$ac_objext \
29716 conftest
$ac_exeext conftest.
$ac_ext
29717 if test $ac_R_space = yes; then
29718 echo "$as_me:$LINENO: result: yes" >&5
29719 echo "${ECHO_T}yes" >&6
29720 X_LIBS
="$X_LIBS -R $x_libraries"
29722 echo "$as_me:$LINENO: result: neither works" >&5
29723 echo "${ECHO_T}neither works" >&6
29726 LIBS
=$ac_xsave_LIBS
29730 # Check for system-dependent libraries X programs must link with.
29731 # Do this before checking for the system-independent R6 libraries
29732 # (-lICE), since we may need -lsocket or whatever for X linking.
29734 if test "$ISC" = yes; then
29735 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29737 # Martyn Johnson says this is needed for Ultrix, if the X
29738 # libraries were built with DECnet support. And Karl Berry says
29739 # the Alpha needs dnet_stub (dnet does not exist).
29740 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29741 cat >conftest.
$ac_ext <<_ACEOF
29744 cat confdefs.h
>>conftest.
$ac_ext
29745 cat >>conftest.
$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29748 /* Override any gcc2 internal prototype to avoid an error. */
29752 /* We use char because int might match the return type of a gcc2
29753 builtin and then its argument prototype would still apply. */
29754 char XOpenDisplay ();
29763 rm -f conftest.
$ac_objext conftest
$ac_exeext
29764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29765 (eval $ac_link) 2>conftest.er1
29767 grep -v '^ *+' conftest.er1
>conftest.err
29769 cat conftest.err
>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try
='test -z "$ac_cxx_werror_flag"
29773 || test ! -s conftest.err'
29774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29775 (eval $ac_try) 2>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; } &&
29779 { ac_try
='test -s conftest$ac_exeext'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; }; then
29787 echo "$as_me: failed program was:" >&5
29788 sed 's/^/| /' conftest.
$ac_ext >&5
29790 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29791 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29792 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29793 echo $ECHO_N "(cached) $ECHO_C" >&6
29795 ac_check_lib_save_LIBS
=$LIBS
29796 LIBS
="-ldnet $LIBS"
29797 cat >conftest.
$ac_ext <<_ACEOF
29800 cat confdefs.h
>>conftest.
$ac_ext
29801 cat >>conftest.
$ac_ext <<_ACEOF
29802 /* end confdefs.h. */
29804 /* Override any gcc2 internal prototype to avoid an error. */
29808 /* We use char because int might match the return type of a gcc2
29809 builtin and then its argument prototype would still apply. */
29819 rm -f conftest.
$ac_objext conftest
$ac_exeext
29820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29821 (eval $ac_link) 2>conftest.er1
29823 grep -v '^ *+' conftest.er1
>conftest.err
29825 cat conftest.err
>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } &&
29828 { ac_try
='test -z "$ac_cxx_werror_flag"
29829 || test ! -s conftest.err'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; } &&
29835 { ac_try
='test -s conftest$ac_exeext'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; }; then
29841 ac_cv_lib_dnet_dnet_ntoa
=yes
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.
$ac_ext >&5
29846 ac_cv_lib_dnet_dnet_ntoa
=no
29848 rm -f conftest.err conftest.
$ac_objext \
29849 conftest
$ac_exeext conftest.
$ac_ext
29850 LIBS
=$ac_check_lib_save_LIBS
29852 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29853 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29854 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29855 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29858 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29859 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29860 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29861 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29862 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 ac_check_lib_save_LIBS
=$LIBS
29865 LIBS
="-ldnet_stub $LIBS"
29866 cat >conftest.
$ac_ext <<_ACEOF
29869 cat confdefs.h
>>conftest.
$ac_ext
29870 cat >>conftest.
$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29873 /* Override any gcc2 internal prototype to avoid an error. */
29877 /* We use char because int might match the return type of a gcc2
29878 builtin and then its argument prototype would still apply. */
29888 rm -f conftest.
$ac_objext conftest
$ac_exeext
29889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29890 (eval $ac_link) 2>conftest.er1
29892 grep -v '^ *+' conftest.er1
>conftest.err
29894 cat conftest.err
>&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } &&
29897 { ac_try
='test -z "$ac_cxx_werror_flag"
29898 || test ! -s conftest.err'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; } &&
29904 { ac_try
='test -s conftest$ac_exeext'
29905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29906 (eval $ac_try) 2>&5
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); }; }; then
29910 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29912 echo "$as_me: failed program was:" >&5
29913 sed 's/^/| /' conftest.
$ac_ext >&5
29915 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29917 rm -f conftest.err conftest.
$ac_objext \
29918 conftest
$ac_exeext conftest.
$ac_ext
29919 LIBS
=$ac_check_lib_save_LIBS
29921 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29922 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29923 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29924 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29929 rm -f conftest.err conftest.
$ac_objext \
29930 conftest
$ac_exeext conftest.
$ac_ext
29931 LIBS
="$ac_xsave_LIBS"
29933 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29934 # to get the SysV transport functions.
29935 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29937 # The nsl library prevents programs from opening the X display
29938 # on Irix 5.2, according to T.E. Dickey.
29939 # The functions gethostbyname, getservbyname, and inet_addr are
29940 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29941 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29942 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29943 if test "${ac_cv_func_gethostbyname+set}" = set; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 cat >conftest.
$ac_ext <<_ACEOF
29949 cat confdefs.h
>>conftest.
$ac_ext
29950 cat >>conftest.
$ac_ext <<_ACEOF
29951 /* end confdefs.h. */
29952 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29954 #define gethostbyname innocuous_gethostbyname
29956 /* System header to define __stub macros and hopefully few prototypes,
29957 which can conflict with char gethostbyname (); below.
29958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29959 <limits.h> exists even on freestanding compilers. */
29962 # include <limits.h>
29964 # include <assert.h>
29967 #undef gethostbyname
29969 /* Override any gcc2 internal prototype to avoid an error. */
29974 /* We use char because int might match the return type of a gcc2
29975 builtin and then its argument prototype would still apply. */
29976 char gethostbyname ();
29977 /* The GNU C library defines this for functions which it implements
29978 to always fail with ENOSYS. Some functions are actually named
29979 something starting with __ and the normal name is an alias. */
29980 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29983 char (*f) () = gethostbyname;
29992 return f != gethostbyname;
29997 rm -f conftest.
$ac_objext conftest
$ac_exeext
29998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29999 (eval $ac_link) 2>conftest.er1
30001 grep -v '^ *+' conftest.er1
>conftest.err
30003 cat conftest.err
>&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); } &&
30006 { ac_try
='test -z "$ac_cxx_werror_flag"
30007 || test ! -s conftest.err'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; } &&
30013 { ac_try
='test -s conftest$ac_exeext'
30014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30015 (eval $ac_try) 2>&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; }; then
30019 ac_cv_func_gethostbyname
=yes
30021 echo "$as_me: failed program was:" >&5
30022 sed 's/^/| /' conftest.
$ac_ext >&5
30024 ac_cv_func_gethostbyname
=no
30026 rm -f conftest.err conftest.
$ac_objext \
30027 conftest
$ac_exeext conftest.
$ac_ext
30029 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30030 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30032 if test $ac_cv_func_gethostbyname = no
; then
30033 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30034 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30035 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 ac_check_lib_save_LIBS
=$LIBS
30040 cat >conftest.
$ac_ext <<_ACEOF
30043 cat confdefs.h
>>conftest.
$ac_ext
30044 cat >>conftest.
$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30047 /* Override any gcc2 internal prototype to avoid an error. */
30051 /* We use char because int might match the return type of a gcc2
30052 builtin and then its argument prototype would still apply. */
30053 char gethostbyname ();
30062 rm -f conftest.
$ac_objext conftest
$ac_exeext
30063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30064 (eval $ac_link) 2>conftest.er1
30066 grep -v '^ *+' conftest.er1
>conftest.err
30068 cat conftest.err
>&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } &&
30071 { ac_try
='test -z "$ac_cxx_werror_flag"
30072 || test ! -s conftest.err'
30073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30074 (eval $ac_try) 2>&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); }; } &&
30078 { ac_try
='test -s conftest$ac_exeext'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30084 ac_cv_lib_nsl_gethostbyname
=yes
30086 echo "$as_me: failed program was:" >&5
30087 sed 's/^/| /' conftest.
$ac_ext >&5
30089 ac_cv_lib_nsl_gethostbyname
=no
30091 rm -f conftest.err conftest.
$ac_objext \
30092 conftest
$ac_exeext conftest.
$ac_ext
30093 LIBS
=$ac_check_lib_save_LIBS
30095 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30096 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30097 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30101 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30102 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30103 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30104 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30107 ac_check_lib_save_LIBS
=$LIBS
30109 cat >conftest.
$ac_ext <<_ACEOF
30112 cat confdefs.h
>>conftest.
$ac_ext
30113 cat >>conftest.
$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30116 /* Override any gcc2 internal prototype to avoid an error. */
30120 /* We use char because int might match the return type of a gcc2
30121 builtin and then its argument prototype would still apply. */
30122 char gethostbyname ();
30131 rm -f conftest.
$ac_objext conftest
$ac_exeext
30132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30133 (eval $ac_link) 2>conftest.er1
30135 grep -v '^ *+' conftest.er1
>conftest.err
30137 cat conftest.err
>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); } &&
30140 { ac_try
='test -z "$ac_cxx_werror_flag"
30141 || test ! -s conftest.err'
30142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 (eval $ac_try) 2>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; } &&
30147 { ac_try
='test -s conftest$ac_exeext'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30153 ac_cv_lib_bsd_gethostbyname
=yes
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.
$ac_ext >&5
30158 ac_cv_lib_bsd_gethostbyname
=no
30160 rm -f conftest.err conftest.
$ac_objext \
30161 conftest
$ac_exeext conftest.
$ac_ext
30162 LIBS
=$ac_check_lib_save_LIBS
30164 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30165 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30166 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30167 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30173 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30174 # socket/setsockopt and other routines are undefined under SCO ODT
30175 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30176 # on later versions), says Simon Leinen: it contains gethostby*
30177 # variants that don't use the name server (or something). -lsocket
30178 # must be given before -lnsl if both are needed. We assume that
30179 # if connect needs -lnsl, so does gethostbyname.
30180 echo "$as_me:$LINENO: checking for connect" >&5
30181 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30182 if test "${ac_cv_func_connect+set}" = set; then
30183 echo $ECHO_N "(cached) $ECHO_C" >&6
30185 cat >conftest.
$ac_ext <<_ACEOF
30188 cat confdefs.h
>>conftest.
$ac_ext
30189 cat >>conftest.
$ac_ext <<_ACEOF
30190 /* end confdefs.h. */
30191 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30193 #define connect innocuous_connect
30195 /* System header to define __stub macros and hopefully few prototypes,
30196 which can conflict with char connect (); below.
30197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30198 <limits.h> exists even on freestanding compilers. */
30201 # include <limits.h>
30203 # include <assert.h>
30208 /* Override any gcc2 internal prototype to avoid an error. */
30213 /* We use char because int might match the return type of a gcc2
30214 builtin and then its argument prototype would still apply. */
30216 /* The GNU C library defines this for functions which it implements
30217 to always fail with ENOSYS. Some functions are actually named
30218 something starting with __ and the normal name is an alias. */
30219 #if defined (__stub_connect) || defined (__stub___connect)
30222 char (*f) () = connect;
30231 return f != connect;
30236 rm -f conftest.
$ac_objext conftest
$ac_exeext
30237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30238 (eval $ac_link) 2>conftest.er1
30240 grep -v '^ *+' conftest.er1
>conftest.err
30242 cat conftest.err
>&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); } &&
30245 { ac_try
='test -z "$ac_cxx_werror_flag"
30246 || test ! -s conftest.err'
30247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30248 (eval $ac_try) 2>&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); }; } &&
30252 { ac_try
='test -s conftest$ac_exeext'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; }; then
30258 ac_cv_func_connect
=yes
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.
$ac_ext >&5
30263 ac_cv_func_connect
=no
30265 rm -f conftest.err conftest.
$ac_objext \
30266 conftest
$ac_exeext conftest.
$ac_ext
30268 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30269 echo "${ECHO_T}$ac_cv_func_connect" >&6
30271 if test $ac_cv_func_connect = no
; then
30272 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30273 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30274 if test "${ac_cv_lib_socket_connect+set}" = set; then
30275 echo $ECHO_N "(cached) $ECHO_C" >&6
30277 ac_check_lib_save_LIBS
=$LIBS
30278 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30279 cat >conftest.
$ac_ext <<_ACEOF
30282 cat confdefs.h
>>conftest.
$ac_ext
30283 cat >>conftest.
$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30286 /* Override any gcc2 internal prototype to avoid an error. */
30290 /* We use char because int might match the return type of a gcc2
30291 builtin and then its argument prototype would still apply. */
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_cxx_werror_flag"
30311 || test ! -s conftest.err'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; } &&
30317 { ac_try
='test -s conftest$ac_exeext'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; }; then
30323 ac_cv_lib_socket_connect
=yes
30325 echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.
$ac_ext >&5
30328 ac_cv_lib_socket_connect
=no
30330 rm -f conftest.err conftest.
$ac_objext \
30331 conftest
$ac_exeext conftest.
$ac_ext
30332 LIBS
=$ac_check_lib_save_LIBS
30334 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30335 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30336 if test $ac_cv_lib_socket_connect = yes; then
30337 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30342 # Guillermo Gomez says -lposix is necessary on A/UX.
30343 echo "$as_me:$LINENO: checking for remove" >&5
30344 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30345 if test "${ac_cv_func_remove+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30348 cat >conftest.
$ac_ext <<_ACEOF
30351 cat confdefs.h
>>conftest.
$ac_ext
30352 cat >>conftest.
$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30354 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30356 #define remove innocuous_remove
30358 /* System header to define __stub macros and hopefully few prototypes,
30359 which can conflict with char remove (); below.
30360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30361 <limits.h> exists even on freestanding compilers. */
30364 # include <limits.h>
30366 # include <assert.h>
30371 /* Override any gcc2 internal prototype to avoid an error. */
30376 /* We use char because int might match the return type of a gcc2
30377 builtin and then its argument prototype would still apply. */
30379 /* The GNU C library defines this for functions which it implements
30380 to always fail with ENOSYS. Some functions are actually named
30381 something starting with __ and the normal name is an alias. */
30382 #if defined (__stub_remove) || defined (__stub___remove)
30385 char (*f) () = remove;
30394 return f != remove;
30399 rm -f conftest.
$ac_objext conftest
$ac_exeext
30400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30401 (eval $ac_link) 2>conftest.er1
30403 grep -v '^ *+' conftest.er1
>conftest.err
30405 cat conftest.err
>&5
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); } &&
30408 { ac_try
='test -z "$ac_cxx_werror_flag"
30409 || test ! -s conftest.err'
30410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30411 (eval $ac_try) 2>&5
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); }; } &&
30415 { ac_try
='test -s conftest$ac_exeext'
30416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30417 (eval $ac_try) 2>&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); }; }; then
30421 ac_cv_func_remove
=yes
30423 echo "$as_me: failed program was:" >&5
30424 sed 's/^/| /' conftest.
$ac_ext >&5
30426 ac_cv_func_remove
=no
30428 rm -f conftest.err conftest.
$ac_objext \
30429 conftest
$ac_exeext conftest.
$ac_ext
30431 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30432 echo "${ECHO_T}$ac_cv_func_remove" >&6
30434 if test $ac_cv_func_remove = no
; then
30435 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30436 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30437 if test "${ac_cv_lib_posix_remove+set}" = set; then
30438 echo $ECHO_N "(cached) $ECHO_C" >&6
30440 ac_check_lib_save_LIBS
=$LIBS
30441 LIBS
="-lposix $LIBS"
30442 cat >conftest.
$ac_ext <<_ACEOF
30445 cat confdefs.h
>>conftest.
$ac_ext
30446 cat >>conftest.
$ac_ext <<_ACEOF
30447 /* end confdefs.h. */
30449 /* Override any gcc2 internal prototype to avoid an error. */
30453 /* We use char because int might match the return type of a gcc2
30454 builtin and then its argument prototype would still apply. */
30464 rm -f conftest.
$ac_objext conftest
$ac_exeext
30465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30466 (eval $ac_link) 2>conftest.er1
30468 grep -v '^ *+' conftest.er1
>conftest.err
30470 cat conftest.err
>&5
30471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472 (exit $ac_status); } &&
30473 { ac_try
='test -z "$ac_cxx_werror_flag"
30474 || test ! -s conftest.err'
30475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476 (eval $ac_try) 2>&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); }; } &&
30480 { ac_try
='test -s conftest$ac_exeext'
30481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30482 (eval $ac_try) 2>&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); }; }; then
30486 ac_cv_lib_posix_remove
=yes
30488 echo "$as_me: failed program was:" >&5
30489 sed 's/^/| /' conftest.
$ac_ext >&5
30491 ac_cv_lib_posix_remove
=no
30493 rm -f conftest.err conftest.
$ac_objext \
30494 conftest
$ac_exeext conftest.
$ac_ext
30495 LIBS
=$ac_check_lib_save_LIBS
30497 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30498 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30499 if test $ac_cv_lib_posix_remove = yes; then
30500 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30505 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30506 echo "$as_me:$LINENO: checking for shmat" >&5
30507 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30508 if test "${ac_cv_func_shmat+set}" = set; then
30509 echo $ECHO_N "(cached) $ECHO_C" >&6
30511 cat >conftest.
$ac_ext <<_ACEOF
30514 cat confdefs.h
>>conftest.
$ac_ext
30515 cat >>conftest.
$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30517 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30519 #define shmat innocuous_shmat
30521 /* System header to define __stub macros and hopefully few prototypes,
30522 which can conflict with char shmat (); below.
30523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30524 <limits.h> exists even on freestanding compilers. */
30527 # include <limits.h>
30529 # include <assert.h>
30534 /* Override any gcc2 internal prototype to avoid an error. */
30539 /* We use char because int might match the return type of a gcc2
30540 builtin and then its argument prototype would still apply. */
30542 /* The GNU C library defines this for functions which it implements
30543 to always fail with ENOSYS. Some functions are actually named
30544 something starting with __ and the normal name is an alias. */
30545 #if defined (__stub_shmat) || defined (__stub___shmat)
30548 char (*f) () = shmat;
30562 rm -f conftest.
$ac_objext conftest
$ac_exeext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30564 (eval $ac_link) 2>conftest.er1
30566 grep -v '^ *+' conftest.er1
>conftest.err
30568 cat conftest.err
>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try
='test -z "$ac_cxx_werror_flag"
30572 || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try
='test -s conftest$ac_exeext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 ac_cv_func_shmat
=yes
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.
$ac_ext >&5
30589 ac_cv_func_shmat
=no
30591 rm -f conftest.err conftest.
$ac_objext \
30592 conftest
$ac_exeext conftest.
$ac_ext
30594 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30595 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30597 if test $ac_cv_func_shmat = no
; then
30598 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30599 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30600 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30601 echo $ECHO_N "(cached) $ECHO_C" >&6
30603 ac_check_lib_save_LIBS
=$LIBS
30605 cat >conftest.
$ac_ext <<_ACEOF
30608 cat confdefs.h
>>conftest.
$ac_ext
30609 cat >>conftest.
$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30612 /* Override any gcc2 internal prototype to avoid an error. */
30616 /* We use char because int might match the return type of a gcc2
30617 builtin and then its argument prototype would still apply. */
30627 rm -f conftest.
$ac_objext conftest
$ac_exeext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30629 (eval $ac_link) 2>conftest.er1
30631 grep -v '^ *+' conftest.er1
>conftest.err
30633 cat conftest.err
>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } &&
30636 { ac_try
='test -z "$ac_cxx_werror_flag"
30637 || test ! -s conftest.err'
30638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30639 (eval $ac_try) 2>&5
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); }; } &&
30643 { ac_try
='test -s conftest$ac_exeext'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; }; then
30649 ac_cv_lib_ipc_shmat
=yes
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.
$ac_ext >&5
30654 ac_cv_lib_ipc_shmat
=no
30656 rm -f conftest.err conftest.
$ac_objext \
30657 conftest
$ac_exeext conftest.
$ac_ext
30658 LIBS
=$ac_check_lib_save_LIBS
30660 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30661 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30662 if test $ac_cv_lib_ipc_shmat = yes; then
30663 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30669 # Check for libraries that X11R6 Xt/Xaw programs need.
30670 ac_save_LDFLAGS
=$LDFLAGS
30671 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30672 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30673 # check for ICE first), but we must link in the order -lSM -lICE or
30674 # we get undefined symbols. So assume we have SM if we have ICE.
30675 # These have to be linked with before -lX11, unlike the other
30676 # libraries we check for below, so use a different variable.
30677 # John Interrante, Karl Berry
30678 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30679 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30680 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 ac_check_lib_save_LIBS
=$LIBS
30684 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30685 cat >conftest.
$ac_ext <<_ACEOF
30688 cat confdefs.h
>>conftest.
$ac_ext
30689 cat >>conftest.
$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30692 /* Override any gcc2 internal prototype to avoid an error. */
30696 /* We use char because int might match the return type of a gcc2
30697 builtin and then its argument prototype would still apply. */
30698 char IceConnectionNumber ();
30702 IceConnectionNumber ();
30707 rm -f conftest.
$ac_objext conftest
$ac_exeext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30709 (eval $ac_link) 2>conftest.er1
30711 grep -v '^ *+' conftest.er1
>conftest.err
30713 cat conftest.err
>&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); } &&
30716 { ac_try
='test -z "$ac_cxx_werror_flag"
30717 || test ! -s conftest.err'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; } &&
30723 { ac_try
='test -s conftest$ac_exeext'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; }; then
30729 ac_cv_lib_ICE_IceConnectionNumber
=yes
30731 echo "$as_me: failed program was:" >&5
30732 sed 's/^/| /' conftest.
$ac_ext >&5
30734 ac_cv_lib_ICE_IceConnectionNumber
=no
30736 rm -f conftest.err conftest.
$ac_objext \
30737 conftest
$ac_exeext conftest.
$ac_ext
30738 LIBS
=$ac_check_lib_save_LIBS
30740 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30741 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30742 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30743 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30746 LDFLAGS
=$ac_save_LDFLAGS
30751 if test "$no_x" = "yes"; then
30752 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30753 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30754 { (exit 1); exit 1; }; }
30757 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30758 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30759 AFMINSTALL
=afminstall
30760 COMPILED_X_PROGRAM
=0
30764 if test "$wxUSE_X11" = 1; then
30765 if test "$wxUSE_NANOX" = "yes"; then
30766 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30767 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30768 if test "x$MICROWIN" = x
; then
30769 echo "$as_me:$LINENO: result: not found" >&5
30770 echo "${ECHO_T}not found" >&6
30771 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30772 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30773 { (exit 1); exit 1; }; }
30775 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30776 echo "${ECHO_T}$MICROWIN" >&6
30777 cat >>confdefs.h
<<\_ACEOF
30778 #define wxUSE_NANOX 1
30784 if test "$wxUSE_UNICODE" = "yes"; then
30787 echo "$as_me:$LINENO: checking for PANGOX" >&5
30788 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30790 if test -n "$PKG_CONFIG"; then
30791 if test -n "$PANGOX_CFLAGS"; then
30792 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30794 if test -n "$PKG_CONFIG" && \
30795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30796 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); }; then
30800 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30808 if test -n "$PKG_CONFIG"; then
30809 if test -n "$PANGOX_LIBS"; then
30810 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30812 if test -n "$PKG_CONFIG" && \
30813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30814 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; then
30818 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30829 if test $pkg_failed = yes; then
30831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30832 _pkg_short_errors_supported
=yes
30834 _pkg_short_errors_supported
=no
30836 if test $_pkg_short_errors_supported = yes; then
30837 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30839 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30841 # Put the nasty error message in config.log where it belongs
30842 echo "$PANGOX_PKG_ERRORS" >&5
30845 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30846 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30847 { (exit 1); exit 1; }; }
30850 elif test $pkg_failed = untried
; then
30852 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30853 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30854 { (exit 1); exit 1; }; }
30858 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30859 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30860 echo "$as_me:$LINENO: result: yes" >&5
30861 echo "${ECHO_T}yes" >&6
30863 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30864 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30869 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30870 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30872 if test -n "$PKG_CONFIG"; then
30873 if test -n "$PANGOFT2_CFLAGS"; then
30874 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30876 if test -n "$PKG_CONFIG" && \
30877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30878 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30881 (exit $ac_status); }; then
30882 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30890 if test -n "$PKG_CONFIG"; then
30891 if test -n "$PANGOFT2_LIBS"; then
30892 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30894 if test -n "$PKG_CONFIG" && \
30895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30896 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; then
30900 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30911 if test $pkg_failed = yes; then
30913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30914 _pkg_short_errors_supported
=yes
30916 _pkg_short_errors_supported
=no
30918 if test $_pkg_short_errors_supported = yes; then
30919 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30921 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30923 # Put the nasty error message in config.log where it belongs
30924 echo "$PANGOFT2_PKG_ERRORS" >&5
30927 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30928 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30929 wxUSE_PRINTING_ARCHITECTURE
="no"
30932 elif test $pkg_failed = untried
; then
30934 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30935 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30936 wxUSE_PRINTING_ARCHITECTURE
="no"
30940 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30941 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30942 echo "$as_me:$LINENO: result: yes" >&5
30943 echo "${ECHO_T}yes" >&6
30945 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30946 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30951 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30952 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30954 if test -n "$PKG_CONFIG"; then
30955 if test -n "$PANGOXFT_CFLAGS"; then
30956 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30958 if test -n "$PKG_CONFIG" && \
30959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30960 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; then
30964 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30972 if test -n "$PKG_CONFIG"; then
30973 if test -n "$PANGOXFT_LIBS"; then
30974 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30976 if test -n "$PKG_CONFIG" && \
30977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30978 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; then
30982 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30993 if test $pkg_failed = yes; then
30995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30996 _pkg_short_errors_supported
=yes
30998 _pkg_short_errors_supported
=no
31000 if test $_pkg_short_errors_supported = yes; then
31001 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31003 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31005 # Put the nasty error message in config.log where it belongs
31006 echo "$PANGOXFT_PKG_ERRORS" >&5
31009 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31010 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31013 elif test $pkg_failed = untried
; then
31015 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31016 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31020 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31021 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31022 echo "$as_me:$LINENO: result: yes" >&5
31023 echo "${ECHO_T}yes" >&6
31025 cat >>confdefs.h
<<\_ACEOF
31026 #define HAVE_PANGO_XFT 1
31029 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31030 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31033 save_CXXFLAGS
="$CXXFLAGS"
31035 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31036 LIBS
="$LIBS $PANGOX_LIBS"
31038 for ac_func
in pango_font_family_is_monospace
31040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31041 echo "$as_me:$LINENO: checking for $ac_func" >&5
31042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31043 if eval "test \"\${$as_ac_var+set}\" = set"; then
31044 echo $ECHO_N "(cached) $ECHO_C" >&6
31046 cat >conftest.
$ac_ext <<_ACEOF
31049 cat confdefs.h
>>conftest.
$ac_ext
31050 cat >>conftest.
$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31054 #define $ac_func innocuous_$ac_func
31056 /* System header to define __stub macros and hopefully few prototypes,
31057 which can conflict with char $ac_func (); below.
31058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31059 <limits.h> exists even on freestanding compilers. */
31062 # include <limits.h>
31064 # include <assert.h>
31069 /* Override any gcc2 internal prototype to avoid an error. */
31074 /* We use char because int might match the return type of a gcc2
31075 builtin and then its argument prototype would still apply. */
31077 /* The GNU C library defines this for functions which it implements
31078 to always fail with ENOSYS. Some functions are actually named
31079 something starting with __ and the normal name is an alias. */
31080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31083 char (*f) () = $ac_func;
31092 return f != $ac_func;
31097 rm -f conftest.
$ac_objext conftest
$ac_exeext
31098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31099 (eval $ac_link) 2>conftest.er1
31101 grep -v '^ *+' conftest.er1
>conftest.err
31103 cat conftest.err
>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } &&
31106 { ac_try
='test -z "$ac_cxx_werror_flag"
31107 || test ! -s conftest.err'
31108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109 (eval $ac_try) 2>&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); }; } &&
31113 { ac_try
='test -s conftest$ac_exeext'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; }; then
31119 eval "$as_ac_var=yes"
31121 echo "$as_me: failed program was:" >&5
31122 sed 's/^/| /' conftest.
$ac_ext >&5
31124 eval "$as_ac_var=no"
31126 rm -f conftest.err conftest.
$ac_objext \
31127 conftest
$ac_exeext conftest.
$ac_ext
31129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31131 if test `eval echo '${'$as_ac_var'}'` = yes; then
31132 cat >>confdefs.h
<<_ACEOF
31133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31139 CXXFLAGS
="$save_CXXFLAGS"
31143 wxUSE_UNIVERSAL
="yes"
31145 if test "$wxUSE_NANOX" = "yes"; then
31146 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31147 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"
31148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31150 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31157 if test "$wxUSE_MOTIF" = 1; then
31158 if test "$wxUSE_UNICODE" = "yes"; then
31159 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31160 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31161 { (exit 1); exit 1; }; }
31164 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31165 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31168 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31170 if test -f "$ac_dir/Xm/Xm.h"; then
31171 ac_find_includes
=$ac_dir
31176 if test "$ac_find_includes" != "" ; then
31177 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31178 echo "${ECHO_T}found in $ac_find_includes" >&6
31180 if test "x$ac_find_includes" = "x/usr/include"; then
31181 ac_path_to_include
=""
31183 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31185 if test $result = 0; then
31186 ac_path_to_include
=""
31188 ac_path_to_include
=" -I$ac_find_includes"
31192 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31194 save_CXXFLAGS
=$CXXFLAGS
31195 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31197 cat >conftest.
$ac_ext <<_ACEOF
31200 cat confdefs.h
>>conftest.
$ac_ext
31201 cat >>conftest.
$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31211 version = xmUseVersion;
31217 rm -f conftest.
$ac_objext
31218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31219 (eval $ac_compile) 2>conftest.er1
31221 grep -v '^ *+' conftest.er1
>conftest.err
31223 cat conftest.err
>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); } &&
31226 { ac_try
='test -z "$ac_cxx_werror_flag"
31227 || test ! -s conftest.err'
31228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31229 (eval $ac_try) 2>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); }; } &&
31233 { ac_try
='test -s conftest.$ac_objext'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; }; then
31240 echo "$as_me:$LINENO: result: found in default search path" >&5
31241 echo "${ECHO_T}found in default search path" >&6
31242 COMPILED_X_PROGRAM
=1
31245 echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.
$ac_ext >&5
31249 echo "$as_me:$LINENO: result: no" >&5
31250 echo "${ECHO_T}no" >&6
31251 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31252 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31253 { (exit 1); exit 1; }; }
31257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31259 CXXFLAGS
=$save_CXXFLAGS
31263 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31264 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31267 for ac_dir
in $SEARCH_LIB;
31269 for ac_extension
in a so sl dylib dll.a
; do
31270 if test -f "$ac_dir/libXm.$ac_extension"; then
31271 ac_find_libraries
=$ac_dir
31278 if test "x$ac_find_libraries" != "x" ; then
31279 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31280 echo "${ECHO_T}found in $ac_find_libraries" >&6
31283 if test "$ac_find_libraries" = "default location"; then
31286 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31288 if test $result = 0; then
31291 ac_path_to_link
=" -L$ac_find_libraries"
31295 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31297 save_CXXFLAGS
=$CXXFLAGS
31298 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31300 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31302 cat >conftest.
$ac_ext <<_ACEOF
31305 cat confdefs.h
>>conftest.
$ac_ext
31306 cat >>conftest.
$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31316 version = xmUseVersion;
31322 rm -f conftest.
$ac_objext conftest
$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31326 grep -v '^ *+' conftest.er1
>conftest.err
31328 cat conftest.err
>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try
='test -z "$ac_cxx_werror_flag"
31332 || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try
='test -s conftest$ac_exeext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31345 echo "$as_me:$LINENO: result: found in default search path" >&5
31346 echo "${ECHO_T}found in default search path" >&6
31347 COMPILED_X_PROGRAM
=1
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.
$ac_ext >&5
31354 echo "$as_me:$LINENO: result: no" >&5
31355 echo "${ECHO_T}no" >&6
31356 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31357 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31358 { (exit 1); exit 1; }; }
31362 rm -f conftest.err conftest.
$ac_objext \
31363 conftest
$ac_exeext conftest.
$ac_ext
31365 CXXFLAGS
=$save_CXXFLAGS
31369 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31370 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31374 for libp
in "" " -lXp"; do
31375 if test "$libs_found" = "0"; then
31376 for libsm_ice
in "" " -lSM -lICE"; do
31377 if test "$libs_found" = "0"; then
31379 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31380 save_CXXFLAGS
=$CXXFLAGS
31381 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31383 cat >conftest.
$ac_ext <<_ACEOF
31386 cat confdefs.h
>>conftest.
$ac_ext
31387 cat >>conftest.
$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31391 #include <Xm/List.h>
31397 XmString string = NULL;
31400 XmListAddItem(w, string, position);
31406 rm -f conftest.
$ac_objext conftest
$ac_exeext
31407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31408 (eval $ac_link) 2>conftest.er1
31410 grep -v '^ *+' conftest.er1
>conftest.err
31412 cat conftest.err
>&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); } &&
31415 { ac_try
='test -z "$ac_cxx_werror_flag"
31416 || test ! -s conftest.err'
31417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31418 (eval $ac_try) 2>&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; } &&
31422 { ac_try
='test -s conftest$ac_exeext'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; }; then
31430 libsm_ice_link
="$libsm_ice"
31431 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31432 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.
$ac_ext >&5
31442 rm -f conftest.err conftest.
$ac_objext \
31443 conftest
$ac_exeext conftest.
$ac_ext
31446 CXXFLAGS
=$save_CXXFLAGS
31452 if test "$libs_found" = "0"; then
31453 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31454 echo "${ECHO_T}can't find the right libraries" >&6
31455 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31456 echo "$as_me: error: can't link a simple motif program" >&2;}
31457 { (exit 1); exit 1; }; }
31460 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31461 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31462 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 ac_check_lib_save_LIBS
=$LIBS
31467 cat >conftest.
$ac_ext <<_ACEOF
31470 cat confdefs.h
>>conftest.
$ac_ext
31471 cat >>conftest.
$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31474 /* Override any gcc2 internal prototype to avoid an error. */
31478 /* We use char because int might match the return type of a gcc2
31479 builtin and then its argument prototype would still apply. */
31480 char SgCreateList ();
31489 rm -f conftest.
$ac_objext conftest
$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491 (eval $ac_link) 2>conftest.er1
31493 grep -v '^ *+' conftest.er1
>conftest.err
31495 cat conftest.err
>&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } &&
31498 { ac_try
='test -z "$ac_cxx_werror_flag"
31499 || test ! -s conftest.err'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; } &&
31505 { ac_try
='test -s conftest$ac_exeext'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; }; then
31511 ac_cv_lib_Sgm_SgCreateList
=yes
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.
$ac_ext >&5
31516 ac_cv_lib_Sgm_SgCreateList
=no
31518 rm -f conftest.err conftest.
$ac_objext \
31519 conftest
$ac_exeext conftest.
$ac_ext
31520 LIBS
=$ac_check_lib_save_LIBS
31522 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31523 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31524 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31525 libsgm_link
=" -lSgm"
31529 save_CXXFLAGS
=$CXXFLAGS
31530 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31532 echo "$as_me:$LINENO: checking for Motif 2" >&5
31533 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31534 if test "${wx_cv_lib_motif2+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31537 cat >conftest.
$ac_ext <<_ACEOF
31540 cat confdefs.h
>>conftest.
$ac_ext
31541 cat >>conftest.
$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31550 #if XmVersion < 2000
31558 rm -f conftest.
$ac_objext
31559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31560 (eval $ac_compile) 2>conftest.er1
31562 grep -v '^ *+' conftest.er1
>conftest.err
31564 cat conftest.err
>&5
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); } &&
31567 { ac_try
='test -z "$ac_cxx_werror_flag"
31568 || test ! -s conftest.err'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; } &&
31574 { ac_try
='test -s conftest.$ac_objext'
31575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31576 (eval $ac_try) 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; }; then
31580 wx_cv_lib_motif2
="yes"
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.
$ac_ext >&5
31585 wx_cv_lib_motif2
="no"
31587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31589 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31590 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31591 if test "$wx_cv_lib_motif2" = "yes"; then
31592 cat >>confdefs.h
<<\_ACEOF
31593 #define __WXMOTIF20__ 1
31597 cat >>confdefs.h
<<\_ACEOF
31598 #define __WXMOTIF20__ 0
31603 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31604 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31605 if test "${wx_cv_lib_lesstif+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 cat >conftest.
$ac_ext <<_ACEOF
31611 cat confdefs.h
>>conftest.
$ac_ext
31612 cat >>conftest.
$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31621 #if !defined(LesstifVersion) || LesstifVersion <= 0
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"
31639 || test ! -s conftest.err'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; } &&
31645 { ac_try
='test -s conftest.$ac_objext'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; }; then
31651 wx_cv_lib_lesstif
="yes"
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.
$ac_ext >&5
31656 wx_cv_lib_lesstif
="no"
31658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31661 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31662 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31663 if test "$wx_cv_lib_lesstif" = "yes"; then
31664 cat >>confdefs.h
<<\_ACEOF
31665 #define __WXLESSTIF__ 1
31669 cat >>confdefs.h
<<\_ACEOF
31670 #define __WXLESSTIF__ 0
31675 CXXFLAGS
=$save_CXXFLAGS
31677 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31682 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31683 if test "$wxUSE_LIBXPM" = "sys"; then
31684 echo "$as_me:$LINENO: checking for Xpm library" >&5
31685 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31688 for ac_dir
in $SEARCH_LIB;
31690 for ac_extension
in a so sl dylib dll.a
; do
31691 if test -f "$ac_dir/libXpm.$ac_extension"; then
31692 ac_find_libraries
=$ac_dir
31698 if test "$ac_find_libraries" != "" ; then
31700 if test "$ac_find_libraries" = "default location"; then
31703 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31705 if test $result = 0; then
31708 ac_path_to_link
=" -L$ac_find_libraries"
31712 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31713 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31714 echo "${ECHO_T}found in $ac_find_libraries" >&6
31716 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31717 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31718 if test "${wx_cv_x11_xpm_h+set}" = set; then
31719 echo $ECHO_N "(cached) $ECHO_C" >&6
31722 save_CXXFLAGS
=$CXXFLAGS
31723 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31725 cat >conftest.
$ac_ext <<_ACEOF
31728 cat confdefs.h
>>conftest.
$ac_ext
31729 cat >>conftest.
$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31732 #include <X11/xpm.h>
31739 version = XpmLibraryVersion();
31745 rm -f conftest.
$ac_objext
31746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31747 (eval $ac_compile) 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); } &&
31754 { ac_try
='test -z "$ac_cxx_werror_flag"
31755 || test ! -s conftest.err'
31756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31757 (eval $ac_try) 2>&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; } &&
31761 { ac_try
='test -s conftest.$ac_objext'
31762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31763 (eval $ac_try) 2>&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); }; }; then
31767 wx_cv_x11_xpm_h
=yes
31769 echo "$as_me: failed program was:" >&5
31770 sed 's/^/| /' conftest.
$ac_ext >&5
31775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31777 CXXFLAGS
=$save_CXXFLAGS
31781 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31782 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31784 if test $wx_cv_x11_xpm_h = "yes"; then
31785 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31786 cat >>confdefs.h
<<\_ACEOF
31787 #define wxHAVE_LIB_XPM 1
31791 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31792 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31798 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31799 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31800 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31801 echo $ECHO_N "(cached) $ECHO_C" >&6
31803 ac_check_lib_save_LIBS
=$LIBS
31804 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31805 cat >conftest.
$ac_ext <<_ACEOF
31808 cat confdefs.h
>>conftest.
$ac_ext
31809 cat >>conftest.
$ac_ext <<_ACEOF
31810 /* end confdefs.h. */
31812 /* Override any gcc2 internal prototype to avoid an error. */
31816 /* We use char because int might match the return type of a gcc2
31817 builtin and then its argument prototype would still apply. */
31818 char XShapeQueryExtension ();
31822 XShapeQueryExtension ();
31827 rm -f conftest.
$ac_objext conftest
$ac_exeext
31828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31829 (eval $ac_link) 2>conftest.er1
31831 grep -v '^ *+' conftest.er1
>conftest.err
31833 cat conftest.err
>&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } &&
31836 { ac_try
='test -z "$ac_cxx_werror_flag"
31837 || test ! -s conftest.err'
31838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31839 (eval $ac_try) 2>&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); }; } &&
31843 { ac_try
='test -s conftest$ac_exeext'
31844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845 (eval $ac_try) 2>&5
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; }; then
31849 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31851 echo "$as_me: failed program was:" >&5
31852 sed 's/^/| /' conftest.
$ac_ext >&5
31854 ac_cv_lib_Xext_XShapeQueryExtension
=no
31856 rm -f conftest.err conftest.
$ac_objext \
31857 conftest
$ac_exeext conftest.
$ac_ext
31858 LIBS
=$ac_check_lib_save_LIBS
31860 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31861 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31862 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31864 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31870 if test "$wxHAVE_XEXT_LIB" = 1; then
31871 save_CXXFLAGS
="$CXXFLAGS"
31872 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31874 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31875 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31876 cat >conftest.
$ac_ext <<_ACEOF
31879 cat confdefs.h
>>conftest.
$ac_ext
31880 cat >>conftest.
$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31883 #include <X11/Xlib.h>
31884 #include <X11/extensions/shape.h>
31890 int dummy1, dummy2;
31891 XShapeQueryExtension((Display*)NULL,
31892 (int*)NULL, (int*)NULL);
31898 rm -f conftest.
$ac_objext
31899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31900 (eval $ac_compile) 2>conftest.er1
31902 grep -v '^ *+' conftest.er1
>conftest.err
31904 cat conftest.err
>&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try
='test -z "$ac_cxx_werror_flag"
31908 || test ! -s conftest.err'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; } &&
31914 { ac_try
='test -s conftest.$ac_objext'
31915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916 (eval $ac_try) 2>&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; }; then
31921 cat >>confdefs.h
<<\_ACEOF
31922 #define HAVE_XSHAPE 1
31925 echo "$as_me:$LINENO: result: found" >&5
31926 echo "${ECHO_T}found" >&6
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.
$ac_ext >&5
31933 echo "$as_me:$LINENO: result: not found" >&5
31934 echo "${ECHO_T}not found" >&6
31937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31938 CXXFLAGS
="$save_CXXFLAGS"
31943 if test "$wxUSE_MAC" = 1; then
31944 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31945 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31946 if test "$GCC" = yes; then
31947 echo "$as_me:$LINENO: result: gcc" >&5
31948 echo "${ECHO_T}gcc" >&6
31949 CPPFLAGS_PASCAL
="-fpascal-strings"
31950 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31951 echo "$as_me:$LINENO: result: xlc" >&5
31952 echo "${ECHO_T}xlc" >&6
31953 CPPFLAGS_PASCAL
="-qmacpstr"
31955 echo "$as_me:$LINENO: result: none" >&5
31956 echo "${ECHO_T}none" >&6
31959 if test "x$wxUSE_UNIX" = "xyes"; then
31960 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31962 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31967 WXBASEPORT
="_carbon"
31970 if test "$wxUSE_COCOA" = 1; then
31975 if test "$wxUSE_PM" = 1; then
31978 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31979 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31980 if test "${wx_cv_spbcdata+set}" = set; then
31981 echo $ECHO_N "(cached) $ECHO_C" >&6
31984 cat >conftest.
$ac_ext <<_ACEOF
31987 cat confdefs.h
>>conftest.
$ac_ext
31988 cat >>conftest.
$ac_ext <<_ACEOF
31989 /* end confdefs.h. */
32004 rm -f conftest.
$ac_objext
32005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32006 (eval $ac_compile) 2>conftest.er1
32008 grep -v '^ *+' conftest.er1
>conftest.err
32010 cat conftest.err
>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); } &&
32013 { ac_try
='test -z "$ac_cxx_werror_flag"
32014 || test ! -s conftest.err'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; } &&
32020 { ac_try
='test -s conftest.$ac_objext'
32021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 (eval $ac_try) 2>&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); }; }; then
32028 echo "$as_me: failed program was:" >&5
32029 sed 's/^/| /' conftest.
$ac_ext >&5
32034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32038 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32039 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32041 if test $wx_cv_spbcdata = "yes"; then
32042 cat >>confdefs.h
<<\_ACEOF
32043 #define HAVE_SPBCDATA 1
32049 if test "$TOOLKIT" = "PM" ; then
32052 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32055 if test "$wxUSE_UNIVERSAL" = "yes"; then
32056 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32060 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32061 DISTDIR
="wx\$(TOOLKIT)"
32067 if test "$USE_WIN32" = 1 ; then
32071 GUIDIST
="BASE_DIST"
32076 if test "$wxUSE_GUI" = "yes"; then
32077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32079 for ac_header
in X
11/Xlib.h
32081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32083 echo "$as_me:$LINENO: checking for $ac_header" >&5
32084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32086 echo $ECHO_N "(cached) $ECHO_C" >&6
32088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32091 # Is the header compilable?
32092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32094 cat >conftest.
$ac_ext <<_ACEOF
32097 cat confdefs.h
>>conftest.
$ac_ext
32098 cat >>conftest.
$ac_ext <<_ACEOF
32099 /* end confdefs.h. */
32100 $ac_includes_default
32101 #include <$ac_header>
32103 rm -f conftest.
$ac_objext
32104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32105 (eval $ac_compile) 2>conftest.er1
32107 grep -v '^ *+' conftest.er1
>conftest.err
32109 cat conftest.err
>&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); } &&
32112 { ac_try
='test -z "$ac_cxx_werror_flag"
32113 || test ! -s conftest.err'
32114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32115 (eval $ac_try) 2>&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); }; } &&
32119 { ac_try
='test -s conftest.$ac_objext'
32120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121 (eval $ac_try) 2>&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; }; then
32125 ac_header_compiler
=yes
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.
$ac_ext >&5
32130 ac_header_compiler
=no
32132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32134 echo "${ECHO_T}$ac_header_compiler" >&6
32136 # Is the header present?
32137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32139 cat >conftest.
$ac_ext <<_ACEOF
32142 cat confdefs.h
>>conftest.
$ac_ext
32143 cat >>conftest.
$ac_ext <<_ACEOF
32144 /* end confdefs.h. */
32145 #include <$ac_header>
32147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32150 grep -v '^ *+' conftest.er1
>conftest.err
32152 cat conftest.err
>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } >/dev
/null
; then
32155 if test -s conftest.err
; then
32156 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32157 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32164 if test -z "$ac_cpp_err"; then
32165 ac_header_preproc
=yes
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.
$ac_ext >&5
32170 ac_header_preproc
=no
32172 rm -f conftest.err conftest.
$ac_ext
32173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32174 echo "${ECHO_T}$ac_header_preproc" >&6
32176 # So? What about this header?
32177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32183 ac_header_preproc
=yes
32186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32200 ## ----------------------------------------- ##
32201 ## Report this to wx-dev@lists.wxwidgets.org ##
32202 ## ----------------------------------------- ##
32205 sed "s/^/$as_me: WARNING: /" >&2
32208 echo "$as_me:$LINENO: checking for $ac_header" >&5
32209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32211 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 eval "$as_ac_Header=\$ac_header_preproc"
32215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32220 cat >>confdefs.h
<<_ACEOF
32221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32229 for ac_header
in X
11/XKBlib.h
32231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32232 echo "$as_me:$LINENO: checking for $ac_header" >&5
32233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 cat >conftest.
$ac_ext <<_ACEOF
32240 cat confdefs.h
>>conftest.
$ac_ext
32241 cat >>conftest.
$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32244 #if HAVE_X11_XLIB_H
32245 #include <X11/Xlib.h>
32249 #include <$ac_header>
32251 rm -f conftest.
$ac_objext
32252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32253 (eval $ac_compile) 2>conftest.er1
32255 grep -v '^ *+' conftest.er1
>conftest.err
32257 cat conftest.err
>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); } &&
32260 { ac_try
='test -z "$ac_cxx_werror_flag"
32261 || test ! -s conftest.err'
32262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32263 (eval $ac_try) 2>&5
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); }; } &&
32267 { ac_try
='test -s conftest.$ac_objext'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 eval "$as_ac_Header=yes"
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.
$ac_ext >&5
32278 eval "$as_ac_Header=no"
32280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32285 cat >>confdefs.h
<<_ACEOF
32286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32301 if test "$TOOLKIT" != "MSW" ; then
32303 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32305 if test "${ac_cv_header_sql_h+set}" = set; then
32306 echo "$as_me:$LINENO: checking for sql.h" >&5
32307 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32308 if test "${ac_cv_header_sql_h+set}" = set; then
32309 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32312 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32314 # Is the header compilable?
32315 echo "$as_me:$LINENO: checking sql.h usability" >&5
32316 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32317 cat >conftest.
$ac_ext <<_ACEOF
32320 cat confdefs.h
>>conftest.
$ac_ext
32321 cat >>conftest.
$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32323 $ac_includes_default
32326 rm -f conftest.
$ac_objext
32327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32328 (eval $ac_compile) 2>conftest.er1
32330 grep -v '^ *+' conftest.er1
>conftest.err
32332 cat conftest.err
>&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } &&
32335 { ac_try
='test -z "$ac_cxx_werror_flag"
32336 || test ! -s conftest.err'
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); }; } &&
32342 { ac_try
='test -s conftest.$ac_objext'
32343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32344 (eval $ac_try) 2>&5
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); }; }; then
32348 ac_header_compiler
=yes
32350 echo "$as_me: failed program was:" >&5
32351 sed 's/^/| /' conftest.
$ac_ext >&5
32353 ac_header_compiler
=no
32355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32357 echo "${ECHO_T}$ac_header_compiler" >&6
32359 # Is the header present?
32360 echo "$as_me:$LINENO: checking sql.h presence" >&5
32361 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32362 cat >conftest.
$ac_ext <<_ACEOF
32365 cat confdefs.h
>>conftest.
$ac_ext
32366 cat >>conftest.
$ac_ext <<_ACEOF
32367 /* end confdefs.h. */
32370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32373 grep -v '^ *+' conftest.er1
>conftest.err
32375 cat conftest.err
>&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); } >/dev
/null
; then
32378 if test -s conftest.err
; then
32379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32387 if test -z "$ac_cpp_err"; then
32388 ac_header_preproc
=yes
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.
$ac_ext >&5
32393 ac_header_preproc
=no
32395 rm -f conftest.err conftest.
$ac_ext
32396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32397 echo "${ECHO_T}$ac_header_preproc" >&6
32399 # So? What about this header?
32400 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32402 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32403 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32405 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32406 ac_header_preproc
=yes
32409 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32410 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32411 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32412 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32414 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32415 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32416 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32417 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32418 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32419 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32420 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32423 ## ----------------------------------------- ##
32424 ## Report this to wx-dev@lists.wxwidgets.org ##
32425 ## ----------------------------------------- ##
32428 sed "s/^/$as_me: WARNING: /" >&2
32431 echo "$as_me:$LINENO: checking for sql.h" >&5
32432 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32433 if test "${ac_cv_header_sql_h+set}" = set; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32436 ac_cv_header_sql_h
=$ac_header_preproc
32438 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32439 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32442 if test $ac_cv_header_sql_h = yes; then
32447 if test "x$found_sql_h" = "x1" ; then
32448 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32449 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32450 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32451 echo $ECHO_N "(cached) $ECHO_C" >&6
32453 ac_check_lib_save_LIBS
=$LIBS
32454 LIBS
="-liodbc $LIBS"
32455 cat >conftest.
$ac_ext <<_ACEOF
32458 cat confdefs.h
>>conftest.
$ac_ext
32459 cat >>conftest.
$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32462 /* Override any gcc2 internal prototype to avoid an error. */
32466 /* We use char because int might match the return type of a gcc2
32467 builtin and then its argument prototype would still apply. */
32468 char SQLAllocEnv ();
32477 rm -f conftest.
$ac_objext conftest
$ac_exeext
32478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32479 (eval $ac_link) 2>conftest.er1
32481 grep -v '^ *+' conftest.er1
>conftest.err
32483 cat conftest.err
>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try
='test -z "$ac_cxx_werror_flag"
32487 || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try
='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.
$ac_ext >&5
32504 ac_cv_lib_iodbc_SQLAllocEnv
=no
32506 rm -f conftest.err conftest.
$ac_objext \
32507 conftest
$ac_exeext conftest.
$ac_ext
32508 LIBS
=$ac_check_lib_save_LIBS
32510 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32511 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32512 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32513 ODBC_LINK
=" -liodbc"
32516 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32517 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32518 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32519 echo $ECHO_N "(cached) $ECHO_C" >&6
32521 ac_check_lib_save_LIBS
=$LIBS
32522 LIBS
="-lunixodbc $LIBS"
32523 cat >conftest.
$ac_ext <<_ACEOF
32526 cat confdefs.h
>>conftest.
$ac_ext
32527 cat >>conftest.
$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32530 /* Override any gcc2 internal prototype to avoid an error. */
32534 /* We use char because int might match the return type of a gcc2
32535 builtin and then its argument prototype would still apply. */
32536 char SQLAllocEnv ();
32545 rm -f conftest.
$ac_objext conftest
$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>conftest.er1
32549 grep -v '^ *+' conftest.er1
>conftest.err
32551 cat conftest.err
>&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } &&
32554 { ac_try
='test -z "$ac_cxx_werror_flag"
32555 || test ! -s conftest.err'
32556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32557 (eval $ac_try) 2>&5
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); }; } &&
32561 { ac_try
='test -s conftest$ac_exeext'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }; then
32567 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.
$ac_ext >&5
32572 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32574 rm -f conftest.err conftest.
$ac_objext \
32575 conftest
$ac_exeext conftest.
$ac_ext
32576 LIBS
=$ac_check_lib_save_LIBS
32578 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32579 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32580 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32581 ODBC_LINK
=" -lunixodbc"
32584 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32585 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32586 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32589 ac_check_lib_save_LIBS
=$LIBS
32590 LIBS
="-lodbc $LIBS"
32591 cat >conftest.
$ac_ext <<_ACEOF
32594 cat confdefs.h
>>conftest.
$ac_ext
32595 cat >>conftest.
$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32598 /* Override any gcc2 internal prototype to avoid an error. */
32602 /* We use char because int might match the return type of a gcc2
32603 builtin and then its argument prototype would still apply. */
32604 char SQLAllocEnv ();
32613 rm -f conftest.
$ac_objext conftest
$ac_exeext
32614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32615 (eval $ac_link) 2>conftest.er1
32617 grep -v '^ *+' conftest.er1
>conftest.err
32619 cat conftest.err
>&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); } &&
32622 { ac_try
='test -z "$ac_cxx_werror_flag"
32623 || test ! -s conftest.err'
32624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32625 (eval $ac_try) 2>&5
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); }; } &&
32629 { ac_try
='test -s conftest$ac_exeext'
32630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32631 (eval $ac_try) 2>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); }; }; then
32635 ac_cv_lib_odbc_SQLAllocEnv
=yes
32637 echo "$as_me: failed program was:" >&5
32638 sed 's/^/| /' conftest.
$ac_ext >&5
32640 ac_cv_lib_odbc_SQLAllocEnv
=no
32642 rm -f conftest.err conftest.
$ac_objext \
32643 conftest
$ac_exeext conftest.
$ac_ext
32644 LIBS
=$ac_check_lib_save_LIBS
32646 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32647 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32648 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32649 ODBC_LINK
=" -lodbc"
32659 if test "x$ODBC_LINK" = "x" ; then
32660 if test "$wxUSE_ODBC" = "sys" ; then
32661 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32662 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32663 { (exit 1); exit 1; }; }
32665 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32666 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32674 if test "$wxUSE_ODBC" = "builtin" ; then
32675 cat >>confdefs.h
<<\_ACEOF
32676 #define wxUSE_BUILTIN_IODBC 1
32682 if test "$wxUSE_ODBC" != "no" ; then
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define wxUSE_ODBC 1
32687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32689 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32693 if test "$wxUSE_DISPLAY" = "yes"; then
32694 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32695 echo "$as_me:$LINENO: checking for Xinerama" >&5
32696 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32699 for ac_dir
in $SEARCH_LIB;
32701 for ac_extension
in a so sl dylib dll.a
; do
32702 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32703 ac_find_libraries
=$ac_dir
32709 if test "$ac_find_libraries" != "" ; then
32711 if test "$ac_find_libraries" = "default location"; then
32714 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32716 if test $result = 0; then
32719 ac_path_to_link
=" -L$ac_find_libraries"
32723 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32724 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32726 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32727 echo "$as_me:$LINENO: result: yes" >&5
32728 echo "${ECHO_T}yes" >&6
32730 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32731 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32734 for ac_dir
in $SEARCH_LIB;
32736 for ac_extension
in a so sl dylib dll.a
; do
32737 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32738 ac_find_libraries
=$ac_dir
32744 if test "$ac_find_libraries" != "" ; then
32745 echo "$as_me:$LINENO: result: yes" >&5
32746 echo "${ECHO_T}yes" >&6
32748 for ac_header
in X
11/extensions
/xf86vmode.h
32750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32751 echo "$as_me:$LINENO: checking for $ac_header" >&5
32752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32756 cat >conftest.
$ac_ext <<_ACEOF
32759 cat confdefs.h
>>conftest.
$ac_ext
32760 cat >>conftest.
$ac_ext <<_ACEOF
32761 /* end confdefs.h. */
32763 #if HAVE_X11_XLIB_H
32764 #include <X11/Xlib.h>
32768 #include <$ac_header>
32770 rm -f conftest.
$ac_objext
32771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32772 (eval $ac_compile) 2>conftest.er1
32774 grep -v '^ *+' conftest.er1
>conftest.err
32776 cat conftest.err
>&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); } &&
32779 { ac_try
='test -z "$ac_cxx_werror_flag"
32780 || test ! -s conftest.err'
32781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32782 (eval $ac_try) 2>&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); }; } &&
32786 { ac_try
='test -s conftest.$ac_objext'
32787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32788 (eval $ac_try) 2>&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); }; }; then
32792 eval "$as_ac_Header=yes"
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.
$ac_ext >&5
32797 eval "$as_ac_Header=no"
32799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32804 cat >>confdefs.h
<<_ACEOF
32805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32815 echo "$as_me:$LINENO: result: no" >&5
32816 echo "${ECHO_T}no" >&6
32820 echo "$as_me:$LINENO: result: no" >&5
32821 echo "${ECHO_T}no" >&6
32822 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32823 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32826 elif test "$wxUSE_MSW" = 1; then
32828 for ac_header
in ddraw.h
32830 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32831 echo "$as_me:$LINENO: checking for $ac_header" >&5
32832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32834 echo $ECHO_N "(cached) $ECHO_C" >&6
32836 cat >conftest.
$ac_ext <<_ACEOF
32839 cat confdefs.h
>>conftest.
$ac_ext
32840 cat >>conftest.
$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842 #include <windows.h>
32844 #include <$ac_header>
32846 rm -f conftest.
$ac_objext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32848 (eval $ac_compile) 2>conftest.er1
32850 grep -v '^ *+' conftest.er1
>conftest.err
32852 cat conftest.err
>&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } &&
32855 { ac_try
='test -z "$ac_cxx_werror_flag"
32856 || test ! -s conftest.err'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; } &&
32862 { ac_try
='test -s conftest.$ac_objext'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; }; then
32868 eval "$as_ac_Header=yes"
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.
$ac_ext >&5
32873 eval "$as_ac_Header=no"
32875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32880 cat >>confdefs.h
<<_ACEOF
32881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32893 if test "$wxUSE_OPENGL" = "yes"; then
32894 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32895 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32896 elif test "$wxUSE_MSW" = 1; then
32897 OPENGL_LIBS
="-lopengl32 -lglu32"
32902 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32904 if test -f "$ac_dir/GL/gl.h"; then
32905 ac_find_includes
=$ac_dir
32910 if test "$ac_find_includes" != "" ; then
32911 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32912 echo "${ECHO_T}found in $ac_find_includes" >&6
32914 if test "x$ac_find_includes" = "x/usr/include"; then
32915 ac_path_to_include
=""
32917 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32919 if test $result = 0; then
32920 ac_path_to_include
=""
32922 ac_path_to_include
=" -I$ac_find_includes"
32926 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32929 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32930 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32931 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32932 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32936 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32938 # Is the header compilable?
32939 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32940 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32941 cat >conftest.
$ac_ext <<_ACEOF
32944 cat confdefs.h
>>conftest.
$ac_ext
32945 cat >>conftest.
$ac_ext <<_ACEOF
32946 /* end confdefs.h. */
32947 $ac_includes_default
32950 rm -f conftest.
$ac_objext
32951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32952 (eval $ac_compile) 2>conftest.er1
32954 grep -v '^ *+' conftest.er1
>conftest.err
32956 cat conftest.err
>&5
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); } &&
32959 { ac_try
='test -z "$ac_cxx_werror_flag"
32960 || test ! -s conftest.err'
32961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32962 (eval $ac_try) 2>&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); }; } &&
32966 { ac_try
='test -s conftest.$ac_objext'
32967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32968 (eval $ac_try) 2>&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); }; }; then
32972 ac_header_compiler
=yes
32974 echo "$as_me: failed program was:" >&5
32975 sed 's/^/| /' conftest.
$ac_ext >&5
32977 ac_header_compiler
=no
32979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32981 echo "${ECHO_T}$ac_header_compiler" >&6
32983 # Is the header present?
32984 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32985 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32986 cat >conftest.
$ac_ext <<_ACEOF
32989 cat confdefs.h
>>conftest.
$ac_ext
32990 cat >>conftest.
$ac_ext <<_ACEOF
32991 /* end confdefs.h. */
32994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32997 grep -v '^ *+' conftest.er1
>conftest.err
32999 cat conftest.err
>&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } >/dev
/null
; then
33002 if test -s conftest.err
; then
33003 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33004 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33011 if test -z "$ac_cpp_err"; then
33012 ac_header_preproc
=yes
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.
$ac_ext >&5
33017 ac_header_preproc
=no
33019 rm -f conftest.err conftest.
$ac_ext
33020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33021 echo "${ECHO_T}$ac_header_preproc" >&6
33023 # So? What about this header?
33024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33026 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33027 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33028 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33029 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33030 ac_header_preproc
=yes
33033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33034 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33036 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33037 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33038 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33039 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33040 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33041 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33042 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33043 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33044 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33047 ## ----------------------------------------- ##
33048 ## Report this to wx-dev@lists.wxwidgets.org ##
33049 ## ----------------------------------------- ##
33052 sed "s/^/$as_me: WARNING: /" >&2
33055 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33056 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33057 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33058 echo $ECHO_N "(cached) $ECHO_C" >&6
33060 ac_cv_header_GL_gl_h
=$ac_header_preproc
33062 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33063 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33066 if test $ac_cv_header_GL_gl_h = yes; then
33070 echo "$as_me:$LINENO: checking for -lGL" >&5
33071 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33074 for ac_dir
in $SEARCH_LIB;
33076 for ac_extension
in a so sl dylib dll.a
; do
33077 if test -f "$ac_dir/libGL.$ac_extension"; then
33078 ac_find_libraries
=$ac_dir
33084 if test "$ac_find_libraries" != "" ; then
33085 echo "$as_me:$LINENO: result: yes" >&5
33086 echo "${ECHO_T}yes" >&6
33089 if test "$ac_find_libraries" = "default location"; then
33092 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33094 if test $result = 0; then
33097 ac_path_to_link
=" -L$ac_find_libraries"
33101 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33102 LDFLAGS_GL
="$ac_path_to_link"
33105 echo "$as_me:$LINENO: checking for -lGLU" >&5
33106 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33109 for ac_dir
in $SEARCH_LIB;
33111 for ac_extension
in a so sl dylib dll.a
; do
33112 if test -f "$ac_dir/libGLU.$ac_extension"; then
33113 ac_find_libraries
=$ac_dir
33119 if test "$ac_find_libraries" != "" ; then
33121 if test "$ac_find_libraries" = "default location"; then
33124 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33126 if test $result = 0; then
33129 ac_path_to_link
=" -L$ac_find_libraries"
33133 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33134 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33135 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33139 OPENGL_LIBS
="-lGL -lGLU"
33140 echo "$as_me:$LINENO: result: yes" >&5
33141 echo "${ECHO_T}yes" >&6
33143 echo "$as_me:$LINENO: result: no" >&5
33144 echo "${ECHO_T}no" >&6
33147 echo "$as_me:$LINENO: result: no" >&5
33148 echo "${ECHO_T}no" >&6
33151 if test "$found_gl" != 1; then
33152 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33153 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33156 for ac_dir
in $SEARCH_LIB;
33158 for ac_extension
in a so sl dylib dll.a
; do
33159 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33160 ac_find_libraries
=$ac_dir
33166 if test "$ac_find_libraries" != "" ; then
33168 if test "$ac_find_libraries" = "default location"; then
33171 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33173 if test $result = 0; then
33176 ac_path_to_link
=" -L$ac_find_libraries"
33180 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33181 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33182 echo "$as_me:$LINENO: result: yes" >&5
33183 echo "${ECHO_T}yes" >&6
33185 echo "$as_me:$LINENO: result: no" >&5
33186 echo "${ECHO_T}no" >&6
33194 if test "x$OPENGL_LIBS" = "x"; then
33195 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33196 echo "$as_me: error: OpenGL libraries not available" >&2;}
33197 { (exit 1); exit 1; }; }
33201 if test "$wxUSE_OPENGL" = "yes"; then
33203 cat >>confdefs.h
<<\_ACEOF
33204 #define wxUSE_OPENGL 1
33207 cat >>confdefs.h
<<\_ACEOF
33208 #define wxUSE_GLCANVAS 1
33211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33216 if test -n "$TOOLKIT" ; then
33217 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33222 if test "$wxUSE_SHARED" = "yes"; then
33226 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33227 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33232 if test "$wxUSE_SHARED" = "yes"; then
33235 found_versioning
=no
33238 if test $found_versioning = no
; then
33239 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33240 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33241 if test "${wx_cv_version_script+set}" = set; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 echo "VER_1 { *; };" >conftest.sym
33246 echo "int main() { return 0; }" >conftest.cpp
33249 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33250 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33252 (eval $ac_try) 2>&5
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); }; } ; then
33256 if test -s conftest.stderr
; then
33257 wx_cv_version_script
=no
33259 wx_cv_version_script
=yes
33262 wx_cv_version_script
=no
33265 if test $wx_cv_version_script = yes
33267 echo "struct B { virtual ~B() { } }; \
33268 struct D : public B { }; \
33269 void F() { D d; }" > conftest.cpp
33272 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33273 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; } &&
33280 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33281 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283 (eval $ac_try) 2>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; }
33289 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33290 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; }
33297 wx_cv_version_script
=yes
33299 wx_cv_version_script
=no
33304 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33305 rm -f conftest1.output conftest2.output conftest3.output
33308 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33309 echo "${ECHO_T}$wx_cv_version_script" >&6
33310 if test $wx_cv_version_script = yes ; then
33311 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33317 *-*-linux* | *-*-gnu* )
33318 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33319 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33323 if test "$GCC" = yes ; then
33324 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33326 saveLdflags
="$LDFLAGS"
33327 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33328 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33329 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33330 cat >conftest.
$ac_ext <<_ACEOF
33333 cat confdefs.h
>>conftest.
$ac_ext
33334 cat >>conftest.
$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33345 rm -f conftest.
$ac_objext conftest
$ac_exeext
33346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33347 (eval $ac_link) 2>conftest.er1
33349 grep -v '^ *+' conftest.er1
>conftest.err
33351 cat conftest.err
>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } &&
33354 { ac_try
='test -z "$ac_cxx_werror_flag"
33355 || test ! -s conftest.err'
33356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357 (eval $ac_try) 2>&5
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; } &&
33361 { ac_try
='test -s conftest$ac_exeext'
33362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33363 (eval $ac_try) 2>&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); }; }; then
33368 echo "$as_me:$LINENO: result: yes" >&5
33369 echo "${ECHO_T}yes" >&6
33370 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33371 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.
$ac_ext >&5
33378 echo "$as_me:$LINENO: result: no" >&5
33379 echo "${ECHO_T}no" >&6
33380 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33381 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33382 LDFLAGS
="$saveLdflags -Wl,-R,/"
33383 cat >conftest.
$ac_ext <<_ACEOF
33386 cat confdefs.h
>>conftest.
$ac_ext
33387 cat >>conftest.
$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33398 rm -f conftest.
$ac_objext conftest
$ac_exeext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33400 (eval $ac_link) 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"
33408 || test ! -s conftest.err'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try
='test -s conftest$ac_exeext'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33421 echo "$as_me:$LINENO: result: yes" >&5
33422 echo "${ECHO_T}yes" >&6
33423 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33424 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.
$ac_ext >&5
33431 echo "$as_me:$LINENO: result: no" >&5
33432 echo "${ECHO_T}no" >&6
33435 rm -f conftest.err conftest.
$ac_objext \
33436 conftest
$ac_exeext conftest.
$ac_ext
33439 rm -f conftest.err conftest.
$ac_objext \
33440 conftest
$ac_exeext conftest.
$ac_ext
33441 LDFLAGS
="$saveLdflags"
33443 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33444 WXCONFIG_RPATH
="-R\$libdir"
33449 install_name_tool
=`which install_name_tool`
33450 if test "$install_name_tool" -a -x "$install_name_tool"; then
33451 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33452 cat <<EOF >change-install-names
33454 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33455 inst_cmd="install_name_tool "
33456 for i in \${libnames} ; do
33457 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33461 chmod +x change
-install-names
33465 *-*-cygwin* | *-*-mingw32* )
33466 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33470 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33471 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33476 if test $wxUSE_RPATH = "no"; then
33477 SAMPLES_RPATH_FLAG
=''
33478 SAMPLES_RPATH_POSTLINK
=''
33486 config_linkage_component
="-static"
33493 lib_unicode_suffix
=
33495 if test "$wxUSE_UNICODE" = "yes"; then
33496 lib_unicode_suffix
=u
33497 WX_CHARTYPE
="unicode"
33502 WX_DEBUGTYPE
="release"
33504 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33506 WX_DEBUGTYPE
="debug"
33510 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33511 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33514 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33518 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33520 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33522 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33524 if test "$cross_compiling" = "yes"; then
33525 HOST_SUFFIX
="-$host_alias"
33526 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33527 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33530 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33531 if test "${TOOLKIT_DIR}" = "os2"; then
33532 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33534 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33539 if test "$wxUSE_COCOA" = 1; then
33543 ac_cpp
='$CPP $CPPFLAGS'
33544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33550 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33551 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33552 cat >conftest.
$ac_ext <<_ACEOF
33555 cat confdefs.h
>>conftest.
$ac_ext
33556 cat >>conftest.
$ac_ext <<_ACEOF
33557 /* end confdefs.h. */
33558 #include <AppKit/NSEvent.h>
33559 #include <CoreFoundation/CoreFoundation.h>
33569 rm -f conftest.
$ac_objext
33570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33571 (eval $ac_compile) 2>conftest.er1
33573 grep -v '^ *+' conftest.er1
>conftest.err
33575 cat conftest.err
>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } &&
33578 { ac_try
='test -z "$ac_c_werror_flag"
33579 || test ! -s conftest.err'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; } &&
33585 { ac_try
='test -s conftest.$ac_objext'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; }; then
33591 echo "$as_me:$LINENO: result: no" >&5
33592 echo "${ECHO_T}no" >&6
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.
$ac_ext >&5
33597 echo "$as_me:$LINENO: result: yes" >&5
33598 echo "${ECHO_T}yes" >&6
33599 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33600 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33601 cat >conftest.
$ac_ext <<_ACEOF
33604 cat confdefs.h
>>conftest.
$ac_ext
33605 cat >>conftest.
$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33607 #define __Point__ 1
33608 #include <AppKit/NSEvent.h>
33609 #include <CoreFoundation/CoreFoundation.h>
33619 rm -f conftest.
$ac_objext
33620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33621 (eval $ac_compile) 2>conftest.er1
33623 grep -v '^ *+' conftest.er1
>conftest.err
33625 cat conftest.err
>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); } &&
33628 { ac_try
='test -z "$ac_c_werror_flag"
33629 || test ! -s conftest.err'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; } &&
33635 { ac_try
='test -s conftest.$ac_objext'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; }; then
33641 echo "$as_me:$LINENO: result: yes" >&5
33642 echo "${ECHO_T}yes" >&6
33643 cat >>confdefs.h
<<\_ACEOF
33644 #define __Point__ 1
33649 echo "$as_me: failed program was:" >&5
33650 sed 's/^/| /' conftest.
$ac_ext >&5
33652 { { echo "$as_me:$LINENO: error: no
33653 See \`config.log' for more details." >&5
33654 echo "$as_me: error: no
33655 See \`config.log' for more details." >&2;}
33656 { (exit 1); exit 1; }; }
33659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33664 ac_cpp
='$CXXCPP $CPPFLAGS'
33665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33671 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33672 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33673 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33675 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33677 # Extract the first word of "Rez", so it can be a program name with args.
33678 set dummy Rez
; ac_word
=$2
33679 echo "$as_me:$LINENO: checking for $ac_word" >&5
33680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33681 if test "${ac_cv_prog_REZ+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 if test -n "$REZ"; then
33685 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33688 for as_dir
in $PATH
33691 test -z "$as_dir" && as_dir
=.
33692 for ac_exec_ext
in '' $ac_executable_extensions; do
33693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33694 ac_cv_prog_REZ
="Rez"
33695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33701 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33704 REZ
=$ac_cv_prog_REZ
33705 if test -n "$REZ"; then
33706 echo "$as_me:$LINENO: result: $REZ" >&5
33707 echo "${ECHO_T}$REZ" >&6
33709 echo "$as_me:$LINENO: result: no" >&5
33710 echo "${ECHO_T}no" >&6
33713 # Extract the first word of "DeRez", so it can be a program name with args.
33714 set dummy DeRez
; ac_word
=$2
33715 echo "$as_me:$LINENO: checking for $ac_word" >&5
33716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33717 if test "${ac_cv_prog_DEREZ+set}" = set; then
33718 echo $ECHO_N "(cached) $ECHO_C" >&6
33720 if test -n "$DEREZ"; then
33721 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33724 for as_dir
in $PATH
33727 test -z "$as_dir" && as_dir
=.
33728 for ac_exec_ext
in '' $ac_executable_extensions; do
33729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33730 ac_cv_prog_DEREZ
="DeRez"
33731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33737 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33740 DEREZ
=$ac_cv_prog_DEREZ
33741 if test -n "$DEREZ"; then
33742 echo "$as_me:$LINENO: result: $DEREZ" >&5
33743 echo "${ECHO_T}$DEREZ" >&6
33745 echo "$as_me:$LINENO: result: no" >&5
33746 echo "${ECHO_T}no" >&6
33749 # Extract the first word of "SetFile", so it can be a program name with args.
33750 set dummy SetFile
; ac_word
=$2
33751 echo "$as_me:$LINENO: checking for $ac_word" >&5
33752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33753 if test "${ac_cv_prog_SETFILE+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33756 if test -n "$SETFILE"; then
33757 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33760 for as_dir
in $PATH
33763 test -z "$as_dir" && as_dir
=.
33764 for ac_exec_ext
in '' $ac_executable_extensions; do
33765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33766 ac_cv_prog_SETFILE
="SetFile"
33767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33773 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33776 SETFILE
=$ac_cv_prog_SETFILE
33777 if test -n "$SETFILE"; then
33778 echo "$as_me:$LINENO: result: $SETFILE" >&5
33779 echo "${ECHO_T}$SETFILE" >&6
33781 echo "$as_me:$LINENO: result: no" >&5
33782 echo "${ECHO_T}no" >&6
33786 MACSETFILE
="\$(SETFILE)"
33788 if test "$wxUSE_MAC" = 1; then
33789 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33791 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33793 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33794 RESCOMP
="echo -n \| $REZ"
33795 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33801 if test "$wxUSE_PM" = 1; then
33803 WXCONFIG_RESFLAGS
="-ep"
33805 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33807 POSTLINK_COMMAND
="@true"
33814 echo "$as_me:$LINENO: checking for mode_t" >&5
33815 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33816 if test "${ac_cv_type_mode_t+set}" = set; then
33817 echo $ECHO_N "(cached) $ECHO_C" >&6
33819 cat >conftest.
$ac_ext <<_ACEOF
33822 cat confdefs.h
>>conftest.
$ac_ext
33823 cat >>conftest.
$ac_ext <<_ACEOF
33824 /* end confdefs.h. */
33825 $ac_includes_default
33831 if (sizeof (mode_t))
33837 rm -f conftest.
$ac_objext
33838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33839 (eval $ac_compile) 2>conftest.er1
33841 grep -v '^ *+' conftest.er1
>conftest.err
33843 cat conftest.err
>&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); } &&
33846 { ac_try
='test -z "$ac_cxx_werror_flag"
33847 || test ! -s conftest.err'
33848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33849 (eval $ac_try) 2>&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); }; } &&
33853 { ac_try
='test -s conftest.$ac_objext'
33854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33855 (eval $ac_try) 2>&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); }; }; then
33859 ac_cv_type_mode_t
=yes
33861 echo "$as_me: failed program was:" >&5
33862 sed 's/^/| /' conftest.
$ac_ext >&5
33864 ac_cv_type_mode_t
=no
33866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33868 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33869 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33870 if test $ac_cv_type_mode_t = yes; then
33874 cat >>confdefs.h
<<_ACEOF
33880 echo "$as_me:$LINENO: checking for off_t" >&5
33881 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33882 if test "${ac_cv_type_off_t+set}" = set; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 cat >conftest.
$ac_ext <<_ACEOF
33888 cat confdefs.h
>>conftest.
$ac_ext
33889 cat >>conftest.
$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 $ac_includes_default
33897 if (sizeof (off_t))
33903 rm -f conftest.
$ac_objext
33904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33905 (eval $ac_compile) 2>conftest.er1
33907 grep -v '^ *+' conftest.er1
>conftest.err
33909 cat conftest.err
>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } &&
33912 { ac_try
='test -z "$ac_cxx_werror_flag"
33913 || test ! -s conftest.err'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; } &&
33919 { ac_try
='test -s conftest.$ac_objext'
33920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33921 (eval $ac_try) 2>&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); }; }; then
33925 ac_cv_type_off_t
=yes
33927 echo "$as_me: failed program was:" >&5
33928 sed 's/^/| /' conftest.
$ac_ext >&5
33930 ac_cv_type_off_t
=no
33932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33934 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33935 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33936 if test $ac_cv_type_off_t = yes; then
33940 cat >>confdefs.h
<<_ACEOF
33946 echo "$as_me:$LINENO: checking for pid_t" >&5
33947 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33948 if test "${ac_cv_type_pid_t+set}" = set; then
33949 echo $ECHO_N "(cached) $ECHO_C" >&6
33951 cat >conftest.
$ac_ext <<_ACEOF
33954 cat confdefs.h
>>conftest.
$ac_ext
33955 cat >>conftest.
$ac_ext <<_ACEOF
33956 /* end confdefs.h. */
33957 $ac_includes_default
33963 if (sizeof (pid_t))
33969 rm -f conftest.
$ac_objext
33970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33971 (eval $ac_compile) 2>conftest.er1
33973 grep -v '^ *+' conftest.er1
>conftest.err
33975 cat conftest.err
>&5
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); } &&
33978 { ac_try
='test -z "$ac_cxx_werror_flag"
33979 || test ! -s conftest.err'
33980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33981 (eval $ac_try) 2>&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; } &&
33985 { ac_try
='test -s conftest.$ac_objext'
33986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33987 (eval $ac_try) 2>&5
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); }; }; then
33991 ac_cv_type_pid_t
=yes
33993 echo "$as_me: failed program was:" >&5
33994 sed 's/^/| /' conftest.
$ac_ext >&5
33996 ac_cv_type_pid_t
=no
33998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34000 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34001 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34002 if test $ac_cv_type_pid_t = yes; then
34006 cat >>confdefs.h
<<_ACEOF
34012 echo "$as_me:$LINENO: checking for size_t" >&5
34013 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34014 if test "${ac_cv_type_size_t+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 cat >conftest.
$ac_ext <<_ACEOF
34020 cat confdefs.h
>>conftest.
$ac_ext
34021 cat >>conftest.
$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 $ac_includes_default
34029 if (sizeof (size_t))
34035 rm -f conftest.
$ac_objext
34036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34037 (eval $ac_compile) 2>conftest.er1
34039 grep -v '^ *+' conftest.er1
>conftest.err
34041 cat conftest.err
>&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try
='test -z "$ac_cxx_werror_flag"
34045 || test ! -s conftest.err'
34046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34047 (eval $ac_try) 2>&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; } &&
34051 { ac_try
='test -s conftest.$ac_objext'
34052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34053 (eval $ac_try) 2>&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; }; then
34057 ac_cv_type_size_t
=yes
34059 echo "$as_me: failed program was:" >&5
34060 sed 's/^/| /' conftest.
$ac_ext >&5
34062 ac_cv_type_size_t
=no
34064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34066 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34067 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34068 if test $ac_cv_type_size_t = yes; then
34072 cat >>confdefs.h
<<_ACEOF
34073 #define size_t unsigned
34078 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34079 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34080 if test "${ac_cv_type_uid_t+set}" = set; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 cat >conftest.
$ac_ext <<_ACEOF
34086 cat confdefs.h
>>conftest.
$ac_ext
34087 cat >>conftest.
$ac_ext <<_ACEOF
34088 /* end confdefs.h. */
34089 #include <sys/types.h>
34092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34093 $EGREP "uid_t" >/dev
/null
2>&1; then
34094 ac_cv_type_uid_t
=yes
34096 ac_cv_type_uid_t
=no
34101 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34102 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34103 if test $ac_cv_type_uid_t = no
; then
34105 cat >>confdefs.h
<<\_ACEOF
34110 cat >>confdefs.h
<<\_ACEOF
34117 echo "$as_me:$LINENO: checking for ssize_t" >&5
34118 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34119 if test "${ac_cv_type_ssize_t+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34122 cat >conftest.
$ac_ext <<_ACEOF
34125 cat confdefs.h
>>conftest.
$ac_ext
34126 cat >>conftest.
$ac_ext <<_ACEOF
34127 /* end confdefs.h. */
34128 $ac_includes_default
34134 if (sizeof (ssize_t))
34140 rm -f conftest.
$ac_objext
34141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34142 (eval $ac_compile) 2>conftest.er1
34144 grep -v '^ *+' conftest.er1
>conftest.err
34146 cat conftest.err
>&5
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); } &&
34149 { ac_try
='test -z "$ac_cxx_werror_flag"
34150 || test ! -s conftest.err'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; } &&
34156 { ac_try
='test -s conftest.$ac_objext'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; }; then
34162 ac_cv_type_ssize_t
=yes
34164 echo "$as_me: failed program was:" >&5
34165 sed 's/^/| /' conftest.
$ac_ext >&5
34167 ac_cv_type_ssize_t
=no
34169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34171 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34172 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34173 if test $ac_cv_type_ssize_t = yes; then
34175 cat >>confdefs.h
<<_ACEOF
34176 #define HAVE_SSIZE_T 1
34183 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34184 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34185 if test "${wx_cv_size_t_is_uint+set}" = set; then
34186 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <stddef.h>
34202 struct Foo { void foo(size_t); void foo(unsigned int); };
34210 rm -f conftest.
$ac_objext
34211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34212 (eval $ac_compile) 2>conftest.er1
34214 grep -v '^ *+' conftest.er1
>conftest.err
34216 cat conftest.err
>&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } &&
34219 { ac_try
='test -z "$ac_cxx_werror_flag"
34220 || test ! -s conftest.err'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; } &&
34226 { ac_try
='test -s conftest.$ac_objext'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; }; then
34232 wx_cv_size_t_is_uint
=no
34234 echo "$as_me: failed program was:" >&5
34235 sed 's/^/| /' conftest.
$ac_ext >&5
34237 wx_cv_size_t_is_uint
=yes
34240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34244 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34245 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34247 if test "$wx_cv_size_t_is_uint" = "yes"; then
34248 cat >>confdefs.h
<<\_ACEOF
34249 #define wxSIZE_T_IS_UINT 1
34253 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34254 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34255 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 cat >conftest.
$ac_ext <<_ACEOF
34261 cat confdefs.h
>>conftest.
$ac_ext
34262 cat >>conftest.
$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34264 #include <stddef.h>
34271 struct Foo { void foo(size_t); void foo(unsigned long); };
34279 rm -f conftest.
$ac_objext
34280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34281 (eval $ac_compile) 2>conftest.er1
34283 grep -v '^ *+' conftest.er1
>conftest.err
34285 cat conftest.err
>&5
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); } &&
34288 { ac_try
='test -z "$ac_cxx_werror_flag"
34289 || test ! -s conftest.err'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; } &&
34295 { ac_try
='test -s conftest.$ac_objext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 wx_cv_size_t_is_ulong
=no
34303 echo "$as_me: failed program was:" >&5
34304 sed 's/^/| /' conftest.
$ac_ext >&5
34306 wx_cv_size_t_is_ulong
=yes
34309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34312 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34313 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34315 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34316 cat >>confdefs.h
<<\_ACEOF
34317 #define wxSIZE_T_IS_ULONG 1
34324 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34325 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34326 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 cat >conftest.
$ac_ext <<_ACEOF
34333 cat confdefs.h
>>conftest.
$ac_ext
34334 cat >>conftest.
$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34349 rm -f conftest.
$ac_objext
34350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34351 (eval $ac_compile) 2>conftest.er1
34353 grep -v '^ *+' conftest.er1
>conftest.err
34355 cat conftest.err
>&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } &&
34358 { ac_try
='test -z "$ac_cxx_werror_flag"
34359 || test ! -s conftest.err'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; } &&
34365 { ac_try
='test -s conftest.$ac_objext'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; }; then
34372 wx_cv_struct_pw_gecos
=yes
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.
$ac_ext >&5
34379 wx_cv_struct_pw_gecos
=no
34383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34387 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34388 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34390 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34391 cat >>confdefs.h
<<\_ACEOF
34392 #define HAVE_PW_GECOS 1
34398 if test "$wxUSE_WCHAR_T" = "yes"; then
34399 cat >>confdefs.h
<<\_ACEOF
34400 #define wxUSE_WCHAR_T 1
34407 for ac_func
in wcslen
34409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34410 echo "$as_me:$LINENO: checking for $ac_func" >&5
34411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34412 if eval "test \"\${$as_ac_var+set}\" = set"; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34415 cat >conftest.
$ac_ext <<_ACEOF
34418 cat confdefs.h
>>conftest.
$ac_ext
34419 cat >>conftest.
$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34423 #define $ac_func innocuous_$ac_func
34425 /* System header to define __stub macros and hopefully few prototypes,
34426 which can conflict with char $ac_func (); below.
34427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34428 <limits.h> exists even on freestanding compilers. */
34431 # include <limits.h>
34433 # include <assert.h>
34438 /* Override any gcc2 internal prototype to avoid an error. */
34443 /* We use char because int might match the return type of a gcc2
34444 builtin and then its argument prototype would still apply. */
34446 /* The GNU C library defines this for functions which it implements
34447 to always fail with ENOSYS. Some functions are actually named
34448 something starting with __ and the normal name is an alias. */
34449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34452 char (*f) () = $ac_func;
34461 return f != $ac_func;
34466 rm -f conftest.
$ac_objext conftest
$ac_exeext
34467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34468 (eval $ac_link) 2>conftest.er1
34470 grep -v '^ *+' conftest.er1
>conftest.err
34472 cat conftest.err
>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try
='test -z "$ac_cxx_werror_flag"
34476 || test ! -s conftest.err'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; } &&
34482 { ac_try
='test -s conftest$ac_exeext'
34483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34484 (eval $ac_try) 2>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); }; }; then
34488 eval "$as_ac_var=yes"
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.
$ac_ext >&5
34493 eval "$as_ac_var=no"
34495 rm -f conftest.err conftest.
$ac_objext \
34496 conftest
$ac_exeext conftest.
$ac_ext
34498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34500 if test `eval echo '${'$as_ac_var'}'` = yes; then
34501 cat >>confdefs.h
<<_ACEOF
34502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34509 if test "$WCSLEN_FOUND" = 0; then
34510 if test "$TOOLKIT" = "MSW"; then
34511 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34512 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34513 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34514 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 ac_check_lib_save_LIBS
=$LIBS
34517 LIBS
="-lmsvcrt $LIBS"
34518 cat >conftest.
$ac_ext <<_ACEOF
34521 cat confdefs.h
>>conftest.
$ac_ext
34522 cat >>conftest.
$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34525 /* Override any gcc2 internal prototype to avoid an error. */
34529 /* We use char because int might match the return type of a gcc2
34530 builtin and then its argument prototype would still apply. */
34540 rm -f conftest.
$ac_objext conftest
$ac_exeext
34541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34542 (eval $ac_link) 2>conftest.er1
34544 grep -v '^ *+' conftest.er1
>conftest.err
34546 cat conftest.err
>&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } &&
34549 { ac_try
='test -z "$ac_cxx_werror_flag"
34550 || test ! -s conftest.err'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } &&
34556 { ac_try
='test -s conftest$ac_exeext'
34557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34558 (eval $ac_try) 2>&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); }; }; then
34562 ac_cv_lib_msvcrt_wcslen
=yes
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.
$ac_ext >&5
34567 ac_cv_lib_msvcrt_wcslen
=no
34569 rm -f conftest.err conftest.
$ac_objext \
34570 conftest
$ac_exeext conftest.
$ac_ext
34571 LIBS
=$ac_check_lib_save_LIBS
34573 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34574 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34575 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34580 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34581 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34582 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34585 ac_check_lib_save_LIBS
=$LIBS
34587 cat >conftest.
$ac_ext <<_ACEOF
34590 cat confdefs.h
>>conftest.
$ac_ext
34591 cat >>conftest.
$ac_ext <<_ACEOF
34592 /* end confdefs.h. */
34594 /* Override any gcc2 internal prototype to avoid an error. */
34598 /* We use char because int might match the return type of a gcc2
34599 builtin and then its argument prototype would still apply. */
34609 rm -f conftest.
$ac_objext conftest
$ac_exeext
34610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34611 (eval $ac_link) 2>conftest.er1
34613 grep -v '^ *+' conftest.er1
>conftest.err
34615 cat conftest.err
>&5
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); } &&
34618 { ac_try
='test -z "$ac_cxx_werror_flag"
34619 || test ! -s conftest.err'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; } &&
34625 { ac_try
='test -s conftest$ac_exeext'
34626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627 (eval $ac_try) 2>&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); }; }; then
34631 ac_cv_lib_w_wcslen
=yes
34633 echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.
$ac_ext >&5
34636 ac_cv_lib_w_wcslen
=no
34638 rm -f conftest.err conftest.
$ac_objext \
34639 conftest
$ac_exeext conftest.
$ac_ext
34640 LIBS
=$ac_check_lib_save_LIBS
34642 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34643 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34644 if test $ac_cv_lib_w_wcslen = yes; then
34654 if test "$WCSLEN_FOUND" = 1; then
34655 cat >>confdefs.h
<<\_ACEOF
34656 #define HAVE_WCSLEN 1
34661 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34662 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34665 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34666 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34667 if test "${ac_cv_type_mbstate_t+set}" = set; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34670 cat >conftest.
$ac_ext <<_ACEOF
34673 cat confdefs.h
>>conftest.
$ac_ext
34674 cat >>conftest.
$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34681 if ((mbstate_t *) 0)
34683 if (sizeof (mbstate_t))
34689 rm -f conftest.
$ac_objext
34690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34691 (eval $ac_compile) 2>conftest.er1
34693 grep -v '^ *+' conftest.er1
>conftest.err
34695 cat conftest.err
>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); } &&
34698 { ac_try
='test -z "$ac_cxx_werror_flag"
34699 || test ! -s conftest.err'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; } &&
34705 { ac_try
='test -s conftest.$ac_objext'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; }; then
34711 ac_cv_type_mbstate_t
=yes
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.
$ac_ext >&5
34716 ac_cv_type_mbstate_t
=no
34718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34720 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34721 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34722 if test $ac_cv_type_mbstate_t = yes; then
34724 cat >>confdefs.h
<<_ACEOF
34725 #define HAVE_MBSTATE_T 1
34729 for ac_func
in wcsrtombs
34731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34732 echo "$as_me:$LINENO: checking for $ac_func" >&5
34733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34734 if eval "test \"\${$as_ac_var+set}\" = set"; then
34735 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 cat >conftest.
$ac_ext <<_ACEOF
34740 cat confdefs.h
>>conftest.
$ac_ext
34741 cat >>conftest.
$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34745 #define $ac_func innocuous_$ac_func
34747 /* System header to define __stub macros and hopefully few prototypes,
34748 which can conflict with char $ac_func (); below.
34749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34750 <limits.h> exists even on freestanding compilers. */
34753 # include <limits.h>
34755 # include <assert.h>
34760 /* Override any gcc2 internal prototype to avoid an error. */
34765 /* We use char because int might match the return type of a gcc2
34766 builtin and then its argument prototype would still apply. */
34768 /* The GNU C library defines this for functions which it implements
34769 to always fail with ENOSYS. Some functions are actually named
34770 something starting with __ and the normal name is an alias. */
34771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34774 char (*f) () = $ac_func;
34783 return f != $ac_func;
34788 rm -f conftest.
$ac_objext conftest
$ac_exeext
34789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34790 (eval $ac_link) 2>conftest.er1
34792 grep -v '^ *+' conftest.er1
>conftest.err
34794 cat conftest.err
>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } &&
34797 { ac_try
='test -z "$ac_cxx_werror_flag"
34798 || test ! -s conftest.err'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; } &&
34804 { ac_try
='test -s conftest$ac_exeext'
34805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34806 (eval $ac_try) 2>&5
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); }; }; then
34810 eval "$as_ac_var=yes"
34812 echo "$as_me: failed program was:" >&5
34813 sed 's/^/| /' conftest.
$ac_ext >&5
34815 eval "$as_ac_var=no"
34817 rm -f conftest.err conftest.
$ac_objext \
34818 conftest
$ac_exeext conftest.
$ac_ext
34820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34822 if test `eval echo '${'$as_ac_var'}'` = yes; then
34823 cat >>confdefs.h
<<_ACEOF
34824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34833 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34834 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34839 for ac_func
in snprintf vsnprintf
34841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34842 echo "$as_me:$LINENO: checking for $ac_func" >&5
34843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34844 if eval "test \"\${$as_ac_var+set}\" = set"; then
34845 echo $ECHO_N "(cached) $ECHO_C" >&6
34847 cat >conftest.
$ac_ext <<_ACEOF
34850 cat confdefs.h
>>conftest.
$ac_ext
34851 cat >>conftest.
$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34863 # include <limits.h>
34865 # include <assert.h>
34870 /* Override any gcc2 internal prototype to avoid an error. */
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34884 char (*f) () = $ac_func;
34893 return f != $ac_func;
34898 rm -f conftest.
$ac_objext conftest
$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34902 grep -v '^ *+' conftest.er1
>conftest.err
34904 cat conftest.err
>&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try
='test -z "$ac_cxx_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try
='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.
$ac_ext >&5
34925 eval "$as_ac_var=no"
34927 rm -f conftest.err conftest.
$ac_objext \
34928 conftest
$ac_exeext conftest.
$ac_ext
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h
<<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34941 if test "$ac_cv_func_vsnprintf" = "yes"; then
34942 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34943 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34944 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34945 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 cat >conftest.
$ac_ext <<_ACEOF
34951 cat confdefs.h
>>conftest.
$ac_ext
34952 cat >>conftest.
$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34956 #include <stdarg.h>
34958 #if __MSL__ >= 0x6000
34960 using namespace std;
34970 vsnprintf(buf, 10u, "%s", ap);
34976 rm -f conftest.
$ac_objext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34978 (eval $ac_compile) 2>conftest.er1
34980 grep -v '^ *+' conftest.er1
>conftest.err
34982 cat conftest.err
>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try
='test -z "$ac_cxx_werror_flag"
34986 || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try
='test -s conftest.$ac_objext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 wx_cv_func_vsnprintf_decl
=yes
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.
$ac_ext >&5
35003 wx_cv_func_vsnprintf_decl
=no
35006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35010 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35011 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35013 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35014 cat >>confdefs.h
<<\_ACEOF
35015 #define HAVE_VSNPRINTF_DECL 1
35019 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35020 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35021 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35022 echo $ECHO_N "(cached) $ECHO_C" >&6
35025 cat >conftest.
$ac_ext <<_ACEOF
35028 cat confdefs.h
>>conftest.
$ac_ext
35029 cat >>conftest.
$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35033 #include <stdarg.h>
35035 #if __MSL__ >= 0x6000
35037 using namespace std;
35047 const char *fmt = "%s";
35048 vsnprintf(buf, 10u, fmt, ap);
35054 rm -f conftest.
$ac_objext
35055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35056 (eval $ac_compile) 2>conftest.er1
35058 grep -v '^ *+' conftest.er1
>conftest.err
35060 cat conftest.err
>&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); } &&
35063 { ac_try
='test -z "$ac_cxx_werror_flag"
35064 || test ! -s conftest.err'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; } &&
35070 { ac_try
='test -s conftest.$ac_objext'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; }; then
35076 wx_cv_func_broken_vsnprintf_decl
=no
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.
$ac_ext >&5
35081 wx_cv_func_broken_vsnprintf_decl
=yes
35084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35088 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35089 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35091 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35092 cat >>confdefs.h
<<\_ACEOF
35093 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35100 if test "$ac_cv_func_snprintf" = "yes"; then
35101 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35102 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35103 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35104 echo $ECHO_N "(cached) $ECHO_C" >&6
35107 cat >conftest.
$ac_ext <<_ACEOF
35110 cat confdefs.h
>>conftest.
$ac_ext
35111 cat >>conftest.
$ac_ext <<_ACEOF
35112 /* end confdefs.h. */
35115 #include <stdarg.h>
35117 #if __MSL__ >= 0x6000
35119 using namespace std;
35128 snprintf(buf, 10u, "%s", "wx");
35134 rm -f conftest.
$ac_objext
35135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35136 (eval $ac_compile) 2>conftest.er1
35138 grep -v '^ *+' conftest.er1
>conftest.err
35140 cat conftest.err
>&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); } &&
35143 { ac_try
='test -z "$ac_cxx_werror_flag"
35144 || test ! -s conftest.err'
35145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35146 (eval $ac_try) 2>&5
35148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35149 (exit $ac_status); }; } &&
35150 { ac_try
='test -s conftest.$ac_objext'
35151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35152 (eval $ac_try) 2>&5
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); }; }; then
35156 wx_cv_func_snprintf_decl
=yes
35158 echo "$as_me: failed program was:" >&5
35159 sed 's/^/| /' conftest.
$ac_ext >&5
35161 wx_cv_func_snprintf_decl
=no
35164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35168 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35169 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35171 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35172 cat >>confdefs.h
<<\_ACEOF
35173 #define HAVE_SNPRINTF_DECL 1
35177 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35178 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35179 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35180 echo $ECHO_N "(cached) $ECHO_C" >&6
35183 cat >conftest.
$ac_ext <<_ACEOF
35186 cat confdefs.h
>>conftest.
$ac_ext
35187 cat >>conftest.
$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35191 #include <stdarg.h>
35193 #if __MSL__ >= 0x6000
35195 using namespace std;
35204 const char *fmt = "%s";
35205 snprintf(buf, 10u, fmt, "wx");
35211 rm -f conftest.
$ac_objext
35212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35213 (eval $ac_compile) 2>conftest.er1
35215 grep -v '^ *+' conftest.er1
>conftest.err
35217 cat conftest.err
>&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); } &&
35220 { ac_try
='test -z "$ac_cxx_werror_flag"
35221 || test ! -s conftest.err'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; } &&
35227 { ac_try
='test -s conftest.$ac_objext'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; }; then
35233 wx_cv_func_broken_snprintf_decl
=no
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.
$ac_ext >&5
35238 wx_cv_func_broken_snprintf_decl
=yes
35241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35245 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35246 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35248 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35249 cat >>confdefs.h
<<\_ACEOF
35250 #define HAVE_BROKEN_SNPRINTF_DECL 1
35256 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35258 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35259 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35260 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35264 if test "$cross_compiling" = yes; then
35266 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35267 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35268 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35269 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35270 wx_cv_func_snprintf_pos_params
=no
35274 cat >conftest.
$ac_ext <<_ACEOF
35277 cat confdefs.h
>>conftest.
$ac_ext
35278 cat >>conftest.
$ac_ext <<_ACEOF
35279 /* end confdefs.h. */
35286 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35287 if (strcmp ("2 3 1", buffer) == 0)
35293 rm -f conftest
$ac_exeext
35294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35295 (eval $ac_link) 2>&5
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; }; then
35304 wx_cv_func_snprintf_pos_params
=no
35306 echo "$as_me: program exited with status $ac_status" >&5
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.
$ac_ext >&5
35310 ( exit $ac_status )
35311 wx_cv_func_snprintf_pos_params
=yes
35313 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35318 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35319 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35321 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35322 cat >>confdefs.h
<<\_ACEOF
35323 #define HAVE_UNIX98_PRINTF 1
35330 if test "$wxUSE_UNICODE" = yes; then
35333 for ac_func
in swprintf
35335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35336 echo "$as_me:$LINENO: checking for $ac_func" >&5
35337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35338 if eval "test \"\${$as_ac_var+set}\" = set"; then
35339 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 cat >conftest.
$ac_ext <<_ACEOF
35344 cat confdefs.h
>>conftest.
$ac_ext
35345 cat >>conftest.
$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35349 #define $ac_func innocuous_$ac_func
35351 /* System header to define __stub macros and hopefully few prototypes,
35352 which can conflict with char $ac_func (); below.
35353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35354 <limits.h> exists even on freestanding compilers. */
35357 # include <limits.h>
35359 # include <assert.h>
35364 /* Override any gcc2 internal prototype to avoid an error. */
35369 /* We use char because int might match the return type of a gcc2
35370 builtin and then its argument prototype would still apply. */
35372 /* The GNU C library defines this for functions which it implements
35373 to always fail with ENOSYS. Some functions are actually named
35374 something starting with __ and the normal name is an alias. */
35375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35378 char (*f) () = $ac_func;
35387 return f != $ac_func;
35392 rm -f conftest.
$ac_objext conftest
$ac_exeext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35394 (eval $ac_link) 2>conftest.er1
35396 grep -v '^ *+' conftest.er1
>conftest.err
35398 cat conftest.err
>&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try
='test -z "$ac_cxx_werror_flag"
35402 || test ! -s conftest.err'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; } &&
35408 { ac_try
='test -s conftest$ac_exeext'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; }; then
35414 eval "$as_ac_var=yes"
35416 echo "$as_me: failed program was:" >&5
35417 sed 's/^/| /' conftest.
$ac_ext >&5
35419 eval "$as_ac_var=no"
35421 rm -f conftest.err conftest.
$ac_objext \
35422 conftest
$ac_exeext conftest.
$ac_ext
35424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35426 if test `eval echo '${'$as_ac_var'}'` = yes; then
35427 cat >>confdefs.h
<<_ACEOF
35428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35435 if test "$ac_cv_func_swprintf" = "yes"; then
35436 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35437 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35438 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 cat >conftest.
$ac_ext <<_ACEOF
35445 cat confdefs.h
>>conftest.
$ac_ext
35446 cat >>conftest.
$ac_ext <<_ACEOF
35447 /* end confdefs.h. */
35450 #include <stdarg.h>
35458 const wchar_t *fmt = L"test";
35459 swprintf(buf, 10u, fmt);
35465 rm -f conftest.
$ac_objext
35466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35467 (eval $ac_compile) 2>conftest.er1
35469 grep -v '^ *+' conftest.er1
>conftest.err
35471 cat conftest.err
>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } &&
35474 { ac_try
='test -z "$ac_cxx_werror_flag"
35475 || test ! -s conftest.err'
35476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35477 (eval $ac_try) 2>&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); }; } &&
35481 { ac_try
='test -s conftest.$ac_objext'
35482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35483 (eval $ac_try) 2>&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); }; }; then
35487 wx_cv_func_broken_swprintf_decl
=no
35489 echo "$as_me: failed program was:" >&5
35490 sed 's/^/| /' conftest.
$ac_ext >&5
35492 wx_cv_func_broken_swprintf_decl
=yes
35495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35499 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35500 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35502 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35503 cat >>confdefs.h
<<\_ACEOF
35504 #define HAVE_BROKEN_SWPRINTF_DECL 1
35516 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35519 echo "$as_me:$LINENO: checking for $ac_func" >&5
35520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35521 if eval "test \"\${$as_ac_var+set}\" = set"; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35524 cat >conftest.
$ac_ext <<_ACEOF
35527 cat confdefs.h
>>conftest.
$ac_ext
35528 cat >>conftest.
$ac_ext <<_ACEOF
35529 /* end confdefs.h. */
35530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35532 #define $ac_func innocuous_$ac_func
35534 /* System header to define __stub macros and hopefully few prototypes,
35535 which can conflict with char $ac_func (); below.
35536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35537 <limits.h> exists even on freestanding compilers. */
35540 # include <limits.h>
35542 # include <assert.h>
35547 /* Override any gcc2 internal prototype to avoid an error. */
35552 /* We use char because int might match the return type of a gcc2
35553 builtin and then its argument prototype would still apply. */
35555 /* The GNU C library defines this for functions which it implements
35556 to always fail with ENOSYS. Some functions are actually named
35557 something starting with __ and the normal name is an alias. */
35558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35561 char (*f) () = $ac_func;
35570 return f != $ac_func;
35575 rm -f conftest.
$ac_objext conftest
$ac_exeext
35576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35577 (eval $ac_link) 2>conftest.er1
35579 grep -v '^ *+' conftest.er1
>conftest.err
35581 cat conftest.err
>&5
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); } &&
35584 { ac_try
='test -z "$ac_cxx_werror_flag"
35585 || test ! -s conftest.err'
35586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35587 (eval $ac_try) 2>&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); }; } &&
35591 { ac_try
='test -s conftest$ac_exeext'
35592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35593 (eval $ac_try) 2>&5
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; }; then
35597 eval "$as_ac_var=yes"
35599 echo "$as_me: failed program was:" >&5
35600 sed 's/^/| /' conftest.
$ac_ext >&5
35602 eval "$as_ac_var=no"
35604 rm -f conftest.err conftest.
$ac_objext \
35605 conftest
$ac_exeext conftest.
$ac_ext
35607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35609 if test `eval echo '${'$as_ac_var'}'` = yes; then
35610 cat >>confdefs.h
<<_ACEOF
35611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35618 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35619 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35620 cat >conftest.
$ac_ext <<_ACEOF
35623 cat confdefs.h
>>conftest.
$ac_ext
35624 cat >>conftest.
$ac_ext <<_ACEOF
35625 /* end confdefs.h. */
35635 rm -f conftest.
$ac_objext
35636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35637 (eval $ac_compile) 2>conftest.er1
35639 grep -v '^ *+' conftest.er1
>conftest.err
35641 cat conftest.err
>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } &&
35644 { ac_try
='test -z "$ac_cxx_werror_flag"
35645 || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try
='test -s conftest.$ac_objext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 echo "$as_me:$LINENO: result: yes" >&5
35658 echo "${ECHO_T}yes" >&6
35659 cat >>confdefs.h
<<\_ACEOF
35660 #define HAVE__VSNWPRINTF 1
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.
$ac_ext >&5
35667 echo "$as_me:$LINENO: result: no" >&5
35668 echo "${ECHO_T}no" >&6
35670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35673 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35675 for ac_func
in fnmatch
35677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35678 echo "$as_me:$LINENO: checking for $ac_func" >&5
35679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35680 if eval "test \"\${$as_ac_var+set}\" = set"; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 cat >conftest.
$ac_ext <<_ACEOF
35686 cat confdefs.h
>>conftest.
$ac_ext
35687 cat >>conftest.
$ac_ext <<_ACEOF
35688 /* end confdefs.h. */
35689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35691 #define $ac_func innocuous_$ac_func
35693 /* System header to define __stub macros and hopefully few prototypes,
35694 which can conflict with char $ac_func (); below.
35695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35696 <limits.h> exists even on freestanding compilers. */
35699 # include <limits.h>
35701 # include <assert.h>
35706 /* Override any gcc2 internal prototype to avoid an error. */
35711 /* We use char because int might match the return type of a gcc2
35712 builtin and then its argument prototype would still apply. */
35714 /* The GNU C library defines this for functions which it implements
35715 to always fail with ENOSYS. Some functions are actually named
35716 something starting with __ and the normal name is an alias. */
35717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35720 char (*f) () = $ac_func;
35729 return f != $ac_func;
35734 rm -f conftest.
$ac_objext conftest
$ac_exeext
35735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35736 (eval $ac_link) 2>conftest.er1
35738 grep -v '^ *+' conftest.er1
>conftest.err
35740 cat conftest.err
>&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); } &&
35743 { ac_try
='test -z "$ac_cxx_werror_flag"
35744 || test ! -s conftest.err'
35745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35746 (eval $ac_try) 2>&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); }; } &&
35750 { ac_try
='test -s conftest$ac_exeext'
35751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35752 (eval $ac_try) 2>&5
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); }; }; then
35756 eval "$as_ac_var=yes"
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.
$ac_ext >&5
35761 eval "$as_ac_var=no"
35763 rm -f conftest.err conftest.
$ac_objext \
35764 conftest
$ac_exeext conftest.
$ac_ext
35766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35768 if test `eval echo '${'$as_ac_var'}'` = yes; then
35769 cat >>confdefs.h
<<_ACEOF
35770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35778 if test "$wxUSE_FILE" = "yes"; then
35780 for ac_func
in fsync
35782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35783 echo "$as_me:$LINENO: checking for $ac_func" >&5
35784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35785 if eval "test \"\${$as_ac_var+set}\" = set"; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 cat >conftest.
$ac_ext <<_ACEOF
35791 cat confdefs.h
>>conftest.
$ac_ext
35792 cat >>conftest.
$ac_ext <<_ACEOF
35793 /* end confdefs.h. */
35794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35796 #define $ac_func innocuous_$ac_func
35798 /* System header to define __stub macros and hopefully few prototypes,
35799 which can conflict with char $ac_func (); below.
35800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35801 <limits.h> exists even on freestanding compilers. */
35804 # include <limits.h>
35806 # include <assert.h>
35811 /* Override any gcc2 internal prototype to avoid an error. */
35816 /* We use char because int might match the return type of a gcc2
35817 builtin and then its argument prototype would still apply. */
35819 /* The GNU C library defines this for functions which it implements
35820 to always fail with ENOSYS. Some functions are actually named
35821 something starting with __ and the normal name is an alias. */
35822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35825 char (*f) () = $ac_func;
35834 return f != $ac_func;
35839 rm -f conftest.
$ac_objext conftest
$ac_exeext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35841 (eval $ac_link) 2>conftest.er1
35843 grep -v '^ *+' conftest.er1
>conftest.err
35845 cat conftest.err
>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); } &&
35848 { ac_try
='test -z "$ac_cxx_werror_flag"
35849 || test ! -s conftest.err'
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); }; } &&
35855 { ac_try
='test -s conftest$ac_exeext'
35856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35857 (eval $ac_try) 2>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); }; }; then
35861 eval "$as_ac_var=yes"
35863 echo "$as_me: failed program was:" >&5
35864 sed 's/^/| /' conftest.
$ac_ext >&5
35866 eval "$as_ac_var=no"
35868 rm -f conftest.err conftest.
$ac_objext \
35869 conftest
$ac_exeext conftest.
$ac_ext
35871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35873 if test `eval echo '${'$as_ac_var'}'` = yes; then
35874 cat >>confdefs.h
<<_ACEOF
35875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35884 for ac_func
in round
35886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35887 echo "$as_me:$LINENO: checking for $ac_func" >&5
35888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35889 if eval "test \"\${$as_ac_var+set}\" = set"; then
35890 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 cat >conftest.
$ac_ext <<_ACEOF
35895 cat confdefs.h
>>conftest.
$ac_ext
35896 cat >>conftest.
$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35900 #define $ac_func innocuous_$ac_func
35902 /* System header to define __stub macros and hopefully few prototypes,
35903 which can conflict with char $ac_func (); below.
35904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35905 <limits.h> exists even on freestanding compilers. */
35908 # include <limits.h>
35910 # include <assert.h>
35915 /* Override any gcc2 internal prototype to avoid an error. */
35920 /* We use char because int might match the return type of a gcc2
35921 builtin and then its argument prototype would still apply. */
35923 /* The GNU C library defines this for functions which it implements
35924 to always fail with ENOSYS. Some functions are actually named
35925 something starting with __ and the normal name is an alias. */
35926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35929 char (*f) () = $ac_func;
35938 return f != $ac_func;
35943 rm -f conftest.
$ac_objext conftest
$ac_exeext
35944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35945 (eval $ac_link) 2>conftest.er1
35947 grep -v '^ *+' conftest.er1
>conftest.err
35949 cat conftest.err
>&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); } &&
35952 { ac_try
='test -z "$ac_cxx_werror_flag"
35953 || test ! -s conftest.err'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; } &&
35959 { ac_try
='test -s conftest$ac_exeext'
35960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35961 (eval $ac_try) 2>&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; }; then
35965 eval "$as_ac_var=yes"
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.
$ac_ext >&5
35970 eval "$as_ac_var=no"
35972 rm -f conftest.err conftest.
$ac_objext \
35973 conftest
$ac_exeext conftest.
$ac_ext
35975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35977 if test `eval echo '${'$as_ac_var'}'` = yes; then
35978 cat >>confdefs.h
<<_ACEOF
35979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35985 if test "$ac_cv_func_round" = yes; then
35986 echo "$as_me:$LINENO: checking whether round is declared" >&5
35987 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35988 if test "${ac_cv_have_decl_round+set}" = set; then
35989 echo $ECHO_N "(cached) $ECHO_C" >&6
35991 cat >conftest.
$ac_ext <<_ACEOF
35994 cat confdefs.h
>>conftest.
$ac_ext
35995 cat >>conftest.
$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
36003 char *p = (char *) round;
36010 rm -f conftest.
$ac_objext
36011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36012 (eval $ac_compile) 2>conftest.er1
36014 grep -v '^ *+' conftest.er1
>conftest.err
36016 cat conftest.err
>&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); } &&
36019 { ac_try
='test -z "$ac_cxx_werror_flag"
36020 || test ! -s conftest.err'
36021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022 (eval $ac_try) 2>&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); }; } &&
36026 { ac_try
='test -s conftest.$ac_objext'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; }; then
36032 ac_cv_have_decl_round
=yes
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.
$ac_ext >&5
36037 ac_cv_have_decl_round
=no
36039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36041 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36042 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36043 if test $ac_cv_have_decl_round = yes; then
36045 cat >>confdefs.h
<<_ACEOF
36046 #define HAVE_DECL_ROUND 1
36051 cat >>confdefs.h
<<_ACEOF
36052 #define HAVE_DECL_ROUND 0
36062 if test "$TOOLKIT" != "MSW"; then
36068 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36069 if test "${with_libiconv_prefix+set}" = set; then
36070 withval
="$with_libiconv_prefix"
36072 for dir
in `echo "$withval" | tr : ' '`; do
36073 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36074 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36079 echo "$as_me:$LINENO: checking for iconv" >&5
36080 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36081 if test "${am_cv_func_iconv+set}" = set; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36085 am_cv_func_iconv
="no, consider installing GNU libiconv"
36087 cat >conftest.
$ac_ext <<_ACEOF
36090 cat confdefs.h
>>conftest.
$ac_ext
36091 cat >>conftest.
$ac_ext <<_ACEOF
36092 /* end confdefs.h. */
36093 #include <stdlib.h>
36098 iconv_t cd = iconv_open("","");
36099 iconv(cd,NULL,NULL,NULL,NULL);
36105 rm -f conftest.
$ac_objext conftest
$ac_exeext
36106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36107 (eval $ac_link) 2>conftest.er1
36109 grep -v '^ *+' conftest.er1
>conftest.err
36111 cat conftest.err
>&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); } &&
36114 { ac_try
='test -z "$ac_cxx_werror_flag"
36115 || test ! -s conftest.err'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; } &&
36121 { ac_try
='test -s conftest$ac_exeext'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; }; then
36127 am_cv_func_iconv
=yes
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.
$ac_ext >&5
36133 rm -f conftest.err conftest.
$ac_objext \
36134 conftest
$ac_exeext conftest.
$ac_ext
36135 if test "$am_cv_func_iconv" != yes; then
36136 am_save_LIBS
="$LIBS"
36137 LIBS
="$LIBS -liconv"
36138 cat >conftest.
$ac_ext <<_ACEOF
36141 cat confdefs.h
>>conftest.
$ac_ext
36142 cat >>conftest.
$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <stdlib.h>
36149 iconv_t cd = iconv_open("","");
36150 iconv(cd,NULL,NULL,NULL,NULL);
36156 rm -f conftest.
$ac_objext conftest
$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36160 grep -v '^ *+' conftest.er1
>conftest.err
36162 cat conftest.err
>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try
='test -z "$ac_cxx_werror_flag"
36166 || test ! -s conftest.err'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; } &&
36172 { ac_try
='test -s conftest$ac_exeext'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; }; then
36178 am_cv_lib_iconv
=yes
36179 am_cv_func_iconv
=yes
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.
$ac_ext >&5
36185 rm -f conftest.err conftest.
$ac_objext \
36186 conftest
$ac_exeext conftest.
$ac_ext
36187 LIBS
="$am_save_LIBS"
36191 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36192 echo "${ECHO_T}$am_cv_func_iconv" >&6
36193 if test "$am_cv_func_iconv" = yes; then
36195 cat >>confdefs.h
<<\_ACEOF
36196 #define HAVE_ICONV 1
36199 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36200 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36201 if test "${wx_cv_func_iconv_const+set}" = set; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 cat >conftest.
$ac_ext <<_ACEOF
36207 cat confdefs.h
>>conftest.
$ac_ext
36208 cat >>conftest.
$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36211 #include <stdlib.h>
36217 #if defined(__STDC__) || defined(__cplusplus)
36218 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36231 rm -f conftest.
$ac_objext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36233 (eval $ac_compile) 2>conftest.er1
36235 grep -v '^ *+' conftest.er1
>conftest.err
36237 cat conftest.err
>&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try
='test -z "$ac_cxx_werror_flag"
36241 || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try
='test -s conftest.$ac_objext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 wx_cv_func_iconv_const
="no"
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.
$ac_ext >&5
36258 wx_cv_func_iconv_const
="yes"
36261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36264 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36265 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36268 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36269 iconv_const
="const"
36273 cat >>confdefs.h
<<_ACEOF
36274 #define ICONV_CONST $iconv_const
36279 if test "$am_cv_lib_iconv" = yes; then
36284 LIBS
="$LIBICONV $LIBS"
36286 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36288 for ac_func
in sigaction
36290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36291 echo "$as_me:$LINENO: checking for $ac_func" >&5
36292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36293 if eval "test \"\${$as_ac_var+set}\" = set"; then
36294 echo $ECHO_N "(cached) $ECHO_C" >&6
36296 cat >conftest.
$ac_ext <<_ACEOF
36299 cat confdefs.h
>>conftest.
$ac_ext
36300 cat >>conftest.
$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36304 #define $ac_func innocuous_$ac_func
36306 /* System header to define __stub macros and hopefully few prototypes,
36307 which can conflict with char $ac_func (); below.
36308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36309 <limits.h> exists even on freestanding compilers. */
36312 # include <limits.h>
36314 # include <assert.h>
36319 /* Override any gcc2 internal prototype to avoid an error. */
36324 /* We use char because int might match the return type of a gcc2
36325 builtin and then its argument prototype would still apply. */
36327 /* The GNU C library defines this for functions which it implements
36328 to always fail with ENOSYS. Some functions are actually named
36329 something starting with __ and the normal name is an alias. */
36330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36333 char (*f) () = $ac_func;
36342 return f != $ac_func;
36347 rm -f conftest.
$ac_objext conftest
$ac_exeext
36348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36349 (eval $ac_link) 2>conftest.er1
36351 grep -v '^ *+' conftest.er1
>conftest.err
36353 cat conftest.err
>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } &&
36356 { ac_try
='test -z "$ac_cxx_werror_flag"
36357 || test ! -s conftest.err'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; } &&
36363 { ac_try
='test -s conftest$ac_exeext'
36364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36365 (eval $ac_try) 2>&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); }; }; then
36369 eval "$as_ac_var=yes"
36371 echo "$as_me: failed program was:" >&5
36372 sed 's/^/| /' conftest.
$ac_ext >&5
36374 eval "$as_ac_var=no"
36376 rm -f conftest.err conftest.
$ac_objext \
36377 conftest
$ac_exeext conftest.
$ac_ext
36379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36381 if test `eval echo '${'$as_ac_var'}'` = yes; then
36382 cat >>confdefs.h
<<_ACEOF
36383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 if test "$ac_cv_func_sigaction" = "no"; then
36391 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36392 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36393 wxUSE_ON_FATAL_EXCEPTION
=no
36396 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36397 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36398 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36399 if test "${wx_cv_type_sa_handler+set}" = set; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36403 cat >conftest.
$ac_ext <<_ACEOF
36406 cat confdefs.h
>>conftest.
$ac_ext
36407 cat >>conftest.
$ac_ext <<_ACEOF
36408 /* end confdefs.h. */
36409 #include <signal.h>
36414 extern void testSigHandler(int);
36416 struct sigaction sa;
36417 sa.sa_handler = testSigHandler;
36423 rm -f conftest.
$ac_objext
36424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36425 (eval $ac_compile) 2>conftest.er1
36427 grep -v '^ *+' conftest.er1
>conftest.err
36429 cat conftest.err
>&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } &&
36432 { ac_try
='test -z "$ac_cxx_werror_flag"
36433 || test ! -s conftest.err'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; } &&
36439 { ac_try
='test -s conftest.$ac_objext'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; }; then
36446 wx_cv_type_sa_handler
=int
36449 echo "$as_me: failed program was:" >&5
36450 sed 's/^/| /' conftest.
$ac_ext >&5
36453 wx_cv_type_sa_handler
=void
36456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36459 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36460 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36462 cat >>confdefs.h
<<_ACEOF
36463 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36469 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36470 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36471 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36472 if test "${wx_cv_func_backtrace+set}" = set; then
36473 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 cat >conftest.
$ac_ext <<_ACEOF
36479 cat confdefs.h
>>conftest.
$ac_ext
36480 cat >>conftest.
$ac_ext <<_ACEOF
36481 /* end confdefs.h. */
36482 #include <execinfo.h>
36490 backtrace(trace, 1);
36491 messages = backtrace_symbols(trace, 1);
36497 rm -f conftest.
$ac_objext
36498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36499 (eval $ac_compile) 2>conftest.er1
36501 grep -v '^ *+' conftest.er1
>conftest.err
36503 cat conftest.err
>&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } &&
36506 { ac_try
='test -z "$ac_cxx_werror_flag"
36507 || test ! -s conftest.err'
36508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36509 (eval $ac_try) 2>&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); }; } &&
36513 { ac_try
='test -s conftest.$ac_objext'
36514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515 (eval $ac_try) 2>&5
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); }; }; then
36519 wx_cv_func_backtrace
=yes
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.
$ac_ext >&5
36524 wx_cv_func_backtrace
=no
36527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36531 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36532 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36535 if test "$wx_cv_func_backtrace" = "no"; then
36536 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36537 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36538 wxUSE_STACKWALKER
=no
36540 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36541 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36542 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 cat >conftest.
$ac_ext <<_ACEOF
36549 cat confdefs.h
>>conftest.
$ac_ext
36550 cat >>conftest.
$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 #include <cxxabi.h>
36558 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36564 rm -f conftest.
$ac_objext conftest
$ac_exeext
36565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36566 (eval $ac_link) 2>conftest.er1
36568 grep -v '^ *+' conftest.er1
>conftest.err
36570 cat conftest.err
>&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); } &&
36573 { ac_try
='test -z "$ac_cxx_werror_flag"
36574 || test ! -s conftest.err'
36575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36576 (eval $ac_try) 2>&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); }; } &&
36580 { ac_try
='test -s conftest$ac_exeext'
36581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36582 (eval $ac_try) 2>&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); }; }; then
36586 wx_cv_func_cxa_demangle
=yes
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.
$ac_ext >&5
36591 wx_cv_func_cxa_demangle
=no
36594 rm -f conftest.err conftest.
$ac_objext \
36595 conftest
$ac_exeext conftest.
$ac_ext
36599 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36600 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36602 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36603 cat >>confdefs.h
<<\_ACEOF
36604 #define HAVE_CXA_DEMANGLE 1
36611 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36612 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36613 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36614 wxUSE_STACKWALKER
=no
36620 for ac_func
in mkstemp mktemp
36622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36628 cat >conftest.
$ac_ext <<_ACEOF
36631 cat confdefs.h
>>conftest.
$ac_ext
36632 cat >>conftest.
$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36636 #define $ac_func innocuous_$ac_func
36638 /* System header to define __stub macros and hopefully few prototypes,
36639 which can conflict with char $ac_func (); below.
36640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641 <limits.h> exists even on freestanding compilers. */
36644 # include <limits.h>
36646 # include <assert.h>
36651 /* Override any gcc2 internal prototype to avoid an error. */
36656 /* We use char because int might match the return type of a gcc2
36657 builtin and then its argument prototype would still apply. */
36659 /* The GNU C library defines this for functions which it implements
36660 to always fail with ENOSYS. Some functions are actually named
36661 something starting with __ and the normal name is an alias. */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36665 char (*f) () = $ac_func;
36674 return f != $ac_func;
36679 rm -f conftest.
$ac_objext conftest
$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36683 grep -v '^ *+' conftest.er1
>conftest.err
36685 cat conftest.err
>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try
='test -z "$ac_cxx_werror_flag"
36689 || test ! -s conftest.err'
36690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36691 (eval $ac_try) 2>&5
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); }; } &&
36695 { ac_try
='test -s conftest$ac_exeext'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; }; then
36701 eval "$as_ac_var=yes"
36703 echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.
$ac_ext >&5
36706 eval "$as_ac_var=no"
36708 rm -f conftest.err conftest.
$ac_objext \
36709 conftest
$ac_exeext conftest.
$ac_ext
36711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36713 if test `eval echo '${'$as_ac_var'}'` = yes; then
36714 cat >>confdefs.h
<<_ACEOF
36715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36722 echo "$as_me:$LINENO: checking for statfs" >&5
36723 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36724 if test "${wx_cv_func_statfs+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 cat >conftest.
$ac_ext <<_ACEOF
36730 cat confdefs.h
>>conftest.
$ac_ext
36731 cat >>conftest.
$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36734 #if defined(__BSD__)
36735 #include <sys/param.h>
36736 #include <sys/mount.h>
36738 #include <sys/vfs.h>
36756 rm -f conftest.
$ac_objext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36758 (eval $ac_compile) 2>conftest.er1
36760 grep -v '^ *+' conftest.er1
>conftest.err
36762 cat conftest.err
>&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try
='test -z "$ac_cxx_werror_flag"
36766 || test ! -s conftest.err'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; } &&
36772 { ac_try
='test -s conftest.$ac_objext'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; }; then
36778 wx_cv_func_statfs
=yes
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.
$ac_ext >&5
36783 wx_cv_func_statfs
=no
36786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36789 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36790 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36792 if test "$wx_cv_func_statfs" = "yes"; then
36793 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36794 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36795 if test "${wx_cv_func_statfs_decl+set}" = set; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 cat >conftest.
$ac_ext <<_ACEOF
36801 cat confdefs.h
>>conftest.
$ac_ext
36802 cat >>conftest.
$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36805 #if defined(__BSD__)
36806 #include <sys/param.h>
36807 #include <sys/mount.h>
36809 #include <sys/vfs.h>
36823 rm -f conftest.
$ac_objext
36824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36825 (eval $ac_compile) 2>conftest.er1
36827 grep -v '^ *+' conftest.er1
>conftest.err
36829 cat conftest.err
>&5
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); } &&
36832 { ac_try
='test -z "$ac_cxx_werror_flag"
36833 || test ! -s conftest.err'
36834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36835 (eval $ac_try) 2>&5
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); }; } &&
36839 { ac_try
='test -s conftest.$ac_objext'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; }; then
36845 wx_cv_func_statfs_decl
=yes
36847 echo "$as_me: failed program was:" >&5
36848 sed 's/^/| /' conftest.
$ac_ext >&5
36850 wx_cv_func_statfs_decl
=no
36853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36856 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36857 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36859 if test "$wx_cv_func_statfs_decl" = "yes"; then
36860 cat >>confdefs.h
<<\_ACEOF
36861 #define HAVE_STATFS_DECL 1
36866 wx_cv_type_statvfs_t
="struct statfs"
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define HAVE_STATFS 1
36872 echo "$as_me:$LINENO: checking for statvfs" >&5
36873 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36874 if test "${wx_cv_func_statvfs+set}" = set; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36877 cat >conftest.
$ac_ext <<_ACEOF
36880 cat confdefs.h
>>conftest.
$ac_ext
36881 cat >>conftest.
$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36884 #include <stddef.h>
36885 #include <sys/statvfs.h>
36891 statvfs("/", NULL);
36897 rm -f conftest.
$ac_objext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36899 (eval $ac_compile) 2>conftest.er1
36901 grep -v '^ *+' conftest.er1
>conftest.err
36903 cat conftest.err
>&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } &&
36906 { ac_try
='test -z "$ac_cxx_werror_flag"
36907 || test ! -s conftest.err'
36908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909 (eval $ac_try) 2>&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); }; } &&
36913 { ac_try
='test -s conftest.$ac_objext'
36914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915 (eval $ac_try) 2>&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); }; }; then
36919 wx_cv_func_statvfs
=yes
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.
$ac_ext >&5
36924 wx_cv_func_statvfs
=no
36927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36930 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36931 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36933 if test "$wx_cv_func_statvfs" = "yes"; then
36934 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36935 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36936 if test "${wx_cv_type_statvfs_t+set}" = set; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 cat >conftest.
$ac_ext <<_ACEOF
36942 cat confdefs.h
>>conftest.
$ac_ext
36943 cat >>conftest.
$ac_ext <<_ACEOF
36944 /* end confdefs.h. */
36946 #include <sys/statvfs.h>
36963 rm -f conftest.
$ac_objext
36964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36965 (eval $ac_compile) 2>conftest.er1
36967 grep -v '^ *+' conftest.er1
>conftest.err
36969 cat conftest.err
>&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); } &&
36972 { ac_try
='test -z "$ac_cxx_werror_flag"
36973 || test ! -s conftest.err'
36974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36975 (eval $ac_try) 2>&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); }; } &&
36979 { ac_try
='test -s conftest.$ac_objext'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; }; then
36985 wx_cv_type_statvfs_t
=statvfs_t
36987 echo "$as_me: failed program was:" >&5
36988 sed 's/^/| /' conftest.
$ac_ext >&5
36991 cat >conftest.
$ac_ext <<_ACEOF
36994 cat confdefs.h
>>conftest.
$ac_ext
36995 cat >>conftest.
$ac_ext <<_ACEOF
36996 /* end confdefs.h. */
36998 #include <sys/statvfs.h>
37015 rm -f conftest.
$ac_objext
37016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37017 (eval $ac_compile) 2>conftest.er1
37019 grep -v '^ *+' conftest.er1
>conftest.err
37021 cat conftest.err
>&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); } &&
37024 { ac_try
='test -z "$ac_cxx_werror_flag"
37025 || test ! -s conftest.err'
37026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37027 (eval $ac_try) 2>&5
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); }; } &&
37031 { ac_try
='test -s conftest.$ac_objext'
37032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37033 (eval $ac_try) 2>&5
37035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37036 (exit $ac_status); }; }; then
37037 wx_cv_type_statvfs_t
="struct statvfs"
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.
$ac_ext >&5
37042 wx_cv_type_statvfs_t
="unknown"
37045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37052 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37053 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37055 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37056 cat >>confdefs.h
<<\_ACEOF
37057 #define HAVE_STATVFS 1
37062 wx_cv_type_statvfs_t
="unknown"
37066 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37067 cat >>confdefs.h
<<_ACEOF
37068 #define WX_STATFS_T $wx_cv_type_statvfs_t
37072 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37073 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37076 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37079 for ac_func
in fcntl flock
37081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37082 echo "$as_me:$LINENO: checking for $ac_func" >&5
37083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37084 if eval "test \"\${$as_ac_var+set}\" = set"; then
37085 echo $ECHO_N "(cached) $ECHO_C" >&6
37087 cat >conftest.
$ac_ext <<_ACEOF
37090 cat confdefs.h
>>conftest.
$ac_ext
37091 cat >>conftest.
$ac_ext <<_ACEOF
37092 /* end confdefs.h. */
37093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37095 #define $ac_func innocuous_$ac_func
37097 /* System header to define __stub macros and hopefully few prototypes,
37098 which can conflict with char $ac_func (); below.
37099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37100 <limits.h> exists even on freestanding compilers. */
37103 # include <limits.h>
37105 # include <assert.h>
37110 /* Override any gcc2 internal prototype to avoid an error. */
37115 /* We use char because int might match the return type of a gcc2
37116 builtin and then its argument prototype would still apply. */
37118 /* The GNU C library defines this for functions which it implements
37119 to always fail with ENOSYS. Some functions are actually named
37120 something starting with __ and the normal name is an alias. */
37121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37124 char (*f) () = $ac_func;
37133 return f != $ac_func;
37138 rm -f conftest.
$ac_objext conftest
$ac_exeext
37139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37140 (eval $ac_link) 2>conftest.er1
37142 grep -v '^ *+' conftest.er1
>conftest.err
37144 cat conftest.err
>&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } &&
37147 { ac_try
='test -z "$ac_cxx_werror_flag"
37148 || test ! -s conftest.err'
37149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37150 (eval $ac_try) 2>&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); }; } &&
37154 { ac_try
='test -s conftest$ac_exeext'
37155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37156 (eval $ac_try) 2>&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); }; }; then
37160 eval "$as_ac_var=yes"
37162 echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.
$ac_ext >&5
37165 eval "$as_ac_var=no"
37167 rm -f conftest.err conftest.
$ac_objext \
37168 conftest
$ac_exeext conftest.
$ac_ext
37170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37172 if test `eval echo '${'$as_ac_var'}'` = yes; then
37173 cat >>confdefs.h
<<_ACEOF
37174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37181 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37182 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37183 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37184 wxUSE_SNGLINST_CHECKER
=no
37189 for ac_func
in timegm
37191 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37192 echo "$as_me:$LINENO: checking for $ac_func" >&5
37193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37194 if eval "test \"\${$as_ac_var+set}\" = set"; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 cat >conftest.
$ac_ext <<_ACEOF
37200 cat confdefs.h
>>conftest.
$ac_ext
37201 cat >>conftest.
$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37205 #define $ac_func innocuous_$ac_func
37207 /* System header to define __stub macros and hopefully few prototypes,
37208 which can conflict with char $ac_func (); below.
37209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37210 <limits.h> exists even on freestanding compilers. */
37213 # include <limits.h>
37215 # include <assert.h>
37220 /* Override any gcc2 internal prototype to avoid an error. */
37225 /* We use char because int might match the return type of a gcc2
37226 builtin and then its argument prototype would still apply. */
37228 /* The GNU C library defines this for functions which it implements
37229 to always fail with ENOSYS. Some functions are actually named
37230 something starting with __ and the normal name is an alias. */
37231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37234 char (*f) () = $ac_func;
37243 return f != $ac_func;
37248 rm -f conftest.
$ac_objext conftest
$ac_exeext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37250 (eval $ac_link) 2>conftest.er1
37252 grep -v '^ *+' conftest.er1
>conftest.err
37254 cat conftest.err
>&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try
='test -z "$ac_cxx_werror_flag"
37258 || test ! -s conftest.err'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; } &&
37264 { ac_try
='test -s conftest$ac_exeext'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; }; then
37270 eval "$as_ac_var=yes"
37272 echo "$as_me: failed program was:" >&5
37273 sed 's/^/| /' conftest.
$ac_ext >&5
37275 eval "$as_ac_var=no"
37277 rm -f conftest.err conftest.
$ac_objext \
37278 conftest
$ac_exeext conftest.
$ac_ext
37280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37282 if test `eval echo '${'$as_ac_var'}'` = yes; then
37283 cat >>confdefs.h
<<_ACEOF
37284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37293 for ac_func
in putenv setenv
37295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37296 echo "$as_me:$LINENO: checking for $ac_func" >&5
37297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37298 if eval "test \"\${$as_ac_var+set}\" = set"; then
37299 echo $ECHO_N "(cached) $ECHO_C" >&6
37301 cat >conftest.
$ac_ext <<_ACEOF
37304 cat confdefs.h
>>conftest.
$ac_ext
37305 cat >>conftest.
$ac_ext <<_ACEOF
37306 /* end confdefs.h. */
37307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37309 #define $ac_func innocuous_$ac_func
37311 /* System header to define __stub macros and hopefully few prototypes,
37312 which can conflict with char $ac_func (); below.
37313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37314 <limits.h> exists even on freestanding compilers. */
37317 # include <limits.h>
37319 # include <assert.h>
37324 /* Override any gcc2 internal prototype to avoid an error. */
37329 /* We use char because int might match the return type of a gcc2
37330 builtin and then its argument prototype would still apply. */
37332 /* The GNU C library defines this for functions which it implements
37333 to always fail with ENOSYS. Some functions are actually named
37334 something starting with __ and the normal name is an alias. */
37335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37338 char (*f) () = $ac_func;
37347 return f != $ac_func;
37352 rm -f conftest.
$ac_objext conftest
$ac_exeext
37353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37354 (eval $ac_link) 2>conftest.er1
37356 grep -v '^ *+' conftest.er1
>conftest.err
37358 cat conftest.err
>&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); } &&
37361 { ac_try
='test -z "$ac_cxx_werror_flag"
37362 || test ! -s conftest.err'
37363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37364 (eval $ac_try) 2>&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); }; } &&
37368 { ac_try
='test -s conftest$ac_exeext'
37369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37370 (eval $ac_try) 2>&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); }; }; then
37374 eval "$as_ac_var=yes"
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.
$ac_ext >&5
37379 eval "$as_ac_var=no"
37381 rm -f conftest.err conftest.
$ac_objext \
37382 conftest
$ac_exeext conftest.
$ac_ext
37384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37386 if test `eval echo '${'$as_ac_var'}'` = yes; then
37387 cat >>confdefs.h
<<_ACEOF
37388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37395 HAVE_SOME_SLEEP_FUNC
=0
37396 if test "$USE_BEOS" = 1; then
37397 cat >>confdefs.h
<<\_ACEOF
37398 #define HAVE_SLEEP 1
37401 HAVE_SOME_SLEEP_FUNC
=1
37404 if test "$USE_DARWIN" = 1; then
37405 cat >>confdefs.h
<<\_ACEOF
37406 #define HAVE_USLEEP 1
37409 HAVE_SOME_SLEEP_FUNC
=1
37412 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37415 for ac_func
in nanosleep
37417 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37418 echo "$as_me:$LINENO: checking for $ac_func" >&5
37419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37420 if eval "test \"\${$as_ac_var+set}\" = set"; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37423 cat >conftest.
$ac_ext <<_ACEOF
37426 cat confdefs.h
>>conftest.
$ac_ext
37427 cat >>conftest.
$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37431 #define $ac_func innocuous_$ac_func
37433 /* System header to define __stub macros and hopefully few prototypes,
37434 which can conflict with char $ac_func (); below.
37435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37436 <limits.h> exists even on freestanding compilers. */
37439 # include <limits.h>
37441 # include <assert.h>
37446 /* Override any gcc2 internal prototype to avoid an error. */
37451 /* We use char because int might match the return type of a gcc2
37452 builtin and then its argument prototype would still apply. */
37454 /* The GNU C library defines this for functions which it implements
37455 to always fail with ENOSYS. Some functions are actually named
37456 something starting with __ and the normal name is an alias. */
37457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37460 char (*f) () = $ac_func;
37469 return f != $ac_func;
37474 rm -f conftest.
$ac_objext conftest
$ac_exeext
37475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37476 (eval $ac_link) 2>conftest.er1
37478 grep -v '^ *+' conftest.er1
>conftest.err
37480 cat conftest.err
>&5
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); } &&
37483 { ac_try
='test -z "$ac_cxx_werror_flag"
37484 || test ! -s conftest.err'
37485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37486 (eval $ac_try) 2>&5
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); }; } &&
37490 { ac_try
='test -s conftest$ac_exeext'
37491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37492 (eval $ac_try) 2>&5
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); }; }; then
37496 eval "$as_ac_var=yes"
37498 echo "$as_me: failed program was:" >&5
37499 sed 's/^/| /' conftest.
$ac_ext >&5
37501 eval "$as_ac_var=no"
37503 rm -f conftest.err conftest.
$ac_objext \
37504 conftest
$ac_exeext conftest.
$ac_ext
37506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37508 if test `eval echo '${'$as_ac_var'}'` = yes; then
37509 cat >>confdefs.h
<<_ACEOF
37510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37512 cat >>confdefs.h
<<\_ACEOF
37513 #define HAVE_NANOSLEEP 1
37518 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37519 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37520 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 ac_check_lib_save_LIBS
=$LIBS
37524 LIBS
="-lposix4 $LIBS"
37525 cat >conftest.
$ac_ext <<_ACEOF
37528 cat confdefs.h
>>conftest.
$ac_ext
37529 cat >>conftest.
$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37532 /* Override any gcc2 internal prototype to avoid an error. */
37536 /* We use char because int might match the return type of a gcc2
37537 builtin and then its argument prototype would still apply. */
37547 rm -f conftest.
$ac_objext conftest
$ac_exeext
37548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37549 (eval $ac_link) 2>conftest.er1
37551 grep -v '^ *+' conftest.er1
>conftest.err
37553 cat conftest.err
>&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } &&
37556 { ac_try
='test -z "$ac_cxx_werror_flag"
37557 || test ! -s conftest.err'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; } &&
37563 { ac_try
='test -s conftest$ac_exeext'
37564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37565 (eval $ac_try) 2>&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); }; }; then
37569 ac_cv_lib_posix4_nanosleep
=yes
37571 echo "$as_me: failed program was:" >&5
37572 sed 's/^/| /' conftest.
$ac_ext >&5
37574 ac_cv_lib_posix4_nanosleep
=no
37576 rm -f conftest.err conftest.
$ac_objext \
37577 conftest
$ac_exeext conftest.
$ac_ext
37578 LIBS
=$ac_check_lib_save_LIBS
37580 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37581 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37582 if test $ac_cv_lib_posix4_nanosleep = yes; then
37584 cat >>confdefs.h
<<\_ACEOF
37585 #define HAVE_NANOSLEEP 1
37588 POSIX4_LINK
=" -lposix4"
37593 for ac_func
in usleep
37595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37617 # include <limits.h>
37619 # include <assert.h>
37624 /* Override any gcc2 internal prototype to avoid an error. */
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37638 char (*f) () = $ac_func;
37647 return f != $ac_func;
37652 rm -f conftest.
$ac_objext conftest
$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37656 grep -v '^ *+' conftest.er1
>conftest.err
37658 cat conftest.err
>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try
='test -z "$ac_cxx_werror_flag"
37662 || test ! -s conftest.err'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; } &&
37668 { ac_try
='test -s conftest$ac_exeext'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; }; then
37674 eval "$as_ac_var=yes"
37676 echo "$as_me: failed program was:" >&5
37677 sed 's/^/| /' conftest.
$ac_ext >&5
37679 eval "$as_ac_var=no"
37681 rm -f conftest.err conftest.
$ac_objext \
37682 conftest
$ac_exeext conftest.
$ac_ext
37684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37686 if test `eval echo '${'$as_ac_var'}'` = yes; then
37687 cat >>confdefs.h
<<_ACEOF
37688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37690 cat >>confdefs.h
<<\_ACEOF
37691 #define HAVE_USLEEP 1
37695 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37696 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37714 for ac_func
in uname gethostname
37716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37717 echo "$as_me:$LINENO: checking for $ac_func" >&5
37718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37719 if eval "test \"\${$as_ac_var+set}\" = set"; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 cat >conftest.
$ac_ext <<_ACEOF
37725 cat confdefs.h
>>conftest.
$ac_ext
37726 cat >>conftest.
$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define $ac_func innocuous_$ac_func
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char $ac_func (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37738 # include <limits.h>
37740 # include <assert.h>
37745 /* Override any gcc2 internal prototype to avoid an error. */
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37759 char (*f) () = $ac_func;
37768 return f != $ac_func;
37773 rm -f conftest.
$ac_objext conftest
$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37777 grep -v '^ *+' conftest.er1
>conftest.err
37779 cat conftest.err
>&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try
='test -z "$ac_cxx_werror_flag"
37783 || test ! -s conftest.err'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; } &&
37789 { ac_try
='test -s conftest$ac_exeext'
37790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791 (eval $ac_try) 2>&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); }; }; then
37795 eval "$as_ac_var=yes"
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.
$ac_ext >&5
37800 eval "$as_ac_var=no"
37802 rm -f conftest.err conftest.
$ac_objext \
37803 conftest
$ac_exeext conftest.
$ac_ext
37805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37807 if test `eval echo '${'$as_ac_var'}'` = yes; then
37808 cat >>confdefs.h
<<_ACEOF
37809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37817 for wx_func
in strtok_r
37819 echo "$as_me:$LINENO: checking for $wx_func" >&5
37820 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37821 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 cat >conftest.
$ac_ext <<_ACEOF
37829 cat confdefs.h
>>conftest.
$ac_ext
37830 cat >>conftest.
$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37834 $ac_includes_default
37850 rm -f conftest.
$ac_objext conftest
$ac_exeext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37852 (eval $ac_link) 2>conftest.er1
37854 grep -v '^ *+' conftest.er1
>conftest.err
37856 cat conftest.err
>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } &&
37859 { ac_try
='test -z "$ac_cxx_werror_flag"
37860 || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try
='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval wx_cv_func_
$wx_func=yes
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.
$ac_ext >&5
37877 eval wx_cv_func_
$wx_func=no
37879 rm -f conftest.err conftest.
$ac_objext \
37880 conftest
$ac_exeext conftest.
$ac_ext
37883 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37884 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37886 if eval test \
$wx_cv_func_$wx_func = yes
37888 cat >>confdefs.h
<<_ACEOF
37889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37902 for ac_func
in inet_addr
37904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37905 echo "$as_me:$LINENO: checking for $ac_func" >&5
37906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37907 if eval "test \"\${$as_ac_var+set}\" = set"; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37910 cat >conftest.
$ac_ext <<_ACEOF
37913 cat confdefs.h
>>conftest.
$ac_ext
37914 cat >>conftest.
$ac_ext <<_ACEOF
37915 /* end confdefs.h. */
37916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37918 #define $ac_func innocuous_$ac_func
37920 /* System header to define __stub macros and hopefully few prototypes,
37921 which can conflict with char $ac_func (); below.
37922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37923 <limits.h> exists even on freestanding compilers. */
37926 # include <limits.h>
37928 # include <assert.h>
37933 /* Override any gcc2 internal prototype to avoid an error. */
37938 /* We use char because int might match the return type of a gcc2
37939 builtin and then its argument prototype would still apply. */
37941 /* The GNU C library defines this for functions which it implements
37942 to always fail with ENOSYS. Some functions are actually named
37943 something starting with __ and the normal name is an alias. */
37944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37947 char (*f) () = $ac_func;
37956 return f != $ac_func;
37961 rm -f conftest.
$ac_objext conftest
$ac_exeext
37962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37963 (eval $ac_link) 2>conftest.er1
37965 grep -v '^ *+' conftest.er1
>conftest.err
37967 cat conftest.err
>&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); } &&
37970 { ac_try
='test -z "$ac_cxx_werror_flag"
37971 || test ! -s conftest.err'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; } &&
37977 { ac_try
='test -s conftest$ac_exeext'
37978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37979 (eval $ac_try) 2>&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); }; }; then
37983 eval "$as_ac_var=yes"
37985 echo "$as_me: failed program was:" >&5
37986 sed 's/^/| /' conftest.
$ac_ext >&5
37988 eval "$as_ac_var=no"
37990 rm -f conftest.err conftest.
$ac_objext \
37991 conftest
$ac_exeext conftest.
$ac_ext
37993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37995 if test `eval echo '${'$as_ac_var'}'` = yes; then
37996 cat >>confdefs.h
<<_ACEOF
37997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37999 cat >>confdefs.h
<<\_ACEOF
38000 #define HAVE_INET_ADDR 1
38005 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38006 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38007 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38010 ac_check_lib_save_LIBS
=$LIBS
38012 cat >conftest.
$ac_ext <<_ACEOF
38015 cat confdefs.h
>>conftest.
$ac_ext
38016 cat >>conftest.
$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38019 /* Override any gcc2 internal prototype to avoid an error. */
38023 /* We use char because int might match the return type of a gcc2
38024 builtin and then its argument prototype would still apply. */
38034 rm -f conftest.
$ac_objext conftest
$ac_exeext
38035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38036 (eval $ac_link) 2>conftest.er1
38038 grep -v '^ *+' conftest.er1
>conftest.err
38040 cat conftest.err
>&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } &&
38043 { ac_try
='test -z "$ac_cxx_werror_flag"
38044 || test ! -s conftest.err'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; } &&
38050 { ac_try
='test -s conftest$ac_exeext'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; }; then
38056 ac_cv_lib_nsl_inet_addr
=yes
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.
$ac_ext >&5
38061 ac_cv_lib_nsl_inet_addr
=no
38063 rm -f conftest.err conftest.
$ac_objext \
38064 conftest
$ac_exeext conftest.
$ac_ext
38065 LIBS
=$ac_check_lib_save_LIBS
38067 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38068 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38069 if test $ac_cv_lib_nsl_inet_addr = yes; then
38073 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38074 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38075 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38078 ac_check_lib_save_LIBS
=$LIBS
38079 LIBS
="-lresolv $LIBS"
38080 cat >conftest.
$ac_ext <<_ACEOF
38083 cat confdefs.h
>>conftest.
$ac_ext
38084 cat >>conftest.
$ac_ext <<_ACEOF
38085 /* end confdefs.h. */
38087 /* Override any gcc2 internal prototype to avoid an error. */
38091 /* We use char because int might match the return type of a gcc2
38092 builtin and then its argument prototype would still apply. */
38102 rm -f conftest.
$ac_objext conftest
$ac_exeext
38103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38104 (eval $ac_link) 2>conftest.er1
38106 grep -v '^ *+' conftest.er1
>conftest.err
38108 cat conftest.err
>&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); } &&
38111 { ac_try
='test -z "$ac_cxx_werror_flag"
38112 || test ! -s conftest.err'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; } &&
38118 { ac_try
='test -s conftest$ac_exeext'
38119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38120 (eval $ac_try) 2>&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); }; }; then
38124 ac_cv_lib_resolv_inet_addr
=yes
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.
$ac_ext >&5
38129 ac_cv_lib_resolv_inet_addr
=no
38131 rm -f conftest.err conftest.
$ac_objext \
38132 conftest
$ac_exeext conftest.
$ac_ext
38133 LIBS
=$ac_check_lib_save_LIBS
38135 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38136 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38137 if test $ac_cv_lib_resolv_inet_addr = yes; then
38141 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38142 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38143 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38144 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 ac_check_lib_save_LIBS
=$LIBS
38147 LIBS
="-lsocket $LIBS"
38148 cat >conftest.
$ac_ext <<_ACEOF
38151 cat confdefs.h
>>conftest.
$ac_ext
38152 cat >>conftest.
$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38155 /* Override any gcc2 internal prototype to avoid an error. */
38159 /* We use char because int might match the return type of a gcc2
38160 builtin and then its argument prototype would still apply. */
38170 rm -f conftest.
$ac_objext conftest
$ac_exeext
38171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38172 (eval $ac_link) 2>conftest.er1
38174 grep -v '^ *+' conftest.er1
>conftest.err
38176 cat conftest.err
>&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); } &&
38179 { ac_try
='test -z "$ac_cxx_werror_flag"
38180 || test ! -s conftest.err'
38181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38182 (eval $ac_try) 2>&5
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); }; } &&
38186 { ac_try
='test -s conftest$ac_exeext'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; }; then
38192 ac_cv_lib_socket_inet_addr
=yes
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.
$ac_ext >&5
38197 ac_cv_lib_socket_inet_addr
=no
38199 rm -f conftest.err conftest.
$ac_objext \
38200 conftest
$ac_exeext conftest.
$ac_ext
38201 LIBS
=$ac_check_lib_save_LIBS
38203 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38204 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38205 if test $ac_cv_lib_socket_inet_addr = yes; then
38225 for ac_func
in inet_aton
38227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38228 echo "$as_me:$LINENO: checking for $ac_func" >&5
38229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38230 if eval "test \"\${$as_ac_var+set}\" = set"; then
38231 echo $ECHO_N "(cached) $ECHO_C" >&6
38233 cat >conftest.
$ac_ext <<_ACEOF
38236 cat confdefs.h
>>conftest.
$ac_ext
38237 cat >>conftest.
$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38241 #define $ac_func innocuous_$ac_func
38243 /* System header to define __stub macros and hopefully few prototypes,
38244 which can conflict with char $ac_func (); below.
38245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38246 <limits.h> exists even on freestanding compilers. */
38249 # include <limits.h>
38251 # include <assert.h>
38256 /* Override any gcc2 internal prototype to avoid an error. */
38261 /* We use char because int might match the return type of a gcc2
38262 builtin and then its argument prototype would still apply. */
38264 /* The GNU C library defines this for functions which it implements
38265 to always fail with ENOSYS. Some functions are actually named
38266 something starting with __ and the normal name is an alias. */
38267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38270 char (*f) () = $ac_func;
38279 return f != $ac_func;
38284 rm -f conftest.
$ac_objext conftest
$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>conftest.er1
38288 grep -v '^ *+' conftest.er1
>conftest.err
38290 cat conftest.err
>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try
='test -z "$ac_cxx_werror_flag"
38294 || test ! -s conftest.err'
38295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38296 (eval $ac_try) 2>&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); }; } &&
38300 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38306 eval "$as_ac_var=yes"
38308 echo "$as_me: failed program was:" >&5
38309 sed 's/^/| /' conftest.
$ac_ext >&5
38311 eval "$as_ac_var=no"
38313 rm -f conftest.err conftest.
$ac_objext \
38314 conftest
$ac_exeext conftest.
$ac_ext
38316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38318 if test `eval echo '${'$as_ac_var'}'` = yes; then
38319 cat >>confdefs.h
<<_ACEOF
38320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38322 cat >>confdefs.h
<<\_ACEOF
38323 #define HAVE_INET_ATON 1
38328 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38329 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38330 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38331 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38334 ac_check_lib_save_LIBS
=$LIBS
38335 LIBS
="-l$INET_LINK $LIBS"
38336 cat >conftest.
$ac_ext <<_ACEOF
38339 cat confdefs.h
>>conftest.
$ac_ext
38340 cat >>conftest.
$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38343 /* Override any gcc2 internal prototype to avoid an error. */
38347 /* We use char because int might match the return type of a gcc2
38348 builtin and then its argument prototype would still apply. */
38358 rm -f conftest.
$ac_objext conftest
$ac_exeext
38359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38360 (eval $ac_link) 2>conftest.er1
38362 grep -v '^ *+' conftest.er1
>conftest.err
38364 cat conftest.err
>&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } &&
38367 { ac_try
='test -z "$ac_cxx_werror_flag"
38368 || test ! -s conftest.err'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; } &&
38374 { ac_try
='test -s conftest$ac_exeext'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; }; then
38380 eval "$as_ac_Lib=yes"
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.
$ac_ext >&5
38385 eval "$as_ac_Lib=no"
38387 rm -f conftest.err conftest.
$ac_objext \
38388 conftest
$ac_exeext conftest.
$ac_ext
38389 LIBS
=$ac_check_lib_save_LIBS
38391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38392 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38393 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38394 cat >>confdefs.h
<<\_ACEOF
38395 #define HAVE_INET_ATON 1
38405 if test "x$INET_LINK" != "x"; then
38406 cat >>confdefs.h
<<\_ACEOF
38407 #define HAVE_INET_ADDR 1
38410 INET_LINK
=" -l$INET_LINK"
38418 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38419 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38420 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38421 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 ac_check_lib_save_LIBS
=$LIBS
38425 cat >conftest.
$ac_ext <<_ACEOF
38428 cat confdefs.h
>>conftest.
$ac_ext
38429 cat >>conftest.
$ac_ext <<_ACEOF
38430 /* end confdefs.h. */
38432 /* Override any gcc2 internal prototype to avoid an error. */
38436 /* We use char because int might match the return type of a gcc2
38437 builtin and then its argument prototype would still apply. */
38447 rm -f conftest.
$ac_objext conftest
$ac_exeext
38448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38449 (eval $ac_link) 2>conftest.er1
38451 grep -v '^ *+' conftest.er1
>conftest.err
38453 cat conftest.err
>&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); } &&
38456 { ac_try
='test -z "$ac_cxx_werror_flag"
38457 || test ! -s conftest.err'
38458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38459 (eval $ac_try) 2>&5
38461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38462 (exit $ac_status); }; } &&
38463 { ac_try
='test -s conftest$ac_exeext'
38464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38465 (eval $ac_try) 2>&5
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); }; }; then
38469 ac_cv_lib_esd_esd_close
=yes
38471 echo "$as_me: failed program was:" >&5
38472 sed 's/^/| /' conftest.
$ac_ext >&5
38474 ac_cv_lib_esd_esd_close
=no
38476 rm -f conftest.err conftest.
$ac_objext \
38477 conftest
$ac_exeext conftest.
$ac_ext
38478 LIBS
=$ac_check_lib_save_LIBS
38480 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38481 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38482 if test $ac_cv_lib_esd_esd_close = yes; then
38485 for ac_header
in esd.h
38487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38489 echo "$as_me:$LINENO: checking for $ac_header" >&5
38490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38492 echo $ECHO_N "(cached) $ECHO_C" >&6
38494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38497 # Is the header compilable?
38498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38500 cat >conftest.
$ac_ext <<_ACEOF
38503 cat confdefs.h
>>conftest.
$ac_ext
38504 cat >>conftest.
$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38506 $ac_includes_default
38507 #include <$ac_header>
38509 rm -f conftest.
$ac_objext
38510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38511 (eval $ac_compile) 2>conftest.er1
38513 grep -v '^ *+' conftest.er1
>conftest.err
38515 cat conftest.err
>&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } &&
38518 { ac_try
='test -z "$ac_cxx_werror_flag"
38519 || test ! -s conftest.err'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; } &&
38525 { ac_try
='test -s conftest.$ac_objext'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 ac_header_compiler
=yes
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.
$ac_ext >&5
38536 ac_header_compiler
=no
38538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38540 echo "${ECHO_T}$ac_header_compiler" >&6
38542 # Is the header present?
38543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38545 cat >conftest.
$ac_ext <<_ACEOF
38548 cat confdefs.h
>>conftest.
$ac_ext
38549 cat >>conftest.
$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551 #include <$ac_header>
38553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38556 grep -v '^ *+' conftest.er1
>conftest.err
38558 cat conftest.err
>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } >/dev
/null
; then
38561 if test -s conftest.err
; then
38562 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38563 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38570 if test -z "$ac_cpp_err"; then
38571 ac_header_preproc
=yes
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.
$ac_ext >&5
38576 ac_header_preproc
=no
38578 rm -f conftest.err conftest.
$ac_ext
38579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38580 echo "${ECHO_T}$ac_header_preproc" >&6
38582 # So? What about this header?
38583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38589 ac_header_preproc
=yes
38592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38606 ## ----------------------------------------- ##
38607 ## Report this to wx-dev@lists.wxwidgets.org ##
38608 ## ----------------------------------------- ##
38611 sed "s/^/$as_me: WARNING: /" >&2
38614 echo "$as_me:$LINENO: checking for $ac_header" >&5
38615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38617 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 eval "$as_ac_Header=\$ac_header_preproc"
38621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38626 cat >>confdefs.h
<<_ACEOF
38627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38630 EXTRALIBS_ESD
="-lesd"
38641 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38642 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38643 cat >conftest.
$ac_ext <<_ACEOF
38646 cat confdefs.h
>>conftest.
$ac_ext
38647 cat >>conftest.
$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38650 #include <linux/cdrom.h>
38653 #include <sys/cdio.h>
38659 struct cdrom_tocentry entry, old_entry;
38664 rm -f conftest.
$ac_objext
38665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38666 (eval $ac_compile) 2>conftest.er1
38668 grep -v '^ *+' conftest.er1
>conftest.err
38670 cat conftest.err
>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); } &&
38673 { ac_try
='test -z "$ac_cxx_werror_flag"
38674 || test ! -s conftest.err'
38675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38676 (eval $ac_try) 2>&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); }; } &&
38680 { ac_try
='test -s conftest.$ac_objext'
38681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38682 (eval $ac_try) 2>&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); }; }; then
38686 echo "$as_me:$LINENO: result: yes" >&5
38687 echo "${ECHO_T}yes" >&6
38688 cat >>confdefs.h
<<\_ACEOF
38689 #define HAVE_KNOWN_CDROM_INTERFACE 1
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.
$ac_ext >&5
38696 echo "$as_me:$LINENO: result: no" >&5
38697 echo "${ECHO_T}no" >&6
38699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38702 cat >confcache
<<\_ACEOF
38703 # This file is a shell script that caches the results of configure
38704 # tests run on this system so they can be shared between configure
38705 # scripts and configure runs, see configure's option --config-cache.
38706 # It is not useful on other systems. If it contains results you don't
38707 # want to keep, you may remove or edit it.
38709 # config.status only pays attention to the cache file if you give it
38710 # the --recheck option to rerun configure.
38712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38714 # following values.
38718 # The following way of writing the cache mishandles newlines in values,
38719 # but we know of no workaround that is simple, portable, and efficient.
38720 # So, don't put newlines in cache variables' values.
38721 # Ultrix sh set writes to stderr and can't be redirected directly,
38722 # and sets the high bit in the cache file unless we assign to the vars.
38725 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38727 # `set' does not quote correctly, so add quotes (double-quote
38728 # substitution turns \\\\ into \\, and sed turns \\ into \).
38731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38734 # `set' quotes correctly as required by POSIX, so do not add quotes.
38736 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38743 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38745 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38747 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38748 if test -w $cache_file; then
38749 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38750 cat confcache
>$cache_file
38752 echo "not updating unwritable cache $cache_file"
38758 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38764 if test "$wxUSE_THREADS" = "yes" ; then
38765 if test "$USE_BEOS" = 1; then
38766 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38767 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38772 if test "$wxUSE_THREADS" = "yes" ; then
38775 THREAD_OPTS
="-pthread"
38777 *-*-solaris2* | *-*-sunos4* )
38778 if test "x$GCC" = "xyes"; then
38779 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38781 THREAD_OPTS
="-mt $THREAD_OPTS"
38785 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38787 *-*-darwin* | *-*-cygwin* )
38791 THREAD_OPTS
="pthreads"
38794 if test "x$GCC" = "xyes"; then
38795 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38803 if test "x$GCC" = "xyes"; then
38809 if test "x$GCC" != "xyes"; then
38810 THREAD_OPTS
="-Ethread"
38815 THREAD_OPTS
="$THREAD_OPTS pthread none"
38818 for flag
in $THREAD_OPTS; do
38821 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38822 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38826 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38827 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38828 THREADS_CXXFLAGS
="$flag"
38832 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38833 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38834 THREADS_LINK
="-l$flag"
38839 save_CXXFLAGS
="$CXXFLAGS"
38840 LIBS
="$THREADS_LINK $LIBS"
38841 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38843 cat >conftest.
$ac_ext <<_ACEOF
38846 cat confdefs.h
>>conftest.
$ac_ext
38847 cat >>conftest.
$ac_ext <<_ACEOF
38848 /* end confdefs.h. */
38849 #include <pthread.h>
38853 pthread_create(0,0,0,0);
38858 rm -f conftest.
$ac_objext conftest
$ac_exeext
38859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38860 (eval $ac_link) 2>conftest.er1
38862 grep -v '^ *+' conftest.er1
>conftest.err
38864 cat conftest.err
>&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } &&
38867 { ac_try
='test -z "$ac_cxx_werror_flag"
38868 || test ! -s conftest.err'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; } &&
38874 { ac_try
='test -s conftest$ac_exeext'
38875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38876 (eval $ac_try) 2>&5
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); }; }; then
38882 echo "$as_me: failed program was:" >&5
38883 sed 's/^/| /' conftest.
$ac_ext >&5
38886 rm -f conftest.err conftest.
$ac_objext \
38887 conftest
$ac_exeext conftest.
$ac_ext
38890 CXXFLAGS
="$save_CXXFLAGS"
38892 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38893 echo "${ECHO_T}$THREADS_OK" >&6
38894 if test "x$THREADS_OK" = "xyes"; then
38899 THREADS_CXXFLAGS
=""
38902 if test "x$THREADS_OK" != "xyes"; then
38904 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38905 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38907 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38908 LIBS
="$THREADS_LINK $LIBS"
38910 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38911 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38915 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38916 flag
="-D_THREAD_SAFE"
38919 flag
="-D_THREAD_SAFE"
38922 flag
="-D_REENTRANT"
38923 if test "x$GCC" != "xyes"; then
38924 flag
="$flag -D_RWSTD_MULTI_THREAD"
38927 *solaris
* | alpha
*-osf*)
38928 flag
="-D_REENTRANT"
38931 echo "$as_me:$LINENO: result: ${flag}" >&5
38932 echo "${ECHO_T}${flag}" >&6
38933 if test "x$flag" != xno
; then
38934 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38937 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38941 if test "$wxUSE_THREADS" = "yes" ; then
38943 for ac_func
in thr_setconcurrency
38945 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38946 echo "$as_me:$LINENO: checking for $ac_func" >&5
38947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38948 if eval "test \"\${$as_ac_var+set}\" = set"; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38951 cat >conftest.
$ac_ext <<_ACEOF
38954 cat confdefs.h
>>conftest.
$ac_ext
38955 cat >>conftest.
$ac_ext <<_ACEOF
38956 /* end confdefs.h. */
38957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38959 #define $ac_func innocuous_$ac_func
38961 /* System header to define __stub macros and hopefully few prototypes,
38962 which can conflict with char $ac_func (); below.
38963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38964 <limits.h> exists even on freestanding compilers. */
38967 # include <limits.h>
38969 # include <assert.h>
38974 /* Override any gcc2 internal prototype to avoid an error. */
38979 /* We use char because int might match the return type of a gcc2
38980 builtin and then its argument prototype would still apply. */
38982 /* The GNU C library defines this for functions which it implements
38983 to always fail with ENOSYS. Some functions are actually named
38984 something starting with __ and the normal name is an alias. */
38985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38988 char (*f) () = $ac_func;
38997 return f != $ac_func;
39002 rm -f conftest.
$ac_objext conftest
$ac_exeext
39003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39004 (eval $ac_link) 2>conftest.er1
39006 grep -v '^ *+' conftest.er1
>conftest.err
39008 cat conftest.err
>&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); } &&
39011 { ac_try
='test -z "$ac_cxx_werror_flag"
39012 || test ! -s conftest.err'
39013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39014 (eval $ac_try) 2>&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); }; } &&
39018 { ac_try
='test -s conftest$ac_exeext'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; }; then
39024 eval "$as_ac_var=yes"
39026 echo "$as_me: failed program was:" >&5
39027 sed 's/^/| /' conftest.
$ac_ext >&5
39029 eval "$as_ac_var=no"
39031 rm -f conftest.err conftest.
$ac_objext \
39032 conftest
$ac_exeext conftest.
$ac_ext
39034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39036 if test `eval echo '${'$as_ac_var'}'` = yes; then
39037 cat >>confdefs.h
<<_ACEOF
39038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39045 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39046 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39047 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39051 cat >conftest.
$ac_ext <<_ACEOF
39054 cat confdefs.h
>>conftest.
$ac_ext
39055 cat >>conftest.
$ac_ext <<_ACEOF
39056 /* end confdefs.h. */
39057 #include <pthread.h>
39058 void ThreadCleanupFunc(void *p);
39065 pthread_cleanup_push(ThreadCleanupFunc, p);
39066 pthread_cleanup_pop(0);
39072 rm -f conftest.
$ac_objext
39073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39074 (eval $ac_compile) 2>conftest.er1
39076 grep -v '^ *+' conftest.er1
>conftest.err
39078 cat conftest.err
>&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } &&
39081 { ac_try
='test -z "$ac_cxx_werror_flag"
39082 || test ! -s conftest.err'
39083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39084 (eval $ac_try) 2>&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); }; } &&
39088 { ac_try
='test -s conftest.$ac_objext'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; }; then
39095 wx_cv_func_pthread_cleanup
=yes
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.
$ac_ext >&5
39102 wx_cv_func_pthread_cleanup
=no
39106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39109 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39110 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39111 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39112 cat >>confdefs.h
<<\_ACEOF
39113 #define wxHAVE_PTHREAD_CLEANUP 1
39119 for ac_header
in sched.h
39121 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39123 echo "$as_me:$LINENO: checking for $ac_header" >&5
39124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39131 # Is the header compilable?
39132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39134 cat >conftest.
$ac_ext <<_ACEOF
39137 cat confdefs.h
>>conftest.
$ac_ext
39138 cat >>conftest.
$ac_ext <<_ACEOF
39139 /* end confdefs.h. */
39140 $ac_includes_default
39141 #include <$ac_header>
39143 rm -f conftest.
$ac_objext
39144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39145 (eval $ac_compile) 2>conftest.er1
39147 grep -v '^ *+' conftest.er1
>conftest.err
39149 cat conftest.err
>&5
39150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151 (exit $ac_status); } &&
39152 { ac_try
='test -z "$ac_cxx_werror_flag"
39153 || test ! -s conftest.err'
39154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39155 (eval $ac_try) 2>&5
39157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39158 (exit $ac_status); }; } &&
39159 { ac_try
='test -s conftest.$ac_objext'
39160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39161 (eval $ac_try) 2>&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); }; }; then
39165 ac_header_compiler
=yes
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.
$ac_ext >&5
39170 ac_header_compiler
=no
39172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39174 echo "${ECHO_T}$ac_header_compiler" >&6
39176 # Is the header present?
39177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39179 cat >conftest.
$ac_ext <<_ACEOF
39182 cat confdefs.h
>>conftest.
$ac_ext
39183 cat >>conftest.
$ac_ext <<_ACEOF
39184 /* end confdefs.h. */
39185 #include <$ac_header>
39187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39190 grep -v '^ *+' conftest.er1
>conftest.err
39192 cat conftest.err
>&5
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); } >/dev
/null
; then
39195 if test -s conftest.err
; then
39196 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39197 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39204 if test -z "$ac_cpp_err"; then
39205 ac_header_preproc
=yes
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.
$ac_ext >&5
39210 ac_header_preproc
=no
39212 rm -f conftest.err conftest.
$ac_ext
39213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39214 echo "${ECHO_T}$ac_header_preproc" >&6
39216 # So? What about this header?
39217 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39223 ac_header_preproc
=yes
39226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39240 ## ----------------------------------------- ##
39241 ## Report this to wx-dev@lists.wxwidgets.org ##
39242 ## ----------------------------------------- ##
39245 sed "s/^/$as_me: WARNING: /" >&2
39248 echo "$as_me:$LINENO: checking for $ac_header" >&5
39249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39251 echo $ECHO_N "(cached) $ECHO_C" >&6
39253 eval "$as_ac_Header=\$ac_header_preproc"
39255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39260 cat >>confdefs.h
<<_ACEOF
39261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39268 if test "$ac_cv_header_sched_h" = "yes"; then
39269 echo "$as_me:$LINENO: checking for sched_yield" >&5
39270 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39271 if test "${ac_cv_func_sched_yield+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 cat >conftest.
$ac_ext <<_ACEOF
39277 cat confdefs.h
>>conftest.
$ac_ext
39278 cat >>conftest.
$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define sched_yield innocuous_sched_yield
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char sched_yield (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39290 # include <limits.h>
39292 # include <assert.h>
39297 /* Override any gcc2 internal prototype to avoid an error. */
39302 /* We use char because int might match the return type of a gcc2
39303 builtin and then its argument prototype would still apply. */
39304 char sched_yield ();
39305 /* The GNU C library defines this for functions which it implements
39306 to always fail with ENOSYS. Some functions are actually named
39307 something starting with __ and the normal name is an alias. */
39308 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39311 char (*f) () = sched_yield;
39320 return f != sched_yield;
39325 rm -f conftest.
$ac_objext conftest
$ac_exeext
39326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39327 (eval $ac_link) 2>conftest.er1
39329 grep -v '^ *+' conftest.er1
>conftest.err
39331 cat conftest.err
>&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } &&
39334 { ac_try
='test -z "$ac_cxx_werror_flag"
39335 || test ! -s conftest.err'
39336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39337 (eval $ac_try) 2>&5
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); }; } &&
39341 { ac_try
='test -s conftest$ac_exeext'
39342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39343 (eval $ac_try) 2>&5
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); }; }; then
39347 ac_cv_func_sched_yield
=yes
39349 echo "$as_me: failed program was:" >&5
39350 sed 's/^/| /' conftest.
$ac_ext >&5
39352 ac_cv_func_sched_yield
=no
39354 rm -f conftest.err conftest.
$ac_objext \
39355 conftest
$ac_exeext conftest.
$ac_ext
39357 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39358 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39359 if test $ac_cv_func_sched_yield = yes; then
39360 cat >>confdefs.h
<<\_ACEOF
39361 #define HAVE_SCHED_YIELD 1
39366 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39367 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39368 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 ac_check_lib_save_LIBS
=$LIBS
39372 LIBS
="-lposix4 $LIBS"
39373 cat >conftest.
$ac_ext <<_ACEOF
39376 cat confdefs.h
>>conftest.
$ac_ext
39377 cat >>conftest.
$ac_ext <<_ACEOF
39378 /* end confdefs.h. */
39380 /* Override any gcc2 internal prototype to avoid an error. */
39384 /* We use char because int might match the return type of a gcc2
39385 builtin and then its argument prototype would still apply. */
39386 char sched_yield ();
39395 rm -f conftest.
$ac_objext conftest
$ac_exeext
39396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39397 (eval $ac_link) 2>conftest.er1
39399 grep -v '^ *+' conftest.er1
>conftest.err
39401 cat conftest.err
>&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } &&
39404 { ac_try
='test -z "$ac_cxx_werror_flag"
39405 || test ! -s conftest.err'
39406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39407 (eval $ac_try) 2>&5
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); }; } &&
39411 { ac_try
='test -s conftest$ac_exeext'
39412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39413 (eval $ac_try) 2>&5
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); }; }; then
39417 ac_cv_lib_posix4_sched_yield
=yes
39419 echo "$as_me: failed program was:" >&5
39420 sed 's/^/| /' conftest.
$ac_ext >&5
39422 ac_cv_lib_posix4_sched_yield
=no
39424 rm -f conftest.err conftest.
$ac_objext \
39425 conftest
$ac_exeext conftest.
$ac_ext
39426 LIBS
=$ac_check_lib_save_LIBS
39428 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39429 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39430 if test $ac_cv_lib_posix4_sched_yield = yes; then
39431 cat >>confdefs.h
<<\_ACEOF
39432 #define HAVE_SCHED_YIELD 1
39434 POSIX4_LINK
=" -lposix4"
39436 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39437 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39448 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39449 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39450 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 cat >conftest.
$ac_ext <<_ACEOF
39456 cat confdefs.h
>>conftest.
$ac_ext
39457 cat >>conftest.
$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char pthread_attr_getschedpolicy (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39469 # include <limits.h>
39471 # include <assert.h>
39474 #undef pthread_attr_getschedpolicy
39476 /* Override any gcc2 internal prototype to avoid an error. */
39481 /* We use char because int might match the return type of a gcc2
39482 builtin and then its argument prototype would still apply. */
39483 char pthread_attr_getschedpolicy ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39490 char (*f) () = pthread_attr_getschedpolicy;
39499 return f != pthread_attr_getschedpolicy;
39504 rm -f conftest.
$ac_objext conftest
$ac_exeext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39506 (eval $ac_link) 2>conftest.er1
39508 grep -v '^ *+' conftest.er1
>conftest.err
39510 cat conftest.err
>&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try
='test -z "$ac_cxx_werror_flag"
39514 || test ! -s conftest.err'
39515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39516 (eval $ac_try) 2>&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; } &&
39520 { ac_try
='test -s conftest$ac_exeext'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; }; then
39526 ac_cv_func_pthread_attr_getschedpolicy
=yes
39528 echo "$as_me: failed program was:" >&5
39529 sed 's/^/| /' conftest.
$ac_ext >&5
39531 ac_cv_func_pthread_attr_getschedpolicy
=no
39533 rm -f conftest.err conftest.
$ac_objext \
39534 conftest
$ac_exeext conftest.
$ac_ext
39536 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39537 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39538 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39539 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39540 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39541 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39542 echo $ECHO_N "(cached) $ECHO_C" >&6
39544 cat >conftest.
$ac_ext <<_ACEOF
39547 cat confdefs.h
>>conftest.
$ac_ext
39548 cat >>conftest.
$ac_ext <<_ACEOF
39549 /* end confdefs.h. */
39550 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39552 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39554 /* System header to define __stub macros and hopefully few prototypes,
39555 which can conflict with char pthread_attr_setschedparam (); below.
39556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39557 <limits.h> exists even on freestanding compilers. */
39560 # include <limits.h>
39562 # include <assert.h>
39565 #undef pthread_attr_setschedparam
39567 /* Override any gcc2 internal prototype to avoid an error. */
39572 /* We use char because int might match the return type of a gcc2
39573 builtin and then its argument prototype would still apply. */
39574 char pthread_attr_setschedparam ();
39575 /* The GNU C library defines this for functions which it implements
39576 to always fail with ENOSYS. Some functions are actually named
39577 something starting with __ and the normal name is an alias. */
39578 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39581 char (*f) () = pthread_attr_setschedparam;
39590 return f != pthread_attr_setschedparam;
39595 rm -f conftest.
$ac_objext conftest
$ac_exeext
39596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39597 (eval $ac_link) 2>conftest.er1
39599 grep -v '^ *+' conftest.er1
>conftest.err
39601 cat conftest.err
>&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } &&
39604 { ac_try
='test -z "$ac_cxx_werror_flag"
39605 || test ! -s conftest.err'
39606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39607 (eval $ac_try) 2>&5
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); }; } &&
39611 { ac_try
='test -s conftest$ac_exeext'
39612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39613 (eval $ac_try) 2>&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); }; }; then
39617 ac_cv_func_pthread_attr_setschedparam
=yes
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.
$ac_ext >&5
39622 ac_cv_func_pthread_attr_setschedparam
=no
39624 rm -f conftest.err conftest.
$ac_objext \
39625 conftest
$ac_exeext conftest.
$ac_ext
39627 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39628 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39629 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39630 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39631 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39632 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39633 echo $ECHO_N "(cached) $ECHO_C" >&6
39635 cat >conftest.
$ac_ext <<_ACEOF
39638 cat confdefs.h
>>conftest.
$ac_ext
39639 cat >>conftest.
$ac_ext <<_ACEOF
39640 /* end confdefs.h. */
39641 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39643 #define sched_get_priority_max innocuous_sched_get_priority_max
39645 /* System header to define __stub macros and hopefully few prototypes,
39646 which can conflict with char sched_get_priority_max (); below.
39647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39648 <limits.h> exists even on freestanding compilers. */
39651 # include <limits.h>
39653 # include <assert.h>
39656 #undef sched_get_priority_max
39658 /* Override any gcc2 internal prototype to avoid an error. */
39663 /* We use char because int might match the return type of a gcc2
39664 builtin and then its argument prototype would still apply. */
39665 char sched_get_priority_max ();
39666 /* The GNU C library defines this for functions which it implements
39667 to always fail with ENOSYS. Some functions are actually named
39668 something starting with __ and the normal name is an alias. */
39669 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39672 char (*f) () = sched_get_priority_max;
39681 return f != sched_get_priority_max;
39686 rm -f conftest.
$ac_objext conftest
$ac_exeext
39687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39688 (eval $ac_link) 2>conftest.er1
39690 grep -v '^ *+' conftest.er1
>conftest.err
39692 cat conftest.err
>&5
39693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694 (exit $ac_status); } &&
39695 { ac_try
='test -z "$ac_cxx_werror_flag"
39696 || test ! -s conftest.err'
39697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39698 (eval $ac_try) 2>&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); }; } &&
39702 { ac_try
='test -s conftest$ac_exeext'
39703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704 (eval $ac_try) 2>&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); }; }; then
39708 ac_cv_func_sched_get_priority_max
=yes
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.
$ac_ext >&5
39713 ac_cv_func_sched_get_priority_max
=no
39715 rm -f conftest.err conftest.
$ac_objext \
39716 conftest
$ac_exeext conftest.
$ac_ext
39718 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39719 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39720 if test $ac_cv_func_sched_get_priority_max = yes; then
39723 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39724 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39725 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39728 ac_check_lib_save_LIBS
=$LIBS
39729 LIBS
="-lposix4 $LIBS"
39730 cat >conftest.
$ac_ext <<_ACEOF
39733 cat confdefs.h
>>conftest.
$ac_ext
39734 cat >>conftest.
$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39737 /* Override any gcc2 internal prototype to avoid an error. */
39741 /* We use char because int might match the return type of a gcc2
39742 builtin and then its argument prototype would still apply. */
39743 char sched_get_priority_max ();
39747 sched_get_priority_max ();
39752 rm -f conftest.
$ac_objext conftest
$ac_exeext
39753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39754 (eval $ac_link) 2>conftest.er1
39756 grep -v '^ *+' conftest.er1
>conftest.err
39758 cat conftest.err
>&5
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); } &&
39761 { ac_try
='test -z "$ac_cxx_werror_flag"
39762 || test ! -s conftest.err'
39763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764 (eval $ac_try) 2>&5
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; } &&
39768 { ac_try
='test -s conftest$ac_exeext'
39769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39770 (eval $ac_try) 2>&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); }; }; then
39774 ac_cv_lib_posix4_sched_get_priority_max
=yes
39776 echo "$as_me: failed program was:" >&5
39777 sed 's/^/| /' conftest.
$ac_ext >&5
39779 ac_cv_lib_posix4_sched_get_priority_max
=no
39781 rm -f conftest.err conftest.
$ac_objext \
39782 conftest
$ac_exeext conftest.
$ac_ext
39783 LIBS
=$ac_check_lib_save_LIBS
39785 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39786 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39787 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39790 POSIX4_LINK
=" -lposix4"
39804 if test "$HAVE_PRIOR_FUNCS" = 1; then
39805 cat >>confdefs.h
<<\_ACEOF
39806 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39810 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39811 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39814 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39815 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39816 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39817 echo $ECHO_N "(cached) $ECHO_C" >&6
39819 cat >conftest.
$ac_ext <<_ACEOF
39822 cat confdefs.h
>>conftest.
$ac_ext
39823 cat >>conftest.
$ac_ext <<_ACEOF
39824 /* end confdefs.h. */
39825 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39827 #define pthread_cancel innocuous_pthread_cancel
39829 /* System header to define __stub macros and hopefully few prototypes,
39830 which can conflict with char pthread_cancel (); below.
39831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39832 <limits.h> exists even on freestanding compilers. */
39835 # include <limits.h>
39837 # include <assert.h>
39840 #undef pthread_cancel
39842 /* Override any gcc2 internal prototype to avoid an error. */
39847 /* We use char because int might match the return type of a gcc2
39848 builtin and then its argument prototype would still apply. */
39849 char pthread_cancel ();
39850 /* The GNU C library defines this for functions which it implements
39851 to always fail with ENOSYS. Some functions are actually named
39852 something starting with __ and the normal name is an alias. */
39853 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39856 char (*f) () = pthread_cancel;
39865 return f != pthread_cancel;
39870 rm -f conftest.
$ac_objext conftest
$ac_exeext
39871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39872 (eval $ac_link) 2>conftest.er1
39874 grep -v '^ *+' conftest.er1
>conftest.err
39876 cat conftest.err
>&5
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); } &&
39879 { ac_try
='test -z "$ac_cxx_werror_flag"
39880 || test ! -s conftest.err'
39881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39882 (eval $ac_try) 2>&5
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); }; } &&
39886 { ac_try
='test -s conftest$ac_exeext'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; }; then
39892 ac_cv_func_pthread_cancel
=yes
39894 echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.
$ac_ext >&5
39897 ac_cv_func_pthread_cancel
=no
39899 rm -f conftest.err conftest.
$ac_objext \
39900 conftest
$ac_exeext conftest.
$ac_ext
39902 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39903 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39904 if test $ac_cv_func_pthread_cancel = yes; then
39905 cat >>confdefs.h
<<\_ACEOF
39906 #define HAVE_PTHREAD_CANCEL 1
39910 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39911 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39915 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39916 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39917 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39920 cat >conftest.
$ac_ext <<_ACEOF
39923 cat confdefs.h
>>conftest.
$ac_ext
39924 cat >>conftest.
$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39928 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39930 /* System header to define __stub macros and hopefully few prototypes,
39931 which can conflict with char pthread_attr_setstacksize (); below.
39932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39933 <limits.h> exists even on freestanding compilers. */
39936 # include <limits.h>
39938 # include <assert.h>
39941 #undef pthread_attr_setstacksize
39943 /* Override any gcc2 internal prototype to avoid an error. */
39948 /* We use char because int might match the return type of a gcc2
39949 builtin and then its argument prototype would still apply. */
39950 char pthread_attr_setstacksize ();
39951 /* The GNU C library defines this for functions which it implements
39952 to always fail with ENOSYS. Some functions are actually named
39953 something starting with __ and the normal name is an alias. */
39954 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39957 char (*f) () = pthread_attr_setstacksize;
39966 return f != pthread_attr_setstacksize;
39971 rm -f conftest.
$ac_objext conftest
$ac_exeext
39972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39973 (eval $ac_link) 2>conftest.er1
39975 grep -v '^ *+' conftest.er1
>conftest.err
39977 cat conftest.err
>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } &&
39980 { ac_try
='test -z "$ac_cxx_werror_flag"
39981 || test ! -s conftest.err'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; } &&
39987 { ac_try
='test -s conftest$ac_exeext'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; }; then
39993 ac_cv_func_pthread_attr_setstacksize
=yes
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.
$ac_ext >&5
39998 ac_cv_func_pthread_attr_setstacksize
=no
40000 rm -f conftest.err conftest.
$ac_objext \
40001 conftest
$ac_exeext conftest.
$ac_ext
40003 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40004 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40005 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40006 cat >>confdefs.h
<<\_ACEOF
40007 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40014 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40015 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40016 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40017 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 cat >conftest.
$ac_ext <<_ACEOF
40023 cat confdefs.h
>>conftest.
$ac_ext
40024 cat >>conftest.
$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 #include <pthread.h>
40031 pthread_mutexattr_t attr;
40032 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40038 rm -f conftest.
$ac_objext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40040 (eval $ac_compile) 2>conftest.er1
40042 grep -v '^ *+' conftest.er1
>conftest.err
40044 cat conftest.err
>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try
='test -z "$ac_cxx_werror_flag"
40048 || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try
='test -s conftest.$ac_objext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40060 wx_cv_type_pthread_mutexattr_t
=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.
$ac_ext >&5
40065 wx_cv_type_pthread_mutexattr_t
=no
40068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40071 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40072 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40074 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40075 cat >>confdefs.h
<<\_ACEOF
40076 #define HAVE_PTHREAD_MUTEXATTR_T 1
40080 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40081 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40082 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40083 echo $ECHO_N "(cached) $ECHO_C" >&6
40086 cat >conftest.
$ac_ext <<_ACEOF
40089 cat confdefs.h
>>conftest.
$ac_ext
40090 cat >>conftest.
$ac_ext <<_ACEOF
40091 /* end confdefs.h. */
40092 #include <pthread.h>
40097 pthread_mutexattr_t attr;
40098 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40104 rm -f conftest.
$ac_objext
40105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40106 (eval $ac_compile) 2>conftest.er1
40108 grep -v '^ *+' conftest.er1
>conftest.err
40110 cat conftest.err
>&5
40111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112 (exit $ac_status); } &&
40113 { ac_try
='test -z "$ac_cxx_werror_flag"
40114 || test ! -s conftest.err'
40115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40116 (eval $ac_try) 2>&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); }; } &&
40120 { ac_try
='test -s conftest.$ac_objext'
40121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40122 (eval $ac_try) 2>&5
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); }; }; then
40126 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40128 echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.
$ac_ext >&5
40131 wx_cv_func_pthread_mutexattr_settype_decl
=no
40134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40137 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40138 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40139 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40140 cat >>confdefs.h
<<\_ACEOF
40141 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40146 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40147 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40148 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40149 echo $ECHO_N "(cached) $ECHO_C" >&6
40152 cat >conftest.
$ac_ext <<_ACEOF
40155 cat confdefs.h
>>conftest.
$ac_ext
40156 cat >>conftest.
$ac_ext <<_ACEOF
40157 /* end confdefs.h. */
40158 #include <pthread.h>
40163 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40169 rm -f conftest.
$ac_objext
40170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40171 (eval $ac_compile) 2>conftest.er1
40173 grep -v '^ *+' conftest.er1
>conftest.err
40175 cat conftest.err
>&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } &&
40178 { ac_try
='test -z "$ac_cxx_werror_flag"
40179 || test ! -s conftest.err'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; } &&
40185 { ac_try
='test -s conftest.$ac_objext'
40186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40187 (eval $ac_try) 2>&5
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); }; }; then
40192 wx_cv_type_pthread_rec_mutex_init
=yes
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.
$ac_ext >&5
40199 wx_cv_type_pthread_rec_mutex_init
=no
40203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40206 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40207 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40208 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40209 cat >>confdefs.h
<<\_ACEOF
40210 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40214 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40215 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40221 if test "$wxUSE_THREADS" = "yes" ; then
40224 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40225 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40226 if test "${wx_cv_cflags_mthread+set}" = set; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40230 CXXFLAGS_OLD
="$CXXFLAGS"
40231 CXXFLAGS
="-mthreads $CXXFLAGS"
40232 cat >conftest.
$ac_ext <<_ACEOF
40235 cat confdefs.h
>>conftest.
$ac_ext
40236 cat >>conftest.
$ac_ext <<_ACEOF
40237 /* end confdefs.h. */
40247 rm -f conftest.
$ac_objext
40248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40249 (eval $ac_compile) 2>conftest.er1
40251 grep -v '^ *+' conftest.er1
>conftest.err
40253 cat conftest.err
>&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } &&
40256 { ac_try
='test -z "$ac_cxx_werror_flag"
40257 || test ! -s conftest.err'
40258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40259 (eval $ac_try) 2>&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); }; } &&
40263 { ac_try
='test -s conftest.$ac_objext'
40264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40265 (eval $ac_try) 2>&5
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); }; }; then
40269 wx_cv_cflags_mthread
=yes
40271 echo "$as_me: failed program was:" >&5
40272 sed 's/^/| /' conftest.
$ac_ext >&5
40274 wx_cv_cflags_mthread
=no
40277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40281 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40282 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40284 if test "$wx_cv_cflags_mthread" = "yes"; then
40285 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40286 LDFLAGS
="$LDFLAGS -mthreads"
40288 CXXFLAGS
="$CXXFLAGS_OLD"
40292 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40293 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40294 LDFLAGS
="$LDFLAGS -Zmt"
40300 echo "$as_me:$LINENO: checking for localtime_r" >&5
40301 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40302 if test "${ac_cv_func_localtime_r+set}" = set; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 cat >conftest.
$ac_ext <<_ACEOF
40308 cat confdefs.h
>>conftest.
$ac_ext
40309 cat >>conftest.
$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40313 #define localtime_r innocuous_localtime_r
40315 /* System header to define __stub macros and hopefully few prototypes,
40316 which can conflict with char localtime_r (); below.
40317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40318 <limits.h> exists even on freestanding compilers. */
40321 # include <limits.h>
40323 # include <assert.h>
40328 /* Override any gcc2 internal prototype to avoid an error. */
40333 /* We use char because int might match the return type of a gcc2
40334 builtin and then its argument prototype would still apply. */
40335 char localtime_r ();
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40342 char (*f) () = localtime_r;
40351 return f != localtime_r;
40356 rm -f conftest.
$ac_objext conftest
$ac_exeext
40357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40358 (eval $ac_link) 2>conftest.er1
40360 grep -v '^ *+' conftest.er1
>conftest.err
40362 cat conftest.err
>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } &&
40365 { ac_try
='test -z "$ac_cxx_werror_flag"
40366 || test ! -s conftest.err'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; } &&
40372 { ac_try
='test -s conftest$ac_exeext'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; }; then
40378 ac_cv_func_localtime_r
=yes
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.
$ac_ext >&5
40383 ac_cv_func_localtime_r
=no
40385 rm -f conftest.err conftest.
$ac_objext \
40386 conftest
$ac_exeext conftest.
$ac_ext
40388 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40389 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40390 if test $ac_cv_func_localtime_r = yes; then
40391 cat >>confdefs.h
<<\_ACEOF
40392 #define HAVE_LOCALTIME_R 1
40397 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40398 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40399 if test "${ac_cv_func_gmtime_r+set}" = set; then
40400 echo $ECHO_N "(cached) $ECHO_C" >&6
40402 cat >conftest.
$ac_ext <<_ACEOF
40405 cat confdefs.h
>>conftest.
$ac_ext
40406 cat >>conftest.
$ac_ext <<_ACEOF
40407 /* end confdefs.h. */
40408 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40410 #define gmtime_r innocuous_gmtime_r
40412 /* System header to define __stub macros and hopefully few prototypes,
40413 which can conflict with char gmtime_r (); below.
40414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40415 <limits.h> exists even on freestanding compilers. */
40418 # include <limits.h>
40420 # include <assert.h>
40425 /* Override any gcc2 internal prototype to avoid an error. */
40430 /* We use char because int might match the return type of a gcc2
40431 builtin and then its argument prototype would still apply. */
40433 /* The GNU C library defines this for functions which it implements
40434 to always fail with ENOSYS. Some functions are actually named
40435 something starting with __ and the normal name is an alias. */
40436 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40439 char (*f) () = gmtime_r;
40448 return f != gmtime_r;
40453 rm -f conftest.
$ac_objext conftest
$ac_exeext
40454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40455 (eval $ac_link) 2>conftest.er1
40457 grep -v '^ *+' conftest.er1
>conftest.err
40459 cat conftest.err
>&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } &&
40462 { ac_try
='test -z "$ac_cxx_werror_flag"
40463 || test ! -s conftest.err'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; } &&
40469 { ac_try
='test -s conftest$ac_exeext'
40470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40471 (eval $ac_try) 2>&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); }; }; then
40475 ac_cv_func_gmtime_r
=yes
40477 echo "$as_me: failed program was:" >&5
40478 sed 's/^/| /' conftest.
$ac_ext >&5
40480 ac_cv_func_gmtime_r
=no
40482 rm -f conftest.err conftest.
$ac_objext \
40483 conftest
$ac_exeext conftest.
$ac_ext
40485 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40486 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40487 if test $ac_cv_func_gmtime_r = yes; then
40488 cat >>confdefs.h
<<\_ACEOF
40489 #define HAVE_GMTIME_R 1
40494 echo "$as_me:$LINENO: checking for readdir_r" >&5
40495 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40496 if test "${ac_cv_func_readdir_r+set}" = set; then
40497 echo $ECHO_N "(cached) $ECHO_C" >&6
40499 cat >conftest.
$ac_ext <<_ACEOF
40502 cat confdefs.h
>>conftest.
$ac_ext
40503 cat >>conftest.
$ac_ext <<_ACEOF
40504 /* end confdefs.h. */
40505 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40507 #define readdir_r innocuous_readdir_r
40509 /* System header to define __stub macros and hopefully few prototypes,
40510 which can conflict with char readdir_r (); below.
40511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40512 <limits.h> exists even on freestanding compilers. */
40515 # include <limits.h>
40517 # include <assert.h>
40522 /* Override any gcc2 internal prototype to avoid an error. */
40527 /* We use char because int might match the return type of a gcc2
40528 builtin and then its argument prototype would still apply. */
40530 /* The GNU C library defines this for functions which it implements
40531 to always fail with ENOSYS. Some functions are actually named
40532 something starting with __ and the normal name is an alias. */
40533 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40536 char (*f) () = readdir_r;
40545 return f != readdir_r;
40550 rm -f conftest.
$ac_objext conftest
$ac_exeext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40552 (eval $ac_link) 2>conftest.er1
40554 grep -v '^ *+' conftest.er1
>conftest.err
40556 cat conftest.err
>&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try
='test -z "$ac_cxx_werror_flag"
40560 || test ! -s conftest.err'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; } &&
40566 { ac_try
='test -s conftest$ac_exeext'
40567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40568 (eval $ac_try) 2>&5
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); }; }; then
40572 ac_cv_func_readdir_r
=yes
40574 echo "$as_me: failed program was:" >&5
40575 sed 's/^/| /' conftest.
$ac_ext >&5
40577 ac_cv_func_readdir_r
=no
40579 rm -f conftest.err conftest.
$ac_objext \
40580 conftest
$ac_exeext conftest.
$ac_ext
40582 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40583 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40584 if test $ac_cv_func_readdir_r = yes; then
40585 cat >>confdefs.h
<<\_ACEOF
40586 #define HAVE_READDIR_R 1
40595 ac_cpp
='$CPP $CPPFLAGS'
40596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40600 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40601 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40603 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40604 echo $ECHO_N "(cached) $ECHO_C" >&6
40608 ################################################################
40610 ac_cv_func_which_gethostbyname_r
=unknown
40613 # ONE ARGUMENT (sanity check)
40616 # This should fail, as there is no variant of gethostbyname_r() that takes
40617 # a single argument. If it actually compiles, then we can assume that
40618 # netdb.h is not declaring the function, and the compiler is thereby
40619 # assuming an implicit prototype. In which case, we're out of luck.
40621 cat >conftest.
$ac_ext <<_ACEOF
40624 cat confdefs.h
>>conftest.
$ac_ext
40625 cat >>conftest.
$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40632 char *name = "www.gnu.org";
40633 (void)gethostbyname_r(name) /* ; */
40639 rm -f conftest.
$ac_objext
40640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40641 (eval $ac_compile) 2>conftest.er1
40643 grep -v '^ *+' conftest.er1
>conftest.err
40645 cat conftest.err
>&5
40646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647 (exit $ac_status); } &&
40648 { ac_try
='test -z "$ac_c_werror_flag"
40649 || test ! -s conftest.err'
40650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40651 (eval $ac_try) 2>&5
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); }; } &&
40655 { ac_try
='test -s conftest.$ac_objext'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; }; then
40661 ac_cv_func_which_gethostbyname_r
=no
40663 echo "$as_me: failed program was:" >&5
40664 sed 's/^/| /' conftest.
$ac_ext >&5
40667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40674 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40676 cat >conftest.
$ac_ext <<_ACEOF
40679 cat confdefs.h
>>conftest.
$ac_ext
40680 cat >>conftest.
$ac_ext <<_ACEOF
40681 /* end confdefs.h. */
40687 char *name = "www.gnu.org";
40688 struct hostent ret, *retp;
40692 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40698 rm -f conftest.
$ac_objext
40699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40700 (eval $ac_compile) 2>conftest.er1
40702 grep -v '^ *+' conftest.er1
>conftest.err
40704 cat conftest.err
>&5
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); } &&
40707 { ac_try
='test -z "$ac_c_werror_flag"
40708 || test ! -s conftest.err'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; } &&
40714 { ac_try
='test -s conftest.$ac_objext'
40715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40716 (eval $ac_try) 2>&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); }; }; then
40720 ac_cv_func_which_gethostbyname_r
=six
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.
$ac_ext >&5
40726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40735 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40737 cat >conftest.
$ac_ext <<_ACEOF
40740 cat confdefs.h
>>conftest.
$ac_ext
40741 cat >>conftest.
$ac_ext <<_ACEOF
40742 /* end confdefs.h. */
40748 char *name = "www.gnu.org";
40749 struct hostent ret;
40753 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40759 rm -f conftest.
$ac_objext
40760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40761 (eval $ac_compile) 2>conftest.er1
40763 grep -v '^ *+' conftest.er1
>conftest.err
40765 cat conftest.err
>&5
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); } &&
40768 { ac_try
='test -z "$ac_c_werror_flag"
40769 || test ! -s conftest.err'
40770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40771 (eval $ac_try) 2>&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); }; } &&
40775 { ac_try
='test -s conftest.$ac_objext'
40776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40777 (eval $ac_try) 2>&5
40779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780 (exit $ac_status); }; }; then
40781 ac_cv_func_which_gethostbyname_r
=five
40783 echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.
$ac_ext >&5
40787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40793 # (e.g. AIX, HP-UX, Tru64)
40796 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40798 cat >conftest.
$ac_ext <<_ACEOF
40801 cat confdefs.h
>>conftest.
$ac_ext
40802 cat >>conftest.
$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40809 char *name = "www.gnu.org";
40810 struct hostent ret;
40811 struct hostent_data data;
40812 (void)gethostbyname_r(name, &ret, &data) /* ; */
40818 rm -f conftest.
$ac_objext
40819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40820 (eval $ac_compile) 2>conftest.er1
40822 grep -v '^ *+' conftest.er1
>conftest.err
40824 cat conftest.err
>&5
40825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40826 (exit $ac_status); } &&
40827 { ac_try
='test -z "$ac_c_werror_flag"
40828 || test ! -s conftest.err'
40829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40830 (eval $ac_try) 2>&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); }; } &&
40834 { ac_try
='test -s conftest.$ac_objext'
40835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40836 (eval $ac_try) 2>&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); }; }; then
40840 ac_cv_func_which_gethostbyname_r
=three
40842 echo "$as_me: failed program was:" >&5
40843 sed 's/^/| /' conftest.
$ac_ext >&5
40846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40850 ################################################################
40855 case "$ac_cv_func_which_gethostbyname_r" in
40857 echo "$as_me:$LINENO: result: three" >&5
40858 echo "${ECHO_T}three" >&6
40859 cat >>confdefs.h
<<\_ACEOF
40860 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40866 echo "$as_me:$LINENO: result: five" >&5
40867 echo "${ECHO_T}five" >&6
40868 cat >>confdefs.h
<<\_ACEOF
40869 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40875 echo "$as_me:$LINENO: result: six" >&5
40876 echo "${ECHO_T}six" >&6
40877 cat >>confdefs.h
<<\_ACEOF
40878 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40884 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40885 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40889 echo "$as_me:$LINENO: result: can't tell" >&5
40890 echo "${ECHO_T}can't tell" >&6
40894 { { echo "$as_me:$LINENO: error: internal error" >&5
40895 echo "$as_me: error: internal error" >&2;}
40896 { (exit 1); exit 1; }; }
40901 ac_cpp
='$CXXCPP $CPPFLAGS'
40902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40908 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40909 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40910 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40911 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40912 if test "${ac_cv_func_gethostbyname+set}" = set; then
40913 echo $ECHO_N "(cached) $ECHO_C" >&6
40915 cat >conftest.
$ac_ext <<_ACEOF
40918 cat confdefs.h
>>conftest.
$ac_ext
40919 cat >>conftest.
$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40921 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40923 #define gethostbyname innocuous_gethostbyname
40925 /* System header to define __stub macros and hopefully few prototypes,
40926 which can conflict with char gethostbyname (); below.
40927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40928 <limits.h> exists even on freestanding compilers. */
40931 # include <limits.h>
40933 # include <assert.h>
40936 #undef gethostbyname
40938 /* Override any gcc2 internal prototype to avoid an error. */
40943 /* We use char because int might match the return type of a gcc2
40944 builtin and then its argument prototype would still apply. */
40945 char gethostbyname ();
40946 /* The GNU C library defines this for functions which it implements
40947 to always fail with ENOSYS. Some functions are actually named
40948 something starting with __ and the normal name is an alias. */
40949 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40952 char (*f) () = gethostbyname;
40961 return f != gethostbyname;
40966 rm -f conftest.
$ac_objext conftest
$ac_exeext
40967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40968 (eval $ac_link) 2>conftest.er1
40970 grep -v '^ *+' conftest.er1
>conftest.err
40972 cat conftest.err
>&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } &&
40975 { ac_try
='test -z "$ac_cxx_werror_flag"
40976 || test ! -s conftest.err'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; } &&
40982 { ac_try
='test -s conftest$ac_exeext'
40983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40984 (eval $ac_try) 2>&5
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); }; }; then
40988 ac_cv_func_gethostbyname
=yes
40990 echo "$as_me: failed program was:" >&5
40991 sed 's/^/| /' conftest.
$ac_ext >&5
40993 ac_cv_func_gethostbyname
=no
40995 rm -f conftest.err conftest.
$ac_objext \
40996 conftest
$ac_exeext conftest.
$ac_ext
40998 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40999 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41000 if test $ac_cv_func_gethostbyname = yes; then
41001 cat >>confdefs.h
<<\_ACEOF
41002 #define HAVE_GETHOSTBYNAME 1
41008 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
41009 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
41010 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41011 echo $ECHO_N "(cached) $ECHO_C" >&6
41014 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
41015 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
41016 if test "${ac_cv_func_getservbyname_r+set}" = set; then
41017 echo $ECHO_N "(cached) $ECHO_C" >&6
41019 cat >conftest.
$ac_ext <<_ACEOF
41022 cat confdefs.h
>>conftest.
$ac_ext
41023 cat >>conftest.
$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
41026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41027 #define getservbyname_r innocuous_getservbyname_r
41029 /* System header to define __stub macros and hopefully few prototypes,
41030 which can conflict with char getservbyname_r (); below.
41031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41032 <limits.h> exists even on freestanding compilers. */
41035 # include <limits.h>
41037 # include <assert.h>
41040 #undef getservbyname_r
41042 /* Override any gcc2 internal prototype to avoid an error. */
41047 /* We use char because int might match the return type of a gcc2
41048 builtin and then its argument prototype would still apply. */
41049 char getservbyname_r ();
41050 /* The GNU C library defines this for functions which it implements
41051 to always fail with ENOSYS. Some functions are actually named
41052 something starting with __ and the normal name is an alias. */
41053 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
41056 char (*f) () = getservbyname_r;
41065 return f != getservbyname_r;
41070 rm -f conftest.
$ac_objext conftest
$ac_exeext
41071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41072 (eval $ac_link) 2>conftest.er1
41074 grep -v '^ *+' conftest.er1
>conftest.err
41076 cat conftest.err
>&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } &&
41079 { ac_try
='test -z "$ac_cxx_werror_flag"
41080 || test ! -s conftest.err'
41081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082 (eval $ac_try) 2>&5
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); }; } &&
41086 { ac_try
='test -s conftest$ac_exeext'
41087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41088 (eval $ac_try) 2>&5
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); }; }; then
41092 ac_cv_func_getservbyname_r
=yes
41094 echo "$as_me: failed program was:" >&5
41095 sed 's/^/| /' conftest.
$ac_ext >&5
41097 ac_cv_func_getservbyname_r
=no
41099 rm -f conftest.err conftest.
$ac_objext \
41100 conftest
$ac_exeext conftest.
$ac_ext
41102 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
41103 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
41104 if test $ac_cv_func_getservbyname_r = yes; then
41106 cat >conftest.
$ac_ext <<_ACEOF
41109 cat confdefs.h
>>conftest.
$ac_ext
41110 cat >>conftest.
$ac_ext <<_ACEOF
41111 /* end confdefs.h. */
41113 # include <netdb.h>
41122 struct servent *se;
41123 struct servent_data data;
41124 (void) getservbyname_r(name, proto, se, &data);
41131 rm -f conftest.
$ac_objext
41132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41133 (eval $ac_compile) 2>conftest.er1
41135 grep -v '^ *+' conftest.er1
>conftest.err
41137 cat conftest.err
>&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } &&
41140 { ac_try
='test -z "$ac_cxx_werror_flag"
41141 || test ! -s conftest.err'
41142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41143 (eval $ac_try) 2>&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); }; } &&
41147 { ac_try
='test -s conftest.$ac_objext'
41148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41149 (eval $ac_try) 2>&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); }; }; then
41153 ac_cv_func_which_getservbyname_r
=four
41155 echo "$as_me: failed program was:" >&5
41156 sed 's/^/| /' conftest.
$ac_ext >&5
41159 cat >conftest.
$ac_ext <<_ACEOF
41162 cat confdefs.h
>>conftest.
$ac_ext
41163 cat >>conftest.
$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41166 # include <netdb.h>
41174 struct servent *se, *res;
41177 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41183 rm -f conftest.
$ac_objext
41184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41185 (eval $ac_compile) 2>conftest.er1
41187 grep -v '^ *+' conftest.er1
>conftest.err
41189 cat conftest.err
>&5
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } &&
41192 { ac_try
='test -z "$ac_cxx_werror_flag"
41193 || test ! -s conftest.err'
41194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195 (eval $ac_try) 2>&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); }; } &&
41199 { ac_try
='test -s conftest.$ac_objext'
41200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41201 (eval $ac_try) 2>&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); }; }; then
41205 ac_cv_func_which_getservbyname_r
=six
41207 echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.
$ac_ext >&5
41211 cat >conftest.
$ac_ext <<_ACEOF
41214 cat confdefs.h
>>conftest.
$ac_ext
41215 cat >>conftest.
$ac_ext <<_ACEOF
41216 /* end confdefs.h. */
41218 # include <netdb.h>
41226 struct servent *se;
41229 (void) getservbyname_r(name, proto, se, buffer, buflen)
41235 rm -f conftest.
$ac_objext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41237 (eval $ac_compile) 2>conftest.er1
41239 grep -v '^ *+' conftest.er1
>conftest.err
41241 cat conftest.err
>&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); } &&
41244 { ac_try
='test -z "$ac_cxx_werror_flag"
41245 || test ! -s conftest.err'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; } &&
41251 { ac_try
='test -s conftest.$ac_objext'
41252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253 (eval $ac_try) 2>&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); }; }; then
41257 ac_cv_func_which_getservbyname_r
=five
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.
$ac_ext >&5
41262 ac_cv_func_which_getservbyname_r
=no
41264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41277 ac_cv_func_which_getservbyname_r
=no
41281 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41282 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41284 if test $ac_cv_func_which_getservbyname_r = six
; then
41285 cat >>confdefs.h
<<\_ACEOF
41286 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41289 elif test $ac_cv_func_which_getservbyname_r = five
; then
41290 cat >>confdefs.h
<<\_ACEOF
41291 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41294 elif test $ac_cv_func_which_getservbyname_r = four
; then
41295 cat >>confdefs.h
<<\_ACEOF
41296 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41303 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41304 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41306 for ac_func
in getservbyname
41308 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41309 echo "$as_me:$LINENO: checking for $ac_func" >&5
41310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41311 if eval "test \"\${$as_ac_var+set}\" = set"; then
41312 echo $ECHO_N "(cached) $ECHO_C" >&6
41314 cat >conftest.
$ac_ext <<_ACEOF
41317 cat confdefs.h
>>conftest.
$ac_ext
41318 cat >>conftest.
$ac_ext <<_ACEOF
41319 /* end confdefs.h. */
41320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41322 #define $ac_func innocuous_$ac_func
41324 /* System header to define __stub macros and hopefully few prototypes,
41325 which can conflict with char $ac_func (); below.
41326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41327 <limits.h> exists even on freestanding compilers. */
41330 # include <limits.h>
41332 # include <assert.h>
41337 /* Override any gcc2 internal prototype to avoid an error. */
41342 /* We use char because int might match the return type of a gcc2
41343 builtin and then its argument prototype would still apply. */
41345 /* The GNU C library defines this for functions which it implements
41346 to always fail with ENOSYS. Some functions are actually named
41347 something starting with __ and the normal name is an alias. */
41348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41351 char (*f) () = $ac_func;
41360 return f != $ac_func;
41365 rm -f conftest.
$ac_objext conftest
$ac_exeext
41366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41367 (eval $ac_link) 2>conftest.er1
41369 grep -v '^ *+' conftest.er1
>conftest.err
41371 cat conftest.err
>&5
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); } &&
41374 { ac_try
='test -z "$ac_cxx_werror_flag"
41375 || test ! -s conftest.err'
41376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41377 (eval $ac_try) 2>&5
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); }; } &&
41381 { ac_try
='test -s conftest$ac_exeext'
41382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41383 (eval $ac_try) 2>&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); }; }; then
41387 eval "$as_ac_var=yes"
41389 echo "$as_me: failed program was:" >&5
41390 sed 's/^/| /' conftest.
$ac_ext >&5
41392 eval "$as_ac_var=no"
41394 rm -f conftest.err conftest.
$ac_objext \
41395 conftest
$ac_exeext conftest.
$ac_ext
41397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41399 if test `eval echo '${'$as_ac_var'}'` = yes; then
41400 cat >>confdefs.h
<<_ACEOF
41401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41403 cat >>confdefs.h
<<\_ACEOF
41404 #define HAVE_GETSERVBYNAME 1
41412 if test "$wxUSE_THREADS" = "yes"; then
41413 cat >>confdefs.h
<<\_ACEOF
41414 #define wxUSE_THREADS 1
41418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41420 if test "$wx_cv_func_strtok_r" = "yes"; then
41421 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41422 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41423 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41424 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41425 echo "$as_me:$LINENO: result: yes" >&5
41426 echo "${ECHO_T}yes" >&6
41428 echo "$as_me:$LINENO: result: no" >&5
41429 echo "${ECHO_T}no" >&6
41434 if test "$WXGTK20" = 1 ; then
41435 cat >>confdefs.h
<<_ACEOF
41436 #define __WXGTK20__ $WXGTK20
41442 if test "$WXGTK12" = 1 ; then
41443 cat >>confdefs.h
<<_ACEOF
41444 #define __WXGTK12__ $WXGTK12
41449 if test "$WXGTK127" = 1 ; then
41450 cat >>confdefs.h
<<_ACEOF
41451 #define __WXGTK127__ $WXGTK127
41456 if test "$WXGPE" = 1 ; then
41457 cat >>confdefs.h
<<_ACEOF
41458 #define __WXGPE__ $WXGPE
41464 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41469 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41470 wxUSE_DEBUG_INFO
=yes
41471 if test "$GCC" = yes; then
41472 DEBUG_CFLAGS
="-ggdb"
41476 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41477 cat >>confdefs.h
<<\_ACEOF
41481 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41483 if test "$wxUSE_GTK" = 1 ; then
41484 if test "x$wxGTK_VERSION" = "x1" ; then
41485 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41490 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41491 cat >>confdefs.h
<<\_ACEOF
41492 #define wxUSE_MEMORY_TRACING 1
41495 cat >>confdefs.h
<<\_ACEOF
41496 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41499 cat >>confdefs.h
<<\_ACEOF
41500 #define wxUSE_DEBUG_NEW_ALWAYS 1
41503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41506 if test "$wxUSE_DMALLOC" = "yes" ; then
41507 DMALLOC_LIBS
="-ldmallocthcxx"
41511 if test "$wxUSE_PROFILE" = "yes" ; then
41512 PROFILE_FLAGS
=" -pg"
41515 if test "$GCC" = "yes" ; then
41516 if test "$wxUSE_NO_RTTI" = "yes" ; then
41517 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41519 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41520 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41522 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41523 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41528 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41531 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41537 if test "$wxUSE_OPTIMISE" = "no" ; then
41538 if test "$GCC" = yes ; then
41539 OPTIMISE_CFLAGS
="-O0"
41542 if test "$GCC" = yes ; then
41544 *-pc-os2_emx | *-pc-os2-emx )
41545 OPTIMISE_CFLAGS
="-O2"
41548 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41552 OPTIMISE_CFLAGS
="-O"
41557 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41558 cat >>confdefs.h
<<\_ACEOF
41559 #define WXWIN_COMPATIBILITY_2_4 1
41563 WXWIN_COMPATIBILITY_2_6
="yes"
41566 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41567 cat >>confdefs.h
<<\_ACEOF
41568 #define WXWIN_COMPATIBILITY_2_6 1
41574 if test "$wxUSE_GUI" = "yes"; then
41575 cat >>confdefs.h
<<\_ACEOF
41576 #define wxUSE_GUI 1
41583 if test "$wxUSE_UNIX" = "yes"; then
41584 cat >>confdefs.h
<<\_ACEOF
41585 #define wxUSE_UNIX 1
41591 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41595 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41596 if test "$USE_DARWIN" = 1; then
41598 elif test "$USE_DOS" = 1; then
41602 for ac_func
in dlopen
41604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41605 echo "$as_me:$LINENO: checking for $ac_func" >&5
41606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41607 if eval "test \"\${$as_ac_var+set}\" = set"; then
41608 echo $ECHO_N "(cached) $ECHO_C" >&6
41610 cat >conftest.
$ac_ext <<_ACEOF
41613 cat confdefs.h
>>conftest.
$ac_ext
41614 cat >>conftest.
$ac_ext <<_ACEOF
41615 /* end confdefs.h. */
41616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41618 #define $ac_func innocuous_$ac_func
41620 /* System header to define __stub macros and hopefully few prototypes,
41621 which can conflict with char $ac_func (); below.
41622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41623 <limits.h> exists even on freestanding compilers. */
41626 # include <limits.h>
41628 # include <assert.h>
41633 /* Override any gcc2 internal prototype to avoid an error. */
41638 /* We use char because int might match the return type of a gcc2
41639 builtin and then its argument prototype would still apply. */
41641 /* The GNU C library defines this for functions which it implements
41642 to always fail with ENOSYS. Some functions are actually named
41643 something starting with __ and the normal name is an alias. */
41644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41647 char (*f) () = $ac_func;
41656 return f != $ac_func;
41661 rm -f conftest.
$ac_objext conftest
$ac_exeext
41662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41663 (eval $ac_link) 2>conftest.er1
41665 grep -v '^ *+' conftest.er1
>conftest.err
41667 cat conftest.err
>&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); } &&
41670 { ac_try
='test -z "$ac_cxx_werror_flag"
41671 || test ! -s conftest.err'
41672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41673 (eval $ac_try) 2>&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); }; } &&
41677 { ac_try
='test -s conftest$ac_exeext'
41678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41679 (eval $ac_try) 2>&5
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); }; }; then
41683 eval "$as_ac_var=yes"
41685 echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.
$ac_ext >&5
41688 eval "$as_ac_var=no"
41690 rm -f conftest.err conftest.
$ac_objext \
41691 conftest
$ac_exeext conftest.
$ac_ext
41693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41695 if test `eval echo '${'$as_ac_var'}'` = yes; then
41696 cat >>confdefs.h
<<_ACEOF
41697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41700 cat >>confdefs.h
<<\_ACEOF
41701 #define HAVE_DLOPEN 1
41708 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41709 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41710 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41713 ac_check_lib_save_LIBS
=$LIBS
41715 cat >conftest.
$ac_ext <<_ACEOF
41718 cat confdefs.h
>>conftest.
$ac_ext
41719 cat >>conftest.
$ac_ext <<_ACEOF
41720 /* end confdefs.h. */
41722 /* Override any gcc2 internal prototype to avoid an error. */
41726 /* We use char because int might match the return type of a gcc2
41727 builtin and then its argument prototype would still apply. */
41737 rm -f conftest.
$ac_objext conftest
$ac_exeext
41738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41739 (eval $ac_link) 2>conftest.er1
41741 grep -v '^ *+' conftest.er1
>conftest.err
41743 cat conftest.err
>&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } &&
41746 { ac_try
='test -z "$ac_cxx_werror_flag"
41747 || test ! -s conftest.err'
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); }; } &&
41753 { ac_try
='test -s conftest$ac_exeext'
41754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41755 (eval $ac_try) 2>&5
41757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41758 (exit $ac_status); }; }; then
41759 ac_cv_lib_dl_dlopen
=yes
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.
$ac_ext >&5
41764 ac_cv_lib_dl_dlopen
=no
41766 rm -f conftest.err conftest.
$ac_objext \
41767 conftest
$ac_exeext conftest.
$ac_ext
41768 LIBS
=$ac_check_lib_save_LIBS
41770 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41771 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41772 if test $ac_cv_lib_dl_dlopen = yes; then
41774 cat >>confdefs.h
<<\_ACEOF
41775 #define HAVE_DLOPEN 1
41779 DL_LINK
=" -ldl$DL_LINK"
41784 for ac_func
in shl_load
41786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41787 echo "$as_me:$LINENO: checking for $ac_func" >&5
41788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41789 if eval "test \"\${$as_ac_var+set}\" = set"; then
41790 echo $ECHO_N "(cached) $ECHO_C" >&6
41792 cat >conftest.
$ac_ext <<_ACEOF
41795 cat confdefs.h
>>conftest.
$ac_ext
41796 cat >>conftest.
$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41800 #define $ac_func innocuous_$ac_func
41802 /* System header to define __stub macros and hopefully few prototypes,
41803 which can conflict with char $ac_func (); below.
41804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41805 <limits.h> exists even on freestanding compilers. */
41808 # include <limits.h>
41810 # include <assert.h>
41815 /* Override any gcc2 internal prototype to avoid an error. */
41820 /* We use char because int might match the return type of a gcc2
41821 builtin and then its argument prototype would still apply. */
41823 /* The GNU C library defines this for functions which it implements
41824 to always fail with ENOSYS. Some functions are actually named
41825 something starting with __ and the normal name is an alias. */
41826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41829 char (*f) () = $ac_func;
41838 return f != $ac_func;
41843 rm -f conftest.
$ac_objext conftest
$ac_exeext
41844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41845 (eval $ac_link) 2>conftest.er1
41847 grep -v '^ *+' conftest.er1
>conftest.err
41849 cat conftest.err
>&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } &&
41852 { ac_try
='test -z "$ac_cxx_werror_flag"
41853 || test ! -s conftest.err'
41854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41855 (eval $ac_try) 2>&5
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); }; } &&
41859 { ac_try
='test -s conftest$ac_exeext'
41860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41861 (eval $ac_try) 2>&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); }; }; then
41865 eval "$as_ac_var=yes"
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.
$ac_ext >&5
41870 eval "$as_ac_var=no"
41872 rm -f conftest.err conftest.
$ac_objext \
41873 conftest
$ac_exeext conftest.
$ac_ext
41875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41877 if test `eval echo '${'$as_ac_var'}'` = yes; then
41878 cat >>confdefs.h
<<_ACEOF
41879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41882 cat >>confdefs.h
<<\_ACEOF
41883 #define HAVE_SHL_LOAD 1
41890 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41891 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41892 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41893 echo $ECHO_N "(cached) $ECHO_C" >&6
41895 ac_check_lib_save_LIBS
=$LIBS
41896 LIBS
="-lshl_load $LIBS"
41897 cat >conftest.
$ac_ext <<_ACEOF
41900 cat confdefs.h
>>conftest.
$ac_ext
41901 cat >>conftest.
$ac_ext <<_ACEOF
41902 /* end confdefs.h. */
41904 /* Override any gcc2 internal prototype to avoid an error. */
41908 /* We use char because int might match the return type of a gcc2
41909 builtin and then its argument prototype would still apply. */
41919 rm -f conftest.
$ac_objext conftest
$ac_exeext
41920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41921 (eval $ac_link) 2>conftest.er1
41923 grep -v '^ *+' conftest.er1
>conftest.err
41925 cat conftest.err
>&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } &&
41928 { ac_try
='test -z "$ac_cxx_werror_flag"
41929 || test ! -s conftest.err'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; } &&
41935 { ac_try
='test -s conftest$ac_exeext'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; }; then
41941 ac_cv_lib_shl_load_dld
=yes
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.
$ac_ext >&5
41946 ac_cv_lib_shl_load_dld
=no
41948 rm -f conftest.err conftest.
$ac_objext \
41949 conftest
$ac_exeext conftest.
$ac_ext
41950 LIBS
=$ac_check_lib_save_LIBS
41952 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41953 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41954 if test $ac_cv_lib_shl_load_dld = yes; then
41957 DL_LINK
=" -ldld$DL_LINK"
41973 if test "$HAVE_DL_FUNCS" = 1; then
41975 for ac_func
in dlerror
41977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41978 echo "$as_me:$LINENO: checking for $ac_func" >&5
41979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41980 if eval "test \"\${$as_ac_var+set}\" = set"; then
41981 echo $ECHO_N "(cached) $ECHO_C" >&6
41983 cat >conftest.
$ac_ext <<_ACEOF
41986 cat confdefs.h
>>conftest.
$ac_ext
41987 cat >>conftest.
$ac_ext <<_ACEOF
41988 /* end confdefs.h. */
41989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41991 #define $ac_func innocuous_$ac_func
41993 /* System header to define __stub macros and hopefully few prototypes,
41994 which can conflict with char $ac_func (); below.
41995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41996 <limits.h> exists even on freestanding compilers. */
41999 # include <limits.h>
42001 # include <assert.h>
42006 /* Override any gcc2 internal prototype to avoid an error. */
42011 /* We use char because int might match the return type of a gcc2
42012 builtin and then its argument prototype would still apply. */
42014 /* The GNU C library defines this for functions which it implements
42015 to always fail with ENOSYS. Some functions are actually named
42016 something starting with __ and the normal name is an alias. */
42017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42020 char (*f) () = $ac_func;
42029 return f != $ac_func;
42034 rm -f conftest.
$ac_objext conftest
$ac_exeext
42035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42036 (eval $ac_link) 2>conftest.er1
42038 grep -v '^ *+' conftest.er1
>conftest.err
42040 cat conftest.err
>&5
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); } &&
42043 { ac_try
='test -z "$ac_cxx_werror_flag"
42044 || test ! -s conftest.err'
42045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42046 (eval $ac_try) 2>&5
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); }; } &&
42050 { ac_try
='test -s conftest$ac_exeext'
42051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052 (eval $ac_try) 2>&5
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); }; }; then
42056 eval "$as_ac_var=yes"
42058 echo "$as_me: failed program was:" >&5
42059 sed 's/^/| /' conftest.
$ac_ext >&5
42061 eval "$as_ac_var=no"
42063 rm -f conftest.err conftest.
$ac_objext \
42064 conftest
$ac_exeext conftest.
$ac_ext
42066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42068 if test `eval echo '${'$as_ac_var'}'` = yes; then
42069 cat >>confdefs.h
<<_ACEOF
42070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42072 cat >>confdefs.h
<<\_ACEOF
42073 #define HAVE_DLERROR 1
42078 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42079 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42080 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42081 echo $ECHO_N "(cached) $ECHO_C" >&6
42083 ac_check_lib_save_LIBS
=$LIBS
42085 cat >conftest.
$ac_ext <<_ACEOF
42088 cat confdefs.h
>>conftest.
$ac_ext
42089 cat >>conftest.
$ac_ext <<_ACEOF
42090 /* end confdefs.h. */
42092 /* Override any gcc2 internal prototype to avoid an error. */
42096 /* We use char because int might match the return type of a gcc2
42097 builtin and then its argument prototype would still apply. */
42107 rm -f conftest.
$ac_objext conftest
$ac_exeext
42108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42109 (eval $ac_link) 2>conftest.er1
42111 grep -v '^ *+' conftest.er1
>conftest.err
42113 cat conftest.err
>&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } &&
42116 { ac_try
='test -z "$ac_cxx_werror_flag"
42117 || test ! -s conftest.err'
42118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42119 (eval $ac_try) 2>&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); }; } &&
42123 { ac_try
='test -s conftest$ac_exeext'
42124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42125 (eval $ac_try) 2>&5
42127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42128 (exit $ac_status); }; }; then
42129 ac_cv_lib_dl_dlerror
=yes
42131 echo "$as_me: failed program was:" >&5
42132 sed 's/^/| /' conftest.
$ac_ext >&5
42134 ac_cv_lib_dl_dlerror
=no
42136 rm -f conftest.err conftest.
$ac_objext \
42137 conftest
$ac_exeext conftest.
$ac_ext
42138 LIBS
=$ac_check_lib_save_LIBS
42140 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42141 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42142 if test $ac_cv_lib_dl_dlerror = yes; then
42143 cat >>confdefs.h
<<\_ACEOF
42144 #define HAVE_DLERROR 1
42157 if test "$HAVE_DL_FUNCS" = 0; then
42158 if test "$HAVE_SHL_FUNCS" = 0; then
42159 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42160 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42161 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42162 wxUSE_DYNAMIC_LOADER
=no
42163 wxUSE_DYNLIB_CLASS
=no
42165 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42166 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42173 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42174 cat >>confdefs.h
<<\_ACEOF
42175 #define wxUSE_DYNAMIC_LOADER 1
42179 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42180 cat >>confdefs.h
<<\_ACEOF
42181 #define wxUSE_DYNLIB_CLASS 1
42188 if test "$wxUSE_PLUGINS" = "yes" ; then
42189 if test "$wxUSE_SHARED" = "no" ; then
42190 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42191 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42194 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42195 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42196 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42199 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42200 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42201 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42204 if test "$wxUSE_PLUGINS" = "yes" ; then
42205 cat >>confdefs.h
<<\_ACEOF
42206 #define wxUSE_PLUGINS 1
42213 if test "$wxUSE_STL" = "yes"; then
42214 cat >>confdefs.h
<<\_ACEOF
42215 #define wxUSE_STL 1
42220 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42221 cat >>confdefs.h
<<\_ACEOF
42222 #define wxUSE_APPLE_IEEE 1
42227 if test "$wxUSE_TIMER" = "yes"; then
42228 cat >>confdefs.h
<<\_ACEOF
42229 #define wxUSE_TIMER 1
42234 if test "$USE_UNIX" = "1" ; then
42235 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42236 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42237 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42238 echo $ECHO_N "(cached) $ECHO_C" >&6
42241 cat >conftest.
$ac_ext <<_ACEOF
42244 cat confdefs.h
>>conftest.
$ac_ext
42245 cat >>conftest.
$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42248 #include <sys/ioctl.h>
42249 #include <sys/soundcard.h>
42255 ioctl(0, SNDCTL_DSP_SPEED, 0);
42261 rm -f conftest.
$ac_objext conftest
$ac_exeext
42262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42263 (eval $ac_link) 2>conftest.er1
42265 grep -v '^ *+' conftest.er1
>conftest.err
42267 cat conftest.err
>&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } &&
42270 { ac_try
='test -z "$ac_cxx_werror_flag"
42271 || test ! -s conftest.err'
42272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42273 (eval $ac_try) 2>&5
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; } &&
42277 { ac_try
='test -s conftest$ac_exeext'
42278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42279 (eval $ac_try) 2>&5
42281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282 (exit $ac_status); }; }; then
42283 ac_cv_header_sys_soundcard
=yes
42285 echo "$as_me: failed program was:" >&5
42286 sed 's/^/| /' conftest.
$ac_ext >&5
42290 LIBS
="$saveLibs -lossaudio"
42291 cat >conftest.
$ac_ext <<_ACEOF
42294 cat confdefs.h
>>conftest.
$ac_ext
42295 cat >>conftest.
$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42298 #include <sys/ioctl.h>
42299 #include <sys/soundcard.h>
42305 ioctl(0, SNDCTL_DSP_SPEED, 0);
42311 rm -f conftest.
$ac_objext conftest
$ac_exeext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42313 (eval $ac_link) 2>conftest.er1
42315 grep -v '^ *+' conftest.er1
>conftest.err
42317 cat conftest.err
>&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try
='test -z "$ac_cxx_werror_flag"
42321 || test ! -s conftest.err'
42322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323 (eval $ac_try) 2>&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); }; } &&
42327 { ac_try
='test -s conftest$ac_exeext'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; }; then
42333 ac_cv_header_sys_soundcard
=yes
42335 echo "$as_me: failed program was:" >&5
42336 sed 's/^/| /' conftest.
$ac_ext >&5
42340 ac_cv_header_sys_soundcard
=no
42344 rm -f conftest.err conftest.
$ac_objext \
42345 conftest
$ac_exeext conftest.
$ac_ext
42349 rm -f conftest.err conftest.
$ac_objext \
42350 conftest
$ac_exeext conftest.
$ac_ext
42353 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42354 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42356 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42357 cat >>confdefs.h
<<\_ACEOF
42358 #define HAVE_SYS_SOUNDCARD_H 1
42362 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42366 if test "$wxUSE_SOUND" = "yes"; then
42367 if test "$USE_UNIX" = "1" ; then
42368 if test "$wxUSE_LIBSDL" != "no"; then
42370 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42371 if test "${with_sdl_prefix+set}" = set; then
42372 withval
="$with_sdl_prefix"
42373 sdl_prefix
="$withval"
42378 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42379 if test "${with_sdl_exec_prefix+set}" = set; then
42380 withval
="$with_sdl_exec_prefix"
42381 sdl_exec_prefix
="$withval"
42385 # Check whether --enable-sdltest or --disable-sdltest was given.
42386 if test "${enable_sdltest+set}" = set; then
42387 enableval
="$enable_sdltest"
42393 if test x
$sdl_exec_prefix != x
; then
42394 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42395 if test x
${SDL_CONFIG+set} != xset
; then
42396 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42399 if test x
$sdl_prefix != x
; then
42400 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42401 if test x
${SDL_CONFIG+set} != xset
; then
42402 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42406 if test "x$prefix" != xNONE
; then
42407 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42409 # Extract the first word of "sdl-config", so it can be a program name with args.
42410 set dummy sdl
-config; ac_word
=$2
42411 echo "$as_me:$LINENO: checking for $ac_word" >&5
42412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42413 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42414 echo $ECHO_N "(cached) $ECHO_C" >&6
42416 case $SDL_CONFIG in
42418 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42422 for as_dir
in $PATH
42425 test -z "$as_dir" && as_dir
=.
42426 for ac_exec_ext
in '' $ac_executable_extensions; do
42427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42428 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42435 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42439 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42441 if test -n "$SDL_CONFIG"; then
42442 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42443 echo "${ECHO_T}$SDL_CONFIG" >&6
42445 echo "$as_me:$LINENO: result: no" >&5
42446 echo "${ECHO_T}no" >&6
42449 min_sdl_version
=1.2.0
42450 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42451 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42453 if test "$SDL_CONFIG" = "no" ; then
42456 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42457 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42459 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42461 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42463 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42465 if test "x$enable_sdltest" = "xyes" ; then
42466 ac_save_CFLAGS
="$CFLAGS"
42467 ac_save_CXXFLAGS
="$CXXFLAGS"
42468 ac_save_LIBS
="$LIBS"
42469 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42470 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42471 LIBS
="$LIBS $SDL_LIBS"
42473 if test "$cross_compiling" = yes; then
42474 echo $ac_n "cross compiling; assumed OK... $ac_c"
42476 cat >conftest.
$ac_ext <<_ACEOF
42479 cat confdefs.h
>>conftest.
$ac_ext
42480 cat >>conftest.
$ac_ext <<_ACEOF
42481 /* end confdefs.h. */
42484 #include <stdlib.h>
42485 #include <string.h>
42489 my_strdup (char *str)
42495 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42496 strcpy (new_str, str);
42504 int main (int argc, char *argv[])
42506 int major, minor, micro;
42509 /* This hangs on some systems (?)
42510 system ("touch conf.sdltest");
42512 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42514 /* HP/UX 9 (%@#!) writes to sscanf strings */
42515 tmp_version = my_strdup("$min_sdl_version");
42516 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42517 printf("%s, bad version string\n", "$min_sdl_version");
42521 if (($sdl_major_version > major) ||
42522 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42523 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42529 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42530 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42531 printf("*** best to upgrade to the required version.\n");
42532 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42533 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42534 printf("*** config.cache before re-running configure\n");
42541 rm -f conftest
$ac_exeext
42542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42543 (eval $ac_link) 2>&5
42545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42548 (eval $ac_try) 2>&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; }; then
42554 echo "$as_me: program exited with status $ac_status" >&5
42555 echo "$as_me: failed program was:" >&5
42556 sed 's/^/| /' conftest.
$ac_ext >&5
42558 ( exit $ac_status )
42561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42563 CFLAGS
="$ac_save_CFLAGS"
42564 CXXFLAGS
="$ac_save_CXXFLAGS"
42565 LIBS
="$ac_save_LIBS"
42568 if test "x$no_sdl" = x
; then
42569 echo "$as_me:$LINENO: result: yes" >&5
42570 echo "${ECHO_T}yes" >&6
42572 EXTRALIBS_SDL
="$SDL_LIBS"
42573 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42574 cat >>confdefs.h
<<\_ACEOF
42575 #define wxUSE_LIBSDL 1
42580 echo "$as_me:$LINENO: result: no" >&5
42581 echo "${ECHO_T}no" >&6
42582 if test "$SDL_CONFIG" = "no" ; then
42583 echo "*** The sdl-config script installed by SDL could not be found"
42584 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42585 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42586 echo "*** full path to sdl-config."
42588 if test -f conf.sdltest
; then
42591 echo "*** Could not run SDL test program, checking why..."
42592 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42593 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42594 LIBS
="$LIBS $SDL_LIBS"
42595 cat >conftest.
$ac_ext <<_ACEOF
42598 cat confdefs.h
>>conftest.
$ac_ext
42599 cat >>conftest.
$ac_ext <<_ACEOF
42600 /* end confdefs.h. */
42605 int main(int argc, char *argv[])
42608 #define main K_and_R_C_main
42618 rm -f conftest.
$ac_objext conftest
$ac_exeext
42619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42620 (eval $ac_link) 2>conftest.er1
42622 grep -v '^ *+' conftest.er1
>conftest.err
42624 cat conftest.err
>&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } &&
42627 { ac_try
='test -z "$ac_cxx_werror_flag"
42628 || test ! -s conftest.err'
42629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42630 (eval $ac_try) 2>&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; } &&
42634 { ac_try
='test -s conftest$ac_exeext'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; }; then
42640 echo "*** The test program compiled, but did not run. This usually means"
42641 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42642 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42645 echo "*** is required on your system"
42647 echo "*** If you have an old version installed, it is best to remove it, although"
42648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42650 echo "$as_me: failed program was:" >&5
42651 sed 's/^/| /' conftest.
$ac_ext >&5
42653 echo "*** The test program failed to compile or link. See the file config.log for the"
42654 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42655 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42656 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42658 rm -f conftest.err conftest.
$ac_objext \
42659 conftest
$ac_exeext conftest.
$ac_ext
42660 CFLAGS
="$ac_save_CFLAGS"
42661 CXXFLAGS
="$ac_save_CXXFLAGS"
42662 LIBS
="$ac_save_LIBS"
42673 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42679 cat >>confdefs.h
<<\_ACEOF
42680 #define wxUSE_SOUND 1
42683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42686 if test "$WXGTK20" = 1; then
42687 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42688 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42692 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42693 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42695 if test -n "$PKG_CONFIG"; then
42696 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42697 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42699 if test -n "$PKG_CONFIG" && \
42700 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42701 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); }; then
42705 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42713 if test -n "$PKG_CONFIG"; then
42714 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42715 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42717 if test -n "$PKG_CONFIG" && \
42718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42719 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; then
42723 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42734 if test $pkg_failed = yes; then
42736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42737 _pkg_short_errors_supported
=yes
42739 _pkg_short_errors_supported
=no
42741 if test $_pkg_short_errors_supported = yes; then
42742 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42744 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42746 # Put the nasty error message in config.log where it belongs
42747 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42750 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42751 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42752 wxUSE_LIBGNOMEPRINT
="no"
42755 elif test $pkg_failed = untried
; then
42757 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42758 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42759 wxUSE_LIBGNOMEPRINT
="no"
42763 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42764 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42765 echo "$as_me:$LINENO: result: yes" >&5
42766 echo "${ECHO_T}yes" >&6
42768 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42769 cat >>confdefs.h
<<\_ACEOF
42770 #define wxUSE_LIBGNOMEPRINT 1
42779 if test "$WXGTK20" = 1; then
42780 if test "$wxUSE_MIMETYPE" = "yes" ; then
42781 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42785 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42786 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42788 if test -n "$PKG_CONFIG"; then
42789 if test -n "$GNOMEVFS_CFLAGS"; then
42790 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42792 if test -n "$PKG_CONFIG" && \
42793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42794 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; then
42798 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42806 if test -n "$PKG_CONFIG"; then
42807 if test -n "$GNOMEVFS_LIBS"; then
42808 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42810 if test -n "$PKG_CONFIG" && \
42811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42812 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); }; then
42816 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42827 if test $pkg_failed = yes; then
42829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42830 _pkg_short_errors_supported
=yes
42832 _pkg_short_errors_supported
=no
42834 if test $_pkg_short_errors_supported = yes; then
42835 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42837 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42839 # Put the nasty error message in config.log where it belongs
42840 echo "$GNOMEVFS_PKG_ERRORS" >&5
42843 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42844 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42845 wxUSE_LIBGNOMEVFS
="no"
42848 elif test $pkg_failed = untried
; then
42850 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42851 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42852 wxUSE_LIBGNOMEVFS
="no"
42856 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42857 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42858 echo "$as_me:$LINENO: result: yes" >&5
42859 echo "${ECHO_T}yes" >&6
42861 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42862 cat >>confdefs.h
<<\_ACEOF
42863 #define wxUSE_LIBGNOMEVFS 1
42872 if test "$WXGTK20" = 1; then
42873 if test "$wxUSE_LIBHILDON" = "yes" ; then
42876 echo "$as_me:$LINENO: checking for HILDON" >&5
42877 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42879 if test -n "$PKG_CONFIG"; then
42880 if test -n "$HILDON_CFLAGS"; then
42881 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42883 if test -n "$PKG_CONFIG" && \
42884 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42885 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42888 (exit $ac_status); }; then
42889 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42897 if test -n "$PKG_CONFIG"; then
42898 if test -n "$HILDON_LIBS"; then
42899 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42901 if test -n "$PKG_CONFIG" && \
42902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42903 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); }; then
42907 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42918 if test $pkg_failed = yes; then
42920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42921 _pkg_short_errors_supported
=yes
42923 _pkg_short_errors_supported
=no
42925 if test $_pkg_short_errors_supported = yes; then
42926 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42928 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42930 # Put the nasty error message in config.log where it belongs
42931 echo "$HILDON_PKG_ERRORS" >&5
42934 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42935 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42936 wxUSE_LIBHILDON
="no"
42939 elif test $pkg_failed = untried
; then
42941 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42942 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42943 wxUSE_LIBHILDON
="no"
42947 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42948 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42949 echo "$as_me:$LINENO: result: yes" >&5
42950 echo "${ECHO_T}yes" >&6
42952 EXTRALIBS_HILDON
="$HILDON_LIBS"
42953 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42954 cat >>confdefs.h
<<\_ACEOF
42955 #define wxUSE_LIBHILDON 1
42963 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42964 cat >>confdefs.h
<<\_ACEOF
42965 #define wxUSE_CMDLINE_PARSER 1
42970 if test "$wxUSE_STOPWATCH" = "yes"; then
42971 cat >>confdefs.h
<<\_ACEOF
42972 #define wxUSE_STOPWATCH 1
42977 if test "$wxUSE_DATETIME" = "yes"; then
42978 cat >>confdefs.h
<<\_ACEOF
42979 #define wxUSE_DATETIME 1
42984 if test "$wxUSE_FILE" = "yes"; then
42985 cat >>confdefs.h
<<\_ACEOF
42986 #define wxUSE_FILE 1
42991 if test "$wxUSE_FFILE" = "yes"; then
42992 cat >>confdefs.h
<<\_ACEOF
42993 #define wxUSE_FFILE 1
42998 if test "$wxUSE_FILESYSTEM" = "yes"; then
42999 cat >>confdefs.h
<<\_ACEOF
43000 #define wxUSE_FILESYSTEM 1
43005 if test "$wxUSE_FS_ZIP" = "yes"; then
43006 cat >>confdefs.h
<<\_ACEOF
43007 #define wxUSE_FS_ZIP 1
43012 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43013 cat >>confdefs.h
<<\_ACEOF
43014 #define wxUSE_ARCHIVE_STREAMS 1
43019 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43020 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43021 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43022 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43023 elif test "$wxUSE_ZLIB" = "no"; then
43024 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43025 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43027 cat >>confdefs.h
<<\_ACEOF
43028 #define wxUSE_ZIPSTREAM 1
43034 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43035 if test "$USE_UNIX" != 1; then
43036 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43037 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43038 wxUSE_ON_FATAL_EXCEPTION
=no
43040 cat >>confdefs.h
<<\_ACEOF
43041 #define wxUSE_ON_FATAL_EXCEPTION 1
43047 if test "$wxUSE_STACKWALKER" = "yes"; then
43048 cat >>confdefs.h
<<\_ACEOF
43049 #define wxUSE_STACKWALKER 1
43054 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43055 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43056 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43057 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43058 wxUSE_DEBUGREPORT
=no
43060 cat >>confdefs.h
<<\_ACEOF
43061 #define wxUSE_DEBUGREPORT 1
43064 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43070 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43071 cat >>confdefs.h
<<\_ACEOF
43072 #define wxUSE_SNGLINST_CHECKER 1
43077 if test "$wxUSE_BUSYINFO" = "yes"; then
43078 cat >>confdefs.h
<<\_ACEOF
43079 #define wxUSE_BUSYINFO 1
43084 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43085 cat >>confdefs.h
<<\_ACEOF
43086 #define wxUSE_STD_IOSTREAM 1
43091 if test "$wxUSE_STD_STRING" = "yes"; then
43092 cat >>confdefs.h
<<\_ACEOF
43093 #define wxUSE_STD_STRING 1
43098 if test "$wxUSE_STDPATHS" = "yes"; then
43099 cat >>confdefs.h
<<\_ACEOF
43100 #define wxUSE_STDPATHS 1
43105 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43106 cat >>confdefs.h
<<\_ACEOF
43107 #define wxUSE_TEXTBUFFER 1
43112 if test "$wxUSE_TEXTFILE" = "yes"; then
43113 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43114 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43115 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43117 cat >>confdefs.h
<<\_ACEOF
43118 #define wxUSE_TEXTFILE 1
43124 if test "$wxUSE_CONFIG" = "yes" ; then
43125 if test "$wxUSE_TEXTFILE" != "yes"; then
43126 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43127 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43129 cat >>confdefs.h
<<\_ACEOF
43130 #define wxUSE_CONFIG 1
43133 cat >>confdefs.h
<<\_ACEOF
43134 #define wxUSE_CONFIG_NATIVE 1
43137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43141 if test "$wxUSE_INTL" = "yes" ; then
43142 if test "$wxUSE_FILE" != "yes"; then
43143 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43144 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43146 cat >>confdefs.h
<<\_ACEOF
43147 #define wxUSE_INTL 1
43150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43151 GUIDIST
="$GUIDIST INTL_DIST"
43155 if test "$wxUSE_LOG" = "yes"; then
43156 cat >>confdefs.h
<<\_ACEOF
43157 #define wxUSE_LOG 1
43161 if test "$wxUSE_LOGGUI" = "yes"; then
43162 cat >>confdefs.h
<<\_ACEOF
43163 #define wxUSE_LOGGUI 1
43168 if test "$wxUSE_LOGWINDOW" = "yes"; then
43169 cat >>confdefs.h
<<\_ACEOF
43170 #define wxUSE_LOGWINDOW 1
43175 if test "$wxUSE_LOGDIALOG" = "yes"; then
43176 cat >>confdefs.h
<<\_ACEOF
43177 #define wxUSE_LOG_DIALOG 1
43182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43185 if test "$wxUSE_LONGLONG" = "yes"; then
43186 cat >>confdefs.h
<<\_ACEOF
43187 #define wxUSE_LONGLONG 1
43192 if test "$wxUSE_GEOMETRY" = "yes"; then
43193 cat >>confdefs.h
<<\_ACEOF
43194 #define wxUSE_GEOMETRY 1
43199 if test "$wxUSE_STREAMS" = "yes" ; then
43200 cat >>confdefs.h
<<\_ACEOF
43201 #define wxUSE_STREAMS 1
43206 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43207 cat >>confdefs.h
<<\_ACEOF
43208 #define wxUSE_PRINTF_POS_PARAMS 1
43215 if test "$wxUSE_DATETIME" = "yes"; then
43217 for ac_func
in strptime
43219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43220 echo "$as_me:$LINENO: checking for $ac_func" >&5
43221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43222 if eval "test \"\${$as_ac_var+set}\" = set"; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43225 cat >conftest.
$ac_ext <<_ACEOF
43228 cat confdefs.h
>>conftest.
$ac_ext
43229 cat >>conftest.
$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43233 #define $ac_func innocuous_$ac_func
43235 /* System header to define __stub macros and hopefully few prototypes,
43236 which can conflict with char $ac_func (); below.
43237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43238 <limits.h> exists even on freestanding compilers. */
43241 # include <limits.h>
43243 # include <assert.h>
43248 /* Override any gcc2 internal prototype to avoid an error. */
43253 /* We use char because int might match the return type of a gcc2
43254 builtin and then its argument prototype would still apply. */
43256 /* The GNU C library defines this for functions which it implements
43257 to always fail with ENOSYS. Some functions are actually named
43258 something starting with __ and the normal name is an alias. */
43259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43262 char (*f) () = $ac_func;
43271 return f != $ac_func;
43276 rm -f conftest.
$ac_objext conftest
$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278 (eval $ac_link) 2>conftest.er1
43280 grep -v '^ *+' conftest.er1
>conftest.err
43282 cat conftest.err
>&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try
='test -z "$ac_cxx_werror_flag"
43286 || test ! -s conftest.err'
43287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43288 (eval $ac_try) 2>&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); }; } &&
43292 { ac_try
='test -s conftest$ac_exeext'
43293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43294 (eval $ac_try) 2>&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); }; }; then
43298 eval "$as_ac_var=yes"
43300 echo "$as_me: failed program was:" >&5
43301 sed 's/^/| /' conftest.
$ac_ext >&5
43303 eval "$as_ac_var=no"
43305 rm -f conftest.err conftest.
$ac_objext \
43306 conftest
$ac_exeext conftest.
$ac_ext
43308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43310 if test `eval echo '${'$as_ac_var'}'` = yes; then
43311 cat >>confdefs.h
<<_ACEOF
43312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43318 if test "$ac_cv_func_strptime" = "yes"; then
43319 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43320 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43321 if test "${wx_cv_func_strptime_decl+set}" = set; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43325 cat >conftest.
$ac_ext <<_ACEOF
43328 cat confdefs.h
>>conftest.
$ac_ext
43329 cat >>conftest.
$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43339 strptime("foo", "bar", &t);
43345 rm -f conftest.
$ac_objext
43346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43347 (eval $ac_compile) 2>conftest.er1
43349 grep -v '^ *+' conftest.er1
>conftest.err
43351 cat conftest.err
>&5
43352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43353 (exit $ac_status); } &&
43354 { ac_try
='test -z "$ac_cxx_werror_flag"
43355 || test ! -s conftest.err'
43356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43357 (eval $ac_try) 2>&5
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); }; } &&
43361 { ac_try
='test -s conftest.$ac_objext'
43362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43363 (eval $ac_try) 2>&5
43365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43366 (exit $ac_status); }; }; then
43367 wx_cv_func_strptime_decl
=yes
43369 echo "$as_me: failed program was:" >&5
43370 sed 's/^/| /' conftest.
$ac_ext >&5
43372 wx_cv_func_strptime_decl
=no
43375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43379 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43380 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43382 if test "$wx_cv_func_strptime_decl" = "yes"; then
43383 cat >>confdefs.h
<<\_ACEOF
43384 #define HAVE_STRPTIME_DECL 1
43389 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43390 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43391 if test "${wx_cv_var_timezone+set}" = set; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43395 cat >conftest.
$ac_ext <<_ACEOF
43398 cat confdefs.h
>>conftest.
$ac_ext
43399 cat >>conftest.
$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43415 rm -f conftest.
$ac_objext
43416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43417 (eval $ac_compile) 2>conftest.er1
43419 grep -v '^ *+' conftest.er1
>conftest.err
43421 cat conftest.err
>&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } &&
43424 { ac_try
='test -z "$ac_cxx_werror_flag"
43425 || test ! -s conftest.err'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; } &&
43431 { ac_try
='test -s conftest.$ac_objext'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; }; then
43438 wx_cv_var_timezone
=timezone
43441 echo "$as_me: failed program was:" >&5
43442 sed 's/^/| /' conftest.
$ac_ext >&5
43445 cat >conftest.
$ac_ext <<_ACEOF
43448 cat confdefs.h
>>conftest.
$ac_ext
43449 cat >>conftest.
$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43465 rm -f conftest.
$ac_objext
43466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43467 (eval $ac_compile) 2>conftest.er1
43469 grep -v '^ *+' conftest.er1
>conftest.err
43471 cat conftest.err
>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } &&
43474 { ac_try
='test -z "$ac_cxx_werror_flag"
43475 || test ! -s conftest.err'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; } &&
43481 { ac_try
='test -s conftest.$ac_objext'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; }; then
43488 wx_cv_var_timezone
=_timezone
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.
$ac_ext >&5
43495 cat >conftest.
$ac_ext <<_ACEOF
43498 cat confdefs.h
>>conftest.
$ac_ext
43499 cat >>conftest.
$ac_ext <<_ACEOF
43500 /* end confdefs.h. */
43515 rm -f conftest.
$ac_objext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43517 (eval $ac_compile) 2>conftest.er1
43519 grep -v '^ *+' conftest.er1
>conftest.err
43521 cat conftest.err
>&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } &&
43524 { ac_try
='test -z "$ac_cxx_werror_flag"
43525 || test ! -s conftest.err'
43526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43527 (eval $ac_try) 2>&5
43529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43530 (exit $ac_status); }; } &&
43531 { ac_try
='test -s conftest.$ac_objext'
43532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43533 (eval $ac_try) 2>&5
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); }; }; then
43538 wx_cv_var_timezone
=__timezone
43541 echo "$as_me: failed program was:" >&5
43542 sed 's/^/| /' conftest.
$ac_ext >&5
43545 if test "$USE_DOS" = 0 ; then
43546 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43547 echo "$as_me: WARNING: no timezone variable" >&2;}
43552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43564 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43565 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43567 if test "x$wx_cv_var_timezone" != x
; then
43568 cat >>confdefs.h
<<_ACEOF
43569 #define WX_TIMEZONE $wx_cv_var_timezone
43575 for ac_func
in localtime
43577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43578 echo "$as_me:$LINENO: checking for $ac_func" >&5
43579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43580 if eval "test \"\${$as_ac_var+set}\" = set"; then
43581 echo $ECHO_N "(cached) $ECHO_C" >&6
43583 cat >conftest.
$ac_ext <<_ACEOF
43586 cat confdefs.h
>>conftest.
$ac_ext
43587 cat >>conftest.
$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43591 #define $ac_func innocuous_$ac_func
43593 /* System header to define __stub macros and hopefully few prototypes,
43594 which can conflict with char $ac_func (); below.
43595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43596 <limits.h> exists even on freestanding compilers. */
43599 # include <limits.h>
43601 # include <assert.h>
43606 /* Override any gcc2 internal prototype to avoid an error. */
43611 /* We use char because int might match the return type of a gcc2
43612 builtin and then its argument prototype would still apply. */
43614 /* The GNU C library defines this for functions which it implements
43615 to always fail with ENOSYS. Some functions are actually named
43616 something starting with __ and the normal name is an alias. */
43617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43620 char (*f) () = $ac_func;
43629 return f != $ac_func;
43634 rm -f conftest.
$ac_objext conftest
$ac_exeext
43635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43636 (eval $ac_link) 2>conftest.er1
43638 grep -v '^ *+' conftest.er1
>conftest.err
43640 cat conftest.err
>&5
43641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43642 (exit $ac_status); } &&
43643 { ac_try
='test -z "$ac_cxx_werror_flag"
43644 || test ! -s conftest.err'
43645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43646 (eval $ac_try) 2>&5
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; } &&
43650 { ac_try
='test -s conftest$ac_exeext'
43651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43652 (eval $ac_try) 2>&5
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); }; }; then
43656 eval "$as_ac_var=yes"
43658 echo "$as_me: failed program was:" >&5
43659 sed 's/^/| /' conftest.
$ac_ext >&5
43661 eval "$as_ac_var=no"
43663 rm -f conftest.err conftest.
$ac_objext \
43664 conftest
$ac_exeext conftest.
$ac_ext
43666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43668 if test `eval echo '${'$as_ac_var'}'` = yes; then
43669 cat >>confdefs.h
<<_ACEOF
43670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43677 if test "$ac_cv_func_localtime" = "yes"; then
43678 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43679 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43680 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43681 echo $ECHO_N "(cached) $ECHO_C" >&6
43684 cat >conftest.
$ac_ext <<_ACEOF
43687 cat confdefs.h
>>conftest.
$ac_ext
43688 cat >>conftest.
$ac_ext <<_ACEOF
43689 /* end confdefs.h. */
43704 rm -f conftest.
$ac_objext
43705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43706 (eval $ac_compile) 2>conftest.er1
43708 grep -v '^ *+' conftest.er1
>conftest.err
43710 cat conftest.err
>&5
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); } &&
43713 { ac_try
='test -z "$ac_cxx_werror_flag"
43714 || test ! -s conftest.err'
43715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43716 (eval $ac_try) 2>&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); }; } &&
43720 { ac_try
='test -s conftest.$ac_objext'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; }; then
43727 wx_cv_struct_tm_has_gmtoff
=yes
43730 echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.
$ac_ext >&5
43733 wx_cv_struct_tm_has_gmtoff
=no
43736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43739 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43740 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43743 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43744 cat >>confdefs.h
<<\_ACEOF
43745 #define WX_GMTOFF_IN_TM 1
43752 for ac_func
in gettimeofday ftime
43754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43755 echo "$as_me:$LINENO: checking for $ac_func" >&5
43756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43757 if eval "test \"\${$as_ac_var+set}\" = set"; then
43758 echo $ECHO_N "(cached) $ECHO_C" >&6
43760 cat >conftest.
$ac_ext <<_ACEOF
43763 cat confdefs.h
>>conftest.
$ac_ext
43764 cat >>conftest.
$ac_ext <<_ACEOF
43765 /* end confdefs.h. */
43766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43768 #define $ac_func innocuous_$ac_func
43770 /* System header to define __stub macros and hopefully few prototypes,
43771 which can conflict with char $ac_func (); below.
43772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43773 <limits.h> exists even on freestanding compilers. */
43776 # include <limits.h>
43778 # include <assert.h>
43783 /* Override any gcc2 internal prototype to avoid an error. */
43788 /* We use char because int might match the return type of a gcc2
43789 builtin and then its argument prototype would still apply. */
43791 /* The GNU C library defines this for functions which it implements
43792 to always fail with ENOSYS. Some functions are actually named
43793 something starting with __ and the normal name is an alias. */
43794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43797 char (*f) () = $ac_func;
43806 return f != $ac_func;
43811 rm -f conftest.
$ac_objext conftest
$ac_exeext
43812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43813 (eval $ac_link) 2>conftest.er1
43815 grep -v '^ *+' conftest.er1
>conftest.err
43817 cat conftest.err
>&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } &&
43820 { ac_try
='test -z "$ac_cxx_werror_flag"
43821 || test ! -s conftest.err'
43822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43823 (eval $ac_try) 2>&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); }; } &&
43827 { ac_try
='test -s conftest$ac_exeext'
43828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43829 (eval $ac_try) 2>&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; }; then
43833 eval "$as_ac_var=yes"
43835 echo "$as_me: failed program was:" >&5
43836 sed 's/^/| /' conftest.
$ac_ext >&5
43838 eval "$as_ac_var=no"
43840 rm -f conftest.err conftest.
$ac_objext \
43841 conftest
$ac_exeext conftest.
$ac_ext
43843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43845 if test `eval echo '${'$as_ac_var'}'` = yes; then
43846 cat >>confdefs.h
<<_ACEOF
43847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43854 if test "$ac_cv_func_gettimeofday" = "yes"; then
43855 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43856 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43857 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43861 cat >conftest.
$ac_ext <<_ACEOF
43864 cat confdefs.h
>>conftest.
$ac_ext
43865 cat >>conftest.
$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43868 #include <sys/time.h>
43869 #include <unistd.h>
43876 gettimeofday(&tv, NULL);
43882 rm -f conftest.
$ac_objext
43883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43884 (eval $ac_compile) 2>conftest.er1
43886 grep -v '^ *+' conftest.er1
>conftest.err
43888 cat conftest.err
>&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } &&
43891 { ac_try
='test -z "$ac_cxx_werror_flag"
43892 || test ! -s conftest.err'
43893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43894 (eval $ac_try) 2>&5
43896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43897 (exit $ac_status); }; } &&
43898 { ac_try
='test -s conftest.$ac_objext'
43899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43900 (eval $ac_try) 2>&5
43902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43903 (exit $ac_status); }; }; then
43904 wx_cv_func_gettimeofday_has_2_args
=yes
43906 echo "$as_me: failed program was:" >&5
43907 sed 's/^/| /' conftest.
$ac_ext >&5
43909 cat >conftest.
$ac_ext <<_ACEOF
43912 cat confdefs.h
>>conftest.
$ac_ext
43913 cat >>conftest.
$ac_ext <<_ACEOF
43914 /* end confdefs.h. */
43916 #include <sys/time.h>
43917 #include <unistd.h>
43930 rm -f conftest.
$ac_objext
43931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43932 (eval $ac_compile) 2>conftest.er1
43934 grep -v '^ *+' conftest.er1
>conftest.err
43936 cat conftest.err
>&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } &&
43939 { ac_try
='test -z "$ac_cxx_werror_flag"
43940 || test ! -s conftest.err'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; } &&
43946 { ac_try
='test -s conftest.$ac_objext'
43947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43948 (eval $ac_try) 2>&5
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); }; }; then
43952 wx_cv_func_gettimeofday_has_2_args
=no
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.
$ac_ext >&5
43958 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43959 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43960 wx_cv_func_gettimeofday_has_2_args
=unknown
43964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43970 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43971 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43973 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43974 cat >>confdefs.h
<<\_ACEOF
43975 #define WX_GETTIMEOFDAY_NO_TZ 1
43981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43985 if test "$wxUSE_SOCKETS" = "yes"; then
43986 if test "$wxUSE_MGL" = "1"; then
43987 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43988 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43993 if test "$wxUSE_SOCKETS" = "yes"; then
43994 if test "$TOOLKIT" != "MSW"; then
43995 echo "$as_me:$LINENO: checking for socket" >&5
43996 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43997 if test "${ac_cv_func_socket+set}" = set; then
43998 echo $ECHO_N "(cached) $ECHO_C" >&6
44000 cat >conftest.
$ac_ext <<_ACEOF
44003 cat confdefs.h
>>conftest.
$ac_ext
44004 cat >>conftest.
$ac_ext <<_ACEOF
44005 /* end confdefs.h. */
44006 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44008 #define socket innocuous_socket
44010 /* System header to define __stub macros and hopefully few prototypes,
44011 which can conflict with char socket (); below.
44012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44013 <limits.h> exists even on freestanding compilers. */
44016 # include <limits.h>
44018 # include <assert.h>
44023 /* Override any gcc2 internal prototype to avoid an error. */
44028 /* We use char because int might match the return type of a gcc2
44029 builtin and then its argument prototype would still apply. */
44031 /* The GNU C library defines this for functions which it implements
44032 to always fail with ENOSYS. Some functions are actually named
44033 something starting with __ and the normal name is an alias. */
44034 #if defined (__stub_socket) || defined (__stub___socket)
44037 char (*f) () = socket;
44046 return f != socket;
44051 rm -f conftest.
$ac_objext conftest
$ac_exeext
44052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44053 (eval $ac_link) 2>conftest.er1
44055 grep -v '^ *+' conftest.er1
>conftest.err
44057 cat conftest.err
>&5
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); } &&
44060 { ac_try
='test -z "$ac_cxx_werror_flag"
44061 || test ! -s conftest.err'
44062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44063 (eval $ac_try) 2>&5
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); }; } &&
44067 { ac_try
='test -s conftest$ac_exeext'
44068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44069 (eval $ac_try) 2>&5
44071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072 (exit $ac_status); }; }; then
44073 ac_cv_func_socket
=yes
44075 echo "$as_me: failed program was:" >&5
44076 sed 's/^/| /' conftest.
$ac_ext >&5
44078 ac_cv_func_socket
=no
44080 rm -f conftest.err conftest.
$ac_objext \
44081 conftest
$ac_exeext conftest.
$ac_ext
44083 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44084 echo "${ECHO_T}$ac_cv_func_socket" >&6
44085 if test $ac_cv_func_socket = yes; then
44089 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44090 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44091 if test "${ac_cv_lib_socket_socket+set}" = set; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44094 ac_check_lib_save_LIBS
=$LIBS
44095 LIBS
="-lsocket $LIBS"
44096 cat >conftest.
$ac_ext <<_ACEOF
44099 cat confdefs.h
>>conftest.
$ac_ext
44100 cat >>conftest.
$ac_ext <<_ACEOF
44101 /* end confdefs.h. */
44103 /* Override any gcc2 internal prototype to avoid an error. */
44107 /* We use char because int might match the return type of a gcc2
44108 builtin and then its argument prototype would still apply. */
44118 rm -f conftest.
$ac_objext conftest
$ac_exeext
44119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44120 (eval $ac_link) 2>conftest.er1
44122 grep -v '^ *+' conftest.er1
>conftest.err
44124 cat conftest.err
>&5
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); } &&
44127 { ac_try
='test -z "$ac_cxx_werror_flag"
44128 || test ! -s conftest.err'
44129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130 (eval $ac_try) 2>&5
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; } &&
44134 { ac_try
='test -s conftest$ac_exeext'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; }; then
44140 ac_cv_lib_socket_socket
=yes
44142 echo "$as_me: failed program was:" >&5
44143 sed 's/^/| /' conftest.
$ac_ext >&5
44145 ac_cv_lib_socket_socket
=no
44147 rm -f conftest.err conftest.
$ac_objext \
44148 conftest
$ac_exeext conftest.
$ac_ext
44149 LIBS
=$ac_check_lib_save_LIBS
44151 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44152 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44153 if test $ac_cv_lib_socket_socket = yes; then
44154 if test "$INET_LINK" != " -lsocket"; then
44155 INET_LINK
="$INET_LINK -lsocket"
44159 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44160 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44173 if test "$wxUSE_SOCKETS" = "yes" ; then
44174 if test "$TOOLKIT" != "MSW"; then
44175 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44176 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44177 if test "${wx_cv_type_getsockname3+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44181 cat >conftest.
$ac_ext <<_ACEOF
44184 cat confdefs.h
>>conftest.
$ac_ext
44185 cat >>conftest.
$ac_ext <<_ACEOF
44186 /* end confdefs.h. */
44188 #include <sys/types.h>
44189 #include <sys/socket.h>
44196 getsockname(0, 0, &len);
44202 rm -f conftest.
$ac_objext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44204 (eval $ac_compile) 2>conftest.er1
44206 grep -v '^ *+' conftest.er1
>conftest.err
44208 cat conftest.err
>&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } &&
44211 { ac_try
='test -z "$ac_cxx_werror_flag"
44212 || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try
='test -s conftest.$ac_objext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 wx_cv_type_getsockname3
=socklen_t
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.
$ac_ext >&5
44230 CXXFLAGS_OLD
="$CXXFLAGS"
44231 if test "$GCC" = yes ; then
44232 CXXFLAGS
="-Werror $CXXFLAGS"
44235 cat >conftest.
$ac_ext <<_ACEOF
44238 cat confdefs.h
>>conftest.
$ac_ext
44239 cat >>conftest.
$ac_ext <<_ACEOF
44240 /* end confdefs.h. */
44242 #include <sys/types.h>
44243 #include <sys/socket.h>
44250 getsockname(0, 0, &len);
44256 rm -f conftest.
$ac_objext
44257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44258 (eval $ac_compile) 2>conftest.er1
44260 grep -v '^ *+' conftest.er1
>conftest.err
44262 cat conftest.err
>&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } &&
44265 { ac_try
='test -z "$ac_cxx_werror_flag"
44266 || test ! -s conftest.err'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; } &&
44272 { ac_try
='test -s conftest.$ac_objext'
44273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44274 (eval $ac_try) 2>&5
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); }; }; then
44278 wx_cv_type_getsockname3
=size_t
44280 echo "$as_me: failed program was:" >&5
44281 sed 's/^/| /' conftest.
$ac_ext >&5
44283 cat >conftest.
$ac_ext <<_ACEOF
44286 cat confdefs.h
>>conftest.
$ac_ext
44287 cat >>conftest.
$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44290 #include <sys/types.h>
44291 #include <sys/socket.h>
44298 getsockname(0, 0, &len);
44304 rm -f conftest.
$ac_objext
44305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44306 (eval $ac_compile) 2>conftest.er1
44308 grep -v '^ *+' conftest.er1
>conftest.err
44310 cat conftest.err
>&5
44311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44312 (exit $ac_status); } &&
44313 { ac_try
='test -z "$ac_cxx_werror_flag"
44314 || test ! -s conftest.err'
44315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44316 (eval $ac_try) 2>&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); }; } &&
44320 { ac_try
='test -s conftest.$ac_objext'
44321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44322 (eval $ac_try) 2>&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); }; }; then
44326 wx_cv_type_getsockname3
=int
44328 echo "$as_me: failed program was:" >&5
44329 sed 's/^/| /' conftest.
$ac_ext >&5
44331 wx_cv_type_getsockname3
=unknown
44334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44339 CXXFLAGS
="$CXXFLAGS_OLD"
44343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44346 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44347 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44349 if test "$wx_cv_type_getsockname3" = "unknown"; then
44351 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44352 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44354 cat >>confdefs.h
<<_ACEOF
44355 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44359 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44360 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44361 if test "${wx_cv_type_getsockopt5+set}" = set; then
44362 echo $ECHO_N "(cached) $ECHO_C" >&6
44365 cat >conftest.
$ac_ext <<_ACEOF
44368 cat confdefs.h
>>conftest.
$ac_ext
44369 cat >>conftest.
$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44372 #include <sys/types.h>
44373 #include <sys/socket.h>
44380 getsockopt(0, 0, 0, 0, &len);
44386 rm -f conftest.
$ac_objext
44387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44388 (eval $ac_compile) 2>conftest.er1
44390 grep -v '^ *+' conftest.er1
>conftest.err
44392 cat conftest.err
>&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); } &&
44395 { ac_try
='test -z "$ac_cxx_werror_flag"
44396 || test ! -s conftest.err'
44397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44398 (eval $ac_try) 2>&5
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); }; } &&
44402 { ac_try
='test -s conftest.$ac_objext'
44403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44404 (eval $ac_try) 2>&5
44406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44407 (exit $ac_status); }; }; then
44408 wx_cv_type_getsockopt5
=socklen_t
44410 echo "$as_me: failed program was:" >&5
44411 sed 's/^/| /' conftest.
$ac_ext >&5
44414 CXXFLAGS_OLD
="$CXXFLAGS"
44415 if test "$GCC" = yes ; then
44416 CXXFLAGS
="-Werror $CXXFLAGS"
44419 cat >conftest.
$ac_ext <<_ACEOF
44422 cat confdefs.h
>>conftest.
$ac_ext
44423 cat >>conftest.
$ac_ext <<_ACEOF
44424 /* end confdefs.h. */
44426 #include <sys/types.h>
44427 #include <sys/socket.h>
44434 getsockopt(0, 0, 0, 0, &len);
44440 rm -f conftest.
$ac_objext
44441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44442 (eval $ac_compile) 2>conftest.er1
44444 grep -v '^ *+' conftest.er1
>conftest.err
44446 cat conftest.err
>&5
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); } &&
44449 { ac_try
='test -z "$ac_cxx_werror_flag"
44450 || test ! -s conftest.err'
44451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44452 (eval $ac_try) 2>&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); }; } &&
44456 { ac_try
='test -s conftest.$ac_objext'
44457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44458 (eval $ac_try) 2>&5
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); }; }; then
44462 wx_cv_type_getsockopt5
=size_t
44464 echo "$as_me: failed program was:" >&5
44465 sed 's/^/| /' conftest.
$ac_ext >&5
44467 cat >conftest.
$ac_ext <<_ACEOF
44470 cat confdefs.h
>>conftest.
$ac_ext
44471 cat >>conftest.
$ac_ext <<_ACEOF
44472 /* end confdefs.h. */
44474 #include <sys/types.h>
44475 #include <sys/socket.h>
44482 getsockopt(0, 0, 0, 0, &len);
44488 rm -f conftest.
$ac_objext
44489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44490 (eval $ac_compile) 2>conftest.er1
44492 grep -v '^ *+' conftest.er1
>conftest.err
44494 cat conftest.err
>&5
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); } &&
44497 { ac_try
='test -z "$ac_cxx_werror_flag"
44498 || test ! -s conftest.err'
44499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44500 (eval $ac_try) 2>&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); }; } &&
44504 { ac_try
='test -s conftest.$ac_objext'
44505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44506 (eval $ac_try) 2>&5
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; }; then
44510 wx_cv_type_getsockopt5
=int
44512 echo "$as_me: failed program was:" >&5
44513 sed 's/^/| /' conftest.
$ac_ext >&5
44515 wx_cv_type_getsockopt5
=unknown
44518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44523 CXXFLAGS
="$CXXFLAGS_OLD"
44527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44530 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44531 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44533 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44535 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44536 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44538 cat >>confdefs.h
<<_ACEOF
44539 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44546 if test "$wxUSE_SOCKETS" = "yes" ; then
44547 cat >>confdefs.h
<<\_ACEOF
44548 #define wxUSE_SOCKETS 1
44551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44554 if test "$wxUSE_PROTOCOL" = "yes"; then
44555 if test "$wxUSE_SOCKETS" != "yes"; then
44556 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44557 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44562 if test "$wxUSE_PROTOCOL" = "yes"; then
44563 cat >>confdefs.h
<<\_ACEOF
44564 #define wxUSE_PROTOCOL 1
44568 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44569 cat >>confdefs.h
<<\_ACEOF
44570 #define wxUSE_PROTOCOL_HTTP 1
44574 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44575 cat >>confdefs.h
<<\_ACEOF
44576 #define wxUSE_PROTOCOL_FTP 1
44580 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44581 cat >>confdefs.h
<<\_ACEOF
44582 #define wxUSE_PROTOCOL_FILE 1
44587 if test "$wxUSE_FS_INET" = "yes"; then
44588 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44589 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44594 if test "$wxUSE_URL" = "yes"; then
44595 if test "$wxUSE_PROTOCOL" != "yes"; then
44596 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44597 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44600 if test "$wxUSE_URL" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_URL 1
44608 if test "$wxUSE_FS_INET" = "yes"; then
44609 cat >>confdefs.h
<<\_ACEOF
44610 #define wxUSE_FS_INET 1
44616 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44619 if test "$TOOLKIT" = "MSW"; then
44622 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44623 if test "$USE_DARWIN" = 1; then
44624 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44625 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44626 cat >conftest.
$ac_ext <<_ACEOF
44629 cat confdefs.h
>>conftest.
$ac_ext
44630 cat >>conftest.
$ac_ext <<_ACEOF
44631 /* end confdefs.h. */
44632 #include <IOKit/hid/IOHIDLib.h>
44636 IOHIDQueueInterface *qi = NULL;
44637 IOHIDCallbackFunction cb = NULL;
44638 qi->setEventCallout(NULL, cb, NULL, NULL);
44643 rm -f conftest.
$ac_objext
44644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44645 (eval $ac_compile) 2>conftest.er1
44647 grep -v '^ *+' conftest.er1
>conftest.err
44649 cat conftest.err
>&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } &&
44652 { ac_try
='test -z "$ac_cxx_werror_flag"
44653 || test ! -s conftest.err'
44654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44655 (eval $ac_try) 2>&5
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); }; } &&
44659 { ac_try
='test -s conftest.$ac_objext'
44660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44661 (eval $ac_try) 2>&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); }; }; then
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.
$ac_ext >&5
44672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44673 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44674 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44679 for ac_header
in linux
/joystick.h
44681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44683 echo "$as_me:$LINENO: checking for $ac_header" >&5
44684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44686 echo $ECHO_N "(cached) $ECHO_C" >&6
44688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44691 # Is the header compilable?
44692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44694 cat >conftest.
$ac_ext <<_ACEOF
44697 cat confdefs.h
>>conftest.
$ac_ext
44698 cat >>conftest.
$ac_ext <<_ACEOF
44699 /* end confdefs.h. */
44700 $ac_includes_default
44701 #include <$ac_header>
44703 rm -f conftest.
$ac_objext
44704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44705 (eval $ac_compile) 2>conftest.er1
44707 grep -v '^ *+' conftest.er1
>conftest.err
44709 cat conftest.err
>&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); } &&
44712 { ac_try
='test -z "$ac_cxx_werror_flag"
44713 || test ! -s conftest.err'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; } &&
44719 { ac_try
='test -s conftest.$ac_objext'
44720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44721 (eval $ac_try) 2>&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; }; then
44725 ac_header_compiler
=yes
44727 echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.
$ac_ext >&5
44730 ac_header_compiler
=no
44732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44734 echo "${ECHO_T}$ac_header_compiler" >&6
44736 # Is the header present?
44737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44739 cat >conftest.
$ac_ext <<_ACEOF
44742 cat confdefs.h
>>conftest.
$ac_ext
44743 cat >>conftest.
$ac_ext <<_ACEOF
44744 /* end confdefs.h. */
44745 #include <$ac_header>
44747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44750 grep -v '^ *+' conftest.er1
>conftest.err
44752 cat conftest.err
>&5
44753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44754 (exit $ac_status); } >/dev
/null
; then
44755 if test -s conftest.err
; then
44756 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44757 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44764 if test -z "$ac_cpp_err"; then
44765 ac_header_preproc
=yes
44767 echo "$as_me: failed program was:" >&5
44768 sed 's/^/| /' conftest.
$ac_ext >&5
44770 ac_header_preproc
=no
44772 rm -f conftest.err conftest.
$ac_ext
44773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44774 echo "${ECHO_T}$ac_header_preproc" >&6
44776 # So? What about this header?
44777 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44783 ac_header_preproc
=yes
44786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44800 ## ----------------------------------------- ##
44801 ## Report this to wx-dev@lists.wxwidgets.org ##
44802 ## ----------------------------------------- ##
44805 sed "s/^/$as_me: WARNING: /" >&2
44808 echo "$as_me:$LINENO: checking for $ac_header" >&5
44809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44811 echo $ECHO_N "(cached) $ECHO_C" >&6
44813 eval "$as_ac_Header=\$ac_header_preproc"
44815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44820 cat >>confdefs.h
<<_ACEOF
44821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44830 if test "$wxUSE_JOYSTICK" = "yes"; then
44831 cat >>confdefs.h
<<\_ACEOF
44832 #define wxUSE_JOYSTICK 1
44835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44837 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44838 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44844 if test "$wxUSE_FONTMAP" = "yes" ; then
44845 cat >>confdefs.h
<<\_ACEOF
44846 #define wxUSE_FONTMAP 1
44851 if test "$wxUSE_UNICODE" = "yes" ; then
44852 cat >>confdefs.h
<<\_ACEOF
44853 #define wxUSE_UNICODE 1
44857 if test "$USE_WIN32" != 1; then
44858 wxUSE_UNICODE_MSLU
=no
44861 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44862 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44863 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44864 if test "${ac_cv_lib_unicows_main+set}" = set; then
44865 echo $ECHO_N "(cached) $ECHO_C" >&6
44867 ac_check_lib_save_LIBS
=$LIBS
44868 LIBS
="-lunicows $LIBS"
44869 cat >conftest.
$ac_ext <<_ACEOF
44872 cat confdefs.h
>>conftest.
$ac_ext
44873 cat >>conftest.
$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44885 rm -f conftest.
$ac_objext conftest
$ac_exeext
44886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44887 (eval $ac_link) 2>conftest.er1
44889 grep -v '^ *+' conftest.er1
>conftest.err
44891 cat conftest.err
>&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); } &&
44894 { ac_try
='test -z "$ac_cxx_werror_flag"
44895 || test ! -s conftest.err'
44896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44897 (eval $ac_try) 2>&5
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; } &&
44901 { ac_try
='test -s conftest$ac_exeext'
44902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44903 (eval $ac_try) 2>&5
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); }; }; then
44907 ac_cv_lib_unicows_main
=yes
44909 echo "$as_me: failed program was:" >&5
44910 sed 's/^/| /' conftest.
$ac_ext >&5
44912 ac_cv_lib_unicows_main
=no
44914 rm -f conftest.err conftest.
$ac_objext \
44915 conftest
$ac_exeext conftest.
$ac_ext
44916 LIBS
=$ac_check_lib_save_LIBS
44918 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44919 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44920 if test $ac_cv_lib_unicows_main = yes; then
44922 cat >>confdefs.h
<<\_ACEOF
44923 #define wxUSE_UNICODE_MSLU 1
44929 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44930 Applications will only run on Windows NT/2000/XP!" >&5
44931 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44932 Applications will only run on Windows NT/2000/XP!" >&2;}
44933 wxUSE_UNICODE_MSLU
=no
44940 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44941 cat >>confdefs.h
<<\_ACEOF
44942 #define wxUSE_EXPERIMENTAL_PRINTF 1
44948 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44949 cat >>confdefs.h
<<\_ACEOF
44950 #define wxUSE_POSTSCRIPT 1
44955 cat >>confdefs.h
<<\_ACEOF
44956 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44960 cat >>confdefs.h
<<\_ACEOF
44961 #define wxUSE_NORMALIZED_PS_FONTS 1
44966 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44967 cat >>confdefs.h
<<\_ACEOF
44968 #define wxUSE_CONSTRAINTS 1
44971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44974 if test "$wxUSE_MDI" = "yes"; then
44975 cat >>confdefs.h
<<\_ACEOF
44976 #define wxUSE_MDI 1
44980 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44981 cat >>confdefs.h
<<\_ACEOF
44982 #define wxUSE_MDI_ARCHITECTURE 1
44985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44989 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44990 cat >>confdefs.h
<<\_ACEOF
44991 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44995 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45000 if test "$wxUSE_HELP" = "yes"; then
45001 cat >>confdefs.h
<<\_ACEOF
45002 #define wxUSE_HELP 1
45005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45007 if test "$wxUSE_MSW" = 1; then
45008 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45009 cat >>confdefs.h
<<\_ACEOF
45010 #define wxUSE_MS_HTML_HELP 1
45016 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45017 if test "$wxUSE_HTML" = "yes"; then
45018 cat >>confdefs.h
<<\_ACEOF
45019 #define wxUSE_WXHTML_HELP 1
45023 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45024 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45025 wxUSE_WXHTML_HELP
=no
45030 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45031 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45032 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45033 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45035 cat >>confdefs.h
<<\_ACEOF
45036 #define wxUSE_PRINTING_ARCHITECTURE 1
45040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45043 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45044 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45045 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45046 { (exit 1); exit 1; }; }
45050 if test "$wxUSE_METAFILE" = "yes"; then
45051 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45052 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45053 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45059 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45060 -o "$wxUSE_CLIPBOARD" = "yes" \
45061 -o "$wxUSE_OLE" = "yes" \
45062 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45064 for ac_header
in ole2.h
45066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45068 echo "$as_me:$LINENO: checking for $ac_header" >&5
45069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45071 echo $ECHO_N "(cached) $ECHO_C" >&6
45073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45076 # Is the header compilable?
45077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45079 cat >conftest.
$ac_ext <<_ACEOF
45082 cat confdefs.h
>>conftest.
$ac_ext
45083 cat >>conftest.
$ac_ext <<_ACEOF
45084 /* end confdefs.h. */
45085 $ac_includes_default
45086 #include <$ac_header>
45088 rm -f conftest.
$ac_objext
45089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45090 (eval $ac_compile) 2>conftest.er1
45092 grep -v '^ *+' conftest.er1
>conftest.err
45094 cat conftest.err
>&5
45095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096 (exit $ac_status); } &&
45097 { ac_try
='test -z "$ac_cxx_werror_flag"
45098 || test ! -s conftest.err'
45099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45100 (eval $ac_try) 2>&5
45102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 (exit $ac_status); }; } &&
45104 { ac_try
='test -s conftest.$ac_objext'
45105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45106 (eval $ac_try) 2>&5
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); }; }; then
45110 ac_header_compiler
=yes
45112 echo "$as_me: failed program was:" >&5
45113 sed 's/^/| /' conftest.
$ac_ext >&5
45115 ac_header_compiler
=no
45117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45119 echo "${ECHO_T}$ac_header_compiler" >&6
45121 # Is the header present?
45122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45124 cat >conftest.
$ac_ext <<_ACEOF
45127 cat confdefs.h
>>conftest.
$ac_ext
45128 cat >>conftest.
$ac_ext <<_ACEOF
45129 /* end confdefs.h. */
45130 #include <$ac_header>
45132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45135 grep -v '^ *+' conftest.er1
>conftest.err
45137 cat conftest.err
>&5
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); } >/dev
/null
; then
45140 if test -s conftest.err
; then
45141 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45142 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45149 if test -z "$ac_cpp_err"; then
45150 ac_header_preproc
=yes
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.
$ac_ext >&5
45155 ac_header_preproc
=no
45157 rm -f conftest.err conftest.
$ac_ext
45158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45159 echo "${ECHO_T}$ac_header_preproc" >&6
45161 # So? What about this header?
45162 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45168 ac_header_preproc
=yes
45171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45185 ## ----------------------------------------- ##
45186 ## Report this to wx-dev@lists.wxwidgets.org ##
45187 ## ----------------------------------------- ##
45190 sed "s/^/$as_me: WARNING: /" >&2
45193 echo "$as_me:$LINENO: checking for $ac_header" >&5
45194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45196 echo $ECHO_N "(cached) $ECHO_C" >&6
45198 eval "$as_ac_Header=\$ac_header_preproc"
45200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45205 cat >>confdefs.h
<<_ACEOF
45206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45214 if test "$ac_cv_header_ole2_h" = "yes" ; then
45215 if test "$GCC" = yes ; then
45216 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45217 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45218 cat >conftest.
$ac_ext <<_ACEOF
45221 cat confdefs.h
>>conftest.
$ac_ext
45222 cat >>conftest.
$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45224 #include <windows.h>
45234 rm -f conftest.
$ac_objext
45235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45236 (eval $ac_compile) 2>conftest.er1
45238 grep -v '^ *+' conftest.er1
>conftest.err
45240 cat conftest.err
>&5
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); } &&
45243 { ac_try
='test -z "$ac_cxx_werror_flag"
45244 || test ! -s conftest.err'
45245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246 (eval $ac_try) 2>&5
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; } &&
45250 { ac_try
='test -s conftest.$ac_objext'
45251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45252 (eval $ac_try) 2>&5
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; }; then
45256 echo "$as_me:$LINENO: result: no" >&5
45257 echo "${ECHO_T}no" >&6
45259 echo "$as_me: failed program was:" >&5
45260 sed 's/^/| /' conftest.
$ac_ext >&5
45262 echo "$as_me:$LINENO: result: yes" >&5
45263 echo "${ECHO_T}yes" >&6
45264 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45267 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45268 if test "$wxUSE_OLE" = "yes" ; then
45269 cat >>confdefs.h
<<\_ACEOF
45270 #define wxUSE_OLE 1
45273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45277 if test "$wxUSE_DATAOBJ" = "yes" ; then
45278 cat >>confdefs.h
<<\_ACEOF
45279 #define wxUSE_DATAOBJ 1
45284 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45285 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45288 wxUSE_DRAG_AND_DROP
=no
45293 if test "$wxUSE_METAFILE" = "yes"; then
45294 cat >>confdefs.h
<<\_ACEOF
45295 #define wxUSE_METAFILE 1
45299 cat >>confdefs.h
<<\_ACEOF
45300 #define wxUSE_ENH_METAFILE 1
45306 if test "$wxUSE_IPC" = "yes"; then
45307 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45308 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45309 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45313 if test "$wxUSE_IPC" = "yes"; then
45314 cat >>confdefs.h
<<\_ACEOF
45315 #define wxUSE_IPC 1
45318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45322 if test "$wxUSE_DATAOBJ" = "yes"; then
45323 if test "$wxUSE_MGL" = 1; then
45324 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45325 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_DATAOBJ 1
45334 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45335 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45337 wxUSE_DRAG_AND_DROP
=no
45340 if test "$wxUSE_CLIPBOARD" = "yes"; then
45341 if test "$wxUSE_MGL" = 1; then
45342 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45343 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45347 if test "$wxUSE_CLIPBOARD" = "yes"; then
45348 cat >>confdefs.h
<<\_ACEOF
45349 #define wxUSE_CLIPBOARD 1
45355 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45356 if test "$wxUSE_GTK" = 1; then
45357 if test "$WXGTK12" != 1; then
45358 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45359 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45360 wxUSE_DRAG_AND_DROP
=no
45364 if test "$wxUSE_MOTIF" = 1; then
45365 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45366 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45367 wxUSE_DRAG_AND_DROP
=no
45370 if test "$wxUSE_X11" = 1; then
45371 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45372 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45373 wxUSE_DRAG_AND_DROP
=no
45376 if test "$wxUSE_MGL" = 1; then
45377 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45378 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45379 wxUSE_DRAG_AND_DROP
=no
45382 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45383 cat >>confdefs.h
<<\_ACEOF
45384 #define wxUSE_DRAG_AND_DROP 1
45391 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45395 if test "$wxUSE_SPLINES" = "yes" ; then
45396 cat >>confdefs.h
<<\_ACEOF
45397 #define wxUSE_SPLINES 1
45402 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45403 cat >>confdefs.h
<<\_ACEOF
45404 #define wxUSE_MOUSEWHEEL 1
45411 if test "$wxUSE_CONTROLS" = "yes"; then
45415 if test "$wxUSE_ACCEL" = "yes"; then
45416 cat >>confdefs.h
<<\_ACEOF
45417 #define wxUSE_ACCEL 1
45423 if test "$wxUSE_BUTTON" = "yes"; then
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_BUTTON 1
45431 if test "$wxUSE_BMPBUTTON" = "yes"; then
45432 cat >>confdefs.h
<<\_ACEOF
45433 #define wxUSE_BMPBUTTON 1
45439 if test "$wxUSE_CALCTRL" = "yes"; then
45440 cat >>confdefs.h
<<\_ACEOF
45441 #define wxUSE_CALENDARCTRL 1
45445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45448 if test "$wxUSE_CARET" = "yes"; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_CARET 1
45454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45457 if test "$wxUSE_COMBOBOX" = "yes"; then
45458 cat >>confdefs.h
<<\_ACEOF
45459 #define wxUSE_COMBOBOX 1
45465 if test "$wxUSE_COMBOCTRL" = "yes"; then
45466 cat >>confdefs.h
<<\_ACEOF
45467 #define wxUSE_COMBOCTRL 1
45473 if test "$wxUSE_CHOICE" = "yes"; then
45474 cat >>confdefs.h
<<\_ACEOF
45475 #define wxUSE_CHOICE 1
45481 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45482 cat >>confdefs.h
<<\_ACEOF
45483 #define wxUSE_CHOICEBOOK 1
45489 if test "$wxUSE_CHECKBOX" = "yes"; then
45490 cat >>confdefs.h
<<\_ACEOF
45491 #define wxUSE_CHECKBOX 1
45497 if test "$wxUSE_CHECKLST" = "yes"; then
45498 cat >>confdefs.h
<<\_ACEOF
45499 #define wxUSE_CHECKLISTBOX 1
45503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45506 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45507 cat >>confdefs.h
<<\_ACEOF
45508 #define wxUSE_COLOURPICKERCTRL 1
45514 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45515 cat >>confdefs.h
<<\_ACEOF
45516 #define wxUSE_DATEPICKCTRL 1
45522 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45523 cat >>confdefs.h
<<\_ACEOF
45524 #define wxUSE_DIRPICKERCTRL 1
45530 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45531 cat >>confdefs.h
<<\_ACEOF
45532 #define wxUSE_FILEPICKERCTRL 1
45538 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_FONTPICKERCTRL 1
45546 if test "$wxUSE_DISPLAY" = "yes"; then
45547 cat >>confdefs.h
<<\_ACEOF
45548 #define wxUSE_DISPLAY 1
45551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45554 if test "$wxUSE_GAUGE" = "yes"; then
45555 cat >>confdefs.h
<<\_ACEOF
45556 #define wxUSE_GAUGE 1
45562 if test "$wxUSE_GRID" = "yes"; then
45563 cat >>confdefs.h
<<\_ACEOF
45564 #define wxUSE_GRID 1
45568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45571 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45572 cat >>confdefs.h
<<\_ACEOF
45573 #define wxUSE_HYPERLINKCTRL 1
45579 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45580 cat >>confdefs.h
<<\_ACEOF
45581 #define wxUSE_BITMAPCOMBOBOX 1
45587 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45588 cat >>confdefs.h
<<\_ACEOF
45589 #define wxUSE_DATAVIEWCTRL 1
45593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45596 if test "$wxUSE_IMAGLIST" = "yes"; then
45597 cat >>confdefs.h
<<\_ACEOF
45598 #define wxUSE_IMAGLIST 1
45603 if test "$wxUSE_LISTBOOK" = "yes"; then
45604 cat >>confdefs.h
<<\_ACEOF
45605 #define wxUSE_LISTBOOK 1
45611 if test "$wxUSE_LISTBOX" = "yes"; then
45612 cat >>confdefs.h
<<\_ACEOF
45613 #define wxUSE_LISTBOX 1
45617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45620 if test "$wxUSE_LISTCTRL" = "yes"; then
45621 if test "$wxUSE_IMAGLIST" = "yes"; then
45622 cat >>confdefs.h
<<\_ACEOF
45623 #define wxUSE_LISTCTRL 1
45627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45629 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45630 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45634 if test "$wxUSE_NOTEBOOK" = "yes"; then
45635 cat >>confdefs.h
<<\_ACEOF
45636 #define wxUSE_NOTEBOOK 1
45640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45643 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45644 cat >>confdefs.h
<<\_ACEOF
45645 #define wxUSE_ODCOMBOBOX 1
45649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45653 if test "$wxUSE_RADIOBOX" = "yes"; then
45654 cat >>confdefs.h
<<\_ACEOF
45655 #define wxUSE_RADIOBOX 1
45661 if test "$wxUSE_RADIOBTN" = "yes"; then
45662 cat >>confdefs.h
<<\_ACEOF
45663 #define wxUSE_RADIOBTN 1
45669 if test "$wxUSE_SASH" = "yes"; then
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_SASH 1
45674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45677 if test "$wxUSE_SCROLLBAR" = "yes"; then
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_SCROLLBAR 1
45683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45686 if test "$wxUSE_SLIDER" = "yes"; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_SLIDER 1
45694 if test "$wxUSE_SPINBTN" = "yes"; then
45695 cat >>confdefs.h
<<\_ACEOF
45696 #define wxUSE_SPINBTN 1
45702 if test "$wxUSE_SPINCTRL" = "yes"; then
45703 cat >>confdefs.h
<<\_ACEOF
45704 #define wxUSE_SPINCTRL 1
45710 if test "$wxUSE_SPLITTER" = "yes"; then
45711 cat >>confdefs.h
<<\_ACEOF
45712 #define wxUSE_SPLITTER 1
45715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45718 if test "$wxUSE_STATBMP" = "yes"; then
45719 cat >>confdefs.h
<<\_ACEOF
45720 #define wxUSE_STATBMP 1
45726 if test "$wxUSE_STATBOX" = "yes"; then
45727 cat >>confdefs.h
<<\_ACEOF
45728 #define wxUSE_STATBOX 1
45734 if test "$wxUSE_STATTEXT" = "yes"; then
45735 cat >>confdefs.h
<<\_ACEOF
45736 #define wxUSE_STATTEXT 1
45742 if test "$wxUSE_STATLINE" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_STATLINE 1
45750 if test "$wxUSE_STATUSBAR" = "yes"; then
45751 cat >>confdefs.h
<<\_ACEOF
45752 #define wxUSE_NATIVE_STATUSBAR 1
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_STATUSBAR 1
45761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45764 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45765 cat >>confdefs.h
<<\_ACEOF
45766 #define wxUSE_TAB_DIALOG 1
45771 if test "$wxUSE_TEXTCTRL" = "yes"; then
45772 cat >>confdefs.h
<<\_ACEOF
45773 #define wxUSE_TEXTCTRL 1
45777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45781 if test "$wxUSE_COCOA" = 1 ; then
45782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45783 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45787 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45788 cat >>confdefs.h
<<\_ACEOF
45789 #define wxUSE_TOGGLEBTN 1
45796 if test "$wxUSE_TOOLBAR" = "yes"; then
45797 cat >>confdefs.h
<<\_ACEOF
45798 #define wxUSE_TOOLBAR 1
45803 if test "$wxUSE_UNIVERSAL" = "yes"; then
45804 wxUSE_TOOLBAR_NATIVE
="no"
45806 wxUSE_TOOLBAR_NATIVE
="yes"
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_TOOLBAR_NATIVE 1
45813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45816 if test "$wxUSE_TOOLTIPS" = "yes"; then
45817 if test "$wxUSE_MOTIF" = 1; then
45818 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45819 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45821 if test "$wxUSE_UNIVERSAL" = "yes"; then
45822 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45823 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45825 cat >>confdefs.h
<<\_ACEOF
45826 #define wxUSE_TOOLTIPS 1
45833 if test "$wxUSE_TREEBOOK" = "yes"; then
45834 cat >>confdefs.h
<<\_ACEOF
45835 #define wxUSE_TREEBOOK 1
45841 if test "$wxUSE_TOOLBOOK" = "yes"; then
45842 cat >>confdefs.h
<<\_ACEOF
45843 #define wxUSE_TOOLBOOK 1
45849 if test "$wxUSE_TREECTRL" = "yes"; then
45850 if test "$wxUSE_IMAGLIST" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_TREECTRL 1
45856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45858 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45859 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45863 if test "$wxUSE_POPUPWIN" = "yes"; then
45864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45865 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45866 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45868 if test "$wxUSE_PM" = 1; then
45869 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45870 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45872 cat >>confdefs.h
<<\_ACEOF
45873 #define wxUSE_POPUPWIN 1
45876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45883 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45884 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45885 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45886 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45888 cat >>confdefs.h
<<\_ACEOF
45889 #define wxUSE_DIALUP_MANAGER 1
45892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45896 if test "$wxUSE_TIPWINDOW" = "yes"; then
45897 if test "$wxUSE_PM" = 1; then
45898 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45899 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45901 cat >>confdefs.h
<<\_ACEOF
45902 #define wxUSE_TIPWINDOW 1
45908 if test "$USES_CONTROLS" = 1; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_CONTROLS 1
45916 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_ACCESSIBILITY 1
45921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45924 if test "$wxUSE_DC_CACHEING" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_DC_CACHEING 1
45931 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45932 cat >>confdefs.h
<<\_ACEOF
45933 #define wxUSE_DRAGIMAGE 1
45936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45939 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45940 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45941 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45942 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45944 cat >>confdefs.h
<<\_ACEOF
45945 #define wxUSE_EXCEPTIONS 1
45948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45953 if test "$wxUSE_HTML" = "yes"; then
45954 cat >>confdefs.h
<<\_ACEOF
45955 #define wxUSE_HTML 1
45959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45960 if test "$wxUSE_MAC" = 1; then
45961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45964 if test "$wxUSE_WEBKIT" = "yes"; then
45965 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45966 old_CPPFLAGS
="$CPPFLAGS"
45967 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45968 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45969 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45970 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45971 echo $ECHO_N "(cached) $ECHO_C" >&6
45973 cat >conftest.
$ac_ext <<_ACEOF
45976 cat confdefs.h
>>conftest.
$ac_ext
45977 cat >>conftest.
$ac_ext <<_ACEOF
45978 /* end confdefs.h. */
45979 #include <Carbon/Carbon.h>
45981 #include <WebKit/HIWebView.h>
45983 rm -f conftest.
$ac_objext
45984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45985 (eval $ac_compile) 2>conftest.er1
45987 grep -v '^ *+' conftest.er1
>conftest.err
45989 cat conftest.err
>&5
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); } &&
45992 { ac_try
='test -z "$ac_cxx_werror_flag"
45993 || test ! -s conftest.err'
45994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45995 (eval $ac_try) 2>&5
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); }; } &&
45999 { ac_try
='test -s conftest.$ac_objext'
46000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46001 (eval $ac_try) 2>&5
46003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004 (exit $ac_status); }; }; then
46005 ac_cv_header_WebKit_HIWebView_h
=yes
46007 echo "$as_me: failed program was:" >&5
46008 sed 's/^/| /' conftest.
$ac_ext >&5
46010 ac_cv_header_WebKit_HIWebView_h
=no
46012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46014 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46015 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46016 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46018 cat >>confdefs.h
<<\_ACEOF
46019 #define wxUSE_WEBKIT 1
46022 WEBKIT_LINK
="-framework WebKit"
46026 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46027 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46033 CPPFLAGS
="$old_CPPFLAGS"
46034 elif test "$wxUSE_COCOA" = 1; then
46035 cat >>confdefs.h
<<\_ACEOF
46036 #define wxUSE_WEBKIT 1
46045 if test "$wxUSE_XRC" = "yes"; then
46046 if test "$wxUSE_XML" != "yes"; then
46047 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46048 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46051 cat >>confdefs.h
<<\_ACEOF
46052 #define wxUSE_XRC 1
46056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46061 if test "$wxUSE_AUI" = "yes"; then
46062 cat >>confdefs.h
<<\_ACEOF
46063 #define wxUSE_AUI 1
46067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46070 if test "$wxUSE_MENUS" = "yes"; then
46071 cat >>confdefs.h
<<\_ACEOF
46072 #define wxUSE_MENUS 1
46075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46078 if test "$wxUSE_METAFILE" = "yes"; then
46079 cat >>confdefs.h
<<\_ACEOF
46080 #define wxUSE_METAFILE 1
46085 if test "$wxUSE_MIMETYPE" = "yes"; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_MIMETYPE 1
46092 if test "$wxUSE_MINIFRAME" = "yes"; then
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_MINIFRAME 1
46097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46100 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46101 cat >>confdefs.h
<<\_ACEOF
46102 #define wxUSE_SYSTEM_OPTIONS 1
46105 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46106 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46112 if test "$wxUSE_VALIDATORS" = "yes"; then
46113 cat >>confdefs.h
<<\_ACEOF
46114 #define wxUSE_VALIDATORS 1
46117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46120 if test "$wxUSE_PALETTE" = "yes" ; then
46121 cat >>confdefs.h
<<\_ACEOF
46122 #define wxUSE_PALETTE 1
46127 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46128 LIBS
=" -lunicows $LIBS"
46132 if test "$wxUSE_RICHTEXT" = "yes"; then
46133 cat >>confdefs.h
<<\_ACEOF
46134 #define wxUSE_RICHTEXT 1
46138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46142 if test "$wxUSE_IMAGE" = "yes" ; then
46143 cat >>confdefs.h
<<\_ACEOF
46144 #define wxUSE_IMAGE 1
46148 if test "$wxUSE_GIF" = "yes" ; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_GIF 1
46155 if test "$wxUSE_PCX" = "yes" ; then
46156 cat >>confdefs.h
<<\_ACEOF
46157 #define wxUSE_PCX 1
46162 if test "$wxUSE_IFF" = "yes" ; then
46163 cat >>confdefs.h
<<\_ACEOF
46164 #define wxUSE_IFF 1
46169 if test "$wxUSE_PNM" = "yes" ; then
46170 cat >>confdefs.h
<<\_ACEOF
46171 #define wxUSE_PNM 1
46176 if test "$wxUSE_XPM" = "yes" ; then
46177 cat >>confdefs.h
<<\_ACEOF
46178 #define wxUSE_XPM 1
46183 if test "$wxUSE_ICO_CUR" = "yes" ; then
46184 cat >>confdefs.h
<<\_ACEOF
46185 #define wxUSE_ICO_CUR 1
46192 if test "$wxUSE_CHOICEDLG" = "yes"; then
46193 cat >>confdefs.h
<<\_ACEOF
46194 #define wxUSE_CHOICEDLG 1
46199 if test "$wxUSE_COLOURDLG" = "yes"; then
46200 cat >>confdefs.h
<<\_ACEOF
46201 #define wxUSE_COLOURDLG 1
46206 if test "$wxUSE_FILEDLG" = "yes"; then
46207 cat >>confdefs.h
<<\_ACEOF
46208 #define wxUSE_FILEDLG 1
46213 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46214 cat >>confdefs.h
<<\_ACEOF
46215 #define wxUSE_FINDREPLDLG 1
46220 if test "$wxUSE_FONTDLG" = "yes"; then
46221 cat >>confdefs.h
<<\_ACEOF
46222 #define wxUSE_FONTDLG 1
46227 if test "$wxUSE_DIRDLG" = "yes"; then
46228 if test "$wxUSE_TREECTRL" != "yes"; then
46229 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46230 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_DIRDLG 1
46239 if test "$wxUSE_MSGDLG" = "yes"; then
46240 cat >>confdefs.h
<<\_ACEOF
46241 #define wxUSE_MSGDLG 1
46246 if test "$wxUSE_NUMBERDLG" = "yes"; then
46247 cat >>confdefs.h
<<\_ACEOF
46248 #define wxUSE_NUMBERDLG 1
46253 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46254 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46255 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46256 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46258 cat >>confdefs.h
<<\_ACEOF
46259 #define wxUSE_PROGRESSDLG 1
46265 if test "$wxUSE_SPLASH" = "yes"; then
46266 cat >>confdefs.h
<<\_ACEOF
46267 #define wxUSE_SPLASH 1
46270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46273 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46274 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46275 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46276 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46278 cat >>confdefs.h
<<\_ACEOF
46279 #define wxUSE_STARTUP_TIPS 1
46285 if test "$wxUSE_TEXTDLG" = "yes"; then
46286 cat >>confdefs.h
<<\_ACEOF
46287 #define wxUSE_TEXTDLG 1
46292 if test "$wxUSE_WIZARDDLG" = "yes"; then
46293 cat >>confdefs.h
<<\_ACEOF
46294 #define wxUSE_WIZARDDLG 1
46297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46303 if test "$wxUSE_MEDIACTRL" = "yes"; then
46306 if test "$wxUSE_GTK" = 1; then
46307 wxUSE_GSTREAMER
="no"
46309 GST_VERSION_MAJOR
=0
46310 GST_VERSION_MINOR
=10
46311 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46313 if test "$wxUSE_GSTREAMER8" = "no"; then
46316 echo "$as_me:$LINENO: checking for GST" >&5
46317 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46319 if test -n "$PKG_CONFIG"; then
46320 if test -n "$GST_CFLAGS"; then
46321 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46323 if test -n "$PKG_CONFIG" && \
46324 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46325 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46328 (exit $ac_status); }; then
46329 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46337 if test -n "$PKG_CONFIG"; then
46338 if test -n "$GST_LIBS"; then
46339 pkg_cv_GST_LIBS
="$GST_LIBS"
46341 if test -n "$PKG_CONFIG" && \
46342 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46343 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346 (exit $ac_status); }; then
46347 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46358 if test $pkg_failed = yes; then
46360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46361 _pkg_short_errors_supported
=yes
46363 _pkg_short_errors_supported
=no
46365 if test $_pkg_short_errors_supported = yes; then
46366 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46368 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46370 # Put the nasty error message in config.log where it belongs
46371 echo "$GST_PKG_ERRORS" >&5
46374 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46375 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46376 GST_VERSION_MINOR
=8
46379 elif test $pkg_failed = untried
; then
46381 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46382 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46383 GST_VERSION_MINOR
=8
46387 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46388 GST_LIBS
=$pkg_cv_GST_LIBS
46389 echo "$as_me:$LINENO: result: yes" >&5
46390 echo "${ECHO_T}yes" >&6
46392 wxUSE_GSTREAMER
="yes"
46393 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46397 GST_VERSION_MINOR
=8
46400 if test $GST_VERSION_MINOR = "8"; then
46401 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46404 echo "$as_me:$LINENO: checking for GST" >&5
46405 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46407 if test -n "$PKG_CONFIG"; then
46408 if test -n "$GST_CFLAGS"; then
46409 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46411 if test -n "$PKG_CONFIG" && \
46412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46413 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416 (exit $ac_status); }; then
46417 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46425 if test -n "$PKG_CONFIG"; then
46426 if test -n "$GST_LIBS"; then
46427 pkg_cv_GST_LIBS
="$GST_LIBS"
46429 if test -n "$PKG_CONFIG" && \
46430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46431 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46434 (exit $ac_status); }; then
46435 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46446 if test $pkg_failed = yes; then
46448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46449 _pkg_short_errors_supported
=yes
46451 _pkg_short_errors_supported
=no
46453 if test $_pkg_short_errors_supported = yes; then
46454 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46456 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46458 # Put the nasty error message in config.log where it belongs
46459 echo "$GST_PKG_ERRORS" >&5
46462 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46463 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46465 elif test $pkg_failed = untried
; then
46467 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46468 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46471 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46472 GST_LIBS
=$pkg_cv_GST_LIBS
46473 echo "$as_me:$LINENO: result: yes" >&5
46474 echo "${ECHO_T}yes" >&6
46475 wxUSE_GSTREAMER
="yes"
46480 if test "$wxUSE_GSTREAMER" = "yes"; then
46483 if "$GCC" = yes; then
46484 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46485 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46489 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46490 LIBS
="$GST_LIBS $LIBS"
46492 cat >>confdefs.h
<<\_ACEOF
46493 #define wxUSE_GSTREAMER 1
46501 if test $USE_MEDIA = 1; then
46502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46503 cat >>confdefs.h
<<\_ACEOF
46504 #define wxUSE_MEDIACTRL 1
46511 if test "$cross_compiling" = "yes"; then
46514 OSINFO
=`uname -s -r -m`
46515 OSINFO
="\"$OSINFO\""
46518 cat >>confdefs.h
<<_ACEOF
46519 #define WXWIN_OS_DESCRIPTION $OSINFO
46524 if test "x$prefix" != "xNONE"; then
46527 wxPREFIX
=$ac_default_prefix
46530 cat >>confdefs.h
<<_ACEOF
46531 #define wxINSTALL_PREFIX "$wxPREFIX"
46537 CORE_BASE_LIBS
="net base"
46538 CORE_GUI_LIBS
="adv core"
46540 if test "$wxUSE_XML" = "yes" ; then
46541 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46543 if test "$wxUSE_ODBC" != "no" ; then
46544 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46545 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46547 if test "$wxUSE_HTML" = "yes" ; then
46548 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46550 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46551 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46553 if test "$wxUSE_XRC" = "yes" ; then
46554 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46556 if test "$wxUSE_AUI" = "yes" ; then
46557 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46560 if test "$wxUSE_GUI" != "yes"; then
46569 ac_cpp
='$CPP $CPPFLAGS'
46570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46576 if test "$wxUSE_MAC" = 1 ; then
46577 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46578 if test "$USE_DARWIN" = 1; then
46579 LDFLAGS
="$LDFLAGS -framework QuickTime"
46581 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46584 if test "$USE_DARWIN" = 1; then
46585 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46587 LDFLAGS
="$LDFLAGS -lCarbonLib"
46590 if test "$wxUSE_COCOA" = 1 ; then
46591 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46592 if test "$wxUSE_MEDIACTRL" = "yes"; then
46593 LDFLAGS
="$LDFLAGS -framework QuickTime"
46596 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46597 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46600 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46602 if test "$wxUSE_GUI" = "yes"; then
46605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46606 dynamic erase event exec font image minimal mobile \
46607 mobile/wxedit mobile/styles propsize render \
46608 rotate shaped vscroll widgets"
46610 if test "$wxUSE_MONOLITHIC" != "yes"; then
46611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46613 if test "$TOOLKIT" = "MSW"; then
46614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46615 if test "$wxUSE_UNIVERSAL" != "yes"; then
46616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46619 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46623 SAMPLES_SUBDIRS
="console"
46627 if test "x$INTELCC" = "xyes" ; then
46628 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46629 elif test "$GCC" = yes ; then
46630 CWARNINGS
="-Wall -Wundef"
46633 if test "x$INTELCXX" = "xyes" ; then
46634 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46635 elif test "$GXX" = yes ; then
46636 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46640 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46641 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46644 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46645 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46646 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46649 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46650 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46651 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46653 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46656 if test "x$MWCC" = "xyes"; then
46658 CC
="$CC -cwd source -I-"
46659 CXX
="$CXX -cwd source -I-"
46664 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46665 EXTRALIBS_XML
="$EXPAT_LINK"
46666 EXTRALIBS_HTML
="$MSPACK_LINK"
46667 EXTRALIBS_ODBC
="$ODBC_LINK"
46668 if test "$wxUSE_GUI" = "yes"; then
46669 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46671 if test "$wxUSE_OPENGL" = "yes"; then
46672 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46675 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46677 WXCONFIG_LIBS
="$LIBS"
46679 if test "$wxUSE_REGEX" = "builtin" ; then
46680 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46682 if test "$wxUSE_EXPAT" = "builtin" ; then
46683 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46685 if test "$wxUSE_ODBC" = "builtin" ; then
46686 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46688 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46689 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46691 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46692 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46694 if test "$wxUSE_LIBPNG" = "builtin" ; then
46695 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46697 if test "$wxUSE_ZLIB" = "builtin" ; then
46698 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46701 for i
in $wxconfig_3rdparty ; do
46702 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46706 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46720 if test $wxUSE_MONOLITHIC = "yes" ; then
46726 if test $wxUSE_PLUGINS = "yes" ; then
46732 if test $wxUSE_ODBC != "no" ; then
46738 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46744 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46774 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46785 TOOLKIT_DESC
="GTK+"
46786 if test "$WXGTK20" = 1; then
46787 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46788 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46789 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46791 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46792 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46794 if test "$wxUSE_LIBHILDON" = "yes"; then
46795 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46798 if test "$TOOLKIT_EXTRA" != ""; then
46799 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46805 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46809 TOOLKIT_DESC
="base only"
46813 if test "$wxUSE_WINE" = "yes"; then
46814 BAKEFILE_FORCE_PLATFORM
=win32
46817 if test "$wxUSE_MAC" = 1 ; then
46818 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46819 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46820 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46822 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46824 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46825 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46826 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46827 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46830 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46831 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46837 if test "x$BAKEFILE_HOST" = "x"; then
46838 if test "x${host}" = "x" ; then
46839 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46840 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46841 { (exit 1); exit 1; }; }
46844 BAKEFILE_HOST
="${host}"
46847 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46849 if test -n "$ac_tool_prefix"; then
46850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46851 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46852 echo "$as_me:$LINENO: checking for $ac_word" >&5
46853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46854 if test "${ac_cv_prog_RANLIB+set}" = set; then
46855 echo $ECHO_N "(cached) $ECHO_C" >&6
46857 if test -n "$RANLIB"; then
46858 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46861 for as_dir
in $PATH
46864 test -z "$as_dir" && as_dir
=.
46865 for ac_exec_ext
in '' $ac_executable_extensions; do
46866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46867 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46876 RANLIB
=$ac_cv_prog_RANLIB
46877 if test -n "$RANLIB"; then
46878 echo "$as_me:$LINENO: result: $RANLIB" >&5
46879 echo "${ECHO_T}$RANLIB" >&6
46881 echo "$as_me:$LINENO: result: no" >&5
46882 echo "${ECHO_T}no" >&6
46886 if test -z "$ac_cv_prog_RANLIB"; then
46887 ac_ct_RANLIB
=$RANLIB
46888 # Extract the first word of "ranlib", so it can be a program name with args.
46889 set dummy ranlib
; ac_word
=$2
46890 echo "$as_me:$LINENO: checking for $ac_word" >&5
46891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46893 echo $ECHO_N "(cached) $ECHO_C" >&6
46895 if test -n "$ac_ct_RANLIB"; then
46896 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46899 for as_dir
in $PATH
46902 test -z "$as_dir" && as_dir
=.
46903 for ac_exec_ext
in '' $ac_executable_extensions; do
46904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46905 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46912 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46915 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46916 if test -n "$ac_ct_RANLIB"; then
46917 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46918 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46920 echo "$as_me:$LINENO: result: no" >&5
46921 echo "${ECHO_T}no" >&6
46924 RANLIB
=$ac_ct_RANLIB
46926 RANLIB
="$ac_cv_prog_RANLIB"
46929 # Find a good install program. We prefer a C program (faster),
46930 # so one script is as good as another. But avoid the broken or
46931 # incompatible versions:
46932 # SysV /etc/install, /usr/sbin/install
46933 # SunOS /usr/etc/install
46934 # IRIX /sbin/install
46936 # AmigaOS /C/install, which installs bootblocks on floppy discs
46937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46940 # OS/2's system install, which has a completely different semantic
46941 # ./install, which can be erroneously created by make from ./install.sh.
46942 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46944 if test -z "$INSTALL"; then
46945 if test "${ac_cv_path_install+set}" = set; then
46946 echo $ECHO_N "(cached) $ECHO_C" >&6
46948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46949 for as_dir
in $PATH
46952 test -z "$as_dir" && as_dir
=.
46953 # Account for people who put trailing slashes in PATH elements.
46955 .
/ | .
// | /cC
/* | \
46956 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46957 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46960 # OSF1 and SCO ODT 3.0 have their own names for install.
46961 # Don't use installbsd from OSF since it installs stuff as root
46963 for ac_prog
in ginstall scoinst
install; do
46964 for ac_exec_ext
in '' $ac_executable_extensions; do
46965 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46966 if test $ac_prog = install &&
46967 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46968 # AIX install. It has an incompatible calling convention.
46970 elif test $ac_prog = install &&
46971 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46972 # program-specific install script used by HP pwplus--don't use.
46975 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46987 if test "${ac_cv_path_install+set}" = set; then
46988 INSTALL
=$ac_cv_path_install
46990 # As a last resort, use the slow shell script. We don't cache a
46991 # path for INSTALL within a source directory, because that will
46992 # break other packages using the cache if that directory is
46993 # removed, or if the path is relative.
46994 INSTALL
=$ac_install_sh
46997 echo "$as_me:$LINENO: result: $INSTALL" >&5
46998 echo "${ECHO_T}$INSTALL" >&6
47000 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47001 # It thinks the first close brace ends the variable substitution.
47002 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47004 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47006 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47008 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47009 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47011 if test "$LN_S" = "ln -s"; then
47012 echo "$as_me:$LINENO: result: yes" >&5
47013 echo "${ECHO_T}yes" >&6
47015 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47016 echo "${ECHO_T}no, using $LN_S" >&6
47020 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47021 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47022 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47023 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47024 echo $ECHO_N "(cached) $ECHO_C" >&6
47026 cat >conftest.
make <<\_ACEOF
47028 @
echo 'ac_maketemp="$(MAKE)"'
47030 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47031 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47032 if test -n "$ac_maketemp"; then
47033 eval ac_cv_prog_make_
${ac_make}_set
=yes
47035 eval ac_cv_prog_make_
${ac_make}_set
=no
47037 rm -f conftest.
make
47039 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47040 echo "$as_me:$LINENO: result: yes" >&5
47041 echo "${ECHO_T}yes" >&6
47044 echo "$as_me:$LINENO: result: no" >&5
47045 echo "${ECHO_T}no" >&6
47046 SET_MAKE
="MAKE=${MAKE-make}"
47051 if test -n "$ac_tool_prefix"; then
47052 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47053 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47054 echo "$as_me:$LINENO: checking for $ac_word" >&5
47055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47056 if test "${ac_cv_prog_AR+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47059 if test -n "$AR"; then
47060 ac_cv_prog_AR
="$AR" # Let the user override the test.
47062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47063 for as_dir
in $PATH
47066 test -z "$as_dir" && as_dir
=.
47067 for ac_exec_ext
in '' $ac_executable_extensions; do
47068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47069 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47079 if test -n "$AR"; then
47080 echo "$as_me:$LINENO: result: $AR" >&5
47081 echo "${ECHO_T}$AR" >&6
47083 echo "$as_me:$LINENO: result: no" >&5
47084 echo "${ECHO_T}no" >&6
47088 if test -z "$ac_cv_prog_AR"; then
47090 # Extract the first word of "ar", so it can be a program name with args.
47091 set dummy
ar; ac_word
=$2
47092 echo "$as_me:$LINENO: checking for $ac_word" >&5
47093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47094 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47095 echo $ECHO_N "(cached) $ECHO_C" >&6
47097 if test -n "$ac_ct_AR"; then
47098 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47101 for as_dir
in $PATH
47104 test -z "$as_dir" && as_dir
=.
47105 for ac_exec_ext
in '' $ac_executable_extensions; do
47106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47107 ac_cv_prog_ac_ct_AR
="ar"
47108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47114 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47117 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47118 if test -n "$ac_ct_AR"; then
47119 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47120 echo "${ECHO_T}$ac_ct_AR" >&6
47122 echo "$as_me:$LINENO: result: no" >&5
47123 echo "${ECHO_T}no" >&6
47128 AR
="$ac_cv_prog_AR"
47131 if test -n "$ac_tool_prefix"; then
47132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47133 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47134 echo "$as_me:$LINENO: checking for $ac_word" >&5
47135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47136 if test "${ac_cv_prog_STRIP+set}" = set; then
47137 echo $ECHO_N "(cached) $ECHO_C" >&6
47139 if test -n "$STRIP"; then
47140 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47143 for as_dir
in $PATH
47146 test -z "$as_dir" && as_dir
=.
47147 for ac_exec_ext
in '' $ac_executable_extensions; do
47148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47149 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47158 STRIP
=$ac_cv_prog_STRIP
47159 if test -n "$STRIP"; then
47160 echo "$as_me:$LINENO: result: $STRIP" >&5
47161 echo "${ECHO_T}$STRIP" >&6
47163 echo "$as_me:$LINENO: result: no" >&5
47164 echo "${ECHO_T}no" >&6
47168 if test -z "$ac_cv_prog_STRIP"; then
47170 # Extract the first word of "strip", so it can be a program name with args.
47171 set dummy strip
; ac_word
=$2
47172 echo "$as_me:$LINENO: checking for $ac_word" >&5
47173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47174 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47175 echo $ECHO_N "(cached) $ECHO_C" >&6
47177 if test -n "$ac_ct_STRIP"; then
47178 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47181 for as_dir
in $PATH
47184 test -z "$as_dir" && as_dir
=.
47185 for ac_exec_ext
in '' $ac_executable_extensions; do
47186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47187 ac_cv_prog_ac_ct_STRIP
="strip"
47188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47194 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47197 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47198 if test -n "$ac_ct_STRIP"; then
47199 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47200 echo "${ECHO_T}$ac_ct_STRIP" >&6
47202 echo "$as_me:$LINENO: result: no" >&5
47203 echo "${ECHO_T}no" >&6
47208 STRIP
="$ac_cv_prog_STRIP"
47211 if test -n "$ac_tool_prefix"; then
47212 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47213 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47214 echo "$as_me:$LINENO: checking for $ac_word" >&5
47215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47216 if test "${ac_cv_prog_NM+set}" = set; then
47217 echo $ECHO_N "(cached) $ECHO_C" >&6
47219 if test -n "$NM"; then
47220 ac_cv_prog_NM
="$NM" # Let the user override the test.
47222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47223 for as_dir
in $PATH
47226 test -z "$as_dir" && as_dir
=.
47227 for ac_exec_ext
in '' $ac_executable_extensions; do
47228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47229 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47239 if test -n "$NM"; then
47240 echo "$as_me:$LINENO: result: $NM" >&5
47241 echo "${ECHO_T}$NM" >&6
47243 echo "$as_me:$LINENO: result: no" >&5
47244 echo "${ECHO_T}no" >&6
47248 if test -z "$ac_cv_prog_NM"; then
47250 # Extract the first word of "nm", so it can be a program name with args.
47251 set dummy nm
; ac_word
=$2
47252 echo "$as_me:$LINENO: checking for $ac_word" >&5
47253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47254 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47255 echo $ECHO_N "(cached) $ECHO_C" >&6
47257 if test -n "$ac_ct_NM"; then
47258 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47261 for as_dir
in $PATH
47264 test -z "$as_dir" && as_dir
=.
47265 for ac_exec_ext
in '' $ac_executable_extensions; do
47266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47267 ac_cv_prog_ac_ct_NM
="nm"
47268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47274 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47277 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47278 if test -n "$ac_ct_NM"; then
47279 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47280 echo "${ECHO_T}$ac_ct_NM" >&6
47282 echo "$as_me:$LINENO: result: no" >&5
47283 echo "${ECHO_T}no" >&6
47288 NM
="$ac_cv_prog_NM"
47292 case ${BAKEFILE_HOST} in
47294 INSTALL_DIR
="mkdir -p"
47296 *) INSTALL_DIR
="$INSTALL -d"
47302 case ${BAKEFILE_HOST} in
47303 *-*-cygwin* | *-*-mingw32* )
47304 LDFLAGS_GUI
="-mwindows"
47310 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47311 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47312 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47313 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47317 egrep -s GNU
> /dev
/null
); then
47318 bakefile_cv_prog_makeisgnu
="yes"
47320 bakefile_cv_prog_makeisgnu
="no"
47324 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47325 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47327 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47344 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47345 case "${BAKEFILE_HOST}" in
47352 *-pc-os2_emx | *-pc-os2-emx )
47362 powerpc
-apple-macos* )
47371 case "$BAKEFILE_FORCE_PLATFORM" in
47392 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47393 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47394 { (exit 1); exit 1; }; }
47409 # Check whether --enable-omf or --disable-omf was given.
47410 if test "${enable_omf+set}" = set; then
47411 enableval
="$enable_omf"
47412 bk_os2_use_omf
="$enableval"
47415 case "${BAKEFILE_HOST}" in
47417 if test "x$GCC" = "xyes"; then
47418 CFLAGS
="$CFLAGS -fno-common"
47419 CXXFLAGS
="$CXXFLAGS -fno-common"
47421 if test "x$XLCC" = "xyes"; then
47422 CFLAGS
="$CFLAGS -qnocommon"
47423 CXXFLAGS
="$CXXFLAGS -qnocommon"
47427 *-pc-os2_emx | *-pc-os2-emx )
47428 if test "x$bk_os2_use_omf" = "xyes" ; then
47431 LDFLAGS
="-Zomf $LDFLAGS"
47432 CFLAGS
="-Zomf $CFLAGS"
47433 CXXFLAGS
="-Zomf $CXXFLAGS"
47441 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47447 SO_SUFFIX_MODULE
="so"
47452 DLLPREFIX_MODULE
=""
47456 case "${BAKEFILE_HOST}" in
47459 SO_SUFFIX_MODULE
="sl"
47463 SO_SUFFIX_MODULE
="a"
47467 SO_SUFFIX_MODULE
="dll"
47468 DLLIMP_SUFFIX
="dll.a"
47475 SO_SUFFIX_MODULE
="dll"
47476 DLLIMP_SUFFIX
="dll.a"
47486 *-pc-os2_emx | *-pc-os2-emx )
47488 SO_SUFFIX_MODULE
="dll"
47489 DLLIMP_SUFFIX
=$OS2_LIBEXT
47493 LIBEXT
=".$OS2_LIBEXT"
47498 SO_SUFFIX_MODULE
="bundle"
47502 if test "x$DLLIMP_SUFFIX" = "x" ; then
47503 DLLIMP_SUFFIX
="$SO_SUFFIX"
47518 if test "x$GCC" = "xyes"; then
47522 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47523 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47526 case "${BAKEFILE_HOST}" in
47528 if test "x$GCC" != "xyes"; then
47529 LDFLAGS
="$LDFLAGS -L/usr/lib"
47531 SHARED_LD_CC
="${CC} -b -o"
47532 SHARED_LD_CXX
="${CXX} -b -o"
47538 if test "x$GCC" != "xyes"; then
47539 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47540 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47541 if test "${bakefile_cv_prog_icc+set}" = set; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47545 cat >conftest.
$ac_ext <<_ACEOF
47548 cat confdefs.h
>>conftest.
$ac_ext
47549 cat >>conftest.
$ac_ext <<_ACEOF
47550 /* end confdefs.h. */
47556 #ifndef __INTEL_COMPILER
47564 rm -f conftest.
$ac_objext
47565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47566 (eval $ac_compile) 2>conftest.er1
47568 grep -v '^ *+' conftest.er1
>conftest.err
47570 cat conftest.err
>&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } &&
47573 { ac_try
='test -z "$ac_c_werror_flag"
47574 || test ! -s conftest.err'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; } &&
47580 { ac_try
='test -s conftest.$ac_objext'
47581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47582 (eval $ac_try) 2>&5
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); }; }; then
47586 bakefile_cv_prog_icc
=yes
47588 echo "$as_me: failed program was:" >&5
47589 sed 's/^/| /' conftest.
$ac_ext >&5
47591 bakefile_cv_prog_icc
=no
47594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47597 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47598 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47599 if test "$bakefile_cv_prog_icc" = "yes"; then
47606 if test "x$GCC" != xyes
; then
47607 SHARED_LD_CC
="${CC} -G -o"
47608 SHARED_LD_CXX
="${CXX} -G -o"
47616 cat <<EOF >shared-ld-sh
47618 #-----------------------------------------------------------------------------
47619 #-- Name: distrib/mac/shared-ld-sh
47620 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47621 #-- Author: Gilles Depeyrot
47622 #-- Copyright: (c) 2002 Gilles Depeyrot
47623 #-- Licence: any use permitted
47624 #-----------------------------------------------------------------------------
47629 linking_flag="-dynamiclib"
47630 ldargs="-r -keep_private_externs -nostdlib"
47632 while test ${D}# -gt 0; do
47639 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47640 # collect these options and values
47641 args="${D}{args} ${D}1 ${D}2"
47646 # collect these load args
47647 ldargs="${D}{ldargs} ${D}1"
47650 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47651 # collect these options
47652 args="${D}{args} ${D}1"
47655 -dynamiclib|-bundle)
47656 linking_flag="${D}1"
47660 echo "shared-ld: unhandled option '${D}1'"
47664 *.o | *.a | *.dylib)
47665 # collect object files
47666 objects="${D}{objects} ${D}1"
47670 echo "shared-ld: unhandled argument '${D}1'"
47681 # Link one module containing all the others
47683 if test ${D}{verbose} = 1; then
47684 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47686 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47690 # Link the shared library from the single module created, but only if the
47691 # previous command didn't fail:
47693 if test ${D}{status} = 0; then
47694 if test ${D}{verbose} = 1; then
47695 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47697 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47702 # Remove intermediate module
47704 rm -f master.${D}${D}.o
47709 chmod +x shared
-ld-sh
47711 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47712 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47715 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47716 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47717 if test "${bakefile_cv_gcc31+set}" = set; then
47718 echo $ECHO_N "(cached) $ECHO_C" >&6
47721 cat >conftest.
$ac_ext <<_ACEOF
47724 cat confdefs.h
>>conftest.
$ac_ext
47725 cat >>conftest.
$ac_ext <<_ACEOF
47726 /* end confdefs.h. */
47732 #if (__GNUC__ < 3) || \
47733 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47741 rm -f conftest.
$ac_objext
47742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47743 (eval $ac_compile) 2>conftest.er1
47745 grep -v '^ *+' conftest.er1
>conftest.err
47747 cat conftest.err
>&5
47748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47749 (exit $ac_status); } &&
47750 { ac_try
='test -z "$ac_c_werror_flag"
47751 || test ! -s conftest.err'
47752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47753 (eval $ac_try) 2>&5
47755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47756 (exit $ac_status); }; } &&
47757 { ac_try
='test -s conftest.$ac_objext'
47758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47759 (eval $ac_try) 2>&5
47761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47762 (exit $ac_status); }; }; then
47764 bakefile_cv_gcc31
=yes
47767 echo "$as_me: failed program was:" >&5
47768 sed 's/^/| /' conftest.
$ac_ext >&5
47771 bakefile_cv_gcc31
=no
47775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47778 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47779 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47780 if test "$bakefile_cv_gcc31" = "no"; then
47781 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47782 SHARED_LD_CXX
="$SHARED_LD_CC"
47784 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47785 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47788 if test "x$GCC" == "xyes"; then
47789 PIC_FLAG
="-dynamic -fPIC"
47791 if test "x$XLCC" = "xyes"; then
47792 PIC_FLAG
="-dynamic -DPIC"
47797 if test "x$GCC" = "xyes"; then
47800 case "${BAKEFILE_HOST}" in
47802 LD_EXPFULL
="-Wl,-bexpfull"
47806 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47807 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47810 set dummy makeC
++SharedLib
; 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_AIX_CXX_LD+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47816 if test -n "$AIX_CXX_LD"; then
47817 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # 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_AIX_CXX_LD
="makeC++SharedLib"
47827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47833 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47836 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47837 if test -n "$AIX_CXX_LD"; then
47838 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47839 echo "${ECHO_T}$AIX_CXX_LD" >&6
47841 echo "$as_me:$LINENO: result: no" >&5
47842 echo "${ECHO_T}no" >&6
47845 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47846 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47851 SHARED_LD_CC
="${LD} -nostart -o"
47852 SHARED_LD_CXX
="${LD} -nostart -o"
47856 if test "x$GCC" != "xyes"; then
47861 *-*-cygwin* | *-*-mingw32* )
47863 SHARED_LD_CC
="\$(CC) -shared -o"
47864 SHARED_LD_CXX
="\$(CXX) -shared -o"
47868 *-pc-os2_emx | *-pc-os2-emx )
47869 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47870 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47874 cat <<EOF >dllar.sh
47877 # dllar - a tool to build both a .dll and an .a file
47878 # from a set of object (.o) files for EMX/OS2.
47880 # Written by Andrew Zabolotny, bit@freya.etu.ru
47881 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47883 # This script will accept a set of files on the command line.
47884 # All the public symbols from the .o files will be exported into
47885 # a .DEF file, then linker will be run (through gcc) against them to
47886 # build a shared library consisting of all given .o files. All libraries
47887 # (.a) will be first decompressed into component .o files then act as
47888 # described above. You can optionally give a description (-d "description")
47889 # which will be put into .DLL. To see the list of accepted options (as well
47890 # as command-line format) simply run this program without options. The .DLL
47891 # is built to be imported by name (there is no guarantee that new versions
47892 # of the library you build will have same ordinals for same symbols).
47894 # dllar is free software; you can redistribute it and/or modify
47895 # it under the terms of the GNU General Public License as published by
47896 # the Free Software Foundation; either version 2, or (at your option)
47897 # any later version.
47899 # dllar is distributed in the hope that it will be useful,
47900 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47901 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47902 # GNU General Public License for more details.
47904 # You should have received a copy of the GNU General Public License
47905 # along with dllar; see the file COPYING. If not, write to the Free
47906 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47909 # To successfuly run this program you will need:
47910 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47911 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47913 # (used to build the .dll)
47915 # (used to create .def file from .o files)
47917 # (used to create .a file from .def file)
47918 # - GNU text utilites (cat, sort, uniq)
47919 # used to process emxexp output
47920 # - GNU file utilities (mv, rm)
47922 # - lxlite (optional, see flag below)
47923 # (used for general .dll cleanup)
47930 # basnam, variant of basename, which does _not_ remove the path, _iff_
47931 # second argument (suffix to remove) is given
47935 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47938 echo ${D}1 | sed 's/'${D}2'${D}//'
47941 echo "error in basnam ${D}*"
47947 # Cleanup temporary files and output
47950 for i in ${D}inputFiles ; do
47953 rm -rf \`basnam ${D}i !\`
47960 # Kill result in case of failure as there is just to many stupid make/nmake
47961 # things out there which doesn't do this.
47962 if [ ${D}# -eq 0 ]; then
47963 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47967 # Print usage and exit script with rc=1.
47969 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47970 echo ' [-name-mangler-script script.sh]'
47971 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47972 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47973 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47974 echo ' [*.o] [*.a]'
47975 echo '*> "output_file" should have no extension.'
47976 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47977 echo ' The import library name is derived from this and is set to "name".a,'
47978 echo ' unless overridden by -import'
47979 echo '*> "importlib_name" should have no extension.'
47980 echo ' If it has the .o, or .a extension, it is automatically removed.'
47981 echo ' This name is used as the import library name and may be longer and'
47982 echo ' more descriptive than the DLL name which has to follow the old '
47983 echo ' 8.3 convention of FAT.'
47984 echo '*> "script.sh may be given to override the output_file name by a'
47985 echo ' different name. It is mainly useful if the regular make process'
47986 echo ' of some package does not take into account OS/2 restriction of'
47987 echo ' DLL name lengths. It takes the importlib name as input and is'
47988 echo ' supposed to procude a shorter name as output. The script should'
47989 echo ' expect to get importlib_name without extension and should produce'
47990 echo ' a (max.) 8 letter name without extension.'
47991 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47992 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47993 echo ' These flags will be put at the start of GCC command line.'
47994 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47995 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47996 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47997 echo ' If the last character of a symbol is "*", all symbols beginning'
47998 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47999 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48000 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48001 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48002 echo ' C runtime DLLs.'
48003 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48004 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48005 echo ' unchanged to GCC at the end of command line.'
48006 echo '*> If you create a DLL from a library and you do not specify -o,'
48007 echo ' the basename for DLL and import library will be set to library name,'
48008 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48009 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48010 echo ' library will be renamed into gcc_s.a.'
48013 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48014 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48019 # Execute a command.
48020 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48021 # @Uses Whatever CleanUp() uses.
48027 if [ ${D}rcCmd -ne 0 ]; then
48028 echo "command failed, exit code="${D}rcCmd
48043 CFLAGS="-s -Zcrtdll"
48045 EXPORT_BY_ORDINALS=0
48050 case ${D}curDirS in
48054 curDirS=${D}{curDirS}"/"
48057 # Parse commandline
48060 while [ ${D}1 ]; do
48063 EXPORT_BY_ORDINALS=1;
48073 -name-mangler-script)
48094 exclude_symbols=${D}{exclude_symbols}${D}1" "
48098 library_flags=${D}{library_flags}${D}1" "
48117 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48121 if [ ${D}omfLinking -eq 1 ]; then
48122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48124 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48129 if [ ${D}libsToLink -ne 0 ]; then
48130 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48132 for file in ${D}1 ; do
48133 if [ -f ${D}file ]; then
48134 inputFiles="${D}{inputFiles} ${D}file"
48138 if [ ${D}found -eq 0 ]; then
48139 echo "ERROR: No file(s) found: "${D}1
48146 done # iterate cmdline words
48149 if [ -z "${D}inputFiles" ]; then
48150 echo "dllar: no input files"
48154 # Now extract all .o files from .a files
48156 for file in ${D}inputFiles ; do
48167 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48172 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48174 if [ ${D}? -ne 0 ]; then
48175 echo "Failed to create subdirectory ./${D}dirname"
48179 # Append '!' to indicate archive
48180 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48181 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48184 for subfile in ${D}dirname/*.o* ; do
48185 if [ -f ${D}subfile ]; then
48187 if [ -s ${D}subfile ]; then
48188 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48189 newInputFiles="${D}newInputFiles ${D}subfile"
48193 if [ ${D}found -eq 0 ]; then
48194 echo "WARNING: there are no files in archive \\'${D}file\\'"
48198 newInputFiles="${D}{newInputFiles} ${D}file"
48202 inputFiles="${D}newInputFiles"
48204 # Output filename(s).
48206 if [ -z ${D}outFile ]; then
48208 set outFile ${D}inputFiles; outFile=${D}2
48211 # If it is an archive, remove the '!' and the '_%' suffixes
48212 case ${D}outFile in
48214 outFile=\`basnam ${D}outFile _%!\`
48219 case ${D}outFile in
48221 outFile=\`basnam ${D}outFile .dll\`
48224 outFile=\`basnam ${D}outFile .DLL\`
48227 outFile=\`basnam ${D}outFile .o\`
48230 outFile=\`basnam ${D}outFile .obj\`
48233 outFile=\`basnam ${D}outFile .a\`
48236 outFile=\`basnam ${D}outFile .lib\`
48241 case ${D}outimpFile in
48243 outimpFile=\`basnam ${D}outimpFile .a\`
48246 outimpFile=\`basnam ${D}outimpFile .lib\`
48251 if [ -z ${D}outimpFile ]; then
48252 outimpFile=${D}outFile
48254 defFile="${D}{outFile}.def"
48255 arcFile="${D}{outimpFile}.a"
48256 arcFile2="${D}{outimpFile}.lib"
48258 #create ${D}dllFile as something matching 8.3 restrictions,
48259 if [ -z ${D}renameScript ] ; then
48260 dllFile="${D}outFile"
48262 dllFile=\`${D}renameScript ${D}outimpFile\`
48265 if [ ${D}do_backup -ne 0 ] ; then
48266 if [ -f ${D}arcFile ] ; then
48267 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48269 if [ -f ${D}arcFile2 ] ; then
48270 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48274 # Extract public symbols from all the object files.
48275 tmpdefFile=${D}{defFile}_%
48276 rm -f ${D}tmpdefFile
48277 for file in ${D}inputFiles ; do
48282 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48287 # Create the def file.
48289 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48290 dllFile="${D}{dllFile}.dll"
48291 if [ ! -z ${D}description ]; then
48292 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48294 echo "EXPORTS" >> ${D}defFile
48296 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48297 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48299 # Checks if the export is ok or not.
48300 for word in ${D}exclude_symbols; do
48301 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48302 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48306 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48307 sed "=" < ${D}tmpdefFile | \\
48311 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48313 ' > ${D}{tmpdefFile}%
48314 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48316 rm -f ${D}{tmpdefFile}%
48318 cat ${D}tmpdefFile >> ${D}defFile
48319 rm -f ${D}tmpdefFile
48321 # Do linking, create implib, and apply lxlite.
48323 for file in ${D}inputFiles ; do
48328 gccCmdl="${D}gccCmdl ${D}file"
48332 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48333 touch "${D}{outFile}.dll"
48335 doCommand "emximp -o ${D}arcFile ${D}defFile"
48336 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48338 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48341 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48343 doCommand "emxomf -s -l ${D}arcFile"
48353 powerpc
-apple-macos* | \
48354 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48365 if test "x$PIC_FLAG" != "x" ; then
48366 PIC_FLAG
="$PIC_FLAG -DPIC"
48369 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48370 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48372 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48373 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48392 case "${BAKEFILE_HOST}" in
48393 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48394 SONAME_FLAG
="-Wl,-soname,"
48428 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48429 if test "${enable_dependency_tracking+set}" = set; then
48430 enableval
="$enable_dependency_tracking"
48431 bk_use_trackdeps
="$enableval"
48434 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48435 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48437 if test "x$bk_use_trackdeps" = "xno" ; then
48439 echo "$as_me:$LINENO: result: disabled" >&5
48440 echo "${ECHO_T}disabled" >&6
48444 if test "x$GCC" = "xyes"; then
48446 case "${BAKEFILE_HOST}" in
48448 DEPSFLAG
="-no-cpp-precomp -MMD"
48454 echo "$as_me:$LINENO: result: gcc" >&5
48455 echo "${ECHO_T}gcc" >&6
48456 elif test "x$MWCC" = "xyes"; then
48459 echo "$as_me:$LINENO: result: mwcc" >&5
48460 echo "${ECHO_T}mwcc" >&6
48461 elif test "x$SUNCC" = "xyes"; then
48464 echo "$as_me:$LINENO: result: Sun cc" >&5
48465 echo "${ECHO_T}Sun cc" >&6
48466 elif test "x$SGICC" = "xyes"; then
48469 echo "$as_me:$LINENO: result: SGI cc" >&5
48470 echo "${ECHO_T}SGI cc" >&6
48471 elif test "x$HPCC" = "xyes"; then
48474 echo "$as_me:$LINENO: result: HP cc" >&5
48475 echo "${ECHO_T}HP cc" >&6
48476 elif test "x$COMPAQCC" = "xyes"; then
48479 echo "$as_me:$LINENO: result: Compaq cc" >&5
48480 echo "${ECHO_T}Compaq cc" >&6
48483 echo "$as_me:$LINENO: result: none" >&5
48484 echo "${ECHO_T}none" >&6
48487 if test $DEPS_TRACKING = 1 ; then
48493 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48494 # script. It is used to track C/C++ files dependencies in portable way.
48496 # Permission is given to use this file in any way.
48498 DEPSMODE=${DEPSMODE}
48500 DEPSFLAG="${DEPSFLAG}"
48502 mkdir -p ${D}DEPSDIR
48504 if test ${D}DEPSMODE = gcc ; then
48505 ${D}* ${D}{DEPSFLAG}
48507 if test ${D}{status} != 0 ; then
48510 # move created file to the location we want it in:
48511 while test ${D}# -gt 0; do
48525 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48526 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48527 if test -f ${D}depfile ; then
48528 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48531 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48532 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48533 if test ! -f ${D}depfile ; then
48534 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48535 depfile="${D}objfile.d"
48537 if test -f ${D}depfile ; then
48538 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48543 elif test ${D}DEPSMODE = mwcc ; then
48544 ${D}* || exit ${D}?
48545 # Run mwcc again with -MM and redirect into the dep file we want
48546 # NOTE: We can't use shift here because we need ${D}* to be valid
48548 for arg in ${D}* ; do
48549 if test "${D}prevarg" = "-o"; then
48562 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48564 elif test ${D}DEPSMODE = unixcc; then
48565 ${D}* || exit ${D}?
48566 # Run compiler again with deps flag and redirect into the dep file.
48567 # It doesn't work if the '-o FILE' option is used, but without it the
48568 # dependency file will contain the wrong name for the object. So it is
48569 # removed from the command line, and the dep file is fixed with sed.
48571 while test ${D}# -gt 0; do
48578 eval arg${D}#=\\${D}1
48579 cmd="${D}cmd \\${D}arg${D}#"
48584 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48599 case ${BAKEFILE_HOST} in
48600 *-*-cygwin* | *-*-mingw32* )
48601 if test -n "$ac_tool_prefix"; then
48602 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48603 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48604 echo "$as_me:$LINENO: checking for $ac_word" >&5
48605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48606 if test "${ac_cv_prog_WINDRES+set}" = set; then
48607 echo $ECHO_N "(cached) $ECHO_C" >&6
48609 if test -n "$WINDRES"; then
48610 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48613 for as_dir
in $PATH
48616 test -z "$as_dir" && as_dir
=.
48617 for ac_exec_ext
in '' $ac_executable_extensions; do
48618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48619 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48628 WINDRES
=$ac_cv_prog_WINDRES
48629 if test -n "$WINDRES"; then
48630 echo "$as_me:$LINENO: result: $WINDRES" >&5
48631 echo "${ECHO_T}$WINDRES" >&6
48633 echo "$as_me:$LINENO: result: no" >&5
48634 echo "${ECHO_T}no" >&6
48638 if test -z "$ac_cv_prog_WINDRES"; then
48639 ac_ct_WINDRES
=$WINDRES
48640 # Extract the first word of "windres", so it can be a program name with args.
48641 set dummy windres
; ac_word
=$2
48642 echo "$as_me:$LINENO: checking for $ac_word" >&5
48643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48644 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48645 echo $ECHO_N "(cached) $ECHO_C" >&6
48647 if test -n "$ac_ct_WINDRES"; then
48648 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48651 for as_dir
in $PATH
48654 test -z "$as_dir" && as_dir
=.
48655 for ac_exec_ext
in '' $ac_executable_extensions; do
48656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48657 ac_cv_prog_ac_ct_WINDRES
="windres"
48658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48666 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48667 if test -n "$ac_ct_WINDRES"; then
48668 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48669 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48671 echo "$as_me:$LINENO: result: no" >&5
48672 echo "${ECHO_T}no" >&6
48675 WINDRES
=$ac_ct_WINDRES
48677 WINDRES
="$ac_cv_prog_WINDRES"
48682 *-*-darwin* | powerpc
-apple-macos* )
48683 # Extract the first word of "Rez", so it can be a program name with args.
48684 set dummy Rez
; ac_word
=$2
48685 echo "$as_me:$LINENO: checking for $ac_word" >&5
48686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48687 if test "${ac_cv_prog_REZ+set}" = set; then
48688 echo $ECHO_N "(cached) $ECHO_C" >&6
48690 if test -n "$REZ"; then
48691 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48694 for as_dir
in $PATH
48697 test -z "$as_dir" && as_dir
=.
48698 for ac_exec_ext
in '' $ac_executable_extensions; do
48699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48700 ac_cv_prog_REZ
="Rez"
48701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48707 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48710 REZ
=$ac_cv_prog_REZ
48711 if test -n "$REZ"; then
48712 echo "$as_me:$LINENO: result: $REZ" >&5
48713 echo "${ECHO_T}$REZ" >&6
48715 echo "$as_me:$LINENO: result: no" >&5
48716 echo "${ECHO_T}no" >&6
48719 # Extract the first word of "SetFile", so it can be a program name with args.
48720 set dummy SetFile
; ac_word
=$2
48721 echo "$as_me:$LINENO: checking for $ac_word" >&5
48722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48723 if test "${ac_cv_prog_SETFILE+set}" = set; then
48724 echo $ECHO_N "(cached) $ECHO_C" >&6
48726 if test -n "$SETFILE"; then
48727 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48730 for as_dir
in $PATH
48733 test -z "$as_dir" && as_dir
=.
48734 for ac_exec_ext
in '' $ac_executable_extensions; do
48735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48736 ac_cv_prog_SETFILE
="SetFile"
48737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48743 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48746 SETFILE
=$ac_cv_prog_SETFILE
48747 if test -n "$SETFILE"; then
48748 echo "$as_me:$LINENO: result: $SETFILE" >&5
48749 echo "${ECHO_T}$SETFILE" >&6
48751 echo "$as_me:$LINENO: result: no" >&5
48752 echo "${ECHO_T}no" >&6
48763 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48766 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48770 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48771 if test "${enable_precomp_headers+set}" = set; then
48772 enableval
="$enable_precomp_headers"
48773 bk_use_pch
="$enableval"
48780 case ${BAKEFILE_HOST} in
48786 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48787 if test "x$GCC" = "xyes"; then
48788 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48789 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48790 cat >conftest.
$ac_ext <<_ACEOF
48793 cat confdefs.h
>>conftest.
$ac_ext
48794 cat >>conftest.
$ac_ext <<_ACEOF
48795 /* end confdefs.h. */
48801 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48802 There is no PCH support
48805 There is no PCH support
48807 #if (__GNUC__ == 3) && \
48808 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48809 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48810 ( defined(__INTEL_COMPILER) )
48811 There is no PCH support
48818 rm -f conftest.
$ac_objext
48819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48820 (eval $ac_compile) 2>conftest.er1
48822 grep -v '^ *+' conftest.er1
>conftest.err
48824 cat conftest.err
>&5
48825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48826 (exit $ac_status); } &&
48827 { ac_try
='test -z "$ac_c_werror_flag"
48828 || test ! -s conftest.err'
48829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48830 (eval $ac_try) 2>&5
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); }; } &&
48834 { ac_try
='test -s conftest.$ac_objext'
48835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48836 (eval $ac_try) 2>&5
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); }; }; then
48841 echo "$as_me:$LINENO: result: yes" >&5
48842 echo "${ECHO_T}yes" >&6
48846 echo "$as_me: failed program was:" >&5
48847 sed 's/^/| /' conftest.
$ac_ext >&5
48850 cat >conftest.
$ac_ext <<_ACEOF
48853 cat confdefs.h
>>conftest.
$ac_ext
48854 cat >>conftest.
$ac_ext <<_ACEOF
48855 /* end confdefs.h. */
48861 #if !defined(__INTEL_COMPILER) || \
48862 (__INTEL_COMPILER < 800)
48863 There is no PCH support
48870 rm -f conftest.
$ac_objext
48871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48872 (eval $ac_compile) 2>conftest.er1
48874 grep -v '^ *+' conftest.er1
>conftest.err
48876 cat conftest.err
>&5
48877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48878 (exit $ac_status); } &&
48879 { ac_try
='test -z "$ac_c_werror_flag"
48880 || test ! -s conftest.err'
48881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48882 (eval $ac_try) 2>&5
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); }; } &&
48886 { ac_try
='test -s conftest.$ac_objext'
48887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48888 (eval $ac_try) 2>&5
48890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48891 (exit $ac_status); }; }; then
48893 echo "$as_me:$LINENO: result: yes" >&5
48894 echo "${ECHO_T}yes" >&6
48898 echo "$as_me: failed program was:" >&5
48899 sed 's/^/| /' conftest.
$ac_ext >&5
48902 echo "$as_me:$LINENO: result: no" >&5
48903 echo "${ECHO_T}no" >&6
48906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48910 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48914 cat <<EOF >bk-make-pch
48917 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48918 # script. It is used to generated precompiled headers.
48920 # Permission is given to use this file in any way.
48930 while test ${D}{#} -gt 0; do
48934 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48935 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48936 headerfile="${D}{incdir}/${D}{header}"
48939 -use-pch|-use_pch )
48944 if test ${D}add_to_cmdline = 1 ; then
48945 compiler="${D}{compiler} ${D}{1}"
48950 if test "x${D}{headerfile}" = "x" ; then
48951 echo "error: can't find header ${D}{header} in include paths" >&2
48953 if test -f ${D}{outfile} ; then
48954 rm -f ${D}{outfile}
48956 mkdir -p \`dirname ${D}{outfile}\`
48958 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48960 if test "x${GCC_PCH}" = "x1" ; then
48961 # can do this because gcc is >= 3.4:
48962 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48963 elif test "x${ICC_PCH}" = "x1" ; then
48964 filename=pch_gen-${D}${D}
48965 file=${D}{filename}.c
48966 dfile=${D}{filename}.d
48967 cat > ${D}file <<EOT
48968 #include "${D}header"
48970 # using -MF icc complains about differing command lines in creation/use
48971 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48972 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48973 rm -f ${D}file ${D}dfile ${D}{filename}.o
48979 chmod +x bk
-make-pch
48987 COND_BUILD_DEBUG
="#"
48988 if test "x$BUILD" = "xdebug" ; then
48989 COND_BUILD_DEBUG
=""
48992 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48993 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48994 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48997 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48998 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48999 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49002 COND_BUILD_DEBUG_UNICODE_0
="#"
49003 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49004 COND_BUILD_DEBUG_UNICODE_0
=""
49007 COND_BUILD_DEBUG_UNICODE_1
="#"
49008 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49009 COND_BUILD_DEBUG_UNICODE_1
=""
49012 COND_BUILD_RELEASE
="#"
49013 if test "x$BUILD" = "xrelease" ; then
49014 COND_BUILD_RELEASE
=""
49017 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49018 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49019 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49022 COND_BUILD_RELEASE_UNICODE_0
="#"
49023 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49024 COND_BUILD_RELEASE_UNICODE_0
=""
49027 COND_BUILD_RELEASE_UNICODE_1
="#"
49028 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49029 COND_BUILD_RELEASE_UNICODE_1
=""
49032 COND_DEBUG_FLAG_1
="#"
49033 if test "x$DEBUG_FLAG" = "x1" ; then
49034 COND_DEBUG_FLAG_1
=""
49037 COND_DEBUG_INFO_0
="#"
49038 if test "x$DEBUG_INFO" = "x0" ; then
49039 COND_DEBUG_INFO_0
=""
49042 COND_DEBUG_INFO_1
="#"
49043 if test "x$DEBUG_INFO" = "x1" ; then
49044 COND_DEBUG_INFO_1
=""
49047 COND_DEPS_TRACKING_0
="#"
49048 if test "x$DEPS_TRACKING" = "x0" ; then
49049 COND_DEPS_TRACKING_0
=""
49052 COND_DEPS_TRACKING_1
="#"
49053 if test "x$DEPS_TRACKING" = "x1" ; then
49054 COND_DEPS_TRACKING_1
=""
49058 if test "x$GCC_PCH" = "x1" ; then
49063 if test "x$ICC_PCH" = "x1" ; then
49067 COND_MONOLITHIC_0
="#"
49068 if test "x$MONOLITHIC" = "x0" ; then
49069 COND_MONOLITHIC_0
=""
49072 COND_MONOLITHIC_0_SHARED_0
="#"
49073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49074 COND_MONOLITHIC_0_SHARED_0
=""
49077 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49079 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49082 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49084 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49107 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49109 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49112 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49113 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49114 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49117 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49118 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49119 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49122 COND_MONOLITHIC_0_SHARED_1
="#"
49123 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49124 COND_MONOLITHIC_0_SHARED_1
=""
49127 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49128 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49129 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49132 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49133 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49134 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49138 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49139 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49142 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49143 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49144 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49148 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49149 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49153 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49157 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49159 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49162 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49163 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49164 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49167 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49168 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49169 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49172 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49173 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49174 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49177 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49178 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49179 COND_MONOLITHIC_0_USE_ODBC_1
=""
49182 COND_MONOLITHIC_1
="#"
49183 if test "x$MONOLITHIC" = "x1" ; then
49184 COND_MONOLITHIC_1
=""
49187 COND_MONOLITHIC_1_SHARED_0
="#"
49188 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49189 COND_MONOLITHIC_1_SHARED_0
=""
49192 COND_MONOLITHIC_1_SHARED_1
="#"
49193 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49194 COND_MONOLITHIC_1_SHARED_1
=""
49197 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49198 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49199 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49202 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49203 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49204 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49207 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49208 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49209 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49212 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49213 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49214 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49217 COND_PLATFORM_MACOSX_1
="#"
49218 if test "x$PLATFORM_MACOSX" = "x1" ; then
49219 COND_PLATFORM_MACOSX_1
=""
49222 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49223 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49224 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49227 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49228 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49229 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49232 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49233 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49234 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49237 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49238 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49239 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49242 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49243 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49244 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49247 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49248 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49249 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49252 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49253 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49254 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49257 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49258 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49259 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49262 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49263 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49264 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49267 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49268 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49269 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49272 COND_PLATFORM_MACOS_1
="#"
49273 if test "x$PLATFORM_MACOS" = "x1" ; then
49274 COND_PLATFORM_MACOS_1
=""
49277 COND_PLATFORM_MAC_1
="#"
49278 if test "x$PLATFORM_MAC" = "x1" ; then
49279 COND_PLATFORM_MAC_1
=""
49282 COND_PLATFORM_MSDOS_0
="#"
49283 if test "x$PLATFORM_MSDOS" = "x0" ; then
49284 COND_PLATFORM_MSDOS_0
=""
49287 COND_PLATFORM_MSDOS_1
="#"
49288 if test "x$PLATFORM_MSDOS" = "x1" ; then
49289 COND_PLATFORM_MSDOS_1
=""
49292 COND_PLATFORM_OS2_1
="#"
49293 if test "x$PLATFORM_OS2" = "x1" ; then
49294 COND_PLATFORM_OS2_1
=""
49297 COND_PLATFORM_UNIX_0
="#"
49298 if test "x$PLATFORM_UNIX" = "x0" ; then
49299 COND_PLATFORM_UNIX_0
=""
49302 COND_PLATFORM_UNIX_1
="#"
49303 if test "x$PLATFORM_UNIX" = "x1" ; then
49304 COND_PLATFORM_UNIX_1
=""
49307 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49308 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49309 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49312 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49313 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49314 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49317 COND_PLATFORM_WIN32_0
="#"
49318 if test "x$PLATFORM_WIN32" = "x0" ; then
49319 COND_PLATFORM_WIN32_0
=""
49322 COND_PLATFORM_WIN32_1
="#"
49323 if test "x$PLATFORM_WIN32" = "x1" ; then
49324 COND_PLATFORM_WIN32_1
=""
49328 if test "x$SHARED" = "x0" ; then
49332 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49333 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49334 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49337 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49338 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49339 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49342 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49343 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49344 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49347 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49348 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49349 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49352 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49353 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49358 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49359 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49363 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49367 COND_SHARED_0_USE_XRC_1
="#"
49368 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49369 COND_SHARED_0_USE_XRC_1
=""
49372 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49373 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49374 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49377 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49378 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49379 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49382 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49383 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49384 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49387 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49388 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49389 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49393 if test "x$SHARED" = "x1" ; then
49397 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49398 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49399 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49402 COND_SHARED_1_USE_XRC_1
="#"
49403 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49404 COND_SHARED_1_USE_XRC_1
=""
49408 if test "x$TOOLKIT" = "x" ; then
49412 COND_TOOLKIT_COCOA
="#"
49413 if test "x$TOOLKIT" = "xCOCOA" ; then
49414 COND_TOOLKIT_COCOA
=""
49417 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49418 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49419 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49422 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49423 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49424 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49427 COND_TOOLKIT_DFB
="#"
49428 if test "x$TOOLKIT" = "xDFB" ; then
49429 COND_TOOLKIT_DFB
=""
49432 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49433 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49434 COND_TOOLKIT_DFB_USE_GUI_1
=""
49437 COND_TOOLKIT_GTK
="#"
49438 if test "x$TOOLKIT" = "xGTK" ; then
49439 COND_TOOLKIT_GTK
=""
49442 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49443 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49444 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49448 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49449 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49453 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49454 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49457 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49458 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49462 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49463 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49464 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49468 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49469 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49472 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49473 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49474 COND_TOOLKIT_GTK_USE_GUI_1
=""
49477 COND_TOOLKIT_MAC
="#"
49478 if test "x$TOOLKIT" = "xMAC" ; then
49479 COND_TOOLKIT_MAC
=""
49482 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49483 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49484 COND_TOOLKIT_MAC_USE_GUI_1
=""
49487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49488 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49489 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49492 COND_TOOLKIT_MGL
="#"
49493 if test "x$TOOLKIT" = "xMGL" ; then
49494 COND_TOOLKIT_MGL
=""
49497 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49498 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49499 COND_TOOLKIT_MGL_USE_GUI_1
=""
49502 COND_TOOLKIT_MOTIF
="#"
49503 if test "x$TOOLKIT" = "xMOTIF" ; then
49504 COND_TOOLKIT_MOTIF
=""
49507 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49508 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49509 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49512 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49513 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49514 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49517 COND_TOOLKIT_MSW
="#"
49518 if test "x$TOOLKIT" = "xMSW" ; then
49519 COND_TOOLKIT_MSW
=""
49522 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49523 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49524 COND_TOOLKIT_MSW_USE_GUI_1
=""
49527 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49528 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49529 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49532 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49533 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49534 COND_TOOLKIT_MSW_WXUNIV_0
=""
49537 COND_TOOLKIT_PM
="#"
49538 if test "x$TOOLKIT" = "xPM" ; then
49542 COND_TOOLKIT_PM_USE_GUI_1
="#"
49543 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49544 COND_TOOLKIT_PM_USE_GUI_1
=""
49547 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49548 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49549 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49552 COND_TOOLKIT_WINCE
="#"
49553 if test "x$TOOLKIT" = "xWINCE" ; then
49554 COND_TOOLKIT_WINCE
=""
49557 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49558 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49559 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49562 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49563 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49564 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49567 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49568 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49569 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49572 COND_TOOLKIT_X11
="#"
49573 if test "x$TOOLKIT" = "xX11" ; then
49574 COND_TOOLKIT_X11
=""
49577 COND_TOOLKIT_X11_USE_GUI_1
="#"
49578 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49579 COND_TOOLKIT_X11_USE_GUI_1
=""
49583 if test "x$UNICODE" = "x1" ; then
49587 COND_USE_EXCEPTIONS_0
="#"
49588 if test "x$USE_EXCEPTIONS" = "x0" ; then
49589 COND_USE_EXCEPTIONS_0
=""
49592 COND_USE_EXCEPTIONS_1
="#"
49593 if test "x$USE_EXCEPTIONS" = "x1" ; then
49594 COND_USE_EXCEPTIONS_1
=""
49598 if test "x$USE_GUI" = "x0" ; then
49603 if test "x$USE_GUI" = "x1" ; then
49607 COND_USE_GUI_1_WXUNIV_0
="#"
49608 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49609 COND_USE_GUI_1_WXUNIV_0
=""
49612 COND_USE_GUI_1_WXUNIV_1
="#"
49613 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49614 COND_USE_GUI_1_WXUNIV_1
=""
49617 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49618 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49619 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49622 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49623 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49624 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49627 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49628 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49629 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49632 COND_USE_ODBC_1
="#"
49633 if test "x$USE_ODBC" = "x1" ; then
49637 COND_USE_OPENGL_1
="#"
49638 if test "x$USE_OPENGL" = "x1" ; then
49639 COND_USE_OPENGL_1
=""
49643 if test "x$USE_PCH" = "x1" ; then
49647 COND_USE_PLUGINS_0
="#"
49648 if test "x$USE_PLUGINS" = "x0" ; then
49649 COND_USE_PLUGINS_0
=""
49652 COND_USE_RTTI_0
="#"
49653 if test "x$USE_RTTI" = "x0" ; then
49657 COND_USE_RTTI_1
="#"
49658 if test "x$USE_RTTI" = "x1" ; then
49662 COND_USE_SOSYMLINKS_1
="#"
49663 if test "x$USE_SOSYMLINKS" = "x1" ; then
49664 COND_USE_SOSYMLINKS_1
=""
49667 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49668 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49669 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49672 COND_USE_SOVERLINUX_1
="#"
49673 if test "x$USE_SOVERLINUX" = "x1" ; then
49674 COND_USE_SOVERLINUX_1
=""
49677 COND_USE_SOVERSION_0
="#"
49678 if test "x$USE_SOVERSION" = "x0" ; then
49679 COND_USE_SOVERSION_0
=""
49682 COND_USE_SOVERSOLARIS_1
="#"
49683 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49684 COND_USE_SOVERSOLARIS_1
=""
49687 COND_USE_THREADS_0
="#"
49688 if test "x$USE_THREADS" = "x0" ; then
49689 COND_USE_THREADS_0
=""
49692 COND_USE_THREADS_1
="#"
49693 if test "x$USE_THREADS" = "x1" ; then
49694 COND_USE_THREADS_1
=""
49698 if test "x$USE_XRC" = "x1" ; then
49702 COND_WINDOWS_IMPLIB_1
="#"
49703 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49704 COND_WINDOWS_IMPLIB_1
=""
49707 COND_WITH_PLUGIN_SDL_1
="#"
49708 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49709 COND_WITH_PLUGIN_SDL_1
=""
49713 if test "x$WXUNIV" = "x0" ; then
49718 if test "x$WXUNIV" = "x1" ; then
49722 COND_WXUSE_EXPAT_BUILTIN
="#"
49723 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49724 COND_WXUSE_EXPAT_BUILTIN
=""
49727 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49728 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49729 COND_WXUSE_LIBJPEG_BUILTIN
=""
49732 COND_WXUSE_LIBPNG_BUILTIN
="#"
49733 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49734 COND_WXUSE_LIBPNG_BUILTIN
=""
49737 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49738 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49739 COND_WXUSE_LIBTIFF_BUILTIN
=""
49742 COND_WXUSE_ODBC_BUILTIN
="#"
49743 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49744 COND_WXUSE_ODBC_BUILTIN
=""
49747 COND_WXUSE_REGEX_BUILTIN
="#"
49748 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49749 COND_WXUSE_REGEX_BUILTIN
=""
49752 COND_WXUSE_ZLIB_BUILTIN
="#"
49753 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49754 COND_WXUSE_ZLIB_BUILTIN
=""
49759 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49760 { { 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
49761 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;}
49762 { (exit 1); exit 1; }; }
49765 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49766 { { 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
49767 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;}
49768 { (exit 1); exit 1; }; }
49773 if test "$wxUSE_MAC" = 1 ; then
49774 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49775 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49781 if test "$wxUSE_SHARED" = "yes"; then
49783 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49784 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49787 *-pc-os2_emx | *-pc-os2-emx )
49788 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49789 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49790 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49791 cp -p ${srcdir}/src
/os
2/dllar.sh .
49796 EXE_LINKER
="$CXX -o"
49799 if test "$wxUSE_OMF" = "yes"; then
49801 *-pc-os2_emx | *-pc-os2-emx )
49802 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49803 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49804 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49809 if test $GCC_PCH = 1 ; then
49810 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49813 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49815 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49877 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49878 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49879 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49880 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49881 echo $ECHO_N "(cached) $ECHO_C" >&6
49883 cat >conftest.
make <<\_ACEOF
49885 @
echo 'ac_maketemp="$(MAKE)"'
49887 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49888 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49889 if test -n "$ac_maketemp"; then
49890 eval ac_cv_prog_make_
${ac_make}_set
=yes
49892 eval ac_cv_prog_make_
${ac_make}_set
=no
49894 rm -f conftest.
make
49896 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49897 echo "$as_me:$LINENO: result: yes" >&5
49898 echo "${ECHO_T}yes" >&6
49901 echo "$as_me:$LINENO: result: no" >&5
49902 echo "${ECHO_T}no" >&6
49903 SET_MAKE
="MAKE=${MAKE-make}"
49908 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49911 if test "$USE_WIN32" = 1; then
49912 ac_config_commands
="$ac_config_commands
49918 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49921 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49924 ac_config_files
="$ac_config_files version-script Makefile"
49927 ac_config_commands
="$ac_config_commands wx-config"
49931 if test "$wxWITH_SUBDIRS" != "no"; then
49932 if test "$wxUSE_GUI" = "yes"; then
49933 SUBDIRS
="samples demos utils contrib"
49934 else SUBDIRS
="samples utils"
49939 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49940 if test "${with_cppunit_prefix+set}" = set; then
49941 withval
="$with_cppunit_prefix"
49942 cppunit_config_prefix
="$withval"
49944 cppunit_config_prefix
=""
49947 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49948 if test "${with_cppunit_exec_prefix+set}" = set; then
49949 withval
="$with_cppunit_exec_prefix"
49950 cppunit_config_exec_prefix
="$withval"
49952 cppunit_config_exec_prefix
=""
49955 if test x
$cppunit_config_exec_prefix != x
; then
49956 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49957 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49958 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49961 if test x
$cppunit_config_prefix != x
; then
49962 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49963 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49964 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49968 # Extract the first word of "cppunit-config", so it can be a program name with args.
49969 set dummy cppunit
-config; ac_word
=$2
49970 echo "$as_me:$LINENO: checking for $ac_word" >&5
49971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49972 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49973 echo $ECHO_N "(cached) $ECHO_C" >&6
49975 case $CPPUNIT_CONFIG in
49977 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49981 for as_dir
in $PATH
49984 test -z "$as_dir" && as_dir
=.
49985 for ac_exec_ext
in '' $ac_executable_extensions; do
49986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49987 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49994 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49998 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50000 if test -n "$CPPUNIT_CONFIG"; then
50001 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50002 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50004 echo "$as_me:$LINENO: result: no" >&5
50005 echo "${ECHO_T}no" >&6
50008 cppunit_version_min
=1.8.0
50010 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50011 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50013 if test "$CPPUNIT_CONFIG" = "no" ; then
50014 echo "$as_me:$LINENO: result: no" >&5
50015 echo "${ECHO_T}no" >&6
50018 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50019 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50020 cppunit_version
=`$CPPUNIT_CONFIG --version`
50022 cppunit_major_version
=`echo $cppunit_version | \
50023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50024 cppunit_minor_version
=`echo $cppunit_version | \
50025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50026 cppunit_micro_version
=`echo $cppunit_version | \
50027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50029 cppunit_major_min
=`echo $cppunit_version_min | \
50030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50031 cppunit_minor_min
=`echo $cppunit_version_min | \
50032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50033 cppunit_micro_min
=`echo $cppunit_version_min | \
50034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50036 cppunit_version_proper
=`expr \
50037 $cppunit_major_version \> $cppunit_major_min \| \
50038 $cppunit_major_version \= $cppunit_major_min \& \
50039 $cppunit_minor_version \> $cppunit_minor_min \| \
50040 $cppunit_major_version \= $cppunit_major_min \& \
50041 $cppunit_minor_version \= $cppunit_minor_min \& \
50042 $cppunit_micro_version \>= $cppunit_micro_min `
50044 if test "$cppunit_version_proper" = "1" ; then
50045 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50046 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50048 echo "$as_me:$LINENO: result: no" >&5
50049 echo "${ECHO_T}no" >&6
50054 if test "x$no_cppunit" = x
; then
50055 SUBDIRS
="$SUBDIRS tests"
50066 for subdir
in `echo $SUBDIRS`; do
50067 if test -d ${srcdir}/${subdir} ; then
50068 if test "$wxUSE_GUI" = "yes"; then
50069 if test ${subdir} = "samples"; then
50070 makefiles
="samples/Makefile.in $makefiles"
50071 for sample
in `echo $SAMPLES_SUBDIRS`; do
50072 if test -d $srcdir/samples
/$sample; then
50073 makefiles
="samples/$sample/Makefile.in $makefiles"
50077 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50078 eval "disabled=\$$disabled_var"
50079 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50080 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50082 else if test ${subdir} = "samples"; then
50083 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50084 elif test ${subdir} = "utils"; then
50086 for util
in HelpGen tex2rtf
; do
50087 if test -d $srcdir/utils
/$util ; then
50088 makefiles
="utils/$util/Makefile.in \
50089 utils/$util/src/Makefile.in \
50093 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50097 for mkin
in $makefiles ; do
50098 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50099 ac_config_files
="$ac_config_files $mk"
50105 cat >confcache
<<\_ACEOF
50106 # This file is a shell script that caches the results of configure
50107 # tests run on this system so they can be shared between configure
50108 # scripts and configure runs, see configure's option --config-cache.
50109 # It is not useful on other systems. If it contains results you don't
50110 # want to keep, you may remove or edit it.
50112 # config.status only pays attention to the cache file if you give it
50113 # the --recheck option to rerun configure.
50115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50117 # following values.
50121 # The following way of writing the cache mishandles newlines in values,
50122 # but we know of no workaround that is simple, portable, and efficient.
50123 # So, don't put newlines in cache variables' values.
50124 # Ultrix sh set writes to stderr and can't be redirected directly,
50125 # and sets the high bit in the cache file unless we assign to the vars.
50128 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50130 # `set' does not quote correctly, so add quotes (double-quote
50131 # substitution turns \\\\ into \\, and sed turns \\ into \).
50134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50137 # `set' quotes correctly as required by POSIX, so do not add quotes.
50139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50148 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50150 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50151 if test -w $cache_file; then
50152 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50153 cat confcache
>$cache_file
50155 echo "not updating unwritable cache $cache_file"
50160 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50161 # Let make expand exec_prefix.
50162 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50164 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50165 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50166 # trailing colons and then remove the whole line if VPATH becomes empty
50167 # (actually we leave an empty line to preserve line numbers).
50168 if test "x$srcdir" = x.
; then
50169 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50170 s/:*\$(srcdir):*/:/;
50171 s/:*\${srcdir}:*/:/;
50173 s/^\([^=]*=[ ]*\):*/\1/;
50179 DEFS
=-DHAVE_CONFIG_H
50183 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50184 # 1. Remove the extension, and $U if already installed.
50185 ac_i
=`echo "$ac_i" |
50186 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50188 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50189 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50191 LIBOBJS
=$ac_libobjs
50193 LTLIBOBJS
=$ac_ltlibobjs
50197 : ${CONFIG_STATUS=./config.status}
50198 ac_clean_files_save
=$ac_clean_files
50199 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50200 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50201 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50202 cat >$CONFIG_STATUS <<_ACEOF
50204 # Generated by $as_me.
50205 # Run this file to recreate the current configuration.
50206 # Compiler output produced by configure, useful for debugging
50207 # configure, is in config.log if it exists.
50210 ac_cs_recheck=false
50212 SHELL=\${CONFIG_SHELL-$SHELL}
50215 cat >>$CONFIG_STATUS <<\_ACEOF
50216 ## --------------------- ##
50217 ## M4sh Initialization. ##
50218 ## --------------------- ##
50220 # Be Bourne compatible
50221 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50224 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50225 # is contrary to our usage. Disable this feature.
50226 alias -g '${1+"$@"}'='"$@"'
50227 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50230 DUALCASE
=1; export DUALCASE
# for MKS sh
50232 # Support unset when possible.
50233 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50240 # Work around bugs in pre-3.0 UWIN ksh.
50241 $as_unset ENV MAIL MAILPATH
50248 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50249 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50250 LC_TELEPHONE LC_TIME
50252 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50253 eval $as_var=C
; export $as_var
50259 # Required to use basename.
50260 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50266 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50267 as_basename
=basename
50273 # Name of the executable.
50274 as_me
=`$as_basename "$0" ||
50275 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50276 X"$0" : 'X\(//\)$' \| \
50277 X"$0" : 'X\(/\)$' \| \
50278 . : '\(.\)' 2>/dev/null ||
50280 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50281 /^X\/\(\/\/\)$/{ s//\1/; q; }
50282 /^X\/\(\/\).*/{ s//\1/; q; }
50286 # PATH needs CR, and LINENO needs CR and PATH.
50287 # Avoid depending upon Character Ranges.
50288 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50289 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50290 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50291 as_cr_digits
='0123456789'
50292 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50294 # The user is always right.
50295 if test "${PATH_SEPARATOR+set}" != set; then
50296 echo "#! /bin/sh" >conf$$.sh
50297 echo "exit 0" >>conf$$.sh
50299 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50308 as_lineno_1
=$LINENO
50309 as_lineno_2
=$LINENO
50310 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50311 test "x$as_lineno_1" != "x$as_lineno_2" &&
50312 test "x$as_lineno_3" = "x$as_lineno_2" || {
50313 # Find who we are. Look in the path if we contain no path at all
50316 *[\\/]* ) as_myself
=$0 ;;
50317 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50318 for as_dir
in $PATH
50321 test -z "$as_dir" && as_dir
=.
50322 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50327 # We did not find ourselves, most probably we were run as `sh COMMAND'
50328 # in which case we are not to be found in the path.
50329 if test "x$as_myself" = x
; then
50332 if test ! -f "$as_myself"; then
50333 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50334 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50335 { (exit 1); exit 1; }; }
50337 case $CONFIG_SHELL in
50339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50340 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50343 test -z "$as_dir" && as_dir
=.
50344 for as_base
in sh bash ksh sh5
; do
50347 if ("$as_dir/$as_base" -c '
50348 as_lineno_1=$LINENO
50349 as_lineno_2=$LINENO
50350 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50351 test "x$as_lineno_1" != "x$as_lineno_2" &&
50352 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50353 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50354 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50355 CONFIG_SHELL
=$as_dir/$as_base
50356 export CONFIG_SHELL
50357 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50365 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50366 # uniformly replaced by the line number. The first 'sed' inserts a
50367 # line-number line before each line; the second 'sed' does the real
50368 # work. The second script uses 'N' to pair each line-number line
50369 # with the numbered line, and appends trailing '-' during
50370 # substitution so that $LINENO is not a special case at line end.
50371 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50372 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50373 sed '=' <$as_myself |
50378 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50381 s,^['$as_cr_digits']*\n,,
50382 ' >$as_me.lineno
&&
50383 chmod +x
$as_me.lineno
||
50384 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50385 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50386 { (exit 1); exit 1; }; }
50388 # Don't try to exec as it changes $[0], causing all sort of problems
50389 # (the dirname of $[0] is not the place where we might find the
50390 # original and so on. Autoconf is especially sensible to this).
50392 # Exit status is that of the last command.
50397 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50398 *c
*,-n*) ECHO_N
= ECHO_C
='
50400 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50401 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50404 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50410 rm -f conf$$ conf$$.exe conf$$.
file
50412 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50413 # We could just check for DJGPP; but this test a) works b) is more generic
50414 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50415 if test -f conf$$.exe
; then
50416 # Don't use ln at all; we don't have any links
50421 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50426 rm -f conf$$ conf$$.exe conf$$.
file
50428 if mkdir -p .
2>/dev
/null
; then
50431 test -d .
/-p && rmdir .
/-p
50435 as_executable_p
="test -f"
50437 # Sed expression to map a string onto a valid CPP name.
50438 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50440 # Sed expression to map a string onto a valid variable name.
50441 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50445 # We need space, tab and new line, in precisely that order.
50455 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50456 # report actual input values of CONFIG_FILES etc. instead of their
50457 # values after options handling. Logging --version etc. is OK.
50461 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50462 ## Running $as_me. ##
50467 This file was extended by wxWidgets $as_me 2.7.0, which was
50468 generated by GNU Autoconf 2.59. Invocation command line was
50470 CONFIG_FILES = $CONFIG_FILES
50471 CONFIG_HEADERS = $CONFIG_HEADERS
50472 CONFIG_LINKS = $CONFIG_LINKS
50473 CONFIG_COMMANDS = $CONFIG_COMMANDS
50477 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50481 # Files that config.status was made for.
50482 if test -n "$ac_config_files"; then
50483 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50486 if test -n "$ac_config_headers"; then
50487 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50490 if test -n "$ac_config_links"; then
50491 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50494 if test -n "$ac_config_commands"; then
50495 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50498 cat >>$CONFIG_STATUS <<\_ACEOF
50501 \`$as_me' instantiates files from templates according to the
50502 current configuration.
50504 Usage: $0 [OPTIONS] [FILE]...
50506 -h, --help print this help, then exit
50507 -V, --version print version number, then exit
50508 -q, --quiet do not print progress messages
50509 -d, --debug don't remove temporary files
50510 --recheck update $as_me by reconfiguring in the same conditions
50511 --file=FILE[:TEMPLATE]
50512 instantiate the configuration file FILE
50513 --header=FILE[:TEMPLATE]
50514 instantiate the configuration header FILE
50516 Configuration files:
50519 Configuration headers:
50522 Configuration commands:
50525 Report bugs to <bug-autoconf@gnu.org>."
50528 cat >>$CONFIG_STATUS <<_ACEOF
50530 wxWidgets config.status 2.7.0
50531 configured by $0, generated by GNU Autoconf 2.59,
50532 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50534 Copyright (C) 2003 Free Software Foundation, Inc.
50535 This config.status script is free software; the Free Software Foundation
50536 gives unlimited permission to copy, distribute and modify it."
50541 cat >>$CONFIG_STATUS <<\_ACEOF
50542 # If no file are specified by the user, then we need to provide default
50543 # value. By we need to know if files were specified by the user.
50549 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50550 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50558 *) # This is not an option, so the user has probably given explicit
50561 ac_need_defaults
=false
;;
50565 # Handling of the options.
50567 cat >>$CONFIG_STATUS <<\_ACEOF
50568 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50570 --version | --vers* | -V )
50571 echo "$ac_cs_version"; exit 0 ;;
50573 # Conflict between --help and --header
50574 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50575 Try \`$0 --help' for more information." >&5
50576 echo "$as_me: error: ambiguous option: $1
50577 Try \`$0 --help' for more information." >&2;}
50578 { (exit 1); exit 1; }; };;
50579 --help | --hel | -h )
50580 echo "$ac_cs_usage"; exit 0 ;;
50581 --debug | --d* | -d )
50583 --file | --fil | --fi | --f )
50585 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50586 ac_need_defaults
=false
;;
50587 --header | --heade | --head | --hea )
50589 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50590 ac_need_defaults
=false
;;
50591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50592 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50595 # This is an error.
50596 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50597 Try \`$0 --help' for more information." >&5
50598 echo "$as_me: error: unrecognized option: $1
50599 Try \`$0 --help' for more information." >&2;}
50600 { (exit 1); exit 1; }; } ;;
50602 *) ac_config_targets
="$ac_config_targets $1" ;;
50608 ac_configure_extra_args
=
50610 if $ac_cs_silent; then
50612 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50616 cat >>$CONFIG_STATUS <<_ACEOF
50617 if \$ac_cs_recheck; then
50618 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50619 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50624 cat >>$CONFIG_STATUS <<_ACEOF
50626 # INIT-COMMANDS section.
50631 infile="$srcdir/include/wx/msw/genrcdefs.h"
50632 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50635 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50636 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50637 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50645 cat >>$CONFIG_STATUS <<\_ACEOF
50646 for ac_config_target
in $ac_config_targets
50648 case "$ac_config_target" in
50649 # Handling of arguments.
50650 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50651 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50652 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50653 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50654 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50655 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50656 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50657 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50658 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50659 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50660 { (exit 1); exit 1; }; };;
50664 # If the user did not use the arguments to specify the items to instantiate,
50665 # then the envvar interface is used. Set only those that are not.
50666 # We use the long form for the default assignment because of an extremely
50667 # bizarre bug on SunOS 4.1.3.
50668 if $ac_need_defaults; then
50669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50674 # Have a temporary directory for convenience. Make it in the build tree
50675 # simply because there is no reason to put it here, and in addition,
50676 # creating and moving files from /tmp can sometimes cause problems.
50677 # Create a temporary directory, and hook for its removal unless debugging.
50680 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50681 trap '{ (exit 1); exit 1; }' 1 2 13 15
50684 # Create a (secure) tmp directory for tmp files.
50687 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50688 test -n "$tmp" && test -d "$tmp"
50691 tmp
=.
/confstat$$
-$RANDOM
50692 (umask 077 && mkdir $tmp)
50695 echo "$me: cannot create a temporary directory in ." >&2
50696 { (exit 1); exit 1; }
50701 cat >>$CONFIG_STATUS <<_ACEOF
50704 # CONFIG_FILES section.
50707 # No need to generate the scripts if there are no CONFIG_FILES.
50708 # This happens for instance when ./config.status config.h
50709 if test -n "\$CONFIG_FILES"; then
50710 # Protect against being on the right side of a sed subst in config.status.
50711 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50712 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50713 s,@SHELL@,$SHELL,;t t
50714 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50715 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50716 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50717 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50718 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50719 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50720 s,@exec_prefix@,$exec_prefix,;t t
50721 s,@prefix@,$prefix,;t t
50722 s,@program_transform_name@,$program_transform_name,;t t
50723 s,@bindir@,$bindir,;t t
50724 s,@sbindir@,$sbindir,;t t
50725 s,@libexecdir@,$libexecdir,;t t
50726 s,@datadir@,$datadir,;t t
50727 s,@sysconfdir@,$sysconfdir,;t t
50728 s,@sharedstatedir@,$sharedstatedir,;t t
50729 s,@localstatedir@,$localstatedir,;t t
50730 s,@libdir@,$libdir,;t t
50731 s,@includedir@,$includedir,;t t
50732 s,@oldincludedir@,$oldincludedir,;t t
50733 s,@infodir@,$infodir,;t t
50734 s,@mandir@,$mandir,;t t
50735 s,@build_alias@,$build_alias,;t t
50736 s,@host_alias@,$host_alias,;t t
50737 s,@target_alias@,$target_alias,;t t
50738 s,@DEFS@,$DEFS,;t t
50739 s,@ECHO_C@,$ECHO_C,;t t
50740 s,@ECHO_N@,$ECHO_N,;t t
50741 s,@ECHO_T@,$ECHO_T,;t t
50742 s,@LIBS@,$LIBS,;t t
50743 s,@build@,$build,;t t
50744 s,@build_cpu@,$build_cpu,;t t
50745 s,@build_vendor@,$build_vendor,;t t
50746 s,@build_os@,$build_os,;t t
50747 s,@host@,$host,;t t
50748 s,@host_cpu@,$host_cpu,;t t
50749 s,@host_vendor@,$host_vendor,;t t
50750 s,@host_os@,$host_os,;t t
50751 s,@target@,$target,;t t
50752 s,@target_cpu@,$target_cpu,;t t
50753 s,@target_vendor@,$target_vendor,;t t
50754 s,@target_os@,$target_os,;t t
50756 s,@CFLAGS@,$CFLAGS,;t t
50757 s,@LDFLAGS@,$LDFLAGS,;t t
50758 s,@CPPFLAGS@,$CPPFLAGS,;t t
50759 s,@ac_ct_CC@,$ac_ct_CC,;t t
50760 s,@EXEEXT@,$EXEEXT,;t t
50761 s,@OBJEXT@,$OBJEXT,;t t
50763 s,@EGREP@,$EGREP,;t t
50765 s,@CXXFLAGS@,$CXXFLAGS,;t t
50766 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50767 s,@RANLIB@,$RANLIB,;t t
50768 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50770 s,@ac_ct_AR@,$ac_ct_AR,;t t
50771 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50772 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50773 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50774 s,@STRIP@,$STRIP,;t t
50775 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50776 s,@WINDRES@,$WINDRES,;t t
50777 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50778 s,@DLLTOOL@,$DLLTOOL,;t t
50779 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50780 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50781 s,@LN_S@,$LN_S,;t t
50782 s,@CXXCPP@,$CXXCPP,;t t
50783 s,@subdirs@,$subdirs,;t t
50784 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50785 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50786 s,@GTK_LIBS@,$GTK_LIBS,;t t
50787 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50788 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50789 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50790 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50791 s,@X_CFLAGS@,$X_CFLAGS,;t t
50792 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50793 s,@X_LIBS@,$X_LIBS,;t t
50794 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50795 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50796 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50797 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50798 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50799 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50800 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50802 s,@DEREZ@,$DEREZ,;t t
50803 s,@SETFILE@,$SETFILE,;t t
50804 s,@LIBICONV@,$LIBICONV,;t t
50805 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50806 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50807 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50808 s,@SDL_LIBS@,$SDL_LIBS,;t t
50809 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50810 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50811 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50812 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50813 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50814 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50815 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50816 s,@GST_LIBS@,$GST_LIBS,;t t
50817 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50818 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50819 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50820 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50821 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50822 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50823 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50824 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50825 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50826 s,@VENDOR@,$VENDOR,;t t
50827 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50828 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50829 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50830 s,@WXUNIV@,$WXUNIV,;t t
50831 s,@MONOLITHIC@,$MONOLITHIC,;t t
50832 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50833 s,@EXTRALIBS@,$EXTRALIBS,;t t
50834 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50835 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50836 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50837 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50838 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50839 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50840 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50841 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50842 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50843 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50844 s,@UNICODE@,$UNICODE,;t t
50845 s,@BUILD@,$BUILD,;t t
50846 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50847 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50848 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50849 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50850 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50851 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50852 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50853 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50854 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50855 s,@SET_MAKE@,$SET_MAKE,;t t
50856 s,@MAKE_SET@,$MAKE_SET,;t t
50858 s,@ac_ct_NM@,$ac_ct_NM,;t t
50859 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50860 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50861 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50862 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50863 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50864 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50865 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50866 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50867 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50868 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50869 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50870 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50871 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50872 s,@LIBPREFIX@,$LIBPREFIX,;t t
50873 s,@LIBEXT@,$LIBEXT,;t t
50874 s,@DLLPREFIX@,$DLLPREFIX,;t t
50875 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50876 s,@dlldir@,$dlldir,;t t
50877 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50878 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50879 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50880 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50881 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50882 s,@PIC_FLAG@,$PIC_FLAG,;t t
50883 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50884 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50885 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50886 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50887 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50888 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50889 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50890 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50891 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50892 s,@GCC_PCH@,$GCC_PCH,;t t
50893 s,@ICC_PCH@,$ICC_PCH,;t t
50894 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50895 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50896 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50897 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50898 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50899 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50900 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50901 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50902 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50903 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50904 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50905 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50906 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50907 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50908 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50909 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50910 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50911 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50912 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50913 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50914 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
50915 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
50916 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
50917 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
50918 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50919 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50920 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50921 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50922 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50923 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50924 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
50925 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
50926 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
50927 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
50928 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50929 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50930 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50931 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50932 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50933 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50934 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50935 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50936 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50937 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50938 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50939 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50940 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50941 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50942 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50943 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50944 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50945 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50946 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
50947 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50948 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50949 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50950 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50951 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50952 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50953 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50954 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50955 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50956 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50957 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50958 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50959 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50960 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50961 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50962 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50963 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50964 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50965 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50966 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50967 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50968 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50969 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50970 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50971 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50972 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50973 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50974 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50975 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50976 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50977 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50978 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50979 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50980 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50981 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50982 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50983 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50984 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50985 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50986 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50987 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50988 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
50989 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50990 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50991 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50992 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50993 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50994 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50995 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50996 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50997 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50998 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50999 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51000 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51001 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51002 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51003 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51004 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51005 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51006 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51007 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51008 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51009 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51010 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51011 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51012 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51013 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51014 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51015 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51016 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51017 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51018 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51019 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51020 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51021 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51022 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51023 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51024 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51025 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51026 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51027 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51028 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51029 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51030 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51031 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51032 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51033 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51034 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51035 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51036 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51037 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51038 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51039 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51040 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51041 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51042 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51043 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51044 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51045 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51046 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51047 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51048 s,@SHARED@,$SHARED,;t t
51049 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51050 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51051 s,@USE_GUI@,$USE_GUI,;t t
51052 s,@AFMINSTALL@,$AFMINSTALL,;t t
51053 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51054 s,@TOOLKIT@,$TOOLKIT,;t t
51055 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51056 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51057 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51058 s,@cross_compiling@,$cross_compiling,;t t
51059 s,@WIDGET_SET@,$WIDGET_SET,;t t
51060 s,@WX_RELEASE@,$WX_RELEASE,;t t
51061 s,@WX_VERSION@,$WX_VERSION,;t t
51062 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51063 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51064 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51065 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51066 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51067 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51068 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51069 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51070 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51071 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51072 s,@EXE_LINKER@,$EXE_LINKER,;t t
51073 s,@GUIDIST@,$GUIDIST,;t t
51074 s,@DISTDIR@,$DISTDIR,;t t
51075 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51076 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51077 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51078 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51079 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51080 s,@RESCOMP@,$RESCOMP,;t t
51081 s,@RESFLAGS@,$RESFLAGS,;t t
51082 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51083 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51084 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51085 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51086 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51087 s,@MACSETFILE@,$MACSETFILE,;t t
51089 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51090 s,@LIBOBJS@,$LIBOBJS,;t t
51091 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51096 cat >>$CONFIG_STATUS <<\_ACEOF
51097 # Split the substitutions into bite-sized pieces for seds with
51098 # small command number limits, like on Digital OSF/1 and HP-UX.
51099 ac_max_sed_lines
=48
51100 ac_sed_frag
=1 # Number of current file.
51101 ac_beg
=1 # First line for current file.
51102 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51105 while $ac_more_lines; do
51106 if test $ac_beg -gt 1; then
51107 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51109 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51111 if test ! -s $tmp/subs.frag
; then
51112 ac_more_lines
=false
51114 # The purpose of the label and of the branching condition is to
51115 # speed up the sed processing (if there are no `@' at all, there
51116 # is no need to browse any of the substitutions).
51117 # These are the two extra sed commands mentioned above.
51119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51120 if test -z "$ac_sed_cmds"; then
51121 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51123 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51125 ac_sed_frag
=`expr $ac_sed_frag + 1`
51127 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51130 if test -z "$ac_sed_cmds"; then
51133 fi # test -n "$CONFIG_FILES"
51136 cat >>$CONFIG_STATUS <<\_ACEOF
51137 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51138 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51140 - | *:- | *:-:* ) # input from stdin
51142 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51143 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51144 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51145 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51146 * ) ac_file_in
=$ac_file.
in ;;
51149 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51150 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51151 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51152 X"$ac_file" : 'X\(//\)[^/]' \| \
51153 X"$ac_file" : 'X\(//\)$' \| \
51154 X"$ac_file" : 'X\(/\)' \| \
51155 . : '\(.\)' 2>/dev/null ||
51157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51159 /^X\(\/\/\)$/{ s//\1/; q; }
51160 /^X\(\/\).*/{ s//\1/; q; }
51162 { if $as_mkdir_p; then
51167 while test ! -d "$as_dir"; do
51168 as_dirs
="$as_dir $as_dirs"
51169 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51171 X"$as_dir" : 'X\(//\)[^/]' \| \
51172 X"$as_dir" : 'X\(//\)$' \| \
51173 X"$as_dir" : 'X\(/\)' \| \
51174 . : '\(.\)' 2>/dev/null ||
51176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51178 /^X\(\/\/\)$/{ s//\1/; q; }
51179 /^X\(\/\).*/{ s//\1/; q; }
51182 test ! -n "$as_dirs" || mkdir $as_dirs
51183 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51184 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51185 { (exit 1); exit 1; }; }; }
51189 if test "$ac_dir" != .
; then
51190 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51191 # A "../" for each directory in $ac_dir_suffix.
51192 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51194 ac_dir_suffix
= ac_top_builddir
=
51198 .
) # No --srcdir option. We are building in place.
51200 if test -z "$ac_top_builddir"; then
51203 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51205 [\\/]* | ?
:[\\/]* ) # Absolute path.
51206 ac_srcdir
=$srcdir$ac_dir_suffix;
51207 ac_top_srcdir
=$srcdir ;;
51208 *) # Relative path.
51209 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51210 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51213 # Do not use `cd foo && pwd` to compute absolute paths, because
51214 # the directories may not exist.
51216 .
) ac_abs_builddir
="$ac_dir";;
51219 .
) ac_abs_builddir
=`pwd`;;
51220 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51221 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51224 case $ac_abs_builddir in
51225 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51227 case ${ac_top_builddir}.
in
51228 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51229 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51230 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51233 case $ac_abs_builddir in
51234 .
) ac_abs_srcdir
=$ac_srcdir;;
51237 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51238 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51239 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51242 case $ac_abs_builddir in
51243 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51245 case $ac_top_srcdir in
51246 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51247 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51248 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51254 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51255 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51258 if test x
"$ac_file" != x
-; then
51259 { echo "$as_me:$LINENO: creating $ac_file" >&5
51260 echo "$as_me: creating $ac_file" >&6;}
51263 # Let's still pretend it is `configure' which instantiates (i.e., don't
51264 # use $as_me), people would be surprised to read:
51265 # /* config.h. Generated by config.status. */
51266 if test x
"$ac_file" = x
-; then
51269 configure_input
="$ac_file. "
51271 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51272 sed 's,.*/,,'` by configure."
51274 # First look for the input files in the build tree, otherwise in the
51276 ac_file_inputs
=`IFS=:
51277 for f in $ac_file_in; do
51279 -) echo $tmp/stdin ;;
51281 # Absolute (can't be DOS-style, as IFS=:)
51282 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51283 echo "$as_me: error: cannot find input file: $f" >&2;}
51284 { (exit 1); exit 1; }; }
51287 if test -f "$f"; then
51290 elif test -f "$srcdir/$f"; then
51295 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51296 echo "$as_me: error: cannot find input file: $f" >&2;}
51297 { (exit 1); exit 1; }; }
51300 done` || { (exit 1); exit 1; }
51302 cat >>$CONFIG_STATUS <<_ACEOF
51306 cat >>$CONFIG_STATUS <<\_ACEOF
51308 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51309 s
,@configure_input@
,$configure_input,;t t
51310 s
,@srcdir@
,$ac_srcdir,;t t
51311 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51312 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51313 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51314 s
,@builddir@
,$ac_builddir,;t t
51315 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51316 s
,@top_builddir@
,$ac_top_builddir,;t t
51317 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51318 s
,@INSTALL@
,$ac_INSTALL,;t t
51319 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51321 if test x"$ac_file" != x-; then
51322 mv $tmp/out $ac_file
51328 # Run the commands associated with the file.
51330 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51331 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51335 cat >>$CONFIG_STATUS <<\_ACEOF
51338 # CONFIG_HEADER section.
51341 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51342 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51344 # ac_d sets the value in "#define NAME VALUE" lines.
51345 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51346 ac_dB
='[ ].*$,\1#\2'
51349 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51350 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51351 ac_uB
='$,\1#\2define\3'
51355 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51356 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51358 - | *:- | *:-:* ) # input from stdin
51360 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51361 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51362 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51363 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51364 * ) ac_file_in
=$ac_file.
in ;;
51367 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51368 echo "$as_me: creating $ac_file" >&6;}
51370 # First look for the input files in the build tree, otherwise in the
51372 ac_file_inputs
=`IFS=:
51373 for f in $ac_file_in; do
51375 -) echo $tmp/stdin ;;
51377 # Absolute (can't be DOS-style, as IFS=:)
51378 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51379 echo "$as_me: error: cannot find input file: $f" >&2;}
51380 { (exit 1); exit 1; }; }
51381 # Do quote $f, to prevent DOS paths from being IFS'd.
51384 if test -f "$f"; then
51387 elif test -f "$srcdir/$f"; then
51392 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51393 echo "$as_me: error: cannot find input file: $f" >&2;}
51394 { (exit 1); exit 1; }; }
51397 done` || { (exit 1); exit 1; }
51398 # Remove the trailing spaces.
51399 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51403 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51404 # `conftest.undefs', that substitutes the proper values into
51405 # config.h.in to produce config.h. The first handles `#define'
51406 # templates, and the second `#undef' templates.
51407 # And first: Protect against being on the right side of a sed subst in
51408 # config.status. Protect against being in an unquoted here document
51409 # in config.status.
51410 rm -f conftest.defines conftest.undefs
51411 # Using a here document instead of a string reduces the quoting nightmare.
51412 # Putting comments in sed scripts is not portable.
51414 # `end' is used to avoid that the second main sed command (meant for
51415 # 0-ary CPP macros) applies to n-ary macro definitions.
51416 # See the Autoconf documentation for `clear'.
51417 cat >confdef2sed.
sed <<\_ACEOF
51422 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51424 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51427 # If some macros were called several times there might be several times
51428 # the same #defines, which is useless. Nevertheless, we may not want to
51429 # sort them, since we want the *last* AC-DEFINE to be honored.
51430 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51431 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51432 rm -f confdef2sed.sed
51434 # This sed command replaces #undef with comments. This is necessary, for
51435 # example, in the case of _POSIX_SOURCE, which is predefined and required
51436 # on some systems where configure will not decide to define it.
51437 cat >>conftest.undefs <<\_ACEOF
51438 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51441 # Break up conftest.defines because some shells have a limit on the size
51442 # of here documents, and old seds have small limits too (100 cmds).
51443 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51444 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51445 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51446 echo ' :' >>$CONFIG_STATUS
51447 rm -f conftest.tail
51448 while grep . conftest.defines >/dev/null
51450 # Write a limited-size here document to $tmp/defines.sed.
51451 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51452 # Speed up: don't consider the non `#define' lines.
51453 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51454 # Work around the forget-to-reset-the-flag bug.
51455 echo 't clr' >>$CONFIG_STATUS
51456 echo ': clr' >>$CONFIG_STATUS
51457 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51459 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51461 mv $tmp/out $tmp/in
51463 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51464 rm -f conftest.defines
51465 mv conftest.
tail conftest.defines
51467 rm -f conftest.defines
51468 echo ' fi # grep' >>$CONFIG_STATUS
51469 echo >>$CONFIG_STATUS
51471 # Break up conftest.undefs because some shells have a limit on the size
51472 # of here documents, and old seds have small limits too (100 cmds).
51473 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51474 rm -f conftest.
tail
51475 while grep . conftest.undefs
>/dev
/null
51477 # Write a limited-size here document to $tmp/undefs.sed.
51478 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51479 # Speed up: don't consider the non
`#undef'
51480 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51481 # Work around the forget-to-reset-the-flag bug.
51482 echo 't clr' >>$CONFIG_STATUS
51483 echo ': clr' >>$CONFIG_STATUS
51484 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51486 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51488 mv $tmp/out $tmp/in
51490 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51491 rm -f conftest.undefs
51492 mv conftest.tail conftest.undefs
51494 rm -f conftest.undefs
51496 cat >>$CONFIG_STATUS <<\_ACEOF
51497 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51498 # use $as_me), people would be surprised to read:
51499 # /* config.h. Generated by config.status. */
51500 if test x
"$ac_file" = x
-; then
51501 echo "/* Generated by configure. */" >$tmp/config.h
51503 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51505 cat $tmp/in >>$tmp/config.h
51507 if test x
"$ac_file" != x
-; then
51508 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51509 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51510 echo "$as_me: $ac_file is unchanged" >&6;}
51512 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51514 X"$ac_file" : 'X\(//\)[^/]' \| \
51515 X"$ac_file" : 'X\(//\)$' \| \
51516 X"$ac_file" : 'X\(/\)' \| \
51517 . : '\(.\)' 2>/dev/null ||
51519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51521 /^X\(\/\/\)$/{ s//\1/; q; }
51522 /^X\(\/\).*/{ s//\1/; q; }
51524 { if $as_mkdir_p; then
51529 while test ! -d "$as_dir"; do
51530 as_dirs
="$as_dir $as_dirs"
51531 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51533 X"$as_dir" : 'X\(//\)[^/]' \| \
51534 X"$as_dir" : 'X\(//\)$' \| \
51535 X"$as_dir" : 'X\(/\)' \| \
51536 . : '\(.\)' 2>/dev/null ||
51538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51539 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51540 /^X\(\/\/\)$/{ s//\1/; q; }
51541 /^X\(\/\).*/{ s//\1/; q; }
51544 test ! -n "$as_dirs" || mkdir $as_dirs
51545 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51546 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51547 { (exit 1); exit 1; }; }; }
51550 mv $tmp/config.h
$ac_file
51554 rm -f $tmp/config.h
51558 cat >>$CONFIG_STATUS <<\_ACEOF
51561 # CONFIG_COMMANDS section.
51563 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51564 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51565 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51566 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51567 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51568 X"$ac_dest" : 'X\(//\)[^/]' \| \
51569 X"$ac_dest" : 'X\(//\)$' \| \
51570 X"$ac_dest" : 'X\(/\)' \| \
51571 . : '\(.\)' 2>/dev/null ||
51573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51575 /^X\(\/\/\)$/{ s//\1/; q; }
51576 /^X\(\/\).*/{ s//\1/; q; }
51578 { if $as_mkdir_p; then
51583 while test ! -d "$as_dir"; do
51584 as_dirs
="$as_dir $as_dirs"
51585 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51587 X"$as_dir" : 'X\(//\)[^/]' \| \
51588 X"$as_dir" : 'X\(//\)$' \| \
51589 X"$as_dir" : 'X\(/\)' \| \
51590 . : '\(.\)' 2>/dev/null ||
51592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51594 /^X\(\/\/\)$/{ s//\1/; q; }
51595 /^X\(\/\).*/{ s//\1/; q; }
51598 test ! -n "$as_dirs" || mkdir $as_dirs
51599 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51600 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51601 { (exit 1); exit 1; }; }; }
51605 if test "$ac_dir" != .
; then
51606 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51607 # A "../" for each directory in $ac_dir_suffix.
51608 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51610 ac_dir_suffix
= ac_top_builddir
=
51614 .
) # No --srcdir option. We are building in place.
51616 if test -z "$ac_top_builddir"; then
51619 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51621 [\\/]* | ?
:[\\/]* ) # Absolute path.
51622 ac_srcdir
=$srcdir$ac_dir_suffix;
51623 ac_top_srcdir
=$srcdir ;;
51624 *) # Relative path.
51625 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51626 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51629 # Do not use `cd foo && pwd` to compute absolute paths, because
51630 # the directories may not exist.
51632 .
) ac_abs_builddir
="$ac_dir";;
51635 .
) ac_abs_builddir
=`pwd`;;
51636 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51637 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51640 case $ac_abs_builddir in
51641 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51643 case ${ac_top_builddir}.
in
51644 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51645 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51646 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51649 case $ac_abs_builddir in
51650 .
) ac_abs_srcdir
=$ac_srcdir;;
51653 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51654 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51655 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51658 case $ac_abs_builddir in
51659 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51661 case $ac_top_srcdir in
51662 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51663 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51664 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51669 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51670 echo "$as_me: executing $ac_dest commands" >&6;}
51673 mkdir -p $outdir &&
51674 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51676 wx
-config ) rm -f wx
-config
51677 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51683 cat >>$CONFIG_STATUS <<\_ACEOF
51685 { (exit 0); exit 0; }
51687 chmod +x
$CONFIG_STATUS
51688 ac_clean_files
=$ac_clean_files_save
51691 # configure is writing to config.log, and then calls config.status.
51692 # config.status does its own redirection, appending to config.log.
51693 # Unfortunately, on DOS this fails, as config.log is still kept open
51694 # by configure, so config.status won't be able to write to it; its
51695 # output is simply discarded. So we exec the FD to /dev/null,
51696 # effectively closing config.log, so it can be properly (re)opened and
51697 # appended to by config.status. When coming back to configure, we
51698 # need to make the FD available again.
51699 if test "$no_create" != yes; then
51701 ac_config_status_args
=
51702 test "$silent" = yes &&
51703 ac_config_status_args
="$ac_config_status_args --quiet"
51705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51708 # would make configure fail if this is the last instruction.
51709 $ac_cs_success || { (exit 1); exit 1; }
51713 # CONFIG_SUBDIRS section.
51715 if test "$no_recursion" != yes; then
51717 # Remove --cache-file and --srcdir arguments so they do not pile up.
51718 ac_sub_configure_args
=
51720 for ac_arg
in $ac_configure_args; do
51721 if test -n "$ac_prev"; then
51726 -cache-file | --cache-file | --cache-fil | --cache-fi \
51727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51728 ac_prev
=cache_file
;;
51729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51733 --config-cache | -C)
51735 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51737 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51739 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51741 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51743 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51747 # Always prepend --prefix to ensure using the same prefix
51748 # in subdir configurations.
51749 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51752 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51754 # Do not complain, so a configure script can configure whichever
51755 # parts of a large source tree are present.
51756 test -d $srcdir/$ac_dir || continue
51758 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51759 echo "$as_me: configuring in $ac_dir" >&6;}
51760 { if $as_mkdir_p; then
51765 while test ! -d "$as_dir"; do
51766 as_dirs
="$as_dir $as_dirs"
51767 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51769 X"$as_dir" : 'X\(//\)[^/]' \| \
51770 X"$as_dir" : 'X\(//\)$' \| \
51771 X"$as_dir" : 'X\(/\)' \| \
51772 . : '\(.\)' 2>/dev/null ||
51774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51776 /^X\(\/\/\)$/{ s//\1/; q; }
51777 /^X\(\/\).*/{ s//\1/; q; }
51780 test ! -n "$as_dirs" || mkdir $as_dirs
51781 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51782 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51783 { (exit 1); exit 1; }; }; }
51787 if test "$ac_dir" != .
; then
51788 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51789 # A "../" for each directory in $ac_dir_suffix.
51790 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51792 ac_dir_suffix
= ac_top_builddir
=
51796 .
) # No --srcdir option. We are building in place.
51798 if test -z "$ac_top_builddir"; then
51801 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51803 [\\/]* | ?
:[\\/]* ) # Absolute path.
51804 ac_srcdir
=$srcdir$ac_dir_suffix;
51805 ac_top_srcdir
=$srcdir ;;
51806 *) # Relative path.
51807 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51808 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51811 # Do not use `cd foo && pwd` to compute absolute paths, because
51812 # the directories may not exist.
51814 .
) ac_abs_builddir
="$ac_dir";;
51817 .
) ac_abs_builddir
=`pwd`;;
51818 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51819 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51822 case $ac_abs_builddir in
51823 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51825 case ${ac_top_builddir}.
in
51826 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51827 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51828 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51831 case $ac_abs_builddir in
51832 .
) ac_abs_srcdir
=$ac_srcdir;;
51835 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51836 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51837 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51840 case $ac_abs_builddir in
51841 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51843 case $ac_top_srcdir in
51844 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51845 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51846 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51853 # Check for guested configure; otherwise get Cygnus style configure.
51854 if test -f $ac_srcdir/configure.gnu
; then
51855 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51856 elif test -f $ac_srcdir/configure
; then
51857 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51858 elif test -f $ac_srcdir/configure.
in; then
51859 ac_sub_configure
=$ac_configure
51861 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51862 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51866 # The recursion is here.
51867 if test -n "$ac_sub_configure"; then
51868 # Make the cache file name correct relative to the subdirectory.
51869 case $cache_file in
51870 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51871 *) # Relative path.
51872 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51875 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51876 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51877 # The eval makes quoting arguments work.
51878 eval $ac_sub_configure $ac_sub_configure_args \
51879 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51880 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51881 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51882 { (exit 1); exit 1; }; }
51891 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51893 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51894 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51896 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51897 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51898 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51900 echo " What level of wxWidgets compatibility should be enabled?"
51901 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51902 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51904 echo " Which libraries should wxWidgets use?"
51905 echo " jpeg ${wxUSE_LIBJPEG-none}"
51906 echo " png ${wxUSE_LIBPNG-none}"
51907 echo " regex ${wxUSE_REGEX}"
51908 echo " tiff ${wxUSE_LIBTIFF-none}"
51909 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51910 echo " xpm ${wxUSE_LIBXPM-none}"
51912 echo " zlib ${wxUSE_ZLIB}"
51913 echo " odbc ${wxUSE_ODBC}"
51914 echo " expat ${wxUSE_EXPAT}"
51915 echo " libmspack ${wxUSE_LIBMSPACK}"
51916 echo " sdl ${wxUSE_LIBSDL}"