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.1.
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.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
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 CAIRO_CFLAGS CAIRO_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_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class
for getting backtraces
985 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class
for DLL loading
991 --enable-dynamicloader use
(new
) wxDynamicLibrary class
992 --enable-exceptions build exception
-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual
file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_inet use virtual HTTP
/FTP filesystems
998 --enable-fs_zip use virtual ZIP filesystems
999 --enable-geometry use geometry class
1000 --enable-log use logging system
1001 --enable-longlong use wxLongLong class
1002 --enable-mimetype use wxMimeTypesManager
1003 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1004 --enable-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C
++ stream classes
1006 --enable-std_string use standard C
++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-textbuf use wxTextBuffer class
1012 --enable-textfile use wxTextFile class
1013 --enable-timer use wxTimer class
1014 --enable-unicode compile wxString with Unicode support
1015 --enable-sound use wxSound class
1016 --enable-mediactrl use wxMediaCtrl class
1017 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1018 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1019 --enable-zipstream use wxZip streams
1020 --enable-url use wxURL class
1021 --enable-variant use wxVariant class
1022 --enable-protocol use wxProtocol class
1023 --enable-protocol-http HTTP support
in wxProtocol
1024 --enable-protocol-ftp FTP support
in wxProtocol
1025 --enable-protocol-file FILE support
in wxProtocol
1026 --enable-threads use threads
1027 --enable-docview use document view architecture
1028 --enable-help use
help subsystem
1029 --enable-mshtmlhelp use MS HTML Help
(win32
)
1030 --enable-html use wxHTML sub
-library
1031 --enable-htmlhelp use wxHTML
-based help
1032 --enable-xrc use XRC resources sub
-library
1033 --enable-aui use AUI docking library
1034 --enable-constraints use layout
-constraints system
1035 --enable-printarch use printing architecture
1036 --enable-mdi use multiple document interface architecture
1037 --enable-mdidoc use docview architecture with MDI
1038 --enable-loggui use standard GUI logger
1039 --enable-logwin use wxLogWindow
1040 --enable-logdialog use wxLogDialog
1041 --enable-webkit use wxWebKitCtrl
(Mac
)
1042 --enable-richtext use wxRichTextCtrl
1043 --enable-graphics_ctx use graphics context
2D drawing API
1044 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1045 --enable-prologio not available
; see contrib
1046 --enable-resources not available
; see contrib
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag
'n'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-colourpicker use wxColourPickerCtrl class
1063 --enable-combobox use wxComboBox class
1064 --enable-comboctrl use wxComboCtrl class
1065 --enable-datepick use wxDatePickerCtrl class
1066 --enable-dirpicker use wxDirPickerCtrl class
1067 --enable-display use wxDisplay class
1068 --enable-filepicker use wxFilePickerCtrl class
1069 --enable-fontpicker use wxFontPickerCtrl class
1070 --enable-gauge use wxGauge class
1071 --enable-grid use wxGrid class
1072 --enable-dataviewctrl, use wxDataViewCtrl class
1073 --enable-hyperlink use wxHyperlinkCtrl class
1074 --enable-imaglist use wxImageList class
1075 --enable-listbook use wxListbook class
1076 --enable-listbox use wxListBox class
1077 --enable-listctrl use wxListCtrl class
1078 --enable-notebook use wxNotebook class
1079 --enable-odcombobox use wxOwnerDrawnComboBox class
1080 --enable-radiobox use wxRadioBox class
1081 --enable-radiobtn use wxRadioButton class
1082 --enable-sash use wxSashWindow class
1083 --enable-scrollbar use wxScrollBar class and scrollable windows
1084 --enable-slider use wxSlider class
1085 --enable-spinbtn use wxSpinButton class
1086 --enable-spinctrl use wxSpinCtrl class
1087 --enable-splitter use wxSplitterWindow class
1088 --enable-statbmp use wxStaticBitmap class
1089 --enable-statbox use wxStaticBox class
1090 --enable-statline use wxStaticLine class
1091 --enable-stattext use wxStaticText class
1092 --enable-statusbar use wxStatusBar class
1093 --enable-tabdialog use wxTabControl class
1094 --enable-textctrl use wxTextCtrl class
1095 --enable-togglebtn use wxToggleButton class
1096 --enable-toolbar use wxToolBar class
1097 --enable-tbarnative use native wxToolBar class
1098 --enable-treebook use wxTreebook class
1099 --enable-toolbook use wxToolbook class
1100 --enable-treectrl use wxTreeCtrl class
1101 --enable-tipwindow use wxTipWindow class
1102 --enable-popupwin use wxPopUpWindow class
1103 --enable-commondlg use all common dialogs
1104 --enable-aboutdlg use wxAboutBox
1105 --enable-choicedlg use wxChoiceDialog
1106 --enable-coldlg use wxColourDialog
1107 --enable-filedlg use wxFileDialog
1108 --enable-finddlg use wxFindReplaceDialog
1109 --enable-fontdlg use wxFontDialog
1110 --enable-dirdlg use wxDirDialog
1111 --enable-msgdlg use wxMessageDialog
1112 --enable-numberdlg use wxNumberEntryDialog
1113 --enable-splash use wxSplashScreen
1114 --enable-textdlg use wxTextDialog
1115 --enable-tipdlg use startup tips
1116 --enable-progressdlg use wxProgressDialog
1117 --enable-wizarddlg use wxWizard
1118 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1119 --enable-miniframe use wxMiniFrame class
1120 --enable-tooltips use wxToolTip class
1121 --enable-splines use spline drawing code
1122 --enable-mousewheel use mousewheel
1123 --enable-validators use wxValidator and derived classes
1124 --enable-busyinfo use wxBusyInfo
1125 --enable-joystick use wxJoystick
1126 --enable-metafiles use wxMetaFile
(Win32 only
)
1127 --enable-dragimage use wxDragImage
1128 --enable-accessibility enable accessibility support
1129 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1130 --enable-palette use wxPalette class
1131 --enable-image use wxImage class
1132 --enable-gif use gif images
(GIF
file format
)
1133 --enable-pcx use pcx images
(PCX
file format
)
1134 --enable-iff use iff images
(IFF
file format
)
1135 --enable-pnm use pnm images
(PNM
file format
)
1136 --enable-xpm use xpm images
(XPM
file format
)
1137 --enable-icocur use Windows ICO and CUR formats
1138 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1139 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1140 --disable-largefile omit support
for large files
1141 --disable-gtktest do not try to compile and run a
test GTK
+ program
1142 --disable-gtktest Do not try to compile and run a
test GTK program
1143 --disable-sdltest Do not try to compile and run a
test SDL program
1144 --enable-omf use OMF object format
(OS
/2)
1145 --disable-dependency-tracking
1146 don
't use dependency tracking even if the compiler
1148 --disable-precomp-headers
1149 don't use precompiled headers even
if compiler can
1152 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1153 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1154 --without-subdirs don
't generate makefiles for samples/demos/...
1155 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1156 --with-motif use Motif/Lesstif
1157 --with-mac use Mac OS X
1158 --with-cocoa use Cocoa
1159 --with-wine use Wine
1160 --with-msw use MS-Windows
1161 --with-pm use OS/2 Presentation Manager
1162 --with-mgl use SciTech MGL
1163 --with-directfb use DirectFB
1164 --with-microwin use MicroWindows
1166 --with-libpng use libpng (PNG image format)
1167 --with-libjpeg use libjpeg (JPEG file format)
1168 --with-libtiff use libtiff (TIFF file format)
1169 --with-libxpm use libxpm (XPM file format)
1170 --with-libmspack use libmspack (CHM help files loading)
1171 --with-sdl use SDL for audio on Unix
1172 --with-gnomeprint use GNOME print for printing under GNOME
1173 --with-gnomevfs use GNOME VFS for associating MIME types
1174 --with-hildon use Hildon framework for Nokia 770
1175 --with-opengl use OpenGL (or Mesa)
1176 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1177 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1178 --with-regex enable support for wxRegEx class
1179 --with-zlib use zlib for LZW compression
1180 --with-odbc use the IODBC and wxODBC classes
1181 --with-expat enable XML support using expat parser
1182 --with-flavour=NAME specify a name to identify this build
1183 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1184 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1185 --with-x use the X Window System
1186 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1187 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1188 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1189 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1190 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1192 Some influential environment variables:
1193 CC C compiler command
1194 CFLAGS C compiler flags
1195 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1196 nonstandard directory <lib dir>
1197 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1198 headers in a nonstandard directory <include dir>
1200 CXX C++ compiler command
1201 CXXFLAGS C++ compiler flags
1202 CXXCPP C++ preprocessor
1203 PKG_CONFIG path to pkg-config utility
1205 C compiler flags for DIRECTFB, overriding pkg-config
1207 linker flags for DIRECTFB, overriding pkg-config
1209 C compiler flags for PANGOX, overriding pkg-config
1210 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1212 C compiler flags for PANGOFT2, overriding pkg-config
1214 linker flags for PANGOFT2, overriding pkg-config
1216 C compiler flags for PANGOXFT, overriding pkg-config
1218 linker flags for PANGOXFT, overriding pkg-config
1219 LIBGNOMEPRINTUI_CFLAGS
1220 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1221 LIBGNOMEPRINTUI_LIBS
1222 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1224 C compiler flags for GNOMEVFS, overriding pkg-config
1226 linker flags for GNOMEVFS, overriding pkg-config
1228 C compiler flags for HILDON, overriding pkg-config
1229 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1231 C compiler flags for CAIRO, overriding pkg-config
1232 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1233 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1234 GST_LIBS linker flags for GST, overriding pkg-config
1236 Use these variables to override the choices made by `configure' or to
help
1237 it to
find libraries and programs with nonstandard names
/locations.
1239 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1243 if test "$ac_init_help" = "recursive"; then
1244 # If there are subdirs, report their specific --help.
1246 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1247 test -d $ac_dir || continue
1250 if test "$ac_dir" != .
; then
1251 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1252 # A "../" for each directory in $ac_dir_suffix.
1253 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1255 ac_dir_suffix
= ac_top_builddir
=
1259 .
) # No --srcdir option. We are building in place.
1261 if test -z "$ac_top_builddir"; then
1264 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1266 [\\/]* | ?
:[\\/]* ) # Absolute path.
1267 ac_srcdir
=$srcdir$ac_dir_suffix;
1268 ac_top_srcdir
=$srcdir ;;
1270 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1271 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1274 # Do not use `cd foo && pwd` to compute absolute paths, because
1275 # the directories may not exist.
1277 .
) ac_abs_builddir
="$ac_dir";;
1280 .
) ac_abs_builddir
=`pwd`;;
1281 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1282 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1285 case $ac_abs_builddir in
1286 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1288 case ${ac_top_builddir}.
in
1289 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1290 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1291 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1294 case $ac_abs_builddir in
1295 .
) ac_abs_srcdir
=$ac_srcdir;;
1298 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1299 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1300 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1303 case $ac_abs_builddir in
1304 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1306 case $ac_top_srcdir in
1307 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1308 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1309 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1314 # Check for guested configure; otherwise get Cygnus style configure.
1315 if test -f $ac_srcdir/configure.gnu
; then
1317 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1318 elif test -f $ac_srcdir/configure
; then
1320 $SHELL $ac_srcdir/configure
--help=recursive
1321 elif test -f $ac_srcdir/configure.ac
||
1322 test -f $ac_srcdir/configure.
in; then
1324 $ac_configure --help
1326 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 test -n "$ac_init_help" && exit 0
1333 if $ac_init_version; then
1335 wxWidgets configure
2.7.1
1336 generated by GNU Autoconf
2.59
1338 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1339 This configure
script is free software
; the Free Software Foundation
1340 gives unlimited permission to copy
, distribute and modify it.
1346 This file contains any messages produced by compilers while
1347 running configure, to aid debugging if configure makes a mistake.
1349 It was created by wxWidgets $as_me 2.7.1, which was
1350 generated by GNU Autoconf 2.59. Invocation command line was
1361 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1362 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1363 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1364 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1365 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1367 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1368 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1370 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1371 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1372 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1373 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1374 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1375 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1376 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1384 test -z "$as_dir" && as_dir
=.
1385 echo "PATH: $as_dir"
1400 # Keep a trace of the command line.
1401 # Strip out --no-create and --no-recursion so they do not pile up.
1402 # Strip out --silent because we don't want to record it for future runs.
1403 # Also quote any args containing shell meta-characters.
1404 # Make two passes to allow for proper duplicate-argument suppression.
1409 ac_must_keep_next
=false
1415 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1417 | -silent | --silent | --silen | --sile | --sil)
1419 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1420 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1423 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1425 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1426 if test $ac_must_keep_next = true
; then
1427 ac_must_keep_next
=false
# Got value, back to normal.
1430 *=* | --config-cache | -C | -disable-* | --disable-* \
1431 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1432 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1433 | -with-* | --with-* | -without-* | --without-* | --x)
1434 case "$ac_configure_args0 " in
1435 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1438 -* ) ac_must_keep_next
=true
;;
1441 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1442 # Get rid of the leading space.
1448 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1449 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1451 # When interrupted or exit'd, cleanup temporary files, and complete
1452 # config.log. We remove comments because anyway the quotes in there
1453 # would cause problems or look ugly.
1454 # WARNING: Be sure not to use single quotes in there, as some shells,
1455 # such as our DU 5.0 friend, will then `close' the trap.
1456 trap 'exit_status=$?
1457 # Save into config.log some information that might help in debugging.
1462 ## ---------------- ##
1463 ## Cache variables. ##
1464 ## ---------------- ##
1467 # The following way of writing the cache mishandles newlines in values,
1470 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1473 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1478 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1485 ## ----------------- ##
1486 ## Output variables. ##
1487 ## ----------------- ##
1490 for ac_var in $ac_subst_vars
1492 eval ac_val=$`echo $ac_var`
1493 echo "$ac_var='"'"'$ac_val'"'"'"
1497 if test -n "$ac_subst_files"; then
1504 for ac_var in $ac_subst_files
1506 eval ac_val=$`echo $ac_var`
1507 echo "$ac_var='"'"'$ac_val'"'"'"
1512 if test -s confdefs.h; then
1519 sed "/^$/d" confdefs.h | sort
1522 test "$ac_signal" != 0 &&
1523 echo "$as_me: caught signal $ac_signal"
1524 echo "$as_me: exit $exit_status"
1526 rm -f core *.core &&
1527 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1530 for ac_signal
in 1 2 13 15; do
1531 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1535 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1536 rm -rf conftest
* confdefs.h
1537 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1540 # Predefined preprocessor variables.
1542 cat >>confdefs.h
<<_ACEOF
1543 #define PACKAGE_NAME "$PACKAGE_NAME"
1547 cat >>confdefs.h
<<_ACEOF
1548 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1552 cat >>confdefs.h
<<_ACEOF
1553 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1557 cat >>confdefs.h
<<_ACEOF
1558 #define PACKAGE_STRING "$PACKAGE_STRING"
1562 cat >>confdefs.h
<<_ACEOF
1563 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1567 # Let the site file select an alternate cache file if it wants to.
1568 # Prefer explicitly selected file to automatically selected ones.
1569 if test -z "$CONFIG_SITE"; then
1570 if test "x$prefix" != xNONE
; then
1571 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1573 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1576 for ac_site_file
in $CONFIG_SITE; do
1577 if test -r "$ac_site_file"; then
1578 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1579 echo "$as_me: loading site script $ac_site_file" >&6;}
1580 sed 's/^/| /' "$ac_site_file" >&5
1585 if test -r "$cache_file"; then
1586 # Some versions of bash will fail to source /dev/null (special
1587 # files actually), so we avoid doing that.
1588 if test -f "$cache_file"; then
1589 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1590 echo "$as_me: loading cache $cache_file" >&6;}
1592 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1593 *) . .
/$cache_file;;
1597 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1598 echo "$as_me: creating cache $cache_file" >&6;}
1602 # Check that the precious variables saved in the cache have kept the same
1604 ac_cache_corrupted
=false
1605 for ac_var
in `(set) 2>&1 |
1606 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1607 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1608 eval ac_new_set
=\
$ac_env_${ac_var}_set
1609 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1610 eval ac_new_val
="\$ac_env_${ac_var}_value"
1611 case $ac_old_set,$ac_new_set in
1613 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1614 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1615 ac_cache_corrupted
=: ;;
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1619 ac_cache_corrupted
=: ;;
1622 if test "x$ac_old_val" != "x$ac_new_val"; then
1623 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1624 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1625 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1626 echo "$as_me: former value: $ac_old_val" >&2;}
1627 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1628 echo "$as_me: current value: $ac_new_val" >&2;}
1629 ac_cache_corrupted
=:
1632 # Pass precious variables to config.status.
1633 if test "$ac_new_set" = set; then
1635 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1636 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1637 *) ac_arg
=$ac_var=$ac_new_val ;;
1639 case " $ac_configure_args " in
1640 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1641 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1645 if $ac_cache_corrupted; then
1646 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1647 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1648 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1649 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1650 { (exit 1); exit 1; }; }
1654 ac_cpp
='$CPP $CPPFLAGS'
1655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1689 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1690 if test -f $ac_dir/install-sh; then
1692 ac_install_sh
="$ac_aux_dir/install-sh -c"
1694 elif test -f $ac_dir/install.sh
; then
1696 ac_install_sh
="$ac_aux_dir/install.sh -c"
1698 elif test -f $ac_dir/shtool
; then
1700 ac_install_sh
="$ac_aux_dir/shtool install -c"
1704 if test -z "$ac_aux_dir"; then
1705 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1706 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1707 { (exit 1); exit 1; }; }
1709 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1710 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1711 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1713 # Make sure we can run config.sub.
1714 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1715 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1716 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1717 { (exit 1); exit 1; }; }
1719 echo "$as_me:$LINENO: checking build system type" >&5
1720 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1721 if test "${ac_cv_build+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 ac_cv_build_alias
=$build_alias
1725 test -z "$ac_cv_build_alias" &&
1726 ac_cv_build_alias
=`$ac_config_guess`
1727 test -z "$ac_cv_build_alias" &&
1728 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1729 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1730 { (exit 1); exit 1; }; }
1731 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1732 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1733 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1734 { (exit 1); exit 1; }; }
1737 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1738 echo "${ECHO_T}$ac_cv_build" >&6
1740 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1741 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1742 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1745 echo "$as_me:$LINENO: checking host system type" >&5
1746 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1747 if test "${ac_cv_host+set}" = set; then
1748 echo $ECHO_N "(cached) $ECHO_C" >&6
1750 ac_cv_host_alias
=$host_alias
1751 test -z "$ac_cv_host_alias" &&
1752 ac_cv_host_alias
=$ac_cv_build_alias
1753 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1754 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1755 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1756 { (exit 1); exit 1; }; }
1759 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1760 echo "${ECHO_T}$ac_cv_host" >&6
1762 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1763 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1764 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1767 echo "$as_me:$LINENO: checking target system type" >&5
1768 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1769 if test "${ac_cv_target+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 ac_cv_target_alias
=$target_alias
1773 test "x$ac_cv_target_alias" = "x" &&
1774 ac_cv_target_alias
=$ac_cv_host_alias
1775 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1776 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1777 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1778 { (exit 1); exit 1; }; }
1781 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1782 echo "${ECHO_T}$ac_cv_target" >&6
1783 target
=$ac_cv_target
1784 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1785 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1786 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1789 # The aliases save the names the user supplied, while $host etc.
1790 # will get canonicalized.
1791 test -n "$target_alias" &&
1792 test "$program_prefix$program_suffix$program_transform_name" = \
1794 program_prefix
=${target_alias}-
1798 wx_major_version_number
=2
1799 wx_minor_version_number
=7
1801 wx_subrelease_number
=1
1803 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1804 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1805 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1807 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1820 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1826 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1832 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1834 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1836 DEFAULT_wxUSE_COCOA
=0
1840 DEFAULT_wxUSE_MICROWIN
=0
1841 DEFAULT_wxUSE_MOTIF
=0
1847 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1848 DEFAULT_DEFAULT_wxUSE_GTK
=0
1849 DEFAULT_DEFAULT_wxUSE_MAC
=0
1850 DEFAULT_DEFAULT_wxUSE_MGL
=0
1851 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1852 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1853 DEFAULT_DEFAULT_wxUSE_MSW
=0
1854 DEFAULT_DEFAULT_wxUSE_PM
=0
1855 DEFAULT_DEFAULT_wxUSE_X11
=0
1856 DEFAULT_DEFAULT_wxUSE_DFB
=0
1861 SAMPLES_RPATH_POSTLINK
=
1863 DEFAULT_STD_FLAG
=yes
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1871 cat >>confdefs.h
<<\_ACEOF
1876 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1880 cat >>confdefs.h
<<\_ACEOF
1885 if test "x$TMP" = "xalpha"; then
1887 cat >>confdefs.h
<<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_GTK
=1
1894 *-*-gnu* | *-*-k*bsd
*-gnu )
1897 if test "x$TMP" = "xalpha"; then
1899 cat >>confdefs.h
<<\_ACEOF
1904 DEFAULT_DEFAULT_wxUSE_GTK
=1
1906 *-*-irix5* | *-*-irix6* )
1909 cat >>confdefs.h
<<\_ACEOF
1913 cat >>confdefs.h
<<\_ACEOF
1917 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1923 cat >>confdefs.h
<<\_ACEOF
1927 cat >>confdefs.h
<<\_ACEOF
1928 #define __SOLARIS__ 1
1931 cat >>confdefs.h
<<\_ACEOF
1935 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1936 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1942 cat >>confdefs.h
<<\_ACEOF
1946 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1954 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1959 cat >>confdefs.h
<<\_ACEOF
1960 #define __FREEBSD__ 1
1963 cat >>confdefs.h
<<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_GTK
=1
1969 *-*-openbsd*|*-*-mirbsd*)
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __OPENBSD__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1980 DEFAULT_DEFAULT_wxUSE_GTK
=1
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define __NETBSD__ 1
1989 cat >>confdefs.h
<<\_ACEOF
1993 DEFAULT_DEFAULT_wxUSE_GTK
=1
1994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1996 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2001 cat >>confdefs.h
<<\_ACEOF
2005 cat >>confdefs.h
<<\_ACEOF
2009 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2010 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2015 cat >>confdefs.h
<<\_ACEOF
2019 cat >>confdefs.h
<<\_ACEOF
2023 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2028 cat >>confdefs.h
<<\_ACEOF
2032 cat >>confdefs.h
<<\_ACEOF
2036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2043 cat >>confdefs.h
<<\_ACEOF
2047 cat >>confdefs.h
<<\_ACEOF
2051 cat >>confdefs.h
<<\_ACEOF
2055 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2062 cat >>confdefs.h
<<\_ACEOF
2063 #define __UNIXWARE__ 1
2068 *-*-cygwin* | *-*-mingw32* )
2071 DEFAULT_DEFAULT_wxUSE_MSW
=1
2078 cat >>confdefs.h
<<\_ACEOF
2083 DEFAULT_DEFAULT_wxUSE_MGL
=1
2086 *-pc-os2_emx | *-pc-os2-emx )
2087 cat >>confdefs.h
<<\_ACEOF
2092 cat >>confdefs.h
<<\_ACEOF
2097 DEFAULT_DEFAULT_wxUSE_PM
=1
2099 LDFLAGS
="$LDFLAGS -Zcrtdll"
2100 ac_executable_extensions
=".exe"
2101 export ac_executable_extensions
2105 for ac_dir
in $PATH; do
2107 if test -z "$ac_TEMP_PATH"; then
2108 ac_TEMP_PATH
="$ac_dir"
2110 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2113 export PATH
="$ac_TEMP_PATH"
2122 cat >>confdefs.h
<<\_ACEOF
2126 cat >>confdefs.h
<<\_ACEOF
2127 #define __DARWIN__ 1
2130 cat >>confdefs.h
<<\_ACEOF
2131 #define TARGET_CARBON 1
2134 DEFAULT_DEFAULT_wxUSE_MAC
=1
2137 powerpc
-apple-macos* )
2139 ac_cv_c_bigendian
=yes
2141 DEFAULT_DEFAULT_wxUSE_MAC
=1
2147 cat >>confdefs.h
<<\_ACEOF
2154 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2155 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2156 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2157 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2159 DEFAULT_DEFAULT_wxUSE_X11
=1
2160 DEFAULT_wxUSE_SHARED
=no
2166 wx_arg_cache_file
="configarg.cache"
2167 echo "loading argument cache $wx_arg_cache_file"
2168 rm -f ${wx_arg_cache_file}.tmp
2169 touch ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}
2174 if test $DEBUG_CONFIGURE = 1; then
2175 DEFAULT_wxUSE_UNIVERSAL
=no
2176 DEFAULT_wxUSE_STL
=no
2178 DEFAULT_wxUSE_NANOX
=no
2180 DEFAULT_wxUSE_THREADS
=yes
2182 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2183 DEFAULT_wxUSE_OPTIMISE
=no
2184 DEFAULT_wxUSE_PROFILE
=no
2185 DEFAULT_wxUSE_NO_DEPS
=no
2186 DEFAULT_wxUSE_NO_RTTI
=no
2187 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2188 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2189 DEFAULT_wxUSE_RPATH
=yes
2190 DEFAULT_wxUSE_PERMISSIVE
=no
2191 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2192 DEFAULT_wxUSE_DEBUG_INFO
=yes
2193 DEFAULT_wxUSE_DEBUG_GDB
=yes
2194 DEFAULT_wxUSE_MEM_TRACING
=no
2195 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2196 DEFAULT_wxUSE_DMALLOC
=no
2197 DEFAULT_wxUSE_APPLE_IEEE
=no
2199 DEFAULT_wxUSE_EXCEPTIONS
=no
2200 DEFAULT_wxUSE_LOG
=yes
2201 DEFAULT_wxUSE_LOGWINDOW
=no
2202 DEFAULT_wxUSE_LOGGUI
=no
2203 DEFAULT_wxUSE_LOGDIALOG
=no
2205 DEFAULT_wxUSE_GUI
=yes
2206 DEFAULT_wxUSE_CONTROLS
=no
2208 DEFAULT_wxUSE_REGEX
=no
2209 DEFAULT_wxUSE_XML
=no
2210 DEFAULT_wxUSE_EXPAT
=no
2211 DEFAULT_wxUSE_ZLIB
=no
2212 DEFAULT_wxUSE_LIBPNG
=no
2213 DEFAULT_wxUSE_LIBJPEG
=no
2214 DEFAULT_wxUSE_LIBTIFF
=no
2215 DEFAULT_wxUSE_LIBXPM
=no
2216 DEFAULT_wxUSE_LIBMSPACK
=no
2217 DEFAULT_wxUSE_LIBSDL
=no
2218 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2219 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2220 DEFAULT_wxUSE_LIBHILDON
=no
2221 DEFAULT_wxUSE_ODBC
=no
2222 DEFAULT_wxUSE_OPENGL
=no
2224 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2225 DEFAULT_wxUSE_STACKWALKER
=no
2226 DEFAULT_wxUSE_DEBUGREPORT
=no
2227 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2228 DEFAULT_wxUSE_STD_IOSTREAM
=no
2229 DEFAULT_wxUSE_STD_STRING
=no
2230 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2231 DEFAULT_wxUSE_DATETIME
=no
2232 DEFAULT_wxUSE_TIMER
=no
2233 DEFAULT_wxUSE_STOPWATCH
=no
2234 DEFAULT_wxUSE_FILE
=no
2235 DEFAULT_wxUSE_FFILE
=no
2236 DEFAULT_wxUSE_STDPATHS
=no
2237 DEFAULT_wxUSE_TEXTBUFFER
=no
2238 DEFAULT_wxUSE_TEXTFILE
=no
2239 DEFAULT_wxUSE_SOUND
=no
2240 DEFAULT_wxUSE_MEDIACTRL
=no
2241 DEFAULT_wxUSE_GSTREAMER8
=no
2242 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2243 DEFAULT_wxUSE_INTL
=no
2244 DEFAULT_wxUSE_CONFIG
=no
2245 DEFAULT_wxUSE_FONTMAP
=no
2246 DEFAULT_wxUSE_STREAMS
=no
2247 DEFAULT_wxUSE_SOCKETS
=no
2248 DEFAULT_wxUSE_OLE
=no
2249 DEFAULT_wxUSE_DATAOBJ
=no
2250 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2251 DEFAULT_wxUSE_JOYSTICK
=no
2252 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2253 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2254 DEFAULT_wxUSE_LONGLONG
=no
2255 DEFAULT_wxUSE_GEOMETRY
=no
2257 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2258 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2259 DEFAULT_wxUSE_POSTSCRIPT
=no
2261 DEFAULT_wxUSE_CLIPBOARD
=no
2262 DEFAULT_wxUSE_TOOLTIPS
=no
2263 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2264 DEFAULT_wxUSE_DRAGIMAGE
=no
2265 DEFAULT_wxUSE_SPLINES
=no
2266 DEFAULT_wxUSE_MOUSEWHEEL
=no
2268 DEFAULT_wxUSE_MDI
=no
2269 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2270 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2271 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2273 DEFAULT_wxUSE_RESOURCES
=no
2274 DEFAULT_wxUSE_CONSTRAINTS
=no
2275 DEFAULT_wxUSE_IPC
=no
2276 DEFAULT_wxUSE_HELP
=no
2277 DEFAULT_wxUSE_MS_HTML_HELP
=no
2278 DEFAULT_wxUSE_WXHTML_HELP
=no
2279 DEFAULT_wxUSE_TREELAYOUT
=no
2280 DEFAULT_wxUSE_METAFILE
=no
2281 DEFAULT_wxUSE_MIMETYPE
=no
2282 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2283 DEFAULT_wxUSE_PROTOCOL
=no
2284 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2285 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2286 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2287 DEFAULT_wxUSE_URL
=no
2288 DEFAULT_wxUSE_VARIANT
=no
2290 DEFAULT_wxUSE_ABOUTDLG
=no
2291 DEFAULT_wxUSE_COMMONDLGS
=no
2292 DEFAULT_wxUSE_CHOICEDLG
=no
2293 DEFAULT_wxUSE_COLOURDLG
=no
2294 DEFAULT_wxUSE_DIRDLG
=no
2295 DEFAULT_wxUSE_FILEDLG
=no
2296 DEFAULT_wxUSE_FINDREPLDLG
=no
2297 DEFAULT_wxUSE_FONTDLG
=no
2298 DEFAULT_wxUSE_MSGDLG
=no
2299 DEFAULT_wxUSE_NUMBERDLG
=no
2300 DEFAULT_wxUSE_TEXTDLG
=no
2301 DEFAULT_wxUSE_SPLASH
=no
2302 DEFAULT_wxUSE_STARTUP_TIPS
=no
2303 DEFAULT_wxUSE_PROGRESSDLG
=no
2304 DEFAULT_wxUSE_WIZARDDLG
=no
2306 DEFAULT_wxUSE_MENUS
=no
2307 DEFAULT_wxUSE_MINIFRAME
=no
2308 DEFAULT_wxUSE_HTML
=no
2309 DEFAULT_wxUSE_RICHTEXT
=no
2310 DEFAULT_wxUSE_XRC
=no
2311 DEFAULT_wxUSE_AUI
=no
2312 DEFAULT_wxUSE_WEBKIT
=no
2313 DEFAULT_wxUSE_FILESYSTEM
=no
2314 DEFAULT_wxUSE_FS_INET
=no
2315 DEFAULT_wxUSE_FS_ZIP
=no
2316 DEFAULT_wxUSE_BUSYINFO
=no
2317 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2318 DEFAULT_wxUSE_ZIPSTREAM
=no
2319 DEFAULT_wxUSE_VALIDATORS
=no
2321 DEFAULT_wxUSE_ACCEL
=no
2322 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2323 DEFAULT_wxUSE_BUTTON
=no
2324 DEFAULT_wxUSE_BMPBUTTON
=no
2325 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2326 DEFAULT_wxUSE_CALCTRL
=no
2327 DEFAULT_wxUSE_CARET
=no
2328 DEFAULT_wxUSE_CHECKBOX
=no
2329 DEFAULT_wxUSE_CHECKLST
=no
2330 DEFAULT_wxUSE_CHOICE
=no
2331 DEFAULT_wxUSE_CHOICEBOOK
=no
2332 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2333 DEFAULT_wxUSE_COMBOBOX
=no
2334 DEFAULT_wxUSE_COMBOCTRL
=no
2335 DEFAULT_wxUSE_DATEPICKCTRL
=no
2336 DEFAULT_wxUSE_DISPLAY
=no
2337 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2338 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2339 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2340 DEFAULT_wxUSE_GAUGE
=no
2341 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2342 DEFAULT_wxUSE_GRID
=no
2343 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2344 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2345 DEFAULT_wxUSE_IMAGLIST
=no
2346 DEFAULT_wxUSE_LISTBOOK
=no
2347 DEFAULT_wxUSE_LISTBOX
=no
2348 DEFAULT_wxUSE_LISTCTRL
=no
2349 DEFAULT_wxUSE_NOTEBOOK
=no
2350 DEFAULT_wxUSE_ODCOMBOBOX
=no
2351 DEFAULT_wxUSE_RADIOBOX
=no
2352 DEFAULT_wxUSE_RADIOBTN
=no
2353 DEFAULT_wxUSE_SASH
=no
2354 DEFAULT_wxUSE_SCROLLBAR
=no
2355 DEFAULT_wxUSE_SLIDER
=no
2356 DEFAULT_wxUSE_SPINBTN
=no
2357 DEFAULT_wxUSE_SPINCTRL
=no
2358 DEFAULT_wxUSE_SPLITTER
=no
2359 DEFAULT_wxUSE_STATBMP
=no
2360 DEFAULT_wxUSE_STATBOX
=no
2361 DEFAULT_wxUSE_STATLINE
=no
2362 DEFAULT_wxUSE_STATTEXT
=no
2363 DEFAULT_wxUSE_STATUSBAR
=yes
2364 DEFAULT_wxUSE_TAB_DIALOG
=no
2365 DEFAULT_wxUSE_TEXTCTRL
=no
2366 DEFAULT_wxUSE_TOGGLEBTN
=no
2367 DEFAULT_wxUSE_TOOLBAR
=no
2368 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2369 DEFAULT_wxUSE_TREEBOOK
=no
2370 DEFAULT_wxUSE_TOOLBOOK
=no
2371 DEFAULT_wxUSE_TREECTRL
=no
2372 DEFAULT_wxUSE_POPUPWIN
=no
2373 DEFAULT_wxUSE_TIPWINDOW
=no
2375 DEFAULT_wxUSE_UNICODE
=no
2376 DEFAULT_wxUSE_UNICODE_MSLU
=no
2377 DEFAULT_wxUSE_WCSRTOMBS
=no
2379 DEFAULT_wxUSE_PALETTE
=no
2380 DEFAULT_wxUSE_IMAGE
=no
2381 DEFAULT_wxUSE_GIF
=no
2382 DEFAULT_wxUSE_PCX
=no
2383 DEFAULT_wxUSE_PNM
=no
2384 DEFAULT_wxUSE_IFF
=no
2385 DEFAULT_wxUSE_XPM
=no
2386 DEFAULT_wxUSE_ICO_CUR
=no
2387 DEFAULT_wxUSE_ACCESSIBILITY
=no
2389 DEFAULT_wxUSE_MONOLITHIC
=no
2390 DEFAULT_wxUSE_PLUGINS
=no
2391 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2393 DEFAULT_wxUSE_UNIVERSAL
=no
2394 DEFAULT_wxUSE_STL
=no
2396 DEFAULT_wxUSE_NANOX
=no
2398 DEFAULT_wxUSE_THREADS
=yes
2400 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2401 DEFAULT_wxUSE_OPTIMISE
=yes
2402 DEFAULT_wxUSE_PROFILE
=no
2403 DEFAULT_wxUSE_NO_DEPS
=no
2404 DEFAULT_wxUSE_NO_RTTI
=no
2405 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2406 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2407 DEFAULT_wxUSE_RPATH
=yes
2408 DEFAULT_wxUSE_PERMISSIVE
=no
2409 DEFAULT_wxUSE_DEBUG_FLAG
=no
2410 DEFAULT_wxUSE_DEBUG_INFO
=no
2411 DEFAULT_wxUSE_DEBUG_GDB
=no
2412 DEFAULT_wxUSE_MEM_TRACING
=no
2413 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2414 DEFAULT_wxUSE_DMALLOC
=no
2415 DEFAULT_wxUSE_APPLE_IEEE
=yes
2417 DEFAULT_wxUSE_EXCEPTIONS
=yes
2418 DEFAULT_wxUSE_LOG
=yes
2419 DEFAULT_wxUSE_LOGWINDOW
=yes
2420 DEFAULT_wxUSE_LOGGUI
=yes
2421 DEFAULT_wxUSE_LOGDIALOG
=yes
2423 DEFAULT_wxUSE_GUI
=yes
2425 DEFAULT_wxUSE_REGEX
=yes
2426 DEFAULT_wxUSE_XML
=yes
2427 DEFAULT_wxUSE_EXPAT
=yes
2428 DEFAULT_wxUSE_ZLIB
=yes
2429 DEFAULT_wxUSE_LIBPNG
=yes
2430 DEFAULT_wxUSE_LIBJPEG
=yes
2431 DEFAULT_wxUSE_LIBTIFF
=yes
2432 DEFAULT_wxUSE_LIBXPM
=yes
2433 DEFAULT_wxUSE_LIBMSPACK
=yes
2434 DEFAULT_wxUSE_LIBSDL
=no
2435 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2436 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2437 DEFAULT_wxUSE_LIBHILDON
=no
2438 DEFAULT_wxUSE_ODBC
=no
2439 DEFAULT_wxUSE_OPENGL
=no
2441 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2442 DEFAULT_wxUSE_STACKWALKER
=yes
2443 DEFAULT_wxUSE_DEBUGREPORT
=yes
2444 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2445 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2446 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2447 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2448 DEFAULT_wxUSE_DATETIME
=yes
2449 DEFAULT_wxUSE_TIMER
=yes
2450 DEFAULT_wxUSE_STOPWATCH
=yes
2451 DEFAULT_wxUSE_FILE
=yes
2452 DEFAULT_wxUSE_FFILE
=yes
2453 DEFAULT_wxUSE_STDPATHS
=yes
2454 DEFAULT_wxUSE_TEXTBUFFER
=yes
2455 DEFAULT_wxUSE_TEXTFILE
=yes
2456 DEFAULT_wxUSE_SOUND
=yes
2457 DEFAULT_wxUSE_MEDIACTRL
=no
2458 DEFAULT_wxUSE_GSTREAMER8
=no
2459 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2460 DEFAULT_wxUSE_INTL
=yes
2461 DEFAULT_wxUSE_CONFIG
=yes
2462 DEFAULT_wxUSE_FONTMAP
=yes
2463 DEFAULT_wxUSE_STREAMS
=yes
2464 DEFAULT_wxUSE_SOCKETS
=yes
2465 DEFAULT_wxUSE_OLE
=yes
2466 DEFAULT_wxUSE_DATAOBJ
=yes
2467 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2468 DEFAULT_wxUSE_JOYSTICK
=yes
2469 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2470 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2471 DEFAULT_wxUSE_LONGLONG
=yes
2472 DEFAULT_wxUSE_GEOMETRY
=yes
2474 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2475 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2476 DEFAULT_wxUSE_POSTSCRIPT
=yes
2478 DEFAULT_wxUSE_CLIPBOARD
=yes
2479 DEFAULT_wxUSE_TOOLTIPS
=yes
2480 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2481 DEFAULT_wxUSE_DRAGIMAGE
=yes
2482 DEFAULT_wxUSE_SPLINES
=yes
2483 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2485 DEFAULT_wxUSE_MDI
=yes
2486 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2487 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2488 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2490 DEFAULT_wxUSE_RESOURCES
=no
2491 DEFAULT_wxUSE_CONSTRAINTS
=yes
2492 DEFAULT_wxUSE_IPC
=yes
2493 DEFAULT_wxUSE_HELP
=yes
2494 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2495 DEFAULT_wxUSE_WXHTML_HELP
=yes
2496 DEFAULT_wxUSE_TREELAYOUT
=yes
2497 DEFAULT_wxUSE_METAFILE
=yes
2498 DEFAULT_wxUSE_MIMETYPE
=yes
2499 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2500 DEFAULT_wxUSE_PROTOCOL
=yes
2501 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2502 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2503 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2504 DEFAULT_wxUSE_URL
=yes
2505 DEFAULT_wxUSE_VARIANT
=yes
2507 DEFAULT_wxUSE_ABOUTDLG
=yes
2508 DEFAULT_wxUSE_COMMONDLGS
=yes
2509 DEFAULT_wxUSE_CHOICEDLG
=yes
2510 DEFAULT_wxUSE_COLOURDLG
=yes
2511 DEFAULT_wxUSE_DIRDLG
=yes
2512 DEFAULT_wxUSE_FILEDLG
=yes
2513 DEFAULT_wxUSE_FINDREPLDLG
=yes
2514 DEFAULT_wxUSE_FONTDLG
=yes
2515 DEFAULT_wxUSE_MSGDLG
=yes
2516 DEFAULT_wxUSE_NUMBERDLG
=yes
2517 DEFAULT_wxUSE_TEXTDLG
=yes
2518 DEFAULT_wxUSE_SPLASH
=yes
2519 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2520 DEFAULT_wxUSE_PROGRESSDLG
=yes
2521 DEFAULT_wxUSE_WIZARDDLG
=yes
2523 DEFAULT_wxUSE_MENUS
=yes
2524 DEFAULT_wxUSE_MINIFRAME
=yes
2525 DEFAULT_wxUSE_HTML
=yes
2526 DEFAULT_wxUSE_RICHTEXT
=yes
2527 DEFAULT_wxUSE_XRC
=yes
2528 DEFAULT_wxUSE_AUI
=yes
2529 DEFAULT_wxUSE_WEBKIT
=yes
2530 DEFAULT_wxUSE_FILESYSTEM
=yes
2531 DEFAULT_wxUSE_FS_INET
=yes
2532 DEFAULT_wxUSE_FS_ZIP
=yes
2533 DEFAULT_wxUSE_BUSYINFO
=yes
2534 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2535 DEFAULT_wxUSE_ZIPSTREAM
=yes
2536 DEFAULT_wxUSE_VALIDATORS
=yes
2538 DEFAULT_wxUSE_ACCEL
=yes
2539 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2540 DEFAULT_wxUSE_BUTTON
=yes
2541 DEFAULT_wxUSE_BMPBUTTON
=yes
2542 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2543 DEFAULT_wxUSE_CALCTRL
=yes
2544 DEFAULT_wxUSE_CARET
=yes
2545 DEFAULT_wxUSE_CHECKBOX
=yes
2546 DEFAULT_wxUSE_CHECKLST
=yes
2547 DEFAULT_wxUSE_CHOICE
=yes
2548 DEFAULT_wxUSE_CHOICEBOOK
=yes
2549 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2550 DEFAULT_wxUSE_COMBOBOX
=yes
2551 DEFAULT_wxUSE_COMBOCTRL
=yes
2552 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2553 DEFAULT_wxUSE_DISPLAY
=yes
2554 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2555 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2556 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2557 DEFAULT_wxUSE_GAUGE
=yes
2558 DEFAULT_wxUSE_GRID
=yes
2559 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2560 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2561 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2562 DEFAULT_wxUSE_IMAGLIST
=yes
2563 DEFAULT_wxUSE_LISTBOOK
=yes
2564 DEFAULT_wxUSE_LISTBOX
=yes
2565 DEFAULT_wxUSE_LISTCTRL
=yes
2566 DEFAULT_wxUSE_NOTEBOOK
=yes
2567 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2568 DEFAULT_wxUSE_RADIOBOX
=yes
2569 DEFAULT_wxUSE_RADIOBTN
=yes
2570 DEFAULT_wxUSE_SASH
=yes
2571 DEFAULT_wxUSE_SCROLLBAR
=yes
2572 DEFAULT_wxUSE_SLIDER
=yes
2573 DEFAULT_wxUSE_SPINBTN
=yes
2574 DEFAULT_wxUSE_SPINCTRL
=yes
2575 DEFAULT_wxUSE_SPLITTER
=yes
2576 DEFAULT_wxUSE_STATBMP
=yes
2577 DEFAULT_wxUSE_STATBOX
=yes
2578 DEFAULT_wxUSE_STATLINE
=yes
2579 DEFAULT_wxUSE_STATTEXT
=yes
2580 DEFAULT_wxUSE_STATUSBAR
=yes
2581 DEFAULT_wxUSE_TAB_DIALOG
=no
2582 DEFAULT_wxUSE_TEXTCTRL
=yes
2583 DEFAULT_wxUSE_TOGGLEBTN
=yes
2584 DEFAULT_wxUSE_TOOLBAR
=yes
2585 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2586 DEFAULT_wxUSE_TREEBOOK
=yes
2587 DEFAULT_wxUSE_TOOLBOOK
=yes
2588 DEFAULT_wxUSE_TREECTRL
=yes
2589 DEFAULT_wxUSE_POPUPWIN
=yes
2590 DEFAULT_wxUSE_TIPWINDOW
=yes
2592 DEFAULT_wxUSE_UNICODE
=no
2593 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2594 DEFAULT_wxUSE_WCSRTOMBS
=no
2596 DEFAULT_wxUSE_PALETTE
=yes
2597 DEFAULT_wxUSE_IMAGE
=yes
2598 DEFAULT_wxUSE_GIF
=yes
2599 DEFAULT_wxUSE_PCX
=yes
2600 DEFAULT_wxUSE_IFF
=no
2601 DEFAULT_wxUSE_PNM
=yes
2602 DEFAULT_wxUSE_XPM
=yes
2603 DEFAULT_wxUSE_ICO_CUR
=yes
2604 DEFAULT_wxUSE_ACCESSIBILITY
=no
2606 DEFAULT_wxUSE_MONOLITHIC
=no
2607 DEFAULT_wxUSE_PLUGINS
=no
2608 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2610 DEFAULT_wxUSE_GTK2
=yes
2616 for toolkit
in `echo $ALL_TOOLKITS`; do
2617 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2618 if test "x$LINE" != "x" ; then
2619 has_toolkit_in_cache
=1
2620 eval "DEFAULT_$LINE"
2621 eval "CACHE_$toolkit=1"
2623 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2624 if test "x$LINE" != "x" ; then
2625 eval "DEFAULT_$LINE"
2633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2634 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2636 # Check whether --enable-gui or --disable-gui was given.
2637 if test "${enable_gui+set}" = set; then
2638 enableval
="$enable_gui"
2640 if test "$enableval" = yes; then
2641 ac_cv_use_gui
='wxUSE_GUI=yes'
2643 ac_cv_use_gui
='wxUSE_GUI=no'
2648 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2649 if test "x$LINE" != x
; then
2650 eval "DEFAULT_$LINE"
2655 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2659 eval "$ac_cv_use_gui"
2660 if test "$no_cache" != 1; then
2661 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2664 if test "$wxUSE_GUI" = yes; then
2665 echo "$as_me:$LINENO: result: yes" >&5
2666 echo "${ECHO_T}yes" >&6
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2677 # Check whether --enable-monolithic or --disable-monolithic was given.
2678 if test "${enable_monolithic+set}" = set; then
2679 enableval
="$enable_monolithic"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2684 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2689 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2700 eval "$ac_cv_use_monolithic"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_MONOLITHIC" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2716 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2718 # Check whether --enable-plugins or --disable-plugins was given.
2719 if test "${enable_plugins+set}" = set; then
2720 enableval
="$enable_plugins"
2722 if test "$enableval" = yes; then
2723 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2725 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2730 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x
; then
2732 eval "DEFAULT_$LINE"
2737 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2741 eval "$ac_cv_use_plugins"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2746 if test "$wxUSE_PLUGINS" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2756 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2757 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2760 # Check whether --with-subdirs or --without-subdirs was given.
2761 if test "${with_subdirs+set}" = set; then
2762 withval
="$with_subdirs"
2764 if test "$withval" = yes; then
2765 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2767 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2772 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x
; then
2774 eval "DEFAULT_$LINE"
2779 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2783 eval "$ac_cv_use_subdirs"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2788 if test "$wxWITH_SUBDIRS" = yes; then
2789 echo "$as_me:$LINENO: result: yes" >&5
2790 echo "${ECHO_T}yes" >&6
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2797 if test "$wxUSE_GUI" = "yes"; then
2801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2802 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2804 # Check whether --enable-universal or --disable-universal was given.
2805 if test "${enable_universal+set}" = set; then
2806 enableval
="$enable_universal"
2808 if test "$enableval" = yes; then
2809 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2811 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2816 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x
; then
2818 eval "DEFAULT_$LINE"
2823 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2827 eval "$ac_cv_use_universal"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_UNIVERSAL" = yes; then
2833 echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6
2836 echo "$as_me:$LINENO: result: no" >&5
2837 echo "${ECHO_T}no" >&6
2841 # Check whether --with-gtk or --without-gtk was given.
2842 if test "${with_gtk+set}" = set; then
2844 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2847 # Check whether --with-motif or --without-motif was given.
2848 if test "${with_motif+set}" = set; then
2849 withval
="$with_motif"
2850 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2853 # Check whether --with-mac or --without-mac was given.
2854 if test "${with_mac+set}" = set; then
2856 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2859 # Check whether --with-cocoa or --without-cocoa was given.
2860 if test "${with_cocoa+set}" = set; then
2861 withval
="$with_cocoa"
2862 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2865 # Check whether --with-wine or --without-wine was given.
2866 if test "${with_wine+set}" = set; then
2867 withval
="$with_wine"
2868 wxUSE_WINE
="$withval" CACHE_WINE
=1
2871 # Check whether --with-msw or --without-msw was given.
2872 if test "${with_msw+set}" = set; then
2874 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2877 # Check whether --with-pm or --without-pm was given.
2878 if test "${with_pm+set}" = set; then
2880 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2883 # Check whether --with-mgl or --without-mgl was given.
2884 if test "${with_mgl+set}" = set; then
2886 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2889 # Check whether --with-directfb or --without-directfb was given.
2890 if test "${with_directfb+set}" = set; then
2891 withval
="$with_directfb"
2892 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2895 # Check whether --with-microwin or --without-microwin was given.
2896 if test "${with_microwin+set}" = set; then
2897 withval
="$with_microwin"
2898 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2901 # Check whether --with-x11 or --without-x11 was given.
2902 if test "${with_x11+set}" = set; then
2904 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2909 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2911 # Check whether --enable-nanox or --disable-nanox was given.
2912 if test "${enable_nanox+set}" = set; then
2913 enableval
="$enable_nanox"
2915 if test "$enableval" = yes; then
2916 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2918 ac_cv_use_nanox
='wxUSE_NANOX=no'
2923 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2924 if test "x$LINE" != x
; then
2925 eval "DEFAULT_$LINE"
2930 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2934 eval "$ac_cv_use_nanox"
2935 if test "$no_cache" != 1; then
2936 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2939 if test "$wxUSE_NANOX" = yes; then
2940 echo "$as_me:$LINENO: result: yes" >&5
2941 echo "${ECHO_T}yes" >&6
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2948 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2949 if test "${enable_gtk2+set}" = set; then
2950 enableval
="$enable_gtk2"
2951 wxUSE_GTK2
="$enableval"
2955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2956 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2958 # Check whether --enable-gpe or --disable-gpe was given.
2959 if test "${enable_gpe+set}" = set; then
2960 enableval
="$enable_gpe"
2962 if test "$enableval" = yes; then
2963 ac_cv_use_gpe
='wxUSE_GPE=yes'
2965 ac_cv_use_gpe
='wxUSE_GPE=no'
2970 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2971 if test "x$LINE" != x
; then
2972 eval "DEFAULT_$LINE"
2977 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2981 eval "$ac_cv_use_gpe"
2982 if test "$no_cache" != 1; then
2983 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2986 if test "$wxUSE_GPE" = yes; then
2987 echo "$as_me:$LINENO: result: yes" >&5
2988 echo "${ECHO_T}yes" >&6
2990 echo "$as_me:$LINENO: result: no" >&5
2991 echo "${ECHO_T}no" >&6
2996 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2997 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3000 # Check whether --with-libpng or --without-libpng was given.
3001 if test "${with_libpng+set}" = set; then
3002 withval
="$with_libpng"
3004 if test "$withval" = yes; then
3005 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3006 elif test "$withval" = no
; then
3007 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3008 elif test "$withval" = sys
; then
3009 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3010 elif test "$withval" = builtin; then
3011 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3020 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x
; then
3022 eval "DEFAULT_$LINE"
3027 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3031 eval "$ac_cv_use_libpng"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_LIBPNG" = yes; then
3037 echo "$as_me:$LINENO: result: yes" >&5
3038 echo "${ECHO_T}yes" >&6
3039 elif test "$wxUSE_LIBPNG" = no
; then
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3042 elif test "$wxUSE_LIBPNG" = sys
; then
3043 echo "$as_me:$LINENO: result: system version" >&5
3044 echo "${ECHO_T}system version" >&6
3045 elif test "$wxUSE_LIBPNG" = builtin; then
3046 echo "$as_me:$LINENO: result: builtin version" >&5
3047 echo "${ECHO_T}builtin version" >&6
3049 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3050 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3051 { (exit 1); exit 1; }; }
3055 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3056 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3059 # Check whether --with-libjpeg or --without-libjpeg was given.
3060 if test "${with_libjpeg+set}" = set; then
3061 withval
="$with_libjpeg"
3063 if test "$withval" = yes; then
3064 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3065 elif test "$withval" = no
; then
3066 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3067 elif test "$withval" = sys
; then
3068 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3069 elif test "$withval" = builtin; then
3070 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3073 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3079 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x
; then
3081 eval "DEFAULT_$LINE"
3086 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3090 eval "$ac_cv_use_libjpeg"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3095 if test "$wxUSE_LIBJPEG" = yes; then
3096 echo "$as_me:$LINENO: result: yes" >&5
3097 echo "${ECHO_T}yes" >&6
3098 elif test "$wxUSE_LIBJPEG" = no
; then
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3101 elif test "$wxUSE_LIBJPEG" = sys
; then
3102 echo "$as_me:$LINENO: result: system version" >&5
3103 echo "${ECHO_T}system version" >&6
3104 elif test "$wxUSE_LIBJPEG" = builtin; then
3105 echo "$as_me:$LINENO: result: builtin version" >&5
3106 echo "${ECHO_T}builtin version" >&6
3108 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3109 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3110 { (exit 1); exit 1; }; }
3114 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3115 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3118 # Check whether --with-libtiff or --without-libtiff was given.
3119 if test "${with_libtiff+set}" = set; then
3120 withval
="$with_libtiff"
3122 if test "$withval" = yes; then
3123 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3124 elif test "$withval" = no
; then
3125 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3126 elif test "$withval" = sys
; then
3127 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3128 elif test "$withval" = builtin; then
3129 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3131 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3132 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3133 { (exit 1); exit 1; }; }
3138 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3149 eval "$ac_cv_use_libtiff"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_LIBTIFF" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3157 elif test "$wxUSE_LIBTIFF" = no
; then
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3160 elif test "$wxUSE_LIBTIFF" = sys
; then
3161 echo "$as_me:$LINENO: result: system version" >&5
3162 echo "${ECHO_T}system version" >&6
3163 elif test "$wxUSE_LIBTIFF" = builtin; then
3164 echo "$as_me:$LINENO: result: builtin version" >&5
3165 echo "${ECHO_T}builtin version" >&6
3167 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3168 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3169 { (exit 1); exit 1; }; }
3173 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3174 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3177 # Check whether --with-libxpm or --without-libxpm was given.
3178 if test "${with_libxpm+set}" = set; then
3179 withval
="$with_libxpm"
3181 if test "$withval" = yes; then
3182 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3183 elif test "$withval" = no
; then
3184 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3185 elif test "$withval" = sys
; then
3186 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3187 elif test "$withval" = builtin; then
3188 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3190 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3191 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3192 { (exit 1); exit 1; }; }
3197 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3198 if test "x$LINE" != x
; then
3199 eval "DEFAULT_$LINE"
3204 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3208 eval "$ac_cv_use_libxpm"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3213 if test "$wxUSE_LIBXPM" = yes; then
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3216 elif test "$wxUSE_LIBXPM" = no
; then
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3219 elif test "$wxUSE_LIBXPM" = sys
; then
3220 echo "$as_me:$LINENO: result: system version" >&5
3221 echo "${ECHO_T}system version" >&6
3222 elif test "$wxUSE_LIBXPM" = builtin; then
3223 echo "$as_me:$LINENO: result: builtin version" >&5
3224 echo "${ECHO_T}builtin version" >&6
3226 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3227 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3228 { (exit 1); exit 1; }; }
3233 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3234 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3237 # Check whether --with-libmspack or --without-libmspack was given.
3238 if test "${with_libmspack+set}" = set; then
3239 withval
="$with_libmspack"
3241 if test "$withval" = yes; then
3242 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3244 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3249 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x
; then
3251 eval "DEFAULT_$LINE"
3256 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3260 eval "$ac_cv_use_libmspack"
3261 if test "$no_cache" != 1; then
3262 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3265 if test "$wxUSE_LIBMSPACK" = yes; then
3266 echo "$as_me:$LINENO: result: yes" >&5
3267 echo "${ECHO_T}yes" >&6
3269 echo "$as_me:$LINENO: result: no" >&5
3270 echo "${ECHO_T}no" >&6
3275 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3276 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3279 # Check whether --with-sdl or --without-sdl was given.
3280 if test "${with_sdl+set}" = set; then
3283 if test "$withval" = yes; then
3284 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3286 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3291 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3302 eval "$ac_cv_use_sdl"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_LIBSDL" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3317 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3318 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3321 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3322 if test "${with_gnomeprint+set}" = set; then
3323 withval
="$with_gnomeprint"
3325 if test "$withval" = yes; then
3326 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3328 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3333 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x
; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3344 eval "$ac_cv_use_gnomeprint"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3359 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3360 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3363 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3364 if test "${with_gnomevfs+set}" = set; then
3365 withval
="$with_gnomevfs"
3367 if test "$withval" = yes; then
3368 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3370 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3375 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3376 if test "x$LINE" != x
; then
3377 eval "DEFAULT_$LINE"
3382 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3386 eval "$ac_cv_use_gnomevfs"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3392 echo "$as_me:$LINENO: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3401 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3402 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3405 # Check whether --with-hildon or --without-hildon was given.
3406 if test "${with_hildon+set}" = set; then
3407 withval
="$with_hildon"
3409 if test "$withval" = yes; then
3410 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3412 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3417 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3428 eval "$ac_cv_use_hildon"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_LIBHILDON" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3443 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3444 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3447 # Check whether --with-opengl or --without-opengl was given.
3448 if test "${with_opengl+set}" = set; then
3449 withval
="$with_opengl"
3451 if test "$withval" = yes; then
3452 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3454 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3459 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3470 eval "$ac_cv_use_opengl"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_OPENGL" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3484 if test "$wxUSE_UNIVERSAL" = "yes"; then
3486 # Check whether --with-themes or --without-themes was given.
3487 if test "${with_themes+set}" = set; then
3488 withval
="$with_themes"
3489 wxUNIV_THEMES
="$withval"
3497 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3498 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3501 # Check whether --with-dmalloc or --without-dmalloc was given.
3502 if test "${with_dmalloc+set}" = set; then
3503 withval
="$with_dmalloc"
3505 if test "$withval" = yes; then
3506 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3508 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3513 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x
; then
3515 eval "DEFAULT_$LINE"
3520 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3524 eval "$ac_cv_use_dmalloc"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3529 if test "$wxUSE_DMALLOC" = yes; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3538 echo "$as_me:$LINENO: checking for --with-regex" >&5
3539 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3542 # Check whether --with-regex or --without-regex was given.
3543 if test "${with_regex+set}" = set; then
3544 withval
="$with_regex"
3546 if test "$withval" = yes; then
3547 ac_cv_use_regex
='wxUSE_REGEX=yes'
3548 elif test "$withval" = no
; then
3549 ac_cv_use_regex
='wxUSE_REGEX=no'
3550 elif test "$withval" = sys
; then
3551 ac_cv_use_regex
='wxUSE_REGEX=sys'
3552 elif test "$withval" = builtin; then
3553 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3555 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3556 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3557 { (exit 1); exit 1; }; }
3562 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3573 eval "$ac_cv_use_regex"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_REGEX" = yes; then
3579 echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3581 elif test "$wxUSE_REGEX" = no
; then
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3584 elif test "$wxUSE_REGEX" = sys
; then
3585 echo "$as_me:$LINENO: result: system version" >&5
3586 echo "${ECHO_T}system version" >&6
3587 elif test "$wxUSE_REGEX" = builtin; then
3588 echo "$as_me:$LINENO: result: builtin version" >&5
3589 echo "${ECHO_T}builtin version" >&6
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3597 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3598 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3601 # Check whether --with-zlib or --without-zlib was given.
3602 if test "${with_zlib+set}" = set; then
3603 withval
="$with_zlib"
3605 if test "$withval" = yes; then
3606 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3607 elif test "$withval" = no
; then
3608 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3609 elif test "$withval" = sys
; then
3610 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3611 elif test "$withval" = builtin; then
3612 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3621 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x
; then
3623 eval "DEFAULT_$LINE"
3628 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3632 eval "$ac_cv_use_zlib"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3637 if test "$wxUSE_ZLIB" = yes; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3640 elif test "$wxUSE_ZLIB" = no
; then
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3643 elif test "$wxUSE_ZLIB" = sys
; then
3644 echo "$as_me:$LINENO: result: system version" >&5
3645 echo "${ECHO_T}system version" >&6
3646 elif test "$wxUSE_ZLIB" = builtin; then
3647 echo "$as_me:$LINENO: result: builtin version" >&5
3648 echo "${ECHO_T}builtin version" >&6
3650 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3651 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3656 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3657 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3660 # Check whether --with-odbc or --without-odbc was given.
3661 if test "${with_odbc+set}" = set; then
3662 withval
="$with_odbc"
3664 if test "$withval" = yes; then
3665 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3666 elif test "$withval" = no
; then
3667 ac_cv_use_odbc
='wxUSE_ODBC=no'
3668 elif test "$withval" = sys
; then
3669 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3670 elif test "$withval" = builtin; then
3671 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3680 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3691 eval "$ac_cv_use_odbc"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3696 if test "$wxUSE_ODBC" = yes; then
3697 echo "$as_me:$LINENO: result: yes" >&5
3698 echo "${ECHO_T}yes" >&6
3699 elif test "$wxUSE_ODBC" = no
; then
3700 echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6
3702 elif test "$wxUSE_ODBC" = sys
; then
3703 echo "$as_me:$LINENO: result: system version" >&5
3704 echo "${ECHO_T}system version" >&6
3705 elif test "$wxUSE_ODBC" = builtin; then
3706 echo "$as_me:$LINENO: result: builtin version" >&5
3707 echo "${ECHO_T}builtin version" >&6
3709 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3710 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3715 echo "$as_me:$LINENO: checking for --with-expat" >&5
3716 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3719 # Check whether --with-expat or --without-expat was given.
3720 if test "${with_expat+set}" = set; then
3721 withval
="$with_expat"
3723 if test "$withval" = yes; then
3724 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3725 elif test "$withval" = no
; then
3726 ac_cv_use_expat
='wxUSE_EXPAT=no'
3727 elif test "$withval" = sys
; then
3728 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3729 elif test "$withval" = builtin; then
3730 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3739 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x
; then
3741 eval "DEFAULT_$LINE"
3746 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3750 eval "$ac_cv_use_expat"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3755 if test "$wxUSE_EXPAT" = yes; then
3756 echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6
3758 elif test "$wxUSE_EXPAT" = no
; then
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3761 elif test "$wxUSE_EXPAT" = sys
; then
3762 echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6
3764 elif test "$wxUSE_EXPAT" = builtin; then
3765 echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3778 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3780 # Check whether --enable-shared or --disable-shared was given.
3781 if test "${enable_shared+set}" = set; then
3782 enableval
="$enable_shared"
3784 if test "$enableval" = yes; then
3785 ac_cv_use_shared
='wxUSE_SHARED=yes'
3787 ac_cv_use_shared
='wxUSE_SHARED=no'
3792 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x
; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3803 eval "$ac_cv_use_shared"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_SHARED" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3819 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3821 # Check whether --enable-optimise or --disable-optimise was given.
3822 if test "${enable_optimise+set}" = set; then
3823 enableval
="$enable_optimise"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3828 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3833 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x
; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3844 eval "$ac_cv_use_optimise"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3849 if test "$wxUSE_OPTIMISE" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3860 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3862 # Check whether --enable-debug or --disable-debug was given.
3863 if test "${enable_debug+set}" = set; then
3864 enableval
="$enable_debug"
3866 if test "$enableval" = yes; then
3867 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3869 ac_cv_use_debug
='wxUSE_DEBUG=no'
3874 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x
; then
3876 eval "DEFAULT_$LINE"
3881 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3885 eval "$ac_cv_use_debug"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_DEBUG" = yes; then
3891 echo "$as_me:$LINENO: result: yes" >&5
3892 echo "${ECHO_T}yes" >&6
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3901 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3903 # Check whether --enable-stl or --disable-stl was given.
3904 if test "${enable_stl+set}" = set; then
3905 enableval
="$enable_stl"
3907 if test "$enableval" = yes; then
3908 ac_cv_use_stl
='wxUSE_STL=yes'
3910 ac_cv_use_stl
='wxUSE_STL=no'
3915 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x
; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3926 eval "$ac_cv_use_stl"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_STL" = yes; then
3932 echo "$as_me:$LINENO: result: yes" >&5
3933 echo "${ECHO_T}yes" >&6
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3939 if test "$USE_OS2" = "1"; then
3940 DEFAULT_wxUSE_OMF
=no
3943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3944 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3946 # Check whether --enable-omf or --disable-omf was given.
3947 if test "${enable_omf+set}" = set; then
3948 enableval
="$enable_omf"
3950 if test "$enableval" = yes; then
3951 ac_cv_use_omf
='wxUSE_OMF=yes'
3953 ac_cv_use_omf
='wxUSE_OMF=no'
3958 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3959 if test "x$LINE" != x
; then
3960 eval "DEFAULT_$LINE"
3965 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3969 eval "$ac_cv_use_omf"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3974 if test "$wxUSE_OMF" = yes; then
3975 echo "$as_me:$LINENO: result: yes" >&5
3976 echo "${ECHO_T}yes" >&6
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3984 if test "$wxUSE_DEBUG" = "yes"; then
3985 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3986 DEFAULT_wxUSE_DEBUG_INFO
=yes
3988 elif test "$wxUSE_DEBUG" = "no"; then
3989 DEFAULT_wxUSE_DEBUG_FLAG
=no
3990 DEFAULT_wxUSE_DEBUG_INFO
=no
3996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3997 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3999 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4000 if test "${enable_debug_flag+set}" = set; then
4001 enableval
="$enable_debug_flag"
4003 if test "$enableval" = yes; then
4004 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4006 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4011 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x
; then
4013 eval "DEFAULT_$LINE"
4018 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4022 eval "$ac_cv_use_debug_flag"
4023 if test "$no_cache" != 1; then
4024 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4027 if test "$wxUSE_DEBUG_FLAG" = yes; then
4028 echo "$as_me:$LINENO: result: yes" >&5
4029 echo "${ECHO_T}yes" >&6
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4038 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4040 # Check whether --enable-debug_info or --disable-debug_info was given.
4041 if test "${enable_debug_info+set}" = set; then
4042 enableval
="$enable_debug_info"
4044 if test "$enableval" = yes; then
4045 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4047 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4052 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4053 if test "x$LINE" != x
; then
4054 eval "DEFAULT_$LINE"
4059 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4063 eval "$ac_cv_use_debug_info"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4068 if test "$wxUSE_DEBUG_INFO" = yes; then
4069 echo "$as_me:$LINENO: result: yes" >&5
4070 echo "${ECHO_T}yes" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4079 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4081 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4082 if test "${enable_debug_gdb+set}" = set; then
4083 enableval
="$enable_debug_gdb"
4085 if test "$enableval" = yes; then
4086 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4088 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4093 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x
; then
4095 eval "DEFAULT_$LINE"
4100 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4104 eval "$ac_cv_use_debug_gdb"
4105 if test "$no_cache" != 1; then
4106 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4109 if test "$wxUSE_DEBUG_GDB" = yes; then
4110 echo "$as_me:$LINENO: result: yes" >&5
4111 echo "${ECHO_T}yes" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4120 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4122 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4123 if test "${enable_debug_cntxt+set}" = set; then
4124 enableval
="$enable_debug_cntxt"
4126 if test "$enableval" = yes; then
4127 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4129 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4134 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x
; then
4136 eval "DEFAULT_$LINE"
4141 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4145 eval "$ac_cv_use_debug_cntxt"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4150 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4151 echo "$as_me:$LINENO: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4163 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4164 if test "${enable_mem_tracing+set}" = set; then
4165 enableval
="$enable_mem_tracing"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4170 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4175 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4186 eval "$ac_cv_use_mem_tracing"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_MEM_TRACING" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4204 # Check whether --enable-profile or --disable-profile was given.
4205 if test "${enable_profile+set}" = set; then
4206 enableval
="$enable_profile"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4211 ac_cv_use_profile
='wxUSE_PROFILE=no'
4216 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4227 eval "$ac_cv_use_profile"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_PROFILE" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4245 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4246 if test "${enable_no_rtti+set}" = set; then
4247 enableval
="$enable_no_rtti"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4252 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4257 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4268 eval "$ac_cv_use_no_rtti"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_NO_RTTI" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4284 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4286 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4287 if test "${enable_no_exceptions+set}" = set; then
4288 enableval
="$enable_no_exceptions"
4290 if test "$enableval" = yes; then
4291 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4293 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4298 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4299 if test "x$LINE" != x
; then
4300 eval "DEFAULT_$LINE"
4305 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4309 eval "$ac_cv_use_no_exceptions"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4314 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4315 echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4325 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4327 # Check whether --enable-permissive or --disable-permissive was given.
4328 if test "${enable_permissive+set}" = set; then
4329 enableval
="$enable_permissive"
4331 if test "$enableval" = yes; then
4332 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4334 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4339 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4340 if test "x$LINE" != x
; then
4341 eval "DEFAULT_$LINE"
4346 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4350 eval "$ac_cv_use_permissive"
4351 if test "$no_cache" != 1; then
4352 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4355 if test "$wxUSE_PERMISSIVE" = yes; then
4356 echo "$as_me:$LINENO: result: yes" >&5
4357 echo "${ECHO_T}yes" >&6
4359 echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6
4365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4366 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4368 # Check whether --enable-no_deps or --disable-no_deps was given.
4369 if test "${enable_no_deps+set}" = set; then
4370 enableval
="$enable_no_deps"
4372 if test "$enableval" = yes; then
4373 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4375 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4380 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x
; then
4382 eval "DEFAULT_$LINE"
4387 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4391 eval "$ac_cv_use_no_deps"
4392 if test "$no_cache" != 1; then
4393 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4396 if test "$wxUSE_NO_DEPS" = yes; then
4397 echo "$as_me:$LINENO: result: yes" >&5
4398 echo "${ECHO_T}yes" >&6
4400 echo "$as_me:$LINENO: result: no" >&5
4401 echo "${ECHO_T}no" >&6
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4409 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4410 if test "${enable_universal_binary+set}" = set; then
4411 enableval
="$enable_universal_binary"
4413 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4417 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x
; then
4419 eval "DEFAULT_$LINE"
4420 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4423 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4428 eval "$wx_cv_use_universal_binary"
4429 if test "$no_cache" != 1; then
4430 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4433 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4434 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4440 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4442 # Check whether --enable-compat24 or --disable-compat24 was given.
4443 if test "${enable_compat24+set}" = set; then
4444 enableval
="$enable_compat24"
4446 if test "$enableval" = yes; then
4447 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4449 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4454 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x
; then
4456 eval "DEFAULT_$LINE"
4461 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4465 eval "$ac_cv_use_compat24"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4470 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4471 echo "$as_me:$LINENO: result: yes" >&5
4472 echo "${ECHO_T}yes" >&6
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4479 enablestring
=disable
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4483 # Check whether --enable-compat26 or --disable-compat26 was given.
4484 if test "${enable_compat26+set}" = set; then
4485 enableval
="$enable_compat26"
4487 if test "$enableval" = yes; then
4488 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4490 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4495 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x
; then
4497 eval "DEFAULT_$LINE"
4502 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4506 eval "$ac_cv_use_compat26"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4511 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4525 # Check whether --enable-rpath or --disable-rpath was given.
4526 if test "${enable_rpath+set}" = set; then
4527 enableval
="$enable_rpath"
4529 if test "$enableval" = yes; then
4530 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4532 ac_cv_use_rpath
='wxUSE_RPATH=no'
4537 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x
; then
4539 eval "DEFAULT_$LINE"
4544 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4548 eval "$ac_cv_use_rpath"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_RPATH" = yes; then
4554 echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4569 # Check whether --enable-intl or --disable-intl was given.
4570 if test "${enable_intl+set}" = set; then
4571 enableval
="$enable_intl"
4573 if test "$enableval" = yes; then
4574 ac_cv_use_intl
='wxUSE_INTL=yes'
4576 ac_cv_use_intl
='wxUSE_INTL=no'
4581 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x
; then
4583 eval "DEFAULT_$LINE"
4588 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4592 eval "$ac_cv_use_intl"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_INTL" = yes; then
4598 echo "$as_me:$LINENO: result: yes" >&5
4599 echo "${ECHO_T}yes" >&6
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4608 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4610 # Check whether --enable-config or --disable-config was given.
4611 if test "${enable_config+set}" = set; then
4612 enableval
="$enable_config"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_config
='wxUSE_CONFIG=yes'
4617 ac_cv_use_config
='wxUSE_CONFIG=no'
4622 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4633 eval "$ac_cv_use_config"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4638 if test "$wxUSE_CONFIG" = yes; then
4639 echo "$as_me:$LINENO: result: yes" >&5
4640 echo "${ECHO_T}yes" >&6
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4652 # Check whether --enable-protocols or --disable-protocols was given.
4653 if test "${enable_protocols+set}" = set; then
4654 enableval
="$enable_protocols"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4659 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4664 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x
; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4675 eval "$ac_cv_use_protocols"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_PROTOCOL" = yes; then
4681 echo "$as_me:$LINENO: result: yes" >&5
4682 echo "${ECHO_T}yes" >&6
4684 echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6
4690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4693 # Check whether --enable-ftp or --disable-ftp was given.
4694 if test "${enable_ftp+set}" = set; then
4695 enableval
="$enable_ftp"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4700 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4705 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4716 eval "$ac_cv_use_ftp"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4721 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4722 echo "$as_me:$LINENO: result: yes" >&5
4723 echo "${ECHO_T}yes" >&6
4725 echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6
4731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4734 # Check whether --enable-http or --disable-http was given.
4735 if test "${enable_http+set}" = set; then
4736 enableval
="$enable_http"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4741 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4746 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4757 eval "$ac_cv_use_http"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4763 echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6
4766 echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6
4772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4773 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4775 # Check whether --enable-fileproto or --disable-fileproto was given.
4776 if test "${enable_fileproto+set}" = set; then
4777 enableval
="$enable_fileproto"
4779 if test "$enableval" = yes; then
4780 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4782 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4787 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x
; then
4789 eval "DEFAULT_$LINE"
4794 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4798 eval "$ac_cv_use_fileproto"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4804 echo "$as_me:$LINENO: result: yes" >&5
4805 echo "${ECHO_T}yes" >&6
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4816 # Check whether --enable-sockets or --disable-sockets was given.
4817 if test "${enable_sockets+set}" = set; then
4818 enableval
="$enable_sockets"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4823 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4828 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x
; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4839 eval "$ac_cv_use_sockets"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_SOCKETS" = yes; then
4845 echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4857 # Check whether --enable-ole or --disable-ole was given.
4858 if test "${enable_ole+set}" = set; then
4859 enableval
="$enable_ole"
4861 if test "$enableval" = yes; then
4862 ac_cv_use_ole
='wxUSE_OLE=yes'
4864 ac_cv_use_ole
='wxUSE_OLE=no'
4869 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x
; then
4871 eval "DEFAULT_$LINE"
4876 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4880 eval "$ac_cv_use_ole"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4885 if test "$wxUSE_OLE" = yes; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4898 # Check whether --enable-dataobj or --disable-dataobj was given.
4899 if test "${enable_dataobj+set}" = set; then
4900 enableval
="$enable_dataobj"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4905 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4910 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x
; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4921 eval "$ac_cv_use_dataobj"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4926 if test "$wxUSE_DATAOBJ" = yes; then
4927 echo "$as_me:$LINENO: result: yes" >&5
4928 echo "${ECHO_T}yes" >&6
4930 echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4940 # Check whether --enable-ipc or --disable-ipc was given.
4941 if test "${enable_ipc+set}" = set; then
4942 enableval
="$enable_ipc"
4944 if test "$enableval" = yes; then
4945 ac_cv_use_ipc
='wxUSE_IPC=yes'
4947 ac_cv_use_ipc
='wxUSE_IPC=no'
4952 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x
; then
4954 eval "DEFAULT_$LINE"
4959 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4963 eval "$ac_cv_use_ipc"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_IPC" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4982 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4983 if test "${enable_apple_ieee+set}" = set; then
4984 enableval
="$enable_apple_ieee"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4989 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4994 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5005 eval "$ac_cv_use_apple_ieee"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_APPLE_IEEE" = yes; then
5011 echo "$as_me:$LINENO: result: yes" >&5
5012 echo "${ECHO_T}yes" >&6
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5023 # Check whether --enable-arcstream or --disable-arcstream was given.
5024 if test "${enable_arcstream+set}" = set; then
5025 enableval
="$enable_arcstream"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5030 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5035 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x
; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5046 eval "$ac_cv_use_arcstream"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5051 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5052 echo "$as_me:$LINENO: result: yes" >&5
5053 echo "${ECHO_T}yes" >&6
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5064 # Check whether --enable-backtrace or --disable-backtrace was given.
5065 if test "${enable_backtrace+set}" = set; then
5066 enableval
="$enable_backtrace"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5071 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5076 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x
; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5087 eval "$ac_cv_use_backtrace"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_STACKWALKER" = yes; then
5093 echo "$as_me:$LINENO: result: yes" >&5
5094 echo "${ECHO_T}yes" >&6
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5105 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5106 if test "${enable_catch_segvs+set}" = set; then
5107 enableval
="$enable_catch_segvs"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5112 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5117 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5128 eval "$ac_cv_use_catch_segvs"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5133 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5134 echo "$as_me:$LINENO: result: yes" >&5
5135 echo "${ECHO_T}yes" >&6
5137 echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6
5143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5144 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5146 # Check whether --enable-cmdline or --disable-cmdline was given.
5147 if test "${enable_cmdline+set}" = set; then
5148 enableval
="$enable_cmdline"
5150 if test "$enableval" = yes; then
5151 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5153 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5158 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x
; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5169 eval "$ac_cv_use_cmdline"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5175 echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5178 echo "$as_me:$LINENO: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5187 # Check whether --enable-datetime or --disable-datetime was given.
5188 if test "${enable_datetime+set}" = set; then
5189 enableval
="$enable_datetime"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5194 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5199 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x
; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5210 eval "$ac_cv_use_datetime"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5215 if test "$wxUSE_DATETIME" = yes; then
5216 echo "$as_me:$LINENO: result: yes" >&5
5217 echo "${ECHO_T}yes" >&6
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5228 # Check whether --enable-debugreport or --disable-debugreport was given.
5229 if test "${enable_debugreport+set}" = set; then
5230 enableval
="$enable_debugreport"
5232 if test "$enableval" = yes; then
5233 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5235 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5240 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x
; then
5242 eval "DEFAULT_$LINE"
5247 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5251 eval "$ac_cv_use_debugreport"
5252 if test "$no_cache" != 1; then
5253 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5256 if test "$wxUSE_DEBUGREPORT" = yes; then
5257 echo "$as_me:$LINENO: result: yes" >&5
5258 echo "${ECHO_T}yes" >&6
5260 echo "$as_me:$LINENO: result: no" >&5
5261 echo "${ECHO_T}no" >&6
5266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5269 # Check whether --enable-dialupman or --disable-dialupman was given.
5270 if test "${enable_dialupman+set}" = set; then
5271 enableval
="$enable_dialupman"
5273 if test "$enableval" = yes; then
5274 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5276 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5281 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x
; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5292 eval "$ac_cv_use_dialupman"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5297 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5298 echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5310 # Check whether --enable-dynlib or --disable-dynlib was given.
5311 if test "${enable_dynlib+set}" = set; then
5312 enableval
="$enable_dynlib"
5314 if test "$enableval" = yes; then
5315 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5317 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5322 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x
; then
5324 eval "DEFAULT_$LINE"
5329 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5333 eval "$ac_cv_use_dynlib"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5338 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5339 echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5351 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5352 if test "${enable_dynamicloader+set}" = set; then
5353 enableval
="$enable_dynamicloader"
5355 if test "$enableval" = yes; then
5356 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5358 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5363 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x
; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5374 eval "$ac_cv_use_dynamicloader"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5379 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5380 echo "$as_me:$LINENO: result: yes" >&5
5381 echo "${ECHO_T}yes" >&6
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5392 # Check whether --enable-exceptions or --disable-exceptions was given.
5393 if test "${enable_exceptions+set}" = set; then
5394 enableval
="$enable_exceptions"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5399 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5404 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5415 eval "$ac_cv_use_exceptions"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_EXCEPTIONS" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5433 # Check whether --enable-ffile or --disable-ffile was given.
5434 if test "${enable_ffile+set}" = set; then
5435 enableval
="$enable_ffile"
5437 if test "$enableval" = yes; then
5438 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5440 ac_cv_use_ffile
='wxUSE_FFILE=no'
5445 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x
; then
5447 eval "DEFAULT_$LINE"
5452 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5456 eval "$ac_cv_use_ffile"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5461 if test "$wxUSE_FFILE" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5474 # Check whether --enable-file or --disable-file was given.
5475 if test "${enable_file+set}" = set; then
5476 enableval
="$enable_file"
5478 if test "$enableval" = yes; then
5479 ac_cv_use_file
='wxUSE_FILE=yes'
5481 ac_cv_use_file
='wxUSE_FILE=no'
5486 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x
; then
5488 eval "DEFAULT_$LINE"
5493 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5497 eval "$ac_cv_use_file"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_FILE" = yes; then
5503 echo "$as_me:$LINENO: result: yes" >&5
5504 echo "${ECHO_T}yes" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5515 # Check whether --enable-filesystem or --disable-filesystem was given.
5516 if test "${enable_filesystem+set}" = set; then
5517 enableval
="$enable_filesystem"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5522 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5527 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5538 eval "$ac_cv_use_filesystem"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5543 if test "$wxUSE_FILESYSTEM" = yes; then
5544 echo "$as_me:$LINENO: result: yes" >&5
5545 echo "${ECHO_T}yes" >&6
5547 echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6
5553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5554 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5556 # Check whether --enable-fontmap or --disable-fontmap was given.
5557 if test "${enable_fontmap+set}" = set; then
5558 enableval
="$enable_fontmap"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5563 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5568 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5579 eval "$ac_cv_use_fontmap"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5584 if test "$wxUSE_FONTMAP" = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5597 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5598 if test "${enable_fs_inet+set}" = set; then
5599 enableval
="$enable_fs_inet"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5604 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5609 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5620 eval "$ac_cv_use_fs_inet"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5625 if test "$wxUSE_FS_INET" = yes; then
5626 echo "$as_me:$LINENO: result: yes" >&5
5627 echo "${ECHO_T}yes" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5638 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5639 if test "${enable_fs_zip+set}" = set; then
5640 enableval
="$enable_fs_zip"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5645 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5650 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5661 eval "$ac_cv_use_fs_zip"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5666 if test "$wxUSE_FS_ZIP" = yes; then
5667 echo "$as_me:$LINENO: result: yes" >&5
5668 echo "${ECHO_T}yes" >&6
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5679 # Check whether --enable-geometry or --disable-geometry was given.
5680 if test "${enable_geometry+set}" = set; then
5681 enableval
="$enable_geometry"
5683 if test "$enableval" = yes; then
5684 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5686 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5691 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x
; then
5693 eval "DEFAULT_$LINE"
5698 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5702 eval "$ac_cv_use_geometry"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_GEOMETRY" = yes; then
5708 echo "$as_me:$LINENO: result: yes" >&5
5709 echo "${ECHO_T}yes" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5720 # Check whether --enable-log or --disable-log was given.
5721 if test "${enable_log+set}" = set; then
5722 enableval
="$enable_log"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_log
='wxUSE_LOG=yes'
5727 ac_cv_use_log
='wxUSE_LOG=no'
5732 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5743 eval "$ac_cv_use_log"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_LOG" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5761 # Check whether --enable-longlong or --disable-longlong was given.
5762 if test "${enable_longlong+set}" = set; then
5763 enableval
="$enable_longlong"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5768 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5773 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5784 eval "$ac_cv_use_longlong"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_LONGLONG" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5802 # Check whether --enable-mimetype or --disable-mimetype was given.
5803 if test "${enable_mimetype+set}" = set; then
5804 enableval
="$enable_mimetype"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5809 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5814 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5825 eval "$ac_cv_use_mimetype"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_MIMETYPE" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5843 # Check whether --enable-mslu or --disable-mslu was given.
5844 if test "${enable_mslu+set}" = set; then
5845 enableval
="$enable_mslu"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5850 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5855 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5866 eval "$ac_cv_use_mslu"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_UNICODE_MSLU" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5884 # Check whether --enable-snglinst or --disable-snglinst was given.
5885 if test "${enable_snglinst+set}" = set; then
5886 enableval
="$enable_snglinst"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5891 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5896 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5907 eval "$ac_cv_use_snglinst"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5925 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5926 if test "${enable_std_iostreams+set}" = set; then
5927 enableval
="$enable_std_iostreams"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5932 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5937 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5948 eval "$ac_cv_use_std_iostreams"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_STD_IOSTREAM" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5966 # Check whether --enable-std_string or --disable-std_string was given.
5967 if test "${enable_std_string+set}" = set; then
5968 enableval
="$enable_std_string"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5973 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5978 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x
; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5989 eval "$ac_cv_use_std_string"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_STD_STRING" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6007 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6008 if test "${enable_stdpaths+set}" = set; then
6009 enableval
="$enable_stdpaths"
6011 if test "$enableval" = yes; then
6012 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6014 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6019 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x
; then
6021 eval "DEFAULT_$LINE"
6026 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6030 eval "$ac_cv_use_stdpaths"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_STDPATHS" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6
6039 echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6048 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6049 if test "${enable_stopwatch+set}" = set; then
6050 enableval
="$enable_stopwatch"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6055 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6060 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6071 eval "$ac_cv_use_stopwatch"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_STOPWATCH" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6089 # Check whether --enable-streams or --disable-streams was given.
6090 if test "${enable_streams+set}" = set; then
6091 enableval
="$enable_streams"
6093 if test "$enableval" = yes; then
6094 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6096 ac_cv_use_streams
='wxUSE_STREAMS=no'
6101 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x
; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6112 eval "$ac_cv_use_streams"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_STREAMS" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6130 # Check whether --enable-system_options or --disable-system_options was given.
6131 if test "${enable_system_options+set}" = set; then
6132 enableval
="$enable_system_options"
6134 if test "$enableval" = yes; then
6135 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6137 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6142 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x
; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6153 eval "$ac_cv_use_system_options"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6171 # Check whether --enable-textbuf or --disable-textbuf was given.
6172 if test "${enable_textbuf+set}" = set; then
6173 enableval
="$enable_textbuf"
6175 if test "$enableval" = yes; then
6176 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6178 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6183 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x
; then
6185 eval "DEFAULT_$LINE"
6190 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6194 eval "$ac_cv_use_textbuf"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_TEXTBUFFER" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6212 # Check whether --enable-textfile or --disable-textfile was given.
6213 if test "${enable_textfile+set}" = set; then
6214 enableval
="$enable_textfile"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6219 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6224 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x
; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6235 eval "$ac_cv_use_textfile"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6240 if test "$wxUSE_TEXTFILE" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6253 # Check whether --enable-timer or --disable-timer was given.
6254 if test "${enable_timer+set}" = set; then
6255 enableval
="$enable_timer"
6257 if test "$enableval" = yes; then
6258 ac_cv_use_timer
='wxUSE_TIMER=yes'
6260 ac_cv_use_timer
='wxUSE_TIMER=no'
6265 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x
; then
6267 eval "DEFAULT_$LINE"
6272 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6276 eval "$ac_cv_use_timer"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_TIMER" = yes; then
6282 echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6294 # Check whether --enable-unicode or --disable-unicode was given.
6295 if test "${enable_unicode+set}" = set; then
6296 enableval
="$enable_unicode"
6298 if test "$enableval" = yes; then
6299 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6301 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6306 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x
; then
6308 eval "DEFAULT_$LINE"
6313 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6317 eval "$ac_cv_use_unicode"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6322 if test "$wxUSE_UNICODE" = yes; then
6323 echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6335 # Check whether --enable-sound or --disable-sound was given.
6336 if test "${enable_sound+set}" = set; then
6337 enableval
="$enable_sound"
6339 if test "$enableval" = yes; then
6340 ac_cv_use_sound
='wxUSE_SOUND=yes'
6342 ac_cv_use_sound
='wxUSE_SOUND=no'
6347 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x
; then
6349 eval "DEFAULT_$LINE"
6354 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6358 eval "$ac_cv_use_sound"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6363 if test "$wxUSE_SOUND" = yes; then
6364 echo "$as_me:$LINENO: result: yes" >&5
6365 echo "${ECHO_T}yes" >&6
6367 echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6
6373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6376 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6377 if test "${enable_mediactrl+set}" = set; then
6378 enableval
="$enable_mediactrl"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6383 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6388 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6399 eval "$ac_cv_use_mediactrl"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6404 if test "$wxUSE_MEDIACTRL" = yes; then
6405 echo "$as_me:$LINENO: result: yes" >&5
6406 echo "${ECHO_T}yes" >&6
6408 echo "$as_me:$LINENO: result: no" >&5
6409 echo "${ECHO_T}no" >&6
6414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6417 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6418 if test "${enable_gstreamer8+set}" = set; then
6419 enableval
="$enable_gstreamer8"
6421 if test "$enableval" = yes; then
6422 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6424 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6429 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x
; then
6431 eval "DEFAULT_$LINE"
6436 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6440 eval "$ac_cv_use_gstreamer8"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_GSTREAMER8" = yes; then
6446 echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6
6449 echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6458 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6459 if test "${enable_printfposparam+set}" = set; then
6460 enableval
="$enable_printfposparam"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6465 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6470 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6481 eval "$ac_cv_use_printfposparam"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6486 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6487 echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6
6490 echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6
6496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6499 # Check whether --enable-zipstream or --disable-zipstream was given.
6500 if test "${enable_zipstream+set}" = set; then
6501 enableval
="$enable_zipstream"
6503 if test "$enableval" = yes; then
6504 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6506 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6511 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x
; then
6513 eval "DEFAULT_$LINE"
6518 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6522 eval "$ac_cv_use_zipstream"
6523 if test "$no_cache" != 1; then
6524 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6527 if test "$wxUSE_ZIPSTREAM" = yes; then
6528 echo "$as_me:$LINENO: result: yes" >&5
6529 echo "${ECHO_T}yes" >&6
6531 echo "$as_me:$LINENO: result: no" >&5
6532 echo "${ECHO_T}no" >&6
6538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6541 # Check whether --enable-url or --disable-url was given.
6542 if test "${enable_url+set}" = set; then
6543 enableval
="$enable_url"
6545 if test "$enableval" = yes; then
6546 ac_cv_use_url
='wxUSE_URL=yes'
6548 ac_cv_use_url
='wxUSE_URL=no'
6553 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6554 if test "x$LINE" != x
; then
6555 eval "DEFAULT_$LINE"
6560 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6564 eval "$ac_cv_use_url"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_URL" = yes; then
6570 echo "$as_me:$LINENO: result: yes" >&5
6571 echo "${ECHO_T}yes" >&6
6573 echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6
6579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6582 # Check whether --enable-variant or --disable-variant was given.
6583 if test "${enable_variant+set}" = set; then
6584 enableval
="$enable_variant"
6586 if test "$enableval" = yes; then
6587 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6589 ac_cv_use_variant
='wxUSE_VARIANT=no'
6594 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6595 if test "x$LINE" != x
; then
6596 eval "DEFAULT_$LINE"
6601 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6605 eval "$ac_cv_use_variant"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6610 if test "$wxUSE_VARIANT" = yes; then
6611 echo "$as_me:$LINENO: result: yes" >&5
6612 echo "${ECHO_T}yes" >&6
6614 echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6
6620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6621 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6623 # Check whether --enable-protocol or --disable-protocol was given.
6624 if test "${enable_protocol+set}" = set; then
6625 enableval
="$enable_protocol"
6627 if test "$enableval" = yes; then
6628 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6630 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6635 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6636 if test "x$LINE" != x
; then
6637 eval "DEFAULT_$LINE"
6642 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6646 eval "$ac_cv_use_protocol"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6651 if test "$wxUSE_PROTOCOL" = yes; then
6652 echo "$as_me:$LINENO: result: yes" >&5
6653 echo "${ECHO_T}yes" >&6
6655 echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6
6661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6664 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6665 if test "${enable_protocol_http+set}" = set; then
6666 enableval
="$enable_protocol_http"
6668 if test "$enableval" = yes; then
6669 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6671 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6676 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6677 if test "x$LINE" != x
; then
6678 eval "DEFAULT_$LINE"
6683 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6687 eval "$ac_cv_use_protocol_http"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6692 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6693 echo "$as_me:$LINENO: result: yes" >&5
6694 echo "${ECHO_T}yes" >&6
6696 echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6
6702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6703 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6705 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6706 if test "${enable_protocol_ftp+set}" = set; then
6707 enableval
="$enable_protocol_ftp"
6709 if test "$enableval" = yes; then
6710 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6712 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6717 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6718 if test "x$LINE" != x
; then
6719 eval "DEFAULT_$LINE"
6724 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6728 eval "$ac_cv_use_protocol_ftp"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6733 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6734 echo "$as_me:$LINENO: result: yes" >&5
6735 echo "${ECHO_T}yes" >&6
6737 echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6
6743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6746 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6747 if test "${enable_protocol_file+set}" = set; then
6748 enableval
="$enable_protocol_file"
6750 if test "$enableval" = yes; then
6751 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6753 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6758 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6759 if test "x$LINE" != x
; then
6760 eval "DEFAULT_$LINE"
6765 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6769 eval "$ac_cv_use_protocol_file"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6774 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6775 echo "$as_me:$LINENO: result: yes" >&5
6776 echo "${ECHO_T}yes" >&6
6778 echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6
6787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6790 # Check whether --enable-threads or --disable-threads was given.
6791 if test "${enable_threads+set}" = set; then
6792 enableval
="$enable_threads"
6794 if test "$enableval" = yes; then
6795 ac_cv_use_threads
='wxUSE_THREADS=yes'
6797 ac_cv_use_threads
='wxUSE_THREADS=no'
6802 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x
; then
6804 eval "DEFAULT_$LINE"
6809 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6813 eval "$ac_cv_use_threads"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_THREADS" = yes; then
6819 echo "$as_me:$LINENO: result: yes" >&5
6820 echo "${ECHO_T}yes" >&6
6822 echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6
6827 if test "$wxUSE_GUI" = "yes"; then
6832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6835 # Check whether --enable-docview or --disable-docview was given.
6836 if test "${enable_docview+set}" = set; then
6837 enableval
="$enable_docview"
6839 if test "$enableval" = yes; then
6840 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6842 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6847 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6848 if test "x$LINE" != x
; then
6849 eval "DEFAULT_$LINE"
6854 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6858 eval "$ac_cv_use_docview"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6863 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6864 echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6
6867 echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6
6873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6876 # Check whether --enable-help or --disable-help was given.
6877 if test "${enable_help+set}" = set; then
6878 enableval
="$enable_help"
6880 if test "$enableval" = yes; then
6881 ac_cv_use_help
='wxUSE_HELP=yes'
6883 ac_cv_use_help
='wxUSE_HELP=no'
6888 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6889 if test "x$LINE" != x
; then
6890 eval "DEFAULT_$LINE"
6895 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6899 eval "$ac_cv_use_help"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6904 if test "$wxUSE_HELP" = yes; then
6905 echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6
6908 echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6
6914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6917 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6918 if test "${enable_mshtmlhelp+set}" = set; then
6919 enableval
="$enable_mshtmlhelp"
6921 if test "$enableval" = yes; then
6922 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6924 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6929 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6930 if test "x$LINE" != x
; then
6931 eval "DEFAULT_$LINE"
6936 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6940 eval "$ac_cv_use_mshtmlhelp"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6945 if test "$wxUSE_MS_HTML_HELP" = yes; then
6946 echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6
6949 echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6
6955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6958 # Check whether --enable-html or --disable-html was given.
6959 if test "${enable_html+set}" = set; then
6960 enableval
="$enable_html"
6962 if test "$enableval" = yes; then
6963 ac_cv_use_html
='wxUSE_HTML=yes'
6965 ac_cv_use_html
='wxUSE_HTML=no'
6970 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6971 if test "x$LINE" != x
; then
6972 eval "DEFAULT_$LINE"
6977 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6981 eval "$ac_cv_use_html"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6986 if test "$wxUSE_HTML" = yes; then
6987 echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6
6990 echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6
6996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6999 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7000 if test "${enable_htmlhelp+set}" = set; then
7001 enableval
="$enable_htmlhelp"
7003 if test "$enableval" = yes; then
7004 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7006 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7011 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7012 if test "x$LINE" != x
; then
7013 eval "DEFAULT_$LINE"
7018 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7022 eval "$ac_cv_use_htmlhelp"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7027 if test "$wxUSE_WXHTML_HELP" = yes; then
7028 echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6
7031 echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6
7037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7040 # Check whether --enable-xrc or --disable-xrc was given.
7041 if test "${enable_xrc+set}" = set; then
7042 enableval
="$enable_xrc"
7044 if test "$enableval" = yes; then
7045 ac_cv_use_xrc
='wxUSE_XRC=yes'
7047 ac_cv_use_xrc
='wxUSE_XRC=no'
7052 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7053 if test "x$LINE" != x
; then
7054 eval "DEFAULT_$LINE"
7059 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7063 eval "$ac_cv_use_xrc"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7068 if test "$wxUSE_XRC" = yes; then
7069 echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6
7072 echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6
7078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7081 # Check whether --enable-aui or --disable-aui was given.
7082 if test "${enable_aui+set}" = set; then
7083 enableval
="$enable_aui"
7085 if test "$enableval" = yes; then
7086 ac_cv_use_aui
='wxUSE_AUI=yes'
7088 ac_cv_use_aui
='wxUSE_AUI=no'
7093 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7094 if test "x$LINE" != x
; then
7095 eval "DEFAULT_$LINE"
7100 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7104 eval "$ac_cv_use_aui"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7109 if test "$wxUSE_AUI" = yes; then
7110 echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6
7113 echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6
7119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7122 # Check whether --enable-constraints or --disable-constraints was given.
7123 if test "${enable_constraints+set}" = set; then
7124 enableval
="$enable_constraints"
7126 if test "$enableval" = yes; then
7127 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7129 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7134 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7135 if test "x$LINE" != x
; then
7136 eval "DEFAULT_$LINE"
7141 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7145 eval "$ac_cv_use_constraints"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_CONSTRAINTS" = yes; then
7151 echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6
7154 echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6
7160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7163 # Check whether --enable-printarch or --disable-printarch was given.
7164 if test "${enable_printarch+set}" = set; then
7165 enableval
="$enable_printarch"
7167 if test "$enableval" = yes; then
7168 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7170 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7175 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x
; then
7177 eval "DEFAULT_$LINE"
7182 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7186 eval "$ac_cv_use_printarch"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7192 echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6
7195 echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6
7201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7204 # Check whether --enable-mdi or --disable-mdi was given.
7205 if test "${enable_mdi+set}" = set; then
7206 enableval
="$enable_mdi"
7208 if test "$enableval" = yes; then
7209 ac_cv_use_mdi
='wxUSE_MDI=yes'
7211 ac_cv_use_mdi
='wxUSE_MDI=no'
7216 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x
; then
7218 eval "DEFAULT_$LINE"
7223 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7227 eval "$ac_cv_use_mdi"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7232 if test "$wxUSE_MDI" = yes; then
7233 echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6
7236 echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6
7242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7245 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7246 if test "${enable_mdidoc+set}" = set; then
7247 enableval
="$enable_mdidoc"
7249 if test "$enableval" = yes; then
7250 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7252 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7257 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x
; then
7259 eval "DEFAULT_$LINE"
7264 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7268 eval "$ac_cv_use_mdidoc"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7273 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7274 echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6
7277 echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6
7283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7286 # Check whether --enable-loggui or --disable-loggui was given.
7287 if test "${enable_loggui+set}" = set; then
7288 enableval
="$enable_loggui"
7290 if test "$enableval" = yes; then
7291 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7293 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7298 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7299 if test "x$LINE" != x
; then
7300 eval "DEFAULT_$LINE"
7305 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7309 eval "$ac_cv_use_loggui"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7314 if test "$wxUSE_LOGGUI" = yes; then
7315 echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6
7318 echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6
7324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7327 # Check whether --enable-logwin or --disable-logwin was given.
7328 if test "${enable_logwin+set}" = set; then
7329 enableval
="$enable_logwin"
7331 if test "$enableval" = yes; then
7332 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7334 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7339 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7340 if test "x$LINE" != x
; then
7341 eval "DEFAULT_$LINE"
7346 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7350 eval "$ac_cv_use_logwin"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7355 if test "$wxUSE_LOGWINDOW" = yes; then
7356 echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6
7359 echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6
7365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7368 # Check whether --enable-logdialog or --disable-logdialog was given.
7369 if test "${enable_logdialog+set}" = set; then
7370 enableval
="$enable_logdialog"
7372 if test "$enableval" = yes; then
7373 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7375 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7380 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x
; then
7382 eval "DEFAULT_$LINE"
7387 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7391 eval "$ac_cv_use_logdialog"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7396 if test "$wxUSE_LOGDIALOG" = yes; then
7397 echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6
7400 echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6
7406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7409 # Check whether --enable-webkit or --disable-webkit was given.
7410 if test "${enable_webkit+set}" = set; then
7411 enableval
="$enable_webkit"
7413 if test "$enableval" = yes; then
7414 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7416 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7421 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x
; then
7423 eval "DEFAULT_$LINE"
7428 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7432 eval "$ac_cv_use_webkit"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_WEBKIT" = yes; then
7438 echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6
7441 echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6
7447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7450 # Check whether --enable-html or --disable-html was given.
7451 if test "${enable_html+set}" = set; then
7452 enableval
="$enable_html"
7454 if test "$enableval" = yes; then
7455 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7457 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7462 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7463 if test "x$LINE" != x
; then
7464 eval "DEFAULT_$LINE"
7469 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7473 eval "$ac_cv_use_html"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7478 if test "$wxUSE_RICHTEXT" = yes; then
7479 echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6
7482 echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6
7488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7491 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7492 if test "${enable_graphics_ctx+set}" = set; then
7493 enableval
="$enable_graphics_ctx"
7495 if test "$enableval" = yes; then
7496 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7498 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7503 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7504 if test "x$LINE" != x
; then
7505 eval "DEFAULT_$LINE"
7510 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7514 eval "$ac_cv_use_graphics_ctx"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7519 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7520 echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7533 # Check whether --enable-postscript or --disable-postscript was given.
7534 if test "${enable_postscript+set}" = set; then
7535 enableval
="$enable_postscript"
7537 if test "$enableval" = yes; then
7538 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7540 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7545 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7546 if test "x$LINE" != x
; then
7547 eval "DEFAULT_$LINE"
7552 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7556 eval "$ac_cv_use_postscript"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7561 if test "$wxUSE_POSTSCRIPT" = yes; then
7562 echo "$as_me:$LINENO: result: yes" >&5
7563 echo "${ECHO_T}yes" >&6
7565 echo "$as_me:$LINENO: result: no" >&5
7566 echo "${ECHO_T}no" >&6
7574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7577 # Check whether --enable-prologio or --disable-prologio was given.
7578 if test "${enable_prologio+set}" = set; then
7579 enableval
="$enable_prologio"
7581 if test "$enableval" = yes; then
7582 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7584 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7589 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7590 if test "x$LINE" != x
; then
7591 eval "DEFAULT_$LINE"
7596 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7600 eval "$ac_cv_use_prologio"
7601 if test "$no_cache" != 1; then
7602 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7605 if test "$wxUSE_PROLOGIO" = yes; then
7606 echo "$as_me:$LINENO: result: yes" >&5
7607 echo "${ECHO_T}yes" >&6
7609 echo "$as_me:$LINENO: result: no" >&5
7610 echo "${ECHO_T}no" >&6
7615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7618 # Check whether --enable-resources or --disable-resources was given.
7619 if test "${enable_resources+set}" = set; then
7620 enableval
="$enable_resources"
7622 if test "$enableval" = yes; then
7623 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7625 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7630 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7631 if test "x$LINE" != x
; then
7632 eval "DEFAULT_$LINE"
7637 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7641 eval "$ac_cv_use_resources"
7642 if test "$no_cache" != 1; then
7643 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7646 if test "$wxUSE_RESOURCES" = yes; then
7647 echo "$as_me:$LINENO: result: yes" >&5
7648 echo "${ECHO_T}yes" >&6
7650 echo "$as_me:$LINENO: result: no" >&5
7651 echo "${ECHO_T}no" >&6
7658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7661 # Check whether --enable-clipboard or --disable-clipboard was given.
7662 if test "${enable_clipboard+set}" = set; then
7663 enableval
="$enable_clipboard"
7665 if test "$enableval" = yes; then
7666 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7668 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7673 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7674 if test "x$LINE" != x
; then
7675 eval "DEFAULT_$LINE"
7680 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7684 eval "$ac_cv_use_clipboard"
7685 if test "$no_cache" != 1; then
7686 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7689 if test "$wxUSE_CLIPBOARD" = yes; then
7690 echo "$as_me:$LINENO: result: yes" >&5
7691 echo "${ECHO_T}yes" >&6
7693 echo "$as_me:$LINENO: result: no" >&5
7694 echo "${ECHO_T}no" >&6
7699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7702 # Check whether --enable-dnd or --disable-dnd was given.
7703 if test "${enable_dnd+set}" = set; then
7704 enableval
="$enable_dnd"
7706 if test "$enableval" = yes; then
7707 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7709 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7714 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x
; then
7716 eval "DEFAULT_$LINE"
7721 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7725 eval "$ac_cv_use_dnd"
7726 if test "$no_cache" != 1; then
7727 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7730 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7731 echo "$as_me:$LINENO: result: yes" >&5
7732 echo "${ECHO_T}yes" >&6
7734 echo "$as_me:$LINENO: result: no" >&5
7735 echo "${ECHO_T}no" >&6
7740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7743 # Check whether --enable-metafile or --disable-metafile was given.
7744 if test "${enable_metafile+set}" = set; then
7745 enableval
="$enable_metafile"
7747 if test "$enableval" = yes; then
7748 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7750 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7755 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x
; then
7757 eval "DEFAULT_$LINE"
7762 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7766 eval "$ac_cv_use_metafile"
7767 if test "$no_cache" != 1; then
7768 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7771 if test "$wxUSE_METAFILE" = yes; then
7772 echo "$as_me:$LINENO: result: yes" >&5
7773 echo "${ECHO_T}yes" >&6
7775 echo "$as_me:$LINENO: result: no" >&5
7776 echo "${ECHO_T}no" >&6
7784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7787 # Check whether --enable-controls or --disable-controls was given.
7788 if test "${enable_controls+set}" = set; then
7789 enableval
="$enable_controls"
7791 if test "$enableval" = yes; then
7792 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7794 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7799 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7800 if test "x$LINE" != x
; then
7801 eval "DEFAULT_$LINE"
7806 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7810 eval "$ac_cv_use_controls"
7811 if test "$no_cache" != 1; then
7812 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7815 if test "$wxUSE_CONTROLS" = yes; then
7816 echo "$as_me:$LINENO: result: yes" >&5
7817 echo "${ECHO_T}yes" >&6
7819 echo "$as_me:$LINENO: result: no" >&5
7820 echo "${ECHO_T}no" >&6
7824 if test "$wxUSE_CONTROLS" = "yes"; then
7825 DEFAULT_wxUSE_ACCEL
=yes
7826 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7827 DEFAULT_wxUSE_BMPBUTTON
=yes
7828 DEFAULT_wxUSE_BUTTON
=yes
7829 DEFAULT_wxUSE_CALCTRL
=yes
7830 DEFAULT_wxUSE_CARET
=yes
7831 DEFAULT_wxUSE_COMBOBOX
=yes
7832 DEFAULT_wxUSE_CHECKBOX
=yes
7833 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7834 DEFAULT_wxUSE_CHOICE
=yes
7835 DEFAULT_wxUSE_CHOICEBOOK
=yes
7836 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7837 DEFAULT_wxUSE_COMBOBOX
=yes
7838 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7839 DEFAULT_wxUSE_DISPLAY
=yes
7840 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7841 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7842 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7843 DEFAULT_wxUSE_GAUGE
=yes
7844 DEFAULT_wxUSE_GRID
=yes
7845 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7846 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7847 DEFAULT_wxUSE_IMAGLIST
=yes
7848 DEFAULT_wxUSE_LISTBOOK
=yes
7849 DEFAULT_wxUSE_LISTBOX
=yes
7850 DEFAULT_wxUSE_LISTCTRL
=yes
7851 DEFAULT_wxUSE_NOTEBOOK
=yes
7852 DEFAULT_wxUSE_RADIOBOX
=yes
7853 DEFAULT_wxUSE_RADIOBTN
=yes
7854 DEFAULT_wxUSE_SASH
=yes
7855 DEFAULT_wxUSE_SCROLLBAR
=yes
7856 DEFAULT_wxUSE_SLIDER
=yes
7857 DEFAULT_wxUSE_SPINBTN
=yes
7858 DEFAULT_wxUSE_SPINCTRL
=yes
7859 DEFAULT_wxUSE_SPLITTER
=yes
7860 DEFAULT_wxUSE_STATBMP
=yes
7861 DEFAULT_wxUSE_STATBOX
=yes
7862 DEFAULT_wxUSE_STATLINE
=yes
7863 DEFAULT_wxUSE_STATUSBAR
=yes
7864 DEFAULT_wxUSE_TAB_DIALOG
=yes
7865 DEFAULT_wxUSE_TOGGLEBTN
=yes
7866 DEFAULT_wxUSE_TOOLBAR
=yes
7867 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7868 DEFAULT_wxUSE_TOOLTIPS
=yes
7869 DEFAULT_wxUSE_TREEBOOK
=yes
7870 DEFAULT_wxUSE_TOOLBOOK
=yes
7871 DEFAULT_wxUSE_TREECTRL
=yes
7872 DEFAULT_wxUSE_POPUPWIN
=yes
7873 DEFAULT_wxUSE_TIPWINDOW
=yes
7874 elif test "$wxUSE_CONTROLS" = "no"; then
7875 DEFAULT_wxUSE_ACCEL
=no
7876 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7877 DEFAULT_wxUSE_BMPBUTTON
=no
7878 DEFAULT_wxUSE_BUTTON
=no
7879 DEFAULT_wxUSE_CALCTRL
=no
7880 DEFAULT_wxUSE_CARET
=no
7881 DEFAULT_wxUSE_COMBOBOX
=no
7882 DEFAULT_wxUSE_CHECKBOX
=no
7883 DEFAULT_wxUSE_CHECKLISTBOX
=no
7884 DEFAULT_wxUSE_CHOICE
=no
7885 DEFAULT_wxUSE_CHOICEBOOK
=no
7886 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7887 DEFAULT_wxUSE_COMBOBOX
=no
7888 DEFAULT_wxUSE_DATEPICKCTRL
=no
7889 DEFAULT_wxUSE_DISPLAY
=no
7890 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7891 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7892 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7893 DEFAULT_wxUSE_GAUGE
=no
7894 DEFAULT_wxUSE_GRID
=no
7895 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7896 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7897 DEFAULT_wxUSE_IMAGLIST
=no
7898 DEFAULT_wxUSE_LISTBOOK
=no
7899 DEFAULT_wxUSE_LISTBOX
=no
7900 DEFAULT_wxUSE_LISTCTRL
=no
7901 DEFAULT_wxUSE_NOTEBOOK
=no
7902 DEFAULT_wxUSE_RADIOBOX
=no
7903 DEFAULT_wxUSE_RADIOBTN
=no
7904 DEFAULT_wxUSE_SASH
=no
7905 DEFAULT_wxUSE_SCROLLBAR
=no
7906 DEFAULT_wxUSE_SLIDER
=no
7907 DEFAULT_wxUSE_SPINBTN
=no
7908 DEFAULT_wxUSE_SPINCTRL
=no
7909 DEFAULT_wxUSE_SPLITTER
=no
7910 DEFAULT_wxUSE_STATBMP
=no
7911 DEFAULT_wxUSE_STATBOX
=no
7912 DEFAULT_wxUSE_STATLINE
=no
7913 DEFAULT_wxUSE_STATUSBAR
=no
7914 DEFAULT_wxUSE_TAB_DIALOG
=no
7915 DEFAULT_wxUSE_TOGGLEBTN
=no
7916 DEFAULT_wxUSE_TOOLBAR
=no
7917 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7918 DEFAULT_wxUSE_TOOLTIPS
=no
7919 DEFAULT_wxUSE_TREEBOOK
=no
7920 DEFAULT_wxUSE_TOOLBOOK
=no
7921 DEFAULT_wxUSE_TREECTRL
=no
7922 DEFAULT_wxUSE_POPUPWIN
=no
7923 DEFAULT_wxUSE_TIPWINDOW
=no
7928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7931 # Check whether --enable-accel or --disable-accel was given.
7932 if test "${enable_accel+set}" = set; then
7933 enableval
="$enable_accel"
7935 if test "$enableval" = yes; then
7936 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7938 ac_cv_use_accel
='wxUSE_ACCEL=no'
7943 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x
; then
7945 eval "DEFAULT_$LINE"
7950 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7954 eval "$ac_cv_use_accel"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7959 if test "$wxUSE_ACCEL" = yes; then
7960 echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6
7963 echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6
7969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7972 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7973 if test "${enable_animatectrl+set}" = set; then
7974 enableval
="$enable_animatectrl"
7976 if test "$enableval" = yes; then
7977 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
7979 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
7984 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x
; then
7986 eval "DEFAULT_$LINE"
7991 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7995 eval "$ac_cv_use_animatectrl"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8000 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8001 echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6
8004 echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6
8010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8013 # Check whether --enable-button or --disable-button was given.
8014 if test "${enable_button+set}" = set; then
8015 enableval
="$enable_button"
8017 if test "$enableval" = yes; then
8018 ac_cv_use_button
='wxUSE_BUTTON=yes'
8020 ac_cv_use_button
='wxUSE_BUTTON=no'
8025 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8026 if test "x$LINE" != x
; then
8027 eval "DEFAULT_$LINE"
8032 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8036 eval "$ac_cv_use_button"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8041 if test "$wxUSE_BUTTON" = yes; then
8042 echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6
8045 echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6
8051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8054 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8055 if test "${enable_bmpbutton+set}" = set; then
8056 enableval
="$enable_bmpbutton"
8058 if test "$enableval" = yes; then
8059 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8061 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8066 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8067 if test "x$LINE" != x
; then
8068 eval "DEFAULT_$LINE"
8073 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8077 eval "$ac_cv_use_bmpbutton"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8082 if test "$wxUSE_BMPBUTTON" = yes; then
8083 echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6
8086 echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6
8092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8095 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8096 if test "${enable_bmpcombobox+set}" = set; then
8097 enableval
="$enable_bmpcombobox"
8099 if test "$enableval" = yes; then
8100 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8102 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8107 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x
; then
8109 eval "DEFAULT_$LINE"
8114 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8118 eval "$ac_cv_use_bmpcombobox"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8123 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8124 echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6
8127 echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6
8133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8136 # Check whether --enable-calendar or --disable-calendar was given.
8137 if test "${enable_calendar+set}" = set; then
8138 enableval
="$enable_calendar"
8140 if test "$enableval" = yes; then
8141 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8143 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8148 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8149 if test "x$LINE" != x
; then
8150 eval "DEFAULT_$LINE"
8155 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8159 eval "$ac_cv_use_calendar"
8160 if test "$no_cache" != 1; then
8161 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8164 if test "$wxUSE_CALCTRL" = yes; then
8165 echo "$as_me:$LINENO: result: yes" >&5
8166 echo "${ECHO_T}yes" >&6
8168 echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6
8174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8175 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8177 # Check whether --enable-caret or --disable-caret was given.
8178 if test "${enable_caret+set}" = set; then
8179 enableval
="$enable_caret"
8181 if test "$enableval" = yes; then
8182 ac_cv_use_caret
='wxUSE_CARET=yes'
8184 ac_cv_use_caret
='wxUSE_CARET=no'
8189 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8190 if test "x$LINE" != x
; then
8191 eval "DEFAULT_$LINE"
8196 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8200 eval "$ac_cv_use_caret"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_CARET" = yes; then
8206 echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6
8209 echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6
8215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8218 # Check whether --enable-checkbox or --disable-checkbox was given.
8219 if test "${enable_checkbox+set}" = set; then
8220 enableval
="$enable_checkbox"
8222 if test "$enableval" = yes; then
8223 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8225 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8230 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8231 if test "x$LINE" != x
; then
8232 eval "DEFAULT_$LINE"
8237 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8241 eval "$ac_cv_use_checkbox"
8242 if test "$no_cache" != 1; then
8243 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8246 if test "$wxUSE_CHECKBOX" = yes; then
8247 echo "$as_me:$LINENO: result: yes" >&5
8248 echo "${ECHO_T}yes" >&6
8250 echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6
8256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8259 # Check whether --enable-checklst or --disable-checklst was given.
8260 if test "${enable_checklst+set}" = set; then
8261 enableval
="$enable_checklst"
8263 if test "$enableval" = yes; then
8264 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8266 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8271 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8272 if test "x$LINE" != x
; then
8273 eval "DEFAULT_$LINE"
8278 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8282 eval "$ac_cv_use_checklst"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8287 if test "$wxUSE_CHECKLST" = yes; then
8288 echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6
8291 echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6
8297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8300 # Check whether --enable-choice or --disable-choice was given.
8301 if test "${enable_choice+set}" = set; then
8302 enableval
="$enable_choice"
8304 if test "$enableval" = yes; then
8305 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8307 ac_cv_use_choice
='wxUSE_CHOICE=no'
8312 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8313 if test "x$LINE" != x
; then
8314 eval "DEFAULT_$LINE"
8319 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8323 eval "$ac_cv_use_choice"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8328 if test "$wxUSE_CHOICE" = yes; then
8329 echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6
8332 echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6
8338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8341 # Check whether --enable-choicebook or --disable-choicebook was given.
8342 if test "${enable_choicebook+set}" = set; then
8343 enableval
="$enable_choicebook"
8345 if test "$enableval" = yes; then
8346 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8348 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8353 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8354 if test "x$LINE" != x
; then
8355 eval "DEFAULT_$LINE"
8360 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8364 eval "$ac_cv_use_choicebook"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8369 if test "$wxUSE_CHOICEBOOK" = yes; then
8370 echo "$as_me:$LINENO: result: yes" >&5
8371 echo "${ECHO_T}yes" >&6
8373 echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6
8379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8380 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8382 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8383 if test "${enable_colourpicker+set}" = set; then
8384 enableval
="$enable_colourpicker"
8386 if test "$enableval" = yes; then
8387 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8389 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8394 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x
; then
8396 eval "DEFAULT_$LINE"
8401 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8405 eval "$ac_cv_use_colourpicker"
8406 if test "$no_cache" != 1; then
8407 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8410 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8411 echo "$as_me:$LINENO: result: yes" >&5
8412 echo "${ECHO_T}yes" >&6
8414 echo "$as_me:$LINENO: result: no" >&5
8415 echo "${ECHO_T}no" >&6
8420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8423 # Check whether --enable-combobox or --disable-combobox was given.
8424 if test "${enable_combobox+set}" = set; then
8425 enableval
="$enable_combobox"
8427 if test "$enableval" = yes; then
8428 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8430 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8435 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8436 if test "x$LINE" != x
; then
8437 eval "DEFAULT_$LINE"
8442 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8446 eval "$ac_cv_use_combobox"
8447 if test "$no_cache" != 1; then
8448 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8451 if test "$wxUSE_COMBOBOX" = yes; then
8452 echo "$as_me:$LINENO: result: yes" >&5
8453 echo "${ECHO_T}yes" >&6
8455 echo "$as_me:$LINENO: result: no" >&5
8456 echo "${ECHO_T}no" >&6
8461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8464 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8465 if test "${enable_comboctrl+set}" = set; then
8466 enableval
="$enable_comboctrl"
8468 if test "$enableval" = yes; then
8469 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8471 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8476 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8477 if test "x$LINE" != x
; then
8478 eval "DEFAULT_$LINE"
8483 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8487 eval "$ac_cv_use_comboctrl"
8488 if test "$no_cache" != 1; then
8489 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8492 if test "$wxUSE_COMBOCTRL" = yes; then
8493 echo "$as_me:$LINENO: result: yes" >&5
8494 echo "${ECHO_T}yes" >&6
8496 echo "$as_me:$LINENO: result: no" >&5
8497 echo "${ECHO_T}no" >&6
8502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8505 # Check whether --enable-datepick or --disable-datepick was given.
8506 if test "${enable_datepick+set}" = set; then
8507 enableval
="$enable_datepick"
8509 if test "$enableval" = yes; then
8510 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8512 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8517 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x
; then
8519 eval "DEFAULT_$LINE"
8524 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8528 eval "$ac_cv_use_datepick"
8529 if test "$no_cache" != 1; then
8530 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8533 if test "$wxUSE_DATEPICKCTRL" = yes; then
8534 echo "$as_me:$LINENO: result: yes" >&5
8535 echo "${ECHO_T}yes" >&6
8537 echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6
8543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8546 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8547 if test "${enable_dirpicker+set}" = set; then
8548 enableval
="$enable_dirpicker"
8550 if test "$enableval" = yes; then
8551 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8553 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8558 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8559 if test "x$LINE" != x
; then
8560 eval "DEFAULT_$LINE"
8565 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8569 eval "$ac_cv_use_dirpicker"
8570 if test "$no_cache" != 1; then
8571 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8574 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8575 echo "$as_me:$LINENO: result: yes" >&5
8576 echo "${ECHO_T}yes" >&6
8578 echo "$as_me:$LINENO: result: no" >&5
8579 echo "${ECHO_T}no" >&6
8584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8587 # Check whether --enable-display or --disable-display was given.
8588 if test "${enable_display+set}" = set; then
8589 enableval
="$enable_display"
8591 if test "$enableval" = yes; then
8592 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8594 ac_cv_use_display
='wxUSE_DISPLAY=no'
8599 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8600 if test "x$LINE" != x
; then
8601 eval "DEFAULT_$LINE"
8606 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8610 eval "$ac_cv_use_display"
8611 if test "$no_cache" != 1; then
8612 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8615 if test "$wxUSE_DISPLAY" = yes; then
8616 echo "$as_me:$LINENO: result: yes" >&5
8617 echo "${ECHO_T}yes" >&6
8619 echo "$as_me:$LINENO: result: no" >&5
8620 echo "${ECHO_T}no" >&6
8625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8626 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8628 # Check whether --enable-filepicker or --disable-filepicker was given.
8629 if test "${enable_filepicker+set}" = set; then
8630 enableval
="$enable_filepicker"
8632 if test "$enableval" = yes; then
8633 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8635 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8640 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8641 if test "x$LINE" != x
; then
8642 eval "DEFAULT_$LINE"
8647 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8651 eval "$ac_cv_use_filepicker"
8652 if test "$no_cache" != 1; then
8653 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8656 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8657 echo "$as_me:$LINENO: result: yes" >&5
8658 echo "${ECHO_T}yes" >&6
8660 echo "$as_me:$LINENO: result: no" >&5
8661 echo "${ECHO_T}no" >&6
8666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8667 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8669 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8670 if test "${enable_fontpicker+set}" = set; then
8671 enableval
="$enable_fontpicker"
8673 if test "$enableval" = yes; then
8674 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8676 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8681 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8682 if test "x$LINE" != x
; then
8683 eval "DEFAULT_$LINE"
8688 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8692 eval "$ac_cv_use_fontpicker"
8693 if test "$no_cache" != 1; then
8694 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8697 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8698 echo "$as_me:$LINENO: result: yes" >&5
8699 echo "${ECHO_T}yes" >&6
8701 echo "$as_me:$LINENO: result: no" >&5
8702 echo "${ECHO_T}no" >&6
8707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8708 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8710 # Check whether --enable-gauge or --disable-gauge was given.
8711 if test "${enable_gauge+set}" = set; then
8712 enableval
="$enable_gauge"
8714 if test "$enableval" = yes; then
8715 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8717 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8722 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8723 if test "x$LINE" != x
; then
8724 eval "DEFAULT_$LINE"
8729 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8733 eval "$ac_cv_use_gauge"
8734 if test "$no_cache" != 1; then
8735 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8738 if test "$wxUSE_GAUGE" = yes; then
8739 echo "$as_me:$LINENO: result: yes" >&5
8740 echo "${ECHO_T}yes" >&6
8742 echo "$as_me:$LINENO: result: no" >&5
8743 echo "${ECHO_T}no" >&6
8748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8751 # Check whether --enable-grid or --disable-grid was given.
8752 if test "${enable_grid+set}" = set; then
8753 enableval
="$enable_grid"
8755 if test "$enableval" = yes; then
8756 ac_cv_use_grid
='wxUSE_GRID=yes'
8758 ac_cv_use_grid
='wxUSE_GRID=no'
8763 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8764 if test "x$LINE" != x
; then
8765 eval "DEFAULT_$LINE"
8770 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8774 eval "$ac_cv_use_grid"
8775 if test "$no_cache" != 1; then
8776 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8779 if test "$wxUSE_GRID" = yes; then
8780 echo "$as_me:$LINENO: result: yes" >&5
8781 echo "${ECHO_T}yes" >&6
8783 echo "$as_me:$LINENO: result: no" >&5
8784 echo "${ECHO_T}no" >&6
8789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8790 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8792 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8793 if test "${enable_dataviewctrl+set}" = set; then
8794 enableval
="$enable_dataviewctrl"
8796 if test "$enableval" = yes; then
8797 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8799 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8804 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8805 if test "x$LINE" != x
; then
8806 eval "DEFAULT_$LINE"
8811 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8815 eval "$ac_cv_use_dataviewctrl"
8816 if test "$no_cache" != 1; then
8817 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8820 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8821 echo "$as_me:$LINENO: result: yes" >&5
8822 echo "${ECHO_T}yes" >&6
8824 echo "$as_me:$LINENO: result: no" >&5
8825 echo "${ECHO_T}no" >&6
8830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8833 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8834 if test "${enable_hyperlink+set}" = set; then
8835 enableval
="$enable_hyperlink"
8837 if test "$enableval" = yes; then
8838 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8840 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8845 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8846 if test "x$LINE" != x
; then
8847 eval "DEFAULT_$LINE"
8852 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8856 eval "$ac_cv_use_hyperlink"
8857 if test "$no_cache" != 1; then
8858 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8861 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8862 echo "$as_me:$LINENO: result: yes" >&5
8863 echo "${ECHO_T}yes" >&6
8865 echo "$as_me:$LINENO: result: no" >&5
8866 echo "${ECHO_T}no" >&6
8871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8872 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8874 # Check whether --enable-imaglist or --disable-imaglist was given.
8875 if test "${enable_imaglist+set}" = set; then
8876 enableval
="$enable_imaglist"
8878 if test "$enableval" = yes; then
8879 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8881 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8886 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8887 if test "x$LINE" != x
; then
8888 eval "DEFAULT_$LINE"
8893 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8897 eval "$ac_cv_use_imaglist"
8898 if test "$no_cache" != 1; then
8899 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8902 if test "$wxUSE_IMAGLIST" = yes; then
8903 echo "$as_me:$LINENO: result: yes" >&5
8904 echo "${ECHO_T}yes" >&6
8906 echo "$as_me:$LINENO: result: no" >&5
8907 echo "${ECHO_T}no" >&6
8912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8913 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8915 # Check whether --enable-listbook or --disable-listbook was given.
8916 if test "${enable_listbook+set}" = set; then
8917 enableval
="$enable_listbook"
8919 if test "$enableval" = yes; then
8920 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8922 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8927 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x
; then
8929 eval "DEFAULT_$LINE"
8934 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8938 eval "$ac_cv_use_listbook"
8939 if test "$no_cache" != 1; then
8940 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8943 if test "$wxUSE_LISTBOOK" = yes; then
8944 echo "$as_me:$LINENO: result: yes" >&5
8945 echo "${ECHO_T}yes" >&6
8947 echo "$as_me:$LINENO: result: no" >&5
8948 echo "${ECHO_T}no" >&6
8953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8954 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8956 # Check whether --enable-listbox or --disable-listbox was given.
8957 if test "${enable_listbox+set}" = set; then
8958 enableval
="$enable_listbox"
8960 if test "$enableval" = yes; then
8961 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8963 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8968 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8969 if test "x$LINE" != x
; then
8970 eval "DEFAULT_$LINE"
8975 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8979 eval "$ac_cv_use_listbox"
8980 if test "$no_cache" != 1; then
8981 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8984 if test "$wxUSE_LISTBOX" = yes; then
8985 echo "$as_me:$LINENO: result: yes" >&5
8986 echo "${ECHO_T}yes" >&6
8988 echo "$as_me:$LINENO: result: no" >&5
8989 echo "${ECHO_T}no" >&6
8994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8995 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8997 # Check whether --enable-listctrl or --disable-listctrl was given.
8998 if test "${enable_listctrl+set}" = set; then
8999 enableval
="$enable_listctrl"
9001 if test "$enableval" = yes; then
9002 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9004 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9009 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9010 if test "x$LINE" != x
; then
9011 eval "DEFAULT_$LINE"
9016 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9020 eval "$ac_cv_use_listctrl"
9021 if test "$no_cache" != 1; then
9022 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9025 if test "$wxUSE_LISTCTRL" = yes; then
9026 echo "$as_me:$LINENO: result: yes" >&5
9027 echo "${ECHO_T}yes" >&6
9029 echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6
9035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9036 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9038 # Check whether --enable-notebook or --disable-notebook was given.
9039 if test "${enable_notebook+set}" = set; then
9040 enableval
="$enable_notebook"
9042 if test "$enableval" = yes; then
9043 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9045 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9050 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x
; then
9052 eval "DEFAULT_$LINE"
9057 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9061 eval "$ac_cv_use_notebook"
9062 if test "$no_cache" != 1; then
9063 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9066 if test "$wxUSE_NOTEBOOK" = yes; then
9067 echo "$as_me:$LINENO: result: yes" >&5
9068 echo "${ECHO_T}yes" >&6
9070 echo "$as_me:$LINENO: result: no" >&5
9071 echo "${ECHO_T}no" >&6
9076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9077 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9079 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9080 if test "${enable_odcombobox+set}" = set; then
9081 enableval
="$enable_odcombobox"
9083 if test "$enableval" = yes; then
9084 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9086 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9091 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9092 if test "x$LINE" != x
; then
9093 eval "DEFAULT_$LINE"
9098 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9102 eval "$ac_cv_use_odcombobox"
9103 if test "$no_cache" != 1; then
9104 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9107 if test "$wxUSE_ODCOMBOBOX" = yes; then
9108 echo "$as_me:$LINENO: result: yes" >&5
9109 echo "${ECHO_T}yes" >&6
9111 echo "$as_me:$LINENO: result: no" >&5
9112 echo "${ECHO_T}no" >&6
9117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9120 # Check whether --enable-radiobox or --disable-radiobox was given.
9121 if test "${enable_radiobox+set}" = set; then
9122 enableval
="$enable_radiobox"
9124 if test "$enableval" = yes; then
9125 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9127 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9132 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9133 if test "x$LINE" != x
; then
9134 eval "DEFAULT_$LINE"
9139 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9143 eval "$ac_cv_use_radiobox"
9144 if test "$no_cache" != 1; then
9145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9148 if test "$wxUSE_RADIOBOX" = yes; then
9149 echo "$as_me:$LINENO: result: yes" >&5
9150 echo "${ECHO_T}yes" >&6
9152 echo "$as_me:$LINENO: result: no" >&5
9153 echo "${ECHO_T}no" >&6
9158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9162 if test "${enable_radiobtn+set}" = set; then
9163 enableval
="$enable_radiobtn"
9165 if test "$enableval" = yes; then
9166 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9168 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9173 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9174 if test "x$LINE" != x
; then
9175 eval "DEFAULT_$LINE"
9180 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9184 eval "$ac_cv_use_radiobtn"
9185 if test "$no_cache" != 1; then
9186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9189 if test "$wxUSE_RADIOBTN" = yes; then
9190 echo "$as_me:$LINENO: result: yes" >&5
9191 echo "${ECHO_T}yes" >&6
9193 echo "$as_me:$LINENO: result: no" >&5
9194 echo "${ECHO_T}no" >&6
9199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9202 # Check whether --enable-sash or --disable-sash was given.
9203 if test "${enable_sash+set}" = set; then
9204 enableval
="$enable_sash"
9206 if test "$enableval" = yes; then
9207 ac_cv_use_sash
='wxUSE_SASH=yes'
9209 ac_cv_use_sash
='wxUSE_SASH=no'
9214 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9215 if test "x$LINE" != x
; then
9216 eval "DEFAULT_$LINE"
9221 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9225 eval "$ac_cv_use_sash"
9226 if test "$no_cache" != 1; then
9227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9230 if test "$wxUSE_SASH" = yes; then
9231 echo "$as_me:$LINENO: result: yes" >&5
9232 echo "${ECHO_T}yes" >&6
9234 echo "$as_me:$LINENO: result: no" >&5
9235 echo "${ECHO_T}no" >&6
9240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9244 if test "${enable_scrollbar+set}" = set; then
9245 enableval
="$enable_scrollbar"
9247 if test "$enableval" = yes; then
9248 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9250 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9255 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9256 if test "x$LINE" != x
; then
9257 eval "DEFAULT_$LINE"
9262 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9266 eval "$ac_cv_use_scrollbar"
9267 if test "$no_cache" != 1; then
9268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9271 if test "$wxUSE_SCROLLBAR" = yes; then
9272 echo "$as_me:$LINENO: result: yes" >&5
9273 echo "${ECHO_T}yes" >&6
9275 echo "$as_me:$LINENO: result: no" >&5
9276 echo "${ECHO_T}no" >&6
9281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9284 # Check whether --enable-slider or --disable-slider was given.
9285 if test "${enable_slider+set}" = set; then
9286 enableval
="$enable_slider"
9288 if test "$enableval" = yes; then
9289 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9291 ac_cv_use_slider
='wxUSE_SLIDER=no'
9296 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9297 if test "x$LINE" != x
; then
9298 eval "DEFAULT_$LINE"
9303 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9307 eval "$ac_cv_use_slider"
9308 if test "$no_cache" != 1; then
9309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9312 if test "$wxUSE_SLIDER" = yes; then
9313 echo "$as_me:$LINENO: result: yes" >&5
9314 echo "${ECHO_T}yes" >&6
9316 echo "$as_me:$LINENO: result: no" >&5
9317 echo "${ECHO_T}no" >&6
9322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9326 if test "${enable_spinbtn+set}" = set; then
9327 enableval
="$enable_spinbtn"
9329 if test "$enableval" = yes; then
9330 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9332 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9337 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9338 if test "x$LINE" != x
; then
9339 eval "DEFAULT_$LINE"
9344 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9348 eval "$ac_cv_use_spinbtn"
9349 if test "$no_cache" != 1; then
9350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9353 if test "$wxUSE_SPINBTN" = yes; then
9354 echo "$as_me:$LINENO: result: yes" >&5
9355 echo "${ECHO_T}yes" >&6
9357 echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6
9363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9367 if test "${enable_spinctrl+set}" = set; then
9368 enableval
="$enable_spinctrl"
9370 if test "$enableval" = yes; then
9371 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9373 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9378 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9379 if test "x$LINE" != x
; then
9380 eval "DEFAULT_$LINE"
9385 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9389 eval "$ac_cv_use_spinctrl"
9390 if test "$no_cache" != 1; then
9391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9394 if test "$wxUSE_SPINCTRL" = yes; then
9395 echo "$as_me:$LINENO: result: yes" >&5
9396 echo "${ECHO_T}yes" >&6
9398 echo "$as_me:$LINENO: result: no" >&5
9399 echo "${ECHO_T}no" >&6
9404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9407 # Check whether --enable-splitter or --disable-splitter was given.
9408 if test "${enable_splitter+set}" = set; then
9409 enableval
="$enable_splitter"
9411 if test "$enableval" = yes; then
9412 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9414 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9419 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9420 if test "x$LINE" != x
; then
9421 eval "DEFAULT_$LINE"
9426 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9430 eval "$ac_cv_use_splitter"
9431 if test "$no_cache" != 1; then
9432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9435 if test "$wxUSE_SPLITTER" = yes; then
9436 echo "$as_me:$LINENO: result: yes" >&5
9437 echo "${ECHO_T}yes" >&6
9439 echo "$as_me:$LINENO: result: no" >&5
9440 echo "${ECHO_T}no" >&6
9445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9448 # Check whether --enable-statbmp or --disable-statbmp was given.
9449 if test "${enable_statbmp+set}" = set; then
9450 enableval
="$enable_statbmp"
9452 if test "$enableval" = yes; then
9453 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9455 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9460 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9461 if test "x$LINE" != x
; then
9462 eval "DEFAULT_$LINE"
9467 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9471 eval "$ac_cv_use_statbmp"
9472 if test "$no_cache" != 1; then
9473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9476 if test "$wxUSE_STATBMP" = yes; then
9477 echo "$as_me:$LINENO: result: yes" >&5
9478 echo "${ECHO_T}yes" >&6
9480 echo "$as_me:$LINENO: result: no" >&5
9481 echo "${ECHO_T}no" >&6
9486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9489 # Check whether --enable-statbox or --disable-statbox was given.
9490 if test "${enable_statbox+set}" = set; then
9491 enableval
="$enable_statbox"
9493 if test "$enableval" = yes; then
9494 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9496 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9501 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9502 if test "x$LINE" != x
; then
9503 eval "DEFAULT_$LINE"
9508 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9512 eval "$ac_cv_use_statbox"
9513 if test "$no_cache" != 1; then
9514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9517 if test "$wxUSE_STATBOX" = yes; then
9518 echo "$as_me:$LINENO: result: yes" >&5
9519 echo "${ECHO_T}yes" >&6
9521 echo "$as_me:$LINENO: result: no" >&5
9522 echo "${ECHO_T}no" >&6
9527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9530 # Check whether --enable-statline or --disable-statline was given.
9531 if test "${enable_statline+set}" = set; then
9532 enableval
="$enable_statline"
9534 if test "$enableval" = yes; then
9535 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9537 ac_cv_use_statline
='wxUSE_STATLINE=no'
9542 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9543 if test "x$LINE" != x
; then
9544 eval "DEFAULT_$LINE"
9549 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9553 eval "$ac_cv_use_statline"
9554 if test "$no_cache" != 1; then
9555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9558 if test "$wxUSE_STATLINE" = yes; then
9559 echo "$as_me:$LINENO: result: yes" >&5
9560 echo "${ECHO_T}yes" >&6
9562 echo "$as_me:$LINENO: result: no" >&5
9563 echo "${ECHO_T}no" >&6
9568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9571 # Check whether --enable-stattext or --disable-stattext was given.
9572 if test "${enable_stattext+set}" = set; then
9573 enableval
="$enable_stattext"
9575 if test "$enableval" = yes; then
9576 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9578 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9583 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9584 if test "x$LINE" != x
; then
9585 eval "DEFAULT_$LINE"
9590 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9594 eval "$ac_cv_use_stattext"
9595 if test "$no_cache" != 1; then
9596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9599 if test "$wxUSE_STATTEXT" = yes; then
9600 echo "$as_me:$LINENO: result: yes" >&5
9601 echo "${ECHO_T}yes" >&6
9603 echo "$as_me:$LINENO: result: no" >&5
9604 echo "${ECHO_T}no" >&6
9609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9612 # Check whether --enable-statusbar or --disable-statusbar was given.
9613 if test "${enable_statusbar+set}" = set; then
9614 enableval
="$enable_statusbar"
9616 if test "$enableval" = yes; then
9617 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9619 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9624 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9625 if test "x$LINE" != x
; then
9626 eval "DEFAULT_$LINE"
9631 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9635 eval "$ac_cv_use_statusbar"
9636 if test "$no_cache" != 1; then
9637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9640 if test "$wxUSE_STATUSBAR" = yes; then
9641 echo "$as_me:$LINENO: result: yes" >&5
9642 echo "${ECHO_T}yes" >&6
9644 echo "$as_me:$LINENO: result: no" >&5
9645 echo "${ECHO_T}no" >&6
9650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9654 if test "${enable_tabdialog+set}" = set; then
9655 enableval
="$enable_tabdialog"
9657 if test "$enableval" = yes; then
9658 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9660 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9665 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9666 if test "x$LINE" != x
; then
9667 eval "DEFAULT_$LINE"
9672 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9676 eval "$ac_cv_use_tabdialog"
9677 if test "$no_cache" != 1; then
9678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9681 if test "$wxUSE_TAB_DIALOG" = yes; then
9682 echo "$as_me:$LINENO: result: yes" >&5
9683 echo "${ECHO_T}yes" >&6
9685 echo "$as_me:$LINENO: result: no" >&5
9686 echo "${ECHO_T}no" >&6
9691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9694 # Check whether --enable-textctrl or --disable-textctrl was given.
9695 if test "${enable_textctrl+set}" = set; then
9696 enableval
="$enable_textctrl"
9698 if test "$enableval" = yes; then
9699 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9701 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9706 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x
; then
9708 eval "DEFAULT_$LINE"
9713 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9717 eval "$ac_cv_use_textctrl"
9718 if test "$no_cache" != 1; then
9719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9722 if test "$wxUSE_TEXTCTRL" = yes; then
9723 echo "$as_me:$LINENO: result: yes" >&5
9724 echo "${ECHO_T}yes" >&6
9726 echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6
9732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9736 if test "${enable_togglebtn+set}" = set; then
9737 enableval
="$enable_togglebtn"
9739 if test "$enableval" = yes; then
9740 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9742 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9747 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9748 if test "x$LINE" != x
; then
9749 eval "DEFAULT_$LINE"
9754 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9758 eval "$ac_cv_use_togglebtn"
9759 if test "$no_cache" != 1; then
9760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9763 if test "$wxUSE_TOGGLEBTN" = yes; then
9764 echo "$as_me:$LINENO: result: yes" >&5
9765 echo "${ECHO_T}yes" >&6
9767 echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9776 # Check whether --enable-toolbar or --disable-toolbar was given.
9777 if test "${enable_toolbar+set}" = set; then
9778 enableval
="$enable_toolbar"
9780 if test "$enableval" = yes; then
9781 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9783 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9788 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x
; then
9790 eval "DEFAULT_$LINE"
9795 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9799 eval "$ac_cv_use_toolbar"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9804 if test "$wxUSE_TOOLBAR" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9818 if test "${enable_tbarnative+set}" = set; then
9819 enableval
="$enable_tbarnative"
9821 if test "$enableval" = yes; then
9822 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9824 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9829 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x
; then
9831 eval "DEFAULT_$LINE"
9836 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9840 eval "$ac_cv_use_tbarnative"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9858 # Check whether --enable-treebook or --disable-treebook was given.
9859 if test "${enable_treebook+set}" = set; then
9860 enableval
="$enable_treebook"
9862 if test "$enableval" = yes; then
9863 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9865 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9870 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x
; then
9872 eval "DEFAULT_$LINE"
9877 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9881 eval "$ac_cv_use_treebook"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9886 if test "$wxUSE_TREEBOOK" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9899 # Check whether --enable-toolbook or --disable-toolbook was given.
9900 if test "${enable_toolbook+set}" = set; then
9901 enableval
="$enable_toolbook"
9903 if test "$enableval" = yes; then
9904 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9906 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9911 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x
; then
9913 eval "DEFAULT_$LINE"
9918 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9922 eval "$ac_cv_use_toolbook"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9927 if test "$wxUSE_TOOLBOOK" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9940 # Check whether --enable-treectrl or --disable-treectrl was given.
9941 if test "${enable_treectrl+set}" = set; then
9942 enableval
="$enable_treectrl"
9944 if test "$enableval" = yes; then
9945 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9947 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9952 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x
; then
9954 eval "DEFAULT_$LINE"
9959 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9963 eval "$ac_cv_use_treectrl"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9968 if test "$wxUSE_TREECTRL" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9981 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9982 if test "${enable_tipwindow+set}" = set; then
9983 enableval
="$enable_tipwindow"
9985 if test "$enableval" = yes; then
9986 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9988 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9993 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9994 if test "x$LINE" != x
; then
9995 eval "DEFAULT_$LINE"
10000 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10004 eval "$ac_cv_use_tipwindow"
10005 if test "$no_cache" != 1; then
10006 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10009 if test "$wxUSE_TIPWINDOW" = yes; then
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10022 # Check whether --enable-popupwin or --disable-popupwin was given.
10023 if test "${enable_popupwin+set}" = set; then
10024 enableval
="$enable_popupwin"
10026 if test "$enableval" = yes; then
10027 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10029 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10034 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x
; then
10036 eval "DEFAULT_$LINE"
10041 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10045 eval "$ac_cv_use_popupwin"
10046 if test "$no_cache" != 1; then
10047 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10050 if test "$wxUSE_POPUPWIN" = yes; then
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10054 echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6
10062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10065 # Check whether --enable-commondlg or --disable-commondlg was given.
10066 if test "${enable_commondlg+set}" = set; then
10067 enableval
="$enable_commondlg"
10069 if test "$enableval" = yes; then
10070 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10072 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10077 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10078 if test "x$LINE" != x
; then
10079 eval "DEFAULT_$LINE"
10084 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10088 eval "$ac_cv_use_commondlg"
10089 if test "$no_cache" != 1; then
10090 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10093 if test "$wxUSE_COMMONDLGS" = yes; then
10094 echo "$as_me:$LINENO: result: yes" >&5
10095 echo "${ECHO_T}yes" >&6
10097 echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6
10103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10106 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10107 if test "${enable_aboutdlg+set}" = set; then
10108 enableval
="$enable_aboutdlg"
10110 if test "$enableval" = yes; then
10111 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10113 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10118 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10119 if test "x$LINE" != x
; then
10120 eval "DEFAULT_$LINE"
10125 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10129 eval "$ac_cv_use_aboutdlg"
10130 if test "$no_cache" != 1; then
10131 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10134 if test "$wxUSE_ABOUTDLG" = yes; then
10135 echo "$as_me:$LINENO: result: yes" >&5
10136 echo "${ECHO_T}yes" >&6
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10145 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10147 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10148 if test "${enable_choicedlg+set}" = set; then
10149 enableval
="$enable_choicedlg"
10151 if test "$enableval" = yes; then
10152 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10154 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10159 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10160 if test "x$LINE" != x
; then
10161 eval "DEFAULT_$LINE"
10166 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10170 eval "$ac_cv_use_choicedlg"
10171 if test "$no_cache" != 1; then
10172 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10175 if test "$wxUSE_CHOICEDLG" = yes; then
10176 echo "$as_me:$LINENO: result: yes" >&5
10177 echo "${ECHO_T}yes" >&6
10179 echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6
10185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10188 # Check whether --enable-coldlg or --disable-coldlg was given.
10189 if test "${enable_coldlg+set}" = set; then
10190 enableval
="$enable_coldlg"
10192 if test "$enableval" = yes; then
10193 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10195 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10200 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10201 if test "x$LINE" != x
; then
10202 eval "DEFAULT_$LINE"
10207 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10211 eval "$ac_cv_use_coldlg"
10212 if test "$no_cache" != 1; then
10213 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10216 if test "$wxUSE_COLOURDLG" = yes; then
10217 echo "$as_me:$LINENO: result: yes" >&5
10218 echo "${ECHO_T}yes" >&6
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10229 # Check whether --enable-filedlg or --disable-filedlg was given.
10230 if test "${enable_filedlg+set}" = set; then
10231 enableval
="$enable_filedlg"
10233 if test "$enableval" = yes; then
10234 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10236 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10241 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10242 if test "x$LINE" != x
; then
10243 eval "DEFAULT_$LINE"
10248 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10252 eval "$ac_cv_use_filedlg"
10253 if test "$no_cache" != 1; then
10254 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10257 if test "$wxUSE_FILEDLG" = yes; then
10258 echo "$as_me:$LINENO: result: yes" >&5
10259 echo "${ECHO_T}yes" >&6
10261 echo "$as_me:$LINENO: result: no" >&5
10262 echo "${ECHO_T}no" >&6
10267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10268 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10270 # Check whether --enable-finddlg or --disable-finddlg was given.
10271 if test "${enable_finddlg+set}" = set; then
10272 enableval
="$enable_finddlg"
10274 if test "$enableval" = yes; then
10275 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10277 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10282 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10283 if test "x$LINE" != x
; then
10284 eval "DEFAULT_$LINE"
10289 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10293 eval "$ac_cv_use_finddlg"
10294 if test "$no_cache" != 1; then
10295 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10298 if test "$wxUSE_FINDREPLDLG" = yes; then
10299 echo "$as_me:$LINENO: result: yes" >&5
10300 echo "${ECHO_T}yes" >&6
10302 echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6
10308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10311 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10312 if test "${enable_fontdlg+set}" = set; then
10313 enableval
="$enable_fontdlg"
10315 if test "$enableval" = yes; then
10316 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10318 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10323 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10324 if test "x$LINE" != x
; then
10325 eval "DEFAULT_$LINE"
10330 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10334 eval "$ac_cv_use_fontdlg"
10335 if test "$no_cache" != 1; then
10336 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10339 if test "$wxUSE_FONTDLG" = yes; then
10340 echo "$as_me:$LINENO: result: yes" >&5
10341 echo "${ECHO_T}yes" >&6
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10352 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10353 if test "${enable_dirdlg+set}" = set; then
10354 enableval
="$enable_dirdlg"
10356 if test "$enableval" = yes; then
10357 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10359 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10364 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10365 if test "x$LINE" != x
; then
10366 eval "DEFAULT_$LINE"
10371 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10375 eval "$ac_cv_use_dirdlg"
10376 if test "$no_cache" != 1; then
10377 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10380 if test "$wxUSE_DIRDLG" = yes; then
10381 echo "$as_me:$LINENO: result: yes" >&5
10382 echo "${ECHO_T}yes" >&6
10384 echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10393 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10394 if test "${enable_msgdlg+set}" = set; then
10395 enableval
="$enable_msgdlg"
10397 if test "$enableval" = yes; then
10398 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10400 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10405 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x
; then
10407 eval "DEFAULT_$LINE"
10412 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10416 eval "$ac_cv_use_msgdlg"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10421 if test "$wxUSE_MSGDLG" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10432 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10434 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10435 if test "${enable_numberdlg+set}" = set; then
10436 enableval
="$enable_numberdlg"
10438 if test "$enableval" = yes; then
10439 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10441 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10446 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10447 if test "x$LINE" != x
; then
10448 eval "DEFAULT_$LINE"
10453 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10457 eval "$ac_cv_use_numberdlg"
10458 if test "$no_cache" != 1; then
10459 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10462 if test "$wxUSE_NUMBERDLG" = yes; then
10463 echo "$as_me:$LINENO: result: yes" >&5
10464 echo "${ECHO_T}yes" >&6
10466 echo "$as_me:$LINENO: result: no" >&5
10467 echo "${ECHO_T}no" >&6
10472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10473 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10475 # Check whether --enable-splash or --disable-splash was given.
10476 if test "${enable_splash+set}" = set; then
10477 enableval
="$enable_splash"
10479 if test "$enableval" = yes; then
10480 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10482 ac_cv_use_splash
='wxUSE_SPLASH=no'
10487 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10488 if test "x$LINE" != x
; then
10489 eval "DEFAULT_$LINE"
10494 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10498 eval "$ac_cv_use_splash"
10499 if test "$no_cache" != 1; then
10500 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10503 if test "$wxUSE_SPLASH" = yes; then
10504 echo "$as_me:$LINENO: result: yes" >&5
10505 echo "${ECHO_T}yes" >&6
10507 echo "$as_me:$LINENO: result: no" >&5
10508 echo "${ECHO_T}no" >&6
10513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10516 # Check whether --enable-textdlg or --disable-textdlg was given.
10517 if test "${enable_textdlg+set}" = set; then
10518 enableval
="$enable_textdlg"
10520 if test "$enableval" = yes; then
10521 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10523 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10528 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10529 if test "x$LINE" != x
; then
10530 eval "DEFAULT_$LINE"
10535 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10539 eval "$ac_cv_use_textdlg"
10540 if test "$no_cache" != 1; then
10541 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10544 if test "$wxUSE_TEXTDLG" = yes; then
10545 echo "$as_me:$LINENO: result: yes" >&5
10546 echo "${ECHO_T}yes" >&6
10548 echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6
10554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10557 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10558 if test "${enable_tipdlg+set}" = set; then
10559 enableval
="$enable_tipdlg"
10561 if test "$enableval" = yes; then
10562 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10564 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10569 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x
; then
10571 eval "DEFAULT_$LINE"
10576 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10580 eval "$ac_cv_use_tipdlg"
10581 if test "$no_cache" != 1; then
10582 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10585 if test "$wxUSE_STARTUP_TIPS" = yes; then
10586 echo "$as_me:$LINENO: result: yes" >&5
10587 echo "${ECHO_T}yes" >&6
10589 echo "$as_me:$LINENO: result: no" >&5
10590 echo "${ECHO_T}no" >&6
10595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10598 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10599 if test "${enable_progressdlg+set}" = set; then
10600 enableval
="$enable_progressdlg"
10602 if test "$enableval" = yes; then
10603 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10605 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10610 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10611 if test "x$LINE" != x
; then
10612 eval "DEFAULT_$LINE"
10617 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10621 eval "$ac_cv_use_progressdlg"
10622 if test "$no_cache" != 1; then
10623 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10626 if test "$wxUSE_PROGRESSDLG" = yes; then
10627 echo "$as_me:$LINENO: result: yes" >&5
10628 echo "${ECHO_T}yes" >&6
10630 echo "$as_me:$LINENO: result: no" >&5
10631 echo "${ECHO_T}no" >&6
10636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10639 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10640 if test "${enable_wizarddlg+set}" = set; then
10641 enableval
="$enable_wizarddlg"
10643 if test "$enableval" = yes; then
10644 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10646 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10651 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10652 if test "x$LINE" != x
; then
10653 eval "DEFAULT_$LINE"
10658 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10662 eval "$ac_cv_use_wizarddlg"
10663 if test "$no_cache" != 1; then
10664 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10667 if test "$wxUSE_WIZARDDLG" = yes; then
10668 echo "$as_me:$LINENO: result: yes" >&5
10669 echo "${ECHO_T}yes" >&6
10671 echo "$as_me:$LINENO: result: no" >&5
10672 echo "${ECHO_T}no" >&6
10679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10682 # Check whether --enable-menus or --disable-menus was given.
10683 if test "${enable_menus+set}" = set; then
10684 enableval
="$enable_menus"
10686 if test "$enableval" = yes; then
10687 ac_cv_use_menus
='wxUSE_MENUS=yes'
10689 ac_cv_use_menus
='wxUSE_MENUS=no'
10694 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10695 if test "x$LINE" != x
; then
10696 eval "DEFAULT_$LINE"
10701 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10705 eval "$ac_cv_use_menus"
10706 if test "$no_cache" != 1; then
10707 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10710 if test "$wxUSE_MENUS" = yes; then
10711 echo "$as_me:$LINENO: result: yes" >&5
10712 echo "${ECHO_T}yes" >&6
10714 echo "$as_me:$LINENO: result: no" >&5
10715 echo "${ECHO_T}no" >&6
10720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10721 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10723 # Check whether --enable-miniframe or --disable-miniframe was given.
10724 if test "${enable_miniframe+set}" = set; then
10725 enableval
="$enable_miniframe"
10727 if test "$enableval" = yes; then
10728 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10730 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10735 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10736 if test "x$LINE" != x
; then
10737 eval "DEFAULT_$LINE"
10742 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10746 eval "$ac_cv_use_miniframe"
10747 if test "$no_cache" != 1; then
10748 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10751 if test "$wxUSE_MINIFRAME" = yes; then
10752 echo "$as_me:$LINENO: result: yes" >&5
10753 echo "${ECHO_T}yes" >&6
10755 echo "$as_me:$LINENO: result: no" >&5
10756 echo "${ECHO_T}no" >&6
10761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10762 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10764 # Check whether --enable-tooltips or --disable-tooltips was given.
10765 if test "${enable_tooltips+set}" = set; then
10766 enableval
="$enable_tooltips"
10768 if test "$enableval" = yes; then
10769 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10771 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10776 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10777 if test "x$LINE" != x
; then
10778 eval "DEFAULT_$LINE"
10783 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10787 eval "$ac_cv_use_tooltips"
10788 if test "$no_cache" != 1; then
10789 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10792 if test "$wxUSE_TOOLTIPS" = yes; then
10793 echo "$as_me:$LINENO: result: yes" >&5
10794 echo "${ECHO_T}yes" >&6
10796 echo "$as_me:$LINENO: result: no" >&5
10797 echo "${ECHO_T}no" >&6
10802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10805 # Check whether --enable-splines or --disable-splines was given.
10806 if test "${enable_splines+set}" = set; then
10807 enableval
="$enable_splines"
10809 if test "$enableval" = yes; then
10810 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10812 ac_cv_use_splines
='wxUSE_SPLINES=no'
10817 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10818 if test "x$LINE" != x
; then
10819 eval "DEFAULT_$LINE"
10824 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10828 eval "$ac_cv_use_splines"
10829 if test "$no_cache" != 1; then
10830 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10833 if test "$wxUSE_SPLINES" = yes; then
10834 echo "$as_me:$LINENO: result: yes" >&5
10835 echo "${ECHO_T}yes" >&6
10837 echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6
10843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10846 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10847 if test "${enable_mousewheel+set}" = set; then
10848 enableval
="$enable_mousewheel"
10850 if test "$enableval" = yes; then
10851 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10853 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10858 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10859 if test "x$LINE" != x
; then
10860 eval "DEFAULT_$LINE"
10865 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10869 eval "$ac_cv_use_mousewheel"
10870 if test "$no_cache" != 1; then
10871 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10874 if test "$wxUSE_MOUSEWHEEL" = yes; then
10875 echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10887 # Check whether --enable-validators or --disable-validators was given.
10888 if test "${enable_validators+set}" = set; then
10889 enableval
="$enable_validators"
10891 if test "$enableval" = yes; then
10892 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10894 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10899 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10900 if test "x$LINE" != x
; then
10901 eval "DEFAULT_$LINE"
10906 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10910 eval "$ac_cv_use_validators"
10911 if test "$no_cache" != 1; then
10912 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10915 if test "$wxUSE_VALIDATORS" = yes; then
10916 echo "$as_me:$LINENO: result: yes" >&5
10917 echo "${ECHO_T}yes" >&6
10919 echo "$as_me:$LINENO: result: no" >&5
10920 echo "${ECHO_T}no" >&6
10925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10928 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10929 if test "${enable_busyinfo+set}" = set; then
10930 enableval
="$enable_busyinfo"
10932 if test "$enableval" = yes; then
10933 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10935 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10940 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10941 if test "x$LINE" != x
; then
10942 eval "DEFAULT_$LINE"
10947 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10951 eval "$ac_cv_use_busyinfo"
10952 if test "$no_cache" != 1; then
10953 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10956 if test "$wxUSE_BUSYINFO" = yes; then
10957 echo "$as_me:$LINENO: result: yes" >&5
10958 echo "${ECHO_T}yes" >&6
10960 echo "$as_me:$LINENO: result: no" >&5
10961 echo "${ECHO_T}no" >&6
10966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10969 # Check whether --enable-joystick or --disable-joystick was given.
10970 if test "${enable_joystick+set}" = set; then
10971 enableval
="$enable_joystick"
10973 if test "$enableval" = yes; then
10974 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10976 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10981 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10982 if test "x$LINE" != x
; then
10983 eval "DEFAULT_$LINE"
10988 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10992 eval "$ac_cv_use_joystick"
10993 if test "$no_cache" != 1; then
10994 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10997 if test "$wxUSE_JOYSTICK" = yes; then
10998 echo "$as_me:$LINENO: result: yes" >&5
10999 echo "${ECHO_T}yes" >&6
11001 echo "$as_me:$LINENO: result: no" >&5
11002 echo "${ECHO_T}no" >&6
11007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11010 # Check whether --enable-metafile or --disable-metafile was given.
11011 if test "${enable_metafile+set}" = set; then
11012 enableval
="$enable_metafile"
11014 if test "$enableval" = yes; then
11015 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11017 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11022 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11023 if test "x$LINE" != x
; then
11024 eval "DEFAULT_$LINE"
11029 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11033 eval "$ac_cv_use_metafile"
11034 if test "$no_cache" != 1; then
11035 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11038 if test "$wxUSE_METAFILE" = yes; then
11039 echo "$as_me:$LINENO: result: yes" >&5
11040 echo "${ECHO_T}yes" >&6
11042 echo "$as_me:$LINENO: result: no" >&5
11043 echo "${ECHO_T}no" >&6
11048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11049 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11051 # Check whether --enable-dragimage or --disable-dragimage was given.
11052 if test "${enable_dragimage+set}" = set; then
11053 enableval
="$enable_dragimage"
11055 if test "$enableval" = yes; then
11056 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11058 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11063 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11064 if test "x$LINE" != x
; then
11065 eval "DEFAULT_$LINE"
11070 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11074 eval "$ac_cv_use_dragimage"
11075 if test "$no_cache" != 1; then
11076 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11079 if test "$wxUSE_DRAGIMAGE" = yes; then
11080 echo "$as_me:$LINENO: result: yes" >&5
11081 echo "${ECHO_T}yes" >&6
11083 echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6
11089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11090 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11092 # Check whether --enable-accessibility or --disable-accessibility was given.
11093 if test "${enable_accessibility+set}" = set; then
11094 enableval
="$enable_accessibility"
11096 if test "$enableval" = yes; then
11097 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11099 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11104 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11105 if test "x$LINE" != x
; then
11106 eval "DEFAULT_$LINE"
11111 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11115 eval "$ac_cv_use_accessibility"
11116 if test "$no_cache" != 1; then
11117 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11120 if test "$wxUSE_ACCESSIBILITY" = yes; then
11121 echo "$as_me:$LINENO: result: yes" >&5
11122 echo "${ECHO_T}yes" >&6
11124 echo "$as_me:$LINENO: result: no" >&5
11125 echo "${ECHO_T}no" >&6
11129 if test "$wxUSE_MSW" = "1"; then
11132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11133 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11135 # Check whether --enable-dccache or --disable-dccache was given.
11136 if test "${enable_dccache+set}" = set; then
11137 enableval
="$enable_dccache"
11139 if test "$enableval" = yes; then
11140 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11142 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11147 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11148 if test "x$LINE" != x
; then
11149 eval "DEFAULT_$LINE"
11154 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11158 eval "$ac_cv_use_dccache"
11159 if test "$no_cache" != 1; then
11160 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11163 if test "$wxUSE_DC_CACHEING" = yes; then
11164 echo "$as_me:$LINENO: result: yes" >&5
11165 echo "${ECHO_T}yes" >&6
11167 echo "$as_me:$LINENO: result: no" >&5
11168 echo "${ECHO_T}no" >&6
11176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11177 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11179 # Check whether --enable-palette or --disable-palette was given.
11180 if test "${enable_palette+set}" = set; then
11181 enableval
="$enable_palette"
11183 if test "$enableval" = yes; then
11184 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11186 ac_cv_use_palette
='wxUSE_PALETTE=no'
11191 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11192 if test "x$LINE" != x
; then
11193 eval "DEFAULT_$LINE"
11198 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11202 eval "$ac_cv_use_palette"
11203 if test "$no_cache" != 1; then
11204 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11207 if test "$wxUSE_PALETTE" = yes; then
11208 echo "$as_me:$LINENO: result: yes" >&5
11209 echo "${ECHO_T}yes" >&6
11211 echo "$as_me:$LINENO: result: no" >&5
11212 echo "${ECHO_T}no" >&6
11217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11218 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11220 # Check whether --enable-image or --disable-image was given.
11221 if test "${enable_image+set}" = set; then
11222 enableval
="$enable_image"
11224 if test "$enableval" = yes; then
11225 ac_cv_use_image
='wxUSE_IMAGE=yes'
11227 ac_cv_use_image
='wxUSE_IMAGE=no'
11232 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11233 if test "x$LINE" != x
; then
11234 eval "DEFAULT_$LINE"
11239 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11243 eval "$ac_cv_use_image"
11244 if test "$no_cache" != 1; then
11245 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11248 if test "$wxUSE_IMAGE" = yes; then
11249 echo "$as_me:$LINENO: result: yes" >&5
11250 echo "${ECHO_T}yes" >&6
11252 echo "$as_me:$LINENO: result: no" >&5
11253 echo "${ECHO_T}no" >&6
11258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11261 # Check whether --enable-gif or --disable-gif was given.
11262 if test "${enable_gif+set}" = set; then
11263 enableval
="$enable_gif"
11265 if test "$enableval" = yes; then
11266 ac_cv_use_gif
='wxUSE_GIF=yes'
11268 ac_cv_use_gif
='wxUSE_GIF=no'
11273 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11274 if test "x$LINE" != x
; then
11275 eval "DEFAULT_$LINE"
11280 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11284 eval "$ac_cv_use_gif"
11285 if test "$no_cache" != 1; then
11286 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11289 if test "$wxUSE_GIF" = yes; then
11290 echo "$as_me:$LINENO: result: yes" >&5
11291 echo "${ECHO_T}yes" >&6
11293 echo "$as_me:$LINENO: result: no" >&5
11294 echo "${ECHO_T}no" >&6
11299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11302 # Check whether --enable-pcx or --disable-pcx was given.
11303 if test "${enable_pcx+set}" = set; then
11304 enableval
="$enable_pcx"
11306 if test "$enableval" = yes; then
11307 ac_cv_use_pcx
='wxUSE_PCX=yes'
11309 ac_cv_use_pcx
='wxUSE_PCX=no'
11314 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11315 if test "x$LINE" != x
; then
11316 eval "DEFAULT_$LINE"
11321 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11325 eval "$ac_cv_use_pcx"
11326 if test "$no_cache" != 1; then
11327 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11330 if test "$wxUSE_PCX" = yes; then
11331 echo "$as_me:$LINENO: result: yes" >&5
11332 echo "${ECHO_T}yes" >&6
11334 echo "$as_me:$LINENO: result: no" >&5
11335 echo "${ECHO_T}no" >&6
11340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11343 # Check whether --enable-iff or --disable-iff was given.
11344 if test "${enable_iff+set}" = set; then
11345 enableval
="$enable_iff"
11347 if test "$enableval" = yes; then
11348 ac_cv_use_iff
='wxUSE_IFF=yes'
11350 ac_cv_use_iff
='wxUSE_IFF=no'
11355 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11356 if test "x$LINE" != x
; then
11357 eval "DEFAULT_$LINE"
11362 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11366 eval "$ac_cv_use_iff"
11367 if test "$no_cache" != 1; then
11368 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11371 if test "$wxUSE_IFF" = yes; then
11372 echo "$as_me:$LINENO: result: yes" >&5
11373 echo "${ECHO_T}yes" >&6
11375 echo "$as_me:$LINENO: result: no" >&5
11376 echo "${ECHO_T}no" >&6
11381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11384 # Check whether --enable-pnm or --disable-pnm was given.
11385 if test "${enable_pnm+set}" = set; then
11386 enableval
="$enable_pnm"
11388 if test "$enableval" = yes; then
11389 ac_cv_use_pnm
='wxUSE_PNM=yes'
11391 ac_cv_use_pnm
='wxUSE_PNM=no'
11396 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11397 if test "x$LINE" != x
; then
11398 eval "DEFAULT_$LINE"
11403 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11407 eval "$ac_cv_use_pnm"
11408 if test "$no_cache" != 1; then
11409 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11412 if test "$wxUSE_PNM" = yes; then
11413 echo "$as_me:$LINENO: result: yes" >&5
11414 echo "${ECHO_T}yes" >&6
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11425 # Check whether --enable-xpm or --disable-xpm was given.
11426 if test "${enable_xpm+set}" = set; then
11427 enableval
="$enable_xpm"
11429 if test "$enableval" = yes; then
11430 ac_cv_use_xpm
='wxUSE_XPM=yes'
11432 ac_cv_use_xpm
='wxUSE_XPM=no'
11437 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11438 if test "x$LINE" != x
; then
11439 eval "DEFAULT_$LINE"
11444 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11448 eval "$ac_cv_use_xpm"
11449 if test "$no_cache" != 1; then
11450 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11453 if test "$wxUSE_XPM" = yes; then
11454 echo "$as_me:$LINENO: result: yes" >&5
11455 echo "${ECHO_T}yes" >&6
11457 echo "$as_me:$LINENO: result: no" >&5
11458 echo "${ECHO_T}no" >&6
11463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11464 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11466 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11467 if test "${enable_ico_cur+set}" = set; then
11468 enableval
="$enable_ico_cur"
11470 if test "$enableval" = yes; then
11471 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11473 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11478 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11479 if test "x$LINE" != x
; then
11480 eval "DEFAULT_$LINE"
11485 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11489 eval "$ac_cv_use_ico_cur"
11490 if test "$no_cache" != 1; then
11491 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11494 if test "$wxUSE_ICO_CUR" = yes; then
11495 echo "$as_me:$LINENO: result: yes" >&5
11496 echo "${ECHO_T}yes" >&6
11498 echo "$as_me:$LINENO: result: no" >&5
11499 echo "${ECHO_T}no" >&6
11507 # Check whether --with-flavour or --without-flavour was given.
11508 if test "${with_flavour+set}" = set; then
11509 withval
="$with_flavour"
11510 WX_FLAVOUR
="$withval"
11516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11519 # Check whether --enable-official_build or --disable-official_build was given.
11520 if test "${enable_official_build+set}" = set; then
11521 enableval
="$enable_official_build"
11523 if test "$enableval" = yes; then
11524 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11526 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11531 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11532 if test "x$LINE" != x
; then
11533 eval "DEFAULT_$LINE"
11538 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11542 eval "$ac_cv_use_official_build"
11543 if test "$no_cache" != 1; then
11544 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11547 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11548 echo "$as_me:$LINENO: result: yes" >&5
11549 echo "${ECHO_T}yes" >&6
11551 echo "$as_me:$LINENO: result: no" >&5
11552 echo "${ECHO_T}no" >&6
11555 # Check whether --enable-vendor or --disable-vendor was given.
11556 if test "${enable_vendor+set}" = set; then
11557 enableval
="$enable_vendor"
11558 VENDOR
="$enableval"
11560 if test "x$VENDOR" = "x"; then
11567 echo "saving argument cache $wx_arg_cache_file"
11568 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11572 echo "$as_me:$LINENO: checking for toolkit" >&5
11573 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11575 # In Wine, we need to default to MSW, not GTK or MOTIF
11576 if test "$wxUSE_WINE" = "yes"; then
11577 DEFAULT_DEFAULT_wxUSE_GTK
=0
11578 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11579 DEFAULT_DEFAULT_wxUSE_MSW
=1
11584 if test "$wxUSE_GUI" = "yes"; then
11586 if test "$USE_BEOS" = 1; then
11587 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11588 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11589 { (exit 1); exit 1; }; }
11592 if test "$TOOLKIT_GIVEN" = 1; then
11593 for toolkit
in `echo $ALL_TOOLKITS`; do
11595 eval "value=\$${var}"
11596 if test "x$value" = "xno"; then
11598 elif test "x$value" != "x"; then
11602 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11603 eval "wx${toolkit}_VERSION=$value"
11607 for toolkit
in `echo $ALL_TOOLKITS`; do
11608 if test "$has_toolkit_in_cache" != 1; then
11609 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11611 var
=DEFAULT_wxUSE_
$toolkit
11613 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11614 if test "x$version" != "x"; then
11615 eval "wx${toolkit}_VERSION=$version"
11618 eval "wxUSE_$toolkit=\$${var}"
11622 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11623 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11624 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11627 *-pc-os2_emx | *-pc-os2-emx )
11628 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11631 case "$NUM_TOOLKITS" in
11635 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11636 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11637 { (exit 1); exit 1; }; }
11640 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11641 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11642 { (exit 1); exit 1; }; }
11645 # to be removed when --disable-gtk2 isn't needed
11646 if test "x$wxUSE_GTK2" = "xyes"; then
11648 elif test "x$wxUSE_GTK2" = "xno"; then
11652 for toolkit
in `echo $ALL_TOOLKITS`; do
11654 eval "value=\$${var}"
11655 if test "x$value" != x
; then
11656 cache_var
=CACHE_
$toolkit
11657 eval "cache=\$${cache_var}"
11658 if test "$cache" = 1; then
11659 echo "$var=$value" >> ${wx_arg_cache_file}
11660 eval "version=\$wx${toolkit}_VERSION"
11661 if test "x$version" != "x"; then
11662 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11665 if test "$value" = 1; then
11666 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11667 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11668 echo "${ECHO_T}$toolkit_echo" >&6
11673 if test "x$host_alias" != "x"; then
11674 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11675 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11677 echo "$as_me:$LINENO: result: base only" >&5
11678 echo "${ECHO_T}base only" >&6
11683 doesnt_want_win32
=0
11686 if test "$wxUSE_MSW" = 1 ; then
11688 BAKEFILE_FORCE_PLATFORM
=win32
11690 doesnt_want_win32
=1
11698 if test "$wxUSE_WINE" = "yes"; then
11702 LDFLAGS_GUI
="-mwindows"
11705 if test "$wants_win32" = 1 ; then
11708 cat >>confdefs.h
<<\_ACEOF
11709 #define __WIN32__ 1
11712 cat >>confdefs.h
<<\_ACEOF
11713 #define __WIN95__ 1
11716 cat >>confdefs.h
<<\_ACEOF
11717 #define __WINDOWS__ 1
11720 cat >>confdefs.h
<<\_ACEOF
11721 #define __GNUWIN32__ 1
11724 cat >>confdefs.h
<<\_ACEOF
11728 cat >>confdefs.h
<<\_ACEOF
11729 #define WINVER 0x0400
11733 if test "$doesnt_want_win32" = 1 ; then
11738 if test "$USE_UNIX" = 1 ; then
11740 cat >>confdefs.h
<<\_ACEOF
11747 cat >confcache
<<\_ACEOF
11748 # This file is a shell script that caches the results of configure
11749 # tests run on this system so they can be shared between configure
11750 # scripts and configure runs, see configure's option --config-cache.
11751 # It is not useful on other systems. If it contains results you don't
11752 # want to keep, you may remove or edit it.
11754 # config.status only pays attention to the cache file if you give it
11755 # the --recheck option to rerun configure.
11757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11759 # following values.
11763 # The following way of writing the cache mishandles newlines in values,
11764 # but we know of no workaround that is simple, portable, and efficient.
11765 # So, don't put newlines in cache variables' values.
11766 # Ultrix sh set writes to stderr and can't be redirected directly,
11767 # and sets the high bit in the cache file unless we assign to the vars.
11770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11772 # `set' does not quote correctly, so add quotes (double-quote
11773 # substitution turns \\\\ into \\, and sed turns \\ into \).
11776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11779 # `set' quotes correctly as required by POSIX, so do not add quotes.
11781 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11790 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11792 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11793 if test -w $cache_file; then
11794 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11795 cat confcache
>$cache_file
11797 echo "not updating unwritable cache $cache_file"
11807 ac_cpp
='$CPP $CPPFLAGS'
11808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11811 if test -n "$ac_tool_prefix"; then
11812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11813 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11814 echo "$as_me:$LINENO: checking for $ac_word" >&5
11815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11816 if test "${ac_cv_prog_CC+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 if test -n "$CC"; then
11820 ac_cv_prog_CC
="$CC" # Let the user override the test.
11822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11823 for as_dir
in $PATH
11826 test -z "$as_dir" && as_dir
=.
11827 for ac_exec_ext
in '' $ac_executable_extensions; do
11828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11829 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11839 if test -n "$CC"; then
11840 echo "$as_me:$LINENO: result: $CC" >&5
11841 echo "${ECHO_T}$CC" >&6
11843 echo "$as_me:$LINENO: result: no" >&5
11844 echo "${ECHO_T}no" >&6
11848 if test -z "$ac_cv_prog_CC"; then
11850 # Extract the first word of "gcc", so it can be a program name with args.
11851 set dummy gcc
; ac_word
=$2
11852 echo "$as_me:$LINENO: checking for $ac_word" >&5
11853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 if test -n "$ac_ct_CC"; then
11858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11861 for as_dir
in $PATH
11864 test -z "$as_dir" && as_dir
=.
11865 for ac_exec_ext
in '' $ac_executable_extensions; do
11866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11867 ac_cv_prog_ac_ct_CC
="gcc"
11868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11877 if test -n "$ac_ct_CC"; then
11878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11879 echo "${ECHO_T}$ac_ct_CC" >&6
11881 echo "$as_me:$LINENO: result: no" >&5
11882 echo "${ECHO_T}no" >&6
11887 CC
="$ac_cv_prog_CC"
11890 if test -z "$CC"; then
11891 if test -n "$ac_tool_prefix"; then
11892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11893 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11894 echo "$as_me:$LINENO: checking for $ac_word" >&5
11895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11896 if test "${ac_cv_prog_CC+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 if test -n "$CC"; then
11900 ac_cv_prog_CC
="$CC" # Let the user override the test.
11902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11903 for as_dir
in $PATH
11906 test -z "$as_dir" && as_dir
=.
11907 for ac_exec_ext
in '' $ac_executable_extensions; do
11908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11909 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11919 if test -n "$CC"; then
11920 echo "$as_me:$LINENO: result: $CC" >&5
11921 echo "${ECHO_T}$CC" >&6
11923 echo "$as_me:$LINENO: result: no" >&5
11924 echo "${ECHO_T}no" >&6
11928 if test -z "$ac_cv_prog_CC"; then
11930 # Extract the first word of "cc", so it can be a program name with args.
11931 set dummy cc
; ac_word
=$2
11932 echo "$as_me:$LINENO: checking for $ac_word" >&5
11933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 if test -n "$ac_ct_CC"; then
11938 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11941 for as_dir
in $PATH
11944 test -z "$as_dir" && as_dir
=.
11945 for ac_exec_ext
in '' $ac_executable_extensions; do
11946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_prog_ac_ct_CC
="cc"
11948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11956 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11957 if test -n "$ac_ct_CC"; then
11958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11959 echo "${ECHO_T}$ac_ct_CC" >&6
11961 echo "$as_me:$LINENO: result: no" >&5
11962 echo "${ECHO_T}no" >&6
11967 CC
="$ac_cv_prog_CC"
11971 if test -z "$CC"; then
11972 # Extract the first word of "cc", so it can be a program name with args.
11973 set dummy cc
; ac_word
=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_CC+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 if test -n "$CC"; then
11980 ac_cv_prog_CC
="$CC" # Let the user override the test.
11982 ac_prog_rejected
=no
11983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11984 for as_dir
in $PATH
11987 test -z "$as_dir" && as_dir
=.
11988 for ac_exec_ext
in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11991 ac_prog_rejected
=yes
11995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12001 if test $ac_prog_rejected = yes; then
12002 # We found a bogon in the path, so make sure we never use it.
12003 set dummy
$ac_cv_prog_CC
12005 if test $# != 0; then
12006 # We chose a different compiler from the bogus one.
12007 # However, it has the same basename, so the bogon will be chosen
12008 # first if we set CC to just the basename; use the full file name.
12010 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12016 if test -n "$CC"; then
12017 echo "$as_me:$LINENO: result: $CC" >&5
12018 echo "${ECHO_T}$CC" >&6
12020 echo "$as_me:$LINENO: result: no" >&5
12021 echo "${ECHO_T}no" >&6
12025 if test -z "$CC"; then
12026 if test -n "$ac_tool_prefix"; then
12029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12030 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12031 echo "$as_me:$LINENO: checking for $ac_word" >&5
12032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12033 if test "${ac_cv_prog_CC+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 if test -n "$CC"; then
12037 ac_cv_prog_CC
="$CC" # Let the user override the test.
12039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12040 for as_dir
in $PATH
12043 test -z "$as_dir" && as_dir
=.
12044 for ac_exec_ext
in '' $ac_executable_extensions; do
12045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12046 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 if test -n "$CC"; then
12057 echo "$as_me:$LINENO: result: $CC" >&5
12058 echo "${ECHO_T}$CC" >&6
12060 echo "$as_me:$LINENO: result: no" >&5
12061 echo "${ECHO_T}no" >&6
12064 test -n "$CC" && break
12067 if test -z "$CC"; then
12071 # Extract the first word of "$ac_prog", so it can be a program name with args.
12072 set dummy
$ac_prog; ac_word
=$2
12073 echo "$as_me:$LINENO: checking for $ac_word" >&5
12074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 if test -n "$ac_ct_CC"; then
12079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12082 for as_dir
in $PATH
12085 test -z "$as_dir" && as_dir
=.
12086 for ac_exec_ext
in '' $ac_executable_extensions; do
12087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12088 ac_cv_prog_ac_ct_CC
="$ac_prog"
12089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12098 if test -n "$ac_ct_CC"; then
12099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12100 echo "${ECHO_T}$ac_ct_CC" >&6
12102 echo "$as_me:$LINENO: result: no" >&5
12103 echo "${ECHO_T}no" >&6
12106 test -n "$ac_ct_CC" && break
12115 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12116 See \`config.log' for more details." >&5
12117 echo "$as_me: error: no acceptable C compiler found in \$PATH
12118 See \`config.log' for more details." >&2;}
12119 { (exit 1); exit 1; }; }
12121 # Provide some information about the compiler.
12122 echo "$as_me:$LINENO:" \
12123 "checking for C compiler version" >&5
12124 ac_compiler
=`set X $ac_compile; echo $2`
12125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12126 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }
12130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12131 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }
12135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12136 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }
12141 cat >conftest.
$ac_ext <<_ACEOF
12144 cat confdefs.h
>>conftest.
$ac_ext
12145 cat >>conftest.
$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12156 ac_clean_files_save
=$ac_clean_files
12157 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12158 # Try to create an executable without -o first, disregard a.out.
12159 # It will help us diagnose broken compilers, and finding out an intuition
12161 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12162 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12163 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12164 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12165 (eval $ac_link_default) 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; then
12169 # Find the output, starting from the most likely. This scheme is
12170 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12173 # Be careful to initialize this variable, since it used to be cached.
12174 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12176 # b.out is created by i960 compilers.
12177 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12179 test -f "$ac_file" || continue
12181 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12184 # This is the source file.
12187 # We found the default executable, but exeext='' is most
12191 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12192 # FIXME: I believe we export ac_cv_exeext for Libtool,
12193 # but it would be cool to find out if it's true. Does anybody
12194 # maintain Libtool? --akim.
12195 export ac_cv_exeext
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.
$ac_ext >&5
12205 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12206 See \`config.log' for more details." >&5
12207 echo "$as_me: error: C compiler cannot create executables
12208 See \`config.log' for more details." >&2;}
12209 { (exit 77); exit 77; }; }
12212 ac_exeext
=$ac_cv_exeext
12213 echo "$as_me:$LINENO: result: $ac_file" >&5
12214 echo "${ECHO_T}$ac_file" >&6
12216 # Check the compiler produces executables we can run. If not, either
12217 # the compiler is broken, or we cross compile.
12218 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12219 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12220 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12221 # If not cross compiling, check that we can run a simple program.
12222 if test "$cross_compiling" != yes; then
12223 if { ac_try
='./$ac_file'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12231 if test "$cross_compiling" = maybe
; then
12232 cross_compiling
=yes
12234 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12235 If you meant to cross compile, use \`--host'.
12236 See \`config.log' for more details." >&5
12237 echo "$as_me: error: cannot run C compiled programs.
12238 If you meant to cross compile, use \`--host'.
12239 See \`config.log' for more details." >&2;}
12240 { (exit 1); exit 1; }; }
12244 echo "$as_me:$LINENO: result: yes" >&5
12245 echo "${ECHO_T}yes" >&6
12247 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12248 ac_clean_files
=$ac_clean_files_save
12249 # Check the compiler produces executables we can run. If not, either
12250 # the compiler is broken, or we cross compile.
12251 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12253 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12254 echo "${ECHO_T}$cross_compiling" >&6
12256 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12257 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12259 (eval $ac_link) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; then
12263 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12264 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12265 # work properly (i.e., refer to `conftest.exe'), while it won't with
12267 for ac_file
in conftest.exe conftest conftest.
*; do
12268 test -f "$ac_file" || continue
12270 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12271 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12272 export ac_cv_exeext
12278 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12279 See \`config.log' for more details." >&5
12280 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12281 See \`config.log' for more details." >&2;}
12282 { (exit 1); exit 1; }; }
12285 rm -f conftest
$ac_cv_exeext
12286 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12287 echo "${ECHO_T}$ac_cv_exeext" >&6
12289 rm -f conftest.
$ac_ext
12290 EXEEXT
=$ac_cv_exeext
12292 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12293 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12294 if test "${ac_cv_objext+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 cat >conftest.
$ac_ext <<_ACEOF
12300 cat confdefs.h
>>conftest.
$ac_ext
12301 cat >>conftest.
$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12312 rm -f conftest.o conftest.obj
12313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12314 (eval $ac_compile) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; then
12318 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12320 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12321 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.
$ac_ext >&5
12329 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12330 See \`config.log' for more details." >&5
12331 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12332 See \`config.log' for more details." >&2;}
12333 { (exit 1); exit 1; }; }
12336 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12338 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12339 echo "${ECHO_T}$ac_cv_objext" >&6
12340 OBJEXT
=$ac_cv_objext
12342 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12343 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12344 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12347 cat >conftest.
$ac_ext <<_ACEOF
12350 cat confdefs.h
>>conftest.
$ac_ext
12351 cat >>conftest.
$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12365 rm -f conftest.
$ac_objext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12367 (eval $ac_compile) 2>conftest.er1
12369 grep -v '^ *+' conftest.er1
>conftest.err
12371 cat conftest.err
>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try
='test -s conftest.$ac_objext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 ac_compiler_gnu
=yes
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.
$ac_ext >&5
12393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12394 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12397 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12398 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12399 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12400 ac_test_CFLAGS
=${CFLAGS+set}
12401 ac_save_CFLAGS
=$CFLAGS
12403 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12404 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12405 if test "${ac_cv_prog_cc_g+set}" = set; then
12406 echo $ECHO_N "(cached) $ECHO_C" >&6
12408 cat >conftest.
$ac_ext <<_ACEOF
12411 cat confdefs.h
>>conftest.
$ac_ext
12412 cat >>conftest.
$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12423 rm -f conftest.
$ac_objext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12425 (eval $ac_compile) 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; } &&
12438 { ac_try
='test -s conftest.$ac_objext'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; }; then
12444 ac_cv_prog_cc_g
=yes
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.
$ac_ext >&5
12451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12453 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12454 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12455 if test "$ac_test_CFLAGS" = set; then
12456 CFLAGS
=$ac_save_CFLAGS
12457 elif test $ac_cv_prog_cc_g = yes; then
12458 if test "$GCC" = yes; then
12464 if test "$GCC" = yes; then
12470 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12471 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12472 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12475 ac_cv_prog_cc_stdc
=no
12477 cat >conftest.
$ac_ext <<_ACEOF
12480 cat confdefs.h
>>conftest.
$ac_ext
12481 cat >>conftest.
$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 #include <stdarg.h>
12485 #include <sys/types.h>
12486 #include <sys/stat.h>
12487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12488 struct buf { int x; };
12489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12490 static char *e (p, i)
12496 static char *f (char * (*g) (char **, int), char **p, ...)
12501 s = g (p, va_arg (v,int));
12506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12507 function prototypes and stuff, but not '\xHH' hex character constants.
12508 These don't provoke an error unfortunately, instead are silently treated
12509 as 'x'. The following induces an error, until -std1 is added to get
12510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12511 array size at least. It's necessary to write '\x00'==0 to get something
12512 that's true only with -std1. */
12513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12515 int test (int i, double x);
12516 struct s1 {int (*f) (int a);};
12517 struct s2 {int (*f) (double a);};
12518 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12524 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12529 # Don't try gcc -ansi; that turns off useful extensions and
12530 # breaks some systems' header files.
12531 # AIX -qlanglvl=ansi
12532 # Ultrix and OSF/1 -std1
12533 # HP-UX 10.20 and later -Ae
12534 # HP-UX older versions -Aa -D_HPUX_SOURCE
12535 # SVR4 -Xc -D__EXTENSIONS__
12536 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12538 CC
="$ac_save_CC $ac_arg"
12539 rm -f conftest.
$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try
='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_prog_cc_stdc
=$ac_arg
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12567 rm -f conftest.err conftest.
$ac_objext
12569 rm -f conftest.
$ac_ext conftest.
$ac_objext
12574 case "x$ac_cv_prog_cc_stdc" in
12576 echo "$as_me:$LINENO: result: none needed" >&5
12577 echo "${ECHO_T}none needed" >&6 ;;
12579 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12580 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12581 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12584 # Some people use a C++ compiler to compile C. Since we use `exit',
12585 # in C++ we need to declare it. In case someone uses the same compiler
12586 # for both compiling C and C++ we need to have the C++ compiler decide
12587 # the declaration of exit, since it's the most demanding environment.
12588 cat >conftest.
$ac_ext <<_ACEOF
12589 #ifndef __cplusplus
12593 rm -f conftest.
$ac_objext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12595 (eval $ac_compile) 2>conftest.er1
12597 grep -v '^ *+' conftest.er1
>conftest.err
12599 cat conftest.err
>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try
='test -s conftest.$ac_objext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 for ac_declaration
in \
12616 'extern "C" void std::exit (int) throw (); using std::exit;' \
12617 'extern "C" void std::exit (int); using std::exit;' \
12618 'extern "C" void exit (int) throw ();' \
12619 'extern "C" void exit (int);' \
12622 cat >conftest.
$ac_ext <<_ACEOF
12625 cat confdefs.h
>>conftest.
$ac_ext
12626 cat >>conftest.
$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12629 #include <stdlib.h>
12638 rm -f conftest.
$ac_objext
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>conftest.er1
12642 grep -v '^ *+' conftest.er1
>conftest.err
12644 cat conftest.err
>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } &&
12647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; } &&
12653 { ac_try
='test -s conftest.$ac_objext'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; }; then
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.
$ac_ext >&5
12666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12667 cat >conftest.
$ac_ext <<_ACEOF
12670 cat confdefs.h
>>conftest.
$ac_ext
12671 cat >>conftest.
$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12682 rm -f conftest.
$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12686 grep -v '^ *+' conftest.er1
>conftest.err
12688 cat conftest.err
>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try
='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.
$ac_ext >&5
12709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12712 if test -n "$ac_declaration"; then
12713 echo '#ifdef __cplusplus' >>confdefs.h
12714 echo $ac_declaration >>confdefs.h
12715 echo '#endif' >>confdefs.h
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.
$ac_ext >&5
12723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12725 ac_cpp
='$CPP $CPPFLAGS'
12726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12733 ac_cpp
='$CPP $CPPFLAGS'
12734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12738 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12739 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12740 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12743 cat >conftest.
$ac_ext <<_ACEOF
12746 cat confdefs.h
>>conftest.
$ac_ext
12747 cat >>conftest.
$ac_ext <<_ACEOF
12748 /* end confdefs.h. */
12754 #ifndef __INTEL_COMPILER
12762 rm -f conftest.
$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>conftest.er1
12766 grep -v '^ *+' conftest.er1
>conftest.err
12768 cat conftest.err
>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try
='test -s conftest.$ac_objext'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.
$ac_ext >&5
12788 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12795 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12796 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12798 ac_cpp
='$CPP $CPPFLAGS'
12799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12803 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12810 if test "x$GCC" != "xyes"; then
12811 if test "xCC" = "xC"; then
12812 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12813 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12814 if test "${bakefile_cv_c_exto+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 cat >conftest.
$ac_ext <<_ACEOF
12820 cat confdefs.h
>>conftest.
$ac_ext
12821 cat >>conftest.
$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12832 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12834 (eval $ac_compile) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; then
12838 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12840 conftest.
$ac_ext.o
)
12841 bakefile_cv_c_exto
="-ext o"
12848 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12849 See \`config.log' for more details." >&5
12850 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12851 See \`config.log' for more details." >&2;}
12852 { (exit 1); exit 1; }; }
12856 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12859 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12860 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12861 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12862 if test "c" = "c"; then
12863 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12865 if test "c" = "cxx"; then
12866 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12870 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12871 unset ac_cv_prog_cc_g
12872 ac_test_CFLAGS
=${CFLAGS+set}
12873 ac_save_CFLAGS
=$CFLAGS
12875 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12876 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12877 if test "${ac_cv_prog_cc_g+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12880 cat >conftest.
$ac_ext <<_ACEOF
12883 cat confdefs.h
>>conftest.
$ac_ext
12884 cat >>conftest.
$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12895 rm -f conftest.
$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12899 grep -v '^ *+' conftest.er1
>conftest.err
12901 cat conftest.err
>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try
='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 ac_cv_prog_cc_g
=yes
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.
$ac_ext >&5
12923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12925 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12926 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12927 if test "$ac_test_CFLAGS" = set; then
12928 CFLAGS
=$ac_save_CFLAGS
12929 elif test $ac_cv_prog_cc_g = yes; then
12930 if test "$GCC" = yes; then
12936 if test "$GCC" = yes; then
12948 ac_cpp
='$CPP $CPPFLAGS'
12949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12953 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12954 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12955 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12956 echo $ECHO_N "(cached) $ECHO_C" >&6
12958 cat >conftest.
$ac_ext <<_ACEOF
12961 cat confdefs.h
>>conftest.
$ac_ext
12962 cat >>conftest.
$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12976 rm -f conftest.
$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12980 grep -v '^ *+' conftest.er1
>conftest.err
12982 cat conftest.err
>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; } &&
12991 { ac_try
='test -s conftest.$ac_objext'
12992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993 (eval $ac_try) 2>&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; }; then
12997 bakefile_compiler_xlc
=yes
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.
$ac_ext >&5
13002 bakefile_compiler_xlc
=no
13004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13005 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13008 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13009 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13011 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13013 ac_cpp
='$CPP $CPPFLAGS'
13014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13023 ac_cpp
='$CPP $CPPFLAGS'
13024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13028 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13029 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13030 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 cat >conftest.
$ac_ext <<_ACEOF
13036 cat confdefs.h
>>conftest.
$ac_ext
13037 cat >>conftest.
$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13051 rm -f conftest.
$ac_objext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13053 (eval $ac_compile) 2>conftest.er1
13055 grep -v '^ *+' conftest.er1
>conftest.err
13057 cat conftest.err
>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try
='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 bakefile_compiler_mwerks
=yes
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.
$ac_ext >&5
13077 bakefile_compiler_mwerks
=no
13079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13080 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13083 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13084 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13086 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13088 ac_cpp
='$CPP $CPPFLAGS'
13089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13095 ac_cpp
='$CPP $CPPFLAGS'
13096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13100 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13101 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13102 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 cat >conftest.
$ac_ext <<_ACEOF
13108 cat confdefs.h
>>conftest.
$ac_ext
13109 cat >>conftest.
$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13123 rm -f conftest.
$ac_objext
13124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13125 (eval $ac_compile) 2>conftest.er1
13127 grep -v '^ *+' conftest.er1
>conftest.err
13129 cat conftest.err
>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } &&
13132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try
='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 bakefile_compiler_xlc
=yes
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.
$ac_ext >&5
13149 bakefile_compiler_xlc
=no
13151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13155 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13156 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13158 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13160 ac_cpp
='$CPP $CPPFLAGS'
13161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13172 ac_cpp
='$CPP $CPPFLAGS'
13173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13177 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13178 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13179 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 cat >conftest.
$ac_ext <<_ACEOF
13185 cat confdefs.h
>>conftest.
$ac_ext
13186 cat >>conftest.
$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13193 #ifndef _SGI_COMPILER_VERSION
13201 rm -f conftest.
$ac_objext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13203 (eval $ac_compile) 2>conftest.er1
13205 grep -v '^ *+' conftest.er1
>conftest.err
13207 cat conftest.err
>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } &&
13210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 (eval $ac_try) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; } &&
13216 { ac_try
='test -s conftest.$ac_objext'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; }; then
13222 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.
$ac_ext >&5
13227 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13234 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13235 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13237 ac_cpp
='$CPP $CPPFLAGS'
13238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13242 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13255 ac_cpp
='$CPP $CPPFLAGS'
13256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13260 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13261 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13262 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13268 cat confdefs.h
>>conftest.
$ac_ext
13269 cat >>conftest.
$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13284 rm -f conftest.
$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1
>conftest.err
13290 cat conftest.err
>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try
='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_cv_c_compiler___HP_cc
=yes
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.
$ac_ext >&5
13310 bakefile_cv_c_compiler___HP_cc
=no
13313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13317 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13318 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13320 ac_cpp
='$CPP $CPPFLAGS'
13321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13325 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13338 ac_cpp
='$CPP $CPPFLAGS'
13339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13343 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13344 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13345 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 cat >conftest.
$ac_ext <<_ACEOF
13351 cat confdefs.h
>>conftest.
$ac_ext
13352 cat >>conftest.
$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13367 rm -f conftest.
$ac_objext
13368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13369 (eval $ac_compile) 2>conftest.er1
13371 grep -v '^ *+' conftest.er1
>conftest.err
13373 cat conftest.err
>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try
='test -s conftest.$ac_objext'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; }; then
13388 bakefile_cv_c_compiler___DECC
=yes
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.
$ac_ext >&5
13393 bakefile_cv_c_compiler___DECC
=no
13396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13400 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13401 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13403 ac_cpp
='$CPP $CPPFLAGS'
13404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13408 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13421 ac_cpp
='$CPP $CPPFLAGS'
13422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13426 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13427 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13428 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13431 cat >conftest.
$ac_ext <<_ACEOF
13434 cat confdefs.h
>>conftest.
$ac_ext
13435 cat >>conftest.
$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13450 rm -f conftest.
$ac_objext
13451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13452 (eval $ac_compile) 2>conftest.er1
13454 grep -v '^ *+' conftest.er1
>conftest.err
13456 cat conftest.err
>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; } &&
13465 { ac_try
='test -s conftest.$ac_objext'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13471 bakefile_cv_c_compiler___SUNPRO_C
=yes
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.
$ac_ext >&5
13476 bakefile_cv_c_compiler___SUNPRO_C
=no
13479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13483 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13484 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13486 ac_cpp
='$CPP $CPPFLAGS'
13487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13491 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13505 ac_cpp
='$CPP $CPPFLAGS'
13506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13509 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13511 # On Suns, sometimes $CPP names a directory.
13512 if test -n "$CPP" && test -d "$CPP"; then
13515 if test -z "$CPP"; then
13516 if test "${ac_cv_prog_CPP+set}" = set; then
13517 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 # Double quotes because CPP needs to be expanded
13520 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13522 ac_preproc_ok
=false
13523 for ac_c_preproc_warn_flag
in '' yes
13525 # Use a header file that comes with gcc, so configuring glibc
13526 # with a fresh cross-compiler works.
13527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13528 # <limits.h> exists even on freestanding compilers.
13529 # On the NeXT, cc -E runs the code through the compiler's parser,
13530 # not just through cpp. "Syntax error" is here to catch this case.
13531 cat >conftest.
$ac_ext <<_ACEOF
13534 cat confdefs.h
>>conftest.
$ac_ext
13535 cat >>conftest.
$ac_ext <<_ACEOF
13536 /* end confdefs.h. */
13538 # include <limits.h>
13540 # include <assert.h>
13544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13547 grep -v '^ *+' conftest.er1
>conftest.err
13549 cat conftest.err
>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } >/dev
/null
; then
13552 if test -s conftest.err
; then
13553 ac_cpp_err
=$ac_c_preproc_warn_flag
13554 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13561 if test -z "$ac_cpp_err"; then
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 # Broken: fails on valid input.
13570 rm -f conftest.err conftest.
$ac_ext
13572 # OK, works on sane cases. Now check whether non-existent headers
13573 # can be detected and how.
13574 cat >conftest.
$ac_ext <<_ACEOF
13577 cat confdefs.h
>>conftest.
$ac_ext
13578 cat >>conftest.
$ac_ext <<_ACEOF
13579 /* end confdefs.h. */
13580 #include <ac_nonexistent.h>
13582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13585 grep -v '^ *+' conftest.er1
>conftest.err
13587 cat conftest.err
>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } >/dev
/null
; then
13590 if test -s conftest.err
; then
13591 ac_cpp_err
=$ac_c_preproc_warn_flag
13592 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13599 if test -z "$ac_cpp_err"; then
13600 # Broken: success on invalid input.
13603 echo "$as_me: failed program was:" >&5
13604 sed 's/^/| /' conftest.
$ac_ext >&5
13606 # Passes both tests.
13610 rm -f conftest.err conftest.
$ac_ext
13613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13614 rm -f conftest.err conftest.
$ac_ext
13615 if $ac_preproc_ok; then
13620 ac_cv_prog_CPP
=$CPP
13623 CPP
=$ac_cv_prog_CPP
13625 ac_cv_prog_CPP
=$CPP
13627 echo "$as_me:$LINENO: result: $CPP" >&5
13628 echo "${ECHO_T}$CPP" >&6
13629 ac_preproc_ok
=false
13630 for ac_c_preproc_warn_flag
in '' yes
13632 # Use a header file that comes with gcc, so configuring glibc
13633 # with a fresh cross-compiler works.
13634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13635 # <limits.h> exists even on freestanding compilers.
13636 # On the NeXT, cc -E runs the code through the compiler's parser,
13637 # not just through cpp. "Syntax error" is here to catch this case.
13638 cat >conftest.
$ac_ext <<_ACEOF
13641 cat confdefs.h
>>conftest.
$ac_ext
13642 cat >>conftest.
$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13645 # include <limits.h>
13647 # include <assert.h>
13651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13654 grep -v '^ *+' conftest.er1
>conftest.err
13656 cat conftest.err
>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } >/dev
/null
; then
13659 if test -s conftest.err
; then
13660 ac_cpp_err
=$ac_c_preproc_warn_flag
13661 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13668 if test -z "$ac_cpp_err"; then
13671 echo "$as_me: failed program was:" >&5
13672 sed 's/^/| /' conftest.
$ac_ext >&5
13674 # Broken: fails on valid input.
13677 rm -f conftest.err conftest.
$ac_ext
13679 # OK, works on sane cases. Now check whether non-existent headers
13680 # can be detected and how.
13681 cat >conftest.
$ac_ext <<_ACEOF
13684 cat confdefs.h
>>conftest.
$ac_ext
13685 cat >>conftest.
$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687 #include <ac_nonexistent.h>
13689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13692 grep -v '^ *+' conftest.er1
>conftest.err
13694 cat conftest.err
>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } >/dev
/null
; then
13697 if test -s conftest.err
; then
13698 ac_cpp_err
=$ac_c_preproc_warn_flag
13699 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13706 if test -z "$ac_cpp_err"; then
13707 # Broken: success on invalid input.
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.
$ac_ext >&5
13713 # Passes both tests.
13717 rm -f conftest.err conftest.
$ac_ext
13720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13721 rm -f conftest.err conftest.
$ac_ext
13722 if $ac_preproc_ok; then
13725 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13726 See \`config.log' for more details." >&5
13727 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13728 See \`config.log' for more details." >&2;}
13729 { (exit 1); exit 1; }; }
13733 ac_cpp
='$CPP $CPPFLAGS'
13734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13739 echo "$as_me:$LINENO: checking for egrep" >&5
13740 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13741 if test "${ac_cv_prog_egrep+set}" = set; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13745 then ac_cv_prog_egrep
='grep -E'
13746 else ac_cv_prog_egrep
='egrep'
13749 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13750 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13751 EGREP
=$ac_cv_prog_egrep
13754 if test $ac_cv_c_compiler_gnu = yes; then
13755 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13756 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13757 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13758 echo $ECHO_N "(cached) $ECHO_C" >&6
13760 ac_pattern
="Autoconf.*'x'"
13761 cat >conftest.
$ac_ext <<_ACEOF
13764 cat confdefs.h
>>conftest.
$ac_ext
13765 cat >>conftest.
$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13771 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13772 ac_cv_prog_gcc_traditional
=yes
13774 ac_cv_prog_gcc_traditional
=no
13779 if test $ac_cv_prog_gcc_traditional = no
; then
13780 cat >conftest.
$ac_ext <<_ACEOF
13783 cat confdefs.h
>>conftest.
$ac_ext
13784 cat >>conftest.
$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13786 #include <termio.h>
13789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13790 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13791 ac_cv_prog_gcc_traditional
=yes
13797 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13798 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13799 if test $ac_cv_prog_gcc_traditional = yes; then
13800 CC
="$CC -traditional"
13806 ac_cpp
='$CXXCPP $CPPFLAGS'
13807 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13812 CXXFLAGS
=${CXXFLAGS:=}
13817 ac_cpp
='$CXXCPP $CPPFLAGS'
13818 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13819 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13821 if test -n "$ac_tool_prefix"; then
13822 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13825 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13826 echo "$as_me:$LINENO: checking for $ac_word" >&5
13827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13828 if test "${ac_cv_prog_CXX+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 if test -n "$CXX"; then
13832 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13835 for as_dir
in $PATH
13838 test -z "$as_dir" && as_dir
=.
13839 for ac_exec_ext
in '' $ac_executable_extensions; do
13840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13841 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13850 CXX
=$ac_cv_prog_CXX
13851 if test -n "$CXX"; then
13852 echo "$as_me:$LINENO: result: $CXX" >&5
13853 echo "${ECHO_T}$CXX" >&6
13855 echo "$as_me:$LINENO: result: no" >&5
13856 echo "${ECHO_T}no" >&6
13859 test -n "$CXX" && break
13862 if test -z "$CXX"; then
13864 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13866 # Extract the first word of "$ac_prog", so it can be a program name with args.
13867 set dummy
$ac_prog; ac_word
=$2
13868 echo "$as_me:$LINENO: checking for $ac_word" >&5
13869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13870 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 if test -n "$ac_ct_CXX"; then
13874 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13877 for as_dir
in $PATH
13880 test -z "$as_dir" && as_dir
=.
13881 for ac_exec_ext
in '' $ac_executable_extensions; do
13882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13883 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13892 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13893 if test -n "$ac_ct_CXX"; then
13894 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13895 echo "${ECHO_T}$ac_ct_CXX" >&6
13897 echo "$as_me:$LINENO: result: no" >&5
13898 echo "${ECHO_T}no" >&6
13901 test -n "$ac_ct_CXX" && break
13903 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13909 # Provide some information about the compiler.
13910 echo "$as_me:$LINENO:" \
13911 "checking for C++ compiler version" >&5
13912 ac_compiler
=`set X $ac_compile; echo $2`
13913 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13914 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }
13918 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13919 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }
13923 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13924 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }
13929 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13930 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13931 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 cat >conftest.
$ac_ext <<_ACEOF
13937 cat confdefs.h
>>conftest.
$ac_ext
13938 cat >>conftest.
$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13952 rm -f conftest.
$ac_objext
13953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13954 (eval $ac_compile) 2>conftest.er1
13956 grep -v '^ *+' conftest.er1
>conftest.err
13958 cat conftest.err
>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } &&
13961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try
='test -s conftest.$ac_objext'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; }; then
13973 ac_compiler_gnu
=yes
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.
$ac_ext >&5
13980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13981 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13984 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13985 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13986 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13987 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13988 ac_save_CXXFLAGS
=$CXXFLAGS
13990 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13991 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13992 if test "${ac_cv_prog_cxx_g+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 cat >conftest.
$ac_ext <<_ACEOF
13998 cat confdefs.h
>>conftest.
$ac_ext
13999 cat >>conftest.
$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14010 rm -f conftest.
$ac_objext
14011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14012 (eval $ac_compile) 2>conftest.er1
14014 grep -v '^ *+' conftest.er1
>conftest.err
14016 cat conftest.err
>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } &&
14019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try
='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_cv_prog_cxx_g
=yes
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.
$ac_ext >&5
14036 ac_cv_prog_cxx_g
=no
14038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14040 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14041 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14042 if test "$ac_test_CXXFLAGS" = set; then
14043 CXXFLAGS
=$ac_save_CXXFLAGS
14044 elif test $ac_cv_prog_cxx_g = yes; then
14045 if test "$GXX" = yes; then
14051 if test "$GXX" = yes; then
14057 for ac_declaration
in \
14059 'extern "C" void std::exit (int) throw (); using std::exit;' \
14060 'extern "C" void std::exit (int); using std::exit;' \
14061 'extern "C" void exit (int) throw ();' \
14062 'extern "C" void exit (int);' \
14065 cat >conftest.
$ac_ext <<_ACEOF
14068 cat confdefs.h
>>conftest.
$ac_ext
14069 cat >>conftest.
$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14072 #include <stdlib.h>
14081 rm -f conftest.
$ac_objext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14083 (eval $ac_compile) 2>conftest.er1
14085 grep -v '^ *+' conftest.er1
>conftest.err
14087 cat conftest.err
>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } &&
14090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try
='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.
$ac_ext >&5
14109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14110 cat >conftest.
$ac_ext <<_ACEOF
14113 cat confdefs.h
>>conftest.
$ac_ext
14114 cat >>conftest.
$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14125 rm -f conftest.
$ac_objext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14127 (eval $ac_compile) 2>conftest.er1
14129 grep -v '^ *+' conftest.er1
>conftest.err
14131 cat conftest.err
>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } &&
14134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14136 (eval $ac_try) 2>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); }; } &&
14140 { ac_try
='test -s conftest.$ac_objext'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; }; then
14148 echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.
$ac_ext >&5
14152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14155 if test -n "$ac_declaration"; then
14156 echo '#ifdef __cplusplus' >>confdefs.h
14157 echo $ac_declaration >>confdefs.h
14158 echo '#endif' >>confdefs.h
14162 ac_cpp
='$CXXCPP $CPPFLAGS'
14163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14170 ac_cpp
='$CXXCPP $CPPFLAGS'
14171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14175 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14176 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14177 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 cat >conftest.
$ac_ext <<_ACEOF
14183 cat confdefs.h
>>conftest.
$ac_ext
14184 cat >>conftest.
$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14191 #ifndef __INTEL_COMPILER
14199 rm -f conftest.
$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201 (eval $ac_compile) 2>conftest.er1
14203 grep -v '^ *+' conftest.er1
>conftest.err
14205 cat conftest.err
>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } &&
14208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14210 (eval $ac_try) 2>&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); }; } &&
14214 { ac_try
='test -s conftest.$ac_objext'
14215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216 (eval $ac_try) 2>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); }; }; then
14220 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.
$ac_ext >&5
14225 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14232 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14233 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14235 ac_cpp
='$CXXCPP $CPPFLAGS'
14236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14240 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14247 if test "x$GCXX" != "xyes"; then
14248 if test "xCXX" = "xC"; then
14249 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14250 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14251 if test "${bakefile_cv_cxx_exto+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 cat >conftest.
$ac_ext <<_ACEOF
14257 cat confdefs.h
>>conftest.
$ac_ext
14258 cat >>conftest.
$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14269 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; then
14275 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14277 conftest.
$ac_ext.o
)
14278 bakefile_cv_cxx_exto
="-ext o"
14285 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14286 See \`config.log' for more details." >&5
14287 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14288 See \`config.log' for more details." >&2;}
14289 { (exit 1); exit 1; }; }
14293 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14296 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14297 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14298 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14299 if test "cxx" = "c"; then
14300 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14302 if test "cxx" = "cxx"; then
14303 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14307 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14308 unset ac_cv_prog_cc_g
14309 ac_test_CFLAGS
=${CFLAGS+set}
14310 ac_save_CFLAGS
=$CFLAGS
14312 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14313 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14314 if test "${ac_cv_prog_cc_g+set}" = set; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14317 cat >conftest.
$ac_ext <<_ACEOF
14320 cat confdefs.h
>>conftest.
$ac_ext
14321 cat >>conftest.
$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14332 rm -f conftest.
$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>conftest.er1
14336 grep -v '^ *+' conftest.er1
>conftest.err
14338 cat conftest.err
>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } &&
14341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try
='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 ac_cv_prog_cc_g
=yes
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.
$ac_ext >&5
14360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14362 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14363 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14364 if test "$ac_test_CFLAGS" = set; then
14365 CFLAGS
=$ac_save_CFLAGS
14366 elif test $ac_cv_prog_cc_g = yes; then
14367 if test "$GCC" = yes; then
14373 if test "$GCC" = yes; then
14385 ac_cpp
='$CXXCPP $CPPFLAGS'
14386 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14387 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14388 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14390 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14391 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14392 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 cat >conftest.
$ac_ext <<_ACEOF
14398 cat confdefs.h
>>conftest.
$ac_ext
14399 cat >>conftest.
$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14413 rm -f conftest.
$ac_objext
14414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14415 (eval $ac_compile) 2>conftest.er1
14417 grep -v '^ *+' conftest.er1
>conftest.err
14419 cat conftest.err
>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; } &&
14428 { ac_try
='test -s conftest.$ac_objext'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14434 bakefile_compiler_xlc
=yes
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.
$ac_ext >&5
14439 bakefile_compiler_xlc
=no
14441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14442 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14445 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14446 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14448 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14450 ac_cpp
='$CXXCPP $CPPFLAGS'
14451 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14452 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14453 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14460 ac_cpp
='$CXXCPP $CPPFLAGS'
14461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14465 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14466 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14467 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 cat >conftest.
$ac_ext <<_ACEOF
14473 cat confdefs.h
>>conftest.
$ac_ext
14474 cat >>conftest.
$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14488 rm -f conftest.
$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>conftest.er1
14492 grep -v '^ *+' conftest.er1
>conftest.err
14494 cat conftest.err
>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try
='test -s conftest.$ac_objext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 bakefile_compiler_mwerks
=yes
14511 echo "$as_me: failed program was:" >&5
14512 sed 's/^/| /' conftest.
$ac_ext >&5
14514 bakefile_compiler_mwerks
=no
14516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14517 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14520 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14521 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14523 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14525 ac_cpp
='$CXXCPP $CPPFLAGS'
14526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14532 ac_cpp
='$CXXCPP $CPPFLAGS'
14533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14537 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14538 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14539 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 cat >conftest.
$ac_ext <<_ACEOF
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14560 rm -f conftest.
$ac_objext
14561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14562 (eval $ac_compile) 2>conftest.er1
14564 grep -v '^ *+' conftest.er1
>conftest.err
14566 cat conftest.err
>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); } &&
14569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14571 (eval $ac_try) 2>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; } &&
14575 { ac_try
='test -s conftest.$ac_objext'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; }; then
14581 bakefile_compiler_xlc
=yes
14583 echo "$as_me: failed program was:" >&5
14584 sed 's/^/| /' conftest.
$ac_ext >&5
14586 bakefile_compiler_xlc
=no
14588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14589 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14592 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14593 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14595 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14597 ac_cpp
='$CXXCPP $CPPFLAGS'
14598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14609 ac_cpp
='$CXXCPP $CPPFLAGS'
14610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14614 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14615 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14616 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 cat >conftest.
$ac_ext <<_ACEOF
14622 cat confdefs.h
>>conftest.
$ac_ext
14623 cat >>conftest.
$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14630 #ifndef _SGI_COMPILER_VERSION
14638 rm -f conftest.
$ac_objext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14640 (eval $ac_compile) 2>conftest.er1
14642 grep -v '^ *+' conftest.er1
>conftest.err
14644 cat conftest.err
>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
14653 { ac_try
='test -s conftest.$ac_objext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.
$ac_ext >&5
14664 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14671 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14672 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14674 ac_cpp
='$CXXCPP $CPPFLAGS'
14675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14679 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14692 ac_cpp
='$CXXCPP $CPPFLAGS'
14693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14697 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14698 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14699 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 cat >conftest.
$ac_ext <<_ACEOF
14705 cat confdefs.h
>>conftest.
$ac_ext
14706 cat >>conftest.
$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try
='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 bakefile_cv_cxx_compiler___HP_aCC
=yes
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.
$ac_ext >&5
14747 bakefile_cv_cxx_compiler___HP_aCC
=no
14750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14754 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14755 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14757 ac_cpp
='$CXXCPP $CPPFLAGS'
14758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14762 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14775 ac_cpp
='$CXXCPP $CPPFLAGS'
14776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14780 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14781 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14782 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 cat >conftest.
$ac_ext <<_ACEOF
14788 cat confdefs.h
>>conftest.
$ac_ext
14789 cat >>conftest.
$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14804 rm -f conftest.
$ac_objext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14806 (eval $ac_compile) 2>conftest.er1
14808 grep -v '^ *+' conftest.er1
>conftest.err
14810 cat conftest.err
>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try
='test -s conftest.$ac_objext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 bakefile_cv_cxx_compiler___DECCXX
=yes
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14830 bakefile_cv_cxx_compiler___DECCXX
=no
14833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14837 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14838 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14840 ac_cpp
='$CXXCPP $CPPFLAGS'
14841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14845 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14858 ac_cpp
='$CXXCPP $CPPFLAGS'
14859 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14860 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14861 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14863 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14864 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14865 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 cat >conftest.
$ac_ext <<_ACEOF
14871 cat confdefs.h
>>conftest.
$ac_ext
14872 cat >>conftest.
$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14879 #ifndef __SUNPRO_CC
14887 rm -f conftest.
$ac_objext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>conftest.er1
14891 grep -v '^ *+' conftest.er1
>conftest.err
14893 cat conftest.err
>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try
='test -s conftest.$ac_objext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14920 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14921 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14923 ac_cpp
='$CXXCPP $CPPFLAGS'
14924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14928 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14941 if test -n "$ac_tool_prefix"; then
14942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14943 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14944 echo "$as_me:$LINENO: checking for $ac_word" >&5
14945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14946 if test "${ac_cv_prog_RANLIB+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 if test -n "$RANLIB"; then
14950 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14953 for as_dir
in $PATH
14956 test -z "$as_dir" && as_dir
=.
14957 for ac_exec_ext
in '' $ac_executable_extensions; do
14958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14959 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14968 RANLIB
=$ac_cv_prog_RANLIB
14969 if test -n "$RANLIB"; then
14970 echo "$as_me:$LINENO: result: $RANLIB" >&5
14971 echo "${ECHO_T}$RANLIB" >&6
14973 echo "$as_me:$LINENO: result: no" >&5
14974 echo "${ECHO_T}no" >&6
14978 if test -z "$ac_cv_prog_RANLIB"; then
14979 ac_ct_RANLIB
=$RANLIB
14980 # Extract the first word of "ranlib", so it can be a program name with args.
14981 set dummy ranlib
; ac_word
=$2
14982 echo "$as_me:$LINENO: checking for $ac_word" >&5
14983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 if test -n "$ac_ct_RANLIB"; then
14988 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14991 for as_dir
in $PATH
14994 test -z "$as_dir" && as_dir
=.
14995 for ac_exec_ext
in '' $ac_executable_extensions; do
14996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14997 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15004 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15007 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15008 if test -n "$ac_ct_RANLIB"; then
15009 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15010 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15012 echo "$as_me:$LINENO: result: no" >&5
15013 echo "${ECHO_T}no" >&6
15016 RANLIB
=$ac_ct_RANLIB
15018 RANLIB
="$ac_cv_prog_RANLIB"
15022 if test -n "$ac_tool_prefix"; then
15023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15024 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15025 echo "$as_me:$LINENO: checking for $ac_word" >&5
15026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15027 if test "${ac_cv_prog_AR+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 if test -n "$AR"; then
15031 ac_cv_prog_AR
="$AR" # Let the user override the test.
15033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15034 for as_dir
in $PATH
15037 test -z "$as_dir" && as_dir
=.
15038 for ac_exec_ext
in '' $ac_executable_extensions; do
15039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15040 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15050 if test -n "$AR"; then
15051 echo "$as_me:$LINENO: result: $AR" >&5
15052 echo "${ECHO_T}$AR" >&6
15054 echo "$as_me:$LINENO: result: no" >&5
15055 echo "${ECHO_T}no" >&6
15059 if test -z "$ac_cv_prog_AR"; then
15061 # Extract the first word of "ar", so it can be a program name with args.
15062 set dummy
ar; ac_word
=$2
15063 echo "$as_me:$LINENO: checking for $ac_word" >&5
15064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15068 if test -n "$ac_ct_AR"; then
15069 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15072 for as_dir
in $PATH
15075 test -z "$as_dir" && as_dir
=.
15076 for ac_exec_ext
in '' $ac_executable_extensions; do
15077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15078 ac_cv_prog_ac_ct_AR
="ar"
15079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15087 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15088 if test -n "$ac_ct_AR"; then
15089 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15090 echo "${ECHO_T}$ac_ct_AR" >&6
15092 echo "$as_me:$LINENO: result: no" >&5
15093 echo "${ECHO_T}no" >&6
15098 AR
="$ac_cv_prog_AR"
15101 if test "x$AR" = "x" ; then
15102 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15103 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15104 { (exit 1); exit 1; }; }
15107 # Find a good install program. We prefer a C program (faster),
15108 # so one script is as good as another. But avoid the broken or
15109 # incompatible versions:
15110 # SysV /etc/install, /usr/sbin/install
15111 # SunOS /usr/etc/install
15112 # IRIX /sbin/install
15114 # AmigaOS /C/install, which installs bootblocks on floppy discs
15115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15118 # OS/2's system install, which has a completely different semantic
15119 # ./install, which can be erroneously created by make from ./install.sh.
15120 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15121 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15122 if test -z "$INSTALL"; then
15123 if test "${ac_cv_path_install+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15127 for as_dir
in $PATH
15130 test -z "$as_dir" && as_dir
=.
15131 # Account for people who put trailing slashes in PATH elements.
15133 .
/ | .
// | /cC
/* | \
15134 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15135 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15138 # OSF1 and SCO ODT 3.0 have their own names for install.
15139 # Don't use installbsd from OSF since it installs stuff as root
15141 for ac_prog
in ginstall scoinst
install; do
15142 for ac_exec_ext
in '' $ac_executable_extensions; do
15143 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15144 if test $ac_prog = install &&
15145 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15146 # AIX install. It has an incompatible calling convention.
15148 elif test $ac_prog = install &&
15149 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15150 # program-specific install script used by HP pwplus--don't use.
15153 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15165 if test "${ac_cv_path_install+set}" = set; then
15166 INSTALL
=$ac_cv_path_install
15168 # As a last resort, use the slow shell script. We don't cache a
15169 # path for INSTALL within a source directory, because that will
15170 # break other packages using the cache if that directory is
15171 # removed, or if the path is relative.
15172 INSTALL
=$ac_install_sh
15175 echo "$as_me:$LINENO: result: $INSTALL" >&5
15176 echo "${ECHO_T}$INSTALL" >&6
15178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15179 # It thinks the first close brace ends the variable substitution.
15180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15184 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15190 ?
:* ) # Drive letter, considered as absolute.
15193 INSTALL
=`pwd`/${INSTALL} ;;
15200 INSTALL_PROGRAM
="cp -fp"
15201 INSTALL_DATA
="cp -fp"
15207 if test -n "$ac_tool_prefix"; then
15208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15209 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15210 echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15212 if test "${ac_cv_prog_STRIP+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 if test -n "$STRIP"; then
15216 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15219 for as_dir
in $PATH
15222 test -z "$as_dir" && as_dir
=.
15223 for ac_exec_ext
in '' $ac_executable_extensions; do
15224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15225 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 STRIP
=$ac_cv_prog_STRIP
15235 if test -n "$STRIP"; then
15236 echo "$as_me:$LINENO: result: $STRIP" >&5
15237 echo "${ECHO_T}$STRIP" >&6
15239 echo "$as_me:$LINENO: result: no" >&5
15240 echo "${ECHO_T}no" >&6
15244 if test -z "$ac_cv_prog_STRIP"; then
15246 # Extract the first word of "strip", so it can be a program name with args.
15247 set dummy strip
; ac_word
=$2
15248 echo "$as_me:$LINENO: checking for $ac_word" >&5
15249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15250 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 if test -n "$ac_ct_STRIP"; then
15254 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15257 for as_dir
in $PATH
15260 test -z "$as_dir" && as_dir
=.
15261 for ac_exec_ext
in '' $ac_executable_extensions; do
15262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15263 ac_cv_prog_ac_ct_STRIP
="strip"
15264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15270 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15273 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15274 if test -n "$ac_ct_STRIP"; then
15275 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15276 echo "${ECHO_T}$ac_ct_STRIP" >&6
15278 echo "$as_me:$LINENO: result: no" >&5
15279 echo "${ECHO_T}no" >&6
15284 STRIP
="$ac_cv_prog_STRIP"
15288 if test "$wxUSE_WINE" = "yes"; then
15289 if test -n "$ac_tool_prefix"; then
15290 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15291 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15292 echo "$as_me:$LINENO: checking for $ac_word" >&5
15293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15294 if test "${ac_cv_prog_WINDRES+set}" = set; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 if test -n "$WINDRES"; then
15298 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15301 for as_dir
in $PATH
15304 test -z "$as_dir" && as_dir
=.
15305 for ac_exec_ext
in '' $ac_executable_extensions; do
15306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15307 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15316 WINDRES
=$ac_cv_prog_WINDRES
15317 if test -n "$WINDRES"; then
15318 echo "$as_me:$LINENO: result: $WINDRES" >&5
15319 echo "${ECHO_T}$WINDRES" >&6
15321 echo "$as_me:$LINENO: result: no" >&5
15322 echo "${ECHO_T}no" >&6
15326 if test -z "$ac_cv_prog_WINDRES"; then
15327 ac_ct_WINDRES
=$WINDRES
15328 # Extract the first word of "wrc", so it can be a program name with args.
15329 set dummy wrc
; ac_word
=$2
15330 echo "$as_me:$LINENO: checking for $ac_word" >&5
15331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15332 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 if test -n "$ac_ct_WINDRES"; then
15336 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15339 for as_dir
in $PATH
15342 test -z "$as_dir" && as_dir
=.
15343 for ac_exec_ext
in '' $ac_executable_extensions; do
15344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15345 ac_cv_prog_ac_ct_WINDRES
="wrc"
15346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15354 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15355 if test -n "$ac_ct_WINDRES"; then
15356 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15357 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15359 echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6
15363 WINDRES
=$ac_ct_WINDRES
15365 WINDRES
="$ac_cv_prog_WINDRES"
15371 *-*-cygwin* | *-*-mingw32* )
15372 if test -n "$ac_tool_prefix"; then
15373 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15374 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15375 echo "$as_me:$LINENO: checking for $ac_word" >&5
15376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15377 if test "${ac_cv_prog_WINDRES+set}" = set; then
15378 echo $ECHO_N "(cached) $ECHO_C" >&6
15380 if test -n "$WINDRES"; then
15381 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15384 for as_dir
in $PATH
15387 test -z "$as_dir" && as_dir
=.
15388 for ac_exec_ext
in '' $ac_executable_extensions; do
15389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15390 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15399 WINDRES
=$ac_cv_prog_WINDRES
15400 if test -n "$WINDRES"; then
15401 echo "$as_me:$LINENO: result: $WINDRES" >&5
15402 echo "${ECHO_T}$WINDRES" >&6
15404 echo "$as_me:$LINENO: result: no" >&5
15405 echo "${ECHO_T}no" >&6
15409 if test -z "$ac_cv_prog_WINDRES"; then
15410 ac_ct_WINDRES
=$WINDRES
15411 # Extract the first word of "windres", so it can be a program name with args.
15412 set dummy windres
; ac_word
=$2
15413 echo "$as_me:$LINENO: checking for $ac_word" >&5
15414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15415 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 if test -n "$ac_ct_WINDRES"; then
15419 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15422 for as_dir
in $PATH
15425 test -z "$as_dir" && as_dir
=.
15426 for ac_exec_ext
in '' $ac_executable_extensions; do
15427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15428 ac_cv_prog_ac_ct_WINDRES
="windres"
15429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15437 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15438 if test -n "$ac_ct_WINDRES"; then
15439 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15440 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15442 echo "$as_me:$LINENO: result: no" >&5
15443 echo "${ECHO_T}no" >&6
15446 WINDRES
=$ac_ct_WINDRES
15448 WINDRES
="$ac_cv_prog_WINDRES"
15452 if test -n "$ac_tool_prefix"; then
15453 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15454 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15455 echo "$as_me:$LINENO: checking for $ac_word" >&5
15456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15457 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 if test -n "$DLLTOOL"; then
15461 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15464 for as_dir
in $PATH
15467 test -z "$as_dir" && as_dir
=.
15468 for ac_exec_ext
in '' $ac_executable_extensions; do
15469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15470 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15479 DLLTOOL
=$ac_cv_prog_DLLTOOL
15480 if test -n "$DLLTOOL"; then
15481 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15482 echo "${ECHO_T}$DLLTOOL" >&6
15484 echo "$as_me:$LINENO: result: no" >&5
15485 echo "${ECHO_T}no" >&6
15489 if test -z "$ac_cv_prog_DLLTOOL"; then
15490 ac_ct_DLLTOOL
=$DLLTOOL
15491 # Extract the first word of "dlltool", so it can be a program name with args.
15492 set dummy dlltool
; ac_word
=$2
15493 echo "$as_me:$LINENO: checking for $ac_word" >&5
15494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15495 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 if test -n "$ac_ct_DLLTOOL"; then
15499 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15502 for as_dir
in $PATH
15505 test -z "$as_dir" && as_dir
=.
15506 for ac_exec_ext
in '' $ac_executable_extensions; do
15507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15508 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15517 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15518 if test -n "$ac_ct_DLLTOOL"; then
15519 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15520 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15522 echo "$as_me:$LINENO: result: no" >&5
15523 echo "${ECHO_T}no" >&6
15526 DLLTOOL
=$ac_ct_DLLTOOL
15528 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15535 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15536 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15537 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15542 egrep -s GNU
> /dev
/null
); then
15543 wx_cv_prog_makeisgnu
="yes"
15545 wx_cv_prog_makeisgnu
="no"
15549 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15550 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15552 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15560 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15561 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15562 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15563 if test "${wx_cv_prog_makevpath+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15567 cat - << EOF > confMake
15573 if test ! -d sub
; then
15576 echo dummy
> sub
/file
15577 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15579 rm -f sub
/file check final_file confMake
15581 if test "$RESULT" = 0; then
15582 wx_cv_prog_makevpath
="yes"
15584 wx_cv_prog_makevpath
="no"
15588 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15589 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15591 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15592 { { echo "$as_me:$LINENO: error:
15593 You need a make-utility that is able to use the variable
15595 If your version of make does not support VPATH correctly,
15596 please install GNU-make (possibly as gmake), and start
15597 configure with the following command:
15598 export MAKE=gmake; ./configure for sh-type shells
15599 setenv MAKE gmake; ./configure for csh-type shells
15600 Also please do remember to use gmake in this case every time
15601 you are trying to compile.
15603 echo "$as_me: error:
15604 You need a make-utility that is able to use the variable
15606 If your version of make does not support VPATH correctly,
15607 please install GNU-make (possibly as gmake), and start
15608 configure with the following command:
15609 export MAKE=gmake; ./configure for sh-type shells
15610 setenv MAKE gmake; ./configure for csh-type shells
15611 Also please do remember to use gmake in this case every time
15612 you are trying to compile.
15614 { (exit 1); exit 1; }; }
15616 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15617 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15619 if test "$LN_S" = "ln -s"; then
15620 echo "$as_me:$LINENO: result: yes" >&5
15621 echo "${ECHO_T}yes" >&6
15623 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15624 echo "${ECHO_T}no, using $LN_S" >&6
15630 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15631 CXXFLAGS
="-qunique $CXXFLAGS"
15635 powerpc
-*-darwin* )
15636 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15637 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15638 cat >conftest.
$ac_ext <<_ACEOF
15641 cat confdefs.h
>>conftest.
$ac_ext
15642 cat >>conftest.
$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15648 #ifndef __POWERPC__
15649 choke me for lack of PowerPC
15656 rm -f conftest.
$ac_objext
15657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15658 (eval $ac_compile) 2>conftest.er1
15660 grep -v '^ *+' conftest.er1
>conftest.err
15662 cat conftest.err
>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; } &&
15671 { ac_try
='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 echo "$as_me:$LINENO: result: yes" >&5
15678 echo "${ECHO_T}yes" >&6
15680 echo "$as_me: failed program was:" >&5
15681 sed 's/^/| /' conftest.
$ac_ext >&5
15683 echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6
15685 cat >>confdefs.h
<<\_ACEOF
15686 #define __POWERPC__ 1
15691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15697 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15698 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15699 cat >conftest.
$ac_ext <<_ACEOF
15702 cat confdefs.h
>>conftest.
$ac_ext
15703 cat >>conftest.
$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705 #include <CoreFoundation/CFBase.h>
15715 rm -f conftest.
$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15719 grep -v '^ *+' conftest.er1
>conftest.err
15721 cat conftest.err
>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 echo "$as_me:$LINENO: result: yes" >&5
15737 echo "${ECHO_T}yes" >&6
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.
$ac_ext >&5
15742 echo "$as_me:$LINENO: result: no" >&5
15743 echo "${ECHO_T}no" >&6
15744 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15745 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15746 cat >conftest.
$ac_ext <<_ACEOF
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 #define __CF_USE_FRAMEWORK_INCLUDES__
15753 #include <CoreFoundation/CFBase.h>
15763 rm -f conftest.
$ac_objext
15764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15765 (eval $ac_compile) 2>conftest.er1
15767 grep -v '^ *+' conftest.er1
>conftest.err
15769 cat conftest.err
>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } &&
15772 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; } &&
15778 { ac_try
='test -s conftest.$ac_objext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 echo "$as_me:$LINENO: result: yes" >&5
15785 echo "${ECHO_T}yes" >&6
15786 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.
$ac_ext >&5
15791 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15792 See \`config.log' for more details." >&5
15793 echo "$as_me: error: no. CoreFoundation not available.
15794 See \`config.log' for more details." >&2;}
15795 { (exit 1); exit 1; }; }
15798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15807 *-pc-os2_emx | *-pc-os2-emx )
15809 ac_cpp
='$CPP $CPPFLAGS'
15810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15814 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15815 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15816 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15817 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 ac_check_lib_save_LIBS
=$LIBS
15821 LIBS
="-lcExt $LIBS"
15822 cat >conftest.
$ac_ext <<_ACEOF
15825 cat confdefs.h
>>conftest.
$ac_ext
15826 cat >>conftest.
$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15829 /* Override any gcc2 internal prototype to avoid an error. */
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15844 rm -f conftest.
$ac_objext conftest
$ac_exeext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15846 (eval $ac_link) 2>conftest.er1
15848 grep -v '^ *+' conftest.er1
>conftest.err
15850 cat conftest.err
>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15855 (eval $ac_try) 2>&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); }; } &&
15859 { ac_try
='test -s conftest$ac_exeext'
15860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15861 (eval $ac_try) 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; }; then
15865 ac_cv_lib_cExt_drand48
=yes
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.
$ac_ext >&5
15870 ac_cv_lib_cExt_drand48
=no
15872 rm -f conftest.err conftest.
$ac_objext \
15873 conftest
$ac_exeext conftest.
$ac_ext
15874 LIBS
=$ac_check_lib_save_LIBS
15876 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15877 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15878 if test $ac_cv_lib_cExt_drand48 = yes; then
15879 LIBS
="$LIBS -lcExt"
15883 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15885 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15886 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15887 if test "${wx_cv_gccversion+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 if test "$cross_compiling" = yes; then
15892 wx_cv_gccversion
="EMX2"
15895 cat >conftest.
$ac_ext <<_ACEOF
15898 cat confdefs.h
>>conftest.
$ac_ext
15899 cat >>conftest.
$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15906 FILE *f=fopen("conftestval", "w");
15911 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15913 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15923 rm -f conftest
$ac_exeext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15925 (eval $ac_link) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; }; then
15934 wx_cv_gccversion
=`cat conftestval`
15936 echo "$as_me: program exited with status $ac_status" >&5
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 ( exit $ac_status )
15941 wx_cv_gccversion
="EMX2"
15943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15947 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15948 echo "${ECHO_T}$wx_cv_gccversion" >&6
15950 ac_cpp
='$CXXCPP $CPPFLAGS'
15951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15955 if test "$wx_cv_gccversion" = "EMX2"; then
15956 LIBS
="$LIBS -lstdcpp"
15957 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15959 if test "$wx_cv_gccversion" = "EMX3"; then
15960 LIBS
="$LIBS -lstdcxx -lgcc"
15961 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15963 LIBS
="$LIBS -lstdc++"
15966 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15967 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15968 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15975 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15976 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15977 if test "${ac_cv_string_strcasecmp+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15981 cat >conftest.
$ac_ext <<_ACEOF
15984 cat confdefs.h
>>conftest.
$ac_ext
15985 cat >>conftest.
$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15988 #include <string.h>
15994 strcasecmp("foo", "bar");
16000 rm -f conftest.
$ac_objext conftest
$ac_exeext
16001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16002 (eval $ac_link) 2>conftest.er1
16004 grep -v '^ *+' conftest.er1
>conftest.err
16006 cat conftest.err
>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } &&
16009 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try
='test -s conftest$ac_exeext'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16021 ac_cv_string_strcasecmp
=yes
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.
$ac_ext >&5
16026 ac_cv_string_strcasecmp
=no
16029 rm -f conftest.err conftest.
$ac_objext \
16030 conftest
$ac_exeext conftest.
$ac_ext
16033 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16034 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16036 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16037 cat >>confdefs.h
<<\_ACEOF
16038 #define HAVE_STRCASECMP_IN_STRING_H 1
16042 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16043 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16044 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 cat >conftest.
$ac_ext <<_ACEOF
16051 cat confdefs.h
>>conftest.
$ac_ext
16052 cat >>conftest.
$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16055 #include <strings.h>
16061 strcasecmp("foo", "bar");
16067 rm -f conftest.
$ac_objext conftest
$ac_exeext
16068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16069 (eval $ac_link) 2>conftest.er1
16071 grep -v '^ *+' conftest.er1
>conftest.err
16073 cat conftest.err
>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } &&
16076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; } &&
16082 { ac_try
='test -s conftest$ac_exeext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_cv_strings_strcasecmp
=yes
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.
$ac_ext >&5
16093 ac_cv_strings_strcasecmp
=no
16096 rm -f conftest.err conftest.
$ac_objext \
16097 conftest
$ac_exeext conftest.
$ac_ext
16100 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16101 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16103 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16104 cat >>confdefs.h
<<\_ACEOF
16105 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16109 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16110 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16111 { (exit 1); exit 1; }; }
16120 ac_cpp
='$CXXCPP $CPPFLAGS'
16121 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16124 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16125 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16126 if test -z "$CXXCPP"; then
16127 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 # Double quotes because CXXCPP needs to be expanded
16131 for CXXCPP
in "$CXX -E" "/lib/cpp"
16133 ac_preproc_ok
=false
16134 for ac_cxx_preproc_warn_flag
in '' yes
16136 # Use a header file that comes with gcc, so configuring glibc
16137 # with a fresh cross-compiler works.
16138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16139 # <limits.h> exists even on freestanding compilers.
16140 # On the NeXT, cc -E runs the code through the compiler's parser,
16141 # not just through cpp. "Syntax error" is here to catch this case.
16142 cat >conftest.
$ac_ext <<_ACEOF
16145 cat confdefs.h
>>conftest.
$ac_ext
16146 cat >>conftest.
$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16149 # include <limits.h>
16151 # include <assert.h>
16155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16158 grep -v '^ *+' conftest.er1
>conftest.err
16160 cat conftest.err
>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } >/dev
/null
; then
16163 if test -s conftest.err
; then
16164 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16165 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16172 if test -z "$ac_cpp_err"; then
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.
$ac_ext >&5
16178 # Broken: fails on valid input.
16181 rm -f conftest.err conftest.
$ac_ext
16183 # OK, works on sane cases. Now check whether non-existent headers
16184 # can be detected and how.
16185 cat >conftest.
$ac_ext <<_ACEOF
16188 cat confdefs.h
>>conftest.
$ac_ext
16189 cat >>conftest.
$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 #include <ac_nonexistent.h>
16193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16196 grep -v '^ *+' conftest.er1
>conftest.err
16198 cat conftest.err
>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } >/dev
/null
; then
16201 if test -s conftest.err
; then
16202 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16203 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16210 if test -z "$ac_cpp_err"; then
16211 # Broken: success on invalid input.
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16217 # Passes both tests.
16221 rm -f conftest.err conftest.
$ac_ext
16224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16225 rm -f conftest.err conftest.
$ac_ext
16226 if $ac_preproc_ok; then
16231 ac_cv_prog_CXXCPP
=$CXXCPP
16234 CXXCPP
=$ac_cv_prog_CXXCPP
16236 ac_cv_prog_CXXCPP
=$CXXCPP
16238 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16239 echo "${ECHO_T}$CXXCPP" >&6
16240 ac_preproc_ok
=false
16241 for ac_cxx_preproc_warn_flag
in '' yes
16243 # Use a header file that comes with gcc, so configuring glibc
16244 # with a fresh cross-compiler works.
16245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16246 # <limits.h> exists even on freestanding compilers.
16247 # On the NeXT, cc -E runs the code through the compiler's parser,
16248 # not just through cpp. "Syntax error" is here to catch this case.
16249 cat >conftest.
$ac_ext <<_ACEOF
16252 cat confdefs.h
>>conftest.
$ac_ext
16253 cat >>conftest.
$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16256 # include <limits.h>
16258 # include <assert.h>
16262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16265 grep -v '^ *+' conftest.er1
>conftest.err
16267 cat conftest.err
>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } >/dev
/null
; then
16270 if test -s conftest.err
; then
16271 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16272 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16279 if test -z "$ac_cpp_err"; then
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.
$ac_ext >&5
16285 # Broken: fails on valid input.
16288 rm -f conftest.err conftest.
$ac_ext
16290 # OK, works on sane cases. Now check whether non-existent headers
16291 # can be detected and how.
16292 cat >conftest.
$ac_ext <<_ACEOF
16295 cat confdefs.h
>>conftest.
$ac_ext
16296 cat >>conftest.
$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 #include <ac_nonexistent.h>
16300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16303 grep -v '^ *+' conftest.er1
>conftest.err
16305 cat conftest.err
>&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } >/dev
/null
; then
16308 if test -s conftest.err
; then
16309 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16310 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16317 if test -z "$ac_cpp_err"; then
16318 # Broken: success on invalid input.
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.
$ac_ext >&5
16324 # Passes both tests.
16328 rm -f conftest.err conftest.
$ac_ext
16331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16332 rm -f conftest.err conftest.
$ac_ext
16333 if $ac_preproc_ok; then
16336 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16337 See \`config.log' for more details." >&5
16338 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16339 See \`config.log' for more details." >&2;}
16340 { (exit 1); exit 1; }; }
16344 ac_cpp
='$CXXCPP $CPPFLAGS'
16345 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16346 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16347 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16350 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16351 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16352 if test "${ac_cv_header_stdc+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 cat >conftest.
$ac_ext <<_ACEOF
16358 cat confdefs.h
>>conftest.
$ac_ext
16359 cat >>conftest.
$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361 #include <stdlib.h>
16362 #include <stdarg.h>
16363 #include <string.h>
16374 rm -f conftest.
$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>conftest.er1
16378 grep -v '^ *+' conftest.er1
>conftest.err
16380 cat conftest.err
>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_header_stdc
=yes
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_cv_header_stdc
=no
16402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16404 if test $ac_cv_header_stdc = yes; then
16405 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16406 cat >conftest.
$ac_ext <<_ACEOF
16409 cat confdefs.h
>>conftest.
$ac_ext
16410 cat >>conftest.
$ac_ext <<_ACEOF
16411 /* end confdefs.h. */
16412 #include <string.h>
16415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16416 $EGREP "memchr" >/dev
/null
2>&1; then
16419 ac_cv_header_stdc
=no
16425 if test $ac_cv_header_stdc = yes; then
16426 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16427 cat >conftest.
$ac_ext <<_ACEOF
16430 cat confdefs.h
>>conftest.
$ac_ext
16431 cat >>conftest.
$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 #include <stdlib.h>
16436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16437 $EGREP "free" >/dev
/null
2>&1; then
16440 ac_cv_header_stdc
=no
16446 if test $ac_cv_header_stdc = yes; then
16447 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16448 if test "$cross_compiling" = yes; then
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16458 #if ((' ' & 0x0FF) == 0x020)
16459 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16460 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16462 # define ISLOWER(c) \
16463 (('a' <= (c) && (c) <= 'i') \
16464 || ('j' <= (c) && (c) <= 'r') \
16465 || ('s' <= (c) && (c) <= 'z'))
16466 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16469 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16474 for (i = 0; i < 256; i++)
16475 if (XOR (islower (i), ISLOWER (i))
16476 || toupper (i) != TOUPPER (i))
16481 rm -f conftest
$ac_exeext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16483 (eval $ac_link) 2>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16494 echo "$as_me: program exited with status $ac_status" >&5
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.
$ac_ext >&5
16498 ( exit $ac_status )
16499 ac_cv_header_stdc
=no
16501 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16505 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16506 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16507 if test $ac_cv_header_stdc = yes; then
16509 cat >>confdefs.h
<<\_ACEOF
16510 #define STDC_HEADERS 1
16515 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16525 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16526 inttypes.h stdint.h unistd.h
16528 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16529 echo "$as_me:$LINENO: checking for $ac_header" >&5
16530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16542 #include <$ac_header>
16544 rm -f conftest.
$ac_objext
16545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>conftest.er1
16548 grep -v '^ *+' conftest.er1
>conftest.err
16550 cat conftest.err
>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } &&
16553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try
='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16565 eval "$as_ac_Header=yes"
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16570 eval "$as_ac_Header=no"
16572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16577 cat >>confdefs.h
<<_ACEOF
16578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16587 for ac_header
in stdlib.h
16589 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16591 echo "$as_me:$LINENO: checking for $ac_header" >&5
16592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16599 # Is the header compilable?
16600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16602 cat >conftest.
$ac_ext <<_ACEOF
16605 cat confdefs.h
>>conftest.
$ac_ext
16606 cat >>conftest.
$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16608 $ac_includes_default
16609 #include <$ac_header>
16611 rm -f conftest.
$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16615 grep -v '^ *+' conftest.er1
>conftest.err
16617 cat conftest.err
>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; } &&
16626 { ac_try
='test -s conftest.$ac_objext'
16627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628 (eval $ac_try) 2>&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }; }; then
16632 ac_header_compiler
=yes
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.
$ac_ext >&5
16637 ac_header_compiler
=no
16639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16641 echo "${ECHO_T}$ac_header_compiler" >&6
16643 # Is the header present?
16644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16646 cat >conftest.
$ac_ext <<_ACEOF
16649 cat confdefs.h
>>conftest.
$ac_ext
16650 cat >>conftest.
$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 #include <$ac_header>
16654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } >/dev
/null
; then
16662 if test -s conftest.err
; then
16663 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16664 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16671 if test -z "$ac_cpp_err"; then
16672 ac_header_preproc
=yes
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.
$ac_ext >&5
16677 ac_header_preproc
=no
16679 rm -f conftest.err conftest.
$ac_ext
16680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16681 echo "${ECHO_T}$ac_header_preproc" >&6
16683 # So? What about this header?
16684 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16690 ac_header_preproc
=yes
16693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16707 ## ----------------------------------------- ##
16708 ## Report this to wx-dev@lists.wxwidgets.org ##
16709 ## ----------------------------------------- ##
16712 sed "s/^/$as_me: WARNING: /" >&2
16715 echo "$as_me:$LINENO: checking for $ac_header" >&5
16716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 eval "$as_ac_Header=\$ac_header_preproc"
16722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16727 cat >>confdefs.h
<<_ACEOF
16728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16736 for ac_header
in malloc.h
16738 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16740 echo "$as_me:$LINENO: checking for $ac_header" >&5
16741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16748 # Is the header compilable?
16749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16751 cat >conftest.
$ac_ext <<_ACEOF
16754 cat confdefs.h
>>conftest.
$ac_ext
16755 cat >>conftest.
$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 $ac_includes_default
16758 #include <$ac_header>
16760 rm -f conftest.
$ac_objext
16761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16762 (eval $ac_compile) 2>conftest.er1
16764 grep -v '^ *+' conftest.er1
>conftest.err
16766 cat conftest.err
>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; } &&
16775 { ac_try
='test -s conftest.$ac_objext'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_header_compiler
=yes
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ac_header_compiler
=no
16788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16790 echo "${ECHO_T}$ac_header_compiler" >&6
16792 # Is the header present?
16793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16795 cat >conftest.
$ac_ext <<_ACEOF
16798 cat confdefs.h
>>conftest.
$ac_ext
16799 cat >>conftest.
$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 #include <$ac_header>
16803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16806 grep -v '^ *+' conftest.er1
>conftest.err
16808 cat conftest.err
>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } >/dev
/null
; then
16811 if test -s conftest.err
; then
16812 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16813 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16820 if test -z "$ac_cpp_err"; then
16821 ac_header_preproc
=yes
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.
$ac_ext >&5
16826 ac_header_preproc
=no
16828 rm -f conftest.err conftest.
$ac_ext
16829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16830 echo "${ECHO_T}$ac_header_preproc" >&6
16832 # So? What about this header?
16833 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16839 ac_header_preproc
=yes
16842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16856 ## ----------------------------------------- ##
16857 ## Report this to wx-dev@lists.wxwidgets.org ##
16858 ## ----------------------------------------- ##
16861 sed "s/^/$as_me: WARNING: /" >&2
16864 echo "$as_me:$LINENO: checking for $ac_header" >&5
16865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 eval "$as_ac_Header=\$ac_header_preproc"
16871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16876 cat >>confdefs.h
<<_ACEOF
16877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16885 for ac_header
in unistd.h
16887 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16889 echo "$as_me:$LINENO: checking for $ac_header" >&5
16890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16897 # Is the header compilable?
16898 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16900 cat >conftest.
$ac_ext <<_ACEOF
16903 cat confdefs.h
>>conftest.
$ac_ext
16904 cat >>conftest.
$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16906 $ac_includes_default
16907 #include <$ac_header>
16909 rm -f conftest.
$ac_objext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16911 (eval $ac_compile) 2>conftest.er1
16913 grep -v '^ *+' conftest.er1
>conftest.err
16915 cat conftest.err
>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try
='test -s conftest.$ac_objext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_header_compiler
=yes
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.
$ac_ext >&5
16935 ac_header_compiler
=no
16937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16939 echo "${ECHO_T}$ac_header_compiler" >&6
16941 # Is the header present?
16942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16944 cat >conftest.
$ac_ext <<_ACEOF
16947 cat confdefs.h
>>conftest.
$ac_ext
16948 cat >>conftest.
$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 #include <$ac_header>
16952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16955 grep -v '^ *+' conftest.er1
>conftest.err
16957 cat conftest.err
>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } >/dev
/null
; then
16960 if test -s conftest.err
; then
16961 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16962 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16969 if test -z "$ac_cpp_err"; then
16970 ac_header_preproc
=yes
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.
$ac_ext >&5
16975 ac_header_preproc
=no
16977 rm -f conftest.err conftest.
$ac_ext
16978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16979 echo "${ECHO_T}$ac_header_preproc" >&6
16981 # So? What about this header?
16982 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16988 ac_header_preproc
=yes
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17005 ## ----------------------------------------- ##
17006 ## Report this to wx-dev@lists.wxwidgets.org ##
17007 ## ----------------------------------------- ##
17010 sed "s/^/$as_me: WARNING: /" >&2
17013 echo "$as_me:$LINENO: checking for $ac_header" >&5
17014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17018 eval "$as_ac_Header=\$ac_header_preproc"
17020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17025 cat >>confdefs.h
<<_ACEOF
17026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17034 for ac_header
in wchar.h
17036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17038 echo "$as_me:$LINENO: checking for $ac_header" >&5
17039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17046 # Is the header compilable?
17047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17049 cat >conftest.
$ac_ext <<_ACEOF
17052 cat confdefs.h
>>conftest.
$ac_ext
17053 cat >>conftest.
$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 $ac_includes_default
17056 #include <$ac_header>
17058 rm -f conftest.
$ac_objext
17059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17060 (eval $ac_compile) 2>conftest.er1
17062 grep -v '^ *+' conftest.er1
>conftest.err
17064 cat conftest.err
>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } &&
17067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; } &&
17073 { ac_try
='test -s conftest.$ac_objext'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; }; then
17079 ac_header_compiler
=yes
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.
$ac_ext >&5
17084 ac_header_compiler
=no
17086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17088 echo "${ECHO_T}$ac_header_compiler" >&6
17090 # Is the header present?
17091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17093 cat >conftest.
$ac_ext <<_ACEOF
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 #include <$ac_header>
17101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17104 grep -v '^ *+' conftest.er1
>conftest.err
17106 cat conftest.err
>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } >/dev
/null
; then
17109 if test -s conftest.err
; then
17110 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17111 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17118 if test -z "$ac_cpp_err"; then
17119 ac_header_preproc
=yes
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17124 ac_header_preproc
=no
17126 rm -f conftest.err conftest.
$ac_ext
17127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17128 echo "${ECHO_T}$ac_header_preproc" >&6
17130 # So? What about this header?
17131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17137 ac_header_preproc
=yes
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17154 ## ----------------------------------------- ##
17155 ## Report this to wx-dev@lists.wxwidgets.org ##
17156 ## ----------------------------------------- ##
17159 sed "s/^/$as_me: WARNING: /" >&2
17162 echo "$as_me:$LINENO: checking for $ac_header" >&5
17163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 eval "$as_ac_Header=\$ac_header_preproc"
17169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17174 cat >>confdefs.h
<<_ACEOF
17175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17183 if test "$ac_cv_header_wchar_h" != "yes"; then
17185 for ac_header
in wcstr.h
17187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17189 echo "$as_me:$LINENO: checking for $ac_header" >&5
17190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17197 # Is the header compilable?
17198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17200 cat >conftest.
$ac_ext <<_ACEOF
17203 cat confdefs.h
>>conftest.
$ac_ext
17204 cat >>conftest.
$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 $ac_includes_default
17207 #include <$ac_header>
17209 rm -f conftest.
$ac_objext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17211 (eval $ac_compile) 2>conftest.er1
17213 grep -v '^ *+' conftest.er1
>conftest.err
17215 cat conftest.err
>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
17224 { ac_try
='test -s conftest.$ac_objext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17230 ac_header_compiler
=yes
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.
$ac_ext >&5
17235 ac_header_compiler
=no
17237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17239 echo "${ECHO_T}$ac_header_compiler" >&6
17241 # Is the header present?
17242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17244 cat >conftest.
$ac_ext <<_ACEOF
17247 cat confdefs.h
>>conftest.
$ac_ext
17248 cat >>conftest.
$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17250 #include <$ac_header>
17252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17255 grep -v '^ *+' conftest.er1
>conftest.err
17257 cat conftest.err
>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } >/dev
/null
; then
17260 if test -s conftest.err
; then
17261 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17262 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17269 if test -z "$ac_cpp_err"; then
17270 ac_header_preproc
=yes
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.
$ac_ext >&5
17275 ac_header_preproc
=no
17277 rm -f conftest.err conftest.
$ac_ext
17278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17279 echo "${ECHO_T}$ac_header_preproc" >&6
17281 # So? What about this header?
17282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17288 ac_header_preproc
=yes
17291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17305 ## ----------------------------------------- ##
17306 ## Report this to wx-dev@lists.wxwidgets.org ##
17307 ## ----------------------------------------- ##
17310 sed "s/^/$as_me: WARNING: /" >&2
17313 echo "$as_me:$LINENO: checking for $ac_header" >&5
17314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 eval "$as_ac_Header=\$ac_header_preproc"
17320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17325 cat >>confdefs.h
<<_ACEOF
17326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17336 for ac_header
in fnmatch.h
17338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17340 echo "$as_me:$LINENO: checking for $ac_header" >&5
17341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17348 # Is the header compilable?
17349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17351 cat >conftest.
$ac_ext <<_ACEOF
17354 cat confdefs.h
>>conftest.
$ac_ext
17355 cat >>conftest.
$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 #include <$ac_header>
17360 rm -f conftest.
$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>conftest.er1
17364 grep -v '^ *+' conftest.er1
>conftest.err
17366 cat conftest.err
>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } &&
17369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
17375 { ac_try
='test -s conftest.$ac_objext'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; }; then
17381 ac_header_compiler
=yes
17383 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.
$ac_ext >&5
17386 ac_header_compiler
=no
17388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17390 echo "${ECHO_T}$ac_header_compiler" >&6
17392 # Is the header present?
17393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17395 cat >conftest.
$ac_ext <<_ACEOF
17398 cat confdefs.h
>>conftest.
$ac_ext
17399 cat >>conftest.
$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401 #include <$ac_header>
17403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17406 grep -v '^ *+' conftest.er1
>conftest.err
17408 cat conftest.err
>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } >/dev
/null
; then
17411 if test -s conftest.err
; then
17412 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17413 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17420 if test -z "$ac_cpp_err"; then
17421 ac_header_preproc
=yes
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.
$ac_ext >&5
17426 ac_header_preproc
=no
17428 rm -f conftest.err conftest.
$ac_ext
17429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17430 echo "${ECHO_T}$ac_header_preproc" >&6
17432 # So? What about this header?
17433 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17439 ac_header_preproc
=yes
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17456 ## ----------------------------------------- ##
17457 ## Report this to wx-dev@lists.wxwidgets.org ##
17458 ## ----------------------------------------- ##
17461 sed "s/^/$as_me: WARNING: /" >&2
17464 echo "$as_me:$LINENO: checking for $ac_header" >&5
17465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17467 echo $ECHO_N "(cached) $ECHO_C" >&6
17469 eval "$as_ac_Header=\$ac_header_preproc"
17471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17476 cat >>confdefs.h
<<_ACEOF
17477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17486 for ac_header
in langinfo.h
17488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17490 echo "$as_me:$LINENO: checking for $ac_header" >&5
17491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17498 # Is the header compilable?
17499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17501 cat >conftest.
$ac_ext <<_ACEOF
17504 cat confdefs.h
>>conftest.
$ac_ext
17505 cat >>conftest.
$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17508 #include <$ac_header>
17510 rm -f conftest.
$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>conftest.er1
17514 grep -v '^ *+' conftest.er1
>conftest.err
17516 cat conftest.err
>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; } &&
17525 { ac_try
='test -s conftest.$ac_objext'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; }; then
17531 ac_header_compiler
=yes
17533 echo "$as_me: failed program was:" >&5
17534 sed 's/^/| /' conftest.
$ac_ext >&5
17536 ac_header_compiler
=no
17538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17540 echo "${ECHO_T}$ac_header_compiler" >&6
17542 # Is the header present?
17543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17545 cat >conftest.
$ac_ext <<_ACEOF
17548 cat confdefs.h
>>conftest.
$ac_ext
17549 cat >>conftest.
$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 #include <$ac_header>
17553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17556 grep -v '^ *+' conftest.er1
>conftest.err
17558 cat conftest.err
>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } >/dev
/null
; then
17561 if test -s conftest.err
; then
17562 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17563 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17570 if test -z "$ac_cpp_err"; then
17571 ac_header_preproc
=yes
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.
$ac_ext >&5
17576 ac_header_preproc
=no
17578 rm -f conftest.err conftest.
$ac_ext
17579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17580 echo "${ECHO_T}$ac_header_preproc" >&6
17582 # So? What about this header?
17583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17589 ac_header_preproc
=yes
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17606 ## ----------------------------------------- ##
17607 ## Report this to wx-dev@lists.wxwidgets.org ##
17608 ## ----------------------------------------- ##
17611 sed "s/^/$as_me: WARNING: /" >&2
17614 echo "$as_me:$LINENO: checking for $ac_header" >&5
17615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 eval "$as_ac_Header=\$ac_header_preproc"
17621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17626 cat >>confdefs.h
<<_ACEOF
17627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17636 *-pc-os2_emx | *-pc-os2-emx )
17637 if test $ac_cv_header_langinfo_h = "yes" \
17638 -a \
( "$wx_cv_gccversion" = "EMX2" \
17639 -o "$wx_cv_gccversion" = "EMX3" \
17640 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17641 LIBS
="$LIBS -lintl"
17646 if test "$USE_UNIX" = 1 ; then
17648 for ac_header
in sys
/select.h
17650 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17652 echo "$as_me:$LINENO: checking for $ac_header" >&5
17653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17660 # Is the header compilable?
17661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17663 cat >conftest.
$ac_ext <<_ACEOF
17666 cat confdefs.h
>>conftest.
$ac_ext
17667 cat >>conftest.
$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 $ac_includes_default
17670 #include <$ac_header>
17672 rm -f conftest.
$ac_objext
17673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17674 (eval $ac_compile) 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; } &&
17687 { ac_try
='test -s conftest.$ac_objext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_header_compiler
=yes
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.
$ac_ext >&5
17698 ac_header_compiler
=no
17700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17702 echo "${ECHO_T}$ac_header_compiler" >&6
17704 # Is the header present?
17705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17707 cat >conftest.
$ac_ext <<_ACEOF
17710 cat confdefs.h
>>conftest.
$ac_ext
17711 cat >>conftest.
$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 #include <$ac_header>
17715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17718 grep -v '^ *+' conftest.er1
>conftest.err
17720 cat conftest.err
>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } >/dev
/null
; then
17723 if test -s conftest.err
; then
17724 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17725 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17732 if test -z "$ac_cpp_err"; then
17733 ac_header_preproc
=yes
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.
$ac_ext >&5
17738 ac_header_preproc
=no
17740 rm -f conftest.err conftest.
$ac_ext
17741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17742 echo "${ECHO_T}$ac_header_preproc" >&6
17744 # So? What about this header?
17745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17751 ac_header_preproc
=yes
17754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17768 ## ----------------------------------------- ##
17769 ## Report this to wx-dev@lists.wxwidgets.org ##
17770 ## ----------------------------------------- ##
17773 sed "s/^/$as_me: WARNING: /" >&2
17776 echo "$as_me:$LINENO: checking for $ac_header" >&5
17777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17779 echo $ECHO_N "(cached) $ECHO_C" >&6
17781 eval "$as_ac_Header=\$ac_header_preproc"
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17788 cat >>confdefs.h
<<_ACEOF
17789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17799 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17800 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17801 if test "${ac_cv_c_const+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 cat >conftest.
$ac_ext <<_ACEOF
17807 cat confdefs.h
>>conftest.
$ac_ext
17808 cat >>conftest.
$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17814 /* FIXME: Include the comments suggested by Paul. */
17815 #ifndef __cplusplus
17816 /* Ultrix mips cc rejects this. */
17817 typedef int charset[2];
17819 /* SunOS 4.1.1 cc rejects this. */
17820 char const *const *ccp;
17822 /* NEC SVR4.0.2 mips cc rejects this. */
17823 struct point {int x, y;};
17824 static struct point const zero = {0,0};
17825 /* AIX XL C 1.02.0.0 rejects this.
17826 It does not let you subtract one const X* pointer from another in
17827 an arm of an if-expression whose if-part is not a constant
17829 const char *g = "string";
17830 ccp = &g + (g ? g-g : 0);
17831 /* HPUX 7.0 cc rejects these. */
17834 ccp = (char const *const *) p;
17835 { /* SCO 3.2v4 cc rejects this. */
17837 char const *s = 0 ? (char *) 0 : (char const *) 0;
17841 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17842 int x[] = {25, 17};
17843 const int *foo = &x[0];
17846 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17847 typedef const int *iptr;
17851 { /* AIX XL C 1.02.0.0 rejects this saying
17852 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17853 struct s { int j; const int *ap[3]; };
17854 struct s *b; b->j = 5;
17856 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17857 const int foo = 10;
17865 rm -f conftest.
$ac_objext
17866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17867 (eval $ac_compile) 2>conftest.er1
17869 grep -v '^ *+' conftest.er1
>conftest.err
17871 cat conftest.err
>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } &&
17874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try
='test -s conftest.$ac_objext'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; }; then
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.
$ac_ext >&5
17893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17895 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17896 echo "${ECHO_T}$ac_cv_c_const" >&6
17897 if test $ac_cv_c_const = no
; then
17899 cat >>confdefs.h
<<\_ACEOF
17905 echo "$as_me:$LINENO: checking for inline" >&5
17906 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17907 if test "${ac_cv_c_inline+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17911 for ac_kw
in inline __inline__ __inline
; do
17912 cat >conftest.
$ac_ext <<_ACEOF
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 #ifndef __cplusplus
17920 static $ac_kw foo_t static_foo () {return 0; }
17921 $ac_kw foo_t foo () {return 0; }
17925 rm -f conftest.
$ac_objext
17926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17927 (eval $ac_compile) 2>conftest.er1
17929 grep -v '^ *+' conftest.er1
>conftest.err
17931 cat conftest.err
>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } &&
17934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try
='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 ac_cv_c_inline
=$ac_kw; break
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.
$ac_ext >&5
17952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17956 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17957 echo "${ECHO_T}$ac_cv_c_inline" >&6
17960 case $ac_cv_c_inline in
17963 case $ac_cv_c_inline in
17965 *) ac_val
=$ac_cv_c_inline;;
17967 cat >>confdefs.h
<<_ACEOF
17968 #ifndef __cplusplus
17969 #define inline $ac_val
17976 echo "$as_me:$LINENO: checking for char" >&5
17977 echo $ECHO_N "checking for char... $ECHO_C" >&6
17978 if test "${ac_cv_type_char+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 $ac_includes_default
17999 rm -f conftest.
$ac_objext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>conftest.er1
18003 grep -v '^ *+' conftest.er1
>conftest.err
18005 cat conftest.err
>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } &&
18008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; } &&
18014 { ac_try
='test -s conftest.$ac_objext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 ac_cv_type_char
=yes
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.
$ac_ext >&5
18027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18030 echo "${ECHO_T}$ac_cv_type_char" >&6
18032 echo "$as_me:$LINENO: checking size of char" >&5
18033 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18034 if test "${ac_cv_sizeof_char+set}" = set; then
18035 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 if test "$ac_cv_type_char" = yes; then
18038 # The cast to unsigned long works around a bug in the HP C Compiler
18039 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18040 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18041 # This bug is HP SR number 8606223364.
18042 if test "$cross_compiling" = yes; then
18043 # Depending upon the size, compute the lo and hi bounds.
18044 cat >conftest.
$ac_ext <<_ACEOF
18047 cat confdefs.h
>>conftest.
$ac_ext
18048 cat >>conftest.
$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 $ac_includes_default
18054 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18061 rm -f conftest.
$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18065 grep -v '^ *+' conftest.er1
>conftest.err
18067 cat conftest.err
>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; } &&
18076 { ac_try
='test -s conftest.$ac_objext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18084 cat >conftest.
$ac_ext <<_ACEOF
18087 cat confdefs.h
>>conftest.
$ac_ext
18088 cat >>conftest.
$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 $ac_includes_default
18094 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18101 rm -f conftest.
$ac_objext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18103 (eval $ac_compile) 2>conftest.er1
18105 grep -v '^ *+' conftest.er1
>conftest.err
18107 cat conftest.err
>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } &&
18110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18112 (eval $ac_try) 2>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); }; } &&
18116 { ac_try
='test -s conftest.$ac_objext'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; }; then
18122 ac_hi
=$ac_mid; break
18124 echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.
$ac_ext >&5
18127 ac_lo
=`expr $ac_mid + 1`
18128 if test $ac_lo -le $ac_mid; then
18132 ac_mid
=`expr 2 '*' $ac_mid + 1`
18134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.
$ac_ext >&5
18140 cat >conftest.
$ac_ext <<_ACEOF
18143 cat confdefs.h
>>conftest.
$ac_ext
18144 cat >>conftest.
$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 $ac_includes_default
18150 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18157 rm -f conftest.
$ac_objext
18158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18159 (eval $ac_compile) 2>conftest.er1
18161 grep -v '^ *+' conftest.er1
>conftest.err
18163 cat conftest.err
>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } &&
18166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try
='test -s conftest.$ac_objext'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; }; then
18180 cat >conftest.
$ac_ext <<_ACEOF
18183 cat confdefs.h
>>conftest.
$ac_ext
18184 cat >>conftest.
$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 $ac_includes_default
18190 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18197 rm -f conftest.
$ac_objext
18198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18199 (eval $ac_compile) 2>conftest.er1
18201 grep -v '^ *+' conftest.er1
>conftest.err
18203 cat conftest.err
>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } &&
18206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; } &&
18212 { ac_try
='test -s conftest.$ac_objext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 ac_lo
=$ac_mid; break
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.
$ac_ext >&5
18223 ac_hi
=`expr '(' $ac_mid ')' - 1`
18224 if test $ac_mid -le $ac_hi; then
18228 ac_mid
=`expr 2 '*' $ac_mid`
18230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.
$ac_ext >&5
18238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18241 # Binary search between lo and hi bounds.
18242 while test "x$ac_lo" != "x$ac_hi"; do
18243 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18244 cat >conftest.
$ac_ext <<_ACEOF
18247 cat confdefs.h
>>conftest.
$ac_ext
18248 cat >>conftest.
$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 $ac_includes_default
18254 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18261 rm -f conftest.
$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18265 grep -v '^ *+' conftest.er1
>conftest.err
18267 cat conftest.err
>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18287 ac_lo
=`expr '(' $ac_mid ')' + 1`
18289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18292 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18293 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18294 See \`config.log' for more details." >&5
18295 echo "$as_me: error: cannot compute sizeof (char), 77
18296 See \`config.log' for more details." >&2;}
18297 { (exit 1); exit 1; }; } ;;
18300 if test "$cross_compiling" = yes; then
18301 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18302 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18303 { (exit 1); exit 1; }; }
18305 cat >conftest.
$ac_ext <<_ACEOF
18308 cat confdefs.h
>>conftest.
$ac_ext
18309 cat >>conftest.
$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18311 $ac_includes_default
18312 long longval () { return (long) (sizeof (char)); }
18313 unsigned long ulongval () { return (long) (sizeof (char)); }
18315 #include <stdlib.h>
18320 FILE *f = fopen ("conftest.val", "w");
18323 if (((long) (sizeof (char))) < 0)
18325 long i = longval ();
18326 if (i != ((long) (sizeof (char))))
18328 fprintf (f, "%ld\n", i);
18332 unsigned long i = ulongval ();
18333 if (i != ((long) (sizeof (char))))
18335 fprintf (f, "%lu\n", i);
18337 exit (ferror (f) || fclose (f) != 0);
18343 rm -f conftest
$ac_exeext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18345 (eval $ac_link) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18354 ac_cv_sizeof_char
=`cat conftest.val`
18356 echo "$as_me: program exited with status $ac_status" >&5
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.
$ac_ext >&5
18360 ( exit $ac_status )
18361 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18362 See \`config.log' for more details." >&5
18363 echo "$as_me: error: cannot compute sizeof (char), 77
18364 See \`config.log' for more details." >&2;}
18365 { (exit 1); exit 1; }; }
18367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18372 ac_cv_sizeof_char
=0
18375 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18376 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18377 cat >>confdefs.h
<<_ACEOF
18378 #define SIZEOF_CHAR $ac_cv_sizeof_char
18382 echo "$as_me:$LINENO: checking for short" >&5
18383 echo $ECHO_N "checking for short... $ECHO_C" >&6
18384 if test "${ac_cv_type_short+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 cat >conftest.
$ac_ext <<_ACEOF
18390 cat confdefs.h
>>conftest.
$ac_ext
18391 cat >>conftest.
$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 $ac_includes_default
18399 if (sizeof (short))
18405 rm -f conftest.
$ac_objext
18406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18407 (eval $ac_compile) 2>conftest.er1
18409 grep -v '^ *+' conftest.er1
>conftest.err
18411 cat conftest.err
>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } &&
18414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; } &&
18420 { ac_try
='test -s conftest.$ac_objext'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; }; then
18426 ac_cv_type_short
=yes
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.
$ac_ext >&5
18431 ac_cv_type_short
=no
18433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18435 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18436 echo "${ECHO_T}$ac_cv_type_short" >&6
18438 echo "$as_me:$LINENO: checking size of short" >&5
18439 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18440 if test "${ac_cv_sizeof_short+set}" = set; then
18441 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 if test "$ac_cv_type_short" = yes; then
18444 # The cast to unsigned long works around a bug in the HP C Compiler
18445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18447 # This bug is HP SR number 8606223364.
18448 if test "$cross_compiling" = yes; then
18449 # Depending upon the size, compute the lo and hi bounds.
18450 cat >conftest.
$ac_ext <<_ACEOF
18453 cat confdefs.h
>>conftest.
$ac_ext
18454 cat >>conftest.
$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18456 $ac_includes_default
18460 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18467 rm -f conftest.
$ac_objext
18468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18469 (eval $ac_compile) 2>conftest.er1
18471 grep -v '^ *+' conftest.er1
>conftest.err
18473 cat conftest.err
>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); } &&
18476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try
='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18490 cat >conftest.
$ac_ext <<_ACEOF
18493 cat confdefs.h
>>conftest.
$ac_ext
18494 cat >>conftest.
$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 $ac_includes_default
18500 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18507 rm -f conftest.
$ac_objext
18508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18509 (eval $ac_compile) 2>conftest.er1
18511 grep -v '^ *+' conftest.er1
>conftest.err
18513 cat conftest.err
>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } &&
18516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; } &&
18522 { ac_try
='test -s conftest.$ac_objext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 ac_hi
=$ac_mid; break
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.
$ac_ext >&5
18533 ac_lo
=`expr $ac_mid + 1`
18534 if test $ac_lo -le $ac_mid; then
18538 ac_mid
=`expr 2 '*' $ac_mid + 1`
18540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.
$ac_ext >&5
18546 cat >conftest.
$ac_ext <<_ACEOF
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18556 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18563 rm -f conftest.
$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18567 grep -v '^ *+' conftest.er1
>conftest.err
18569 cat conftest.err
>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; } &&
18578 { ac_try
='test -s conftest.$ac_objext'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; }; then
18586 cat >conftest.
$ac_ext <<_ACEOF
18589 cat confdefs.h
>>conftest.
$ac_ext
18590 cat >>conftest.
$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18592 $ac_includes_default
18596 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18603 rm -f conftest.
$ac_objext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18605 (eval $ac_compile) 2>conftest.er1
18607 grep -v '^ *+' conftest.er1
>conftest.err
18609 cat conftest.err
>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try
='test -s conftest.$ac_objext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 ac_lo
=$ac_mid; break
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ac_hi
=`expr '(' $ac_mid ')' - 1`
18630 if test $ac_mid -le $ac_hi; then
18634 ac_mid
=`expr 2 '*' $ac_mid`
18636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.
$ac_ext >&5
18644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18647 # Binary search between lo and hi bounds.
18648 while test "x$ac_lo" != "x$ac_hi"; do
18649 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18650 cat >conftest.
$ac_ext <<_ACEOF
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18660 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try
='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.
$ac_ext >&5
18693 ac_lo
=`expr '(' $ac_mid ')' + 1`
18695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18698 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18699 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18700 See \`config.log' for more details." >&5
18701 echo "$as_me: error: cannot compute sizeof (short), 77
18702 See \`config.log' for more details." >&2;}
18703 { (exit 1); exit 1; }; } ;;
18706 if test "$cross_compiling" = yes; then
18707 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18708 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18709 { (exit 1); exit 1; }; }
18711 cat >conftest.
$ac_ext <<_ACEOF
18714 cat confdefs.h
>>conftest.
$ac_ext
18715 cat >>conftest.
$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18718 long longval () { return (long) (sizeof (short)); }
18719 unsigned long ulongval () { return (long) (sizeof (short)); }
18721 #include <stdlib.h>
18726 FILE *f = fopen ("conftest.val", "w");
18729 if (((long) (sizeof (short))) < 0)
18731 long i = longval ();
18732 if (i != ((long) (sizeof (short))))
18734 fprintf (f, "%ld\n", i);
18738 unsigned long i = ulongval ();
18739 if (i != ((long) (sizeof (short))))
18741 fprintf (f, "%lu\n", i);
18743 exit (ferror (f) || fclose (f) != 0);
18749 rm -f conftest
$ac_exeext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18751 (eval $ac_link) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; }; then
18760 ac_cv_sizeof_short
=`cat conftest.val`
18762 echo "$as_me: program exited with status $ac_status" >&5
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.
$ac_ext >&5
18766 ( exit $ac_status )
18767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18768 See \`config.log' for more details." >&5
18769 echo "$as_me: error: cannot compute sizeof (short), 77
18770 See \`config.log' for more details." >&2;}
18771 { (exit 1); exit 1; }; }
18773 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18778 ac_cv_sizeof_short
=0
18781 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18782 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18783 cat >>confdefs.h
<<_ACEOF
18784 #define SIZEOF_SHORT $ac_cv_sizeof_short
18788 echo "$as_me:$LINENO: checking for void *" >&5
18789 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18790 if test "${ac_cv_type_void_p+set}" = set; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18793 cat >conftest.
$ac_ext <<_ACEOF
18796 cat confdefs.h
>>conftest.
$ac_ext
18797 cat >>conftest.
$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18805 if (sizeof (void *))
18811 rm -f conftest.
$ac_objext
18812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18813 (eval $ac_compile) 2>conftest.er1
18815 grep -v '^ *+' conftest.er1
>conftest.err
18817 cat conftest.err
>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } &&
18820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try
='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_cv_type_void_p
=yes
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.
$ac_ext >&5
18837 ac_cv_type_void_p
=no
18839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18841 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18842 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18844 echo "$as_me:$LINENO: checking size of void *" >&5
18845 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18846 if test "${ac_cv_sizeof_void_p+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 if test "$ac_cv_type_void_p" = yes; then
18850 # The cast to unsigned long works around a bug in the HP C Compiler
18851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18853 # This bug is HP SR number 8606223364.
18854 if test "$cross_compiling" = yes; then
18855 # Depending upon the size, compute the lo and hi bounds.
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 $ac_includes_default
18866 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18873 rm -f conftest.
$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18877 grep -v '^ *+' conftest.er1
>conftest.err
18879 cat conftest.err
>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try
='test -s conftest.$ac_objext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18906 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18913 rm -f conftest.
$ac_objext
18914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18915 (eval $ac_compile) 2>conftest.er1
18917 grep -v '^ *+' conftest.er1
>conftest.err
18919 cat conftest.err
>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; } &&
18928 { ac_try
='test -s conftest.$ac_objext'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; }; then
18934 ac_hi
=$ac_mid; break
18936 echo "$as_me: failed program was:" >&5
18937 sed 's/^/| /' conftest.
$ac_ext >&5
18939 ac_lo
=`expr $ac_mid + 1`
18940 if test $ac_lo -le $ac_mid; then
18944 ac_mid
=`expr 2 '*' $ac_mid + 1`
18946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.
$ac_ext >&5
18952 cat >conftest.
$ac_ext <<_ACEOF
18955 cat confdefs.h
>>conftest.
$ac_ext
18956 cat >>conftest.
$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 $ac_includes_default
18962 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18969 rm -f conftest.
$ac_objext
18970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18971 (eval $ac_compile) 2>conftest.er1
18973 grep -v '^ *+' conftest.er1
>conftest.err
18975 cat conftest.err
>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } &&
18978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; } &&
18984 { ac_try
='test -s conftest.$ac_objext'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18992 cat >conftest.
$ac_ext <<_ACEOF
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 $ac_includes_default
19002 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19009 rm -f conftest.
$ac_objext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19011 (eval $ac_compile) 2>conftest.er1
19013 grep -v '^ *+' conftest.er1
>conftest.err
19015 cat conftest.err
>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } &&
19018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try
='test -s conftest.$ac_objext'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 ac_lo
=$ac_mid; break
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.
$ac_ext >&5
19035 ac_hi
=`expr '(' $ac_mid ')' - 1`
19036 if test $ac_mid -le $ac_hi; then
19040 ac_mid
=`expr 2 '*' $ac_mid`
19042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.
$ac_ext >&5
19050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19053 # Binary search between lo and hi bounds.
19054 while test "x$ac_lo" != "x$ac_hi"; do
19055 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19056 cat >conftest.
$ac_ext <<_ACEOF
19059 cat confdefs.h
>>conftest.
$ac_ext
19060 cat >>conftest.
$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 $ac_includes_default
19066 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19073 rm -f conftest.
$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19077 grep -v '^ *+' conftest.er1
>conftest.err
19079 cat conftest.err
>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try
='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.
$ac_ext >&5
19099 ac_lo
=`expr '(' $ac_mid ')' + 1`
19101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19106 See \`config.log' for more details." >&5
19107 echo "$as_me: error: cannot compute sizeof (void *), 77
19108 See \`config.log' for more details." >&2;}
19109 { (exit 1); exit 1; }; } ;;
19112 if test "$cross_compiling" = yes; then
19113 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19114 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19115 { (exit 1); exit 1; }; }
19117 cat >conftest.
$ac_ext <<_ACEOF
19120 cat confdefs.h
>>conftest.
$ac_ext
19121 cat >>conftest.
$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 long longval () { return (long) (sizeof (void *)); }
19125 unsigned long ulongval () { return (long) (sizeof (void *)); }
19127 #include <stdlib.h>
19132 FILE *f = fopen ("conftest.val", "w");
19135 if (((long) (sizeof (void *))) < 0)
19137 long i = longval ();
19138 if (i != ((long) (sizeof (void *))))
19140 fprintf (f, "%ld\n", i);
19144 unsigned long i = ulongval ();
19145 if (i != ((long) (sizeof (void *))))
19147 fprintf (f, "%lu\n", i);
19149 exit (ferror (f) || fclose (f) != 0);
19155 rm -f conftest
$ac_exeext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19157 (eval $ac_link) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19162 (eval $ac_try) 2>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); }; }; then
19166 ac_cv_sizeof_void_p
=`cat conftest.val`
19168 echo "$as_me: program exited with status $ac_status" >&5
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.
$ac_ext >&5
19172 ( exit $ac_status )
19173 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19174 See \`config.log' for more details." >&5
19175 echo "$as_me: error: cannot compute sizeof (void *), 77
19176 See \`config.log' for more details." >&2;}
19177 { (exit 1); exit 1; }; }
19179 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19184 ac_cv_sizeof_void_p
=0
19187 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19188 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19189 cat >>confdefs.h
<<_ACEOF
19190 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19194 echo "$as_me:$LINENO: checking for int" >&5
19195 echo $ECHO_N "checking for int... $ECHO_C" >&6
19196 if test "${ac_cv_type_int+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 cat >conftest.
$ac_ext <<_ACEOF
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 $ac_includes_default
19217 rm -f conftest.
$ac_objext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19219 (eval $ac_compile) 2>conftest.er1
19221 grep -v '^ *+' conftest.er1
>conftest.err
19223 cat conftest.err
>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; } &&
19232 { ac_try
='test -s conftest.$ac_objext'
19233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19234 (eval $ac_try) 2>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); }; }; then
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.
$ac_ext >&5
19245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19248 echo "${ECHO_T}$ac_cv_type_int" >&6
19250 echo "$as_me:$LINENO: checking size of int" >&5
19251 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19252 if test "${ac_cv_sizeof_int+set}" = set; then
19253 echo $ECHO_N "(cached) $ECHO_C" >&6
19255 if test "$ac_cv_type_int" = yes; then
19256 # The cast to unsigned long works around a bug in the HP C Compiler
19257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19259 # This bug is HP SR number 8606223364.
19260 if test "$cross_compiling" = yes; then
19261 # Depending upon the size, compute the lo and hi bounds.
19262 cat >conftest.
$ac_ext <<_ACEOF
19265 cat confdefs.h
>>conftest.
$ac_ext
19266 cat >>conftest.
$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 $ac_includes_default
19272 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19279 rm -f conftest.
$ac_objext
19280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19281 (eval $ac_compile) 2>conftest.er1
19283 grep -v '^ *+' conftest.er1
>conftest.err
19285 cat conftest.err
>&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } &&
19288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; } &&
19294 { ac_try
='test -s conftest.$ac_objext'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; }; then
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19312 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19319 rm -f conftest.
$ac_objext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19321 (eval $ac_compile) 2>conftest.er1
19323 grep -v '^ *+' conftest.er1
>conftest.err
19325 cat conftest.err
>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; } &&
19334 { ac_try
='test -s conftest.$ac_objext'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; }; then
19340 ac_hi
=$ac_mid; break
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.
$ac_ext >&5
19345 ac_lo
=`expr $ac_mid + 1`
19346 if test $ac_lo -le $ac_mid; then
19350 ac_mid
=`expr 2 '*' $ac_mid + 1`
19352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.
$ac_ext >&5
19358 cat >conftest.
$ac_ext <<_ACEOF
19361 cat confdefs.h
>>conftest.
$ac_ext
19362 cat >>conftest.
$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19368 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19375 rm -f conftest.
$ac_objext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19377 (eval $ac_compile) 2>conftest.er1
19379 grep -v '^ *+' conftest.er1
>conftest.err
19381 cat conftest.err
>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try
='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 $ac_includes_default
19408 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19415 rm -f conftest.
$ac_objext
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>conftest.er1
19419 grep -v '^ *+' conftest.er1
>conftest.err
19421 cat conftest.err
>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } &&
19424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19426 (eval $ac_try) 2>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; } &&
19430 { ac_try
='test -s conftest.$ac_objext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 ac_lo
=$ac_mid; break
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.
$ac_ext >&5
19441 ac_hi
=`expr '(' $ac_mid ')' - 1`
19442 if test $ac_mid -le $ac_hi; then
19446 ac_mid
=`expr 2 '*' $ac_mid`
19448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.
$ac_ext >&5
19456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19459 # Binary search between lo and hi bounds.
19460 while test "x$ac_lo" != "x$ac_hi"; do
19461 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19462 cat >conftest.
$ac_ext <<_ACEOF
19465 cat confdefs.h
>>conftest.
$ac_ext
19466 cat >>conftest.
$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 $ac_includes_default
19472 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19479 rm -f conftest.
$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19483 grep -v '^ *+' conftest.er1
>conftest.err
19485 cat conftest.err
>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.
$ac_ext >&5
19505 ac_lo
=`expr '(' $ac_mid ')' + 1`
19507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19510 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19512 See \`config.log' for more details." >&5
19513 echo "$as_me: error: cannot compute sizeof (int), 77
19514 See \`config.log' for more details." >&2;}
19515 { (exit 1); exit 1; }; } ;;
19518 if test "$cross_compiling" = yes; then
19519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19521 { (exit 1); exit 1; }; }
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 long longval () { return (long) (sizeof (int)); }
19531 unsigned long ulongval () { return (long) (sizeof (int)); }
19533 #include <stdlib.h>
19538 FILE *f = fopen ("conftest.val", "w");
19541 if (((long) (sizeof (int))) < 0)
19543 long i = longval ();
19544 if (i != ((long) (sizeof (int))))
19546 fprintf (f, "%ld\n", i);
19550 unsigned long i = ulongval ();
19551 if (i != ((long) (sizeof (int))))
19553 fprintf (f, "%lu\n", i);
19555 exit (ferror (f) || fclose (f) != 0);
19561 rm -f conftest
$ac_exeext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19563 (eval $ac_link) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_sizeof_int
=`cat conftest.val`
19574 echo "$as_me: program exited with status $ac_status" >&5
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.
$ac_ext >&5
19578 ( exit $ac_status )
19579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19580 See \`config.log' for more details." >&5
19581 echo "$as_me: error: cannot compute sizeof (int), 77
19582 See \`config.log' for more details." >&2;}
19583 { (exit 1); exit 1; }; }
19585 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19594 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19595 cat >>confdefs.h
<<_ACEOF
19596 #define SIZEOF_INT $ac_cv_sizeof_int
19600 echo "$as_me:$LINENO: checking for long" >&5
19601 echo $ECHO_N "checking for long... $ECHO_C" >&6
19602 if test "${ac_cv_type_long+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19623 rm -f conftest.
$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>conftest.er1
19627 grep -v '^ *+' conftest.er1
>conftest.err
19629 cat conftest.err
>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } &&
19632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try
='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 ac_cv_type_long
=yes
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.
$ac_ext >&5
19651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19653 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19654 echo "${ECHO_T}$ac_cv_type_long" >&6
19656 echo "$as_me:$LINENO: checking size of long" >&5
19657 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19658 if test "${ac_cv_sizeof_long+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 if test "$ac_cv_type_long" = yes; then
19662 # The cast to unsigned long works around a bug in the HP C Compiler
19663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19665 # This bug is HP SR number 8606223364.
19666 if test "$cross_compiling" = yes; then
19667 # Depending upon the size, compute the lo and hi bounds.
19668 cat >conftest.
$ac_ext <<_ACEOF
19671 cat confdefs.h
>>conftest.
$ac_ext
19672 cat >>conftest.
$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 $ac_includes_default
19678 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19685 rm -f conftest.
$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; } &&
19700 { ac_try
='test -s conftest.$ac_objext'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; }; then
19708 cat >conftest.
$ac_ext <<_ACEOF
19711 cat confdefs.h
>>conftest.
$ac_ext
19712 cat >>conftest.
$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19718 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19725 rm -f conftest.
$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727 (eval $ac_compile) 2>conftest.er1
19729 grep -v '^ *+' conftest.er1
>conftest.err
19731 cat conftest.err
>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try
='test -s conftest.$ac_objext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_hi
=$ac_mid; break
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.
$ac_ext >&5
19751 ac_lo
=`expr $ac_mid + 1`
19752 if test $ac_lo -le $ac_mid; then
19756 ac_mid
=`expr 2 '*' $ac_mid + 1`
19758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19764 cat >conftest.
$ac_ext <<_ACEOF
19767 cat confdefs.h
>>conftest.
$ac_ext
19768 cat >>conftest.
$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 $ac_includes_default
19774 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19781 rm -f conftest.
$ac_objext
19782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19783 (eval $ac_compile) 2>conftest.er1
19785 grep -v '^ *+' conftest.er1
>conftest.err
19787 cat conftest.err
>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } &&
19790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19792 (eval $ac_try) 2>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; } &&
19796 { ac_try
='test -s conftest.$ac_objext'
19797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19798 (eval $ac_try) 2>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); }; }; then
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19814 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19821 rm -f conftest.
$ac_objext
19822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19823 (eval $ac_compile) 2>conftest.er1
19825 grep -v '^ *+' conftest.er1
>conftest.err
19827 cat conftest.err
>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } &&
19830 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; } &&
19836 { ac_try
='test -s conftest.$ac_objext'
19837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19838 (eval $ac_try) 2>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); }; }; then
19842 ac_lo
=$ac_mid; break
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.
$ac_ext >&5
19847 ac_hi
=`expr '(' $ac_mid ')' - 1`
19848 if test $ac_mid -le $ac_hi; then
19852 ac_mid
=`expr 2 '*' $ac_mid`
19854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.
$ac_ext >&5
19862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19865 # Binary search between lo and hi bounds.
19866 while test "x$ac_lo" != "x$ac_hi"; do
19867 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19868 cat >conftest.
$ac_ext <<_ACEOF
19871 cat confdefs.h
>>conftest.
$ac_ext
19872 cat >>conftest.
$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 $ac_includes_default
19878 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19885 rm -f conftest.
$ac_objext
19886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19887 (eval $ac_compile) 2>conftest.er1
19889 grep -v '^ *+' conftest.er1
>conftest.err
19891 cat conftest.err
>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } &&
19894 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; } &&
19900 { ac_try
='test -s conftest.$ac_objext'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.
$ac_ext >&5
19911 ac_lo
=`expr '(' $ac_mid ')' + 1`
19913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19916 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19918 See \`config.log' for more details." >&5
19919 echo "$as_me: error: cannot compute sizeof (long), 77
19920 See \`config.log' for more details." >&2;}
19921 { (exit 1); exit 1; }; } ;;
19924 if test "$cross_compiling" = yes; then
19925 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19926 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19927 { (exit 1); exit 1; }; }
19929 cat >conftest.
$ac_ext <<_ACEOF
19932 cat confdefs.h
>>conftest.
$ac_ext
19933 cat >>conftest.
$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19935 $ac_includes_default
19936 long longval () { return (long) (sizeof (long)); }
19937 unsigned long ulongval () { return (long) (sizeof (long)); }
19939 #include <stdlib.h>
19944 FILE *f = fopen ("conftest.val", "w");
19947 if (((long) (sizeof (long))) < 0)
19949 long i = longval ();
19950 if (i != ((long) (sizeof (long))))
19952 fprintf (f, "%ld\n", i);
19956 unsigned long i = ulongval ();
19957 if (i != ((long) (sizeof (long))))
19959 fprintf (f, "%lu\n", i);
19961 exit (ferror (f) || fclose (f) != 0);
19967 rm -f conftest
$ac_exeext
19968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19969 (eval $ac_link) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_sizeof_long
=`cat conftest.val`
19980 echo "$as_me: program exited with status $ac_status" >&5
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 ( exit $ac_status )
19985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19986 See \`config.log' for more details." >&5
19987 echo "$as_me: error: cannot compute sizeof (long), 77
19988 See \`config.log' for more details." >&2;}
19989 { (exit 1); exit 1; }; }
19991 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19996 ac_cv_sizeof_long
=0
19999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20000 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20001 cat >>confdefs.h
<<_ACEOF
20002 #define SIZEOF_LONG $ac_cv_sizeof_long
20006 echo "$as_me:$LINENO: checking for size_t" >&5
20007 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20008 if test "${ac_cv_type_size_t+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 cat >conftest.
$ac_ext <<_ACEOF
20014 cat confdefs.h
>>conftest.
$ac_ext
20015 cat >>conftest.
$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 $ac_includes_default
20023 if (sizeof (size_t))
20029 rm -f conftest.
$ac_objext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20031 (eval $ac_compile) 2>conftest.er1
20033 grep -v '^ *+' conftest.er1
>conftest.err
20035 cat conftest.err
>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try
='test -s conftest.$ac_objext'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; }; then
20050 ac_cv_type_size_t
=yes
20052 echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.
$ac_ext >&5
20055 ac_cv_type_size_t
=no
20057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20059 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20060 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20062 echo "$as_me:$LINENO: checking size of size_t" >&5
20063 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20064 if test "${ac_cv_sizeof_size_t+set}" = set; then
20065 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 if test "$ac_cv_type_size_t" = yes; then
20068 # The cast to unsigned long works around a bug in the HP C Compiler
20069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20071 # This bug is HP SR number 8606223364.
20072 if test "$cross_compiling" = yes; then
20073 # Depending upon the size, compute the lo and hi bounds.
20074 cat >conftest.
$ac_ext <<_ACEOF
20077 cat confdefs.h
>>conftest.
$ac_ext
20078 cat >>conftest.
$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20084 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20091 rm -f conftest.
$ac_objext
20092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20093 (eval $ac_compile) 2>conftest.er1
20095 grep -v '^ *+' conftest.er1
>conftest.err
20097 cat conftest.err
>&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } &&
20100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try
='test -s conftest.$ac_objext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20124 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20131 rm -f conftest.
$ac_objext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133 (eval $ac_compile) 2>conftest.er1
20135 grep -v '^ *+' conftest.er1
>conftest.err
20137 cat conftest.err
>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; } &&
20146 { ac_try
='test -s conftest.$ac_objext'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; }; then
20152 ac_hi
=$ac_mid; break
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.
$ac_ext >&5
20157 ac_lo
=`expr $ac_mid + 1`
20158 if test $ac_lo -le $ac_mid; then
20162 ac_mid
=`expr 2 '*' $ac_mid + 1`
20164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.
$ac_ext >&5
20170 cat >conftest.
$ac_ext <<_ACEOF
20173 cat confdefs.h
>>conftest.
$ac_ext
20174 cat >>conftest.
$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 $ac_includes_default
20180 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20187 rm -f conftest.
$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189 (eval $ac_compile) 2>conftest.er1
20191 grep -v '^ *+' conftest.er1
>conftest.err
20193 cat conftest.err
>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try
='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20210 cat >conftest.
$ac_ext <<_ACEOF
20213 cat confdefs.h
>>conftest.
$ac_ext
20214 cat >>conftest.
$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20220 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20227 rm -f conftest.
$ac_objext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20229 (eval $ac_compile) 2>conftest.er1
20231 grep -v '^ *+' conftest.er1
>conftest.err
20233 cat conftest.err
>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } &&
20236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; } &&
20242 { ac_try
='test -s conftest.$ac_objext'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_lo
=$ac_mid; break
20250 echo "$as_me: failed program was:" >&5
20251 sed 's/^/| /' conftest.
$ac_ext >&5
20253 ac_hi
=`expr '(' $ac_mid ')' - 1`
20254 if test $ac_mid -le $ac_hi; then
20258 ac_mid
=`expr 2 '*' $ac_mid`
20260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.
$ac_ext >&5
20268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20271 # Binary search between lo and hi bounds.
20272 while test "x$ac_lo" != "x$ac_hi"; do
20273 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20274 cat >conftest.
$ac_ext <<_ACEOF
20277 cat confdefs.h
>>conftest.
$ac_ext
20278 cat >>conftest.
$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 $ac_includes_default
20284 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20291 rm -f conftest.
$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>conftest.er1
20295 grep -v '^ *+' conftest.er1
>conftest.err
20297 cat conftest.err
>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try
='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.
$ac_ext >&5
20317 ac_lo
=`expr '(' $ac_mid ')' + 1`
20319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20322 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20324 See \`config.log' for more details." >&5
20325 echo "$as_me: error: cannot compute sizeof (size_t), 77
20326 See \`config.log' for more details." >&2;}
20327 { (exit 1); exit 1; }; } ;;
20330 if test "$cross_compiling" = yes; then
20331 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20332 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20333 { (exit 1); exit 1; }; }
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20342 long longval () { return (long) (sizeof (size_t)); }
20343 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20345 #include <stdlib.h>
20350 FILE *f = fopen ("conftest.val", "w");
20353 if (((long) (sizeof (size_t))) < 0)
20355 long i = longval ();
20356 if (i != ((long) (sizeof (size_t))))
20358 fprintf (f, "%ld\n", i);
20362 unsigned long i = ulongval ();
20363 if (i != ((long) (sizeof (size_t))))
20365 fprintf (f, "%lu\n", i);
20367 exit (ferror (f) || fclose (f) != 0);
20373 rm -f conftest
$ac_exeext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20375 (eval $ac_link) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; }; then
20384 ac_cv_sizeof_size_t
=`cat conftest.val`
20386 echo "$as_me: program exited with status $ac_status" >&5
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.
$ac_ext >&5
20390 ( exit $ac_status )
20391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20392 See \`config.log' for more details." >&5
20393 echo "$as_me: error: cannot compute sizeof (size_t), 77
20394 See \`config.log' for more details." >&2;}
20395 { (exit 1); exit 1; }; }
20397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20402 ac_cv_sizeof_size_t
=0
20405 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20406 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20407 cat >>confdefs.h
<<_ACEOF
20408 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20415 echo "$as_me:$LINENO: checking for long long" >&5
20416 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20417 if test "${ac_cv_type_long_long+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
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 if ((long long *) 0)
20432 if (sizeof (long long))
20438 rm -f conftest.
$ac_objext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20440 (eval $ac_compile) 2>conftest.er1
20442 grep -v '^ *+' conftest.er1
>conftest.err
20444 cat conftest.err
>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } &&
20447 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_cv_type_long_long
=yes
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.
$ac_ext >&5
20464 ac_cv_type_long_long
=no
20466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20468 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20469 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20471 echo "$as_me:$LINENO: checking size of long long" >&5
20472 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20473 if test "${ac_cv_sizeof_long_long+set}" = set; then
20474 echo $ECHO_N "(cached) $ECHO_C" >&6
20476 if test "$ac_cv_type_long_long" = yes; then
20477 # The cast to unsigned long works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 if test "$cross_compiling" = yes; then
20482 # Depending upon the size, compute the lo and hi bounds.
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20500 rm -f conftest.
$ac_objext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20502 (eval $ac_compile) 2>conftest.er1
20504 grep -v '^ *+' conftest.er1
>conftest.err
20506 cat conftest.err
>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } &&
20509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20511 (eval $ac_try) 2>&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); }; } &&
20515 { ac_try
='test -s conftest.$ac_objext'
20516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; }; then
20523 cat >conftest.
$ac_ext <<_ACEOF
20526 cat confdefs.h
>>conftest.
$ac_ext
20527 cat >>conftest.
$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20533 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20540 rm -f conftest.
$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>conftest.er1
20544 grep -v '^ *+' conftest.er1
>conftest.err
20546 cat conftest.err
>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; } &&
20555 { ac_try
='test -s conftest.$ac_objext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_hi
=$ac_mid; break
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 ac_lo
=`expr $ac_mid + 1`
20567 if test $ac_lo -le $ac_mid; then
20571 ac_mid
=`expr 2 '*' $ac_mid + 1`
20573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 cat >conftest.
$ac_ext <<_ACEOF
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20589 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20596 rm -f conftest.
$ac_objext
20597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20598 (eval $ac_compile) 2>conftest.er1
20600 grep -v '^ *+' conftest.er1
>conftest.err
20602 cat conftest.err
>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } &&
20605 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 (eval $ac_try) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try
='test -s conftest.$ac_objext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20619 cat >conftest.
$ac_ext <<_ACEOF
20622 cat confdefs.h
>>conftest.
$ac_ext
20623 cat >>conftest.
$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20636 rm -f conftest.
$ac_objext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20638 (eval $ac_compile) 2>conftest.er1
20640 grep -v '^ *+' conftest.er1
>conftest.err
20642 cat conftest.err
>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647 (eval $ac_try) 2>&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); }; } &&
20651 { ac_try
='test -s conftest.$ac_objext'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 ac_lo
=$ac_mid; break
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.
$ac_ext >&5
20662 ac_hi
=`expr '(' $ac_mid ')' - 1`
20663 if test $ac_mid -le $ac_hi; then
20667 ac_mid
=`expr 2 '*' $ac_mid`
20669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.
$ac_ext >&5
20677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20680 # Binary search between lo and hi bounds.
20681 while test "x$ac_lo" != "x$ac_hi"; do
20682 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20683 cat >conftest.
$ac_ext <<_ACEOF
20686 cat confdefs.h
>>conftest.
$ac_ext
20687 cat >>conftest.
$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 $ac_includes_default
20693 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20700 rm -f conftest.
$ac_objext
20701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20702 (eval $ac_compile) 2>conftest.er1
20704 grep -v '^ *+' conftest.er1
>conftest.err
20706 cat conftest.err
>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } &&
20709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; } &&
20715 { ac_try
='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.
$ac_ext >&5
20726 ac_lo
=`expr '(' $ac_mid ')' + 1`
20728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20731 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20733 See \`config.log' for more details." >&5
20734 echo "$as_me: error: cannot compute sizeof (long long), 77
20735 See \`config.log' for more details." >&2;}
20736 { (exit 1); exit 1; }; } ;;
20739 if test "$cross_compiling" = yes; then
20740 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20741 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20742 { (exit 1); exit 1; }; }
20744 cat >conftest.
$ac_ext <<_ACEOF
20747 cat confdefs.h
>>conftest.
$ac_ext
20748 cat >>conftest.
$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 long longval () { return (long) (sizeof (long long)); }
20752 unsigned long ulongval () { return (long) (sizeof (long long)); }
20754 #include <stdlib.h>
20759 FILE *f = fopen ("conftest.val", "w");
20762 if (((long) (sizeof (long long))) < 0)
20764 long i = longval ();
20765 if (i != ((long) (sizeof (long long))))
20767 fprintf (f, "%ld\n", i);
20771 unsigned long i = ulongval ();
20772 if (i != ((long) (sizeof (long long))))
20774 fprintf (f, "%lu\n", i);
20776 exit (ferror (f) || fclose (f) != 0);
20782 rm -f conftest
$ac_exeext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20784 (eval $ac_link) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; }; then
20793 ac_cv_sizeof_long_long
=`cat conftest.val`
20795 echo "$as_me: program exited with status $ac_status" >&5
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.
$ac_ext >&5
20799 ( exit $ac_status )
20800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20801 See \`config.log' for more details." >&5
20802 echo "$as_me: error: cannot compute sizeof (long long), 77
20803 See \`config.log' for more details." >&2;}
20804 { (exit 1); exit 1; }; }
20806 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20811 ac_cv_sizeof_long_long
=0
20814 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20815 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20816 cat >>confdefs.h
<<_ACEOF
20817 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20823 echo "$as_me:$LINENO: checking for long long" >&5
20824 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20825 if test "${ac_cv_type_long_long+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20828 cat >conftest.
$ac_ext <<_ACEOF
20831 cat confdefs.h
>>conftest.
$ac_ext
20832 cat >>conftest.
$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20838 if ((long long *) 0)
20840 if (sizeof (long long))
20846 rm -f conftest.
$ac_objext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20848 (eval $ac_compile) 2>conftest.er1
20850 grep -v '^ *+' conftest.er1
>conftest.err
20852 cat conftest.err
>&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try
='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 ac_cv_type_long_long
=yes
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.
$ac_ext >&5
20872 ac_cv_type_long_long
=no
20874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20876 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20877 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20879 echo "$as_me:$LINENO: checking size of long long" >&5
20880 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20881 if test "${ac_cv_sizeof_long_long+set}" = set; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20884 if test "$ac_cv_type_long_long" = yes; then
20885 # The cast to unsigned long works around a bug in the HP C Compiler
20886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20888 # This bug is HP SR number 8606223364.
20889 if test "$cross_compiling" = yes; then
20890 # Depending upon the size, compute the lo and hi bounds.
20891 cat >conftest.
$ac_ext <<_ACEOF
20894 cat confdefs.h
>>conftest.
$ac_ext
20895 cat >>conftest.
$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20908 rm -f conftest.
$ac_objext
20909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20910 (eval $ac_compile) 2>conftest.er1
20912 grep -v '^ *+' conftest.er1
>conftest.err
20914 cat conftest.err
>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); } &&
20917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try
='test -s conftest.$ac_objext'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20931 cat >conftest.
$ac_ext <<_ACEOF
20934 cat confdefs.h
>>conftest.
$ac_ext
20935 cat >>conftest.
$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20941 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20948 rm -f conftest.
$ac_objext
20949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20950 (eval $ac_compile) 2>conftest.er1
20952 grep -v '^ *+' conftest.er1
>conftest.err
20954 cat conftest.err
>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } &&
20957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; } &&
20963 { ac_try
='test -s conftest.$ac_objext'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 ac_hi
=$ac_mid; break
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.
$ac_ext >&5
20974 ac_lo
=`expr $ac_mid + 1`
20975 if test $ac_lo -le $ac_mid; then
20979 ac_mid
=`expr 2 '*' $ac_mid + 1`
20981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.
$ac_ext >&5
20987 cat >conftest.
$ac_ext <<_ACEOF
20990 cat confdefs.h
>>conftest.
$ac_ext
20991 cat >>conftest.
$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 $ac_includes_default
20997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21004 rm -f conftest.
$ac_objext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21006 (eval $ac_compile) 2>conftest.er1
21008 grep -v '^ *+' conftest.er1
>conftest.err
21010 cat conftest.err
>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; } &&
21019 { ac_try
='test -s conftest.$ac_objext'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; }; then
21027 cat >conftest.
$ac_ext <<_ACEOF
21030 cat confdefs.h
>>conftest.
$ac_ext
21031 cat >>conftest.
$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 $ac_includes_default
21037 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21044 rm -f conftest.
$ac_objext
21045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046 (eval $ac_compile) 2>conftest.er1
21048 grep -v '^ *+' conftest.er1
>conftest.err
21050 cat conftest.err
>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try
='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 ac_lo
=$ac_mid; break
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.
$ac_ext >&5
21070 ac_hi
=`expr '(' $ac_mid ')' - 1`
21071 if test $ac_mid -le $ac_hi; then
21075 ac_mid
=`expr 2 '*' $ac_mid`
21077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.
$ac_ext >&5
21085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21088 # Binary search between lo and hi bounds.
21089 while test "x$ac_lo" != "x$ac_hi"; do
21090 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21091 cat >conftest.
$ac_ext <<_ACEOF
21094 cat confdefs.h
>>conftest.
$ac_ext
21095 cat >>conftest.
$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21101 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21108 rm -f conftest.
$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>conftest.er1
21112 grep -v '^ *+' conftest.er1
>conftest.err
21114 cat conftest.err
>&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; } &&
21123 { ac_try
='test -s conftest.$ac_objext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.
$ac_ext >&5
21134 ac_lo
=`expr '(' $ac_mid ')' + 1`
21136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21139 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21140 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21141 See \`config.log' for more details." >&5
21142 echo "$as_me: error: cannot compute sizeof (long long), 77
21143 See \`config.log' for more details." >&2;}
21144 { (exit 1); exit 1; }; } ;;
21147 if test "$cross_compiling" = yes; then
21148 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21149 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21150 { (exit 1); exit 1; }; }
21152 cat >conftest.
$ac_ext <<_ACEOF
21155 cat confdefs.h
>>conftest.
$ac_ext
21156 cat >>conftest.
$ac_ext <<_ACEOF
21157 /* end confdefs.h. */
21158 $ac_includes_default
21159 long longval () { return (long) (sizeof (long long)); }
21160 unsigned long ulongval () { return (long) (sizeof (long long)); }
21162 #include <stdlib.h>
21167 FILE *f = fopen ("conftest.val", "w");
21170 if (((long) (sizeof (long long))) < 0)
21172 long i = longval ();
21173 if (i != ((long) (sizeof (long long))))
21175 fprintf (f, "%ld\n", i);
21179 unsigned long i = ulongval ();
21180 if (i != ((long) (sizeof (long long))))
21182 fprintf (f, "%lu\n", i);
21184 exit (ferror (f) || fclose (f) != 0);
21190 rm -f conftest
$ac_exeext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21192 (eval $ac_link) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_sizeof_long_long
=`cat conftest.val`
21203 echo "$as_me: program exited with status $ac_status" >&5
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.
$ac_ext >&5
21207 ( exit $ac_status )
21208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21209 See \`config.log' for more details." >&5
21210 echo "$as_me: error: cannot compute sizeof (long long), 77
21211 See \`config.log' for more details." >&2;}
21212 { (exit 1); exit 1; }; }
21214 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21219 ac_cv_sizeof_long_long
=0
21222 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21223 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21224 cat >>confdefs.h
<<_ACEOF
21225 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21229 if test "$ac_cv_sizeof_long_long" != "0"; then
21230 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21234 echo "$as_me:$LINENO: checking for long long" >&5
21235 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21236 if test "${ac_cv_type_long_long+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21239 cat >conftest.
$ac_ext <<_ACEOF
21242 cat confdefs.h
>>conftest.
$ac_ext
21243 cat >>conftest.
$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245 $ac_includes_default
21249 if ((long long *) 0)
21251 if (sizeof (long long))
21257 rm -f conftest.
$ac_objext
21258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21259 (eval $ac_compile) 2>conftest.er1
21261 grep -v '^ *+' conftest.er1
>conftest.err
21263 cat conftest.err
>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } &&
21266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try
='test -s conftest.$ac_objext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_cv_type_long_long
=yes
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21283 ac_cv_type_long_long
=no
21285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21287 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21288 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21290 echo "$as_me:$LINENO: checking size of long long" >&5
21291 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21292 if test "${ac_cv_sizeof_long_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 if test "$ac_cv_type_long_long" = yes; then
21296 # The cast to unsigned long works around a bug in the HP C Compiler
21297 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21298 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21299 # This bug is HP SR number 8606223364.
21300 if test "$cross_compiling" = yes; then
21301 # Depending upon the size, compute the lo and hi bounds.
21302 cat >conftest.
$ac_ext <<_ACEOF
21305 cat confdefs.h
>>conftest.
$ac_ext
21306 cat >>conftest.
$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 $ac_includes_default
21312 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21319 rm -f conftest.
$ac_objext
21320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21321 (eval $ac_compile) 2>conftest.er1
21323 grep -v '^ *+' conftest.er1
>conftest.err
21325 cat conftest.err
>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } &&
21328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; } &&
21334 { ac_try
='test -s conftest.$ac_objext'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21342 cat >conftest.
$ac_ext <<_ACEOF
21345 cat confdefs.h
>>conftest.
$ac_ext
21346 cat >>conftest.
$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21352 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21359 rm -f conftest.
$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21363 grep -v '^ *+' conftest.er1
>conftest.err
21365 cat conftest.err
>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try
='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_hi
=$ac_mid; break
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.
$ac_ext >&5
21385 ac_lo
=`expr $ac_mid + 1`
21386 if test $ac_lo -le $ac_mid; then
21390 ac_mid
=`expr 2 '*' $ac_mid + 1`
21392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.
$ac_ext >&5
21398 cat >conftest.
$ac_ext <<_ACEOF
21401 cat confdefs.h
>>conftest.
$ac_ext
21402 cat >>conftest.
$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21415 rm -f conftest.
$ac_objext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21417 (eval $ac_compile) 2>conftest.er1
21419 grep -v '^ *+' conftest.er1
>conftest.err
21421 cat conftest.err
>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try
='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21438 cat >conftest.
$ac_ext <<_ACEOF
21441 cat confdefs.h
>>conftest.
$ac_ext
21442 cat >>conftest.
$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 $ac_includes_default
21448 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21455 rm -f conftest.
$ac_objext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21457 (eval $ac_compile) 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try
='test -s conftest.$ac_objext'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; }; then
21476 ac_lo
=$ac_mid; break
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.
$ac_ext >&5
21481 ac_hi
=`expr '(' $ac_mid ')' - 1`
21482 if test $ac_mid -le $ac_hi; then
21486 ac_mid
=`expr 2 '*' $ac_mid`
21488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.
$ac_ext >&5
21496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21499 # Binary search between lo and hi bounds.
21500 while test "x$ac_lo" != "x$ac_hi"; do
21501 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21502 cat >conftest.
$ac_ext <<_ACEOF
21505 cat confdefs.h
>>conftest.
$ac_ext
21506 cat >>conftest.
$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21512 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21519 rm -f conftest.
$ac_objext
21520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21521 (eval $ac_compile) 2>conftest.er1
21523 grep -v '^ *+' conftest.er1
>conftest.err
21525 cat conftest.err
>&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } &&
21528 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; } &&
21534 { ac_try
='test -s conftest.$ac_objext'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; }; then
21542 echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.
$ac_ext >&5
21545 ac_lo
=`expr '(' $ac_mid ')' + 1`
21547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21550 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21551 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21552 See \`config.log' for more details." >&5
21553 echo "$as_me: error: cannot compute sizeof (long long), 77
21554 See \`config.log' for more details." >&2;}
21555 { (exit 1); exit 1; }; } ;;
21558 if test "$cross_compiling" = yes; then
21559 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21560 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21561 { (exit 1); exit 1; }; }
21563 cat >conftest.
$ac_ext <<_ACEOF
21566 cat confdefs.h
>>conftest.
$ac_ext
21567 cat >>conftest.
$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 long longval () { return (long) (sizeof (long long)); }
21571 unsigned long ulongval () { return (long) (sizeof (long long)); }
21573 #include <stdlib.h>
21578 FILE *f = fopen ("conftest.val", "w");
21581 if (((long) (sizeof (long long))) < 0)
21583 long i = longval ();
21584 if (i != ((long) (sizeof (long long))))
21586 fprintf (f, "%ld\n", i);
21590 unsigned long i = ulongval ();
21591 if (i != ((long) (sizeof (long long))))
21593 fprintf (f, "%lu\n", i);
21595 exit (ferror (f) || fclose (f) != 0);
21601 rm -f conftest
$ac_exeext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21603 (eval $ac_link) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; }; then
21612 ac_cv_sizeof_long_long
=`cat conftest.val`
21614 echo "$as_me: program exited with status $ac_status" >&5
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.
$ac_ext >&5
21618 ( exit $ac_status )
21619 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21620 See \`config.log' for more details." >&5
21621 echo "$as_me: error: cannot compute sizeof (long long), 77
21622 See \`config.log' for more details." >&2;}
21623 { (exit 1); exit 1; }; }
21625 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21630 ac_cv_sizeof_long_long
=0
21633 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21634 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21635 cat >>confdefs.h
<<_ACEOF
21636 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21642 echo "$as_me:$LINENO: checking for wchar_t" >&5
21643 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21644 if test "${ac_cv_type_wchar_t+set}" = set; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
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>
21676 if (sizeof (wchar_t))
21682 rm -f conftest.
$ac_objext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21684 (eval $ac_compile) 2>conftest.er1
21686 grep -v '^ *+' conftest.er1
>conftest.err
21688 cat conftest.err
>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try
='test -z "$ac_cxx_werror_flag" || 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
21703 ac_cv_type_wchar_t
=yes
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 ac_cv_type_wchar_t
=no
21710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21712 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21713 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21715 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21716 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21717 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21718 echo $ECHO_N "(cached) $ECHO_C" >&6
21720 if test "$ac_cv_type_wchar_t" = yes; then
21721 # The cast to unsigned long works around a bug in the HP C Compiler
21722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21724 # This bug is HP SR number 8606223364.
21725 if test "$cross_compiling" = yes; then
21726 # Depending upon the size, compute the lo and hi bounds.
21727 cat >conftest.
$ac_ext <<_ACEOF
21730 cat confdefs.h
>>conftest.
$ac_ext
21731 cat >>conftest.
$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21734 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21735 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21736 # error "fake wchar_t"
21738 #ifdef HAVE_WCHAR_H
21740 # include <stddef.h>
21742 # include <wchar.h>
21744 #ifdef HAVE_STDLIB_H
21745 # include <stdlib.h>
21754 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21761 rm -f conftest.
$ac_objext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21763 (eval $ac_compile) 2>conftest.er1
21765 grep -v '^ *+' conftest.er1
>conftest.err
21767 cat conftest.err
>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } &&
21770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try
='test -s conftest.$ac_objext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21784 cat >conftest.
$ac_ext <<_ACEOF
21787 cat confdefs.h
>>conftest.
$ac_ext
21788 cat >>conftest.
$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21791 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21792 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21793 # error "fake wchar_t"
21795 #ifdef HAVE_WCHAR_H
21797 # include <stddef.h>
21799 # include <wchar.h>
21801 #ifdef HAVE_STDLIB_H
21802 # include <stdlib.h>
21811 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21818 rm -f conftest.
$ac_objext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21820 (eval $ac_compile) 2>conftest.er1
21822 grep -v '^ *+' conftest.er1
>conftest.err
21824 cat conftest.err
>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; } &&
21833 { ac_try
='test -s conftest.$ac_objext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_hi
=$ac_mid; break
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.
$ac_ext >&5
21844 ac_lo
=`expr $ac_mid + 1`
21845 if test $ac_lo -le $ac_mid; then
21849 ac_mid
=`expr 2 '*' $ac_mid + 1`
21851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.
$ac_ext >&5
21857 cat >conftest.
$ac_ext <<_ACEOF
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21866 # error "fake wchar_t"
21868 #ifdef HAVE_WCHAR_H
21870 # include <stddef.h>
21872 # include <wchar.h>
21874 #ifdef HAVE_STDLIB_H
21875 # include <stdlib.h>
21884 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21891 rm -f conftest.
$ac_objext
21892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21893 (eval $ac_compile) 2>conftest.er1
21895 grep -v '^ *+' conftest.er1
>conftest.err
21897 cat conftest.err
>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try
='test -s conftest.$ac_objext'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; }; then
21914 cat >conftest.
$ac_ext <<_ACEOF
21917 cat confdefs.h
>>conftest.
$ac_ext
21918 cat >>conftest.
$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21921 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21922 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21923 # error "fake wchar_t"
21925 #ifdef HAVE_WCHAR_H
21927 # include <stddef.h>
21929 # include <wchar.h>
21931 #ifdef HAVE_STDLIB_H
21932 # include <stdlib.h>
21941 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21948 rm -f conftest.
$ac_objext
21949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21950 (eval $ac_compile) 2>conftest.er1
21952 grep -v '^ *+' conftest.er1
>conftest.err
21954 cat conftest.err
>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; } &&
21963 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21969 ac_lo
=$ac_mid; break
21971 echo "$as_me: failed program was:" >&5
21972 sed 's/^/| /' conftest.
$ac_ext >&5
21974 ac_hi
=`expr '(' $ac_mid ')' - 1`
21975 if test $ac_mid -le $ac_hi; then
21979 ac_mid
=`expr 2 '*' $ac_mid`
21981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.
$ac_ext >&5
21989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21992 # Binary search between lo and hi bounds.
21993 while test "x$ac_lo" != "x$ac_hi"; do
21994 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21995 cat >conftest.
$ac_ext <<_ACEOF
21998 cat confdefs.h
>>conftest.
$ac_ext
21999 cat >>conftest.
$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22002 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22003 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22004 # error "fake wchar_t"
22006 #ifdef HAVE_WCHAR_H
22008 # include <stddef.h>
22010 # include <wchar.h>
22012 #ifdef HAVE_STDLIB_H
22013 # include <stdlib.h>
22022 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22029 rm -f conftest.
$ac_objext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22031 (eval $ac_compile) 2>conftest.er1
22033 grep -v '^ *+' conftest.er1
>conftest.err
22035 cat conftest.err
>&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } &&
22038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040 (eval $ac_try) 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try
='test -s conftest.$ac_objext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.
$ac_ext >&5
22055 ac_lo
=`expr '(' $ac_mid ')' + 1`
22057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22060 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22061 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22062 See \`config.log' for more details." >&5
22063 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22064 See \`config.log' for more details." >&2;}
22065 { (exit 1); exit 1; }; } ;;
22068 if test "$cross_compiling" = yes; then
22069 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22070 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22071 { (exit 1); exit 1; }; }
22073 cat >conftest.
$ac_ext <<_ACEOF
22076 cat confdefs.h
>>conftest.
$ac_ext
22077 cat >>conftest.
$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22080 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22081 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22082 # error "fake wchar_t"
22084 #ifdef HAVE_WCHAR_H
22086 # include <stddef.h>
22088 # include <wchar.h>
22090 #ifdef HAVE_STDLIB_H
22091 # include <stdlib.h>
22097 long longval () { return (long) (sizeof (wchar_t)); }
22098 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22100 #include <stdlib.h>
22105 FILE *f = fopen ("conftest.val", "w");
22108 if (((long) (sizeof (wchar_t))) < 0)
22110 long i = longval ();
22111 if (i != ((long) (sizeof (wchar_t))))
22113 fprintf (f, "%ld\n", i);
22117 unsigned long i = ulongval ();
22118 if (i != ((long) (sizeof (wchar_t))))
22120 fprintf (f, "%lu\n", i);
22122 exit (ferror (f) || fclose (f) != 0);
22128 rm -f conftest
$ac_exeext
22129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22130 (eval $ac_link) 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22141 echo "$as_me: program exited with status $ac_status" >&5
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.
$ac_ext >&5
22145 ( exit $ac_status )
22146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22147 See \`config.log' for more details." >&5
22148 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22149 See \`config.log' for more details." >&2;}
22150 { (exit 1); exit 1; }; }
22152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22157 ac_cv_sizeof_wchar_t
=0
22160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22161 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22162 cat >>confdefs.h
<<_ACEOF
22163 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22167 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22173 echo "$as_me:$LINENO: checking for va_copy" >&5
22174 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22175 if test "${wx_cv_func_va_copy+set}" = set; then
22176 echo $ECHO_N "(cached) $ECHO_C" >&6
22179 cat >conftest.
$ac_ext <<_ACEOF
22181 #include <stdarg.h>
22182 void foo(char *f, ...)
22196 rm -f conftest.
$ac_objext conftest
$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>conftest.er1
22200 grep -v '^ *+' conftest.er1
>conftest.err
22202 cat conftest.err
>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; } &&
22211 { ac_try
='test -s conftest$ac_exeext'
22212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213 (eval $ac_try) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 wx_cv_func_va_copy
=yes
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.
$ac_ext >&5
22222 wx_cv_func_va_copy
=no
22225 rm -f conftest.err conftest.
$ac_objext \
22226 conftest
$ac_exeext conftest.
$ac_ext
22230 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22231 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22233 if test $wx_cv_func_va_copy = "yes"; then
22234 cat >>confdefs.h
<<\_ACEOF
22235 #define HAVE_VA_COPY 1
22239 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22240 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22241 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22245 if test "$cross_compiling" = yes; then
22246 wx_cv_type_va_list_lvalue
=yes
22249 cat >conftest.
$ac_ext <<_ACEOF
22251 #include <stdarg.h>
22252 int foo(char *f, ...)
22257 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22265 return foo("hi", 17);
22268 rm -f conftest
$ac_exeext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22270 (eval $ac_link) 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 wx_cv_type_va_list_lvalue
=yes
22281 echo "$as_me: program exited with status $ac_status" >&5
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.
$ac_ext >&5
22285 ( exit $ac_status )
22286 wx_cv_type_va_list_lvalue
=no
22288 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22293 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22294 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22296 if test $wx_cv_type_va_list_lvalue != "yes"; then
22297 cat >>confdefs.h
<<\_ACEOF
22298 #define VA_LIST_IS_ARRAY 1
22304 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22305 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22306 if test "${wx_cv_have_variadic_macros+set}" = set; then
22307 echo $ECHO_N "(cached) $ECHO_C" >&6
22310 cat >conftest.
$ac_ext <<_ACEOF
22313 cat confdefs.h
>>conftest.
$ac_ext
22314 cat >>conftest.
$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22318 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22324 test("%s %d %p", "test", 1, 0);
22331 rm -f conftest.
$ac_objext
22332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22333 (eval $ac_compile) 2>conftest.er1
22335 grep -v '^ *+' conftest.er1
>conftest.err
22337 cat conftest.err
>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } &&
22340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; } &&
22346 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22352 wx_cv_have_variadic_macros
=yes
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.
$ac_ext >&5
22357 wx_cv_have_variadic_macros
=no
22360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22364 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22365 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22367 if test $wx_cv_have_variadic_macros = "yes"; then
22368 cat >>confdefs.h
<<\_ACEOF
22369 #define HAVE_VARIADIC_MACROS 1
22374 # Check whether --enable-largefile or --disable-largefile was given.
22375 if test "${enable_largefile+set}" = set; then
22376 enableval
="$enable_largefile"
22379 if test "$enable_largefile" != no
; then
22382 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22383 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22384 if test "${ac_cv_sys_file_offset_bits+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 _FILE_OFFSET_BITS 64
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" || test ! -s conftest.err'
22417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22418 (eval $ac_try) 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try
='test -s conftest.$ac_objext'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 ac_cv_sys_file_offset_bits
=64
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.
$ac_ext >&5
22433 ac_cv_sys_file_offset_bits
=no
22435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22439 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22440 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22442 if test "$ac_cv_sys_file_offset_bits" != no
; then
22444 cat >>confdefs.h
<<_ACEOF
22445 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22450 if test "x$wx_largefile" != "xyes"; then
22452 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22453 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22454 if test "${ac_cv_sys_large_files+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22458 cat >conftest.
$ac_ext <<_ACEOF
22461 cat confdefs.h
>>conftest.
$ac_ext
22462 cat >>conftest.
$ac_ext <<_ACEOF
22463 /* end confdefs.h. */
22464 #define _LARGE_FILES 1
22465 #include <sys/types.h>
22470 unsigned int field: sizeof(off_t) == 8;
22477 rm -f conftest.
$ac_objext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22479 (eval $ac_compile) 2>conftest.er1
22481 grep -v '^ *+' conftest.er1
>conftest.err
22483 cat conftest.err
>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } &&
22486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; } &&
22492 { ac_try
='test -s conftest.$ac_objext'
22493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22494 (eval $ac_try) 2>&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); }; }; then
22498 ac_cv_sys_large_files
=1
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.
$ac_ext >&5
22503 ac_cv_sys_large_files
=no
22505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22509 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22510 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22512 if test "$ac_cv_sys_large_files" != no
; then
22514 cat >>confdefs.h
<<_ACEOF
22515 #define _LARGE_FILES $ac_cv_sys_large_files
22522 echo "$as_me:$LINENO: checking if large file support is available" >&5
22523 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22524 if test "x$wx_largefile" = "xyes"; then
22525 cat >>confdefs.h
<<\_ACEOF
22526 #define HAVE_LARGEFILE_SUPPORT 1
22530 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22531 echo "${ECHO_T}$wx_largefile" >&6
22535 if test "x$wx_largefile" = "xyes"; then
22536 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22537 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22539 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22540 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22541 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22542 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22557 #ifndef __STDC_EXT__
22565 rm -f conftest.
$ac_objext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22567 (eval $ac_compile) 2>conftest.er1
22569 grep -v '^ *+' conftest.er1
>conftest.err
22571 cat conftest.err
>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; } &&
22580 { ac_try
='test -s conftest.$ac_objext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 wx_cv_STDC_EXT_required
=no
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.
$ac_ext >&5
22591 wx_cv_STDC_EXT_required
=yes
22594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22598 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22599 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22600 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22601 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22605 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22607 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22608 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22609 if test "${ac_cv_sys_largefile_source+set}" = set; then
22610 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 ac_cv_sys_largefile_source
=no
22614 cat >conftest.
$ac_ext <<_ACEOF
22617 cat confdefs.h
>>conftest.
$ac_ext
22618 cat >>conftest.
$ac_ext <<_ACEOF
22619 /* end confdefs.h. */
22629 rm -f conftest.
$ac_objext
22630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22631 (eval $ac_compile) 2>conftest.er1
22633 grep -v '^ *+' conftest.er1
>conftest.err
22635 cat conftest.err
>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } &&
22638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try
='test -s conftest.$ac_objext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.
$ac_ext >&5
22656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22657 cat >conftest.
$ac_ext <<_ACEOF
22660 cat confdefs.h
>>conftest.
$ac_ext
22661 cat >>conftest.
$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 #define _LARGEFILE_SOURCE 1
22673 rm -f conftest.
$ac_objext
22674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22675 (eval $ac_compile) 2>conftest.er1
22677 grep -v '^ *+' conftest.er1
>conftest.err
22679 cat conftest.err
>&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } &&
22682 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_objext'
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_sys_largefile_source
=1; break
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22704 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22705 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22706 if test "$ac_cv_sys_largefile_source" != no
; then
22708 cat >>confdefs.h
<<_ACEOF
22709 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22715 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22716 # in glibc 2.1.3, but that breaks too many other things.
22717 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22718 echo "$as_me:$LINENO: checking for fseeko" >&5
22719 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22720 if test "${ac_cv_func_fseeko+set}" = set; then
22721 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22733 return fseeko && fseeko (stdin, 0, 0);
22738 rm -f conftest.
$ac_objext conftest
$ac_exeext
22739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22740 (eval $ac_link) 2>conftest.er1
22742 grep -v '^ *+' conftest.er1
>conftest.err
22744 cat conftest.err
>&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } &&
22747 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749 (eval $ac_try) 2>&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); }; } &&
22753 { ac_try
='test -s conftest$ac_exeext'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; }; then
22759 ac_cv_func_fseeko
=yes
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.
$ac_ext >&5
22764 ac_cv_func_fseeko
=no
22766 rm -f conftest.err conftest.
$ac_objext \
22767 conftest
$ac_exeext conftest.
$ac_ext
22769 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22770 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22771 if test $ac_cv_func_fseeko = yes; then
22773 cat >>confdefs.h
<<\_ACEOF
22774 #define HAVE_FSEEKO 1
22779 if test "$ac_cv_sys_largefile_source" != no
; then
22780 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22784 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22785 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22786 if test "${ac_cv_c_bigendian+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22789 ac_cv_c_bigendian
=unknown
22790 # See if sys/param.h defines the BYTE_ORDER macro.
22791 cat >conftest.
$ac_ext <<_ACEOF
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 #include <sys/types.h>
22798 #include <sys/param.h>
22803 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22804 bogus endian macros
22810 rm -f conftest.
$ac_objext
22811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22812 (eval $ac_compile) 2>conftest.er1
22814 grep -v '^ *+' conftest.er1
>conftest.err
22816 cat conftest.err
>&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); } &&
22819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; } &&
22825 { ac_try
='test -s conftest.$ac_objext'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 # It does; now see whether it defined to BIG_ENDIAN or not.
22832 cat >conftest.
$ac_ext <<_ACEOF
22835 cat confdefs.h
>>conftest.
$ac_ext
22836 cat >>conftest.
$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 #include <sys/types.h>
22839 #include <sys/param.h>
22844 #if BYTE_ORDER != BIG_ENDIAN
22851 rm -f conftest.
$ac_objext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22853 (eval $ac_compile) 2>conftest.er1
22855 grep -v '^ *+' conftest.er1
>conftest.err
22857 cat conftest.err
>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; } &&
22866 { ac_try
='test -s conftest.$ac_objext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 ac_cv_c_bigendian
=yes
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.
$ac_ext >&5
22877 ac_cv_c_bigendian
=no
22879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.
$ac_ext >&5
22885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22886 if test $ac_cv_c_bigendian = unknown
; then
22887 if test "$cross_compiling" = yes; then
22888 ac_cv_c_bigendian
=unknown
22890 cat >conftest.
$ac_ext <<_ACEOF
22893 cat confdefs.h
>>conftest.
$ac_ext
22894 cat >>conftest.
$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22897 /* Are we little or big endian? From Harbison&Steele. */
22901 char c[sizeof (long)];
22904 exit (u.c[sizeof (long) - 1] == 1);
22907 rm -f conftest
$ac_exeext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909 (eval $ac_link) 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_c_bigendian
=no
22920 echo "$as_me: program exited with status $ac_status" >&5
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.
$ac_ext >&5
22924 ( exit $ac_status )
22925 ac_cv_c_bigendian
=yes
22927 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22931 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22932 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22933 if test $ac_cv_c_bigendian = unknown
; then
22934 { 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
22935 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;}
22937 if test $ac_cv_c_bigendian = yes; then
22938 cat >>confdefs.h
<<\_ACEOF
22939 #define WORDS_BIGENDIAN 1
22949 ac_cpp
='$CXXCPP $CPPFLAGS'
22950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22956 for ac_header
in iostream
22958 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22960 echo "$as_me:$LINENO: checking for $ac_header" >&5
22961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22963 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22968 # Is the header compilable?
22969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22971 cat >conftest.
$ac_ext <<_ACEOF
22974 cat confdefs.h
>>conftest.
$ac_ext
22975 cat >>conftest.
$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 $ac_includes_default
22978 #include <$ac_header>
22980 rm -f conftest.
$ac_objext
22981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22982 (eval $ac_compile) 2>conftest.er1
22984 grep -v '^ *+' conftest.er1
>conftest.err
22986 cat conftest.err
>&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); } &&
22989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try
='test -s conftest.$ac_objext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_header_compiler
=yes
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.
$ac_ext >&5
23006 ac_header_compiler
=no
23008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23010 echo "${ECHO_T}$ac_header_compiler" >&6
23012 # Is the header present?
23013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23015 cat >conftest.
$ac_ext <<_ACEOF
23018 cat confdefs.h
>>conftest.
$ac_ext
23019 cat >>conftest.
$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 #include <$ac_header>
23023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23026 grep -v '^ *+' conftest.er1
>conftest.err
23028 cat conftest.err
>&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); } >/dev
/null
; then
23031 if test -s conftest.err
; then
23032 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23033 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23040 if test -z "$ac_cpp_err"; then
23041 ac_header_preproc
=yes
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.
$ac_ext >&5
23046 ac_header_preproc
=no
23048 rm -f conftest.err conftest.
$ac_ext
23049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23050 echo "${ECHO_T}$ac_header_preproc" >&6
23052 # So? What about this header?
23053 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23059 ac_header_preproc
=yes
23062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23076 ## ----------------------------------------- ##
23077 ## Report this to wx-dev@lists.wxwidgets.org ##
23078 ## ----------------------------------------- ##
23081 sed "s/^/$as_me: WARNING: /" >&2
23084 echo "$as_me:$LINENO: checking for $ac_header" >&5
23085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23087 echo $ECHO_N "(cached) $ECHO_C" >&6
23089 eval "$as_ac_Header=\$ac_header_preproc"
23091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23096 cat >>confdefs.h
<<_ACEOF
23097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23105 if test "$ac_cv_header_iostream" = "yes" ; then
23108 cat >>confdefs.h
<<\_ACEOF
23109 #define wxUSE_IOSTREAMH 1
23115 ac_cpp
='$CXXCPP $CPPFLAGS'
23116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23123 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23124 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23125 if test "${wx_cv_cpp_bool+set}" = set; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23132 ac_cpp
='$CXXCPP $CPPFLAGS'
23133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23138 cat >conftest.
$ac_ext <<_ACEOF
23141 cat confdefs.h
>>conftest.
$ac_ext
23142 cat >>conftest.
$ac_ext <<_ACEOF
23143 /* end confdefs.h. */
23158 rm -f conftest.
$ac_objext
23159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23160 (eval $ac_compile) 2>conftest.er1
23162 grep -v '^ *+' conftest.er1
>conftest.err
23164 cat conftest.err
>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try
='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.
$ac_ext >&5
23191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23194 ac_cpp
='$CXXCPP $CPPFLAGS'
23195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23201 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23202 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23204 if test "$wx_cv_cpp_bool" = "yes"; then
23205 cat >>confdefs.h
<<\_ACEOF
23206 #define HAVE_BOOL 1
23213 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23214 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23215 if test "${wx_cv_explicit+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 ac_cpp
='$CXXCPP $CPPFLAGS'
23223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23228 cat >conftest.
$ac_ext <<_ACEOF
23231 cat confdefs.h
>>conftest.
$ac_ext
23232 cat >>conftest.
$ac_ext <<_ACEOF
23233 /* end confdefs.h. */
23235 class Foo { public: explicit Foo(int) {} };
23247 rm -f conftest.
$ac_objext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23249 (eval $ac_compile) 2>conftest.er1
23251 grep -v '^ *+' conftest.er1
>conftest.err
23253 cat conftest.err
>&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } &&
23256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; } &&
23262 { ac_try
='test -s conftest.$ac_objext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23269 cat >conftest.
$ac_ext <<_ACEOF
23272 cat confdefs.h
>>conftest.
$ac_ext
23273 cat >>conftest.
$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23276 class Foo { public: explicit Foo(int) {} };
23277 static void TakeFoo(const Foo& foo) { }
23290 rm -f conftest.
$ac_objext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23292 (eval $ac_compile) 2>conftest.er1
23294 grep -v '^ *+' conftest.er1
>conftest.err
23296 cat conftest.err
>&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } &&
23299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23301 (eval $ac_try) 2>&5
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); }; } &&
23305 { ac_try
='test -s conftest.$ac_objext'
23306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23307 (eval $ac_try) 2>&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); }; }; then
23313 echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.
$ac_ext >&5
23319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.
$ac_ext >&5
23328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23331 ac_cpp
='$CXXCPP $CPPFLAGS'
23332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23338 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23339 echo "${ECHO_T}$wx_cv_explicit" >&6
23341 if test "$wx_cv_explicit" = "yes"; then
23342 cat >>confdefs.h
<<\_ACEOF
23343 #define HAVE_EXPLICIT 1
23349 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23350 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23351 if test "${ac_cv_cxx_const_cast+set}" = set; then
23352 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 ac_cpp
='$CXXCPP $CPPFLAGS'
23358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23362 cat >conftest.
$ac_ext <<_ACEOF
23365 cat confdefs.h
>>conftest.
$ac_ext
23366 cat >>conftest.
$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23372 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23377 rm -f conftest.
$ac_objext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23379 (eval $ac_compile) 2>conftest.er1
23381 grep -v '^ *+' conftest.er1
>conftest.err
23383 cat conftest.err
>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388 (eval $ac_try) 2>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; } &&
23392 { ac_try
='test -s conftest.$ac_objext'
23393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23394 (eval $ac_try) 2>&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); }; }; then
23398 ac_cv_cxx_const_cast
=yes
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.
$ac_ext >&5
23403 ac_cv_cxx_const_cast
=no
23405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23407 ac_cpp
='$CXXCPP $CPPFLAGS'
23408 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23414 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23415 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23416 if test "$ac_cv_cxx_const_cast" = yes; then
23418 cat >>confdefs.h
<<\_ACEOF
23419 #define HAVE_CONST_CAST
23424 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23425 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23426 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23432 ac_cpp
='$CXXCPP $CPPFLAGS'
23433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23437 cat >conftest.
$ac_ext <<_ACEOF
23440 cat confdefs.h
>>conftest.
$ac_ext
23441 cat >>conftest.
$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23443 #include <typeinfo>
23444 class Base { public : Base () {} virtual void f () = 0;};
23445 class Derived : public Base { public : Derived () {} virtual void f () {} };
23446 class Unrelated { public : Unrelated () {} };
23447 int g (Unrelated&) { return 0; }
23452 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23457 rm -f conftest.
$ac_objext
23458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23459 (eval $ac_compile) 2>conftest.er1
23461 grep -v '^ *+' conftest.er1
>conftest.err
23463 cat conftest.err
>&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } &&
23466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23468 (eval $ac_try) 2>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; } &&
23472 { ac_try
='test -s conftest.$ac_objext'
23473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23474 (eval $ac_try) 2>&5
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); }; }; then
23478 ac_cv_cxx_reinterpret_cast
=yes
23480 echo "$as_me: failed program was:" >&5
23481 sed 's/^/| /' conftest.
$ac_ext >&5
23483 ac_cv_cxx_reinterpret_cast
=no
23485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23487 ac_cpp
='$CXXCPP $CPPFLAGS'
23488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23494 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23495 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23496 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23498 cat >>confdefs.h
<<\_ACEOF
23499 #define HAVE_REINTERPRET_CAST
23504 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23505 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23506 if test "${ac_cv_cxx_static_cast+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 ac_cpp
='$CXXCPP $CPPFLAGS'
23513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23517 cat >conftest.
$ac_ext <<_ACEOF
23520 cat confdefs.h
>>conftest.
$ac_ext
23521 cat >>conftest.
$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 #include <typeinfo>
23524 class Base { public : Base () {} virtual void f () = 0; };
23525 class Derived : public Base { public : Derived () {} virtual void f () {} };
23526 int g (Derived&) { return 0; }
23531 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23536 rm -f conftest.
$ac_objext
23537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23538 (eval $ac_compile) 2>conftest.er1
23540 grep -v '^ *+' conftest.er1
>conftest.err
23542 cat conftest.err
>&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } &&
23545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23547 (eval $ac_try) 2>&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; } &&
23551 { ac_try
='test -s conftest.$ac_objext'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; }; then
23557 ac_cv_cxx_static_cast
=yes
23559 echo "$as_me: failed program was:" >&5
23560 sed 's/^/| /' conftest.
$ac_ext >&5
23562 ac_cv_cxx_static_cast
=no
23564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23566 ac_cpp
='$CXXCPP $CPPFLAGS'
23567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23573 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23574 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23575 if test "$ac_cv_cxx_static_cast" = yes; then
23577 cat >>confdefs.h
<<\_ACEOF
23578 #define HAVE_STATIC_CAST
23584 if test "x$SUNCXX" = xyes
; then
23585 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23588 if test "x$SUNCC" = xyes
; then
23589 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23592 if test "x$SGICC" = "xyes"; then
23593 CFLAGS
="-woff 3970 $CFLAGS"
23595 if test "x$SGICXX" = "xyes"; then
23596 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23599 if test "x$HPCC" = "xyes"; then
23600 CFLAGS
="+W 2011,2450 $CFLAGS"
23602 if test "x$HPCXX" = "xyes"; then
23603 CXXFLAGS
="+W 2340 $CXXFLAGS"
23606 if test "x$COMPAQCXX" = "xyes"; then
23607 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23610 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23611 if test "$wxUSE_UNICODE" = "yes"; then
23612 std_string
="std::wstring"
23613 char_type
="wchar_t"
23615 std_string
="std::string"
23619 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23620 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23621 cat >conftest.
$ac_ext <<_ACEOF
23624 cat confdefs.h
>>conftest.
$ac_ext
23625 cat >>conftest.
$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23636 rm -f conftest.
$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23640 grep -v '^ *+' conftest.er1
>conftest.err
23642 cat conftest.err
>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; } &&
23651 { ac_try
='test -s conftest.$ac_objext'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; }; then
23657 echo "$as_me:$LINENO: result: yes" >&5
23658 echo "${ECHO_T}yes" >&6
23659 cat >>confdefs.h
<<\_ACEOF
23660 #define HAVE_STD_WSTRING 1
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.
$ac_ext >&5
23667 echo "$as_me:$LINENO: result: no" >&5
23668 echo "${ECHO_T}no" >&6
23669 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23670 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23671 cat >conftest.
$ac_ext <<_ACEOF
23674 cat confdefs.h
>>conftest.
$ac_ext
23675 cat >>conftest.
$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23678 #ifdef HAVE_WCHAR_H
23680 # include <stddef.h>
23682 # include <wchar.h>
23684 #ifdef HAVE_STDLIB_H
23685 # include <stdlib.h>
23693 std::basic_string<$char_type> foo;
23694 const $char_type* dummy = foo.c_str();
23699 rm -f conftest.
$ac_objext
23700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23701 (eval $ac_compile) 2>conftest.er1
23703 grep -v '^ *+' conftest.er1
>conftest.err
23705 cat conftest.err
>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; } &&
23714 { ac_try
='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 echo "$as_me:$LINENO: result: yes" >&5
23721 echo "${ECHO_T}yes" >&6
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.
$ac_ext >&5
23726 echo "$as_me:$LINENO: result: no" >&5
23727 echo "${ECHO_T}no" >&6
23728 if test "$wxUSE_STL" = "yes"; then
23729 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23730 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23731 { (exit 1); exit 1; }; }
23732 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23733 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23734 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23735 { (exit 1); exit 1; }; }
23737 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23738 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23739 wxUSE_STD_STRING
=no
23744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23750 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23751 echo "$as_me:$LINENO: checking for std::istream" >&5
23752 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23753 if test "${ac_cv_type_std__istream+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 cat >conftest.
$ac_ext <<_ACEOF
23759 cat confdefs.h
>>conftest.
$ac_ext
23760 cat >>conftest.
$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 #include <iostream>
23767 if ((std::istream *) 0)
23769 if (sizeof (std::istream))
23775 rm -f conftest.
$ac_objext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23777 (eval $ac_compile) 2>conftest.er1
23779 grep -v '^ *+' conftest.er1
>conftest.err
23781 cat conftest.err
>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; } &&
23790 { ac_try
='test -s conftest.$ac_objext'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; }; then
23796 ac_cv_type_std__istream
=yes
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.
$ac_ext >&5
23801 ac_cv_type_std__istream
=no
23803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23805 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23806 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23807 if test $ac_cv_type_std__istream = yes; then
23809 cat >>confdefs.h
<<_ACEOF
23810 #define HAVE_STD__ISTREAM 1
23815 wxUSE_STD_IOSTREAM
=no
23817 echo "$as_me:$LINENO: checking for std::ostream" >&5
23818 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23819 if test "${ac_cv_type_std__ostream+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 cat >conftest.
$ac_ext <<_ACEOF
23825 cat confdefs.h
>>conftest.
$ac_ext
23826 cat >>conftest.
$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 #include <iostream>
23833 if ((std::ostream *) 0)
23835 if (sizeof (std::ostream))
23841 rm -f conftest.
$ac_objext
23842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23843 (eval $ac_compile) 2>conftest.er1
23845 grep -v '^ *+' conftest.er1
>conftest.err
23847 cat conftest.err
>&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } &&
23850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23852 (eval $ac_try) 2>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; } &&
23856 { ac_try
='test -s conftest.$ac_objext'
23857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 (eval $ac_try) 2>&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); }; }; then
23862 ac_cv_type_std__ostream
=yes
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.
$ac_ext >&5
23867 ac_cv_type_std__ostream
=no
23869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23871 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23872 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23873 if test $ac_cv_type_std__ostream = yes; then
23875 cat >>confdefs.h
<<_ACEOF
23876 #define HAVE_STD__OSTREAM 1
23881 wxUSE_STD_IOSTREAM
=no
23885 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23886 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23887 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23888 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23889 { (exit 1); exit 1; }; }
23891 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23892 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23897 if test "$wxUSE_STL" = "yes"; then
23898 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23899 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23900 cat >conftest.
$ac_ext <<_ACEOF
23903 cat confdefs.h
>>conftest.
$ac_ext
23904 cat >>conftest.
$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23907 #include <functional>
23908 #include <algorithm>
23914 std::vector<int> moo;
23915 std::list<int> foo;
23916 std::vector<int>::iterator it =
23917 std::find_if(moo.begin(), moo.end(),
23918 std::bind2nd(std::less<int>(), 3));
23923 rm -f conftest.
$ac_objext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23925 (eval $ac_compile) 2>conftest.er1
23927 grep -v '^ *+' conftest.er1
>conftest.err
23929 cat conftest.err
>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; } &&
23938 { ac_try
='test -s conftest.$ac_objext'
23939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23940 (eval $ac_try) 2>&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); }; }; then
23944 echo "$as_me:$LINENO: result: yes" >&5
23945 echo "${ECHO_T}yes" >&6
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.
$ac_ext >&5
23950 echo "$as_me:$LINENO: result: no" >&5
23951 echo "${ECHO_T}no" >&6
23952 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23953 echo "$as_me: error: Basic STL functionality missing" >&2;}
23954 { (exit 1); exit 1; }; }
23956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23958 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23959 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23960 cat >conftest.
$ac_ext <<_ACEOF
23963 cat confdefs.h
>>conftest.
$ac_ext
23964 cat >>conftest.
$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23970 std::string foo, bar;
23972 foo.compare(1, 1, bar);
23973 foo.compare(1, 1, bar, 1, 1);
23975 foo.compare(1, 1, "");
23976 foo.compare(1, 1, "", 2);
23981 rm -f conftest.
$ac_objext
23982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23983 (eval $ac_compile) 2>conftest.er1
23985 grep -v '^ *+' conftest.er1
>conftest.err
23987 cat conftest.err
>&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } &&
23990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; } &&
23996 { ac_try
='test -s conftest.$ac_objext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 echo "$as_me:$LINENO: result: yes" >&5
24003 echo "${ECHO_T}yes" >&6
24004 cat >>confdefs.h
<<\_ACEOF
24005 #define HAVE_STD_STRING_COMPARE 1
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.
$ac_ext >&5
24012 echo "$as_me:$LINENO: result: no" >&5
24013 echo "${ECHO_T}no" >&6
24015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24017 if test "${ac_cv_header_hash_map+set}" = set; then
24018 echo "$as_me:$LINENO: checking for hash_map" >&5
24019 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24020 if test "${ac_cv_header_hash_map+set}" = set; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24024 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24026 # Is the header compilable?
24027 echo "$as_me:$LINENO: checking hash_map usability" >&5
24028 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24029 cat >conftest.
$ac_ext <<_ACEOF
24032 cat confdefs.h
>>conftest.
$ac_ext
24033 cat >>conftest.
$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24035 $ac_includes_default
24036 #include <hash_map>
24038 rm -f conftest.
$ac_objext
24039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24040 (eval $ac_compile) 2>conftest.er1
24042 grep -v '^ *+' conftest.er1
>conftest.err
24044 cat conftest.err
>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } &&
24047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24049 (eval $ac_try) 2>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; } &&
24053 { ac_try
='test -s conftest.$ac_objext'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; }; then
24059 ac_header_compiler
=yes
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.
$ac_ext >&5
24064 ac_header_compiler
=no
24066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24068 echo "${ECHO_T}$ac_header_compiler" >&6
24070 # Is the header present?
24071 echo "$as_me:$LINENO: checking hash_map presence" >&5
24072 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24073 cat >conftest.
$ac_ext <<_ACEOF
24076 cat confdefs.h
>>conftest.
$ac_ext
24077 cat >>conftest.
$ac_ext <<_ACEOF
24078 /* end confdefs.h. */
24079 #include <hash_map>
24081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24084 grep -v '^ *+' conftest.er1
>conftest.err
24086 cat conftest.err
>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } >/dev
/null
; then
24089 if test -s conftest.err
; then
24090 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24091 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24098 if test -z "$ac_cpp_err"; then
24099 ac_header_preproc
=yes
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.
$ac_ext >&5
24104 ac_header_preproc
=no
24106 rm -f conftest.err conftest.
$ac_ext
24107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24108 echo "${ECHO_T}$ac_header_preproc" >&6
24110 # So? What about this header?
24111 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24113 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24114 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24115 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24116 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24117 ac_header_preproc
=yes
24120 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24121 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24122 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24123 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24124 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24125 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24126 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24127 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24128 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24129 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24131 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24134 ## ----------------------------------------- ##
24135 ## Report this to wx-dev@lists.wxwidgets.org ##
24136 ## ----------------------------------------- ##
24139 sed "s/^/$as_me: WARNING: /" >&2
24142 echo "$as_me:$LINENO: checking for hash_map" >&5
24143 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24144 if test "${ac_cv_header_hash_map+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24147 ac_cv_header_hash_map
=$ac_header_preproc
24149 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24150 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24153 if test $ac_cv_header_hash_map = yes; then
24154 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24155 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24156 cat >conftest.
$ac_ext <<_ACEOF
24159 cat confdefs.h
>>conftest.
$ac_ext
24160 cat >>conftest.
$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 #include <hash_map>
24163 #include <hash_set>
24167 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24168 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24173 rm -f conftest.
$ac_objext
24174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24175 (eval $ac_compile) 2>conftest.er1
24177 grep -v '^ *+' conftest.er1
>conftest.err
24179 cat conftest.err
>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); } &&
24182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; } &&
24188 { ac_try
='test -s conftest.$ac_objext'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; }; then
24194 echo "$as_me:$LINENO: result: yes" >&5
24195 echo "${ECHO_T}yes" >&6
24196 cat >>confdefs.h
<<\_ACEOF
24197 #define HAVE_HASH_MAP 1
24200 cat >>confdefs.h
<<\_ACEOF
24201 #define HAVE_STD_HASH_MAP 1
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.
$ac_ext >&5
24208 echo "$as_me:$LINENO: result: no" >&5
24209 echo "${ECHO_T}no" >&6
24211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24217 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24218 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24219 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24220 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24221 echo $ECHO_N "(cached) $ECHO_C" >&6
24223 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24224 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24226 # Is the header compilable?
24227 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24228 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24229 cat >conftest.
$ac_ext <<_ACEOF
24232 cat confdefs.h
>>conftest.
$ac_ext
24233 cat >>conftest.
$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235 $ac_includes_default
24236 #include <ext/hash_map>
24238 rm -f conftest.
$ac_objext
24239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24240 (eval $ac_compile) 2>conftest.er1
24242 grep -v '^ *+' conftest.er1
>conftest.err
24244 cat conftest.err
>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } &&
24247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; } &&
24253 { ac_try
='test -s conftest.$ac_objext'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; }; then
24259 ac_header_compiler
=yes
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.
$ac_ext >&5
24264 ac_header_compiler
=no
24266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24268 echo "${ECHO_T}$ac_header_compiler" >&6
24270 # Is the header present?
24271 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24272 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24273 cat >conftest.
$ac_ext <<_ACEOF
24276 cat confdefs.h
>>conftest.
$ac_ext
24277 cat >>conftest.
$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 #include <ext/hash_map>
24281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24284 grep -v '^ *+' conftest.er1
>conftest.err
24286 cat conftest.err
>&5
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); } >/dev
/null
; then
24289 if test -s conftest.err
; then
24290 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24291 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24298 if test -z "$ac_cpp_err"; then
24299 ac_header_preproc
=yes
24301 echo "$as_me: failed program was:" >&5
24302 sed 's/^/| /' conftest.
$ac_ext >&5
24304 ac_header_preproc
=no
24306 rm -f conftest.err conftest.
$ac_ext
24307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24308 echo "${ECHO_T}$ac_header_preproc" >&6
24310 # So? What about this header?
24311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24313 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24314 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24315 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24316 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24317 ac_header_preproc
=yes
24320 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24321 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24322 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24323 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24324 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24325 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24326 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24327 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24328 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24329 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24330 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24331 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24334 ## ----------------------------------------- ##
24335 ## Report this to wx-dev@lists.wxwidgets.org ##
24336 ## ----------------------------------------- ##
24339 sed "s/^/$as_me: WARNING: /" >&2
24342 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24343 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24344 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24345 echo $ECHO_N "(cached) $ECHO_C" >&6
24347 ac_cv_header_ext_hash_map
=$ac_header_preproc
24349 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24350 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24353 if test $ac_cv_header_ext_hash_map = yes; then
24354 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24355 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24356 cat >conftest.
$ac_ext <<_ACEOF
24359 cat confdefs.h
>>conftest.
$ac_ext
24360 cat >>conftest.
$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24362 #include <ext/hash_map>
24363 #include <ext/hash_set>
24367 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24368 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24373 rm -f conftest.
$ac_objext
24374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24375 (eval $ac_compile) 2>conftest.er1
24377 grep -v '^ *+' conftest.er1
>conftest.err
24379 cat conftest.err
>&5
24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); } &&
24382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384 (eval $ac_try) 2>&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); }; } &&
24388 { ac_try
='test -s conftest.$ac_objext'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; }; then
24394 echo "$as_me:$LINENO: result: yes" >&5
24395 echo "${ECHO_T}yes" >&6
24396 cat >>confdefs.h
<<\_ACEOF
24397 #define HAVE_EXT_HASH_MAP 1
24400 cat >>confdefs.h
<<\_ACEOF
24401 #define HAVE_GNU_CXX_HASH_MAP 1
24405 echo "$as_me: failed program was:" >&5
24406 sed 's/^/| /' conftest.
$ac_ext >&5
24408 echo "$as_me:$LINENO: result: no" >&5
24409 echo "${ECHO_T}no" >&6
24411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24420 /usr/local/include \
24422 /usr/Motif-2.1/include \
24423 /usr/Motif-1.2/include \
24424 /usr/include/Motif1.2 \
24427 /usr/openwin/include \
24431 /usr/X11R6/include \
24432 /usr/X11R6.4/include \
24433 /usr/X11R5/include \
24434 /usr/X11R4/include \
24436 /usr/include/X11R6 \
24437 /usr/include/X11R5 \
24438 /usr/include/X11R4 \
24440 /usr/local/X11R6/include \
24441 /usr/local/X11R5/include \
24442 /usr/local/X11R4/include \
24444 /usr/local/include/X11R6 \
24445 /usr/local/include/X11R5 \
24446 /usr/local/include/X11R4 \
24450 /usr/local/X11/include \
24451 /usr/local/include/X11 \
24453 /usr/XFree86/include/X11 \
24456 /usr/openwin/share/include"
24458 echo "$as_me:$LINENO: checking for libraries directory" >&5
24459 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24463 if test "${wx_cv_std_libpath+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24468 for e
in a so sl dylib dll.a
; do
24470 if test -f $libc; then
24473 cat >conftest.
$ac_ext <<_ACEOF
24474 int main() { return 0; }
24476 rm -f conftest.
$ac_objext conftest
$ac_exeext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>conftest.er1
24480 grep -v '^ *+' conftest.er1
>conftest.err
24482 cat conftest.err
>&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } &&
24485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try
='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.
$ac_ext >&5
24503 rm -f conftest.err conftest.
$ac_objext \
24504 conftest
$ac_exeext conftest.
$ac_ext
24506 if test "x$wx_cv_std_libpath" != "x"; then
24512 if test "x$wx_cv_std_libpath" = "x"; then
24513 wx_cv_std_libpath
="lib"
24522 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24523 wx_cv_std_libpath
="lib/64"
24525 wx_cv_std_libpath
="lib"
24530 if test "$ac_cv_sizeof_void_p" = 8 -a \
24531 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24532 wx_cv_std_libpath
="lib64"
24534 wx_cv_std_libpath
="lib"
24539 wx_cv_std_libpath
="lib";
24543 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24544 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24546 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24548 if test "$build" != "$host" -a "$GCC" = yes; then
24549 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24550 cross_root
=`dirname $cross_root`
24551 cross_root
=`dirname $cross_root`
24553 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24554 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24555 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24557 if test -z "$PKG_CONFIG_PATH"; then
24558 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24559 export PKG_CONFIG_PATH
24562 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24565 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24567 if test -f "$ac_dir/X11/Intrinsic.h"; then
24568 ac_find_includes
=$ac_dir
24573 x_includes
=$ac_find_includes
24575 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24578 for ac_dir
in $SEARCH_LIB;
24580 for ac_extension
in a so sl dylib dll.a
; do
24581 if test -f "$ac_dir/libXt.$ac_extension"; then
24582 ac_find_libraries
=$ac_dir
24588 x_libraries
=$ac_find_libraries
24594 cat >confcache
<<\_ACEOF
24595 # This file is a shell script that caches the results of configure
24596 # tests run on this system so they can be shared between configure
24597 # scripts and configure runs, see configure's option --config-cache.
24598 # It is not useful on other systems. If it contains results you don't
24599 # want to keep, you may remove or edit it.
24601 # config.status only pays attention to the cache file if you give it
24602 # the --recheck option to rerun configure.
24604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24606 # following values.
24610 # The following way of writing the cache mishandles newlines in values,
24611 # but we know of no workaround that is simple, portable, and efficient.
24612 # So, don't put newlines in cache variables' values.
24613 # Ultrix sh set writes to stderr and can't be redirected directly,
24614 # and sets the high bit in the cache file unless we assign to the vars.
24617 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24619 # `set' does not quote correctly, so add quotes (double-quote
24620 # substitution turns \\\\ into \\, and sed turns \\ into \).
24623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24626 # `set' quotes correctly as required by POSIX, so do not add quotes.
24628 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24637 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24639 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24640 if test -w $cache_file; then
24641 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24642 cat confcache
>$cache_file
24644 echo "not updating unwritable cache $cache_file"
24649 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24650 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24651 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24652 if test "${wx_cv_lib_glibc21+set}" = set; then
24653 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 cat >conftest.
$ac_ext <<_ACEOF
24659 cat confdefs.h
>>conftest.
$ac_ext
24660 cat >>conftest.
$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 #include <features.h>
24667 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24675 rm -f conftest.
$ac_objext
24676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24677 (eval $ac_compile) 2>conftest.er1
24679 grep -v '^ *+' conftest.er1
>conftest.err
24681 cat conftest.err
>&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } &&
24684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; } &&
24690 { ac_try
='test -s conftest.$ac_objext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24697 wx_cv_lib_glibc21
=yes
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.
$ac_ext >&5
24704 wx_cv_lib_glibc21
=no
24708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24711 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24712 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24713 if test "$wx_cv_lib_glibc21" = "yes"; then
24714 cat >>confdefs.h
<<\_ACEOF
24715 #define wxHAVE_GLIBC2 1
24721 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24722 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24723 cat >>confdefs.h
<<\_ACEOF
24724 #define _GNU_SOURCE 1
24735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24736 echo "$as_me:$LINENO: checking for $ac_func" >&5
24737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24738 if eval "test \"\${$as_ac_var+set}\" = set"; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24741 cat >conftest.
$ac_ext <<_ACEOF
24744 cat confdefs.h
>>conftest.
$ac_ext
24745 cat >>conftest.
$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24749 #define $ac_func innocuous_$ac_func
24751 /* System header to define __stub macros and hopefully few prototypes,
24752 which can conflict with char $ac_func (); below.
24753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24754 <limits.h> exists even on freestanding compilers. */
24757 # include <limits.h>
24759 # include <assert.h>
24764 /* Override any gcc2 internal prototype to avoid an error. */
24769 /* We use char because int might match the return type of a gcc2
24770 builtin and then its argument prototype would still apply. */
24772 /* The GNU C library defines this for functions which it implements
24773 to always fail with ENOSYS. Some functions are actually named
24774 something starting with __ and the normal name is an alias. */
24775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24778 char (*f) () = $ac_func;
24787 return f != $ac_func;
24792 rm -f conftest.
$ac_objext conftest
$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>conftest.er1
24796 grep -v '^ *+' conftest.er1
>conftest.err
24798 cat conftest.err
>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } &&
24801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try
='test -s conftest$ac_exeext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 eval "$as_ac_var=yes"
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.
$ac_ext >&5
24818 eval "$as_ac_var=no"
24820 rm -f conftest.err conftest.
$ac_objext \
24821 conftest
$ac_exeext conftest.
$ac_ext
24823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24825 if test `eval echo '${'$as_ac_var'}'` = yes; then
24826 cat >>confdefs.h
<<_ACEOF
24827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24834 for ac_func
in floor
24836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24837 echo "$as_me:$LINENO: checking for $ac_func" >&5
24838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24839 if eval "test \"\${$as_ac_var+set}\" = set"; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 cat >conftest.
$ac_ext <<_ACEOF
24845 cat confdefs.h
>>conftest.
$ac_ext
24846 cat >>conftest.
$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24850 #define $ac_func innocuous_$ac_func
24852 /* System header to define __stub macros and hopefully few prototypes,
24853 which can conflict with char $ac_func (); below.
24854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24855 <limits.h> exists even on freestanding compilers. */
24858 # include <limits.h>
24860 # include <assert.h>
24865 /* Override any gcc2 internal prototype to avoid an error. */
24870 /* We use char because int might match the return type of a gcc2
24871 builtin and then its argument prototype would still apply. */
24873 /* The GNU C library defines this for functions which it implements
24874 to always fail with ENOSYS. Some functions are actually named
24875 something starting with __ and the normal name is an alias. */
24876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24879 char (*f) () = $ac_func;
24888 return f != $ac_func;
24893 rm -f conftest.
$ac_objext conftest
$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try
='test -s conftest$ac_exeext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 eval "$as_ac_var=yes"
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.
$ac_ext >&5
24919 eval "$as_ac_var=no"
24921 rm -f conftest.err conftest.
$ac_objext \
24922 conftest
$ac_exeext conftest.
$ac_ext
24924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24926 if test `eval echo '${'$as_ac_var'}'` = yes; then
24927 cat >>confdefs.h
<<_ACEOF
24928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24934 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24935 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24936 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24937 echo "$as_me:$LINENO: result: yes" >&5
24938 echo "${ECHO_T}yes" >&6
24940 echo "$as_me:$LINENO: result: no" >&5
24941 echo "${ECHO_T}no" >&6
24943 # use different functions to avoid configure caching
24949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24950 echo "$as_me:$LINENO: checking for $ac_func" >&5
24951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24952 if eval "test \"\${$as_ac_var+set}\" = set"; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 cat >conftest.
$ac_ext <<_ACEOF
24958 cat confdefs.h
>>conftest.
$ac_ext
24959 cat >>conftest.
$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24963 #define $ac_func innocuous_$ac_func
24965 /* System header to define __stub macros and hopefully few prototypes,
24966 which can conflict with char $ac_func (); below.
24967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24968 <limits.h> exists even on freestanding compilers. */
24971 # include <limits.h>
24973 # include <assert.h>
24978 /* Override any gcc2 internal prototype to avoid an error. */
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24986 /* The GNU C library defines this for functions which it implements
24987 to always fail with ENOSYS. Some functions are actually named
24988 something starting with __ and the normal name is an alias. */
24989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24992 char (*f) () = $ac_func;
25001 return f != $ac_func;
25006 rm -f conftest.
$ac_objext conftest
$ac_exeext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25008 (eval $ac_link) 2>conftest.er1
25010 grep -v '^ *+' conftest.er1
>conftest.err
25012 cat conftest.err
>&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try
='test -s conftest$ac_exeext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 eval "$as_ac_var=yes"
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.
$ac_ext >&5
25032 eval "$as_ac_var=no"
25034 rm -f conftest.err conftest.
$ac_objext \
25035 conftest
$ac_exeext conftest.
$ac_ext
25037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25039 if test `eval echo '${'$as_ac_var'}'` = yes; then
25040 cat >>confdefs.h
<<_ACEOF
25041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25048 for ac_func
in ceil
25050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25051 echo "$as_me:$LINENO: checking for $ac_func" >&5
25052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25053 if eval "test \"\${$as_ac_var+set}\" = set"; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25056 cat >conftest.
$ac_ext <<_ACEOF
25059 cat confdefs.h
>>conftest.
$ac_ext
25060 cat >>conftest.
$ac_ext <<_ACEOF
25061 /* end confdefs.h. */
25062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25064 #define $ac_func innocuous_$ac_func
25066 /* System header to define __stub macros and hopefully few prototypes,
25067 which can conflict with char $ac_func (); below.
25068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25069 <limits.h> exists even on freestanding compilers. */
25072 # include <limits.h>
25074 # include <assert.h>
25079 /* Override any gcc2 internal prototype to avoid an error. */
25084 /* We use char because int might match the return type of a gcc2
25085 builtin and then its argument prototype would still apply. */
25087 /* The GNU C library defines this for functions which it implements
25088 to always fail with ENOSYS. Some functions are actually named
25089 something starting with __ and the normal name is an alias. */
25090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25093 char (*f) () = $ac_func;
25102 return f != $ac_func;
25107 rm -f conftest.
$ac_objext conftest
$ac_exeext
25108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25109 (eval $ac_link) 2>conftest.er1
25111 grep -v '^ *+' conftest.er1
>conftest.err
25113 cat conftest.err
>&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); } &&
25116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; } &&
25122 { ac_try
='test -s conftest$ac_exeext'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; }; then
25128 eval "$as_ac_var=yes"
25130 echo "$as_me: failed program was:" >&5
25131 sed 's/^/| /' conftest.
$ac_ext >&5
25133 eval "$as_ac_var=no"
25135 rm -f conftest.err conftest.
$ac_objext \
25136 conftest
$ac_exeext conftest.
$ac_ext
25138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25140 if test `eval echo '${'$as_ac_var'}'` = yes; then
25141 cat >>confdefs.h
<<_ACEOF
25142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25148 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25149 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25150 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25151 echo "$as_me:$LINENO: result: yes" >&5
25152 echo "${ECHO_T}yes" >&6
25154 echo "$as_me:$LINENO: result: no" >&5
25155 echo "${ECHO_T}no" >&6
25156 # not sure we should warn the user, crash, etc.
25162 if test "$wxUSE_REGEX" != "no"; then
25163 cat >>confdefs.h
<<\_ACEOF
25164 #define wxUSE_REGEX 1
25168 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25169 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25170 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25171 wxUSE_REGEX
=builtin
25174 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25175 if test "${ac_cv_header_regex_h+set}" = set; then
25176 echo "$as_me:$LINENO: checking for regex.h" >&5
25177 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25178 if test "${ac_cv_header_regex_h+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25182 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25184 # Is the header compilable?
25185 echo "$as_me:$LINENO: checking regex.h usability" >&5
25186 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25187 cat >conftest.
$ac_ext <<_ACEOF
25190 cat confdefs.h
>>conftest.
$ac_ext
25191 cat >>conftest.
$ac_ext <<_ACEOF
25192 /* end confdefs.h. */
25193 $ac_includes_default
25196 rm -f conftest.
$ac_objext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25198 (eval $ac_compile) 2>conftest.er1
25200 grep -v '^ *+' conftest.er1
>conftest.err
25202 cat conftest.err
>&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } &&
25205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; } &&
25211 { ac_try
='test -s conftest.$ac_objext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 ac_header_compiler
=yes
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.
$ac_ext >&5
25222 ac_header_compiler
=no
25224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25226 echo "${ECHO_T}$ac_header_compiler" >&6
25228 # Is the header present?
25229 echo "$as_me:$LINENO: checking regex.h presence" >&5
25230 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25231 cat >conftest.
$ac_ext <<_ACEOF
25234 cat confdefs.h
>>conftest.
$ac_ext
25235 cat >>conftest.
$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25242 grep -v '^ *+' conftest.er1
>conftest.err
25244 cat conftest.err
>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } >/dev
/null
; then
25247 if test -s conftest.err
; then
25248 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25249 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25256 if test -z "$ac_cpp_err"; then
25257 ac_header_preproc
=yes
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.
$ac_ext >&5
25262 ac_header_preproc
=no
25264 rm -f conftest.err conftest.
$ac_ext
25265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25266 echo "${ECHO_T}$ac_header_preproc" >&6
25268 # So? What about this header?
25269 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25271 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25272 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25273 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25274 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25275 ac_header_preproc
=yes
25278 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25279 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25280 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25281 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25282 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25283 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25284 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25285 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25286 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25287 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25288 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25289 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25292 ## ----------------------------------------- ##
25293 ## Report this to wx-dev@lists.wxwidgets.org ##
25294 ## ----------------------------------------- ##
25297 sed "s/^/$as_me: WARNING: /" >&2
25300 echo "$as_me:$LINENO: checking for regex.h" >&5
25301 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25302 if test "${ac_cv_header_regex_h+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 ac_cv_header_regex_h
=$ac_header_preproc
25307 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25308 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25311 if test $ac_cv_header_regex_h = yes; then
25314 for ac_func
in regcomp re_search
25316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25317 echo "$as_me:$LINENO: checking for $ac_func" >&5
25318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25319 if eval "test \"\${$as_ac_var+set}\" = set"; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 cat >conftest.
$ac_ext <<_ACEOF
25325 cat confdefs.h
>>conftest.
$ac_ext
25326 cat >>conftest.
$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25330 #define $ac_func innocuous_$ac_func
25332 /* System header to define __stub macros and hopefully few prototypes,
25333 which can conflict with char $ac_func (); below.
25334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25335 <limits.h> exists even on freestanding compilers. */
25338 # include <limits.h>
25340 # include <assert.h>
25345 /* Override any gcc2 internal prototype to avoid an error. */
25350 /* We use char because int might match the return type of a gcc2
25351 builtin and then its argument prototype would still apply. */
25353 /* The GNU C library defines this for functions which it implements
25354 to always fail with ENOSYS. Some functions are actually named
25355 something starting with __ and the normal name is an alias. */
25356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25359 char (*f) () = $ac_func;
25368 return f != $ac_func;
25373 rm -f conftest.
$ac_objext conftest
$ac_exeext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25375 (eval $ac_link) 2>conftest.er1
25377 grep -v '^ *+' conftest.er1
>conftest.err
25379 cat conftest.err
>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try
='test -s conftest$ac_exeext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 eval "$as_ac_var=yes"
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.
$ac_ext >&5
25399 eval "$as_ac_var=no"
25401 rm -f conftest.err conftest.
$ac_objext \
25402 conftest
$ac_exeext conftest.
$ac_ext
25404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25406 if test `eval echo '${'$as_ac_var'}'` = yes; then
25407 cat >>confdefs.h
<<_ACEOF
25408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25418 if test "x$ac_cv_func_regcomp" != "xyes"; then
25419 if test "$wxUSE_REGEX" = "sys" ; then
25420 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25421 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25422 { (exit 1); exit 1; }; }
25424 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25425 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25426 wxUSE_REGEX
=builtin
25430 cat >>confdefs.h
<<\_ACEOF
25431 #define WX_NO_REGEX_ADVANCED 1
25440 if test "$wxUSE_ZLIB" != "no" ; then
25441 cat >>confdefs.h
<<\_ACEOF
25442 #define wxUSE_ZLIB 1
25446 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25447 if test "$USE_DARWIN" = 1; then
25448 system_zlib_h_ok
="yes"
25450 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25451 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25452 if test "${ac_cv_header_zlib_h+set}" = set; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25455 if test "$cross_compiling" = yes; then
25456 unset ac_cv_header_zlib_h
25459 cat >conftest.
$ac_ext <<_ACEOF
25462 cat confdefs.h
>>conftest.
$ac_ext
25463 cat >>conftest.
$ac_ext <<_ACEOF
25464 /* end confdefs.h. */
25471 FILE *f=fopen("conftestval", "w");
25474 ZLIB_VERSION[0] == '1' &&
25475 (ZLIB_VERSION[2] > '1' ||
25476 (ZLIB_VERSION[2] == '1' &&
25477 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25482 rm -f conftest
$ac_exeext
25483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25484 (eval $ac_link) 2>&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_header_zlib_h
=`cat conftestval`
25495 echo "$as_me: program exited with status $ac_status" >&5
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.
$ac_ext >&5
25499 ( exit $ac_status )
25500 ac_cv_header_zlib_h
=no
25502 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25506 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25507 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25508 if test "${ac_cv_header_zlib_h+set}" = set; then
25509 echo "$as_me:$LINENO: checking for zlib.h" >&5
25510 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25511 if test "${ac_cv_header_zlib_h+set}" = set; then
25512 echo $ECHO_N "(cached) $ECHO_C" >&6
25514 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25515 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25517 # Is the header compilable?
25518 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25519 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25520 cat >conftest.
$ac_ext <<_ACEOF
25523 cat confdefs.h
>>conftest.
$ac_ext
25524 cat >>conftest.
$ac_ext <<_ACEOF
25525 /* end confdefs.h. */
25526 $ac_includes_default
25529 rm -f conftest.
$ac_objext
25530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25531 (eval $ac_compile) 2>conftest.er1
25533 grep -v '^ *+' conftest.er1
>conftest.err
25535 cat conftest.err
>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } &&
25538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25540 (eval $ac_try) 2>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); }; } &&
25544 { ac_try
='test -s conftest.$ac_objext'
25545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546 (eval $ac_try) 2>&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); }; }; then
25550 ac_header_compiler
=yes
25552 echo "$as_me: failed program was:" >&5
25553 sed 's/^/| /' conftest.
$ac_ext >&5
25555 ac_header_compiler
=no
25557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25559 echo "${ECHO_T}$ac_header_compiler" >&6
25561 # Is the header present?
25562 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25563 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25564 cat >conftest.
$ac_ext <<_ACEOF
25567 cat confdefs.h
>>conftest.
$ac_ext
25568 cat >>conftest.
$ac_ext <<_ACEOF
25569 /* end confdefs.h. */
25572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25575 grep -v '^ *+' conftest.er1
>conftest.err
25577 cat conftest.err
>&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } >/dev
/null
; then
25580 if test -s conftest.err
; then
25581 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25582 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25589 if test -z "$ac_cpp_err"; then
25590 ac_header_preproc
=yes
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.
$ac_ext >&5
25595 ac_header_preproc
=no
25597 rm -f conftest.err conftest.
$ac_ext
25598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25599 echo "${ECHO_T}$ac_header_preproc" >&6
25601 # So? What about this header?
25602 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25604 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25605 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25606 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25607 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25608 ac_header_preproc
=yes
25611 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25612 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25613 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25614 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25615 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25616 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25617 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25618 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25619 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25620 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25621 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25622 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25625 ## ----------------------------------------- ##
25626 ## Report this to wx-dev@lists.wxwidgets.org ##
25627 ## ----------------------------------------- ##
25630 sed "s/^/$as_me: WARNING: /" >&2
25633 echo "$as_me:$LINENO: checking for zlib.h" >&5
25634 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25635 if test "${ac_cv_header_zlib_h+set}" = set; then
25636 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 ac_cv_header_zlib_h
=$ac_header_preproc
25640 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25641 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25647 system_zlib_h_ok
=$ac_cv_header_zlib_h
25650 if test "$system_zlib_h_ok" = "yes"; then
25651 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25652 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25653 if test "${ac_cv_lib_z_deflate+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 ac_check_lib_save_LIBS
=$LIBS
25658 cat >conftest.
$ac_ext <<_ACEOF
25661 cat confdefs.h
>>conftest.
$ac_ext
25662 cat >>conftest.
$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25665 /* Override any gcc2 internal prototype to avoid an error. */
25669 /* We use char because int might match the return type of a gcc2
25670 builtin and then its argument prototype would still apply. */
25680 rm -f conftest.
$ac_objext conftest
$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25684 grep -v '^ *+' conftest.er1
>conftest.err
25686 cat conftest.err
>&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; } &&
25695 { ac_try
='test -s conftest$ac_exeext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_cv_lib_z_deflate
=yes
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.
$ac_ext >&5
25706 ac_cv_lib_z_deflate
=no
25708 rm -f conftest.err conftest.
$ac_objext \
25709 conftest
$ac_exeext conftest.
$ac_ext
25710 LIBS
=$ac_check_lib_save_LIBS
25712 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25713 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25714 if test $ac_cv_lib_z_deflate = yes; then
25720 if test "x$ZLIB_LINK" = "x" ; then
25721 if test "$wxUSE_ZLIB" = "sys" ; then
25722 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25723 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25724 { (exit 1); exit 1; }; }
25726 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25727 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25738 if test "$wxUSE_LIBPNG" != "no" ; then
25739 cat >>confdefs.h
<<\_ACEOF
25740 #define wxUSE_LIBPNG 1
25744 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25745 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25746 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25750 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25751 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25752 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25753 wxUSE_LIBPNG
=builtin
25756 if test "$wxUSE_MGL" != 1 ; then
25757 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25758 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25759 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25760 if test "${ac_cv_header_png_h+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 if test "$cross_compiling" = yes; then
25764 unset ac_cv_header_png_h
25767 cat >conftest.
$ac_ext <<_ACEOF
25770 cat confdefs.h
>>conftest.
$ac_ext
25771 cat >>conftest.
$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25779 FILE *f=fopen("conftestval", "w");
25782 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25787 rm -f conftest
$ac_exeext
25788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25789 (eval $ac_link) 2>&5
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 ac_cv_header_png_h
=`cat conftestval`
25800 echo "$as_me: program exited with status $ac_status" >&5
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.
$ac_ext >&5
25804 ( exit $ac_status )
25805 ac_cv_header_png_h
=no
25807 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25811 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25812 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25813 if test "${ac_cv_header_png_h+set}" = set; then
25814 echo "$as_me:$LINENO: checking for png.h" >&5
25815 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25816 if test "${ac_cv_header_png_h+set}" = set; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25820 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25822 # Is the header compilable?
25823 echo "$as_me:$LINENO: checking png.h usability" >&5
25824 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25825 cat >conftest.
$ac_ext <<_ACEOF
25828 cat confdefs.h
>>conftest.
$ac_ext
25829 cat >>conftest.
$ac_ext <<_ACEOF
25830 /* end confdefs.h. */
25831 $ac_includes_default
25834 rm -f conftest.
$ac_objext
25835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25836 (eval $ac_compile) 2>conftest.er1
25838 grep -v '^ *+' conftest.er1
>conftest.err
25840 cat conftest.err
>&5
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); } &&
25843 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25845 (eval $ac_try) 2>&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); }; } &&
25849 { ac_try
='test -s conftest.$ac_objext'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; }; then
25855 ac_header_compiler
=yes
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.
$ac_ext >&5
25860 ac_header_compiler
=no
25862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25864 echo "${ECHO_T}$ac_header_compiler" >&6
25866 # Is the header present?
25867 echo "$as_me:$LINENO: checking png.h presence" >&5
25868 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25869 cat >conftest.
$ac_ext <<_ACEOF
25872 cat confdefs.h
>>conftest.
$ac_ext
25873 cat >>conftest.
$ac_ext <<_ACEOF
25874 /* end confdefs.h. */
25877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25878 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25880 grep -v '^ *+' conftest.er1
>conftest.err
25882 cat conftest.err
>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } >/dev
/null
; then
25885 if test -s conftest.err
; then
25886 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25887 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25894 if test -z "$ac_cpp_err"; then
25895 ac_header_preproc
=yes
25897 echo "$as_me: failed program was:" >&5
25898 sed 's/^/| /' conftest.
$ac_ext >&5
25900 ac_header_preproc
=no
25902 rm -f conftest.err conftest.
$ac_ext
25903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25904 echo "${ECHO_T}$ac_header_preproc" >&6
25906 # So? What about this header?
25907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25909 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25910 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25911 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25912 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25913 ac_header_preproc
=yes
25916 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25917 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25918 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25919 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25920 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25921 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25922 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25923 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25924 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25925 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25926 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25927 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25930 ## ----------------------------------------- ##
25931 ## Report this to wx-dev@lists.wxwidgets.org ##
25932 ## ----------------------------------------- ##
25935 sed "s/^/$as_me: WARNING: /" >&2
25938 echo "$as_me:$LINENO: checking for png.h" >&5
25939 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25940 if test "${ac_cv_header_png_h+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25943 ac_cv_header_png_h
=$ac_header_preproc
25945 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25946 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25952 if test "$ac_cv_header_png_h" = "yes"; then
25953 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25954 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25955 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 ac_check_lib_save_LIBS
=$LIBS
25959 LIBS
="-lpng -lz -lm $LIBS"
25960 cat >conftest.
$ac_ext <<_ACEOF
25963 cat confdefs.h
>>conftest.
$ac_ext
25964 cat >>conftest.
$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25967 /* Override any gcc2 internal prototype to avoid an error. */
25971 /* We use char because int might match the return type of a gcc2
25972 builtin and then its argument prototype would still apply. */
25973 char png_check_sig ();
25982 rm -f conftest.
$ac_objext conftest
$ac_exeext
25983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25984 (eval $ac_link) 2>conftest.er1
25986 grep -v '^ *+' conftest.er1
>conftest.err
25988 cat conftest.err
>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); } &&
25991 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25993 (eval $ac_try) 2>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; } &&
25997 { ac_try
='test -s conftest$ac_exeext'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; }; then
26003 ac_cv_lib_png_png_check_sig
=yes
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.
$ac_ext >&5
26008 ac_cv_lib_png_png_check_sig
=no
26010 rm -f conftest.err conftest.
$ac_objext \
26011 conftest
$ac_exeext conftest.
$ac_ext
26012 LIBS
=$ac_check_lib_save_LIBS
26014 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26015 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26016 if test $ac_cv_lib_png_png_check_sig = yes; then
26017 PNG_LINK
=" -lpng -lz"
26022 if test "x$PNG_LINK" = "x" ; then
26023 if test "$wxUSE_LIBPNG" = "sys" ; then
26024 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26025 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26026 { (exit 1); exit 1; }; }
26028 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26029 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26030 wxUSE_LIBPNG
=builtin
26038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26043 if test "$wxUSE_LIBJPEG" != "no" ; then
26044 cat >>confdefs.h
<<\_ACEOF
26045 #define wxUSE_LIBJPEG 1
26049 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26050 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26051 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26055 if test "$wxUSE_MGL" != 1 ; then
26056 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26057 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26058 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26059 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26060 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 cat >conftest.
$ac_ext <<_ACEOF
26065 cat confdefs.h
>>conftest.
$ac_ext
26066 cat >>conftest.
$ac_ext <<_ACEOF
26067 /* end confdefs.h. */
26069 #undef HAVE_STDLIB_H
26071 #include <jpeglib.h>
26082 rm -f conftest.
$ac_objext
26083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26084 (eval $ac_compile) 2>conftest.er1
26086 grep -v '^ *+' conftest.er1
>conftest.err
26088 cat conftest.err
>&5
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); } &&
26091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26093 (eval $ac_try) 2>&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); }; } &&
26097 { ac_try
='test -s conftest.$ac_objext'
26098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26099 (eval $ac_try) 2>&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); }; }; then
26103 ac_cv_header_jpeglib_h
=yes
26105 echo "$as_me: failed program was:" >&5
26106 sed 's/^/| /' conftest.
$ac_ext >&5
26108 ac_cv_header_jpeglib_h
=no
26111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26115 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26116 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26118 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26119 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26120 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26121 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 ac_check_lib_save_LIBS
=$LIBS
26125 LIBS
="-ljpeg $LIBS"
26126 cat >conftest.
$ac_ext <<_ACEOF
26129 cat confdefs.h
>>conftest.
$ac_ext
26130 cat >>conftest.
$ac_ext <<_ACEOF
26131 /* end confdefs.h. */
26133 /* Override any gcc2 internal prototype to avoid an error. */
26137 /* We use char because int might match the return type of a gcc2
26138 builtin and then its argument prototype would still apply. */
26139 char jpeg_read_header ();
26143 jpeg_read_header ();
26148 rm -f conftest.
$ac_objext conftest
$ac_exeext
26149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26150 (eval $ac_link) 2>conftest.er1
26152 grep -v '^ *+' conftest.er1
>conftest.err
26154 cat conftest.err
>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } &&
26157 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; } &&
26163 { ac_try
='test -s conftest$ac_exeext'
26164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26165 (eval $ac_try) 2>&5
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); }; }; then
26169 ac_cv_lib_jpeg_jpeg_read_header
=yes
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.
$ac_ext >&5
26174 ac_cv_lib_jpeg_jpeg_read_header
=no
26176 rm -f conftest.err conftest.
$ac_objext \
26177 conftest
$ac_exeext conftest.
$ac_ext
26178 LIBS
=$ac_check_lib_save_LIBS
26180 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26181 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26182 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26183 JPEG_LINK
=" -ljpeg"
26188 if test "x$JPEG_LINK" = "x" ; then
26189 if test "$wxUSE_LIBJPEG" = "sys" ; then
26190 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26191 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26192 { (exit 1); exit 1; }; }
26194 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26195 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26196 wxUSE_LIBJPEG
=builtin
26207 TIFF_PREREQ_LINKS
=-lm
26208 if test "$wxUSE_LIBTIFF" != "no" ; then
26209 cat >>confdefs.h
<<\_ACEOF
26210 #define wxUSE_LIBTIFF 1
26214 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26215 if test "$wxUSE_LIBJPEG" = "sys"; then
26216 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26218 if test "$wxUSE_ZLIB" = "sys"; then
26219 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26221 if test "${ac_cv_header_tiffio_h+set}" = set; then
26222 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26223 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26224 if test "${ac_cv_header_tiffio_h+set}" = set; then
26225 echo $ECHO_N "(cached) $ECHO_C" >&6
26227 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26228 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26230 # Is the header compilable?
26231 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26232 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26233 cat >conftest.
$ac_ext <<_ACEOF
26236 cat confdefs.h
>>conftest.
$ac_ext
26237 cat >>conftest.
$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 $ac_includes_default
26240 #include <tiffio.h>
26242 rm -f conftest.
$ac_objext
26243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26244 (eval $ac_compile) 2>conftest.er1
26246 grep -v '^ *+' conftest.er1
>conftest.err
26248 cat conftest.err
>&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } &&
26251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26253 (eval $ac_try) 2>&5
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); }; } &&
26257 { ac_try
='test -s conftest.$ac_objext'
26258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26259 (eval $ac_try) 2>&5
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); }; }; then
26263 ac_header_compiler
=yes
26265 echo "$as_me: failed program was:" >&5
26266 sed 's/^/| /' conftest.
$ac_ext >&5
26268 ac_header_compiler
=no
26270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26272 echo "${ECHO_T}$ac_header_compiler" >&6
26274 # Is the header present?
26275 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26276 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26277 cat >conftest.
$ac_ext <<_ACEOF
26280 cat confdefs.h
>>conftest.
$ac_ext
26281 cat >>conftest.
$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 #include <tiffio.h>
26285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26288 grep -v '^ *+' conftest.er1
>conftest.err
26290 cat conftest.err
>&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } >/dev
/null
; then
26293 if test -s conftest.err
; then
26294 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26295 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26302 if test -z "$ac_cpp_err"; then
26303 ac_header_preproc
=yes
26305 echo "$as_me: failed program was:" >&5
26306 sed 's/^/| /' conftest.
$ac_ext >&5
26308 ac_header_preproc
=no
26310 rm -f conftest.err conftest.
$ac_ext
26311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26312 echo "${ECHO_T}$ac_header_preproc" >&6
26314 # So? What about this header?
26315 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26317 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26318 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26319 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26320 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26321 ac_header_preproc
=yes
26324 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26325 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26326 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26327 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26328 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26329 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26330 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26331 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26332 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26333 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26334 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26335 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26338 ## ----------------------------------------- ##
26339 ## Report this to wx-dev@lists.wxwidgets.org ##
26340 ## ----------------------------------------- ##
26343 sed "s/^/$as_me: WARNING: /" >&2
26346 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26347 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26348 if test "${ac_cv_header_tiffio_h+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26351 ac_cv_header_tiffio_h
=$ac_header_preproc
26353 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26354 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26357 if test $ac_cv_header_tiffio_h = yes; then
26359 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26360 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26361 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26362 echo $ECHO_N "(cached) $ECHO_C" >&6
26364 ac_check_lib_save_LIBS
=$LIBS
26365 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26366 cat >conftest.
$ac_ext <<_ACEOF
26369 cat confdefs.h
>>conftest.
$ac_ext
26370 cat >>conftest.
$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26373 /* Override any gcc2 internal prototype to avoid an error. */
26377 /* We use char because int might match the return type of a gcc2
26378 builtin and then its argument prototype would still apply. */
26388 rm -f conftest.
$ac_objext conftest
$ac_exeext
26389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26390 (eval $ac_link) 2>conftest.er1
26392 grep -v '^ *+' conftest.er1
>conftest.err
26394 cat conftest.err
>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; } &&
26403 { ac_try
='test -s conftest$ac_exeext'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; }; then
26409 ac_cv_lib_tiff_TIFFError
=yes
26411 echo "$as_me: failed program was:" >&5
26412 sed 's/^/| /' conftest.
$ac_ext >&5
26414 ac_cv_lib_tiff_TIFFError
=no
26416 rm -f conftest.err conftest.
$ac_objext \
26417 conftest
$ac_exeext conftest.
$ac_ext
26418 LIBS
=$ac_check_lib_save_LIBS
26420 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26421 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26422 if test $ac_cv_lib_tiff_TIFFError = yes; then
26423 TIFF_LINK
=" -ltiff"
26432 if test "x$TIFF_LINK" = "x" ; then
26433 if test "$wxUSE_LIBTIFF" = "sys" ; then
26434 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26435 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26436 { (exit 1); exit 1; }; }
26438 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26439 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26440 wxUSE_LIBTIFF
=builtin
26449 if test "$wxUSE_WCHAR_T" != "yes"; then
26450 if test "$wxUSE_EXPAT" != "no"; then
26451 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26452 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26455 if test "$wxUSE_XML" != "no"; then
26456 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26457 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26462 if test "$wxUSE_EXPAT" != "no"; then
26464 cat >>confdefs.h
<<\_ACEOF
26465 #define wxUSE_EXPAT 1
26468 cat >>confdefs.h
<<\_ACEOF
26469 #define wxUSE_XML 1
26473 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26474 if test "${ac_cv_header_expat_h+set}" = set; then
26475 echo "$as_me:$LINENO: checking for expat.h" >&5
26476 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26477 if test "${ac_cv_header_expat_h+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26483 # Is the header compilable?
26484 echo "$as_me:$LINENO: checking expat.h usability" >&5
26485 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26486 cat >conftest.
$ac_ext <<_ACEOF
26489 cat confdefs.h
>>conftest.
$ac_ext
26490 cat >>conftest.
$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 $ac_includes_default
26495 rm -f conftest.
$ac_objext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26497 (eval $ac_compile) 2>conftest.er1
26499 grep -v '^ *+' conftest.er1
>conftest.err
26501 cat conftest.err
>&5
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); } &&
26504 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; } &&
26510 { ac_try
='test -s conftest.$ac_objext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_header_compiler
=yes
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.
$ac_ext >&5
26521 ac_header_compiler
=no
26523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26525 echo "${ECHO_T}$ac_header_compiler" >&6
26527 # Is the header present?
26528 echo "$as_me:$LINENO: checking expat.h presence" >&5
26529 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26530 cat >conftest.
$ac_ext <<_ACEOF
26533 cat confdefs.h
>>conftest.
$ac_ext
26534 cat >>conftest.
$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26541 grep -v '^ *+' conftest.er1
>conftest.err
26543 cat conftest.err
>&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } >/dev
/null
; then
26546 if test -s conftest.err
; then
26547 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26548 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26555 if test -z "$ac_cpp_err"; then
26556 ac_header_preproc
=yes
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.
$ac_ext >&5
26561 ac_header_preproc
=no
26563 rm -f conftest.err conftest.
$ac_ext
26564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26565 echo "${ECHO_T}$ac_header_preproc" >&6
26567 # So? What about this header?
26568 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26570 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26571 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26572 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26573 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26574 ac_header_preproc
=yes
26577 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26578 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26579 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26580 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26581 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26582 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26583 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26584 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26585 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26586 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26587 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26588 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26591 ## ----------------------------------------- ##
26592 ## Report this to wx-dev@lists.wxwidgets.org ##
26593 ## ----------------------------------------- ##
26596 sed "s/^/$as_me: WARNING: /" >&2
26599 echo "$as_me:$LINENO: checking for expat.h" >&5
26600 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26601 if test "${ac_cv_header_expat_h+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 ac_cv_header_expat_h
=$ac_header_preproc
26606 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26607 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26610 if test $ac_cv_header_expat_h = yes; then
26615 if test "x$found_expat_h" = "x1"; then
26616 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26617 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26618 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 cat >conftest.
$ac_ext <<_ACEOF
26625 cat confdefs.h
>>conftest.
$ac_ext
26626 cat >>conftest.
$ac_ext <<_ACEOF
26627 /* end confdefs.h. */
26637 rm -f conftest.
$ac_objext
26638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26639 (eval $ac_compile) 2>conftest.er1
26641 grep -v '^ *+' conftest.er1
>conftest.err
26643 cat conftest.err
>&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } &&
26646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; } &&
26652 { ac_try
='test -s conftest.$ac_objext'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; }; then
26658 wx_cv_expat_is_not_broken
=yes
26660 echo "$as_me: failed program was:" >&5
26661 sed 's/^/| /' conftest.
$ac_ext >&5
26663 wx_cv_expat_is_not_broken
=no
26666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26670 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26671 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26672 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26673 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26674 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26675 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26678 ac_check_lib_save_LIBS
=$LIBS
26679 LIBS
="-lexpat $LIBS"
26680 cat >conftest.
$ac_ext <<_ACEOF
26683 cat confdefs.h
>>conftest.
$ac_ext
26684 cat >>conftest.
$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26687 /* Override any gcc2 internal prototype to avoid an error. */
26691 /* We use char because int might match the return type of a gcc2
26692 builtin and then its argument prototype would still apply. */
26693 char XML_ParserCreate ();
26697 XML_ParserCreate ();
26702 rm -f conftest.
$ac_objext conftest
$ac_exeext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26704 (eval $ac_link) 2>conftest.er1
26706 grep -v '^ *+' conftest.er1
>conftest.err
26708 cat conftest.err
>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try
='test -s conftest$ac_exeext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 ac_cv_lib_expat_XML_ParserCreate
=yes
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.
$ac_ext >&5
26728 ac_cv_lib_expat_XML_ParserCreate
=no
26730 rm -f conftest.err conftest.
$ac_objext \
26731 conftest
$ac_exeext conftest.
$ac_ext
26732 LIBS
=$ac_check_lib_save_LIBS
26734 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26735 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26736 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26737 EXPAT_LINK
=" -lexpat"
26742 if test "x$EXPAT_LINK" = "x" ; then
26743 if test "$wxUSE_EXPAT" = "sys" ; then
26744 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26745 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26746 { (exit 1); exit 1; }; }
26748 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26749 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26750 wxUSE_EXPAT
=builtin
26756 if test "$wxUSE_EXPAT" = "builtin" ; then
26759 subdirs
="$subdirs src/expat"
26766 if test "$wxUSE_LIBMSPACK" != "no"; then
26767 if test "${ac_cv_header_mspack_h+set}" = set; then
26768 echo "$as_me:$LINENO: checking for mspack.h" >&5
26769 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26770 if test "${ac_cv_header_mspack_h+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26774 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26776 # Is the header compilable?
26777 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26778 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26779 cat >conftest.
$ac_ext <<_ACEOF
26782 cat confdefs.h
>>conftest.
$ac_ext
26783 cat >>conftest.
$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26785 $ac_includes_default
26786 #include <mspack.h>
26788 rm -f conftest.
$ac_objext
26789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26790 (eval $ac_compile) 2>conftest.er1
26792 grep -v '^ *+' conftest.er1
>conftest.err
26794 cat conftest.err
>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; } &&
26803 { ac_try
='test -s conftest.$ac_objext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_header_compiler
=yes
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.
$ac_ext >&5
26814 ac_header_compiler
=no
26816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26818 echo "${ECHO_T}$ac_header_compiler" >&6
26820 # Is the header present?
26821 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26822 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26823 cat >conftest.
$ac_ext <<_ACEOF
26826 cat confdefs.h
>>conftest.
$ac_ext
26827 cat >>conftest.
$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829 #include <mspack.h>
26831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26834 grep -v '^ *+' conftest.er1
>conftest.err
26836 cat conftest.err
>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } >/dev
/null
; then
26839 if test -s conftest.err
; then
26840 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26841 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26848 if test -z "$ac_cpp_err"; then
26849 ac_header_preproc
=yes
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.
$ac_ext >&5
26854 ac_header_preproc
=no
26856 rm -f conftest.err conftest.
$ac_ext
26857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26858 echo "${ECHO_T}$ac_header_preproc" >&6
26860 # So? What about this header?
26861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26863 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26864 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26865 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26866 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26867 ac_header_preproc
=yes
26870 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26871 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26872 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26873 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26874 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26875 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26876 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26877 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26878 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26879 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26880 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26881 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26884 ## ----------------------------------------- ##
26885 ## Report this to wx-dev@lists.wxwidgets.org ##
26886 ## ----------------------------------------- ##
26889 sed "s/^/$as_me: WARNING: /" >&2
26892 echo "$as_me:$LINENO: checking for mspack.h" >&5
26893 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26894 if test "${ac_cv_header_mspack_h+set}" = set; then
26895 echo $ECHO_N "(cached) $ECHO_C" >&6
26897 ac_cv_header_mspack_h
=$ac_header_preproc
26899 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26900 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26903 if test $ac_cv_header_mspack_h = yes; then
26908 if test "x$found_mspack_h" = "x1"; then
26909 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26910 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26911 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26914 ac_check_lib_save_LIBS
=$LIBS
26915 LIBS
="-lmspack $LIBS"
26916 cat >conftest.
$ac_ext <<_ACEOF
26919 cat confdefs.h
>>conftest.
$ac_ext
26920 cat >>conftest.
$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26923 /* Override any gcc2 internal prototype to avoid an error. */
26927 /* We use char because int might match the return type of a gcc2
26928 builtin and then its argument prototype would still apply. */
26929 char mspack_create_chm_decompressor ();
26933 mspack_create_chm_decompressor ();
26938 rm -f conftest.
$ac_objext conftest
$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>conftest.er1
26942 grep -v '^ *+' conftest.er1
>conftest.err
26944 cat conftest.err
>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } &&
26947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; } &&
26953 { ac_try
='test -s conftest$ac_exeext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.
$ac_ext >&5
26964 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26966 rm -f conftest.err conftest.
$ac_objext \
26967 conftest
$ac_exeext conftest.
$ac_ext
26968 LIBS
=$ac_check_lib_save_LIBS
26970 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26971 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26972 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26973 MSPACK_LINK
=" -lmspack"
26977 if test "x$MSPACK_LINK" = "x" ; then
26982 if test "$wxUSE_LIBMSPACK" != "no"; then
26983 cat >>confdefs.h
<<\_ACEOF
26984 #define wxUSE_LIBMSPACK 1
26998 if test "$USE_WIN32" = 1 ; then
27000 for ac_header
in w32api.h
27002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27004 echo "$as_me:$LINENO: checking for $ac_header" >&5
27005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27007 echo $ECHO_N "(cached) $ECHO_C" >&6
27009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27012 # Is the header compilable?
27013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27015 cat >conftest.
$ac_ext <<_ACEOF
27018 cat confdefs.h
>>conftest.
$ac_ext
27019 cat >>conftest.
$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 $ac_includes_default
27022 #include <$ac_header>
27024 rm -f conftest.
$ac_objext
27025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27026 (eval $ac_compile) 2>conftest.er1
27028 grep -v '^ *+' conftest.er1
>conftest.err
27030 cat conftest.err
>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; } &&
27039 { ac_try
='test -s conftest.$ac_objext'
27040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27041 (eval $ac_try) 2>&5
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); }; }; then
27045 ac_header_compiler
=yes
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.
$ac_ext >&5
27050 ac_header_compiler
=no
27052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27054 echo "${ECHO_T}$ac_header_compiler" >&6
27056 # Is the header present?
27057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <$ac_header>
27067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27070 grep -v '^ *+' conftest.er1
>conftest.err
27072 cat conftest.err
>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } >/dev
/null
; then
27075 if test -s conftest.err
; then
27076 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27077 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27084 if test -z "$ac_cpp_err"; then
27085 ac_header_preproc
=yes
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.
$ac_ext >&5
27090 ac_header_preproc
=no
27092 rm -f conftest.err conftest.
$ac_ext
27093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27094 echo "${ECHO_T}$ac_header_preproc" >&6
27096 # So? What about this header?
27097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27103 ac_header_preproc
=yes
27106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27110 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27112 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27113 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27116 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27120 ## ----------------------------------------- ##
27121 ## Report this to wx-dev@lists.wxwidgets.org ##
27122 ## ----------------------------------------- ##
27125 sed "s/^/$as_me: WARNING: /" >&2
27128 echo "$as_me:$LINENO: checking for $ac_header" >&5
27129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 eval "$as_ac_Header=\$ac_header_preproc"
27135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27140 cat >>confdefs.h
<<_ACEOF
27141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27148 if test "${ac_cv_header_windows_h+set}" = set; then
27149 echo "$as_me:$LINENO: checking for windows.h" >&5
27150 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27151 if test "${ac_cv_header_windows_h+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27155 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27157 # Is the header compilable?
27158 echo "$as_me:$LINENO: checking windows.h usability" >&5
27159 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27160 cat >conftest.
$ac_ext <<_ACEOF
27163 cat confdefs.h
>>conftest.
$ac_ext
27164 cat >>conftest.
$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166 $ac_includes_default
27167 #include <windows.h>
27169 rm -f conftest.
$ac_objext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171 (eval $ac_compile) 2>conftest.er1
27173 grep -v '^ *+' conftest.er1
>conftest.err
27175 cat conftest.err
>&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; } &&
27184 { ac_try
='test -s conftest.$ac_objext'
27185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186 (eval $ac_try) 2>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); }; }; then
27190 ac_header_compiler
=yes
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.
$ac_ext >&5
27195 ac_header_compiler
=no
27197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27199 echo "${ECHO_T}$ac_header_compiler" >&6
27201 # Is the header present?
27202 echo "$as_me:$LINENO: checking windows.h presence" >&5
27203 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27204 cat >conftest.
$ac_ext <<_ACEOF
27207 cat confdefs.h
>>conftest.
$ac_ext
27208 cat >>conftest.
$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 #include <windows.h>
27212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27215 grep -v '^ *+' conftest.er1
>conftest.err
27217 cat conftest.err
>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } >/dev
/null
; then
27220 if test -s conftest.err
; then
27221 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27222 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27229 if test -z "$ac_cpp_err"; then
27230 ac_header_preproc
=yes
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.
$ac_ext >&5
27235 ac_header_preproc
=no
27237 rm -f conftest.err conftest.
$ac_ext
27238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27239 echo "${ECHO_T}$ac_header_preproc" >&6
27241 # So? What about this header?
27242 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27244 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27245 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27246 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27247 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27248 ac_header_preproc
=yes
27251 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27252 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27253 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27254 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27255 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27256 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27257 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27258 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27259 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27260 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27261 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27262 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27265 ## ----------------------------------------- ##
27266 ## Report this to wx-dev@lists.wxwidgets.org ##
27267 ## ----------------------------------------- ##
27270 sed "s/^/$as_me: WARNING: /" >&2
27273 echo "$as_me:$LINENO: checking for windows.h" >&5
27274 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27275 if test "${ac_cv_header_windows_h+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 ac_cv_header_windows_h
=$ac_header_preproc
27280 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27281 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27284 if test $ac_cv_header_windows_h = yes; then
27288 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27289 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27290 { (exit 1); exit 1; }; }
27296 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27298 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27299 LIBS
="$LIBS -loleacc"
27304 LIBS
="$LIBS -lkernel32 -luser32"
27307 if test "$wxUSE_ODBC" = "sys" ; then
27310 if test "$wxUSE_ODBC" = "yes" ; then
27311 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27312 cat >>confdefs.h
<<\_ACEOF
27313 #define wxUSE_ODBC 1
27318 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27319 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27321 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27323 WIN32INSTALL
=win32install
27325 echo "$as_me:$LINENO: checking for boolean" >&5
27326 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27327 if test "${ac_cv_type_boolean+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 cat >conftest.
$ac_ext <<_ACEOF
27333 cat confdefs.h
>>conftest.
$ac_ext
27334 cat >>conftest.
$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27336 #include <windows.h>
27343 if (sizeof (boolean))
27349 rm -f conftest.
$ac_objext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351 (eval $ac_compile) 2>conftest.er1
27353 grep -v '^ *+' conftest.er1
>conftest.err
27355 cat conftest.err
>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); } &&
27358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; } &&
27364 { ac_try
='test -s conftest.$ac_objext'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; }; then
27370 ac_cv_type_boolean
=yes
27372 echo "$as_me: failed program was:" >&5
27373 sed 's/^/| /' conftest.
$ac_ext >&5
27375 ac_cv_type_boolean
=no
27377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27379 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27380 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27381 if test $ac_cv_type_boolean = yes; then
27383 cat >>confdefs.h
<<_ACEOF
27384 #define HAVE_BOOLEAN 1
27392 for ac_header
in pbt.h
27394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27396 echo "$as_me:$LINENO: checking for $ac_header" >&5
27397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27399 echo $ECHO_N "(cached) $ECHO_C" >&6
27401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27404 # Is the header compilable?
27405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27407 cat >conftest.
$ac_ext <<_ACEOF
27410 cat confdefs.h
>>conftest.
$ac_ext
27411 cat >>conftest.
$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27413 $ac_includes_default
27414 #include <$ac_header>
27416 rm -f conftest.
$ac_objext
27417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27418 (eval $ac_compile) 2>conftest.er1
27420 grep -v '^ *+' conftest.er1
>conftest.err
27422 cat conftest.err
>&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } &&
27425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; } &&
27431 { ac_try
='test -s conftest.$ac_objext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 ac_header_compiler
=yes
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.
$ac_ext >&5
27442 ac_header_compiler
=no
27444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27446 echo "${ECHO_T}$ac_header_compiler" >&6
27448 # Is the header present?
27449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27451 cat >conftest.
$ac_ext <<_ACEOF
27454 cat confdefs.h
>>conftest.
$ac_ext
27455 cat >>conftest.
$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457 #include <$ac_header>
27459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27462 grep -v '^ *+' conftest.er1
>conftest.err
27464 cat conftest.err
>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); } >/dev
/null
; then
27467 if test -s conftest.err
; then
27468 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27469 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27476 if test -z "$ac_cpp_err"; then
27477 ac_header_preproc
=yes
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.
$ac_ext >&5
27482 ac_header_preproc
=no
27484 rm -f conftest.err conftest.
$ac_ext
27485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27486 echo "${ECHO_T}$ac_header_preproc" >&6
27488 # So? What about this header?
27489 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27495 ac_header_preproc
=yes
27498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27512 ## ----------------------------------------- ##
27513 ## Report this to wx-dev@lists.wxwidgets.org ##
27514 ## ----------------------------------------- ##
27517 sed "s/^/$as_me: WARNING: /" >&2
27520 echo "$as_me:$LINENO: checking for $ac_header" >&5
27521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27523 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 eval "$as_ac_Header=\$ac_header_preproc"
27527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27532 cat >>confdefs.h
<<_ACEOF
27533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27537 cat >>confdefs.h
<<\_ACEOF
27538 #define NEED_PBT_H 1
27547 if test "$wxUSE_GUI" = "yes"; then
27557 if test "$wxUSE_COCOA" = 1 ; then
27558 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27559 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27560 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27561 wxUSE_PRINTING_ARCHITECTURE
=no
27563 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27564 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27565 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27566 wxUSE_DRAG_AND_DROP
=no
27568 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27569 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27570 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27575 if test "$wxUSE_MSW" = 1 ; then
27581 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27585 if test "$wxUSE_GTK" = 1; then
27587 ac_cpp
='$CPP $CPPFLAGS'
27588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27593 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27594 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27596 gtk_version_cached
=1
27597 if test "${wx_cv_lib_gtk+set}" = set; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27601 gtk_version_cached
=0
27602 echo "$as_me:$LINENO: result: " >&5
27603 echo "${ECHO_T}" >&6
27606 if test "$wxUSE_THREADS" = "yes"; then
27607 GTK_MODULES
=gthread
27611 if test "x$wxGTK_VERSION" != "x1"
27615 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27620 # Check whether --enable-gtktest or --disable-gtktest was given.
27621 if test "${enable_gtktest+set}" = set; then
27622 enableval
="$enable_gtktest"
27628 pkg_config_args
=gtk
+-2.0
27629 for module
in .
$GTK_MODULES
27633 pkg_config_args
="$pkg_config_args gthread-2.0"
27640 # Extract the first word of "pkg-config", so it can be a program name with args.
27641 set dummy pkg
-config; ac_word
=$2
27642 echo "$as_me:$LINENO: checking for $ac_word" >&5
27643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27644 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27645 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 case $PKG_CONFIG in
27649 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27653 for as_dir
in $PATH
27656 test -z "$as_dir" && as_dir
=.
27657 for ac_exec_ext
in '' $ac_executable_extensions; do
27658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27659 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27670 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27672 if test -n "$PKG_CONFIG"; then
27673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27674 echo "${ECHO_T}$PKG_CONFIG" >&6
27676 echo "$as_me:$LINENO: result: no" >&5
27677 echo "${ECHO_T}no" >&6
27681 if test x
$PKG_CONFIG != xno
; then
27682 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27685 echo "*** pkg-config too old; version 0.7 or better required."
27693 min_gtk_version
=2.0.0
27694 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27695 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27697 if test x
$PKG_CONFIG != xno
; then
27698 ## don't try to run the test against uninstalled libtool libs
27699 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27700 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27704 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27711 if test x
"$no_gtk" = x
; then
27712 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27713 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27714 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27716 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27718 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27720 if test "x$enable_gtktest" = "xyes" ; then
27721 ac_save_CFLAGS
="$CFLAGS"
27722 ac_save_LIBS
="$LIBS"
27723 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27724 LIBS
="$GTK_LIBS $LIBS"
27726 if test "$cross_compiling" = yes; then
27727 echo $ac_n "cross compiling; assumed OK... $ac_c"
27729 cat >conftest.
$ac_ext <<_ACEOF
27732 cat confdefs.h
>>conftest.
$ac_ext
27733 cat >>conftest.
$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27736 #include <gtk/gtk.h>
27738 #include <stdlib.h>
27743 int major, minor, micro;
27746 system ("touch conf.gtktest");
27748 /* HP/UX 9 (%@#!) writes to sscanf strings */
27749 tmp_version = g_strdup("$min_gtk_version");
27750 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27751 printf("%s, bad version string\n", "$min_gtk_version");
27755 if ((gtk_major_version != $gtk_config_major_version) ||
27756 (gtk_minor_version != $gtk_config_minor_version) ||
27757 (gtk_micro_version != $gtk_config_micro_version))
27759 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27760 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27761 gtk_major_version, gtk_minor_version, gtk_micro_version);
27762 printf ("*** was found! If pkg-config was correct, then it is best\n");
27763 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27764 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27765 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27766 printf("*** required on your system.\n");
27767 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27768 printf("*** to point to the correct configuration files\n");
27770 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27771 (gtk_minor_version != GTK_MINOR_VERSION) ||
27772 (gtk_micro_version != GTK_MICRO_VERSION))
27774 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27775 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27776 printf("*** library (version %d.%d.%d)\n",
27777 gtk_major_version, gtk_minor_version, gtk_micro_version);
27781 if ((gtk_major_version > major) ||
27782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27789 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27790 gtk_major_version, gtk_minor_version, gtk_micro_version);
27791 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27792 major, minor, micro);
27793 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27795 printf("*** If you have already installed a sufficiently new version, this error\n");
27796 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27797 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27798 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27799 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27800 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27801 printf("*** so that the correct libraries are found at run-time))\n");
27808 rm -f conftest
$ac_exeext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810 (eval $ac_link) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; }; then
27821 echo "$as_me: program exited with status $ac_status" >&5
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.
$ac_ext >&5
27825 ( exit $ac_status )
27828 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27830 CFLAGS
="$ac_save_CFLAGS"
27831 LIBS
="$ac_save_LIBS"
27834 if test "x$no_gtk" = x
; then
27835 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27836 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27839 echo "$as_me:$LINENO: result: no" >&5
27840 echo "${ECHO_T}no" >&6
27841 if test "$PKG_CONFIG" = "no" ; then
27842 echo "*** A new enough version of pkg-config was not found."
27843 echo "*** See http://pkgconfig.sourceforge.net"
27845 if test -f conf.gtktest
; then
27848 echo "*** Could not run GTK+ test program, checking why..."
27849 ac_save_CFLAGS
="$CFLAGS"
27850 ac_save_LIBS
="$LIBS"
27851 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27852 LIBS
="$LIBS $GTK_LIBS"
27853 cat >conftest.
$ac_ext <<_ACEOF
27856 cat confdefs.h
>>conftest.
$ac_ext
27857 cat >>conftest.
$ac_ext <<_ACEOF
27858 /* end confdefs.h. */
27860 #include <gtk/gtk.h>
27866 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27871 rm -f conftest.
$ac_objext conftest
$ac_exeext
27872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27873 (eval $ac_link) 2>conftest.er1
27875 grep -v '^ *+' conftest.er1
>conftest.err
27877 cat conftest.err
>&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } &&
27880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27882 (eval $ac_try) 2>&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); }; } &&
27886 { ac_try
='test -s conftest$ac_exeext'
27887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888 (eval $ac_try) 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; }; then
27892 echo "*** The test program compiled, but did not run. This usually means"
27893 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27894 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27895 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27896 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27897 echo "*** is required on your system"
27899 echo "*** If you have an old version installed, it is best to remove it, although"
27900 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27902 echo "$as_me: failed program was:" >&5
27903 sed 's/^/| /' conftest.
$ac_ext >&5
27905 echo "*** The test program failed to compile or link. See the file config.log for the"
27906 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27908 rm -f conftest.err conftest.
$ac_objext \
27909 conftest
$ac_exeext conftest.
$ac_ext
27910 CFLAGS
="$ac_save_CFLAGS"
27911 LIBS
="$ac_save_LIBS"
27925 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27926 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27927 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27929 if test "$wxUSE_SHARED" != "yes"; then
27930 GTK_LIBS
="$GTK_LIBS -lX11"
27935 if test -z "$wx_cv_lib_gtk"; then
27936 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27938 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27939 if test "${with_gtk_prefix+set}" = set; then
27940 withval
="$with_gtk_prefix"
27941 gtk_config_prefix
="$withval"
27943 gtk_config_prefix
=""
27946 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27947 if test "${with_gtk_exec_prefix+set}" = set; then
27948 withval
="$with_gtk_exec_prefix"
27949 gtk_config_exec_prefix
="$withval"
27951 gtk_config_exec_prefix
=""
27953 # Check whether --enable-gtktest or --disable-gtktest was given.
27954 if test "${enable_gtktest+set}" = set; then
27955 enableval
="$enable_gtktest"
27961 for module
in .
$GTK_MODULES
27965 gtk_config_args
="$gtk_config_args gthread"
27970 if test x
$gtk_config_exec_prefix != x
; then
27971 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27972 if test x
${GTK_CONFIG+set} != xset
; then
27973 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27976 if test x
$gtk_config_prefix != x
; then
27977 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27978 if test x
${GTK_CONFIG+set} != xset
; then
27979 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27983 # Extract the first word of "gtk-config", so it can be a program name with args.
27984 set dummy gtk
-config; ac_word
=$2
27985 echo "$as_me:$LINENO: checking for $ac_word" >&5
27986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27987 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27988 echo $ECHO_N "(cached) $ECHO_C" >&6
27990 case $GTK_CONFIG in
27992 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27996 for as_dir
in $PATH
27999 test -z "$as_dir" && as_dir
=.
28000 for ac_exec_ext
in '' $ac_executable_extensions; do
28001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28002 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28009 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28013 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28015 if test -n "$GTK_CONFIG"; then
28016 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28017 echo "${ECHO_T}$GTK_CONFIG" >&6
28019 echo "$as_me:$LINENO: result: no" >&5
28020 echo "${ECHO_T}no" >&6
28023 min_gtk_version
=1.2.7
28024 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28025 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28027 if test "$GTK_CONFIG" = "no" ; then
28030 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28031 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28032 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28034 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28036 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28038 if test "x$enable_gtktest" = "xyes" ; then
28039 ac_save_CFLAGS
="$CFLAGS"
28040 ac_save_LIBS
="$LIBS"
28041 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28042 LIBS
="$GTK_LIBS $LIBS"
28044 if test "$cross_compiling" = yes; then
28045 echo $ac_n "cross compiling; assumed OK... $ac_c"
28047 cat >conftest.
$ac_ext <<_ACEOF
28050 cat confdefs.h
>>conftest.
$ac_ext
28051 cat >>conftest.
$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28054 #include <gtk/gtk.h>
28056 #include <stdlib.h>
28061 int major, minor, micro;
28064 system ("touch conf.gtktest");
28066 /* HP/UX 9 (%@#!) writes to sscanf strings */
28067 tmp_version = g_strdup("$min_gtk_version");
28068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28069 printf("%s, bad version string\n", "$min_gtk_version");
28073 if ((gtk_major_version != $gtk_config_major_version) ||
28074 (gtk_minor_version != $gtk_config_minor_version) ||
28075 (gtk_micro_version != $gtk_config_micro_version))
28077 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28079 gtk_major_version, gtk_minor_version, gtk_micro_version);
28080 printf ("*** was found! If gtk-config was correct, then it is best\n");
28081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28084 printf("*** required on your system.\n");
28085 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28086 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28087 printf("*** before re-running configure\n");
28089 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28091 (gtk_minor_version != GTK_MINOR_VERSION) ||
28092 (gtk_micro_version != GTK_MICRO_VERSION))
28094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28096 printf("*** library (version %d.%d.%d)\n",
28097 gtk_major_version, gtk_minor_version, gtk_micro_version);
28099 #endif /* defined (GTK_MAJOR_VERSION) ... */
28102 if ((gtk_major_version > major) ||
28103 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28104 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28110 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28111 gtk_major_version, gtk_minor_version, gtk_micro_version);
28112 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28113 major, minor, micro);
28114 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28116 printf("*** If you have already installed a sufficiently new version, this error\n");
28117 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28118 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28119 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28120 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28121 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28122 printf("*** so that the correct libraries are found at run-time))\n");
28129 rm -f conftest
$ac_exeext
28130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28131 (eval $ac_link) 2>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28142 echo "$as_me: program exited with status $ac_status" >&5
28143 echo "$as_me: failed program was:" >&5
28144 sed 's/^/| /' conftest.
$ac_ext >&5
28146 ( exit $ac_status )
28149 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28151 CFLAGS
="$ac_save_CFLAGS"
28152 LIBS
="$ac_save_LIBS"
28155 if test "x$no_gtk" = x
; then
28156 echo "$as_me:$LINENO: result: yes" >&5
28157 echo "${ECHO_T}yes" >&6
28158 wx_cv_lib_gtk
=1.2.7
28160 echo "$as_me:$LINENO: result: no" >&5
28161 echo "${ECHO_T}no" >&6
28162 if test "$GTK_CONFIG" = "no" ; then
28163 echo "*** The gtk-config script installed by GTK could not be found"
28164 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28165 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28166 echo "*** full path to gtk-config."
28168 if test -f conf.gtktest
; then
28171 echo "*** Could not run GTK test program, checking why..."
28172 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28173 LIBS
="$LIBS $GTK_LIBS"
28174 cat >conftest.
$ac_ext <<_ACEOF
28177 cat confdefs.h
>>conftest.
$ac_ext
28178 cat >>conftest.
$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28181 #include <gtk/gtk.h>
28187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28192 rm -f conftest.
$ac_objext conftest
$ac_exeext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28194 (eval $ac_link) 2>conftest.er1
28196 grep -v '^ *+' conftest.er1
>conftest.err
28198 cat conftest.err
>&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try
='test -s conftest$ac_exeext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28213 echo "*** The test program compiled, but did not run. This usually means"
28214 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28215 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28218 echo "*** is required on your system"
28220 echo "*** If you have an old version installed, it is best to remove it, although"
28221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28223 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28224 echo "*** came with the system with the command"
28226 echo "*** rpm --erase --nodeps gtk gtk-devel"
28228 echo "$as_me: failed program was:" >&5
28229 sed 's/^/| /' conftest.
$ac_ext >&5
28231 echo "*** The test program failed to compile or link. See the file config.log for the"
28232 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28233 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28234 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28236 rm -f conftest.err conftest.
$ac_objext \
28237 conftest
$ac_exeext conftest.
$ac_ext
28238 CFLAGS
="$ac_save_CFLAGS"
28239 LIBS
="$ac_save_LIBS"
28251 if test -z "$wx_cv_lib_gtk"; then
28253 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28254 if test "${with_gtk_prefix+set}" = set; then
28255 withval
="$with_gtk_prefix"
28256 gtk_config_prefix
="$withval"
28258 gtk_config_prefix
=""
28261 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28262 if test "${with_gtk_exec_prefix+set}" = set; then
28263 withval
="$with_gtk_exec_prefix"
28264 gtk_config_exec_prefix
="$withval"
28266 gtk_config_exec_prefix
=""
28268 # Check whether --enable-gtktest or --disable-gtktest was given.
28269 if test "${enable_gtktest+set}" = set; then
28270 enableval
="$enable_gtktest"
28276 for module
in .
$GTK_MODULES
28280 gtk_config_args
="$gtk_config_args gthread"
28285 if test x
$gtk_config_exec_prefix != x
; then
28286 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28287 if test x
${GTK_CONFIG+set} != xset
; then
28288 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28291 if test x
$gtk_config_prefix != x
; then
28292 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28293 if test x
${GTK_CONFIG+set} != xset
; then
28294 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28298 # Extract the first word of "gtk-config", so it can be a program name with args.
28299 set dummy gtk
-config; ac_word
=$2
28300 echo "$as_me:$LINENO: checking for $ac_word" >&5
28301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28302 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 case $GTK_CONFIG in
28307 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28311 for as_dir
in $PATH
28314 test -z "$as_dir" && as_dir
=.
28315 for ac_exec_ext
in '' $ac_executable_extensions; do
28316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28317 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28324 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28328 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28330 if test -n "$GTK_CONFIG"; then
28331 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28332 echo "${ECHO_T}$GTK_CONFIG" >&6
28334 echo "$as_me:$LINENO: result: no" >&5
28335 echo "${ECHO_T}no" >&6
28338 min_gtk_version
=1.2.3
28339 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28340 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28342 if test "$GTK_CONFIG" = "no" ; then
28345 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28346 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28347 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28348 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28349 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28351 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28353 if test "x$enable_gtktest" = "xyes" ; then
28354 ac_save_CFLAGS
="$CFLAGS"
28355 ac_save_LIBS
="$LIBS"
28356 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28357 LIBS
="$GTK_LIBS $LIBS"
28359 if test "$cross_compiling" = yes; then
28360 echo $ac_n "cross compiling; assumed OK... $ac_c"
28362 cat >conftest.
$ac_ext <<_ACEOF
28365 cat confdefs.h
>>conftest.
$ac_ext
28366 cat >>conftest.
$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28369 #include <gtk/gtk.h>
28371 #include <stdlib.h>
28376 int major, minor, micro;
28379 system ("touch conf.gtktest");
28381 /* HP/UX 9 (%@#!) writes to sscanf strings */
28382 tmp_version = g_strdup("$min_gtk_version");
28383 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28384 printf("%s, bad version string\n", "$min_gtk_version");
28388 if ((gtk_major_version != $gtk_config_major_version) ||
28389 (gtk_minor_version != $gtk_config_minor_version) ||
28390 (gtk_micro_version != $gtk_config_micro_version))
28392 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28393 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28394 gtk_major_version, gtk_minor_version, gtk_micro_version);
28395 printf ("*** was found! If gtk-config was correct, then it is best\n");
28396 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28397 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28398 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28399 printf("*** required on your system.\n");
28400 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28401 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28402 printf("*** before re-running configure\n");
28404 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28405 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28406 (gtk_minor_version != GTK_MINOR_VERSION) ||
28407 (gtk_micro_version != GTK_MICRO_VERSION))
28409 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28410 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28411 printf("*** library (version %d.%d.%d)\n",
28412 gtk_major_version, gtk_minor_version, gtk_micro_version);
28414 #endif /* defined (GTK_MAJOR_VERSION) ... */
28417 if ((gtk_major_version > major) ||
28418 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28419 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28425 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28426 gtk_major_version, gtk_minor_version, gtk_micro_version);
28427 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28428 major, minor, micro);
28429 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28431 printf("*** If you have already installed a sufficiently new version, this error\n");
28432 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28433 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28434 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28435 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28436 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28437 printf("*** so that the correct libraries are found at run-time))\n");
28444 rm -f conftest
$ac_exeext
28445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28446 (eval $ac_link) 2>&5
28448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; }; then
28457 echo "$as_me: program exited with status $ac_status" >&5
28458 echo "$as_me: failed program was:" >&5
28459 sed 's/^/| /' conftest.
$ac_ext >&5
28461 ( exit $ac_status )
28464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28466 CFLAGS
="$ac_save_CFLAGS"
28467 LIBS
="$ac_save_LIBS"
28470 if test "x$no_gtk" = x
; then
28471 echo "$as_me:$LINENO: result: yes" >&5
28472 echo "${ECHO_T}yes" >&6
28473 wx_cv_lib_gtk
=1.2.3
28475 echo "$as_me:$LINENO: result: no" >&5
28476 echo "${ECHO_T}no" >&6
28477 if test "$GTK_CONFIG" = "no" ; then
28478 echo "*** The gtk-config script installed by GTK could not be found"
28479 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28480 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28481 echo "*** full path to gtk-config."
28483 if test -f conf.gtktest
; then
28486 echo "*** Could not run GTK test program, checking why..."
28487 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28488 LIBS
="$LIBS $GTK_LIBS"
28489 cat >conftest.
$ac_ext <<_ACEOF
28492 cat confdefs.h
>>conftest.
$ac_ext
28493 cat >>conftest.
$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28496 #include <gtk/gtk.h>
28502 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28507 rm -f conftest.
$ac_objext conftest
$ac_exeext
28508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509 (eval $ac_link) 2>conftest.er1
28511 grep -v '^ *+' conftest.er1
>conftest.err
28513 cat conftest.err
>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } &&
28516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; } &&
28522 { ac_try
='test -s conftest$ac_exeext'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 echo "*** The test program compiled, but did not run. This usually means"
28529 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28530 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28531 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28532 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28533 echo "*** is required on your system"
28535 echo "*** If you have an old version installed, it is best to remove it, although"
28536 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28538 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28539 echo "*** came with the system with the command"
28541 echo "*** rpm --erase --nodeps gtk gtk-devel"
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.
$ac_ext >&5
28546 echo "*** The test program failed to compile or link. See the file config.log for the"
28547 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28548 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28549 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28551 rm -f conftest.err conftest.
$ac_objext \
28552 conftest
$ac_exeext conftest.
$ac_ext
28553 CFLAGS
="$ac_save_CFLAGS"
28554 LIBS
="$ac_save_LIBS"
28569 if test -z "$wx_cv_lib_gtk"; then
28572 wx_cv_cflags_gtk
=$GTK_CFLAGS
28573 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28580 if test "$gtk_version_cached" = 1; then
28581 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28582 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28585 case "$wx_cv_lib_gtk" in
28594 *) { { echo "$as_me:$LINENO: error:
28595 The development files for GTK+ were not found. For GTK+ 2, please
28596 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28597 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28598 and that the version is 1.2.3 or above. Also check that the
28599 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28600 --libs' are in the LD_LIBRARY_PATH or equivalent.
28602 echo "$as_me: error:
28603 The development files for GTK+ were not found. For GTK+ 2, please
28604 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28605 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28606 and that the version is 1.2.3 or above. Also check that the
28607 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28608 --libs' are in the LD_LIBRARY_PATH or equivalent.
28610 { (exit 1); exit 1; }; }
28614 if test "$WXGTK20" = 1; then
28615 save_CFLAGS
="$CFLAGS"
28617 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28618 LIBS
="$LIBS $wx_cv_libs_gtk"
28620 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28621 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28622 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28623 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 cat >conftest.
$ac_ext <<_ACEOF
28628 cat confdefs.h
>>conftest.
$ac_ext
28629 cat >>conftest.
$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 #include <gtk/gtk.h>
28636 #ifndef gtk_icon_size_lookup
28637 char *p = (char *) gtk_icon_size_lookup;
28644 rm -f conftest.
$ac_objext
28645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28646 (eval $ac_compile) 2>conftest.er1
28648 grep -v '^ *+' conftest.er1
>conftest.err
28650 cat conftest.err
>&5
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); } &&
28653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; } &&
28659 { ac_try
='test -s conftest.$ac_objext'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; }; then
28665 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28667 echo "$as_me: failed program was:" >&5
28668 sed 's/^/| /' conftest.
$ac_ext >&5
28670 ac_cv_have_decl_gtk_icon_size_lookup
=no
28672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28674 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28675 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28676 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28678 cat >>confdefs.h
<<_ACEOF
28679 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28684 cat >>confdefs.h
<<_ACEOF
28685 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28688 cat >>confdefs.h
<<\_ACEOF
28689 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28696 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28697 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28698 cat >conftest.
$ac_ext <<_ACEOF
28701 cat confdefs.h
>>conftest.
$ac_ext
28702 cat >>conftest.
$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28705 #include <gtk/gtk.h>
28711 #if !GTK_CHECK_VERSION(2,6,0)
28719 rm -f conftest.
$ac_objext
28720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28721 (eval $ac_compile) 2>conftest.er1
28723 grep -v '^ *+' conftest.er1
>conftest.err
28725 cat conftest.err
>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; } &&
28734 { ac_try
='test -s conftest.$ac_objext'
28735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28736 (eval $ac_try) 2>&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); }; }; then
28741 cat >>confdefs.h
<<\_ACEOF
28742 #define __WXGTK26__ 1
28745 cat >>confdefs.h
<<\_ACEOF
28746 #define __WXGTK24__ 1
28749 echo "$as_me:$LINENO: result: yes" >&5
28750 echo "${ECHO_T}yes" >&6
28754 echo "$as_me: failed program was:" >&5
28755 sed 's/^/| /' conftest.
$ac_ext >&5
28758 echo "$as_me:$LINENO: result: no" >&5
28759 echo "${ECHO_T}no" >&6
28763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28765 if test "$ac_wxgtk26" = 0; then
28766 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28767 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28768 cat >conftest.
$ac_ext <<_ACEOF
28771 cat confdefs.h
>>conftest.
$ac_ext
28772 cat >>conftest.
$ac_ext <<_ACEOF
28773 /* end confdefs.h. */
28775 #include <gtk/gtk.h>
28781 #if !GTK_CHECK_VERSION(2,4,0)
28789 rm -f conftest.
$ac_objext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28791 (eval $ac_compile) 2>conftest.er1
28793 grep -v '^ *+' conftest.er1
>conftest.err
28795 cat conftest.err
>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; } &&
28804 { ac_try
='test -s conftest.$ac_objext'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; }; then
28811 cat >>confdefs.h
<<\_ACEOF
28812 #define __WXGTK24__ 1
28815 echo "$as_me:$LINENO: result: yes" >&5
28816 echo "${ECHO_T}yes" >&6
28819 echo "$as_me: failed program was:" >&5
28820 sed 's/^/| /' conftest.
$ac_ext >&5
28823 echo "$as_me:$LINENO: result: no" >&5
28824 echo "${ECHO_T}no" >&6
28827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28830 CFLAGS
="$save_CFLAGS"
28833 if test "$wxUSE_UNICODE" = "yes"; then
28834 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28835 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28839 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28840 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28841 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28842 echo $ECHO_N "(cached) $ECHO_C" >&6
28844 ac_check_lib_save_LIBS
=$LIBS
28846 cat >conftest.
$ac_ext <<_ACEOF
28849 cat confdefs.h
>>conftest.
$ac_ext
28850 cat >>conftest.
$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28853 /* Override any gcc2 internal prototype to avoid an error. */
28857 /* We use char because int might match the return type of a gcc2
28858 builtin and then its argument prototype would still apply. */
28859 char gdk_im_open ();
28868 rm -f conftest.
$ac_objext conftest
$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870 (eval $ac_link) 2>conftest.er1
28872 grep -v '^ *+' conftest.er1
>conftest.err
28874 cat conftest.err
>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); } &&
28877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; } &&
28883 { ac_try
='test -s conftest$ac_exeext'
28884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28885 (eval $ac_try) 2>&5
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); }; }; then
28889 ac_cv_lib_gdk_gdk_im_open
=yes
28891 echo "$as_me: failed program was:" >&5
28892 sed 's/^/| /' conftest.
$ac_ext >&5
28894 ac_cv_lib_gdk_gdk_im_open
=no
28896 rm -f conftest.err conftest.
$ac_objext \
28897 conftest
$ac_exeext conftest.
$ac_ext
28898 LIBS
=$ac_check_lib_save_LIBS
28900 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28901 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28902 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28903 cat >>confdefs.h
<<\_ACEOF
28912 ac_cpp
='$CXXCPP $CPPFLAGS'
28913 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28918 if test "$USE_DARWIN" != 1; then
28920 for ac_func
in poll
28922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28923 echo "$as_me:$LINENO: checking for $ac_func" >&5
28924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28925 if eval "test \"\${$as_ac_var+set}\" = set"; then
28926 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 cat >conftest.
$ac_ext <<_ACEOF
28931 cat confdefs.h
>>conftest.
$ac_ext
28932 cat >>conftest.
$ac_ext <<_ACEOF
28933 /* end confdefs.h. */
28934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28936 #define $ac_func innocuous_$ac_func
28938 /* System header to define __stub macros and hopefully few prototypes,
28939 which can conflict with char $ac_func (); below.
28940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28941 <limits.h> exists even on freestanding compilers. */
28944 # include <limits.h>
28946 # include <assert.h>
28951 /* Override any gcc2 internal prototype to avoid an error. */
28956 /* We use char because int might match the return type of a gcc2
28957 builtin and then its argument prototype would still apply. */
28959 /* The GNU C library defines this for functions which it implements
28960 to always fail with ENOSYS. Some functions are actually named
28961 something starting with __ and the normal name is an alias. */
28962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28965 char (*f) () = $ac_func;
28974 return f != $ac_func;
28979 rm -f conftest.
$ac_objext conftest
$ac_exeext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28983 grep -v '^ *+' conftest.er1
>conftest.err
28985 cat conftest.err
>&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try
='test -s conftest$ac_exeext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 eval "$as_ac_var=yes"
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.
$ac_ext >&5
29005 eval "$as_ac_var=no"
29007 rm -f conftest.err conftest.
$ac_objext \
29008 conftest
$ac_exeext conftest.
$ac_ext
29010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29012 if test `eval echo '${'$as_ac_var'}'` = yes; then
29013 cat >>confdefs.h
<<_ACEOF
29014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29022 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29023 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29025 AFMINSTALL
=afminstall
29029 if test "$wxUSE_GPE" = "yes"; then
29030 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29031 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29034 for ac_dir
in $SEARCH_LIB;
29036 for ac_extension
in a so sl dylib dll.a
; do
29037 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29038 ac_find_libraries
=$ac_dir
29044 if test "$ac_find_libraries" != "" ; then
29046 if test "$ac_find_libraries" = "default location"; then
29049 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29051 if test $result = 0; then
29054 ac_path_to_link
=" -L$ac_find_libraries"
29058 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29060 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29061 echo "${ECHO_T}found in $ac_find_libraries" >&6
29063 echo "$as_me:$LINENO: result: not found" >&5
29064 echo "${ECHO_T}not found" >&6
29070 if test "$wxUSE_MGL" = 1; then
29071 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29072 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29073 if test "x$MGL_ROOT" = x
; then
29074 echo "$as_me:$LINENO: result: not found" >&5
29075 echo "${ECHO_T}not found" >&6
29076 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29077 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29078 { (exit 1); exit 1; }; }
29080 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29081 echo "${ECHO_T}$MGL_ROOT" >&6
29084 echo "$as_me:$LINENO: checking for libmgl location" >&5
29085 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29088 if test "x$wxUSE_SHARED" = xyes
; then
29089 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29091 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29095 mgl_os_candidates
="dos32/dj2"
29098 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29099 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29100 { (exit 1); exit 1; }; }
29106 for mgl_os_i
in $mgl_os_candidates ; do
29107 if test "x$mgl_os" = x
; then
29108 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29109 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29110 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29115 if test "x$mgl_lib_type" = x
; then
29116 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29117 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29118 mgl_lib_type
=release
29125 if test "x$mgl_os" = x
; then
29126 echo "$as_me:$LINENO: result: not found" >&5
29127 echo "${ECHO_T}not found" >&6
29128 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29129 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29130 { (exit 1); exit 1; }; }
29132 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29133 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29135 wxUSE_UNIVERSAL
="yes"
29137 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29138 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29140 AFMINSTALL
=afminstall
29145 if test "$wxUSE_DFB" = 1; then
29148 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29149 if test -n "$ac_tool_prefix"; then
29150 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29151 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29152 echo "$as_me:$LINENO: checking for $ac_word" >&5
29153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 case $PKG_CONFIG in
29159 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29163 for as_dir
in $PATH
29166 test -z "$as_dir" && as_dir
=.
29167 for ac_exec_ext
in '' $ac_executable_extensions; do
29168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29169 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29179 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29181 if test -n "$PKG_CONFIG"; then
29182 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29183 echo "${ECHO_T}$PKG_CONFIG" >&6
29185 echo "$as_me:$LINENO: result: no" >&5
29186 echo "${ECHO_T}no" >&6
29190 if test -z "$ac_cv_path_PKG_CONFIG"; then
29191 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29192 # Extract the first word of "pkg-config", so it can be a program name with args.
29193 set dummy pkg
-config; ac_word
=$2
29194 echo "$as_me:$LINENO: checking for $ac_word" >&5
29195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29196 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29199 case $ac_pt_PKG_CONFIG in
29201 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29205 for as_dir
in $PATH
29208 test -z "$as_dir" && as_dir
=.
29209 for ac_exec_ext
in '' $ac_executable_extensions; do
29210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29211 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29221 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29223 if test -n "$ac_pt_PKG_CONFIG"; then
29224 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29225 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29227 echo "$as_me:$LINENO: result: no" >&5
29228 echo "${ECHO_T}no" >&6
29231 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29233 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29237 if test -n "$PKG_CONFIG"; then
29238 _pkg_min_version
=0.9.0
29239 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29240 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29241 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29242 echo "$as_me:$LINENO: result: yes" >&5
29243 echo "${ECHO_T}yes" >&6
29245 echo "$as_me:$LINENO: result: no" >&5
29246 echo "${ECHO_T}no" >&6
29253 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29254 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29256 if test -n "$PKG_CONFIG"; then
29257 if test -n "$DIRECTFB_CFLAGS"; then
29258 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29260 if test -n "$PKG_CONFIG" && \
29261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29262 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; then
29266 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29274 if test -n "$PKG_CONFIG"; then
29275 if test -n "$DIRECTFB_LIBS"; then
29276 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29278 if test -n "$PKG_CONFIG" && \
29279 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29280 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; then
29284 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29295 if test $pkg_failed = yes; then
29297 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29298 _pkg_short_errors_supported
=yes
29300 _pkg_short_errors_supported
=no
29302 if test $_pkg_short_errors_supported = yes; then
29303 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29305 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29307 # Put the nasty error message in config.log where it belongs
29308 echo "$DIRECTFB_PKG_ERRORS" >&5
29311 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29312 echo "$as_me: error: DirectFB not found." >&2;}
29313 { (exit 1); exit 1; }; }
29316 elif test $pkg_failed = untried
; then
29318 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29319 echo "$as_me: error: DirectFB not found." >&2;}
29320 { (exit 1); exit 1; }; }
29324 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29325 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29326 echo "$as_me:$LINENO: result: yes" >&5
29327 echo "${ECHO_T}yes" >&6
29329 wxUSE_UNIVERSAL
="yes"
29330 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29331 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29338 if test "$wxUSE_MICROWIN" = 1; then
29339 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29340 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29341 if test "x$MICROWINDOWS" = x
; then
29342 echo "$as_me:$LINENO: result: not found" >&5
29343 echo "${ECHO_T}not found" >&6
29344 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29345 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29346 { (exit 1); exit 1; }; }
29348 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29349 echo "${ECHO_T}$MICROWINDOWS" >&6
29352 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29353 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29354 echo "${ECHO_T}MicroWindows' libraries found." >&6
29356 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29357 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29358 { (exit 1); exit 1; }; }
29361 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29362 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29364 wxUSE_UNIVERSAL
="yes"
29366 AFMINSTALL
=afminstall
29368 GUIDIST
=MICROWIN_DIST
29370 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29373 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29375 if test "x$ac_path_x_has_been_run" != xyes
; then
29376 echo "$as_me:$LINENO: checking for X" >&5
29377 echo $ECHO_N "checking for X... $ECHO_C" >&6
29379 ac_path_x_has_been_run
=yes
29381 # Check whether --with-x or --without-x was given.
29382 if test "${with_x+set}" = set; then
29386 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29387 if test "x$with_x" = xno
; then
29388 # The user explicitly disabled X.
29391 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29392 # Both variables are already set.
29395 if test "${ac_cv_have_x+set}" = set; then
29396 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 # One or both of the vars are not set, and there is no cached value.
29399 ac_x_includes
=no ac_x_libraries
=no
29400 rm -fr conftest.dir
29401 if mkdir conftest.dir
; then
29403 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29404 cat >Imakefile
<<'_ACEOF'
29406 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29408 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29409 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29410 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29411 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29412 for ac_extension
in a so sl
; do
29413 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29414 test -f $ac_im_libdir/libX11.
$ac_extension; then
29415 ac_im_usrlibdir
=$ac_im_libdir; break
29418 # Screen out bogus values from the imake configuration. They are
29419 # bogus both because they are the default anyway, and because
29420 # using them would break gcc on systems where it needs fixed includes.
29421 case $ac_im_incroot in
29423 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29425 case $ac_im_usrlibdir in
29426 /usr
/lib
| /lib
) ;;
29427 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29431 rm -fr conftest.dir
29434 # Standard set of common directories for X headers.
29435 # Check X11 before X11Rn because it is often a symlink to the current release.
29447 /usr/local/X11/include
29448 /usr/local/X11R6/include
29449 /usr/local/X11R5/include
29450 /usr/local/X11R4/include
29452 /usr/local/include/X11
29453 /usr/local/include/X11R6
29454 /usr/local/include/X11R5
29455 /usr/local/include/X11R4
29459 /usr/XFree86/include/X11
29463 /usr/unsupported/include
29464 /usr/athena/include
29465 /usr/local/x11r5/include
29466 /usr/lpp/Xamples/include
29468 /usr/openwin/include
29469 /usr/openwin/share/include'
29471 if test "$ac_x_includes" = no
; then
29472 # Guess where to find include files, by looking for a specified header file.
29473 # First, try using that file with no special directory specified.
29474 cat >conftest.
$ac_ext <<_ACEOF
29477 cat confdefs.h
>>conftest.
$ac_ext
29478 cat >>conftest.
$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480 #include <X11/Xlib.h>
29482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29485 grep -v '^ *+' conftest.er1
>conftest.err
29487 cat conftest.err
>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } >/dev
/null
; then
29490 if test -s conftest.err
; then
29491 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29492 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29499 if test -z "$ac_cpp_err"; then
29500 # We can compile using X headers with no special include directory.
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.
$ac_ext >&5
29506 for ac_dir
in $ac_x_header_dirs; do
29507 if test -r "$ac_dir/X11/Xlib.h"; then
29508 ac_x_includes
=$ac_dir
29513 rm -f conftest.err conftest.
$ac_ext
29514 fi # $ac_x_includes = no
29516 if test "$ac_x_libraries" = no
; then
29517 # Check for the libraries.
29518 # See if we find them without any special options.
29519 # Don't add to $LIBS permanently.
29522 cat >conftest.
$ac_ext <<_ACEOF
29525 cat confdefs.h
>>conftest.
$ac_ext
29526 cat >>conftest.
$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528 #include <X11/Xlib.h>
29537 rm -f conftest.
$ac_objext conftest
$ac_exeext
29538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29539 (eval $ac_link) 2>conftest.er1
29541 grep -v '^ *+' conftest.er1
>conftest.err
29543 cat conftest.err
>&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } &&
29546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29548 (eval $ac_try) 2>&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); }; } &&
29552 { ac_try
='test -s conftest$ac_exeext'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; }; then
29559 # We can link X programs with no special library path.
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.
$ac_ext >&5
29566 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29568 # Don't even attempt the hair of trying to link an X program!
29569 for ac_extension
in a so sl
; do
29570 if test -r $ac_dir/libX11.
$ac_extension; then
29571 ac_x_libraries
=$ac_dir
29577 rm -f conftest.err conftest.
$ac_objext \
29578 conftest
$ac_exeext conftest.
$ac_ext
29579 fi # $ac_x_libraries = no
29581 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29582 # Didn't find X anywhere. Cache the known absence of X.
29583 ac_cv_have_x
="have_x=no"
29585 # Record where we found X for the cache.
29586 ac_cv_have_x
="have_x=yes \
29587 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29592 eval "$ac_cv_have_x"
29595 if test "$have_x" != yes; then
29596 echo "$as_me:$LINENO: result: $have_x" >&5
29597 echo "${ECHO_T}$have_x" >&6
29600 # If each of the values was on the command line, it overrides each guess.
29601 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29602 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29603 # Update the cache value to reflect the command line values.
29604 ac_cv_have_x
="have_x=yes \
29605 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29606 # It might be that x_includes is empty (headers are found in the
29607 # standard search path. Then output the corresponding message
29608 ac_out_x_includes
=$x_includes
29609 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29610 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29611 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29615 if test "$no_x" = yes; then
29616 # Not all programs may use this symbol, but it does not hurt to define it.
29618 cat >>confdefs.h
<<\_ACEOF
29619 #define X_DISPLAY_MISSING 1
29622 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29624 if test -n "$x_includes"; then
29625 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29628 # It would also be nice to do this for all -L options, not just this one.
29629 if test -n "$x_libraries"; then
29630 X_LIBS
="$X_LIBS -L$x_libraries"
29631 # For Solaris; some versions of Sun CC require a space after -R and
29632 # others require no space. Words are not sufficient . . . .
29633 case `(uname -sr) 2>/dev/null` in
29635 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29636 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29637 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29638 cat >conftest.
$ac_ext <<_ACEOF
29641 cat confdefs.h
>>conftest.
$ac_ext
29642 cat >>conftest.
$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29653 rm -f conftest.
$ac_objext conftest
$ac_exeext
29654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29655 (eval $ac_link) 2>conftest.er1
29657 grep -v '^ *+' conftest.er1
>conftest.err
29659 cat conftest.err
>&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } &&
29662 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29664 (eval $ac_try) 2>&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); }; } &&
29668 { ac_try
='test -s conftest$ac_exeext'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.
$ac_ext >&5
29681 rm -f conftest.err conftest.
$ac_objext \
29682 conftest
$ac_exeext conftest.
$ac_ext
29683 if test $ac_R_nospace = yes; then
29684 echo "$as_me:$LINENO: result: no" >&5
29685 echo "${ECHO_T}no" >&6
29686 X_LIBS
="$X_LIBS -R$x_libraries"
29688 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29689 cat >conftest.
$ac_ext <<_ACEOF
29692 cat confdefs.h
>>conftest.
$ac_ext
29693 cat >>conftest.
$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29704 rm -f conftest.
$ac_objext conftest
$ac_exeext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29706 (eval $ac_link) 2>conftest.er1
29708 grep -v '^ *+' conftest.er1
>conftest.err
29710 cat conftest.err
>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } &&
29713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; } &&
29719 { ac_try
='test -s conftest$ac_exeext'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; }; then
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.
$ac_ext >&5
29732 rm -f conftest.err conftest.
$ac_objext \
29733 conftest
$ac_exeext conftest.
$ac_ext
29734 if test $ac_R_space = yes; then
29735 echo "$as_me:$LINENO: result: yes" >&5
29736 echo "${ECHO_T}yes" >&6
29737 X_LIBS
="$X_LIBS -R $x_libraries"
29739 echo "$as_me:$LINENO: result: neither works" >&5
29740 echo "${ECHO_T}neither works" >&6
29743 LIBS
=$ac_xsave_LIBS
29747 # Check for system-dependent libraries X programs must link with.
29748 # Do this before checking for the system-independent R6 libraries
29749 # (-lICE), since we may need -lsocket or whatever for X linking.
29751 if test "$ISC" = yes; then
29752 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29754 # Martyn Johnson says this is needed for Ultrix, if the X
29755 # libraries were built with DECnet support. And Karl Berry says
29756 # the Alpha needs dnet_stub (dnet does not exist).
29757 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29758 cat >conftest.
$ac_ext <<_ACEOF
29761 cat confdefs.h
>>conftest.
$ac_ext
29762 cat >>conftest.
$ac_ext <<_ACEOF
29763 /* end confdefs.h. */
29765 /* Override any gcc2 internal prototype to avoid an error. */
29769 /* We use char because int might match the return type of a gcc2
29770 builtin and then its argument prototype would still apply. */
29771 char XOpenDisplay ();
29780 rm -f conftest.
$ac_objext conftest
$ac_exeext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29782 (eval $ac_link) 2>conftest.er1
29784 grep -v '^ *+' conftest.er1
>conftest.err
29786 cat conftest.err
>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try
='test -s conftest$ac_exeext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.
$ac_ext >&5
29806 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29807 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29808 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29809 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 ac_check_lib_save_LIBS
=$LIBS
29812 LIBS
="-ldnet $LIBS"
29813 cat >conftest.
$ac_ext <<_ACEOF
29816 cat confdefs.h
>>conftest.
$ac_ext
29817 cat >>conftest.
$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29820 /* Override any gcc2 internal prototype to avoid an error. */
29824 /* We use char because int might match the return type of a gcc2
29825 builtin and then its argument prototype would still apply. */
29835 rm -f conftest.
$ac_objext conftest
$ac_exeext
29836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29837 (eval $ac_link) 2>conftest.er1
29839 grep -v '^ *+' conftest.er1
>conftest.err
29841 cat conftest.err
>&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } &&
29844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try
='test -s conftest$ac_exeext'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 ac_cv_lib_dnet_dnet_ntoa
=yes
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.
$ac_ext >&5
29861 ac_cv_lib_dnet_dnet_ntoa
=no
29863 rm -f conftest.err conftest.
$ac_objext \
29864 conftest
$ac_exeext conftest.
$ac_ext
29865 LIBS
=$ac_check_lib_save_LIBS
29867 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29868 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29869 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29873 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29874 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29875 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29876 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29879 ac_check_lib_save_LIBS
=$LIBS
29880 LIBS
="-ldnet_stub $LIBS"
29881 cat >conftest.
$ac_ext <<_ACEOF
29884 cat confdefs.h
>>conftest.
$ac_ext
29885 cat >>conftest.
$ac_ext <<_ACEOF
29886 /* end confdefs.h. */
29888 /* Override any gcc2 internal prototype to avoid an error. */
29892 /* We use char because int might match the return type of a gcc2
29893 builtin and then its argument prototype would still apply. */
29903 rm -f conftest.
$ac_objext conftest
$ac_exeext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29905 (eval $ac_link) 2>conftest.er1
29907 grep -v '^ *+' conftest.er1
>conftest.err
29909 cat conftest.err
>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29914 (eval $ac_try) 2>&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); }; } &&
29918 { ac_try
='test -s conftest$ac_exeext'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; }; then
29924 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.
$ac_ext >&5
29929 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29931 rm -f conftest.err conftest.
$ac_objext \
29932 conftest
$ac_exeext conftest.
$ac_ext
29933 LIBS
=$ac_check_lib_save_LIBS
29935 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29936 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29937 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29943 rm -f conftest.err conftest.
$ac_objext \
29944 conftest
$ac_exeext conftest.
$ac_ext
29945 LIBS
="$ac_xsave_LIBS"
29947 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29948 # to get the SysV transport functions.
29949 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29951 # The nsl library prevents programs from opening the X display
29952 # on Irix 5.2, according to T.E. Dickey.
29953 # The functions gethostbyname, getservbyname, and inet_addr are
29954 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29955 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29956 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29957 if test "${ac_cv_func_gethostbyname+set}" = set; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 cat >conftest.
$ac_ext <<_ACEOF
29963 cat confdefs.h
>>conftest.
$ac_ext
29964 cat >>conftest.
$ac_ext <<_ACEOF
29965 /* end confdefs.h. */
29966 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29968 #define gethostbyname innocuous_gethostbyname
29970 /* System header to define __stub macros and hopefully few prototypes,
29971 which can conflict with char gethostbyname (); below.
29972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29973 <limits.h> exists even on freestanding compilers. */
29976 # include <limits.h>
29978 # include <assert.h>
29981 #undef gethostbyname
29983 /* Override any gcc2 internal prototype to avoid an error. */
29988 /* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990 char gethostbyname ();
29991 /* The GNU C library defines this for functions which it implements
29992 to always fail with ENOSYS. Some functions are actually named
29993 something starting with __ and the normal name is an alias. */
29994 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29997 char (*f) () = gethostbyname;
30006 return f != gethostbyname;
30011 rm -f conftest.
$ac_objext conftest
$ac_exeext
30012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30013 (eval $ac_link) 2>conftest.er1
30015 grep -v '^ *+' conftest.er1
>conftest.err
30017 cat conftest.err
>&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } &&
30020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30022 (eval $ac_try) 2>&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); }; } &&
30026 { ac_try
='test -s conftest$ac_exeext'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; }; then
30032 ac_cv_func_gethostbyname
=yes
30034 echo "$as_me: failed program was:" >&5
30035 sed 's/^/| /' conftest.
$ac_ext >&5
30037 ac_cv_func_gethostbyname
=no
30039 rm -f conftest.err conftest.
$ac_objext \
30040 conftest
$ac_exeext conftest.
$ac_ext
30042 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30043 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30045 if test $ac_cv_func_gethostbyname = no
; then
30046 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30047 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30048 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30049 echo $ECHO_N "(cached) $ECHO_C" >&6
30051 ac_check_lib_save_LIBS
=$LIBS
30053 cat >conftest.
$ac_ext <<_ACEOF
30056 cat confdefs.h
>>conftest.
$ac_ext
30057 cat >>conftest.
$ac_ext <<_ACEOF
30058 /* end confdefs.h. */
30060 /* Override any gcc2 internal prototype to avoid an error. */
30064 /* We use char because int might match the return type of a gcc2
30065 builtin and then its argument prototype would still apply. */
30066 char gethostbyname ();
30075 rm -f conftest.
$ac_objext conftest
$ac_exeext
30076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30077 (eval $ac_link) 2>conftest.er1
30079 grep -v '^ *+' conftest.er1
>conftest.err
30081 cat conftest.err
>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } &&
30084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; } &&
30090 { ac_try
='test -s conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30096 ac_cv_lib_nsl_gethostbyname
=yes
30098 echo "$as_me: failed program was:" >&5
30099 sed 's/^/| /' conftest.
$ac_ext >&5
30101 ac_cv_lib_nsl_gethostbyname
=no
30103 rm -f conftest.err conftest.
$ac_objext \
30104 conftest
$ac_exeext conftest.
$ac_ext
30105 LIBS
=$ac_check_lib_save_LIBS
30107 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30108 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30109 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30110 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30113 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30114 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30115 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30116 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30117 echo $ECHO_N "(cached) $ECHO_C" >&6
30119 ac_check_lib_save_LIBS
=$LIBS
30121 cat >conftest.
$ac_ext <<_ACEOF
30124 cat confdefs.h
>>conftest.
$ac_ext
30125 cat >>conftest.
$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30128 /* Override any gcc2 internal prototype to avoid an error. */
30132 /* We use char because int might match the return type of a gcc2
30133 builtin and then its argument prototype would still apply. */
30134 char gethostbyname ();
30143 rm -f conftest.
$ac_objext conftest
$ac_exeext
30144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30145 (eval $ac_link) 2>conftest.er1
30147 grep -v '^ *+' conftest.er1
>conftest.err
30149 cat conftest.err
>&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } &&
30152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30154 (eval $ac_try) 2>&5
30156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157 (exit $ac_status); }; } &&
30158 { ac_try
='test -s conftest$ac_exeext'
30159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30160 (eval $ac_try) 2>&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); }; }; then
30164 ac_cv_lib_bsd_gethostbyname
=yes
30166 echo "$as_me: failed program was:" >&5
30167 sed 's/^/| /' conftest.
$ac_ext >&5
30169 ac_cv_lib_bsd_gethostbyname
=no
30171 rm -f conftest.err conftest.
$ac_objext \
30172 conftest
$ac_exeext conftest.
$ac_ext
30173 LIBS
=$ac_check_lib_save_LIBS
30175 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30176 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30177 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30184 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30185 # socket/setsockopt and other routines are undefined under SCO ODT
30186 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30187 # on later versions), says Simon Leinen: it contains gethostby*
30188 # variants that don't use the name server (or something). -lsocket
30189 # must be given before -lnsl if both are needed. We assume that
30190 # if connect needs -lnsl, so does gethostbyname.
30191 echo "$as_me:$LINENO: checking for connect" >&5
30192 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30193 if test "${ac_cv_func_connect+set}" = set; then
30194 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 cat >conftest.
$ac_ext <<_ACEOF
30199 cat confdefs.h
>>conftest.
$ac_ext
30200 cat >>conftest.
$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30204 #define connect innocuous_connect
30206 /* System header to define __stub macros and hopefully few prototypes,
30207 which can conflict with char connect (); below.
30208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30209 <limits.h> exists even on freestanding compilers. */
30212 # include <limits.h>
30214 # include <assert.h>
30219 /* Override any gcc2 internal prototype to avoid an error. */
30224 /* We use char because int might match the return type of a gcc2
30225 builtin and then its argument prototype would still apply. */
30227 /* The GNU C library defines this for functions which it implements
30228 to always fail with ENOSYS. Some functions are actually named
30229 something starting with __ and the normal name is an alias. */
30230 #if defined (__stub_connect) || defined (__stub___connect)
30233 char (*f) () = connect;
30242 return f != connect;
30247 rm -f conftest.
$ac_objext conftest
$ac_exeext
30248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30249 (eval $ac_link) 2>conftest.er1
30251 grep -v '^ *+' conftest.er1
>conftest.err
30253 cat conftest.err
>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } &&
30256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30258 (eval $ac_try) 2>&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); }; } &&
30262 { ac_try
='test -s conftest$ac_exeext'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; }; then
30268 ac_cv_func_connect
=yes
30270 echo "$as_me: failed program was:" >&5
30271 sed 's/^/| /' conftest.
$ac_ext >&5
30273 ac_cv_func_connect
=no
30275 rm -f conftest.err conftest.
$ac_objext \
30276 conftest
$ac_exeext conftest.
$ac_ext
30278 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30279 echo "${ECHO_T}$ac_cv_func_connect" >&6
30281 if test $ac_cv_func_connect = no
; then
30282 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30283 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30284 if test "${ac_cv_lib_socket_connect+set}" = set; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 ac_check_lib_save_LIBS
=$LIBS
30288 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30289 cat >conftest.
$ac_ext <<_ACEOF
30292 cat confdefs.h
>>conftest.
$ac_ext
30293 cat >>conftest.
$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30296 /* Override any gcc2 internal prototype to avoid an error. */
30300 /* We use char because int might match the return type of a gcc2
30301 builtin and then its argument prototype would still apply. */
30311 rm -f conftest.
$ac_objext conftest
$ac_exeext
30312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30313 (eval $ac_link) 2>conftest.er1
30315 grep -v '^ *+' conftest.er1
>conftest.err
30317 cat conftest.err
>&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); } &&
30320 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30322 (eval $ac_try) 2>&5
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); }; } &&
30326 { ac_try
='test -s conftest$ac_exeext'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; }; then
30332 ac_cv_lib_socket_connect
=yes
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.
$ac_ext >&5
30337 ac_cv_lib_socket_connect
=no
30339 rm -f conftest.err conftest.
$ac_objext \
30340 conftest
$ac_exeext conftest.
$ac_ext
30341 LIBS
=$ac_check_lib_save_LIBS
30343 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30344 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30345 if test $ac_cv_lib_socket_connect = yes; then
30346 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30351 # Guillermo Gomez says -lposix is necessary on A/UX.
30352 echo "$as_me:$LINENO: checking for remove" >&5
30353 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30354 if test "${ac_cv_func_remove+set}" = set; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30357 cat >conftest.
$ac_ext <<_ACEOF
30360 cat confdefs.h
>>conftest.
$ac_ext
30361 cat >>conftest.
$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30365 #define remove innocuous_remove
30367 /* System header to define __stub macros and hopefully few prototypes,
30368 which can conflict with char remove (); below.
30369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30370 <limits.h> exists even on freestanding compilers. */
30373 # include <limits.h>
30375 # include <assert.h>
30380 /* Override any gcc2 internal prototype to avoid an error. */
30385 /* We use char because int might match the return type of a gcc2
30386 builtin and then its argument prototype would still apply. */
30388 /* The GNU C library defines this for functions which it implements
30389 to always fail with ENOSYS. Some functions are actually named
30390 something starting with __ and the normal name is an alias. */
30391 #if defined (__stub_remove) || defined (__stub___remove)
30394 char (*f) () = remove;
30403 return f != remove;
30408 rm -f conftest.
$ac_objext conftest
$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410 (eval $ac_link) 2>conftest.er1
30412 grep -v '^ *+' conftest.er1
>conftest.err
30414 cat conftest.err
>&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419 (eval $ac_try) 2>&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); }; } &&
30423 { ac_try
='test -s conftest$ac_exeext'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; }; then
30429 ac_cv_func_remove
=yes
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.
$ac_ext >&5
30434 ac_cv_func_remove
=no
30436 rm -f conftest.err conftest.
$ac_objext \
30437 conftest
$ac_exeext conftest.
$ac_ext
30439 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30440 echo "${ECHO_T}$ac_cv_func_remove" >&6
30442 if test $ac_cv_func_remove = no
; then
30443 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30444 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30445 if test "${ac_cv_lib_posix_remove+set}" = set; then
30446 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 ac_check_lib_save_LIBS
=$LIBS
30449 LIBS
="-lposix $LIBS"
30450 cat >conftest.
$ac_ext <<_ACEOF
30453 cat confdefs.h
>>conftest.
$ac_ext
30454 cat >>conftest.
$ac_ext <<_ACEOF
30455 /* end confdefs.h. */
30457 /* Override any gcc2 internal prototype to avoid an error. */
30461 /* We use char because int might match the return type of a gcc2
30462 builtin and then its argument prototype would still apply. */
30472 rm -f conftest.
$ac_objext conftest
$ac_exeext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30474 (eval $ac_link) 2>conftest.er1
30476 grep -v '^ *+' conftest.er1
>conftest.err
30478 cat conftest.err
>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; } &&
30487 { ac_try
='test -s conftest$ac_exeext'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; }; then
30493 ac_cv_lib_posix_remove
=yes
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.
$ac_ext >&5
30498 ac_cv_lib_posix_remove
=no
30500 rm -f conftest.err conftest.
$ac_objext \
30501 conftest
$ac_exeext conftest.
$ac_ext
30502 LIBS
=$ac_check_lib_save_LIBS
30504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30505 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30506 if test $ac_cv_lib_posix_remove = yes; then
30507 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30512 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30513 echo "$as_me:$LINENO: checking for shmat" >&5
30514 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30515 if test "${ac_cv_func_shmat+set}" = set; then
30516 echo $ECHO_N "(cached) $ECHO_C" >&6
30518 cat >conftest.
$ac_ext <<_ACEOF
30521 cat confdefs.h
>>conftest.
$ac_ext
30522 cat >>conftest.
$ac_ext <<_ACEOF
30523 /* end confdefs.h. */
30524 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30526 #define shmat innocuous_shmat
30528 /* System header to define __stub macros and hopefully few prototypes,
30529 which can conflict with char shmat (); below.
30530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30531 <limits.h> exists even on freestanding compilers. */
30534 # include <limits.h>
30536 # include <assert.h>
30541 /* Override any gcc2 internal prototype to avoid an error. */
30546 /* We use char because int might match the return type of a gcc2
30547 builtin and then its argument prototype would still apply. */
30549 /* The GNU C library defines this for functions which it implements
30550 to always fail with ENOSYS. Some functions are actually named
30551 something starting with __ and the normal name is an alias. */
30552 #if defined (__stub_shmat) || defined (__stub___shmat)
30555 char (*f) () = shmat;
30569 rm -f conftest.
$ac_objext conftest
$ac_exeext
30570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30571 (eval $ac_link) 2>conftest.er1
30573 grep -v '^ *+' conftest.er1
>conftest.err
30575 cat conftest.err
>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } &&
30578 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30584 { ac_try
='test -s conftest$ac_exeext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 ac_cv_func_shmat
=yes
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.
$ac_ext >&5
30595 ac_cv_func_shmat
=no
30597 rm -f conftest.err conftest.
$ac_objext \
30598 conftest
$ac_exeext conftest.
$ac_ext
30600 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30601 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30603 if test $ac_cv_func_shmat = no
; then
30604 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30605 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30606 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 ac_check_lib_save_LIBS
=$LIBS
30611 cat >conftest.
$ac_ext <<_ACEOF
30614 cat confdefs.h
>>conftest.
$ac_ext
30615 cat >>conftest.
$ac_ext <<_ACEOF
30616 /* end confdefs.h. */
30618 /* Override any gcc2 internal prototype to avoid an error. */
30622 /* We use char because int might match the return type of a gcc2
30623 builtin and then its argument prototype would still apply. */
30633 rm -f conftest.
$ac_objext conftest
$ac_exeext
30634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30635 (eval $ac_link) 2>conftest.er1
30637 grep -v '^ *+' conftest.er1
>conftest.err
30639 cat conftest.err
>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30644 (eval $ac_try) 2>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); }; } &&
30648 { ac_try
='test -s conftest$ac_exeext'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; }; then
30654 ac_cv_lib_ipc_shmat
=yes
30656 echo "$as_me: failed program was:" >&5
30657 sed 's/^/| /' conftest.
$ac_ext >&5
30659 ac_cv_lib_ipc_shmat
=no
30661 rm -f conftest.err conftest.
$ac_objext \
30662 conftest
$ac_exeext conftest.
$ac_ext
30663 LIBS
=$ac_check_lib_save_LIBS
30665 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30666 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30667 if test $ac_cv_lib_ipc_shmat = yes; then
30668 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30674 # Check for libraries that X11R6 Xt/Xaw programs need.
30675 ac_save_LDFLAGS
=$LDFLAGS
30676 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30677 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30678 # check for ICE first), but we must link in the order -lSM -lICE or
30679 # we get undefined symbols. So assume we have SM if we have ICE.
30680 # These have to be linked with before -lX11, unlike the other
30681 # libraries we check for below, so use a different variable.
30682 # John Interrante, Karl Berry
30683 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30684 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30685 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 ac_check_lib_save_LIBS
=$LIBS
30689 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30690 cat >conftest.
$ac_ext <<_ACEOF
30693 cat confdefs.h
>>conftest.
$ac_ext
30694 cat >>conftest.
$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30697 /* Override any gcc2 internal prototype to avoid an error. */
30701 /* We use char because int might match the return type of a gcc2
30702 builtin and then its argument prototype would still apply. */
30703 char IceConnectionNumber ();
30707 IceConnectionNumber ();
30712 rm -f conftest.
$ac_objext conftest
$ac_exeext
30713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30714 (eval $ac_link) 2>conftest.er1
30716 grep -v '^ *+' conftest.er1
>conftest.err
30718 cat conftest.err
>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); } &&
30721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30723 (eval $ac_try) 2>&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); }; } &&
30727 { ac_try
='test -s conftest$ac_exeext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733 ac_cv_lib_ICE_IceConnectionNumber
=yes
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.
$ac_ext >&5
30738 ac_cv_lib_ICE_IceConnectionNumber
=no
30740 rm -f conftest.err conftest.
$ac_objext \
30741 conftest
$ac_exeext conftest.
$ac_ext
30742 LIBS
=$ac_check_lib_save_LIBS
30744 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30745 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30746 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30747 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30750 LDFLAGS
=$ac_save_LDFLAGS
30755 if test "$no_x" = "yes"; then
30756 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30757 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30758 { (exit 1); exit 1; }; }
30761 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30762 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30763 AFMINSTALL
=afminstall
30764 COMPILED_X_PROGRAM
=0
30768 if test "$wxUSE_X11" = 1; then
30769 if test "$wxUSE_NANOX" = "yes"; then
30770 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30771 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30772 if test "x$MICROWIN" = x
; then
30773 echo "$as_me:$LINENO: result: not found" >&5
30774 echo "${ECHO_T}not found" >&6
30775 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30776 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30777 { (exit 1); exit 1; }; }
30779 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30780 echo "${ECHO_T}$MICROWIN" >&6
30781 cat >>confdefs.h
<<\_ACEOF
30782 #define wxUSE_NANOX 1
30788 if test "$wxUSE_UNICODE" = "yes"; then
30791 echo "$as_me:$LINENO: checking for PANGOX" >&5
30792 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30794 if test -n "$PKG_CONFIG"; then
30795 if test -n "$PANGOX_CFLAGS"; then
30796 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30798 if test -n "$PKG_CONFIG" && \
30799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30800 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; then
30804 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30812 if test -n "$PKG_CONFIG"; then
30813 if test -n "$PANGOX_LIBS"; then
30814 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30816 if test -n "$PKG_CONFIG" && \
30817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30818 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; then
30822 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30833 if test $pkg_failed = yes; then
30835 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30836 _pkg_short_errors_supported
=yes
30838 _pkg_short_errors_supported
=no
30840 if test $_pkg_short_errors_supported = yes; then
30841 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30843 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30845 # Put the nasty error message in config.log where it belongs
30846 echo "$PANGOX_PKG_ERRORS" >&5
30849 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30850 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30851 { (exit 1); exit 1; }; }
30854 elif test $pkg_failed = untried
; then
30856 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30857 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30858 { (exit 1); exit 1; }; }
30862 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30863 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30864 echo "$as_me:$LINENO: result: yes" >&5
30865 echo "${ECHO_T}yes" >&6
30867 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30868 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30873 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30874 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30876 if test -n "$PKG_CONFIG"; then
30877 if test -n "$PANGOFT2_CFLAGS"; then
30878 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30880 if test -n "$PKG_CONFIG" && \
30881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30882 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; then
30886 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30894 if test -n "$PKG_CONFIG"; then
30895 if test -n "$PANGOFT2_LIBS"; then
30896 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30898 if test -n "$PKG_CONFIG" && \
30899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30900 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; then
30904 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30915 if test $pkg_failed = yes; then
30917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30918 _pkg_short_errors_supported
=yes
30920 _pkg_short_errors_supported
=no
30922 if test $_pkg_short_errors_supported = yes; then
30923 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30925 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30927 # Put the nasty error message in config.log where it belongs
30928 echo "$PANGOFT2_PKG_ERRORS" >&5
30931 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30932 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30933 wxUSE_PRINTING_ARCHITECTURE
="no"
30936 elif test $pkg_failed = untried
; then
30938 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30939 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30940 wxUSE_PRINTING_ARCHITECTURE
="no"
30944 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30945 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30946 echo "$as_me:$LINENO: result: yes" >&5
30947 echo "${ECHO_T}yes" >&6
30949 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30955 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30956 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30958 if test -n "$PKG_CONFIG"; then
30959 if test -n "$PANGOXFT_CFLAGS"; then
30960 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30962 if test -n "$PKG_CONFIG" && \
30963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30964 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; then
30968 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30976 if test -n "$PKG_CONFIG"; then
30977 if test -n "$PANGOXFT_LIBS"; then
30978 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30980 if test -n "$PKG_CONFIG" && \
30981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30982 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; then
30986 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30997 if test $pkg_failed = yes; then
30999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31000 _pkg_short_errors_supported
=yes
31002 _pkg_short_errors_supported
=no
31004 if test $_pkg_short_errors_supported = yes; then
31005 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31007 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31009 # Put the nasty error message in config.log where it belongs
31010 echo "$PANGOXFT_PKG_ERRORS" >&5
31013 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31014 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31017 elif test $pkg_failed = untried
; then
31019 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31020 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31024 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31025 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31026 echo "$as_me:$LINENO: result: yes" >&5
31027 echo "${ECHO_T}yes" >&6
31029 cat >>confdefs.h
<<\_ACEOF
31030 #define HAVE_PANGO_XFT 1
31033 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31034 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31037 save_CXXFLAGS
="$CXXFLAGS"
31039 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31040 LIBS
="$LIBS $PANGOX_LIBS"
31042 for ac_func
in pango_font_family_is_monospace
31044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31045 echo "$as_me:$LINENO: checking for $ac_func" >&5
31046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31047 if eval "test \"\${$as_ac_var+set}\" = set"; then
31048 echo $ECHO_N "(cached) $ECHO_C" >&6
31050 cat >conftest.
$ac_ext <<_ACEOF
31053 cat confdefs.h
>>conftest.
$ac_ext
31054 cat >>conftest.
$ac_ext <<_ACEOF
31055 /* end confdefs.h. */
31056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31058 #define $ac_func innocuous_$ac_func
31060 /* System header to define __stub macros and hopefully few prototypes,
31061 which can conflict with char $ac_func (); below.
31062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31063 <limits.h> exists even on freestanding compilers. */
31066 # include <limits.h>
31068 # include <assert.h>
31073 /* Override any gcc2 internal prototype to avoid an error. */
31078 /* We use char because int might match the return type of a gcc2
31079 builtin and then its argument prototype would still apply. */
31081 /* The GNU C library defines this for functions which it implements
31082 to always fail with ENOSYS. Some functions are actually named
31083 something starting with __ and the normal name is an alias. */
31084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31087 char (*f) () = $ac_func;
31096 return f != $ac_func;
31101 rm -f conftest.
$ac_objext conftest
$ac_exeext
31102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31103 (eval $ac_link) 2>conftest.er1
31105 grep -v '^ *+' conftest.er1
>conftest.err
31107 cat conftest.err
>&5
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); } &&
31110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31112 (eval $ac_try) 2>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; } &&
31116 { ac_try
='test -s conftest$ac_exeext'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; }; then
31122 eval "$as_ac_var=yes"
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.
$ac_ext >&5
31127 eval "$as_ac_var=no"
31129 rm -f conftest.err conftest.
$ac_objext \
31130 conftest
$ac_exeext conftest.
$ac_ext
31132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31134 if test `eval echo '${'$as_ac_var'}'` = yes; then
31135 cat >>confdefs.h
<<_ACEOF
31136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31142 CXXFLAGS
="$save_CXXFLAGS"
31146 wxUSE_UNIVERSAL
="yes"
31148 if test "$wxUSE_NANOX" = "yes"; then
31149 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31150 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"
31151 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31153 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31160 if test "$wxUSE_MOTIF" = 1; then
31161 if test "$wxUSE_UNICODE" = "yes"; then
31162 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31163 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31164 { (exit 1); exit 1; }; }
31167 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31168 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31171 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31173 if test -f "$ac_dir/Xm/Xm.h"; then
31174 ac_find_includes
=$ac_dir
31179 if test "$ac_find_includes" != "" ; then
31180 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31181 echo "${ECHO_T}found in $ac_find_includes" >&6
31183 if test "x$ac_find_includes" = "x/usr/include"; then
31184 ac_path_to_include
=""
31186 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31188 if test $result = 0; then
31189 ac_path_to_include
=""
31191 ac_path_to_include
=" -I$ac_find_includes"
31195 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31197 save_CXXFLAGS
=$CXXFLAGS
31198 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31200 cat >conftest.
$ac_ext <<_ACEOF
31203 cat confdefs.h
>>conftest.
$ac_ext
31204 cat >>conftest.
$ac_ext <<_ACEOF
31205 /* end confdefs.h. */
31214 version = xmUseVersion;
31220 rm -f conftest.
$ac_objext
31221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31222 (eval $ac_compile) 2>conftest.er1
31224 grep -v '^ *+' conftest.er1
>conftest.err
31226 cat conftest.err
>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } &&
31229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; } &&
31235 { ac_try
='test -s conftest.$ac_objext'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; }; then
31242 echo "$as_me:$LINENO: result: found in default search path" >&5
31243 echo "${ECHO_T}found in default search path" >&6
31244 COMPILED_X_PROGRAM
=1
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.
$ac_ext >&5
31251 echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6
31253 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31254 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31255 { (exit 1); exit 1; }; }
31259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31261 CXXFLAGS
=$save_CXXFLAGS
31265 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31266 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31269 for ac_dir
in $SEARCH_LIB;
31271 for ac_extension
in a so sl dylib dll.a
; do
31272 if test -f "$ac_dir/libXm.$ac_extension"; then
31273 ac_find_libraries
=$ac_dir
31280 if test "x$ac_find_libraries" != "x" ; then
31281 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31282 echo "${ECHO_T}found in $ac_find_libraries" >&6
31285 if test "$ac_find_libraries" = "default location"; then
31288 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31290 if test $result = 0; then
31293 ac_path_to_link
=" -L$ac_find_libraries"
31297 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31299 save_CXXFLAGS
=$CXXFLAGS
31300 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31302 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31304 cat >conftest.
$ac_ext <<_ACEOF
31307 cat confdefs.h
>>conftest.
$ac_ext
31308 cat >>conftest.
$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31318 version = xmUseVersion;
31324 rm -f conftest.
$ac_objext conftest
$ac_exeext
31325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31326 (eval $ac_link) 2>conftest.er1
31328 grep -v '^ *+' conftest.er1
>conftest.err
31330 cat conftest.err
>&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } &&
31333 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31335 (eval $ac_try) 2>&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); }; } &&
31339 { ac_try
='test -s conftest$ac_exeext'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; }; then
31346 echo "$as_me:$LINENO: result: found in default search path" >&5
31347 echo "${ECHO_T}found in default search path" >&6
31348 COMPILED_X_PROGRAM
=1
31351 echo "$as_me: failed program was:" >&5
31352 sed 's/^/| /' conftest.
$ac_ext >&5
31355 echo "$as_me:$LINENO: result: no" >&5
31356 echo "${ECHO_T}no" >&6
31357 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31358 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31359 { (exit 1); exit 1; }; }
31363 rm -f conftest.err conftest.
$ac_objext \
31364 conftest
$ac_exeext conftest.
$ac_ext
31366 CXXFLAGS
=$save_CXXFLAGS
31370 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31371 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31375 for libp
in "" " -lXp"; do
31376 if test "$libs_found" = "0"; then
31377 for libsm_ice
in "" " -lSM -lICE"; do
31378 if test "$libs_found" = "0"; then
31380 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31381 save_CXXFLAGS
=$CXXFLAGS
31382 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31384 cat >conftest.
$ac_ext <<_ACEOF
31387 cat confdefs.h
>>conftest.
$ac_ext
31388 cat >>conftest.
$ac_ext <<_ACEOF
31389 /* end confdefs.h. */
31392 #include <Xm/List.h>
31398 XmString string = NULL;
31401 XmListAddItem(w, string, position);
31407 rm -f conftest.
$ac_objext conftest
$ac_exeext
31408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31409 (eval $ac_link) 2>conftest.er1
31411 grep -v '^ *+' conftest.er1
>conftest.err
31413 cat conftest.err
>&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); } &&
31416 { ac_try
='test -z "$ac_cxx_werror_flag" || 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" || test ! -s conftest.err'
31499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31500 (eval $ac_try) 2>&5
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); }; } &&
31504 { ac_try
='test -s conftest$ac_exeext'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; }; then
31510 ac_cv_lib_Sgm_SgCreateList
=yes
31512 echo "$as_me: failed program was:" >&5
31513 sed 's/^/| /' conftest.
$ac_ext >&5
31515 ac_cv_lib_Sgm_SgCreateList
=no
31517 rm -f conftest.err conftest.
$ac_objext \
31518 conftest
$ac_exeext conftest.
$ac_ext
31519 LIBS
=$ac_check_lib_save_LIBS
31521 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31522 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31523 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31524 libsgm_link
=" -lSgm"
31528 save_CXXFLAGS
=$CXXFLAGS
31529 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31531 echo "$as_me:$LINENO: checking for Motif 2" >&5
31532 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31533 if test "${wx_cv_lib_motif2+set}" = set; then
31534 echo $ECHO_N "(cached) $ECHO_C" >&6
31536 cat >conftest.
$ac_ext <<_ACEOF
31539 cat confdefs.h
>>conftest.
$ac_ext
31540 cat >>conftest.
$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31549 #if XmVersion < 2000
31557 rm -f conftest.
$ac_objext
31558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31559 (eval $ac_compile) 2>conftest.er1
31561 grep -v '^ *+' conftest.er1
>conftest.err
31563 cat conftest.err
>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; } &&
31572 { ac_try
='test -s conftest.$ac_objext'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; }; then
31578 wx_cv_lib_motif2
="yes"
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.
$ac_ext >&5
31583 wx_cv_lib_motif2
="no"
31585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31587 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31588 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31589 if test "$wx_cv_lib_motif2" = "yes"; then
31590 cat >>confdefs.h
<<\_ACEOF
31591 #define __WXMOTIF20__ 1
31595 cat >>confdefs.h
<<\_ACEOF
31596 #define __WXMOTIF20__ 0
31601 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31602 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31603 if test "${wx_cv_lib_lesstif+set}" = set; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31606 cat >conftest.
$ac_ext <<_ACEOF
31609 cat confdefs.h
>>conftest.
$ac_ext
31610 cat >>conftest.
$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31619 #if !defined(LesstifVersion) || LesstifVersion <= 0
31627 rm -f conftest.
$ac_objext
31628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31629 (eval $ac_compile) 2>conftest.er1
31631 grep -v '^ *+' conftest.er1
>conftest.err
31633 cat conftest.err
>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } &&
31636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 (eval $ac_try) 2>&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; } &&
31642 { ac_try
='test -s conftest.$ac_objext'
31643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644 (eval $ac_try) 2>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; }; then
31648 wx_cv_lib_lesstif
="yes"
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.
$ac_ext >&5
31653 wx_cv_lib_lesstif
="no"
31655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31658 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31659 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31660 if test "$wx_cv_lib_lesstif" = "yes"; then
31661 cat >>confdefs.h
<<\_ACEOF
31662 #define __WXLESSTIF__ 1
31666 cat >>confdefs.h
<<\_ACEOF
31667 #define __WXLESSTIF__ 0
31672 CXXFLAGS
=$save_CXXFLAGS
31674 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31679 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31680 if test "$wxUSE_LIBXPM" = "sys"; then
31681 echo "$as_me:$LINENO: checking for Xpm library" >&5
31682 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31685 for ac_dir
in $SEARCH_LIB;
31687 for ac_extension
in a so sl dylib dll.a
; do
31688 if test -f "$ac_dir/libXpm.$ac_extension"; then
31689 ac_find_libraries
=$ac_dir
31695 if test "$ac_find_libraries" != "" ; then
31697 if test "$ac_find_libraries" = "default location"; then
31700 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31702 if test $result = 0; then
31705 ac_path_to_link
=" -L$ac_find_libraries"
31709 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31710 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31711 echo "${ECHO_T}found in $ac_find_libraries" >&6
31713 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31714 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31715 if test "${wx_cv_x11_xpm_h+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31719 save_CXXFLAGS
=$CXXFLAGS
31720 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31722 cat >conftest.
$ac_ext <<_ACEOF
31725 cat confdefs.h
>>conftest.
$ac_ext
31726 cat >>conftest.
$ac_ext <<_ACEOF
31727 /* end confdefs.h. */
31729 #include <X11/xpm.h>
31736 version = XpmLibraryVersion();
31742 rm -f conftest.
$ac_objext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31744 (eval $ac_compile) 2>conftest.er1
31746 grep -v '^ *+' conftest.er1
>conftest.err
31748 cat conftest.err
>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
31751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; } &&
31757 { ac_try
='test -s conftest.$ac_objext'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; }; then
31763 wx_cv_x11_xpm_h
=yes
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31773 CXXFLAGS
=$save_CXXFLAGS
31777 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31778 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31780 if test $wx_cv_x11_xpm_h = "yes"; then
31781 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31782 cat >>confdefs.h
<<\_ACEOF
31783 #define wxHAVE_LIB_XPM 1
31787 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31788 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31794 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31795 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31796 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31797 echo $ECHO_N "(cached) $ECHO_C" >&6
31799 ac_check_lib_save_LIBS
=$LIBS
31800 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31801 cat >conftest.
$ac_ext <<_ACEOF
31804 cat confdefs.h
>>conftest.
$ac_ext
31805 cat >>conftest.
$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31808 /* Override any gcc2 internal prototype to avoid an error. */
31812 /* We use char because int might match the return type of a gcc2
31813 builtin and then its argument prototype would still apply. */
31814 char XShapeQueryExtension ();
31818 XShapeQueryExtension ();
31823 rm -f conftest.
$ac_objext conftest
$ac_exeext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31825 (eval $ac_link) 2>conftest.er1
31827 grep -v '^ *+' conftest.er1
>conftest.err
31829 cat conftest.err
>&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; } &&
31838 { ac_try
='test -s conftest$ac_exeext'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; }; then
31844 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31846 echo "$as_me: failed program was:" >&5
31847 sed 's/^/| /' conftest.
$ac_ext >&5
31849 ac_cv_lib_Xext_XShapeQueryExtension
=no
31851 rm -f conftest.err conftest.
$ac_objext \
31852 conftest
$ac_exeext conftest.
$ac_ext
31853 LIBS
=$ac_check_lib_save_LIBS
31855 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31856 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31857 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31859 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31865 if test "$wxHAVE_XEXT_LIB" = 1; then
31866 save_CXXFLAGS
="$CXXFLAGS"
31867 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31869 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31870 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31871 cat >conftest.
$ac_ext <<_ACEOF
31874 cat confdefs.h
>>conftest.
$ac_ext
31875 cat >>conftest.
$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31878 #include <X11/Xlib.h>
31879 #include <X11/extensions/shape.h>
31885 int dummy1, dummy2;
31886 XShapeQueryExtension((Display*)NULL,
31887 (int*)NULL, (int*)NULL);
31893 rm -f conftest.
$ac_objext
31894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31895 (eval $ac_compile) 2>conftest.er1
31897 grep -v '^ *+' conftest.er1
>conftest.err
31899 cat conftest.err
>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; } &&
31908 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
31915 cat >>confdefs.h
<<\_ACEOF
31916 #define HAVE_XSHAPE 1
31919 echo "$as_me:$LINENO: result: found" >&5
31920 echo "${ECHO_T}found" >&6
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.
$ac_ext >&5
31927 echo "$as_me:$LINENO: result: not found" >&5
31928 echo "${ECHO_T}not found" >&6
31931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31932 CXXFLAGS
="$save_CXXFLAGS"
31937 if test "$wxUSE_MAC" = 1; then
31938 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31939 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31940 if test "$GCC" = yes; then
31941 echo "$as_me:$LINENO: result: gcc" >&5
31942 echo "${ECHO_T}gcc" >&6
31943 CPPFLAGS_PASCAL
="-fpascal-strings"
31944 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31945 echo "$as_me:$LINENO: result: xlc" >&5
31946 echo "${ECHO_T}xlc" >&6
31947 CPPFLAGS_PASCAL
="-qmacpstr"
31949 echo "$as_me:$LINENO: result: none" >&5
31950 echo "${ECHO_T}none" >&6
31953 if test "x$wxUSE_UNIX" = "xyes"; then
31954 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31956 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31961 WXBASEPORT
="_carbon"
31964 if test "$wxUSE_COCOA" = 1; then
31969 if test "$wxUSE_PM" = 1; then
31972 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31973 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31974 if test "${wx_cv_spbcdata+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31978 cat >conftest.
$ac_ext <<_ACEOF
31981 cat confdefs.h
>>conftest.
$ac_ext
31982 cat >>conftest.
$ac_ext <<_ACEOF
31983 /* end confdefs.h. */
31998 rm -f conftest.
$ac_objext
31999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32000 (eval $ac_compile) 2>conftest.er1
32002 grep -v '^ *+' conftest.er1
>conftest.err
32004 cat conftest.err
>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } &&
32007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; } &&
32013 { ac_try
='test -s conftest.$ac_objext'
32014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32015 (eval $ac_try) 2>&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); }; }; then
32021 echo "$as_me: failed program was:" >&5
32022 sed 's/^/| /' conftest.
$ac_ext >&5
32027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32031 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32032 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32034 if test $wx_cv_spbcdata = "yes"; then
32035 cat >>confdefs.h
<<\_ACEOF
32036 #define HAVE_SPBCDATA 1
32042 if test "$TOOLKIT" = "PM" ; then
32045 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32048 if test "$wxUSE_UNIVERSAL" = "yes"; then
32049 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32053 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32054 DISTDIR
="wx\$(TOOLKIT)"
32060 if test "$USE_WIN32" = 1 ; then
32064 GUIDIST
="BASE_DIST"
32069 if test "$wxUSE_GUI" = "yes"; then
32070 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32072 for ac_header
in X
11/Xlib.h
32074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32076 echo "$as_me:$LINENO: checking for $ac_header" >&5
32077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32084 # Is the header compilable?
32085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32087 cat >conftest.
$ac_ext <<_ACEOF
32090 cat confdefs.h
>>conftest.
$ac_ext
32091 cat >>conftest.
$ac_ext <<_ACEOF
32092 /* end confdefs.h. */
32093 $ac_includes_default
32094 #include <$ac_header>
32096 rm -f conftest.
$ac_objext
32097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32098 (eval $ac_compile) 2>conftest.er1
32100 grep -v '^ *+' conftest.er1
>conftest.err
32102 cat conftest.err
>&5
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); } &&
32105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; } &&
32111 { ac_try
='test -s conftest.$ac_objext'
32112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32113 (eval $ac_try) 2>&5
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); }; }; then
32117 ac_header_compiler
=yes
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.
$ac_ext >&5
32122 ac_header_compiler
=no
32124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32126 echo "${ECHO_T}$ac_header_compiler" >&6
32128 # Is the header present?
32129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32131 cat >conftest.
$ac_ext <<_ACEOF
32134 cat confdefs.h
>>conftest.
$ac_ext
32135 cat >>conftest.
$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137 #include <$ac_header>
32139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32142 grep -v '^ *+' conftest.er1
>conftest.err
32144 cat conftest.err
>&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } >/dev
/null
; then
32147 if test -s conftest.err
; then
32148 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32149 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32156 if test -z "$ac_cpp_err"; then
32157 ac_header_preproc
=yes
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.
$ac_ext >&5
32162 ac_header_preproc
=no
32164 rm -f conftest.err conftest.
$ac_ext
32165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32166 echo "${ECHO_T}$ac_header_preproc" >&6
32168 # So? What about this header?
32169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32175 ac_header_preproc
=yes
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32192 ## ----------------------------------------- ##
32193 ## Report this to wx-dev@lists.wxwidgets.org ##
32194 ## ----------------------------------------- ##
32197 sed "s/^/$as_me: WARNING: /" >&2
32200 echo "$as_me:$LINENO: checking for $ac_header" >&5
32201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32205 eval "$as_ac_Header=\$ac_header_preproc"
32207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32212 cat >>confdefs.h
<<_ACEOF
32213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32221 for ac_header
in X
11/XKBlib.h
32223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32224 echo "$as_me:$LINENO: checking for $ac_header" >&5
32225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32227 echo $ECHO_N "(cached) $ECHO_C" >&6
32229 cat >conftest.
$ac_ext <<_ACEOF
32232 cat confdefs.h
>>conftest.
$ac_ext
32233 cat >>conftest.
$ac_ext <<_ACEOF
32234 /* end confdefs.h. */
32236 #if HAVE_X11_XLIB_H
32237 #include <X11/Xlib.h>
32241 #include <$ac_header>
32243 rm -f conftest.
$ac_objext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32245 (eval $ac_compile) 2>conftest.er1
32247 grep -v '^ *+' conftest.er1
>conftest.err
32249 cat conftest.err
>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32254 (eval $ac_try) 2>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); }; } &&
32258 { ac_try
='test -s conftest.$ac_objext'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; }; then
32264 eval "$as_ac_Header=yes"
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.
$ac_ext >&5
32269 eval "$as_ac_Header=no"
32271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32276 cat >>confdefs.h
<<_ACEOF
32277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32292 if test "$TOOLKIT" != "MSW" ; then
32294 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32296 if test "${ac_cv_header_sql_h+set}" = set; then
32297 echo "$as_me:$LINENO: checking for sql.h" >&5
32298 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32299 if test "${ac_cv_header_sql_h+set}" = set; then
32300 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32303 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32305 # Is the header compilable?
32306 echo "$as_me:$LINENO: checking sql.h usability" >&5
32307 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32308 cat >conftest.
$ac_ext <<_ACEOF
32311 cat confdefs.h
>>conftest.
$ac_ext
32312 cat >>conftest.
$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 $ac_includes_default
32317 rm -f conftest.
$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32321 grep -v '^ *+' conftest.er1
>conftest.err
32323 cat conftest.err
>&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; } &&
32332 { ac_try
='test -s conftest.$ac_objext'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; }; then
32338 ac_header_compiler
=yes
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.
$ac_ext >&5
32343 ac_header_compiler
=no
32345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32347 echo "${ECHO_T}$ac_header_compiler" >&6
32349 # Is the header present?
32350 echo "$as_me:$LINENO: checking sql.h presence" >&5
32351 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32352 cat >conftest.
$ac_ext <<_ACEOF
32355 cat confdefs.h
>>conftest.
$ac_ext
32356 cat >>conftest.
$ac_ext <<_ACEOF
32357 /* end confdefs.h. */
32360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32363 grep -v '^ *+' conftest.er1
>conftest.err
32365 cat conftest.err
>&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } >/dev
/null
; then
32368 if test -s conftest.err
; then
32369 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32370 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32377 if test -z "$ac_cpp_err"; then
32378 ac_header_preproc
=yes
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.
$ac_ext >&5
32383 ac_header_preproc
=no
32385 rm -f conftest.err conftest.
$ac_ext
32386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32387 echo "${ECHO_T}$ac_header_preproc" >&6
32389 # So? What about this header?
32390 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32392 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32393 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32394 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32395 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32396 ac_header_preproc
=yes
32399 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32400 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32401 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32402 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32403 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32404 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32405 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32406 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32407 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32408 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32409 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32410 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32413 ## ----------------------------------------- ##
32414 ## Report this to wx-dev@lists.wxwidgets.org ##
32415 ## ----------------------------------------- ##
32418 sed "s/^/$as_me: WARNING: /" >&2
32421 echo "$as_me:$LINENO: checking for sql.h" >&5
32422 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32423 if test "${ac_cv_header_sql_h+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 ac_cv_header_sql_h
=$ac_header_preproc
32428 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32429 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32432 if test $ac_cv_header_sql_h = yes; then
32437 if test "x$found_sql_h" = "x1" ; then
32438 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32439 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32440 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32443 ac_check_lib_save_LIBS
=$LIBS
32444 LIBS
="-liodbc $LIBS"
32445 cat >conftest.
$ac_ext <<_ACEOF
32448 cat confdefs.h
>>conftest.
$ac_ext
32449 cat >>conftest.
$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32452 /* Override any gcc2 internal prototype to avoid an error. */
32456 /* We use char because int might match the return type of a gcc2
32457 builtin and then its argument prototype would still apply. */
32458 char SQLAllocEnv ();
32467 rm -f conftest.
$ac_objext conftest
$ac_exeext
32468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32469 (eval $ac_link) 2>conftest.er1
32471 grep -v '^ *+' conftest.er1
>conftest.err
32473 cat conftest.err
>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } &&
32476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; } &&
32482 { ac_try
='test -s conftest$ac_exeext'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; }; then
32488 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.
$ac_ext >&5
32493 ac_cv_lib_iodbc_SQLAllocEnv
=no
32495 rm -f conftest.err conftest.
$ac_objext \
32496 conftest
$ac_exeext conftest.
$ac_ext
32497 LIBS
=$ac_check_lib_save_LIBS
32499 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32500 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32501 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32502 ODBC_LINK
=" -liodbc"
32505 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32506 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32507 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32508 echo $ECHO_N "(cached) $ECHO_C" >&6
32510 ac_check_lib_save_LIBS
=$LIBS
32511 LIBS
="-lunixodbc $LIBS"
32512 cat >conftest.
$ac_ext <<_ACEOF
32515 cat confdefs.h
>>conftest.
$ac_ext
32516 cat >>conftest.
$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32519 /* Override any gcc2 internal prototype to avoid an error. */
32523 /* We use char because int might match the return type of a gcc2
32524 builtin and then its argument prototype would still apply. */
32525 char SQLAllocEnv ();
32534 rm -f conftest.
$ac_objext conftest
$ac_exeext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32536 (eval $ac_link) 2>conftest.er1
32538 grep -v '^ *+' conftest.er1
>conftest.err
32540 cat conftest.err
>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } &&
32543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; } &&
32549 { ac_try
='test -s conftest$ac_exeext'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.
$ac_ext >&5
32560 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32562 rm -f conftest.err conftest.
$ac_objext \
32563 conftest
$ac_exeext conftest.
$ac_ext
32564 LIBS
=$ac_check_lib_save_LIBS
32566 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32567 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32568 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32569 ODBC_LINK
=" -lunixodbc"
32572 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32573 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32574 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 ac_check_lib_save_LIBS
=$LIBS
32578 LIBS
="-lodbc $LIBS"
32579 cat >conftest.
$ac_ext <<_ACEOF
32582 cat confdefs.h
>>conftest.
$ac_ext
32583 cat >>conftest.
$ac_ext <<_ACEOF
32584 /* end confdefs.h. */
32586 /* Override any gcc2 internal prototype to avoid an error. */
32590 /* We use char because int might match the return type of a gcc2
32591 builtin and then its argument prototype would still apply. */
32592 char SQLAllocEnv ();
32601 rm -f conftest.
$ac_objext conftest
$ac_exeext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32603 (eval $ac_link) 2>conftest.er1
32605 grep -v '^ *+' conftest.er1
>conftest.err
32607 cat conftest.err
>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try
='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_cv_lib_odbc_SQLAllocEnv
=yes
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.
$ac_ext >&5
32627 ac_cv_lib_odbc_SQLAllocEnv
=no
32629 rm -f conftest.err conftest.
$ac_objext \
32630 conftest
$ac_exeext conftest.
$ac_ext
32631 LIBS
=$ac_check_lib_save_LIBS
32633 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32634 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32635 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32636 ODBC_LINK
=" -lodbc"
32646 if test "x$ODBC_LINK" = "x" ; then
32647 if test "$wxUSE_ODBC" = "sys" ; then
32648 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32649 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32650 { (exit 1); exit 1; }; }
32652 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32653 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32661 if test "$wxUSE_ODBC" = "builtin" ; then
32662 cat >>confdefs.h
<<\_ACEOF
32663 #define wxUSE_BUILTIN_IODBC 1
32669 if test "$wxUSE_ODBC" != "no" ; then
32670 cat >>confdefs.h
<<\_ACEOF
32671 #define wxUSE_ODBC 1
32674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32676 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32680 if test "$wxUSE_DISPLAY" = "yes"; then
32681 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32682 echo "$as_me:$LINENO: checking for Xinerama" >&5
32683 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32686 for ac_dir
in $SEARCH_LIB;
32688 for ac_extension
in a so sl dylib dll.a
; do
32689 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32690 ac_find_libraries
=$ac_dir
32696 if test "$ac_find_libraries" != "" ; then
32698 if test "$ac_find_libraries" = "default location"; then
32701 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32703 if test $result = 0; then
32706 ac_path_to_link
=" -L$ac_find_libraries"
32710 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32711 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32713 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32714 echo "$as_me:$LINENO: result: yes" >&5
32715 echo "${ECHO_T}yes" >&6
32717 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32718 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32721 for ac_dir
in $SEARCH_LIB;
32723 for ac_extension
in a so sl dylib dll.a
; do
32724 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32725 ac_find_libraries
=$ac_dir
32731 if test "$ac_find_libraries" != "" ; then
32732 echo "$as_me:$LINENO: result: yes" >&5
32733 echo "${ECHO_T}yes" >&6
32735 for ac_header
in X
11/extensions
/xf86vmode.h
32737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32738 echo "$as_me:$LINENO: checking for $ac_header" >&5
32739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32743 cat >conftest.
$ac_ext <<_ACEOF
32746 cat confdefs.h
>>conftest.
$ac_ext
32747 cat >>conftest.
$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32750 #if HAVE_X11_XLIB_H
32751 #include <X11/Xlib.h>
32755 #include <$ac_header>
32757 rm -f conftest.
$ac_objext
32758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32759 (eval $ac_compile) 2>conftest.er1
32761 grep -v '^ *+' conftest.er1
>conftest.err
32763 cat conftest.err
>&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } &&
32766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; } &&
32772 { ac_try
='test -s conftest.$ac_objext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 eval "$as_ac_Header=yes"
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.
$ac_ext >&5
32783 eval "$as_ac_Header=no"
32785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32790 cat >>confdefs.h
<<_ACEOF
32791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32794 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32801 echo "$as_me:$LINENO: result: no" >&5
32802 echo "${ECHO_T}no" >&6
32806 echo "$as_me:$LINENO: result: no" >&5
32807 echo "${ECHO_T}no" >&6
32808 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32809 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32812 elif test "$wxUSE_MSW" = 1; then
32814 for ac_header
in ddraw.h
32816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32817 echo "$as_me:$LINENO: checking for $ac_header" >&5
32818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32820 echo $ECHO_N "(cached) $ECHO_C" >&6
32822 cat >conftest.
$ac_ext <<_ACEOF
32825 cat confdefs.h
>>conftest.
$ac_ext
32826 cat >>conftest.
$ac_ext <<_ACEOF
32827 /* end confdefs.h. */
32828 #include <windows.h>
32830 #include <$ac_header>
32832 rm -f conftest.
$ac_objext
32833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32834 (eval $ac_compile) 2>conftest.er1
32836 grep -v '^ *+' conftest.er1
>conftest.err
32838 cat conftest.err
>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } &&
32841 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; } &&
32847 { ac_try
='test -s conftest.$ac_objext'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; }; then
32853 eval "$as_ac_Header=yes"
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.
$ac_ext >&5
32858 eval "$as_ac_Header=no"
32860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32865 cat >>confdefs.h
<<_ACEOF
32866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32878 if test "$wxUSE_OPENGL" = "yes"; then
32879 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32880 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32881 elif test "$wxUSE_MSW" = 1; then
32882 OPENGL_LIBS
="-lopengl32 -lglu32"
32887 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32889 if test -f "$ac_dir/GL/gl.h"; then
32890 ac_find_includes
=$ac_dir
32895 if test "$ac_find_includes" != "" ; then
32896 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32897 echo "${ECHO_T}found in $ac_find_includes" >&6
32899 if test "x$ac_find_includes" = "x/usr/include"; then
32900 ac_path_to_include
=""
32902 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32904 if test $result = 0; then
32905 ac_path_to_include
=""
32907 ac_path_to_include
=" -I$ac_find_includes"
32911 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32914 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32915 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32916 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32917 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32918 echo $ECHO_N "(cached) $ECHO_C" >&6
32920 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32921 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32923 # Is the header compilable?
32924 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32925 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32926 cat >conftest.
$ac_ext <<_ACEOF
32929 cat confdefs.h
>>conftest.
$ac_ext
32930 cat >>conftest.
$ac_ext <<_ACEOF
32931 /* end confdefs.h. */
32932 $ac_includes_default
32935 rm -f conftest.
$ac_objext
32936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32937 (eval $ac_compile) 2>conftest.er1
32939 grep -v '^ *+' conftest.er1
>conftest.err
32941 cat conftest.err
>&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } &&
32944 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32946 (eval $ac_try) 2>&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); }; } &&
32950 { ac_try
='test -s conftest.$ac_objext'
32951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32952 (eval $ac_try) 2>&5
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); }; }; then
32956 ac_header_compiler
=yes
32958 echo "$as_me: failed program was:" >&5
32959 sed 's/^/| /' conftest.
$ac_ext >&5
32961 ac_header_compiler
=no
32963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32965 echo "${ECHO_T}$ac_header_compiler" >&6
32967 # Is the header present?
32968 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32969 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32970 cat >conftest.
$ac_ext <<_ACEOF
32973 cat confdefs.h
>>conftest.
$ac_ext
32974 cat >>conftest.
$ac_ext <<_ACEOF
32975 /* end confdefs.h. */
32978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32981 grep -v '^ *+' conftest.er1
>conftest.err
32983 cat conftest.err
>&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); } >/dev
/null
; then
32986 if test -s conftest.err
; then
32987 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32988 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32995 if test -z "$ac_cpp_err"; then
32996 ac_header_preproc
=yes
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.
$ac_ext >&5
33001 ac_header_preproc
=no
33003 rm -f conftest.err conftest.
$ac_ext
33004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33005 echo "${ECHO_T}$ac_header_preproc" >&6
33007 # So? What about this header?
33008 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33010 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33011 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33012 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33013 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33014 ac_header_preproc
=yes
33017 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33018 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33019 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33020 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33021 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33022 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33023 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33024 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33025 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33026 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33027 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33028 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33031 ## ----------------------------------------- ##
33032 ## Report this to wx-dev@lists.wxwidgets.org ##
33033 ## ----------------------------------------- ##
33036 sed "s/^/$as_me: WARNING: /" >&2
33039 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33040 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33041 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 ac_cv_header_GL_gl_h
=$ac_header_preproc
33046 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33047 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33050 if test $ac_cv_header_GL_gl_h = yes; then
33054 echo "$as_me:$LINENO: checking for -lGL" >&5
33055 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33058 for ac_dir
in $SEARCH_LIB;
33060 for ac_extension
in a so sl dylib dll.a
; do
33061 if test -f "$ac_dir/libGL.$ac_extension"; then
33062 ac_find_libraries
=$ac_dir
33068 if test "$ac_find_libraries" != "" ; then
33069 echo "$as_me:$LINENO: result: yes" >&5
33070 echo "${ECHO_T}yes" >&6
33073 if test "$ac_find_libraries" = "default location"; then
33076 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33078 if test $result = 0; then
33081 ac_path_to_link
=" -L$ac_find_libraries"
33085 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33086 LDFLAGS_GL
="$ac_path_to_link"
33089 echo "$as_me:$LINENO: checking for -lGLU" >&5
33090 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33093 for ac_dir
in $SEARCH_LIB;
33095 for ac_extension
in a so sl dylib dll.a
; do
33096 if test -f "$ac_dir/libGLU.$ac_extension"; then
33097 ac_find_libraries
=$ac_dir
33103 if test "$ac_find_libraries" != "" ; then
33105 if test "$ac_find_libraries" = "default location"; then
33108 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33110 if test $result = 0; then
33113 ac_path_to_link
=" -L$ac_find_libraries"
33117 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33118 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33119 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33123 OPENGL_LIBS
="-lGL -lGLU"
33124 echo "$as_me:$LINENO: result: yes" >&5
33125 echo "${ECHO_T}yes" >&6
33127 echo "$as_me:$LINENO: result: no" >&5
33128 echo "${ECHO_T}no" >&6
33131 echo "$as_me:$LINENO: result: no" >&5
33132 echo "${ECHO_T}no" >&6
33135 if test "$found_gl" != 1; then
33136 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33137 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33140 for ac_dir
in $SEARCH_LIB;
33142 for ac_extension
in a so sl dylib dll.a
; do
33143 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33144 ac_find_libraries
=$ac_dir
33150 if test "$ac_find_libraries" != "" ; then
33152 if test "$ac_find_libraries" = "default location"; then
33155 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33157 if test $result = 0; then
33160 ac_path_to_link
=" -L$ac_find_libraries"
33164 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33165 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33166 echo "$as_me:$LINENO: result: yes" >&5
33167 echo "${ECHO_T}yes" >&6
33169 echo "$as_me:$LINENO: result: no" >&5
33170 echo "${ECHO_T}no" >&6
33178 if test "x$OPENGL_LIBS" = "x"; then
33179 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33180 echo "$as_me: error: OpenGL libraries not available" >&2;}
33181 { (exit 1); exit 1; }; }
33185 if test "$wxUSE_OPENGL" = "yes"; then
33187 cat >>confdefs.h
<<\_ACEOF
33188 #define wxUSE_OPENGL 1
33191 cat >>confdefs.h
<<\_ACEOF
33192 #define wxUSE_GLCANVAS 1
33195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33200 if test -n "$TOOLKIT" ; then
33201 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33206 if test "$wxUSE_SHARED" = "yes"; then
33210 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33211 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33216 if test "$wxUSE_SHARED" = "yes"; then
33219 found_versioning
=no
33222 if test $found_versioning = no
; then
33223 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33224 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33225 if test "${wx_cv_version_script+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 echo "VER_1 { *; };" >conftest.sym
33230 echo "int main() { return 0; }" >conftest.cpp
33233 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33234 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; } ; then
33240 if test -s conftest.stderr
; then
33241 wx_cv_version_script
=no
33243 wx_cv_version_script
=yes
33246 wx_cv_version_script
=no
33249 if test $wx_cv_version_script = yes
33251 echo "struct B { virtual ~B() { } }; \
33252 struct D : public B { }; \
33253 void F() { D d; }" > conftest.cpp
33256 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33257 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33259 (eval $ac_try) 2>&5
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); }; } &&
33264 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33265 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33267 (eval $ac_try) 2>&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); }; }
33273 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33274 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }
33281 wx_cv_version_script
=yes
33283 wx_cv_version_script
=no
33288 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33289 rm -f conftest1.output conftest2.output conftest3.output
33292 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33293 echo "${ECHO_T}$wx_cv_version_script" >&6
33294 if test $wx_cv_version_script = yes ; then
33295 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33301 *-*-linux* | *-*-gnu* )
33302 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33303 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33307 if test "$GCC" = yes ; then
33308 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33310 saveLdflags
="$LDFLAGS"
33311 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33312 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33313 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33314 cat >conftest.
$ac_ext <<_ACEOF
33317 cat confdefs.h
>>conftest.
$ac_ext
33318 cat >>conftest.
$ac_ext <<_ACEOF
33319 /* end confdefs.h. */
33329 rm -f conftest.
$ac_objext conftest
$ac_exeext
33330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33331 (eval $ac_link) 2>conftest.er1
33333 grep -v '^ *+' conftest.er1
>conftest.err
33335 cat conftest.err
>&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } &&
33338 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33340 (eval $ac_try) 2>&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; } &&
33344 { ac_try
='test -s conftest$ac_exeext'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; }; then
33351 echo "$as_me:$LINENO: result: yes" >&5
33352 echo "${ECHO_T}yes" >&6
33353 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33354 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.
$ac_ext >&5
33361 echo "$as_me:$LINENO: result: no" >&5
33362 echo "${ECHO_T}no" >&6
33363 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33364 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33365 LDFLAGS
="$saveLdflags -Wl,-R,/"
33366 cat >conftest.
$ac_ext <<_ACEOF
33369 cat confdefs.h
>>conftest.
$ac_ext
33370 cat >>conftest.
$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33381 rm -f conftest.
$ac_objext conftest
$ac_exeext
33382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33383 (eval $ac_link) 2>conftest.er1
33385 grep -v '^ *+' conftest.er1
>conftest.err
33387 cat conftest.err
>&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } &&
33390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33392 (eval $ac_try) 2>&5
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); }; } &&
33396 { ac_try
='test -s conftest$ac_exeext'
33397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33398 (eval $ac_try) 2>&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); }; }; then
33403 echo "$as_me:$LINENO: result: yes" >&5
33404 echo "${ECHO_T}yes" >&6
33405 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33406 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33409 echo "$as_me: failed program was:" >&5
33410 sed 's/^/| /' conftest.
$ac_ext >&5
33413 echo "$as_me:$LINENO: result: no" >&5
33414 echo "${ECHO_T}no" >&6
33417 rm -f conftest.err conftest.
$ac_objext \
33418 conftest
$ac_exeext conftest.
$ac_ext
33421 rm -f conftest.err conftest.
$ac_objext \
33422 conftest
$ac_exeext conftest.
$ac_ext
33423 LDFLAGS
="$saveLdflags"
33425 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33426 WXCONFIG_RPATH
="-R\$libdir"
33431 install_name_tool
=`which install_name_tool`
33432 if test "$install_name_tool" -a -x "$install_name_tool"; then
33433 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33434 cat <<EOF >change-install-names
33436 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33437 inst_cmd="install_name_tool "
33438 for i in \${libnames} ; do
33439 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33443 chmod +x change
-install-names
33447 *-*-cygwin* | *-*-mingw32* )
33448 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33452 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33453 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33458 if test $wxUSE_RPATH = "no"; then
33459 SAMPLES_RPATH_FLAG
=''
33460 SAMPLES_RPATH_POSTLINK
=''
33468 config_linkage_component
="-static"
33475 lib_unicode_suffix
=
33477 if test "$wxUSE_UNICODE" = "yes"; then
33478 lib_unicode_suffix
=u
33479 WX_CHARTYPE
="unicode"
33484 WX_DEBUGTYPE
="release"
33486 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33488 WX_DEBUGTYPE
="debug"
33492 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33493 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33496 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33500 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33502 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33504 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33506 if test "$cross_compiling" = "yes"; then
33507 HOST_SUFFIX
="-$host_alias"
33508 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33509 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33512 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33513 if test "${TOOLKIT_DIR}" = "os2"; then
33514 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33516 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33521 if test "$wxUSE_COCOA" = 1; then
33525 ac_cpp
='$CPP $CPPFLAGS'
33526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33532 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33533 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33534 cat >conftest.
$ac_ext <<_ACEOF
33537 cat confdefs.h
>>conftest.
$ac_ext
33538 cat >>conftest.
$ac_ext <<_ACEOF
33539 /* end confdefs.h. */
33540 #include <AppKit/NSEvent.h>
33541 #include <CoreFoundation/CoreFoundation.h>
33551 rm -f conftest.
$ac_objext
33552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33553 (eval $ac_compile) 2>conftest.er1
33555 grep -v '^ *+' conftest.er1
>conftest.err
33557 cat conftest.err
>&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } &&
33560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; } &&
33566 { ac_try
='test -s conftest.$ac_objext'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; }; then
33572 echo "$as_me:$LINENO: result: no" >&5
33573 echo "${ECHO_T}no" >&6
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.
$ac_ext >&5
33578 echo "$as_me:$LINENO: result: yes" >&5
33579 echo "${ECHO_T}yes" >&6
33580 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33581 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33582 cat >conftest.
$ac_ext <<_ACEOF
33585 cat confdefs.h
>>conftest.
$ac_ext
33586 cat >>conftest.
$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33588 #define __Point__ 1
33589 #include <AppKit/NSEvent.h>
33590 #include <CoreFoundation/CoreFoundation.h>
33600 rm -f conftest.
$ac_objext
33601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33602 (eval $ac_compile) 2>conftest.er1
33604 grep -v '^ *+' conftest.er1
>conftest.err
33606 cat conftest.err
>&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); } &&
33609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611 (eval $ac_try) 2>&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); }; } &&
33615 { ac_try
='test -s conftest.$ac_objext'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; }; then
33621 echo "$as_me:$LINENO: result: yes" >&5
33622 echo "${ECHO_T}yes" >&6
33623 cat >>confdefs.h
<<\_ACEOF
33624 #define __Point__ 1
33629 echo "$as_me: failed program was:" >&5
33630 sed 's/^/| /' conftest.
$ac_ext >&5
33632 { { echo "$as_me:$LINENO: error: no
33633 See \`config.log' for more details." >&5
33634 echo "$as_me: error: no
33635 See \`config.log' for more details." >&2;}
33636 { (exit 1); exit 1; }; }
33639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33644 ac_cpp
='$CXXCPP $CPPFLAGS'
33645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33651 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33652 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33653 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33655 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33657 # Extract the first word of "Rez", so it can be a program name with args.
33658 set dummy Rez
; ac_word
=$2
33659 echo "$as_me:$LINENO: checking for $ac_word" >&5
33660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33661 if test "${ac_cv_prog_REZ+set}" = set; then
33662 echo $ECHO_N "(cached) $ECHO_C" >&6
33664 if test -n "$REZ"; then
33665 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33668 for as_dir
in $PATH
33671 test -z "$as_dir" && as_dir
=.
33672 for ac_exec_ext
in '' $ac_executable_extensions; do
33673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33674 ac_cv_prog_REZ
="Rez"
33675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33681 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33684 REZ
=$ac_cv_prog_REZ
33685 if test -n "$REZ"; then
33686 echo "$as_me:$LINENO: result: $REZ" >&5
33687 echo "${ECHO_T}$REZ" >&6
33689 echo "$as_me:$LINENO: result: no" >&5
33690 echo "${ECHO_T}no" >&6
33693 # Extract the first word of "DeRez", so it can be a program name with args.
33694 set dummy DeRez
; ac_word
=$2
33695 echo "$as_me:$LINENO: checking for $ac_word" >&5
33696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33697 if test "${ac_cv_prog_DEREZ+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 if test -n "$DEREZ"; then
33701 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33704 for as_dir
in $PATH
33707 test -z "$as_dir" && as_dir
=.
33708 for ac_exec_ext
in '' $ac_executable_extensions; do
33709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33710 ac_cv_prog_DEREZ
="DeRez"
33711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33717 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33720 DEREZ
=$ac_cv_prog_DEREZ
33721 if test -n "$DEREZ"; then
33722 echo "$as_me:$LINENO: result: $DEREZ" >&5
33723 echo "${ECHO_T}$DEREZ" >&6
33725 echo "$as_me:$LINENO: result: no" >&5
33726 echo "${ECHO_T}no" >&6
33729 # Extract the first word of "SetFile", so it can be a program name with args.
33730 set dummy SetFile
; ac_word
=$2
33731 echo "$as_me:$LINENO: checking for $ac_word" >&5
33732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33733 if test "${ac_cv_prog_SETFILE+set}" = set; then
33734 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 if test -n "$SETFILE"; then
33737 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33740 for as_dir
in $PATH
33743 test -z "$as_dir" && as_dir
=.
33744 for ac_exec_ext
in '' $ac_executable_extensions; do
33745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33746 ac_cv_prog_SETFILE
="SetFile"
33747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33753 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33756 SETFILE
=$ac_cv_prog_SETFILE
33757 if test -n "$SETFILE"; then
33758 echo "$as_me:$LINENO: result: $SETFILE" >&5
33759 echo "${ECHO_T}$SETFILE" >&6
33761 echo "$as_me:$LINENO: result: no" >&5
33762 echo "${ECHO_T}no" >&6
33766 MACSETFILE
="\$(SETFILE)"
33768 if test "$wxUSE_MAC" = 1; then
33769 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33771 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33773 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33774 RESCOMP
="echo -n \| $REZ"
33775 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33781 if test "$wxUSE_PM" = 1; then
33783 WXCONFIG_RESFLAGS
="-ep"
33785 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33787 POSTLINK_COMMAND
="@true"
33794 echo "$as_me:$LINENO: checking for mode_t" >&5
33795 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33796 if test "${ac_cv_type_mode_t+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33799 cat >conftest.
$ac_ext <<_ACEOF
33802 cat confdefs.h
>>conftest.
$ac_ext
33803 cat >>conftest.
$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33805 $ac_includes_default
33811 if (sizeof (mode_t))
33817 rm -f conftest.
$ac_objext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33819 (eval $ac_compile) 2>conftest.er1
33821 grep -v '^ *+' conftest.er1
>conftest.err
33823 cat conftest.err
>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33828 (eval $ac_try) 2>&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); }; } &&
33832 { ac_try
='test -s conftest.$ac_objext'
33833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33834 (eval $ac_try) 2>&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); }; }; then
33838 ac_cv_type_mode_t
=yes
33840 echo "$as_me: failed program was:" >&5
33841 sed 's/^/| /' conftest.
$ac_ext >&5
33843 ac_cv_type_mode_t
=no
33845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33847 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33848 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33849 if test $ac_cv_type_mode_t = yes; then
33853 cat >>confdefs.h
<<_ACEOF
33859 echo "$as_me:$LINENO: checking for off_t" >&5
33860 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33861 if test "${ac_cv_type_off_t+set}" = set; then
33862 echo $ECHO_N "(cached) $ECHO_C" >&6
33864 cat >conftest.
$ac_ext <<_ACEOF
33867 cat confdefs.h
>>conftest.
$ac_ext
33868 cat >>conftest.
$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33870 $ac_includes_default
33876 if (sizeof (off_t))
33882 rm -f conftest.
$ac_objext
33883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33884 (eval $ac_compile) 2>conftest.er1
33886 grep -v '^ *+' conftest.er1
>conftest.err
33888 cat conftest.err
>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); } &&
33891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; } &&
33897 { ac_try
='test -s conftest.$ac_objext'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; }; then
33903 ac_cv_type_off_t
=yes
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.
$ac_ext >&5
33908 ac_cv_type_off_t
=no
33910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33912 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33913 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33914 if test $ac_cv_type_off_t = yes; then
33918 cat >>confdefs.h
<<_ACEOF
33924 echo "$as_me:$LINENO: checking for pid_t" >&5
33925 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33926 if test "${ac_cv_type_pid_t+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 cat >conftest.
$ac_ext <<_ACEOF
33932 cat confdefs.h
>>conftest.
$ac_ext
33933 cat >>conftest.
$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 $ac_includes_default
33941 if (sizeof (pid_t))
33947 rm -f conftest.
$ac_objext
33948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33949 (eval $ac_compile) 2>conftest.er1
33951 grep -v '^ *+' conftest.er1
>conftest.err
33953 cat conftest.err
>&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); } &&
33956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958 (eval $ac_try) 2>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); }; } &&
33962 { ac_try
='test -s conftest.$ac_objext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 ac_cv_type_pid_t
=yes
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.
$ac_ext >&5
33973 ac_cv_type_pid_t
=no
33975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33977 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33978 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33979 if test $ac_cv_type_pid_t = yes; then
33983 cat >>confdefs.h
<<_ACEOF
33989 echo "$as_me:$LINENO: checking for size_t" >&5
33990 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33991 if test "${ac_cv_type_size_t+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 cat >conftest.
$ac_ext <<_ACEOF
33997 cat confdefs.h
>>conftest.
$ac_ext
33998 cat >>conftest.
$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 $ac_includes_default
34006 if (sizeof (size_t))
34012 rm -f conftest.
$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014 (eval $ac_compile) 2>conftest.er1
34016 grep -v '^ *+' conftest.er1
>conftest.err
34018 cat conftest.err
>&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try
='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 ac_cv_type_size_t
=yes
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.
$ac_ext >&5
34038 ac_cv_type_size_t
=no
34040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34042 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34043 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34044 if test $ac_cv_type_size_t = yes; then
34048 cat >>confdefs.h
<<_ACEOF
34049 #define size_t unsigned
34054 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34055 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34056 if test "${ac_cv_type_uid_t+set}" = set; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 cat >conftest.
$ac_ext <<_ACEOF
34062 cat confdefs.h
>>conftest.
$ac_ext
34063 cat >>conftest.
$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 #include <sys/types.h>
34068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34069 $EGREP "uid_t" >/dev
/null
2>&1; then
34070 ac_cv_type_uid_t
=yes
34072 ac_cv_type_uid_t
=no
34077 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34078 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34079 if test $ac_cv_type_uid_t = no
; then
34081 cat >>confdefs.h
<<\_ACEOF
34086 cat >>confdefs.h
<<\_ACEOF
34093 echo "$as_me:$LINENO: checking for ssize_t" >&5
34094 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34095 if test "${ac_cv_type_ssize_t+set}" = set; then
34096 echo $ECHO_N "(cached) $ECHO_C" >&6
34098 cat >conftest.
$ac_ext <<_ACEOF
34101 cat confdefs.h
>>conftest.
$ac_ext
34102 cat >>conftest.
$ac_ext <<_ACEOF
34103 /* end confdefs.h. */
34104 $ac_includes_default
34110 if (sizeof (ssize_t))
34116 rm -f conftest.
$ac_objext
34117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34118 (eval $ac_compile) 2>conftest.er1
34120 grep -v '^ *+' conftest.er1
>conftest.err
34122 cat conftest.err
>&5
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); } &&
34125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; } &&
34131 { ac_try
='test -s conftest.$ac_objext'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; }; then
34137 ac_cv_type_ssize_t
=yes
34139 echo "$as_me: failed program was:" >&5
34140 sed 's/^/| /' conftest.
$ac_ext >&5
34142 ac_cv_type_ssize_t
=no
34144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34146 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34147 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34148 if test $ac_cv_type_ssize_t = yes; then
34150 cat >>confdefs.h
<<_ACEOF
34151 #define HAVE_SSIZE_T 1
34158 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34159 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34160 if test "${wx_cv_size_t_is_uint+set}" = set; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34164 cat >conftest.
$ac_ext <<_ACEOF
34167 cat confdefs.h
>>conftest.
$ac_ext
34168 cat >>conftest.
$ac_ext <<_ACEOF
34169 /* end confdefs.h. */
34170 #include <stddef.h>
34177 struct Foo { void foo(size_t); void foo(unsigned int); };
34185 rm -f conftest.
$ac_objext
34186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34187 (eval $ac_compile) 2>conftest.er1
34189 grep -v '^ *+' conftest.er1
>conftest.err
34191 cat conftest.err
>&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } &&
34194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34196 (eval $ac_try) 2>&5
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); }; } &&
34200 { ac_try
='test -s conftest.$ac_objext'
34201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34202 (eval $ac_try) 2>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); }; }; then
34206 wx_cv_size_t_is_uint
=no
34208 echo "$as_me: failed program was:" >&5
34209 sed 's/^/| /' conftest.
$ac_ext >&5
34211 wx_cv_size_t_is_uint
=yes
34214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34218 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34219 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34221 if test "$wx_cv_size_t_is_uint" = "yes"; then
34222 cat >>confdefs.h
<<\_ACEOF
34223 #define wxSIZE_T_IS_UINT 1
34227 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34228 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34229 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34232 cat >conftest.
$ac_ext <<_ACEOF
34235 cat confdefs.h
>>conftest.
$ac_ext
34236 cat >>conftest.
$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238 #include <stddef.h>
34245 struct Foo { void foo(size_t); void foo(unsigned long); };
34253 rm -f conftest.
$ac_objext
34254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34255 (eval $ac_compile) 2>conftest.er1
34257 grep -v '^ *+' conftest.er1
>conftest.err
34259 cat conftest.err
>&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } &&
34262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; } &&
34268 { ac_try
='test -s conftest.$ac_objext'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; }; then
34274 wx_cv_size_t_is_ulong
=no
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.
$ac_ext >&5
34279 wx_cv_size_t_is_ulong
=yes
34282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34285 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34286 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34288 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34289 cat >>confdefs.h
<<\_ACEOF
34290 #define wxSIZE_T_IS_ULONG 1
34297 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34298 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34299 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34300 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 cat >conftest.
$ac_ext <<_ACEOF
34306 cat confdefs.h
>>conftest.
$ac_ext
34307 cat >>conftest.
$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34322 rm -f conftest.
$ac_objext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34324 (eval $ac_compile) 2>conftest.er1
34326 grep -v '^ *+' conftest.er1
>conftest.err
34328 cat conftest.err
>&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } &&
34331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; } &&
34337 { ac_try
='test -s conftest.$ac_objext'
34338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34339 (eval $ac_try) 2>&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); }; }; then
34344 wx_cv_struct_pw_gecos
=yes
34347 echo "$as_me: failed program was:" >&5
34348 sed 's/^/| /' conftest.
$ac_ext >&5
34351 wx_cv_struct_pw_gecos
=no
34355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34359 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34360 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34362 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34363 cat >>confdefs.h
<<\_ACEOF
34364 #define HAVE_PW_GECOS 1
34370 if test "$wxUSE_WCHAR_T" = "yes"; then
34371 cat >>confdefs.h
<<\_ACEOF
34372 #define wxUSE_WCHAR_T 1
34379 for ac_func
in wcslen
34381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34382 echo "$as_me:$LINENO: checking for $ac_func" >&5
34383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34384 if eval "test \"\${$as_ac_var+set}\" = set"; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 cat >conftest.
$ac_ext <<_ACEOF
34390 cat confdefs.h
>>conftest.
$ac_ext
34391 cat >>conftest.
$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34395 #define $ac_func innocuous_$ac_func
34397 /* System header to define __stub macros and hopefully few prototypes,
34398 which can conflict with char $ac_func (); below.
34399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34400 <limits.h> exists even on freestanding compilers. */
34403 # include <limits.h>
34405 # include <assert.h>
34410 /* Override any gcc2 internal prototype to avoid an error. */
34415 /* We use char because int might match the return type of a gcc2
34416 builtin and then its argument prototype would still apply. */
34418 /* The GNU C library defines this for functions which it implements
34419 to always fail with ENOSYS. Some functions are actually named
34420 something starting with __ and the normal name is an alias. */
34421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34424 char (*f) () = $ac_func;
34433 return f != $ac_func;
34438 rm -f conftest.
$ac_objext conftest
$ac_exeext
34439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34440 (eval $ac_link) 2>conftest.er1
34442 grep -v '^ *+' conftest.er1
>conftest.err
34444 cat conftest.err
>&5
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); } &&
34447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; } &&
34453 { ac_try
='test -s conftest$ac_exeext'
34454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34455 (eval $ac_try) 2>&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; }; then
34459 eval "$as_ac_var=yes"
34461 echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.
$ac_ext >&5
34464 eval "$as_ac_var=no"
34466 rm -f conftest.err conftest.
$ac_objext \
34467 conftest
$ac_exeext conftest.
$ac_ext
34469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34471 if test `eval echo '${'$as_ac_var'}'` = yes; then
34472 cat >>confdefs.h
<<_ACEOF
34473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34480 if test "$WCSLEN_FOUND" = 0; then
34481 if test "$TOOLKIT" = "MSW"; then
34482 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34483 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34484 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34487 ac_check_lib_save_LIBS
=$LIBS
34488 LIBS
="-lmsvcrt $LIBS"
34489 cat >conftest.
$ac_ext <<_ACEOF
34492 cat confdefs.h
>>conftest.
$ac_ext
34493 cat >>conftest.
$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34496 /* Override any gcc2 internal prototype to avoid an error. */
34500 /* We use char because int might match the return type of a gcc2
34501 builtin and then its argument prototype would still apply. */
34511 rm -f conftest.
$ac_objext conftest
$ac_exeext
34512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34513 (eval $ac_link) 2>conftest.er1
34515 grep -v '^ *+' conftest.er1
>conftest.err
34517 cat conftest.err
>&5
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); } &&
34520 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34522 (eval $ac_try) 2>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); }; } &&
34526 { ac_try
='test -s conftest$ac_exeext'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; }; then
34532 ac_cv_lib_msvcrt_wcslen
=yes
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.
$ac_ext >&5
34537 ac_cv_lib_msvcrt_wcslen
=no
34539 rm -f conftest.err conftest.
$ac_objext \
34540 conftest
$ac_exeext conftest.
$ac_ext
34541 LIBS
=$ac_check_lib_save_LIBS
34543 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34544 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34545 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34550 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34551 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34552 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 ac_check_lib_save_LIBS
=$LIBS
34557 cat >conftest.
$ac_ext <<_ACEOF
34560 cat confdefs.h
>>conftest.
$ac_ext
34561 cat >>conftest.
$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34564 /* Override any gcc2 internal prototype to avoid an error. */
34568 /* We use char because int might match the return type of a gcc2
34569 builtin and then its argument prototype would still apply. */
34579 rm -f conftest.
$ac_objext conftest
$ac_exeext
34580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34581 (eval $ac_link) 2>conftest.er1
34583 grep -v '^ *+' conftest.er1
>conftest.err
34585 cat conftest.err
>&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590 (eval $ac_try) 2>&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); }; } &&
34594 { ac_try
='test -s conftest$ac_exeext'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; }; then
34600 ac_cv_lib_w_wcslen
=yes
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.
$ac_ext >&5
34605 ac_cv_lib_w_wcslen
=no
34607 rm -f conftest.err conftest.
$ac_objext \
34608 conftest
$ac_exeext conftest.
$ac_ext
34609 LIBS
=$ac_check_lib_save_LIBS
34611 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34612 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34613 if test $ac_cv_lib_w_wcslen = yes; then
34623 if test "$WCSLEN_FOUND" = 1; then
34624 cat >>confdefs.h
<<\_ACEOF
34625 #define HAVE_WCSLEN 1
34630 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34631 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34634 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34635 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34636 if test "${ac_cv_type_mbstate_t+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34639 cat >conftest.
$ac_ext <<_ACEOF
34642 cat confdefs.h
>>conftest.
$ac_ext
34643 cat >>conftest.
$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34650 if ((mbstate_t *) 0)
34652 if (sizeof (mbstate_t))
34658 rm -f conftest.
$ac_objext
34659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34660 (eval $ac_compile) 2>conftest.er1
34662 grep -v '^ *+' conftest.er1
>conftest.err
34664 cat conftest.err
>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); } &&
34667 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; } &&
34673 { ac_try
='test -s conftest.$ac_objext'
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; }; then
34679 ac_cv_type_mbstate_t
=yes
34681 echo "$as_me: failed program was:" >&5
34682 sed 's/^/| /' conftest.
$ac_ext >&5
34684 ac_cv_type_mbstate_t
=no
34686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34688 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34689 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34690 if test $ac_cv_type_mbstate_t = yes; then
34692 cat >>confdefs.h
<<_ACEOF
34693 #define HAVE_MBSTATE_T 1
34697 for ac_func
in wcsrtombs
34699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34700 echo "$as_me:$LINENO: checking for $ac_func" >&5
34701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34702 if eval "test \"\${$as_ac_var+set}\" = set"; then
34703 echo $ECHO_N "(cached) $ECHO_C" >&6
34705 cat >conftest.
$ac_ext <<_ACEOF
34708 cat confdefs.h
>>conftest.
$ac_ext
34709 cat >>conftest.
$ac_ext <<_ACEOF
34710 /* end confdefs.h. */
34711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34713 #define $ac_func innocuous_$ac_func
34715 /* System header to define __stub macros and hopefully few prototypes,
34716 which can conflict with char $ac_func (); below.
34717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34718 <limits.h> exists even on freestanding compilers. */
34721 # include <limits.h>
34723 # include <assert.h>
34728 /* Override any gcc2 internal prototype to avoid an error. */
34733 /* We use char because int might match the return type of a gcc2
34734 builtin and then its argument prototype would still apply. */
34736 /* The GNU C library defines this for functions which it implements
34737 to always fail with ENOSYS. Some functions are actually named
34738 something starting with __ and the normal name is an alias. */
34739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34742 char (*f) () = $ac_func;
34751 return f != $ac_func;
34756 rm -f conftest.
$ac_objext conftest
$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34760 grep -v '^ *+' conftest.er1
>conftest.err
34762 cat conftest.err
>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try
='test -s conftest$ac_exeext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777 eval "$as_ac_var=yes"
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.
$ac_ext >&5
34782 eval "$as_ac_var=no"
34784 rm -f conftest.err conftest.
$ac_objext \
34785 conftest
$ac_exeext conftest.
$ac_ext
34787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34789 if test `eval echo '${'$as_ac_var'}'` = yes; then
34790 cat >>confdefs.h
<<_ACEOF
34791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34800 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34801 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34806 for ac_func
in snprintf vsnprintf
34808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34809 echo "$as_me:$LINENO: checking for $ac_func" >&5
34810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34811 if eval "test \"\${$as_ac_var+set}\" = set"; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 cat >conftest.
$ac_ext <<_ACEOF
34817 cat confdefs.h
>>conftest.
$ac_ext
34818 cat >>conftest.
$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define $ac_func innocuous_$ac_func
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char $ac_func (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34830 # include <limits.h>
34832 # include <assert.h>
34837 /* Override any gcc2 internal prototype to avoid an error. */
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34851 char (*f) () = $ac_func;
34860 return f != $ac_func;
34865 rm -f conftest.
$ac_objext conftest
$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34869 grep -v '^ *+' conftest.er1
>conftest.err
34871 cat conftest.err
>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try
='test -s conftest$ac_exeext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 eval "$as_ac_var=yes"
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.
$ac_ext >&5
34891 eval "$as_ac_var=no"
34893 rm -f conftest.err conftest.
$ac_objext \
34894 conftest
$ac_exeext conftest.
$ac_ext
34896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34898 if test `eval echo '${'$as_ac_var'}'` = yes; then
34899 cat >>confdefs.h
<<_ACEOF
34900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34907 if test "$ac_cv_func_vsnprintf" = "yes"; then
34908 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34909 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34910 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 cat >conftest.
$ac_ext <<_ACEOF
34917 cat confdefs.h
>>conftest.
$ac_ext
34918 cat >>conftest.
$ac_ext <<_ACEOF
34919 /* end confdefs.h. */
34922 #include <stdarg.h>
34924 #if __MSL__ >= 0x6000
34926 using namespace std;
34936 vsnprintf(buf, 10u, "%s", ap);
34942 rm -f conftest.
$ac_objext
34943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34944 (eval $ac_compile) 2>conftest.er1
34946 grep -v '^ *+' conftest.er1
>conftest.err
34948 cat conftest.err
>&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); } &&
34951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34953 (eval $ac_try) 2>&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); }; } &&
34957 { ac_try
='test -s conftest.$ac_objext'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; }; then
34963 wx_cv_func_vsnprintf_decl
=yes
34965 echo "$as_me: failed program was:" >&5
34966 sed 's/^/| /' conftest.
$ac_ext >&5
34968 wx_cv_func_vsnprintf_decl
=no
34971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34975 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34976 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34978 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34979 cat >>confdefs.h
<<\_ACEOF
34980 #define HAVE_VSNPRINTF_DECL 1
34984 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34985 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34986 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 cat >conftest.
$ac_ext <<_ACEOF
34993 cat confdefs.h
>>conftest.
$ac_ext
34994 cat >>conftest.
$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34998 #include <stdarg.h>
35000 #if __MSL__ >= 0x6000
35002 using namespace std;
35012 const char *fmt = "%s";
35013 vsnprintf(buf, 10u, fmt, ap);
35019 rm -f conftest.
$ac_objext
35020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35021 (eval $ac_compile) 2>conftest.er1
35023 grep -v '^ *+' conftest.er1
>conftest.err
35025 cat conftest.err
>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); } &&
35028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try
='test -s conftest.$ac_objext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040 wx_cv_func_broken_vsnprintf_decl
=no
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.
$ac_ext >&5
35045 wx_cv_func_broken_vsnprintf_decl
=yes
35048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35052 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35053 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35055 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35056 cat >>confdefs.h
<<\_ACEOF
35057 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35064 if test "$ac_cv_func_snprintf" = "yes"; then
35065 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35066 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35067 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35071 cat >conftest.
$ac_ext <<_ACEOF
35074 cat confdefs.h
>>conftest.
$ac_ext
35075 cat >>conftest.
$ac_ext <<_ACEOF
35076 /* end confdefs.h. */
35079 #include <stdarg.h>
35081 #if __MSL__ >= 0x6000
35083 using namespace std;
35092 snprintf(buf, 10u, "%s", "wx");
35098 rm -f conftest.
$ac_objext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35100 (eval $ac_compile) 2>conftest.er1
35102 grep -v '^ *+' conftest.er1
>conftest.err
35104 cat conftest.err
>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } &&
35107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; } &&
35113 { ac_try
='test -s conftest.$ac_objext'
35114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35115 (eval $ac_try) 2>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); }; }; then
35119 wx_cv_func_snprintf_decl
=yes
35121 echo "$as_me: failed program was:" >&5
35122 sed 's/^/| /' conftest.
$ac_ext >&5
35124 wx_cv_func_snprintf_decl
=no
35127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35131 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35132 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35134 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35135 cat >>confdefs.h
<<\_ACEOF
35136 #define HAVE_SNPRINTF_DECL 1
35140 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35141 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35142 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 cat >conftest.
$ac_ext <<_ACEOF
35149 cat confdefs.h
>>conftest.
$ac_ext
35150 cat >>conftest.
$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35154 #include <stdarg.h>
35156 #if __MSL__ >= 0x6000
35158 using namespace std;
35167 const char *fmt = "%s";
35168 snprintf(buf, 10u, fmt, "wx");
35174 rm -f conftest.
$ac_objext
35175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35176 (eval $ac_compile) 2>conftest.er1
35178 grep -v '^ *+' conftest.er1
>conftest.err
35180 cat conftest.err
>&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } &&
35183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35185 (eval $ac_try) 2>&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); }; } &&
35189 { ac_try
='test -s conftest.$ac_objext'
35190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191 (eval $ac_try) 2>&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); }; }; then
35195 wx_cv_func_broken_snprintf_decl
=no
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.
$ac_ext >&5
35200 wx_cv_func_broken_snprintf_decl
=yes
35203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35207 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35208 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35210 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35211 cat >>confdefs.h
<<\_ACEOF
35212 #define HAVE_BROKEN_SNPRINTF_DECL 1
35218 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35220 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35221 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35222 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35223 echo $ECHO_N "(cached) $ECHO_C" >&6
35226 if test "$cross_compiling" = yes; then
35228 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35229 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35230 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35231 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35232 wx_cv_func_snprintf_pos_params
=no
35236 cat >conftest.
$ac_ext <<_ACEOF
35239 cat confdefs.h
>>conftest.
$ac_ext
35240 cat >>conftest.
$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35248 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35249 if (strcmp ("2 3 1", buffer) == 0)
35255 rm -f conftest
$ac_exeext
35256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35257 (eval $ac_link) 2>&5
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; }; then
35266 wx_cv_func_snprintf_pos_params
=no
35268 echo "$as_me: program exited with status $ac_status" >&5
35269 echo "$as_me: failed program was:" >&5
35270 sed 's/^/| /' conftest.
$ac_ext >&5
35272 ( exit $ac_status )
35273 wx_cv_func_snprintf_pos_params
=yes
35275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35280 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35281 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35283 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35284 cat >>confdefs.h
<<\_ACEOF
35285 #define HAVE_UNIX98_PRINTF 1
35292 if test "$wxUSE_UNICODE" = yes; then
35295 for ac_func
in swprintf
35297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35298 echo "$as_me:$LINENO: checking for $ac_func" >&5
35299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35300 if eval "test \"\${$as_ac_var+set}\" = set"; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 cat >conftest.
$ac_ext <<_ACEOF
35306 cat confdefs.h
>>conftest.
$ac_ext
35307 cat >>conftest.
$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35311 #define $ac_func innocuous_$ac_func
35313 /* System header to define __stub macros and hopefully few prototypes,
35314 which can conflict with char $ac_func (); below.
35315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35316 <limits.h> exists even on freestanding compilers. */
35319 # include <limits.h>
35321 # include <assert.h>
35326 /* Override any gcc2 internal prototype to avoid an error. */
35331 /* We use char because int might match the return type of a gcc2
35332 builtin and then its argument prototype would still apply. */
35334 /* The GNU C library defines this for functions which it implements
35335 to always fail with ENOSYS. Some functions are actually named
35336 something starting with __ and the normal name is an alias. */
35337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35340 char (*f) () = $ac_func;
35349 return f != $ac_func;
35354 rm -f conftest.
$ac_objext conftest
$ac_exeext
35355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35356 (eval $ac_link) 2>conftest.er1
35358 grep -v '^ *+' conftest.er1
>conftest.err
35360 cat conftest.err
>&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } &&
35363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; } &&
35369 { ac_try
='test -s conftest$ac_exeext'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; }; then
35375 eval "$as_ac_var=yes"
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.
$ac_ext >&5
35380 eval "$as_ac_var=no"
35382 rm -f conftest.err conftest.
$ac_objext \
35383 conftest
$ac_exeext conftest.
$ac_ext
35385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35387 if test `eval echo '${'$as_ac_var'}'` = yes; then
35388 cat >>confdefs.h
<<_ACEOF
35389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35396 if test "$ac_cv_func_swprintf" = "yes"; then
35397 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35398 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35399 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 cat >conftest.
$ac_ext <<_ACEOF
35406 cat confdefs.h
>>conftest.
$ac_ext
35407 cat >>conftest.
$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35411 #include <stdarg.h>
35419 const wchar_t *fmt = L"test";
35420 swprintf(buf, 10u, fmt);
35426 rm -f conftest.
$ac_objext
35427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35428 (eval $ac_compile) 2>conftest.er1
35430 grep -v '^ *+' conftest.er1
>conftest.err
35432 cat conftest.err
>&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } &&
35435 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35437 (eval $ac_try) 2>&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); }; } &&
35441 { ac_try
='test -s conftest.$ac_objext'
35442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35443 (eval $ac_try) 2>&5
35445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35446 (exit $ac_status); }; }; then
35447 wx_cv_func_broken_swprintf_decl
=no
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.
$ac_ext >&5
35452 wx_cv_func_broken_swprintf_decl
=yes
35455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35459 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35460 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35462 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35463 cat >>confdefs.h
<<\_ACEOF
35464 #define HAVE_BROKEN_SWPRINTF_DECL 1
35476 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35479 echo "$as_me:$LINENO: checking for $ac_func" >&5
35480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35481 if eval "test \"\${$as_ac_var+set}\" = set"; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35492 #define $ac_func innocuous_$ac_func
35494 /* System header to define __stub macros and hopefully few prototypes,
35495 which can conflict with char $ac_func (); below.
35496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35497 <limits.h> exists even on freestanding compilers. */
35500 # include <limits.h>
35502 # include <assert.h>
35507 /* Override any gcc2 internal prototype to avoid an error. */
35512 /* We use char because int might match the return type of a gcc2
35513 builtin and then its argument prototype would still apply. */
35515 /* The GNU C library defines this for functions which it implements
35516 to always fail with ENOSYS. Some functions are actually named
35517 something starting with __ and the normal name is an alias. */
35518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35521 char (*f) () = $ac_func;
35530 return f != $ac_func;
35535 rm -f conftest.
$ac_objext conftest
$ac_exeext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35537 (eval $ac_link) 2>conftest.er1
35539 grep -v '^ *+' conftest.er1
>conftest.err
35541 cat conftest.err
>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35546 (eval $ac_try) 2>&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); }; } &&
35550 { ac_try
='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.
$ac_ext >&5
35561 eval "$as_ac_var=no"
35563 rm -f conftest.err conftest.
$ac_objext \
35564 conftest
$ac_exeext conftest.
$ac_ext
35566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35568 if test `eval echo '${'$as_ac_var'}'` = yes; then
35569 cat >>confdefs.h
<<_ACEOF
35570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35577 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35578 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35579 cat >conftest.
$ac_ext <<_ACEOF
35582 cat confdefs.h
>>conftest.
$ac_ext
35583 cat >>conftest.
$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35594 rm -f conftest.
$ac_objext
35595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35596 (eval $ac_compile) 2>conftest.er1
35598 grep -v '^ *+' conftest.er1
>conftest.err
35600 cat conftest.err
>&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } &&
35603 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try
='test -s conftest.$ac_objext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35615 echo "$as_me:$LINENO: result: yes" >&5
35616 echo "${ECHO_T}yes" >&6
35617 cat >>confdefs.h
<<\_ACEOF
35618 #define HAVE__VSNWPRINTF 1
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.
$ac_ext >&5
35625 echo "$as_me:$LINENO: result: no" >&5
35626 echo "${ECHO_T}no" >&6
35628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35631 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35633 for ac_func
in fnmatch
35635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35636 echo "$as_me:$LINENO: checking for $ac_func" >&5
35637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35638 if eval "test \"\${$as_ac_var+set}\" = set"; then
35639 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 cat >conftest.
$ac_ext <<_ACEOF
35644 cat confdefs.h
>>conftest.
$ac_ext
35645 cat >>conftest.
$ac_ext <<_ACEOF
35646 /* end confdefs.h. */
35647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35649 #define $ac_func innocuous_$ac_func
35651 /* System header to define __stub macros and hopefully few prototypes,
35652 which can conflict with char $ac_func (); below.
35653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35654 <limits.h> exists even on freestanding compilers. */
35657 # include <limits.h>
35659 # include <assert.h>
35664 /* Override any gcc2 internal prototype to avoid an error. */
35669 /* We use char because int might match the return type of a gcc2
35670 builtin and then its argument prototype would still apply. */
35672 /* The GNU C library defines this for functions which it implements
35673 to always fail with ENOSYS. Some functions are actually named
35674 something starting with __ and the normal name is an alias. */
35675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35678 char (*f) () = $ac_func;
35687 return f != $ac_func;
35692 rm -f conftest.
$ac_objext conftest
$ac_exeext
35693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35694 (eval $ac_link) 2>conftest.er1
35696 grep -v '^ *+' conftest.er1
>conftest.err
35698 cat conftest.err
>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } &&
35701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; } &&
35707 { ac_try
='test -s conftest$ac_exeext'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }; then
35713 eval "$as_ac_var=yes"
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.
$ac_ext >&5
35718 eval "$as_ac_var=no"
35720 rm -f conftest.err conftest.
$ac_objext \
35721 conftest
$ac_exeext conftest.
$ac_ext
35723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35725 if test `eval echo '${'$as_ac_var'}'` = yes; then
35726 cat >>confdefs.h
<<_ACEOF
35727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35735 if test "$wxUSE_FILE" = "yes"; then
35737 for ac_func
in fsync
35739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35740 echo "$as_me:$LINENO: checking for $ac_func" >&5
35741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35742 if eval "test \"\${$as_ac_var+set}\" = set"; then
35743 echo $ECHO_N "(cached) $ECHO_C" >&6
35745 cat >conftest.
$ac_ext <<_ACEOF
35748 cat confdefs.h
>>conftest.
$ac_ext
35749 cat >>conftest.
$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35753 #define $ac_func innocuous_$ac_func
35755 /* System header to define __stub macros and hopefully few prototypes,
35756 which can conflict with char $ac_func (); below.
35757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35758 <limits.h> exists even on freestanding compilers. */
35761 # include <limits.h>
35763 # include <assert.h>
35768 /* Override any gcc2 internal prototype to avoid an error. */
35773 /* We use char because int might match the return type of a gcc2
35774 builtin and then its argument prototype would still apply. */
35776 /* The GNU C library defines this for functions which it implements
35777 to always fail with ENOSYS. Some functions are actually named
35778 something starting with __ and the normal name is an alias. */
35779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35782 char (*f) () = $ac_func;
35791 return f != $ac_func;
35796 rm -f conftest.
$ac_objext conftest
$ac_exeext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35798 (eval $ac_link) 2>conftest.er1
35800 grep -v '^ *+' conftest.er1
>conftest.err
35802 cat conftest.err
>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; } &&
35811 { ac_try
='test -s conftest$ac_exeext'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; }; then
35817 eval "$as_ac_var=yes"
35819 echo "$as_me: failed program was:" >&5
35820 sed 's/^/| /' conftest.
$ac_ext >&5
35822 eval "$as_ac_var=no"
35824 rm -f conftest.err conftest.
$ac_objext \
35825 conftest
$ac_exeext conftest.
$ac_ext
35827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35829 if test `eval echo '${'$as_ac_var'}'` = yes; then
35830 cat >>confdefs.h
<<_ACEOF
35831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35840 for ac_func
in round
35842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35843 echo "$as_me:$LINENO: checking for $ac_func" >&5
35844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35845 if eval "test \"\${$as_ac_var+set}\" = set"; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 cat >conftest.
$ac_ext <<_ACEOF
35851 cat confdefs.h
>>conftest.
$ac_ext
35852 cat >>conftest.
$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35856 #define $ac_func innocuous_$ac_func
35858 /* System header to define __stub macros and hopefully few prototypes,
35859 which can conflict with char $ac_func (); below.
35860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35861 <limits.h> exists even on freestanding compilers. */
35864 # include <limits.h>
35866 # include <assert.h>
35871 /* Override any gcc2 internal prototype to avoid an error. */
35876 /* We use char because int might match the return type of a gcc2
35877 builtin and then its argument prototype would still apply. */
35879 /* The GNU C library defines this for functions which it implements
35880 to always fail with ENOSYS. Some functions are actually named
35881 something starting with __ and the normal name is an alias. */
35882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35885 char (*f) () = $ac_func;
35894 return f != $ac_func;
35899 rm -f conftest.
$ac_objext conftest
$ac_exeext
35900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35901 (eval $ac_link) 2>conftest.er1
35903 grep -v '^ *+' conftest.er1
>conftest.err
35905 cat conftest.err
>&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); } &&
35908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; } &&
35914 { ac_try
='test -s conftest$ac_exeext'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; }; then
35920 eval "$as_ac_var=yes"
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.
$ac_ext >&5
35925 eval "$as_ac_var=no"
35927 rm -f conftest.err conftest.
$ac_objext \
35928 conftest
$ac_exeext conftest.
$ac_ext
35930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35932 if test `eval echo '${'$as_ac_var'}'` = yes; then
35933 cat >>confdefs.h
<<_ACEOF
35934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35940 if test "$ac_cv_func_round" = yes; then
35941 echo "$as_me:$LINENO: checking whether round is declared" >&5
35942 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35943 if test "${ac_cv_have_decl_round+set}" = set; then
35944 echo $ECHO_N "(cached) $ECHO_C" >&6
35946 cat >conftest.
$ac_ext <<_ACEOF
35949 cat confdefs.h
>>conftest.
$ac_ext
35950 cat >>conftest.
$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35958 char *p = (char *) round;
35965 rm -f conftest.
$ac_objext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35967 (eval $ac_compile) 2>conftest.er1
35969 grep -v '^ *+' conftest.er1
>conftest.err
35971 cat conftest.err
>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; } &&
35980 { ac_try
='test -s conftest.$ac_objext'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; }; then
35986 ac_cv_have_decl_round
=yes
35988 echo "$as_me: failed program was:" >&5
35989 sed 's/^/| /' conftest.
$ac_ext >&5
35991 ac_cv_have_decl_round
=no
35993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35995 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35996 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35997 if test $ac_cv_have_decl_round = yes; then
35999 cat >>confdefs.h
<<_ACEOF
36000 #define HAVE_DECL_ROUND 1
36005 cat >>confdefs.h
<<_ACEOF
36006 #define HAVE_DECL_ROUND 0
36016 if test "$TOOLKIT" != "MSW"; then
36022 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36023 if test "${with_libiconv_prefix+set}" = set; then
36024 withval
="$with_libiconv_prefix"
36026 for dir
in `echo "$withval" | tr : ' '`; do
36027 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36028 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36033 echo "$as_me:$LINENO: checking for iconv" >&5
36034 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36035 if test "${am_cv_func_iconv+set}" = set; then
36036 echo $ECHO_N "(cached) $ECHO_C" >&6
36039 am_cv_func_iconv
="no, consider installing GNU libiconv"
36041 cat >conftest.
$ac_ext <<_ACEOF
36044 cat confdefs.h
>>conftest.
$ac_ext
36045 cat >>conftest.
$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047 #include <stdlib.h>
36052 iconv_t cd = iconv_open("","");
36053 iconv(cd,NULL,NULL,NULL,NULL);
36059 rm -f conftest.
$ac_objext conftest
$ac_exeext
36060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36061 (eval $ac_link) 2>conftest.er1
36063 grep -v '^ *+' conftest.er1
>conftest.err
36065 cat conftest.err
>&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); } &&
36068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; } &&
36074 { ac_try
='test -s conftest$ac_exeext'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; }; then
36080 am_cv_func_iconv
=yes
36082 echo "$as_me: failed program was:" >&5
36083 sed 's/^/| /' conftest.
$ac_ext >&5
36086 rm -f conftest.err conftest.
$ac_objext \
36087 conftest
$ac_exeext conftest.
$ac_ext
36088 if test "$am_cv_func_iconv" != yes; then
36089 am_save_LIBS
="$LIBS"
36090 LIBS
="$LIBS -liconv"
36091 cat >conftest.
$ac_ext <<_ACEOF
36094 cat confdefs.h
>>conftest.
$ac_ext
36095 cat >>conftest.
$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 #include <stdlib.h>
36102 iconv_t cd = iconv_open("","");
36103 iconv(cd,NULL,NULL,NULL,NULL);
36109 rm -f conftest.
$ac_objext conftest
$ac_exeext
36110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36111 (eval $ac_link) 2>conftest.er1
36113 grep -v '^ *+' conftest.er1
>conftest.err
36115 cat conftest.err
>&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } &&
36118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; } &&
36124 { ac_try
='test -s conftest$ac_exeext'
36125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36126 (eval $ac_try) 2>&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); }; }; then
36130 am_cv_lib_iconv
=yes
36131 am_cv_func_iconv
=yes
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.
$ac_ext >&5
36137 rm -f conftest.err conftest.
$ac_objext \
36138 conftest
$ac_exeext conftest.
$ac_ext
36139 LIBS
="$am_save_LIBS"
36143 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36144 echo "${ECHO_T}$am_cv_func_iconv" >&6
36145 if test "$am_cv_func_iconv" = yes; then
36147 cat >>confdefs.h
<<\_ACEOF
36148 #define HAVE_ICONV 1
36151 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36152 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36153 if test "${wx_cv_func_iconv_const+set}" = set; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36156 cat >conftest.
$ac_ext <<_ACEOF
36159 cat confdefs.h
>>conftest.
$ac_ext
36160 cat >>conftest.
$ac_ext <<_ACEOF
36161 /* end confdefs.h. */
36163 #include <stdlib.h>
36169 #if defined(__STDC__) || defined(__cplusplus)
36170 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36183 rm -f conftest.
$ac_objext
36184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36185 (eval $ac_compile) 2>conftest.er1
36187 grep -v '^ *+' conftest.er1
>conftest.err
36189 cat conftest.err
>&5
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); } &&
36192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36194 (eval $ac_try) 2>&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); }; } &&
36198 { ac_try
='test -s conftest.$ac_objext'
36199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36200 (eval $ac_try) 2>&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); }; }; then
36204 wx_cv_func_iconv_const
="no"
36206 echo "$as_me: failed program was:" >&5
36207 sed 's/^/| /' conftest.
$ac_ext >&5
36209 wx_cv_func_iconv_const
="yes"
36212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36215 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36216 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36219 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36220 iconv_const
="const"
36224 cat >>confdefs.h
<<_ACEOF
36225 #define ICONV_CONST $iconv_const
36230 if test "$am_cv_lib_iconv" = yes; then
36235 LIBS
="$LIBICONV $LIBS"
36237 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36239 for ac_func
in sigaction
36241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36242 echo "$as_me:$LINENO: checking for $ac_func" >&5
36243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36244 if eval "test \"\${$as_ac_var+set}\" = set"; then
36245 echo $ECHO_N "(cached) $ECHO_C" >&6
36247 cat >conftest.
$ac_ext <<_ACEOF
36250 cat confdefs.h
>>conftest.
$ac_ext
36251 cat >>conftest.
$ac_ext <<_ACEOF
36252 /* end confdefs.h. */
36253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36255 #define $ac_func innocuous_$ac_func
36257 /* System header to define __stub macros and hopefully few prototypes,
36258 which can conflict with char $ac_func (); below.
36259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36260 <limits.h> exists even on freestanding compilers. */
36263 # include <limits.h>
36265 # include <assert.h>
36270 /* Override any gcc2 internal prototype to avoid an error. */
36275 /* We use char because int might match the return type of a gcc2
36276 builtin and then its argument prototype would still apply. */
36278 /* The GNU C library defines this for functions which it implements
36279 to always fail with ENOSYS. Some functions are actually named
36280 something starting with __ and the normal name is an alias. */
36281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36284 char (*f) () = $ac_func;
36293 return f != $ac_func;
36298 rm -f conftest.
$ac_objext conftest
$ac_exeext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36300 (eval $ac_link) 2>conftest.er1
36302 grep -v '^ *+' conftest.er1
>conftest.err
36304 cat conftest.err
>&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; } &&
36313 { ac_try
='test -s conftest$ac_exeext'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; }; then
36319 eval "$as_ac_var=yes"
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.
$ac_ext >&5
36324 eval "$as_ac_var=no"
36326 rm -f conftest.err conftest.
$ac_objext \
36327 conftest
$ac_exeext conftest.
$ac_ext
36329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36331 if test `eval echo '${'$as_ac_var'}'` = yes; then
36332 cat >>confdefs.h
<<_ACEOF
36333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36340 if test "$ac_cv_func_sigaction" = "no"; then
36341 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36342 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36343 wxUSE_ON_FATAL_EXCEPTION
=no
36346 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36347 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36348 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36349 if test "${wx_cv_type_sa_handler+set}" = set; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36353 cat >conftest.
$ac_ext <<_ACEOF
36356 cat confdefs.h
>>conftest.
$ac_ext
36357 cat >>conftest.
$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36359 #include <signal.h>
36364 extern void testSigHandler(int);
36366 struct sigaction sa;
36367 sa.sa_handler = testSigHandler;
36373 rm -f conftest.
$ac_objext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36375 (eval $ac_compile) 2>conftest.er1
36377 grep -v '^ *+' conftest.er1
>conftest.err
36379 cat conftest.err
>&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36384 (eval $ac_try) 2>&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); }; } &&
36388 { ac_try
='test -s conftest.$ac_objext'
36389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390 (eval $ac_try) 2>&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); }; }; then
36395 wx_cv_type_sa_handler
=int
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.
$ac_ext >&5
36402 wx_cv_type_sa_handler
=void
36405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36408 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36409 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36411 cat >>confdefs.h
<<_ACEOF
36412 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36418 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36419 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36420 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36421 if test "${wx_cv_func_backtrace+set}" = set; then
36422 echo $ECHO_N "(cached) $ECHO_C" >&6
36425 cat >conftest.
$ac_ext <<_ACEOF
36428 cat confdefs.h
>>conftest.
$ac_ext
36429 cat >>conftest.
$ac_ext <<_ACEOF
36430 /* end confdefs.h. */
36431 #include <execinfo.h>
36439 backtrace(trace, 1);
36440 messages = backtrace_symbols(trace, 1);
36446 rm -f conftest.
$ac_objext
36447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36448 (eval $ac_compile) 2>conftest.er1
36450 grep -v '^ *+' conftest.er1
>conftest.err
36452 cat conftest.err
>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } &&
36455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; } &&
36461 { ac_try
='test -s conftest.$ac_objext'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; }; then
36467 wx_cv_func_backtrace
=yes
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.
$ac_ext >&5
36472 wx_cv_func_backtrace
=no
36475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36479 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36480 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36483 if test "$wx_cv_func_backtrace" = "no"; then
36484 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36485 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36486 wxUSE_STACKWALKER
=no
36488 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36489 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36490 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36491 echo $ECHO_N "(cached) $ECHO_C" >&6
36494 cat >conftest.
$ac_ext <<_ACEOF
36497 cat confdefs.h
>>conftest.
$ac_ext
36498 cat >>conftest.
$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500 #include <cxxabi.h>
36506 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36512 rm -f conftest.
$ac_objext conftest
$ac_exeext
36513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36514 (eval $ac_link) 2>conftest.er1
36516 grep -v '^ *+' conftest.er1
>conftest.err
36518 cat conftest.err
>&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); } &&
36521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523 (eval $ac_try) 2>&5
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); }; } &&
36527 { ac_try
='test -s conftest$ac_exeext'
36528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36529 (eval $ac_try) 2>&5
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); }; }; then
36533 wx_cv_func_cxa_demangle
=yes
36535 echo "$as_me: failed program was:" >&5
36536 sed 's/^/| /' conftest.
$ac_ext >&5
36538 wx_cv_func_cxa_demangle
=no
36541 rm -f conftest.err conftest.
$ac_objext \
36542 conftest
$ac_exeext conftest.
$ac_ext
36546 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36547 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36549 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36550 cat >>confdefs.h
<<\_ACEOF
36551 #define HAVE_CXA_DEMANGLE 1
36558 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36559 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36560 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36561 wxUSE_STACKWALKER
=no
36567 for ac_func
in mkstemp mktemp
36569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36570 echo "$as_me:$LINENO: checking for $ac_func" >&5
36571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36572 if eval "test \"\${$as_ac_var+set}\" = set"; then
36573 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 cat >conftest.
$ac_ext <<_ACEOF
36578 cat confdefs.h
>>conftest.
$ac_ext
36579 cat >>conftest.
$ac_ext <<_ACEOF
36580 /* end confdefs.h. */
36581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36583 #define $ac_func innocuous_$ac_func
36585 /* System header to define __stub macros and hopefully few prototypes,
36586 which can conflict with char $ac_func (); below.
36587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36588 <limits.h> exists even on freestanding compilers. */
36591 # include <limits.h>
36593 # include <assert.h>
36598 /* Override any gcc2 internal prototype to avoid an error. */
36603 /* We use char because int might match the return type of a gcc2
36604 builtin and then its argument prototype would still apply. */
36606 /* The GNU C library defines this for functions which it implements
36607 to always fail with ENOSYS. Some functions are actually named
36608 something starting with __ and the normal name is an alias. */
36609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36612 char (*f) () = $ac_func;
36621 return f != $ac_func;
36626 rm -f conftest.
$ac_objext conftest
$ac_exeext
36627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36628 (eval $ac_link) 2>conftest.er1
36630 grep -v '^ *+' conftest.er1
>conftest.err
36632 cat conftest.err
>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } &&
36635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; } &&
36641 { ac_try
='test -s conftest$ac_exeext'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; }; then
36647 eval "$as_ac_var=yes"
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.
$ac_ext >&5
36652 eval "$as_ac_var=no"
36654 rm -f conftest.err conftest.
$ac_objext \
36655 conftest
$ac_exeext conftest.
$ac_ext
36657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36659 if test `eval echo '${'$as_ac_var'}'` = yes; then
36660 cat >>confdefs.h
<<_ACEOF
36661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36668 echo "$as_me:$LINENO: checking for statfs" >&5
36669 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36670 if test "${wx_cv_func_statfs+set}" = set; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36673 cat >conftest.
$ac_ext <<_ACEOF
36676 cat confdefs.h
>>conftest.
$ac_ext
36677 cat >>conftest.
$ac_ext <<_ACEOF
36678 /* end confdefs.h. */
36680 #if defined(__BSD__)
36681 #include <sys/param.h>
36682 #include <sys/mount.h>
36684 #include <sys/vfs.h>
36702 rm -f conftest.
$ac_objext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36704 (eval $ac_compile) 2>conftest.er1
36706 grep -v '^ *+' conftest.er1
>conftest.err
36708 cat conftest.err
>&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; } &&
36717 { ac_try
='test -s conftest.$ac_objext'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; }; then
36723 wx_cv_func_statfs
=yes
36725 echo "$as_me: failed program was:" >&5
36726 sed 's/^/| /' conftest.
$ac_ext >&5
36728 wx_cv_func_statfs
=no
36731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36734 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36735 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36737 if test "$wx_cv_func_statfs" = "yes"; then
36738 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36739 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36740 if test "${wx_cv_func_statfs_decl+set}" = set; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 cat >conftest.
$ac_ext <<_ACEOF
36746 cat confdefs.h
>>conftest.
$ac_ext
36747 cat >>conftest.
$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36750 #if defined(__BSD__)
36751 #include <sys/param.h>
36752 #include <sys/mount.h>
36754 #include <sys/vfs.h>
36768 rm -f conftest.
$ac_objext
36769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36770 (eval $ac_compile) 2>conftest.er1
36772 grep -v '^ *+' conftest.er1
>conftest.err
36774 cat conftest.err
>&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); } &&
36777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36779 (eval $ac_try) 2>&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); }; } &&
36783 { ac_try
='test -s conftest.$ac_objext'
36784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36785 (eval $ac_try) 2>&5
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); }; }; then
36789 wx_cv_func_statfs_decl
=yes
36791 echo "$as_me: failed program was:" >&5
36792 sed 's/^/| /' conftest.
$ac_ext >&5
36794 wx_cv_func_statfs_decl
=no
36797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36800 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36801 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36803 if test "$wx_cv_func_statfs_decl" = "yes"; then
36804 cat >>confdefs.h
<<\_ACEOF
36805 #define HAVE_STATFS_DECL 1
36810 wx_cv_type_statvfs_t
="struct statfs"
36811 cat >>confdefs.h
<<\_ACEOF
36812 #define HAVE_STATFS 1
36816 echo "$as_me:$LINENO: checking for statvfs" >&5
36817 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36818 if test "${wx_cv_func_statvfs+set}" = set; then
36819 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 cat >conftest.
$ac_ext <<_ACEOF
36824 cat confdefs.h
>>conftest.
$ac_ext
36825 cat >>conftest.
$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36828 #include <stddef.h>
36829 #include <sys/statvfs.h>
36835 statvfs("/", NULL);
36841 rm -f conftest.
$ac_objext
36842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36843 (eval $ac_compile) 2>conftest.er1
36845 grep -v '^ *+' conftest.er1
>conftest.err
36847 cat conftest.err
>&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } &&
36850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; } &&
36856 { ac_try
='test -s conftest.$ac_objext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 wx_cv_func_statvfs
=yes
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.
$ac_ext >&5
36867 wx_cv_func_statvfs
=no
36870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36873 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36874 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36876 if test "$wx_cv_func_statvfs" = "yes"; then
36877 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36878 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36879 if test "${wx_cv_type_statvfs_t+set}" = set; then
36880 echo $ECHO_N "(cached) $ECHO_C" >&6
36882 cat >conftest.
$ac_ext <<_ACEOF
36885 cat confdefs.h
>>conftest.
$ac_ext
36886 cat >>conftest.
$ac_ext <<_ACEOF
36887 /* end confdefs.h. */
36889 #include <sys/statvfs.h>
36906 rm -f conftest.
$ac_objext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36908 (eval $ac_compile) 2>conftest.er1
36910 grep -v '^ *+' conftest.er1
>conftest.err
36912 cat conftest.err
>&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; } &&
36921 { ac_try
='test -s conftest.$ac_objext'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 wx_cv_type_statvfs_t
=statvfs_t
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.
$ac_ext >&5
36933 cat >conftest.
$ac_ext <<_ACEOF
36936 cat confdefs.h
>>conftest.
$ac_ext
36937 cat >>conftest.
$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36940 #include <sys/statvfs.h>
36957 rm -f conftest.
$ac_objext
36958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36959 (eval $ac_compile) 2>conftest.er1
36961 grep -v '^ *+' conftest.er1
>conftest.err
36963 cat conftest.err
>&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } &&
36966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; } &&
36972 { ac_try
='test -s conftest.$ac_objext'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; }; then
36978 wx_cv_type_statvfs_t
="struct statvfs"
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.
$ac_ext >&5
36983 wx_cv_type_statvfs_t
="unknown"
36986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36993 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36994 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36996 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36997 cat >>confdefs.h
<<\_ACEOF
36998 #define HAVE_STATVFS 1
37003 wx_cv_type_statvfs_t
="unknown"
37007 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37008 cat >>confdefs.h
<<_ACEOF
37009 #define WX_STATFS_T $wx_cv_type_statvfs_t
37013 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37014 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37017 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37020 for ac_func
in fcntl flock
37022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37023 echo "$as_me:$LINENO: checking for $ac_func" >&5
37024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37025 if eval "test \"\${$as_ac_var+set}\" = set"; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37028 cat >conftest.
$ac_ext <<_ACEOF
37031 cat confdefs.h
>>conftest.
$ac_ext
37032 cat >>conftest.
$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37036 #define $ac_func innocuous_$ac_func
37038 /* System header to define __stub macros and hopefully few prototypes,
37039 which can conflict with char $ac_func (); below.
37040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041 <limits.h> exists even on freestanding compilers. */
37044 # include <limits.h>
37046 # include <assert.h>
37051 /* Override any gcc2 internal prototype to avoid an error. */
37056 /* We use char because int might match the return type of a gcc2
37057 builtin and then its argument prototype would still apply. */
37059 /* The GNU C library defines this for functions which it implements
37060 to always fail with ENOSYS. Some functions are actually named
37061 something starting with __ and the normal name is an alias. */
37062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37065 char (*f) () = $ac_func;
37074 return f != $ac_func;
37079 rm -f conftest.
$ac_objext conftest
$ac_exeext
37080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37081 (eval $ac_link) 2>conftest.er1
37083 grep -v '^ *+' conftest.er1
>conftest.err
37085 cat conftest.err
>&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } &&
37088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37090 (eval $ac_try) 2>&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); }; } &&
37094 { ac_try
='test -s conftest$ac_exeext'
37095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37096 (eval $ac_try) 2>&5
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); }; }; then
37100 eval "$as_ac_var=yes"
37102 echo "$as_me: failed program was:" >&5
37103 sed 's/^/| /' conftest.
$ac_ext >&5
37105 eval "$as_ac_var=no"
37107 rm -f conftest.err conftest.
$ac_objext \
37108 conftest
$ac_exeext conftest.
$ac_ext
37110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37112 if test `eval echo '${'$as_ac_var'}'` = yes; then
37113 cat >>confdefs.h
<<_ACEOF
37114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37121 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37122 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37123 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37124 wxUSE_SNGLINST_CHECKER
=no
37129 for ac_func
in timegm
37131 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37132 echo "$as_me:$LINENO: checking for $ac_func" >&5
37133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37134 if eval "test \"\${$as_ac_var+set}\" = set"; then
37135 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 cat >conftest.
$ac_ext <<_ACEOF
37140 cat confdefs.h
>>conftest.
$ac_ext
37141 cat >>conftest.
$ac_ext <<_ACEOF
37142 /* end confdefs.h. */
37143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37145 #define $ac_func innocuous_$ac_func
37147 /* System header to define __stub macros and hopefully few prototypes,
37148 which can conflict with char $ac_func (); below.
37149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37150 <limits.h> exists even on freestanding compilers. */
37153 # include <limits.h>
37155 # include <assert.h>
37160 /* Override any gcc2 internal prototype to avoid an error. */
37165 /* We use char because int might match the return type of a gcc2
37166 builtin and then its argument prototype would still apply. */
37168 /* The GNU C library defines this for functions which it implements
37169 to always fail with ENOSYS. Some functions are actually named
37170 something starting with __ and the normal name is an alias. */
37171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37174 char (*f) () = $ac_func;
37183 return f != $ac_func;
37188 rm -f conftest.
$ac_objext conftest
$ac_exeext
37189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37190 (eval $ac_link) 2>conftest.er1
37192 grep -v '^ *+' conftest.er1
>conftest.err
37194 cat conftest.err
>&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } &&
37197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37199 (eval $ac_try) 2>&5
37201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37202 (exit $ac_status); }; } &&
37203 { ac_try
='test -s conftest$ac_exeext'
37204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37205 (eval $ac_try) 2>&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); }; }; then
37209 eval "$as_ac_var=yes"
37211 echo "$as_me: failed program was:" >&5
37212 sed 's/^/| /' conftest.
$ac_ext >&5
37214 eval "$as_ac_var=no"
37216 rm -f conftest.err conftest.
$ac_objext \
37217 conftest
$ac_exeext conftest.
$ac_ext
37219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37221 if test `eval echo '${'$as_ac_var'}'` = yes; then
37222 cat >>confdefs.h
<<_ACEOF
37223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37232 for ac_func
in putenv setenv
37234 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37235 echo "$as_me:$LINENO: checking for $ac_func" >&5
37236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37237 if eval "test \"\${$as_ac_var+set}\" = set"; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37240 cat >conftest.
$ac_ext <<_ACEOF
37243 cat confdefs.h
>>conftest.
$ac_ext
37244 cat >>conftest.
$ac_ext <<_ACEOF
37245 /* end confdefs.h. */
37246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37248 #define $ac_func innocuous_$ac_func
37250 /* System header to define __stub macros and hopefully few prototypes,
37251 which can conflict with char $ac_func (); below.
37252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37253 <limits.h> exists even on freestanding compilers. */
37256 # include <limits.h>
37258 # include <assert.h>
37263 /* Override any gcc2 internal prototype to avoid an error. */
37268 /* We use char because int might match the return type of a gcc2
37269 builtin and then its argument prototype would still apply. */
37271 /* The GNU C library defines this for functions which it implements
37272 to always fail with ENOSYS. Some functions are actually named
37273 something starting with __ and the normal name is an alias. */
37274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37277 char (*f) () = $ac_func;
37286 return f != $ac_func;
37291 rm -f conftest.
$ac_objext conftest
$ac_exeext
37292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37293 (eval $ac_link) 2>conftest.er1
37295 grep -v '^ *+' conftest.er1
>conftest.err
37297 cat conftest.err
>&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); } &&
37300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; } &&
37306 { ac_try
='test -s conftest$ac_exeext'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; }; then
37312 eval "$as_ac_var=yes"
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.
$ac_ext >&5
37317 eval "$as_ac_var=no"
37319 rm -f conftest.err conftest.
$ac_objext \
37320 conftest
$ac_exeext conftest.
$ac_ext
37322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37324 if test `eval echo '${'$as_ac_var'}'` = yes; then
37325 cat >>confdefs.h
<<_ACEOF
37326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37333 HAVE_SOME_SLEEP_FUNC
=0
37334 if test "$USE_BEOS" = 1; then
37335 cat >>confdefs.h
<<\_ACEOF
37336 #define HAVE_SLEEP 1
37339 HAVE_SOME_SLEEP_FUNC
=1
37342 if test "$USE_DARWIN" = 1; then
37343 cat >>confdefs.h
<<\_ACEOF
37344 #define HAVE_USLEEP 1
37347 HAVE_SOME_SLEEP_FUNC
=1
37350 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37353 for ac_func
in nanosleep
37355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37377 # include <limits.h>
37379 # include <assert.h>
37384 /* Override any gcc2 internal prototype to avoid an error. */
37389 /* We use char because int might match the return type of a gcc2
37390 builtin and then its argument prototype would still apply. */
37392 /* The GNU C library defines this for functions which it implements
37393 to always fail with ENOSYS. Some functions are actually named
37394 something starting with __ and the normal name is an alias. */
37395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37398 char (*f) () = $ac_func;
37407 return f != $ac_func;
37412 rm -f conftest.
$ac_objext conftest
$ac_exeext
37413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37414 (eval $ac_link) 2>conftest.er1
37416 grep -v '^ *+' conftest.er1
>conftest.err
37418 cat conftest.err
>&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try
='test -s conftest$ac_exeext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 eval "$as_ac_var=yes"
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.
$ac_ext >&5
37438 eval "$as_ac_var=no"
37440 rm -f conftest.err conftest.
$ac_objext \
37441 conftest
$ac_exeext conftest.
$ac_ext
37443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h
<<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37449 cat >>confdefs.h
<<\_ACEOF
37450 #define HAVE_NANOSLEEP 1
37455 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37456 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37457 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37458 echo $ECHO_N "(cached) $ECHO_C" >&6
37460 ac_check_lib_save_LIBS
=$LIBS
37461 LIBS
="-lposix4 $LIBS"
37462 cat >conftest.
$ac_ext <<_ACEOF
37465 cat confdefs.h
>>conftest.
$ac_ext
37466 cat >>conftest.
$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37469 /* Override any gcc2 internal prototype to avoid an error. */
37473 /* We use char because int might match the return type of a gcc2
37474 builtin and then its argument prototype would still apply. */
37484 rm -f conftest.
$ac_objext conftest
$ac_exeext
37485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37486 (eval $ac_link) 2>conftest.er1
37488 grep -v '^ *+' conftest.er1
>conftest.err
37490 cat conftest.err
>&5
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); } &&
37493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37495 (eval $ac_try) 2>&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); }; } &&
37499 { ac_try
='test -s conftest$ac_exeext'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; }; then
37505 ac_cv_lib_posix4_nanosleep
=yes
37507 echo "$as_me: failed program was:" >&5
37508 sed 's/^/| /' conftest.
$ac_ext >&5
37510 ac_cv_lib_posix4_nanosleep
=no
37512 rm -f conftest.err conftest.
$ac_objext \
37513 conftest
$ac_exeext conftest.
$ac_ext
37514 LIBS
=$ac_check_lib_save_LIBS
37516 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37517 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37518 if test $ac_cv_lib_posix4_nanosleep = yes; then
37520 cat >>confdefs.h
<<\_ACEOF
37521 #define HAVE_NANOSLEEP 1
37524 POSIX4_LINK
=" -lposix4"
37529 for ac_func
in usleep
37531 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37532 echo "$as_me:$LINENO: checking for $ac_func" >&5
37533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37534 if eval "test \"\${$as_ac_var+set}\" = set"; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 cat >conftest.
$ac_ext <<_ACEOF
37540 cat confdefs.h
>>conftest.
$ac_ext
37541 cat >>conftest.
$ac_ext <<_ACEOF
37542 /* end confdefs.h. */
37543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37545 #define $ac_func innocuous_$ac_func
37547 /* System header to define __stub macros and hopefully few prototypes,
37548 which can conflict with char $ac_func (); below.
37549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37550 <limits.h> exists even on freestanding compilers. */
37553 # include <limits.h>
37555 # include <assert.h>
37560 /* Override any gcc2 internal prototype to avoid an error. */
37565 /* We use char because int might match the return type of a gcc2
37566 builtin and then its argument prototype would still apply. */
37568 /* The GNU C library defines this for functions which it implements
37569 to always fail with ENOSYS. Some functions are actually named
37570 something starting with __ and the normal name is an alias. */
37571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37574 char (*f) () = $ac_func;
37583 return f != $ac_func;
37588 rm -f conftest.
$ac_objext conftest
$ac_exeext
37589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37590 (eval $ac_link) 2>conftest.er1
37592 grep -v '^ *+' conftest.er1
>conftest.err
37594 cat conftest.err
>&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } &&
37597 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37599 (eval $ac_try) 2>&5
37601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37602 (exit $ac_status); }; } &&
37603 { ac_try
='test -s conftest$ac_exeext'
37604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37605 (eval $ac_try) 2>&5
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); }; }; then
37609 eval "$as_ac_var=yes"
37611 echo "$as_me: failed program was:" >&5
37612 sed 's/^/| /' conftest.
$ac_ext >&5
37614 eval "$as_ac_var=no"
37616 rm -f conftest.err conftest.
$ac_objext \
37617 conftest
$ac_exeext conftest.
$ac_ext
37619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37621 if test `eval echo '${'$as_ac_var'}'` = yes; then
37622 cat >>confdefs.h
<<_ACEOF
37623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37625 cat >>confdefs.h
<<\_ACEOF
37626 #define HAVE_USLEEP 1
37630 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37631 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37649 for ac_func
in uname gethostname
37651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37652 echo "$as_me:$LINENO: checking for $ac_func" >&5
37653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37654 if eval "test \"\${$as_ac_var+set}\" = set"; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37657 cat >conftest.
$ac_ext <<_ACEOF
37660 cat confdefs.h
>>conftest.
$ac_ext
37661 cat >>conftest.
$ac_ext <<_ACEOF
37662 /* end confdefs.h. */
37663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37665 #define $ac_func innocuous_$ac_func
37667 /* System header to define __stub macros and hopefully few prototypes,
37668 which can conflict with char $ac_func (); below.
37669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37670 <limits.h> exists even on freestanding compilers. */
37673 # include <limits.h>
37675 # include <assert.h>
37680 /* Override any gcc2 internal prototype to avoid an error. */
37685 /* We use char because int might match the return type of a gcc2
37686 builtin and then its argument prototype would still apply. */
37688 /* The GNU C library defines this for functions which it implements
37689 to always fail with ENOSYS. Some functions are actually named
37690 something starting with __ and the normal name is an alias. */
37691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37694 char (*f) () = $ac_func;
37703 return f != $ac_func;
37708 rm -f conftest.
$ac_objext conftest
$ac_exeext
37709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37710 (eval $ac_link) 2>conftest.er1
37712 grep -v '^ *+' conftest.er1
>conftest.err
37714 cat conftest.err
>&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } &&
37717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; } &&
37723 { ac_try
='test -s conftest$ac_exeext'
37724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725 (eval $ac_try) 2>&5
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); }; }; then
37729 eval "$as_ac_var=yes"
37731 echo "$as_me: failed program was:" >&5
37732 sed 's/^/| /' conftest.
$ac_ext >&5
37734 eval "$as_ac_var=no"
37736 rm -f conftest.err conftest.
$ac_objext \
37737 conftest
$ac_exeext conftest.
$ac_ext
37739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37741 if test `eval echo '${'$as_ac_var'}'` = yes; then
37742 cat >>confdefs.h
<<_ACEOF
37743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37751 for wx_func
in strtok_r
37753 echo "$as_me:$LINENO: checking for $wx_func" >&5
37754 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37755 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37756 echo $ECHO_N "(cached) $ECHO_C" >&6
37759 cat >conftest.
$ac_ext <<_ACEOF
37763 cat confdefs.h
>>conftest.
$ac_ext
37764 cat >>conftest.
$ac_ext <<_ACEOF
37765 /* end confdefs.h. */
37768 $ac_includes_default
37784 rm -f conftest.
$ac_objext conftest
$ac_exeext
37785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37786 (eval $ac_link) 2>conftest.er1
37788 grep -v '^ *+' conftest.er1
>conftest.err
37790 cat conftest.err
>&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); } &&
37793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37795 (eval $ac_try) 2>&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); }; } &&
37799 { ac_try
='test -s conftest$ac_exeext'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; }; then
37805 eval wx_cv_func_
$wx_func=yes
37807 echo "$as_me: failed program was:" >&5
37808 sed 's/^/| /' conftest.
$ac_ext >&5
37810 eval wx_cv_func_
$wx_func=no
37812 rm -f conftest.err conftest.
$ac_objext \
37813 conftest
$ac_exeext conftest.
$ac_ext
37816 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37817 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37819 if eval test \
$wx_cv_func_$wx_func = yes
37821 cat >>confdefs.h
<<_ACEOF
37822 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37835 for ac_func
in inet_addr
37837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37838 echo "$as_me:$LINENO: checking for $ac_func" >&5
37839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37840 if eval "test \"\${$as_ac_var+set}\" = set"; then
37841 echo $ECHO_N "(cached) $ECHO_C" >&6
37843 cat >conftest.
$ac_ext <<_ACEOF
37846 cat confdefs.h
>>conftest.
$ac_ext
37847 cat >>conftest.
$ac_ext <<_ACEOF
37848 /* end confdefs.h. */
37849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37851 #define $ac_func innocuous_$ac_func
37853 /* System header to define __stub macros and hopefully few prototypes,
37854 which can conflict with char $ac_func (); below.
37855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37856 <limits.h> exists even on freestanding compilers. */
37859 # include <limits.h>
37861 # include <assert.h>
37866 /* Override any gcc2 internal prototype to avoid an error. */
37871 /* We use char because int might match the return type of a gcc2
37872 builtin and then its argument prototype would still apply. */
37874 /* The GNU C library defines this for functions which it implements
37875 to always fail with ENOSYS. Some functions are actually named
37876 something starting with __ and the normal name is an alias. */
37877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37880 char (*f) () = $ac_func;
37889 return f != $ac_func;
37894 rm -f conftest.
$ac_objext conftest
$ac_exeext
37895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37896 (eval $ac_link) 2>conftest.er1
37898 grep -v '^ *+' conftest.er1
>conftest.err
37900 cat conftest.err
>&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); } &&
37903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37905 (eval $ac_try) 2>&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); }; } &&
37909 { ac_try
='test -s conftest$ac_exeext'
37910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37911 (eval $ac_try) 2>&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; }; then
37915 eval "$as_ac_var=yes"
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.
$ac_ext >&5
37920 eval "$as_ac_var=no"
37922 rm -f conftest.err conftest.
$ac_objext \
37923 conftest
$ac_exeext conftest.
$ac_ext
37925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37927 if test `eval echo '${'$as_ac_var'}'` = yes; then
37928 cat >>confdefs.h
<<_ACEOF
37929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37931 cat >>confdefs.h
<<\_ACEOF
37932 #define HAVE_INET_ADDR 1
37937 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37938 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37939 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37940 echo $ECHO_N "(cached) $ECHO_C" >&6
37942 ac_check_lib_save_LIBS
=$LIBS
37944 cat >conftest.
$ac_ext <<_ACEOF
37947 cat confdefs.h
>>conftest.
$ac_ext
37948 cat >>conftest.
$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37951 /* Override any gcc2 internal prototype to avoid an error. */
37955 /* We use char because int might match the return type of a gcc2
37956 builtin and then its argument prototype would still apply. */
37966 rm -f conftest.
$ac_objext conftest
$ac_exeext
37967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37968 (eval $ac_link) 2>conftest.er1
37970 grep -v '^ *+' conftest.er1
>conftest.err
37972 cat conftest.err
>&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } &&
37975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37977 (eval $ac_try) 2>&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); }; } &&
37981 { ac_try
='test -s conftest$ac_exeext'
37982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37983 (eval $ac_try) 2>&5
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); }; }; then
37987 ac_cv_lib_nsl_inet_addr
=yes
37989 echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.
$ac_ext >&5
37992 ac_cv_lib_nsl_inet_addr
=no
37994 rm -f conftest.err conftest.
$ac_objext \
37995 conftest
$ac_exeext conftest.
$ac_ext
37996 LIBS
=$ac_check_lib_save_LIBS
37998 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37999 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38000 if test $ac_cv_lib_nsl_inet_addr = yes; then
38004 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38005 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38006 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 ac_check_lib_save_LIBS
=$LIBS
38010 LIBS
="-lresolv $LIBS"
38011 cat >conftest.
$ac_ext <<_ACEOF
38014 cat confdefs.h
>>conftest.
$ac_ext
38015 cat >>conftest.
$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38018 /* Override any gcc2 internal prototype to avoid an error. */
38022 /* We use char because int might match the return type of a gcc2
38023 builtin and then its argument prototype would still apply. */
38033 rm -f conftest.
$ac_objext conftest
$ac_exeext
38034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38035 (eval $ac_link) 2>conftest.er1
38037 grep -v '^ *+' conftest.er1
>conftest.err
38039 cat conftest.err
>&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } &&
38042 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; } &&
38048 { ac_try
='test -s conftest$ac_exeext'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; }; then
38054 ac_cv_lib_resolv_inet_addr
=yes
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.
$ac_ext >&5
38059 ac_cv_lib_resolv_inet_addr
=no
38061 rm -f conftest.err conftest.
$ac_objext \
38062 conftest
$ac_exeext conftest.
$ac_ext
38063 LIBS
=$ac_check_lib_save_LIBS
38065 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38066 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38067 if test $ac_cv_lib_resolv_inet_addr = yes; then
38071 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38072 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38073 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38076 ac_check_lib_save_LIBS
=$LIBS
38077 LIBS
="-lsocket $LIBS"
38078 cat >conftest.
$ac_ext <<_ACEOF
38081 cat confdefs.h
>>conftest.
$ac_ext
38082 cat >>conftest.
$ac_ext <<_ACEOF
38083 /* end confdefs.h. */
38085 /* Override any gcc2 internal prototype to avoid an error. */
38089 /* We use char because int might match the return type of a gcc2
38090 builtin and then its argument prototype would still apply. */
38100 rm -f conftest.
$ac_objext conftest
$ac_exeext
38101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38102 (eval $ac_link) 2>conftest.er1
38104 grep -v '^ *+' conftest.er1
>conftest.err
38106 cat conftest.err
>&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } &&
38109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38111 (eval $ac_try) 2>&5
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); }; } &&
38115 { ac_try
='test -s conftest$ac_exeext'
38116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38117 (eval $ac_try) 2>&5
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); }; }; then
38121 ac_cv_lib_socket_inet_addr
=yes
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.
$ac_ext >&5
38126 ac_cv_lib_socket_inet_addr
=no
38128 rm -f conftest.err conftest.
$ac_objext \
38129 conftest
$ac_exeext conftest.
$ac_ext
38130 LIBS
=$ac_check_lib_save_LIBS
38132 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38133 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38134 if test $ac_cv_lib_socket_inet_addr = yes; then
38154 for ac_func
in inet_aton
38156 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38157 echo "$as_me:$LINENO: checking for $ac_func" >&5
38158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38159 if eval "test \"\${$as_ac_var+set}\" = set"; then
38160 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 cat >conftest.
$ac_ext <<_ACEOF
38165 cat confdefs.h
>>conftest.
$ac_ext
38166 cat >>conftest.
$ac_ext <<_ACEOF
38167 /* end confdefs.h. */
38168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38170 #define $ac_func innocuous_$ac_func
38172 /* System header to define __stub macros and hopefully few prototypes,
38173 which can conflict with char $ac_func (); below.
38174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38175 <limits.h> exists even on freestanding compilers. */
38178 # include <limits.h>
38180 # include <assert.h>
38185 /* Override any gcc2 internal prototype to avoid an error. */
38190 /* We use char because int might match the return type of a gcc2
38191 builtin and then its argument prototype would still apply. */
38193 /* The GNU C library defines this for functions which it implements
38194 to always fail with ENOSYS. Some functions are actually named
38195 something starting with __ and the normal name is an alias. */
38196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38199 char (*f) () = $ac_func;
38208 return f != $ac_func;
38213 rm -f conftest.
$ac_objext conftest
$ac_exeext
38214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38215 (eval $ac_link) 2>conftest.er1
38217 grep -v '^ *+' conftest.er1
>conftest.err
38219 cat conftest.err
>&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); } &&
38222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38224 (eval $ac_try) 2>&5
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); }; } &&
38228 { ac_try
='test -s conftest$ac_exeext'
38229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38230 (eval $ac_try) 2>&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); }; }; then
38234 eval "$as_ac_var=yes"
38236 echo "$as_me: failed program was:" >&5
38237 sed 's/^/| /' conftest.
$ac_ext >&5
38239 eval "$as_ac_var=no"
38241 rm -f conftest.err conftest.
$ac_objext \
38242 conftest
$ac_exeext conftest.
$ac_ext
38244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38246 if test `eval echo '${'$as_ac_var'}'` = yes; then
38247 cat >>confdefs.h
<<_ACEOF
38248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38250 cat >>confdefs.h
<<\_ACEOF
38251 #define HAVE_INET_ATON 1
38256 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38257 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38258 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38259 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38260 echo $ECHO_N "(cached) $ECHO_C" >&6
38262 ac_check_lib_save_LIBS
=$LIBS
38263 LIBS
="-l$INET_LINK $LIBS"
38264 cat >conftest.
$ac_ext <<_ACEOF
38267 cat confdefs.h
>>conftest.
$ac_ext
38268 cat >>conftest.
$ac_ext <<_ACEOF
38269 /* end confdefs.h. */
38271 /* Override any gcc2 internal prototype to avoid an error. */
38275 /* We use char because int might match the return type of a gcc2
38276 builtin and then its argument prototype would still apply. */
38286 rm -f conftest.
$ac_objext conftest
$ac_exeext
38287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38288 (eval $ac_link) 2>conftest.er1
38290 grep -v '^ *+' conftest.er1
>conftest.err
38292 cat conftest.err
>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } &&
38295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; } &&
38301 { ac_try
='test -s conftest$ac_exeext'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; }; then
38307 eval "$as_ac_Lib=yes"
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.
$ac_ext >&5
38312 eval "$as_ac_Lib=no"
38314 rm -f conftest.err conftest.
$ac_objext \
38315 conftest
$ac_exeext conftest.
$ac_ext
38316 LIBS
=$ac_check_lib_save_LIBS
38318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38319 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38320 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38321 cat >>confdefs.h
<<\_ACEOF
38322 #define HAVE_INET_ATON 1
38332 if test "x$INET_LINK" != "x"; then
38333 cat >>confdefs.h
<<\_ACEOF
38334 #define HAVE_INET_ADDR 1
38337 INET_LINK
=" -l$INET_LINK"
38345 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38346 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38347 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38350 ac_check_lib_save_LIBS
=$LIBS
38352 cat >conftest.
$ac_ext <<_ACEOF
38355 cat confdefs.h
>>conftest.
$ac_ext
38356 cat >>conftest.
$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38359 /* Override any gcc2 internal prototype to avoid an error. */
38363 /* We use char because int might match the return type of a gcc2
38364 builtin and then its argument prototype would still apply. */
38374 rm -f conftest.
$ac_objext conftest
$ac_exeext
38375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38376 (eval $ac_link) 2>conftest.er1
38378 grep -v '^ *+' conftest.er1
>conftest.err
38380 cat conftest.err
>&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } &&
38383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; } &&
38389 { ac_try
='test -s conftest$ac_exeext'
38390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38391 (eval $ac_try) 2>&5
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); }; }; then
38395 ac_cv_lib_esd_esd_close
=yes
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.
$ac_ext >&5
38400 ac_cv_lib_esd_esd_close
=no
38402 rm -f conftest.err conftest.
$ac_objext \
38403 conftest
$ac_exeext conftest.
$ac_ext
38404 LIBS
=$ac_check_lib_save_LIBS
38406 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38407 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38408 if test $ac_cv_lib_esd_esd_close = yes; then
38411 for ac_header
in esd.h
38413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38415 echo "$as_me:$LINENO: checking for $ac_header" >&5
38416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38423 # Is the header compilable?
38424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38426 cat >conftest.
$ac_ext <<_ACEOF
38429 cat confdefs.h
>>conftest.
$ac_ext
38430 cat >>conftest.
$ac_ext <<_ACEOF
38431 /* end confdefs.h. */
38432 $ac_includes_default
38433 #include <$ac_header>
38435 rm -f conftest.
$ac_objext
38436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38437 (eval $ac_compile) 2>conftest.er1
38439 grep -v '^ *+' conftest.er1
>conftest.err
38441 cat conftest.err
>&5
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); } &&
38444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; } &&
38450 { ac_try
='test -s conftest.$ac_objext'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; }; then
38456 ac_header_compiler
=yes
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.
$ac_ext >&5
38461 ac_header_compiler
=no
38463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38465 echo "${ECHO_T}$ac_header_compiler" >&6
38467 # Is the header present?
38468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38470 cat >conftest.
$ac_ext <<_ACEOF
38473 cat confdefs.h
>>conftest.
$ac_ext
38474 cat >>conftest.
$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38476 #include <$ac_header>
38478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38481 grep -v '^ *+' conftest.er1
>conftest.err
38483 cat conftest.err
>&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } >/dev
/null
; then
38486 if test -s conftest.err
; then
38487 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38488 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38495 if test -z "$ac_cpp_err"; then
38496 ac_header_preproc
=yes
38498 echo "$as_me: failed program was:" >&5
38499 sed 's/^/| /' conftest.
$ac_ext >&5
38501 ac_header_preproc
=no
38503 rm -f conftest.err conftest.
$ac_ext
38504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38505 echo "${ECHO_T}$ac_header_preproc" >&6
38507 # So? What about this header?
38508 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38514 ac_header_preproc
=yes
38517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38531 ## ----------------------------------------- ##
38532 ## Report this to wx-dev@lists.wxwidgets.org ##
38533 ## ----------------------------------------- ##
38536 sed "s/^/$as_me: WARNING: /" >&2
38539 echo "$as_me:$LINENO: checking for $ac_header" >&5
38540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 eval "$as_ac_Header=\$ac_header_preproc"
38546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38551 cat >>confdefs.h
<<_ACEOF
38552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38555 EXTRALIBS_ESD
="-lesd"
38566 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38567 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38568 cat >conftest.
$ac_ext <<_ACEOF
38571 cat confdefs.h
>>conftest.
$ac_ext
38572 cat >>conftest.
$ac_ext <<_ACEOF
38573 /* end confdefs.h. */
38575 #include <linux/cdrom.h>
38578 #include <sys/cdio.h>
38584 struct cdrom_tocentry entry, old_entry;
38589 rm -f conftest.
$ac_objext
38590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38591 (eval $ac_compile) 2>conftest.er1
38593 grep -v '^ *+' conftest.er1
>conftest.err
38595 cat conftest.err
>&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } &&
38598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38600 (eval $ac_try) 2>&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; } &&
38604 { ac_try
='test -s conftest.$ac_objext'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; }; then
38610 echo "$as_me:$LINENO: result: yes" >&5
38611 echo "${ECHO_T}yes" >&6
38612 cat >>confdefs.h
<<\_ACEOF
38613 #define HAVE_KNOWN_CDROM_INTERFACE 1
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.
$ac_ext >&5
38620 echo "$as_me:$LINENO: result: no" >&5
38621 echo "${ECHO_T}no" >&6
38623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38626 cat >confcache
<<\_ACEOF
38627 # This file is a shell script that caches the results of configure
38628 # tests run on this system so they can be shared between configure
38629 # scripts and configure runs, see configure's option --config-cache.
38630 # It is not useful on other systems. If it contains results you don't
38631 # want to keep, you may remove or edit it.
38633 # config.status only pays attention to the cache file if you give it
38634 # the --recheck option to rerun configure.
38636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38638 # following values.
38642 # The following way of writing the cache mishandles newlines in values,
38643 # but we know of no workaround that is simple, portable, and efficient.
38644 # So, don't put newlines in cache variables' values.
38645 # Ultrix sh set writes to stderr and can't be redirected directly,
38646 # and sets the high bit in the cache file unless we assign to the vars.
38649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38651 # `set' does not quote correctly, so add quotes (double-quote
38652 # substitution turns \\\\ into \\, and sed turns \\ into \).
38655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38658 # `set' quotes correctly as required by POSIX, so do not add quotes.
38660 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38667 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38669 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38671 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38672 if test -w $cache_file; then
38673 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38674 cat confcache
>$cache_file
38676 echo "not updating unwritable cache $cache_file"
38682 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38688 if test "$wxUSE_THREADS" = "yes" ; then
38689 if test "$USE_BEOS" = 1; then
38690 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38691 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38696 if test "$wxUSE_THREADS" = "yes" ; then
38699 THREAD_OPTS
="-pthread"
38701 *-*-solaris2* | *-*-sunos4* )
38702 if test "x$GCC" = "xyes"; then
38703 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38705 THREAD_OPTS
="-mt $THREAD_OPTS"
38709 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38711 *-*-darwin* | *-*-cygwin* )
38715 THREAD_OPTS
="pthreads"
38718 if test "x$GCC" = "xyes"; then
38719 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38727 if test "x$GCC" = "xyes"; then
38733 if test "x$GCC" != "xyes"; then
38734 THREAD_OPTS
="-Ethread"
38739 THREAD_OPTS
="$THREAD_OPTS pthread none"
38742 for flag
in $THREAD_OPTS; do
38745 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38746 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38750 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38751 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38752 THREADS_CXXFLAGS
="$flag"
38756 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38757 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38758 THREADS_LINK
="-l$flag"
38763 save_CXXFLAGS
="$CXXFLAGS"
38764 LIBS
="$THREADS_LINK $LIBS"
38765 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38767 cat >conftest.
$ac_ext <<_ACEOF
38770 cat confdefs.h
>>conftest.
$ac_ext
38771 cat >>conftest.
$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38773 #include <pthread.h>
38777 pthread_create(0,0,0,0);
38782 rm -f conftest.
$ac_objext conftest
$ac_exeext
38783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38784 (eval $ac_link) 2>conftest.er1
38786 grep -v '^ *+' conftest.er1
>conftest.err
38788 cat conftest.err
>&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); } &&
38791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38793 (eval $ac_try) 2>&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); }; } &&
38797 { ac_try
='test -s conftest$ac_exeext'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; }; then
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.
$ac_ext >&5
38809 rm -f conftest.err conftest.
$ac_objext \
38810 conftest
$ac_exeext conftest.
$ac_ext
38813 CXXFLAGS
="$save_CXXFLAGS"
38815 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38816 echo "${ECHO_T}$THREADS_OK" >&6
38817 if test "x$THREADS_OK" = "xyes"; then
38822 THREADS_CXXFLAGS
=""
38825 if test "x$THREADS_OK" != "xyes"; then
38827 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38828 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38830 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38831 LIBS
="$THREADS_LINK $LIBS"
38833 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38834 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38838 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38839 flag
="-D_THREAD_SAFE"
38842 flag
="-D_THREAD_SAFE"
38845 flag
="-D_REENTRANT"
38846 if test "x$GCC" != "xyes"; then
38847 flag
="$flag -D_RWSTD_MULTI_THREAD"
38850 *solaris
* | alpha
*-osf*)
38851 flag
="-D_REENTRANT"
38854 echo "$as_me:$LINENO: result: ${flag}" >&5
38855 echo "${ECHO_T}${flag}" >&6
38856 if test "x$flag" != xno
; then
38857 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38860 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38864 if test "$wxUSE_THREADS" = "yes" ; then
38866 for ac_func
in thr_setconcurrency
38868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38869 echo "$as_me:$LINENO: checking for $ac_func" >&5
38870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38871 if eval "test \"\${$as_ac_var+set}\" = set"; then
38872 echo $ECHO_N "(cached) $ECHO_C" >&6
38874 cat >conftest.
$ac_ext <<_ACEOF
38877 cat confdefs.h
>>conftest.
$ac_ext
38878 cat >>conftest.
$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38882 #define $ac_func innocuous_$ac_func
38884 /* System header to define __stub macros and hopefully few prototypes,
38885 which can conflict with char $ac_func (); below.
38886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38887 <limits.h> exists even on freestanding compilers. */
38890 # include <limits.h>
38892 # include <assert.h>
38897 /* Override any gcc2 internal prototype to avoid an error. */
38902 /* We use char because int might match the return type of a gcc2
38903 builtin and then its argument prototype would still apply. */
38905 /* The GNU C library defines this for functions which it implements
38906 to always fail with ENOSYS. Some functions are actually named
38907 something starting with __ and the normal name is an alias. */
38908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38911 char (*f) () = $ac_func;
38920 return f != $ac_func;
38925 rm -f conftest.
$ac_objext conftest
$ac_exeext
38926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38927 (eval $ac_link) 2>conftest.er1
38929 grep -v '^ *+' conftest.er1
>conftest.err
38931 cat conftest.err
>&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); } &&
38934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38936 (eval $ac_try) 2>&5
38938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38939 (exit $ac_status); }; } &&
38940 { ac_try
='test -s conftest$ac_exeext'
38941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38942 (eval $ac_try) 2>&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); }; }; then
38946 eval "$as_ac_var=yes"
38948 echo "$as_me: failed program was:" >&5
38949 sed 's/^/| /' conftest.
$ac_ext >&5
38951 eval "$as_ac_var=no"
38953 rm -f conftest.err conftest.
$ac_objext \
38954 conftest
$ac_exeext conftest.
$ac_ext
38956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38958 if test `eval echo '${'$as_ac_var'}'` = yes; then
38959 cat >>confdefs.h
<<_ACEOF
38960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38967 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38968 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38969 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38970 echo $ECHO_N "(cached) $ECHO_C" >&6
38973 cat >conftest.
$ac_ext <<_ACEOF
38976 cat confdefs.h
>>conftest.
$ac_ext
38977 cat >>conftest.
$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38979 #include <pthread.h>
38980 void ThreadCleanupFunc(void *p);
38987 pthread_cleanup_push(ThreadCleanupFunc, p);
38988 pthread_cleanup_pop(0);
38994 rm -f conftest.
$ac_objext
38995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38996 (eval $ac_compile) 2>conftest.er1
38998 grep -v '^ *+' conftest.er1
>conftest.err
39000 cat conftest.err
>&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } &&
39003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try
='test -s conftest.$ac_objext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39016 wx_cv_func_pthread_cleanup
=yes
39019 echo "$as_me: failed program was:" >&5
39020 sed 's/^/| /' conftest.
$ac_ext >&5
39023 wx_cv_func_pthread_cleanup
=no
39027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39030 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39031 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39032 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39033 cat >>confdefs.h
<<\_ACEOF
39034 #define wxHAVE_PTHREAD_CLEANUP 1
39040 for ac_header
in sched.h
39042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39044 echo "$as_me:$LINENO: checking for $ac_header" >&5
39045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39047 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39052 # Is the header compilable?
39053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39055 cat >conftest.
$ac_ext <<_ACEOF
39058 cat confdefs.h
>>conftest.
$ac_ext
39059 cat >>conftest.
$ac_ext <<_ACEOF
39060 /* end confdefs.h. */
39061 $ac_includes_default
39062 #include <$ac_header>
39064 rm -f conftest.
$ac_objext
39065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39066 (eval $ac_compile) 2>conftest.er1
39068 grep -v '^ *+' conftest.er1
>conftest.err
39070 cat conftest.err
>&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } &&
39073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39075 (eval $ac_try) 2>&5
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); }; } &&
39079 { ac_try
='test -s conftest.$ac_objext'
39080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39081 (eval $ac_try) 2>&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); }; }; then
39085 ac_header_compiler
=yes
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.
$ac_ext >&5
39090 ac_header_compiler
=no
39092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39094 echo "${ECHO_T}$ac_header_compiler" >&6
39096 # Is the header present?
39097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39099 cat >conftest.
$ac_ext <<_ACEOF
39102 cat confdefs.h
>>conftest.
$ac_ext
39103 cat >>conftest.
$ac_ext <<_ACEOF
39104 /* end confdefs.h. */
39105 #include <$ac_header>
39107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39110 grep -v '^ *+' conftest.er1
>conftest.err
39112 cat conftest.err
>&5
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); } >/dev
/null
; then
39115 if test -s conftest.err
; then
39116 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39117 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39124 if test -z "$ac_cpp_err"; then
39125 ac_header_preproc
=yes
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.
$ac_ext >&5
39130 ac_header_preproc
=no
39132 rm -f conftest.err conftest.
$ac_ext
39133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39134 echo "${ECHO_T}$ac_header_preproc" >&6
39136 # So? What about this header?
39137 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39143 ac_header_preproc
=yes
39146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39160 ## ----------------------------------------- ##
39161 ## Report this to wx-dev@lists.wxwidgets.org ##
39162 ## ----------------------------------------- ##
39165 sed "s/^/$as_me: WARNING: /" >&2
39168 echo "$as_me:$LINENO: checking for $ac_header" >&5
39169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39171 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 eval "$as_ac_Header=\$ac_header_preproc"
39175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39180 cat >>confdefs.h
<<_ACEOF
39181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39188 if test "$ac_cv_header_sched_h" = "yes"; then
39189 echo "$as_me:$LINENO: checking for sched_yield" >&5
39190 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39191 if test "${ac_cv_func_sched_yield+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39194 cat >conftest.
$ac_ext <<_ACEOF
39197 cat confdefs.h
>>conftest.
$ac_ext
39198 cat >>conftest.
$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39202 #define sched_yield innocuous_sched_yield
39204 /* System header to define __stub macros and hopefully few prototypes,
39205 which can conflict with char sched_yield (); below.
39206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39207 <limits.h> exists even on freestanding compilers. */
39210 # include <limits.h>
39212 # include <assert.h>
39217 /* Override any gcc2 internal prototype to avoid an error. */
39222 /* We use char because int might match the return type of a gcc2
39223 builtin and then its argument prototype would still apply. */
39224 char sched_yield ();
39225 /* The GNU C library defines this for functions which it implements
39226 to always fail with ENOSYS. Some functions are actually named
39227 something starting with __ and the normal name is an alias. */
39228 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39231 char (*f) () = sched_yield;
39240 return f != sched_yield;
39245 rm -f conftest.
$ac_objext conftest
$ac_exeext
39246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39247 (eval $ac_link) 2>conftest.er1
39249 grep -v '^ *+' conftest.er1
>conftest.err
39251 cat conftest.err
>&5
39252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39253 (exit $ac_status); } &&
39254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39256 (eval $ac_try) 2>&5
39258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39259 (exit $ac_status); }; } &&
39260 { ac_try
='test -s conftest$ac_exeext'
39261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39262 (eval $ac_try) 2>&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); }; }; then
39266 ac_cv_func_sched_yield
=yes
39268 echo "$as_me: failed program was:" >&5
39269 sed 's/^/| /' conftest.
$ac_ext >&5
39271 ac_cv_func_sched_yield
=no
39273 rm -f conftest.err conftest.
$ac_objext \
39274 conftest
$ac_exeext conftest.
$ac_ext
39276 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39277 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39278 if test $ac_cv_func_sched_yield = yes; then
39279 cat >>confdefs.h
<<\_ACEOF
39280 #define HAVE_SCHED_YIELD 1
39285 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39286 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39287 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39288 echo $ECHO_N "(cached) $ECHO_C" >&6
39290 ac_check_lib_save_LIBS
=$LIBS
39291 LIBS
="-lposix4 $LIBS"
39292 cat >conftest.
$ac_ext <<_ACEOF
39295 cat confdefs.h
>>conftest.
$ac_ext
39296 cat >>conftest.
$ac_ext <<_ACEOF
39297 /* end confdefs.h. */
39299 /* Override any gcc2 internal prototype to avoid an error. */
39303 /* We use char because int might match the return type of a gcc2
39304 builtin and then its argument prototype would still apply. */
39305 char sched_yield ();
39314 rm -f conftest.
$ac_objext conftest
$ac_exeext
39315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39316 (eval $ac_link) 2>conftest.er1
39318 grep -v '^ *+' conftest.er1
>conftest.err
39320 cat conftest.err
>&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); } &&
39323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325 (eval $ac_try) 2>&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); }; } &&
39329 { ac_try
='test -s conftest$ac_exeext'
39330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331 (eval $ac_try) 2>&5
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); }; }; then
39335 ac_cv_lib_posix4_sched_yield
=yes
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.
$ac_ext >&5
39340 ac_cv_lib_posix4_sched_yield
=no
39342 rm -f conftest.err conftest.
$ac_objext \
39343 conftest
$ac_exeext conftest.
$ac_ext
39344 LIBS
=$ac_check_lib_save_LIBS
39346 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39347 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39348 if test $ac_cv_lib_posix4_sched_yield = yes; then
39349 cat >>confdefs.h
<<\_ACEOF
39350 #define HAVE_SCHED_YIELD 1
39352 POSIX4_LINK
=" -lposix4"
39354 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39355 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39366 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39367 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39368 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 cat >conftest.
$ac_ext <<_ACEOF
39374 cat confdefs.h
>>conftest.
$ac_ext
39375 cat >>conftest.
$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char pthread_attr_getschedpolicy (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39387 # include <limits.h>
39389 # include <assert.h>
39392 #undef pthread_attr_getschedpolicy
39394 /* Override any gcc2 internal prototype to avoid an error. */
39399 /* We use char because int might match the return type of a gcc2
39400 builtin and then its argument prototype would still apply. */
39401 char pthread_attr_getschedpolicy ();
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39408 char (*f) () = pthread_attr_getschedpolicy;
39417 return f != pthread_attr_getschedpolicy;
39422 rm -f conftest.
$ac_objext conftest
$ac_exeext
39423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39424 (eval $ac_link) 2>conftest.er1
39426 grep -v '^ *+' conftest.er1
>conftest.err
39428 cat conftest.err
>&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } &&
39431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39433 (eval $ac_try) 2>&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); }; } &&
39437 { ac_try
='test -s conftest$ac_exeext'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; }; then
39443 ac_cv_func_pthread_attr_getschedpolicy
=yes
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.
$ac_ext >&5
39448 ac_cv_func_pthread_attr_getschedpolicy
=no
39450 rm -f conftest.err conftest.
$ac_objext \
39451 conftest
$ac_exeext conftest.
$ac_ext
39453 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39454 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39455 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39456 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39457 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39458 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 cat >conftest.
$ac_ext <<_ACEOF
39464 cat confdefs.h
>>conftest.
$ac_ext
39465 cat >>conftest.
$ac_ext <<_ACEOF
39466 /* end confdefs.h. */
39467 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39469 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39471 /* System header to define __stub macros and hopefully few prototypes,
39472 which can conflict with char pthread_attr_setschedparam (); below.
39473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39474 <limits.h> exists even on freestanding compilers. */
39477 # include <limits.h>
39479 # include <assert.h>
39482 #undef pthread_attr_setschedparam
39484 /* Override any gcc2 internal prototype to avoid an error. */
39489 /* We use char because int might match the return type of a gcc2
39490 builtin and then its argument prototype would still apply. */
39491 char pthread_attr_setschedparam ();
39492 /* The GNU C library defines this for functions which it implements
39493 to always fail with ENOSYS. Some functions are actually named
39494 something starting with __ and the normal name is an alias. */
39495 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39498 char (*f) () = pthread_attr_setschedparam;
39507 return f != pthread_attr_setschedparam;
39512 rm -f conftest.
$ac_objext conftest
$ac_exeext
39513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39514 (eval $ac_link) 2>conftest.er1
39516 grep -v '^ *+' conftest.er1
>conftest.err
39518 cat conftest.err
>&5
39519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39520 (exit $ac_status); } &&
39521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39523 (eval $ac_try) 2>&5
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); }; } &&
39527 { ac_try
='test -s conftest$ac_exeext'
39528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39529 (eval $ac_try) 2>&5
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); }; }; then
39533 ac_cv_func_pthread_attr_setschedparam
=yes
39535 echo "$as_me: failed program was:" >&5
39536 sed 's/^/| /' conftest.
$ac_ext >&5
39538 ac_cv_func_pthread_attr_setschedparam
=no
39540 rm -f conftest.err conftest.
$ac_objext \
39541 conftest
$ac_exeext conftest.
$ac_ext
39543 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39544 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39545 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39546 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39547 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39548 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39551 cat >conftest.
$ac_ext <<_ACEOF
39554 cat confdefs.h
>>conftest.
$ac_ext
39555 cat >>conftest.
$ac_ext <<_ACEOF
39556 /* end confdefs.h. */
39557 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39559 #define sched_get_priority_max innocuous_sched_get_priority_max
39561 /* System header to define __stub macros and hopefully few prototypes,
39562 which can conflict with char sched_get_priority_max (); below.
39563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39564 <limits.h> exists even on freestanding compilers. */
39567 # include <limits.h>
39569 # include <assert.h>
39572 #undef sched_get_priority_max
39574 /* Override any gcc2 internal prototype to avoid an error. */
39579 /* We use char because int might match the return type of a gcc2
39580 builtin and then its argument prototype would still apply. */
39581 char sched_get_priority_max ();
39582 /* The GNU C library defines this for functions which it implements
39583 to always fail with ENOSYS. Some functions are actually named
39584 something starting with __ and the normal name is an alias. */
39585 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39588 char (*f) () = sched_get_priority_max;
39597 return f != sched_get_priority_max;
39602 rm -f conftest.
$ac_objext conftest
$ac_exeext
39603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39604 (eval $ac_link) 2>conftest.er1
39606 grep -v '^ *+' conftest.er1
>conftest.err
39608 cat conftest.err
>&5
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); } &&
39611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39617 { ac_try
='test -s conftest$ac_exeext'
39618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39619 (eval $ac_try) 2>&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); }; }; then
39623 ac_cv_func_sched_get_priority_max
=yes
39625 echo "$as_me: failed program was:" >&5
39626 sed 's/^/| /' conftest.
$ac_ext >&5
39628 ac_cv_func_sched_get_priority_max
=no
39630 rm -f conftest.err conftest.
$ac_objext \
39631 conftest
$ac_exeext conftest.
$ac_ext
39633 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39634 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39635 if test $ac_cv_func_sched_get_priority_max = yes; then
39638 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39639 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39640 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39643 ac_check_lib_save_LIBS
=$LIBS
39644 LIBS
="-lposix4 $LIBS"
39645 cat >conftest.
$ac_ext <<_ACEOF
39648 cat confdefs.h
>>conftest.
$ac_ext
39649 cat >>conftest.
$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39652 /* Override any gcc2 internal prototype to avoid an error. */
39656 /* We use char because int might match the return type of a gcc2
39657 builtin and then its argument prototype would still apply. */
39658 char sched_get_priority_max ();
39662 sched_get_priority_max ();
39667 rm -f conftest.
$ac_objext conftest
$ac_exeext
39668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39669 (eval $ac_link) 2>conftest.er1
39671 grep -v '^ *+' conftest.er1
>conftest.err
39673 cat conftest.err
>&5
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); } &&
39676 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; } &&
39682 { ac_try
='test -s conftest$ac_exeext'
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; }; then
39688 ac_cv_lib_posix4_sched_get_priority_max
=yes
39690 echo "$as_me: failed program was:" >&5
39691 sed 's/^/| /' conftest.
$ac_ext >&5
39693 ac_cv_lib_posix4_sched_get_priority_max
=no
39695 rm -f conftest.err conftest.
$ac_objext \
39696 conftest
$ac_exeext conftest.
$ac_ext
39697 LIBS
=$ac_check_lib_save_LIBS
39699 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39700 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39701 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39704 POSIX4_LINK
=" -lposix4"
39718 if test "$HAVE_PRIOR_FUNCS" = 1; then
39719 cat >>confdefs.h
<<\_ACEOF
39720 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39724 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39725 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39728 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39729 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39730 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 cat >conftest.
$ac_ext <<_ACEOF
39736 cat confdefs.h
>>conftest.
$ac_ext
39737 cat >>conftest.
$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39741 #define pthread_cancel innocuous_pthread_cancel
39743 /* System header to define __stub macros and hopefully few prototypes,
39744 which can conflict with char pthread_cancel (); below.
39745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39746 <limits.h> exists even on freestanding compilers. */
39749 # include <limits.h>
39751 # include <assert.h>
39754 #undef pthread_cancel
39756 /* Override any gcc2 internal prototype to avoid an error. */
39761 /* We use char because int might match the return type of a gcc2
39762 builtin and then its argument prototype would still apply. */
39763 char pthread_cancel ();
39764 /* The GNU C library defines this for functions which it implements
39765 to always fail with ENOSYS. Some functions are actually named
39766 something starting with __ and the normal name is an alias. */
39767 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39770 char (*f) () = pthread_cancel;
39779 return f != pthread_cancel;
39784 rm -f conftest.
$ac_objext conftest
$ac_exeext
39785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39786 (eval $ac_link) 2>conftest.er1
39788 grep -v '^ *+' conftest.er1
>conftest.err
39790 cat conftest.err
>&5
39791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792 (exit $ac_status); } &&
39793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39795 (eval $ac_try) 2>&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); }; } &&
39799 { ac_try
='test -s conftest$ac_exeext'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; }; then
39805 ac_cv_func_pthread_cancel
=yes
39807 echo "$as_me: failed program was:" >&5
39808 sed 's/^/| /' conftest.
$ac_ext >&5
39810 ac_cv_func_pthread_cancel
=no
39812 rm -f conftest.err conftest.
$ac_objext \
39813 conftest
$ac_exeext conftest.
$ac_ext
39815 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39816 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39817 if test $ac_cv_func_pthread_cancel = yes; then
39818 cat >>confdefs.h
<<\_ACEOF
39819 #define HAVE_PTHREAD_CANCEL 1
39823 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39824 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39828 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39829 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39830 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39831 echo $ECHO_N "(cached) $ECHO_C" >&6
39833 cat >conftest.
$ac_ext <<_ACEOF
39836 cat confdefs.h
>>conftest.
$ac_ext
39837 cat >>conftest.
$ac_ext <<_ACEOF
39838 /* end confdefs.h. */
39839 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39841 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39843 /* System header to define __stub macros and hopefully few prototypes,
39844 which can conflict with char pthread_attr_setstacksize (); below.
39845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39846 <limits.h> exists even on freestanding compilers. */
39849 # include <limits.h>
39851 # include <assert.h>
39854 #undef pthread_attr_setstacksize
39856 /* Override any gcc2 internal prototype to avoid an error. */
39861 /* We use char because int might match the return type of a gcc2
39862 builtin and then its argument prototype would still apply. */
39863 char pthread_attr_setstacksize ();
39864 /* The GNU C library defines this for functions which it implements
39865 to always fail with ENOSYS. Some functions are actually named
39866 something starting with __ and the normal name is an alias. */
39867 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39870 char (*f) () = pthread_attr_setstacksize;
39879 return f != pthread_attr_setstacksize;
39884 rm -f conftest.
$ac_objext conftest
$ac_exeext
39885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39886 (eval $ac_link) 2>conftest.er1
39888 grep -v '^ *+' conftest.er1
>conftest.err
39890 cat conftest.err
>&5
39891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892 (exit $ac_status); } &&
39893 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895 (eval $ac_try) 2>&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); }; } &&
39899 { ac_try
='test -s conftest$ac_exeext'
39900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39901 (eval $ac_try) 2>&5
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); }; }; then
39905 ac_cv_func_pthread_attr_setstacksize
=yes
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.
$ac_ext >&5
39910 ac_cv_func_pthread_attr_setstacksize
=no
39912 rm -f conftest.err conftest.
$ac_objext \
39913 conftest
$ac_exeext conftest.
$ac_ext
39915 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39916 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39917 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39918 cat >>confdefs.h
<<\_ACEOF
39919 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39926 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39927 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39928 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39929 echo $ECHO_N "(cached) $ECHO_C" >&6
39932 cat >conftest.
$ac_ext <<_ACEOF
39935 cat confdefs.h
>>conftest.
$ac_ext
39936 cat >>conftest.
$ac_ext <<_ACEOF
39937 /* end confdefs.h. */
39938 #include <pthread.h>
39943 pthread_mutexattr_t attr;
39944 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39950 rm -f conftest.
$ac_objext
39951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39952 (eval $ac_compile) 2>conftest.er1
39954 grep -v '^ *+' conftest.er1
>conftest.err
39956 cat conftest.err
>&5
39957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958 (exit $ac_status); } &&
39959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39961 (eval $ac_try) 2>&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); }; } &&
39965 { ac_try
='test -s conftest.$ac_objext'
39966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39967 (eval $ac_try) 2>&5
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); }; }; then
39971 wx_cv_type_pthread_mutexattr_t
=yes
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.
$ac_ext >&5
39976 wx_cv_type_pthread_mutexattr_t
=no
39979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39982 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39983 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39985 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39986 cat >>confdefs.h
<<\_ACEOF
39987 #define HAVE_PTHREAD_MUTEXATTR_T 1
39991 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39992 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39993 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39994 echo $ECHO_N "(cached) $ECHO_C" >&6
39997 cat >conftest.
$ac_ext <<_ACEOF
40000 cat confdefs.h
>>conftest.
$ac_ext
40001 cat >>conftest.
$ac_ext <<_ACEOF
40002 /* end confdefs.h. */
40003 #include <pthread.h>
40008 pthread_mutexattr_t attr;
40009 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40015 rm -f conftest.
$ac_objext
40016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40017 (eval $ac_compile) 2>conftest.er1
40019 grep -v '^ *+' conftest.er1
>conftest.err
40021 cat conftest.err
>&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } &&
40024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40026 (eval $ac_try) 2>&5
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); }; } &&
40030 { ac_try
='test -s conftest.$ac_objext'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; }; then
40036 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.
$ac_ext >&5
40041 wx_cv_func_pthread_mutexattr_settype_decl
=no
40044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40047 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40048 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40049 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40050 cat >>confdefs.h
<<\_ACEOF
40051 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40056 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40057 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40058 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40059 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 cat >conftest.
$ac_ext <<_ACEOF
40065 cat confdefs.h
>>conftest.
$ac_ext
40066 cat >>conftest.
$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 #include <pthread.h>
40073 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40079 rm -f conftest.
$ac_objext
40080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40081 (eval $ac_compile) 2>conftest.er1
40083 grep -v '^ *+' conftest.er1
>conftest.err
40085 cat conftest.err
>&5
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); } &&
40088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40090 (eval $ac_try) 2>&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); }; } &&
40094 { ac_try
='test -s conftest.$ac_objext'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; }; then
40101 wx_cv_type_pthread_rec_mutex_init
=yes
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.
$ac_ext >&5
40108 wx_cv_type_pthread_rec_mutex_init
=no
40112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40115 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40116 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40117 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40118 cat >>confdefs.h
<<\_ACEOF
40119 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40123 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40124 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40130 if test "$wxUSE_THREADS" = "yes" ; then
40133 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40134 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40135 if test "${wx_cv_cflags_mthread+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 CXXFLAGS_OLD
="$CXXFLAGS"
40140 CXXFLAGS
="-mthreads $CXXFLAGS"
40141 cat >conftest.
$ac_ext <<_ACEOF
40144 cat confdefs.h
>>conftest.
$ac_ext
40145 cat >>conftest.
$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40156 rm -f conftest.
$ac_objext
40157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40158 (eval $ac_compile) 2>conftest.er1
40160 grep -v '^ *+' conftest.er1
>conftest.err
40162 cat conftest.err
>&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); } &&
40165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40167 (eval $ac_try) 2>&5
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); }; } &&
40171 { ac_try
='test -s conftest.$ac_objext'
40172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173 (eval $ac_try) 2>&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; }; then
40177 wx_cv_cflags_mthread
=yes
40179 echo "$as_me: failed program was:" >&5
40180 sed 's/^/| /' conftest.
$ac_ext >&5
40182 wx_cv_cflags_mthread
=no
40185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40189 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40190 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40192 if test "$wx_cv_cflags_mthread" = "yes"; then
40193 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40194 LDFLAGS
="$LDFLAGS -mthreads"
40196 CXXFLAGS
="$CXXFLAGS_OLD"
40200 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40201 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40202 LDFLAGS
="$LDFLAGS -Zmt"
40208 echo "$as_me:$LINENO: checking for localtime_r" >&5
40209 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40210 if test "${ac_cv_func_localtime_r+set}" = set; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 cat >conftest.
$ac_ext <<_ACEOF
40216 cat confdefs.h
>>conftest.
$ac_ext
40217 cat >>conftest.
$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40221 #define localtime_r innocuous_localtime_r
40223 /* System header to define __stub macros and hopefully few prototypes,
40224 which can conflict with char localtime_r (); below.
40225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40226 <limits.h> exists even on freestanding compilers. */
40229 # include <limits.h>
40231 # include <assert.h>
40236 /* Override any gcc2 internal prototype to avoid an error. */
40241 /* We use char because int might match the return type of a gcc2
40242 builtin and then its argument prototype would still apply. */
40243 char localtime_r ();
40244 /* The GNU C library defines this for functions which it implements
40245 to always fail with ENOSYS. Some functions are actually named
40246 something starting with __ and the normal name is an alias. */
40247 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40250 char (*f) () = localtime_r;
40259 return f != localtime_r;
40264 rm -f conftest.
$ac_objext conftest
$ac_exeext
40265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40266 (eval $ac_link) 2>conftest.er1
40268 grep -v '^ *+' conftest.er1
>conftest.err
40270 cat conftest.err
>&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } &&
40273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40275 (eval $ac_try) 2>&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); }; } &&
40279 { ac_try
='test -s conftest$ac_exeext'
40280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281 (eval $ac_try) 2>&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); }; }; then
40285 ac_cv_func_localtime_r
=yes
40287 echo "$as_me: failed program was:" >&5
40288 sed 's/^/| /' conftest.
$ac_ext >&5
40290 ac_cv_func_localtime_r
=no
40292 rm -f conftest.err conftest.
$ac_objext \
40293 conftest
$ac_exeext conftest.
$ac_ext
40295 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40296 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40297 if test $ac_cv_func_localtime_r = yes; then
40298 cat >>confdefs.h
<<\_ACEOF
40299 #define HAVE_LOCALTIME_R 1
40304 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40305 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40306 if test "${ac_cv_func_gmtime_r+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40309 cat >conftest.
$ac_ext <<_ACEOF
40312 cat confdefs.h
>>conftest.
$ac_ext
40313 cat >>conftest.
$ac_ext <<_ACEOF
40314 /* end confdefs.h. */
40315 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40317 #define gmtime_r innocuous_gmtime_r
40319 /* System header to define __stub macros and hopefully few prototypes,
40320 which can conflict with char gmtime_r (); below.
40321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40322 <limits.h> exists even on freestanding compilers. */
40325 # include <limits.h>
40327 # include <assert.h>
40332 /* Override any gcc2 internal prototype to avoid an error. */
40337 /* We use char because int might match the return type of a gcc2
40338 builtin and then its argument prototype would still apply. */
40340 /* The GNU C library defines this for functions which it implements
40341 to always fail with ENOSYS. Some functions are actually named
40342 something starting with __ and the normal name is an alias. */
40343 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40346 char (*f) () = gmtime_r;
40355 return f != gmtime_r;
40360 rm -f conftest.
$ac_objext conftest
$ac_exeext
40361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40362 (eval $ac_link) 2>conftest.er1
40364 grep -v '^ *+' conftest.er1
>conftest.err
40366 cat conftest.err
>&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } &&
40369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40371 (eval $ac_try) 2>&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); }; } &&
40375 { ac_try
='test -s conftest$ac_exeext'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; }; then
40381 ac_cv_func_gmtime_r
=yes
40383 echo "$as_me: failed program was:" >&5
40384 sed 's/^/| /' conftest.
$ac_ext >&5
40386 ac_cv_func_gmtime_r
=no
40388 rm -f conftest.err conftest.
$ac_objext \
40389 conftest
$ac_exeext conftest.
$ac_ext
40391 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40392 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40393 if test $ac_cv_func_gmtime_r = yes; then
40394 cat >>confdefs.h
<<\_ACEOF
40395 #define HAVE_GMTIME_R 1
40400 echo "$as_me:$LINENO: checking for readdir_r" >&5
40401 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40402 if test "${ac_cv_func_readdir_r+set}" = set; then
40403 echo $ECHO_N "(cached) $ECHO_C" >&6
40405 cat >conftest.
$ac_ext <<_ACEOF
40408 cat confdefs.h
>>conftest.
$ac_ext
40409 cat >>conftest.
$ac_ext <<_ACEOF
40410 /* end confdefs.h. */
40411 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40413 #define readdir_r innocuous_readdir_r
40415 /* System header to define __stub macros and hopefully few prototypes,
40416 which can conflict with char readdir_r (); below.
40417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40418 <limits.h> exists even on freestanding compilers. */
40421 # include <limits.h>
40423 # include <assert.h>
40428 /* Override any gcc2 internal prototype to avoid an error. */
40433 /* We use char because int might match the return type of a gcc2
40434 builtin and then its argument prototype would still apply. */
40436 /* The GNU C library defines this for functions which it implements
40437 to always fail with ENOSYS. Some functions are actually named
40438 something starting with __ and the normal name is an alias. */
40439 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40442 char (*f) () = readdir_r;
40451 return f != readdir_r;
40456 rm -f conftest.
$ac_objext conftest
$ac_exeext
40457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40458 (eval $ac_link) 2>conftest.er1
40460 grep -v '^ *+' conftest.er1
>conftest.err
40462 cat conftest.err
>&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); } &&
40465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40467 (eval $ac_try) 2>&5
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); }; } &&
40471 { ac_try
='test -s conftest$ac_exeext'
40472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40473 (eval $ac_try) 2>&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); }; }; then
40477 ac_cv_func_readdir_r
=yes
40479 echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.
$ac_ext >&5
40482 ac_cv_func_readdir_r
=no
40484 rm -f conftest.err conftest.
$ac_objext \
40485 conftest
$ac_exeext conftest.
$ac_ext
40487 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40488 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40489 if test $ac_cv_func_readdir_r = yes; then
40490 cat >>confdefs.h
<<\_ACEOF
40491 #define HAVE_READDIR_R 1
40500 ac_cpp
='$CPP $CPPFLAGS'
40501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40505 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40506 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40508 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40513 ################################################################
40515 ac_cv_func_which_gethostbyname_r
=unknown
40518 # ONE ARGUMENT (sanity check)
40521 # This should fail, as there is no variant of gethostbyname_r() that takes
40522 # a single argument. If it actually compiles, then we can assume that
40523 # netdb.h is not declaring the function, and the compiler is thereby
40524 # assuming an implicit prototype. In which case, we're out of luck.
40526 cat >conftest.
$ac_ext <<_ACEOF
40529 cat confdefs.h
>>conftest.
$ac_ext
40530 cat >>conftest.
$ac_ext <<_ACEOF
40531 /* end confdefs.h. */
40537 char *name = "www.gnu.org";
40538 (void)gethostbyname_r(name) /* ; */
40544 rm -f conftest.
$ac_objext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40546 (eval $ac_compile) 2>conftest.er1
40548 grep -v '^ *+' conftest.er1
>conftest.err
40550 cat conftest.err
>&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40555 (eval $ac_try) 2>&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); }; } &&
40559 { ac_try
='test -s conftest.$ac_objext'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; }; then
40565 ac_cv_func_which_gethostbyname_r
=no
40567 echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.
$ac_ext >&5
40571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40578 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40580 cat >conftest.
$ac_ext <<_ACEOF
40583 cat confdefs.h
>>conftest.
$ac_ext
40584 cat >>conftest.
$ac_ext <<_ACEOF
40585 /* end confdefs.h. */
40591 char *name = "www.gnu.org";
40592 struct hostent ret, *retp;
40596 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40602 rm -f conftest.
$ac_objext
40603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40604 (eval $ac_compile) 2>conftest.er1
40606 grep -v '^ *+' conftest.er1
>conftest.err
40608 cat conftest.err
>&5
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); } &&
40611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40613 (eval $ac_try) 2>&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); }; } &&
40617 { ac_try
='test -s conftest.$ac_objext'
40618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40619 (eval $ac_try) 2>&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); }; }; then
40623 ac_cv_func_which_gethostbyname_r
=six
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.
$ac_ext >&5
40629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40638 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40640 cat >conftest.
$ac_ext <<_ACEOF
40643 cat confdefs.h
>>conftest.
$ac_ext
40644 cat >>conftest.
$ac_ext <<_ACEOF
40645 /* end confdefs.h. */
40651 char *name = "www.gnu.org";
40652 struct hostent ret;
40656 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40662 rm -f conftest.
$ac_objext
40663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40664 (eval $ac_compile) 2>conftest.er1
40666 grep -v '^ *+' conftest.er1
>conftest.err
40668 cat conftest.err
>&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } &&
40671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673 (eval $ac_try) 2>&5
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); }; } &&
40677 { ac_try
='test -s conftest.$ac_objext'
40678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40679 (eval $ac_try) 2>&5
40681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682 (exit $ac_status); }; }; then
40683 ac_cv_func_which_gethostbyname_r
=five
40685 echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.
$ac_ext >&5
40689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40695 # (e.g. AIX, HP-UX, Tru64)
40698 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40700 cat >conftest.
$ac_ext <<_ACEOF
40703 cat confdefs.h
>>conftest.
$ac_ext
40704 cat >>conftest.
$ac_ext <<_ACEOF
40705 /* end confdefs.h. */
40711 char *name = "www.gnu.org";
40712 struct hostent ret;
40713 struct hostent_data data;
40714 (void)gethostbyname_r(name, &ret, &data) /* ; */
40720 rm -f conftest.
$ac_objext
40721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40722 (eval $ac_compile) 2>conftest.er1
40724 grep -v '^ *+' conftest.er1
>conftest.err
40726 cat conftest.err
>&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } &&
40729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40731 (eval $ac_try) 2>&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); }; } &&
40735 { ac_try
='test -s conftest.$ac_objext'
40736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40737 (eval $ac_try) 2>&5
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); }; }; then
40741 ac_cv_func_which_gethostbyname_r
=three
40743 echo "$as_me: failed program was:" >&5
40744 sed 's/^/| /' conftest.
$ac_ext >&5
40747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40751 ################################################################
40756 case "$ac_cv_func_which_gethostbyname_r" in
40758 echo "$as_me:$LINENO: result: three" >&5
40759 echo "${ECHO_T}three" >&6
40760 cat >>confdefs.h
<<\_ACEOF
40761 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40767 echo "$as_me:$LINENO: result: five" >&5
40768 echo "${ECHO_T}five" >&6
40769 cat >>confdefs.h
<<\_ACEOF
40770 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40776 echo "$as_me:$LINENO: result: six" >&5
40777 echo "${ECHO_T}six" >&6
40778 cat >>confdefs.h
<<\_ACEOF
40779 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40785 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40786 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40790 echo "$as_me:$LINENO: result: can't tell" >&5
40791 echo "${ECHO_T}can't tell" >&6
40795 { { echo "$as_me:$LINENO: error: internal error" >&5
40796 echo "$as_me: error: internal error" >&2;}
40797 { (exit 1); exit 1; }; }
40802 ac_cpp
='$CXXCPP $CPPFLAGS'
40803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40809 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40810 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40811 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40812 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40813 if test "${ac_cv_func_gethostbyname+set}" = set; then
40814 echo $ECHO_N "(cached) $ECHO_C" >&6
40816 cat >conftest.
$ac_ext <<_ACEOF
40819 cat confdefs.h
>>conftest.
$ac_ext
40820 cat >>conftest.
$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40822 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40824 #define gethostbyname innocuous_gethostbyname
40826 /* System header to define __stub macros and hopefully few prototypes,
40827 which can conflict with char gethostbyname (); below.
40828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40829 <limits.h> exists even on freestanding compilers. */
40832 # include <limits.h>
40834 # include <assert.h>
40837 #undef gethostbyname
40839 /* Override any gcc2 internal prototype to avoid an error. */
40844 /* We use char because int might match the return type of a gcc2
40845 builtin and then its argument prototype would still apply. */
40846 char gethostbyname ();
40847 /* The GNU C library defines this for functions which it implements
40848 to always fail with ENOSYS. Some functions are actually named
40849 something starting with __ and the normal name is an alias. */
40850 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40853 char (*f) () = gethostbyname;
40862 return f != gethostbyname;
40867 rm -f conftest.
$ac_objext conftest
$ac_exeext
40868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40869 (eval $ac_link) 2>conftest.er1
40871 grep -v '^ *+' conftest.er1
>conftest.err
40873 cat conftest.err
>&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); } &&
40876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40878 (eval $ac_try) 2>&5
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); }; } &&
40882 { ac_try
='test -s conftest$ac_exeext'
40883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40884 (eval $ac_try) 2>&5
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); }; }; then
40888 ac_cv_func_gethostbyname
=yes
40890 echo "$as_me: failed program was:" >&5
40891 sed 's/^/| /' conftest.
$ac_ext >&5
40893 ac_cv_func_gethostbyname
=no
40895 rm -f conftest.err conftest.
$ac_objext \
40896 conftest
$ac_exeext conftest.
$ac_ext
40898 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40899 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40900 if test $ac_cv_func_gethostbyname = yes; then
40901 cat >>confdefs.h
<<\_ACEOF
40902 #define HAVE_GETHOSTBYNAME 1
40909 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40910 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40911 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40912 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. */
40928 struct servent *se, *res;
40931 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40937 rm -f conftest.
$ac_objext
40938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40939 (eval $ac_compile) 2>conftest.er1
40941 grep -v '^ *+' conftest.er1
>conftest.err
40943 cat conftest.err
>&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } &&
40946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40948 (eval $ac_try) 2>&5
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); }; } &&
40952 { ac_try
='test -s conftest.$ac_objext'
40953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40954 (eval $ac_try) 2>&5
40956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40957 (exit $ac_status); }; }; then
40958 ac_cv_func_which_getservbyname_r
=six
40960 echo "$as_me: failed program was:" >&5
40961 sed 's/^/| /' conftest.
$ac_ext >&5
40964 cat >conftest.
$ac_ext <<_ACEOF
40967 cat confdefs.h
>>conftest.
$ac_ext
40968 cat >>conftest.
$ac_ext <<_ACEOF
40969 /* end confdefs.h. */
40977 struct servent *se;
40980 (void) getservbyname_r(name, proto, se, buffer, buflen)
40986 rm -f conftest.
$ac_objext
40987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40988 (eval $ac_compile) 2>conftest.er1
40990 grep -v '^ *+' conftest.er1
>conftest.err
40992 cat conftest.err
>&5
40993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40994 (exit $ac_status); } &&
40995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40997 (eval $ac_try) 2>&5
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); }; } &&
41001 { ac_try
='test -s conftest.$ac_objext'
41002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003 (eval $ac_try) 2>&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); }; }; then
41007 ac_cv_func_which_getservbyname_r
=five
41009 echo "$as_me: failed program was:" >&5
41010 sed 's/^/| /' conftest.
$ac_ext >&5
41013 cat >conftest.
$ac_ext <<_ACEOF
41016 cat confdefs.h
>>conftest.
$ac_ext
41017 cat >>conftest.
$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41026 struct servent *se;
41027 struct servent_data data;
41028 (void) getservbyname_r(name, proto, se, &data);
41034 rm -f conftest.
$ac_objext
41035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41036 (eval $ac_compile) 2>conftest.er1
41038 grep -v '^ *+' conftest.er1
>conftest.err
41040 cat conftest.err
>&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } &&
41043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; } &&
41049 { ac_try
='test -s conftest.$ac_objext'
41050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41051 (eval $ac_try) 2>&5
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41055 ac_cv_func_which_getservbyname_r
=four
41057 echo "$as_me: failed program was:" >&5
41058 sed 's/^/| /' conftest.
$ac_ext >&5
41060 ac_cv_func_which_getservbyname_r
=no
41063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41075 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41076 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41078 if test $ac_cv_func_which_getservbyname_r = six
; then
41079 cat >>confdefs.h
<<\_ACEOF
41080 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41083 elif test $ac_cv_func_which_getservbyname_r = five
; then
41084 cat >>confdefs.h
<<\_ACEOF
41085 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41088 elif test $ac_cv_func_which_getservbyname_r = four
; then
41089 cat >>confdefs.h
<<\_ACEOF
41090 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41096 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41097 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41099 for ac_func
in getservbyname
41101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41102 echo "$as_me:$LINENO: checking for $ac_func" >&5
41103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41104 if eval "test \"\${$as_ac_var+set}\" = set"; then
41105 echo $ECHO_N "(cached) $ECHO_C" >&6
41107 cat >conftest.
$ac_ext <<_ACEOF
41110 cat confdefs.h
>>conftest.
$ac_ext
41111 cat >>conftest.
$ac_ext <<_ACEOF
41112 /* end confdefs.h. */
41113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41115 #define $ac_func innocuous_$ac_func
41117 /* System header to define __stub macros and hopefully few prototypes,
41118 which can conflict with char $ac_func (); below.
41119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41120 <limits.h> exists even on freestanding compilers. */
41123 # include <limits.h>
41125 # include <assert.h>
41130 /* Override any gcc2 internal prototype to avoid an error. */
41135 /* We use char because int might match the return type of a gcc2
41136 builtin and then its argument prototype would still apply. */
41138 /* The GNU C library defines this for functions which it implements
41139 to always fail with ENOSYS. Some functions are actually named
41140 something starting with __ and the normal name is an alias. */
41141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41144 char (*f) () = $ac_func;
41153 return f != $ac_func;
41158 rm -f conftest.
$ac_objext conftest
$ac_exeext
41159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41160 (eval $ac_link) 2>conftest.er1
41162 grep -v '^ *+' conftest.er1
>conftest.err
41164 cat conftest.err
>&5
41165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41166 (exit $ac_status); } &&
41167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41169 (eval $ac_try) 2>&5
41171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41172 (exit $ac_status); }; } &&
41173 { ac_try
='test -s conftest$ac_exeext'
41174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41175 (eval $ac_try) 2>&5
41177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41178 (exit $ac_status); }; }; then
41179 eval "$as_ac_var=yes"
41181 echo "$as_me: failed program was:" >&5
41182 sed 's/^/| /' conftest.
$ac_ext >&5
41184 eval "$as_ac_var=no"
41186 rm -f conftest.err conftest.
$ac_objext \
41187 conftest
$ac_exeext conftest.
$ac_ext
41189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41191 if test `eval echo '${'$as_ac_var'}'` = yes; then
41192 cat >>confdefs.h
<<_ACEOF
41193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41195 cat >>confdefs.h
<<\_ACEOF
41196 #define HAVE_GETSERVBYNAME 1
41204 if test "$wxUSE_THREADS" = "yes"; then
41205 cat >>confdefs.h
<<\_ACEOF
41206 #define wxUSE_THREADS 1
41210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41212 if test "$wx_cv_func_strtok_r" = "yes"; then
41213 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41214 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41215 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41216 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41217 echo "$as_me:$LINENO: result: yes" >&5
41218 echo "${ECHO_T}yes" >&6
41220 echo "$as_me:$LINENO: result: no" >&5
41221 echo "${ECHO_T}no" >&6
41226 if test "$WXGTK20" = 1 ; then
41227 cat >>confdefs.h
<<_ACEOF
41228 #define __WXGTK20__ $WXGTK20
41234 if test "$WXGTK12" = 1 ; then
41235 cat >>confdefs.h
<<_ACEOF
41236 #define __WXGTK12__ $WXGTK12
41241 if test "$WXGTK127" = 1 ; then
41242 cat >>confdefs.h
<<_ACEOF
41243 #define __WXGTK127__ $WXGTK127
41248 if test "$WXGPE" = 1 ; then
41249 cat >>confdefs.h
<<_ACEOF
41250 #define __WXGPE__ $WXGPE
41256 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41261 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41262 wxUSE_DEBUG_INFO
=yes
41263 if test "$GCC" = yes; then
41264 DEBUG_CFLAGS
="-ggdb"
41268 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41269 cat >>confdefs.h
<<\_ACEOF
41273 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41275 if test "$wxUSE_GTK" = 1 ; then
41276 if test "x$wxGTK_VERSION" = "x1" ; then
41277 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41282 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41283 cat >>confdefs.h
<<\_ACEOF
41284 #define wxUSE_MEMORY_TRACING 1
41287 cat >>confdefs.h
<<\_ACEOF
41288 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41291 cat >>confdefs.h
<<\_ACEOF
41292 #define wxUSE_DEBUG_NEW_ALWAYS 1
41295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41298 if test "$wxUSE_DMALLOC" = "yes" ; then
41299 DMALLOC_LIBS
="-ldmallocthcxx"
41303 if test "$wxUSE_PROFILE" = "yes" ; then
41304 PROFILE_FLAGS
=" -pg"
41307 if test "$GCC" = "yes" ; then
41308 if test "$wxUSE_NO_RTTI" = "yes" ; then
41309 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41311 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41312 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41314 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41315 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41320 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41323 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41329 if test "$wxUSE_OPTIMISE" = "no" ; then
41330 if test "$GCC" = yes ; then
41331 OPTIMISE_CFLAGS
="-O0"
41334 if test "$GCC" = yes ; then
41336 *-pc-os2_emx | *-pc-os2-emx )
41337 OPTIMISE_CFLAGS
="-O2"
41340 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41344 OPTIMISE_CFLAGS
="-O"
41349 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41350 cat >>confdefs.h
<<\_ACEOF
41351 #define WXWIN_COMPATIBILITY_2_4 1
41355 WXWIN_COMPATIBILITY_2_6
="yes"
41358 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41359 cat >>confdefs.h
<<\_ACEOF
41360 #define WXWIN_COMPATIBILITY_2_6 1
41366 if test "$wxUSE_GUI" = "yes"; then
41367 cat >>confdefs.h
<<\_ACEOF
41368 #define wxUSE_GUI 1
41375 if test "$wxUSE_UNIX" = "yes"; then
41376 cat >>confdefs.h
<<\_ACEOF
41377 #define wxUSE_UNIX 1
41383 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41387 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41388 if test "$USE_DARWIN" = 1; then
41390 elif test "$USE_DOS" = 1; then
41394 for ac_func
in dlopen
41396 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41397 echo "$as_me:$LINENO: checking for $ac_func" >&5
41398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41399 if eval "test \"\${$as_ac_var+set}\" = set"; then
41400 echo $ECHO_N "(cached) $ECHO_C" >&6
41402 cat >conftest.
$ac_ext <<_ACEOF
41405 cat confdefs.h
>>conftest.
$ac_ext
41406 cat >>conftest.
$ac_ext <<_ACEOF
41407 /* end confdefs.h. */
41408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41410 #define $ac_func innocuous_$ac_func
41412 /* System header to define __stub macros and hopefully few prototypes,
41413 which can conflict with char $ac_func (); below.
41414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41415 <limits.h> exists even on freestanding compilers. */
41418 # include <limits.h>
41420 # include <assert.h>
41425 /* Override any gcc2 internal prototype to avoid an error. */
41430 /* We use char because int might match the return type of a gcc2
41431 builtin and then its argument prototype would still apply. */
41433 /* The GNU C library defines this for functions which it implements
41434 to always fail with ENOSYS. Some functions are actually named
41435 something starting with __ and the normal name is an alias. */
41436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41439 char (*f) () = $ac_func;
41448 return f != $ac_func;
41453 rm -f conftest.
$ac_objext conftest
$ac_exeext
41454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41455 (eval $ac_link) 2>conftest.er1
41457 grep -v '^ *+' conftest.er1
>conftest.err
41459 cat conftest.err
>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } &&
41462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; } &&
41468 { ac_try
='test -s conftest$ac_exeext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 eval "$as_ac_var=yes"
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.
$ac_ext >&5
41479 eval "$as_ac_var=no"
41481 rm -f conftest.err conftest.
$ac_objext \
41482 conftest
$ac_exeext conftest.
$ac_ext
41484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41486 if test `eval echo '${'$as_ac_var'}'` = yes; then
41487 cat >>confdefs.h
<<_ACEOF
41488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41491 cat >>confdefs.h
<<\_ACEOF
41492 #define HAVE_DLOPEN 1
41499 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41500 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41501 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41502 echo $ECHO_N "(cached) $ECHO_C" >&6
41504 ac_check_lib_save_LIBS
=$LIBS
41506 cat >conftest.
$ac_ext <<_ACEOF
41509 cat confdefs.h
>>conftest.
$ac_ext
41510 cat >>conftest.
$ac_ext <<_ACEOF
41511 /* end confdefs.h. */
41513 /* Override any gcc2 internal prototype to avoid an error. */
41517 /* We use char because int might match the return type of a gcc2
41518 builtin and then its argument prototype would still apply. */
41528 rm -f conftest.
$ac_objext conftest
$ac_exeext
41529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41530 (eval $ac_link) 2>conftest.er1
41532 grep -v '^ *+' conftest.er1
>conftest.err
41534 cat conftest.err
>&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); } &&
41537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41539 (eval $ac_try) 2>&5
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); }; } &&
41543 { ac_try
='test -s conftest$ac_exeext'
41544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41545 (eval $ac_try) 2>&5
41547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41548 (exit $ac_status); }; }; then
41549 ac_cv_lib_dl_dlopen
=yes
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.
$ac_ext >&5
41554 ac_cv_lib_dl_dlopen
=no
41556 rm -f conftest.err conftest.
$ac_objext \
41557 conftest
$ac_exeext conftest.
$ac_ext
41558 LIBS
=$ac_check_lib_save_LIBS
41560 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41561 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41562 if test $ac_cv_lib_dl_dlopen = yes; then
41564 cat >>confdefs.h
<<\_ACEOF
41565 #define HAVE_DLOPEN 1
41569 DL_LINK
=" -ldl$DL_LINK"
41574 for ac_func
in shl_load
41576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41577 echo "$as_me:$LINENO: checking for $ac_func" >&5
41578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41579 if eval "test \"\${$as_ac_var+set}\" = set"; then
41580 echo $ECHO_N "(cached) $ECHO_C" >&6
41582 cat >conftest.
$ac_ext <<_ACEOF
41585 cat confdefs.h
>>conftest.
$ac_ext
41586 cat >>conftest.
$ac_ext <<_ACEOF
41587 /* end confdefs.h. */
41588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41590 #define $ac_func innocuous_$ac_func
41592 /* System header to define __stub macros and hopefully few prototypes,
41593 which can conflict with char $ac_func (); below.
41594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41595 <limits.h> exists even on freestanding compilers. */
41598 # include <limits.h>
41600 # include <assert.h>
41605 /* Override any gcc2 internal prototype to avoid an error. */
41610 /* We use char because int might match the return type of a gcc2
41611 builtin and then its argument prototype would still apply. */
41613 /* The GNU C library defines this for functions which it implements
41614 to always fail with ENOSYS. Some functions are actually named
41615 something starting with __ and the normal name is an alias. */
41616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41619 char (*f) () = $ac_func;
41628 return f != $ac_func;
41633 rm -f conftest.
$ac_objext conftest
$ac_exeext
41634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41635 (eval $ac_link) 2>conftest.er1
41637 grep -v '^ *+' conftest.er1
>conftest.err
41639 cat conftest.err
>&5
41640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641 (exit $ac_status); } &&
41642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41644 (eval $ac_try) 2>&5
41646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647 (exit $ac_status); }; } &&
41648 { ac_try
='test -s conftest$ac_exeext'
41649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41650 (eval $ac_try) 2>&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); }; }; then
41654 eval "$as_ac_var=yes"
41656 echo "$as_me: failed program was:" >&5
41657 sed 's/^/| /' conftest.
$ac_ext >&5
41659 eval "$as_ac_var=no"
41661 rm -f conftest.err conftest.
$ac_objext \
41662 conftest
$ac_exeext conftest.
$ac_ext
41664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41666 if test `eval echo '${'$as_ac_var'}'` = yes; then
41667 cat >>confdefs.h
<<_ACEOF
41668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41671 cat >>confdefs.h
<<\_ACEOF
41672 #define HAVE_SHL_LOAD 1
41679 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41680 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41681 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41682 echo $ECHO_N "(cached) $ECHO_C" >&6
41684 ac_check_lib_save_LIBS
=$LIBS
41685 LIBS
="-lshl_load $LIBS"
41686 cat >conftest.
$ac_ext <<_ACEOF
41689 cat confdefs.h
>>conftest.
$ac_ext
41690 cat >>conftest.
$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41693 /* Override any gcc2 internal prototype to avoid an error. */
41697 /* We use char because int might match the return type of a gcc2
41698 builtin and then its argument prototype would still apply. */
41708 rm -f conftest.
$ac_objext conftest
$ac_exeext
41709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41710 (eval $ac_link) 2>conftest.er1
41712 grep -v '^ *+' conftest.er1
>conftest.err
41714 cat conftest.err
>&5
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); } &&
41717 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719 (eval $ac_try) 2>&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); }; } &&
41723 { ac_try
='test -s conftest$ac_exeext'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; }; then
41729 ac_cv_lib_shl_load_dld
=yes
41731 echo "$as_me: failed program was:" >&5
41732 sed 's/^/| /' conftest.
$ac_ext >&5
41734 ac_cv_lib_shl_load_dld
=no
41736 rm -f conftest.err conftest.
$ac_objext \
41737 conftest
$ac_exeext conftest.
$ac_ext
41738 LIBS
=$ac_check_lib_save_LIBS
41740 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41741 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41742 if test $ac_cv_lib_shl_load_dld = yes; then
41745 DL_LINK
=" -ldld$DL_LINK"
41761 if test "$HAVE_DL_FUNCS" = 1; then
41763 for ac_func
in dlerror
41765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41766 echo "$as_me:$LINENO: checking for $ac_func" >&5
41767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41768 if eval "test \"\${$as_ac_var+set}\" = set"; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 cat >conftest.
$ac_ext <<_ACEOF
41774 cat confdefs.h
>>conftest.
$ac_ext
41775 cat >>conftest.
$ac_ext <<_ACEOF
41776 /* end confdefs.h. */
41777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41779 #define $ac_func innocuous_$ac_func
41781 /* System header to define __stub macros and hopefully few prototypes,
41782 which can conflict with char $ac_func (); below.
41783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41784 <limits.h> exists even on freestanding compilers. */
41787 # include <limits.h>
41789 # include <assert.h>
41794 /* Override any gcc2 internal prototype to avoid an error. */
41799 /* We use char because int might match the return type of a gcc2
41800 builtin and then its argument prototype would still apply. */
41802 /* The GNU C library defines this for functions which it implements
41803 to always fail with ENOSYS. Some functions are actually named
41804 something starting with __ and the normal name is an alias. */
41805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41808 char (*f) () = $ac_func;
41817 return f != $ac_func;
41822 rm -f conftest.
$ac_objext conftest
$ac_exeext
41823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41824 (eval $ac_link) 2>conftest.er1
41826 grep -v '^ *+' conftest.er1
>conftest.err
41828 cat conftest.err
>&5
41829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41830 (exit $ac_status); } &&
41831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try
='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 eval "$as_ac_var=yes"
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.
$ac_ext >&5
41848 eval "$as_ac_var=no"
41850 rm -f conftest.err conftest.
$ac_objext \
41851 conftest
$ac_exeext conftest.
$ac_ext
41853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41855 if test `eval echo '${'$as_ac_var'}'` = yes; then
41856 cat >>confdefs.h
<<_ACEOF
41857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41859 cat >>confdefs.h
<<\_ACEOF
41860 #define HAVE_DLERROR 1
41865 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41866 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41867 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 ac_check_lib_save_LIBS
=$LIBS
41872 cat >conftest.
$ac_ext <<_ACEOF
41875 cat confdefs.h
>>conftest.
$ac_ext
41876 cat >>conftest.
$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41879 /* Override any gcc2 internal prototype to avoid an error. */
41883 /* We use char because int might match the return type of a gcc2
41884 builtin and then its argument prototype would still apply. */
41894 rm -f conftest.
$ac_objext conftest
$ac_exeext
41895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41896 (eval $ac_link) 2>conftest.er1
41898 grep -v '^ *+' conftest.er1
>conftest.err
41900 cat conftest.err
>&5
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); } &&
41903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41905 (eval $ac_try) 2>&5
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); }; } &&
41909 { ac_try
='test -s conftest$ac_exeext'
41910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41911 (eval $ac_try) 2>&5
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); }; }; then
41915 ac_cv_lib_dl_dlerror
=yes
41917 echo "$as_me: failed program was:" >&5
41918 sed 's/^/| /' conftest.
$ac_ext >&5
41920 ac_cv_lib_dl_dlerror
=no
41922 rm -f conftest.err conftest.
$ac_objext \
41923 conftest
$ac_exeext conftest.
$ac_ext
41924 LIBS
=$ac_check_lib_save_LIBS
41926 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41927 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41928 if test $ac_cv_lib_dl_dlerror = yes; then
41929 cat >>confdefs.h
<<\_ACEOF
41930 #define HAVE_DLERROR 1
41943 if test "$HAVE_DL_FUNCS" = 0; then
41944 if test "$HAVE_SHL_FUNCS" = 0; then
41945 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41946 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41947 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41948 wxUSE_DYNAMIC_LOADER
=no
41949 wxUSE_DYNLIB_CLASS
=no
41951 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41952 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41959 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41960 cat >>confdefs.h
<<\_ACEOF
41961 #define wxUSE_DYNAMIC_LOADER 1
41965 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41966 cat >>confdefs.h
<<\_ACEOF
41967 #define wxUSE_DYNLIB_CLASS 1
41974 if test "$wxUSE_PLUGINS" = "yes" ; then
41975 if test "$wxUSE_SHARED" = "no" ; then
41976 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41977 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41980 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41981 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41982 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41985 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41986 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41987 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41990 if test "$wxUSE_PLUGINS" = "yes" ; then
41991 cat >>confdefs.h
<<\_ACEOF
41992 #define wxUSE_PLUGINS 1
41999 if test "$wxUSE_STL" = "yes"; then
42000 cat >>confdefs.h
<<\_ACEOF
42001 #define wxUSE_STL 1
42006 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42007 cat >>confdefs.h
<<\_ACEOF
42008 #define wxUSE_APPLE_IEEE 1
42013 if test "$wxUSE_TIMER" = "yes"; then
42014 cat >>confdefs.h
<<\_ACEOF
42015 #define wxUSE_TIMER 1
42020 if test "$USE_UNIX" = "1" ; then
42021 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42022 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42023 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42027 cat >conftest.
$ac_ext <<_ACEOF
42030 cat confdefs.h
>>conftest.
$ac_ext
42031 cat >>conftest.
$ac_ext <<_ACEOF
42032 /* end confdefs.h. */
42034 #include <sys/ioctl.h>
42035 #include <sys/soundcard.h>
42041 ioctl(0, SNDCTL_DSP_SPEED, 0);
42047 rm -f conftest.
$ac_objext conftest
$ac_exeext
42048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42049 (eval $ac_link) 2>conftest.er1
42051 grep -v '^ *+' conftest.er1
>conftest.err
42053 cat conftest.err
>&5
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); } &&
42056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058 (eval $ac_try) 2>&5
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); }; } &&
42062 { ac_try
='test -s conftest$ac_exeext'
42063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42064 (eval $ac_try) 2>&5
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); }; }; then
42068 ac_cv_header_sys_soundcard
=yes
42070 echo "$as_me: failed program was:" >&5
42071 sed 's/^/| /' conftest.
$ac_ext >&5
42075 LIBS
="$saveLibs -lossaudio"
42076 cat >conftest.
$ac_ext <<_ACEOF
42079 cat confdefs.h
>>conftest.
$ac_ext
42080 cat >>conftest.
$ac_ext <<_ACEOF
42081 /* end confdefs.h. */
42083 #include <sys/ioctl.h>
42084 #include <sys/soundcard.h>
42090 ioctl(0, SNDCTL_DSP_SPEED, 0);
42096 rm -f conftest.
$ac_objext conftest
$ac_exeext
42097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42098 (eval $ac_link) 2>conftest.er1
42100 grep -v '^ *+' conftest.er1
>conftest.err
42102 cat conftest.err
>&5
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); } &&
42105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42107 (eval $ac_try) 2>&5
42109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42110 (exit $ac_status); }; } &&
42111 { ac_try
='test -s conftest$ac_exeext'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; }; then
42117 ac_cv_header_sys_soundcard
=yes
42119 echo "$as_me: failed program was:" >&5
42120 sed 's/^/| /' conftest.
$ac_ext >&5
42124 ac_cv_header_sys_soundcard
=no
42128 rm -f conftest.err conftest.
$ac_objext \
42129 conftest
$ac_exeext conftest.
$ac_ext
42133 rm -f conftest.err conftest.
$ac_objext \
42134 conftest
$ac_exeext conftest.
$ac_ext
42137 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42138 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42140 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42141 cat >>confdefs.h
<<\_ACEOF
42142 #define HAVE_SYS_SOUNDCARD_H 1
42146 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42150 if test "$wxUSE_SOUND" = "yes"; then
42151 if test "$USE_UNIX" = "1" ; then
42152 if test "$wxUSE_LIBSDL" != "no"; then
42154 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42155 if test "${with_sdl_prefix+set}" = set; then
42156 withval
="$with_sdl_prefix"
42157 sdl_prefix
="$withval"
42162 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42163 if test "${with_sdl_exec_prefix+set}" = set; then
42164 withval
="$with_sdl_exec_prefix"
42165 sdl_exec_prefix
="$withval"
42169 # Check whether --enable-sdltest or --disable-sdltest was given.
42170 if test "${enable_sdltest+set}" = set; then
42171 enableval
="$enable_sdltest"
42177 if test x
$sdl_exec_prefix != x
; then
42178 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42179 if test x
${SDL_CONFIG+set} != xset
; then
42180 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42183 if test x
$sdl_prefix != x
; then
42184 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42185 if test x
${SDL_CONFIG+set} != xset
; then
42186 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42190 if test "x$prefix" != xNONE
; then
42191 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42193 # Extract the first word of "sdl-config", so it can be a program name with args.
42194 set dummy sdl
-config; ac_word
=$2
42195 echo "$as_me:$LINENO: checking for $ac_word" >&5
42196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42197 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42198 echo $ECHO_N "(cached) $ECHO_C" >&6
42200 case $SDL_CONFIG in
42202 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42206 for as_dir
in $PATH
42209 test -z "$as_dir" && as_dir
=.
42210 for ac_exec_ext
in '' $ac_executable_extensions; do
42211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42212 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42219 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42223 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42225 if test -n "$SDL_CONFIG"; then
42226 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42227 echo "${ECHO_T}$SDL_CONFIG" >&6
42229 echo "$as_me:$LINENO: result: no" >&5
42230 echo "${ECHO_T}no" >&6
42233 min_sdl_version
=1.2.0
42234 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42235 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42237 if test "$SDL_CONFIG" = "no" ; then
42240 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42241 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42243 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42245 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42247 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42249 if test "x$enable_sdltest" = "xyes" ; then
42250 ac_save_CFLAGS
="$CFLAGS"
42251 ac_save_CXXFLAGS
="$CXXFLAGS"
42252 ac_save_LIBS
="$LIBS"
42253 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42254 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42255 LIBS
="$LIBS $SDL_LIBS"
42257 if test "$cross_compiling" = yes; then
42258 echo $ac_n "cross compiling; assumed OK... $ac_c"
42260 cat >conftest.
$ac_ext <<_ACEOF
42263 cat confdefs.h
>>conftest.
$ac_ext
42264 cat >>conftest.
$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42268 #include <stdlib.h>
42269 #include <string.h>
42273 my_strdup (char *str)
42279 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42280 strcpy (new_str, str);
42288 int main (int argc, char *argv[])
42290 int major, minor, micro;
42293 /* This hangs on some systems (?)
42294 system ("touch conf.sdltest");
42296 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42298 /* HP/UX 9 (%@#!) writes to sscanf strings */
42299 tmp_version = my_strdup("$min_sdl_version");
42300 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42301 printf("%s, bad version string\n", "$min_sdl_version");
42305 if (($sdl_major_version > major) ||
42306 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42307 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42313 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42314 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42315 printf("*** best to upgrade to the required version.\n");
42316 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42317 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42318 printf("*** config.cache before re-running configure\n");
42325 rm -f conftest
$ac_exeext
42326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42327 (eval $ac_link) 2>&5
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42332 (eval $ac_try) 2>&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); }; }; then
42338 echo "$as_me: program exited with status $ac_status" >&5
42339 echo "$as_me: failed program was:" >&5
42340 sed 's/^/| /' conftest.
$ac_ext >&5
42342 ( exit $ac_status )
42345 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42347 CFLAGS
="$ac_save_CFLAGS"
42348 CXXFLAGS
="$ac_save_CXXFLAGS"
42349 LIBS
="$ac_save_LIBS"
42352 if test "x$no_sdl" = x
; then
42353 echo "$as_me:$LINENO: result: yes" >&5
42354 echo "${ECHO_T}yes" >&6
42356 EXTRALIBS_SDL
="$SDL_LIBS"
42357 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42358 cat >>confdefs.h
<<\_ACEOF
42359 #define wxUSE_LIBSDL 1
42364 echo "$as_me:$LINENO: result: no" >&5
42365 echo "${ECHO_T}no" >&6
42366 if test "$SDL_CONFIG" = "no" ; then
42367 echo "*** The sdl-config script installed by SDL could not be found"
42368 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42369 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42370 echo "*** full path to sdl-config."
42372 if test -f conf.sdltest
; then
42375 echo "*** Could not run SDL test program, checking why..."
42376 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42377 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42378 LIBS
="$LIBS $SDL_LIBS"
42379 cat >conftest.
$ac_ext <<_ACEOF
42382 cat confdefs.h
>>conftest.
$ac_ext
42383 cat >>conftest.
$ac_ext <<_ACEOF
42384 /* end confdefs.h. */
42389 int main(int argc, char *argv[])
42392 #define main K_and_R_C_main
42402 rm -f conftest.
$ac_objext conftest
$ac_exeext
42403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42404 (eval $ac_link) 2>conftest.er1
42406 grep -v '^ *+' conftest.er1
>conftest.err
42408 cat conftest.err
>&5
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); } &&
42411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42413 (eval $ac_try) 2>&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); }; } &&
42417 { ac_try
='test -s conftest$ac_exeext'
42418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419 (eval $ac_try) 2>&5
42421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422 (exit $ac_status); }; }; then
42423 echo "*** The test program compiled, but did not run. This usually means"
42424 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42425 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42426 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42427 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42428 echo "*** is required on your system"
42430 echo "*** If you have an old version installed, it is best to remove it, although"
42431 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42433 echo "$as_me: failed program was:" >&5
42434 sed 's/^/| /' conftest.
$ac_ext >&5
42436 echo "*** The test program failed to compile or link. See the file config.log for the"
42437 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42438 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42439 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42441 rm -f conftest.err conftest.
$ac_objext \
42442 conftest
$ac_exeext conftest.
$ac_ext
42443 CFLAGS
="$ac_save_CFLAGS"
42444 CXXFLAGS
="$ac_save_CXXFLAGS"
42445 LIBS
="$ac_save_LIBS"
42456 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42462 cat >>confdefs.h
<<\_ACEOF
42463 #define wxUSE_SOUND 1
42466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42469 if test "$WXGTK20" = 1; then
42470 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42471 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42475 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42476 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42478 if test -n "$PKG_CONFIG"; then
42479 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42480 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42482 if test -n "$PKG_CONFIG" && \
42483 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42484 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); }; then
42488 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42496 if test -n "$PKG_CONFIG"; then
42497 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42498 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42500 if test -n "$PKG_CONFIG" && \
42501 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42502 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); }; then
42506 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42517 if test $pkg_failed = yes; then
42519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42520 _pkg_short_errors_supported
=yes
42522 _pkg_short_errors_supported
=no
42524 if test $_pkg_short_errors_supported = yes; then
42525 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42527 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42529 # Put the nasty error message in config.log where it belongs
42530 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42533 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42534 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42535 wxUSE_LIBGNOMEPRINT
="no"
42538 elif test $pkg_failed = untried
; then
42540 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42541 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42542 wxUSE_LIBGNOMEPRINT
="no"
42546 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42547 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42548 echo "$as_me:$LINENO: result: yes" >&5
42549 echo "${ECHO_T}yes" >&6
42551 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42552 cat >>confdefs.h
<<\_ACEOF
42553 #define wxUSE_LIBGNOMEPRINT 1
42562 if test "$WXGTK20" = 1; then
42563 if test "$wxUSE_MIMETYPE" = "yes" ; then
42564 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42568 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42569 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42571 if test -n "$PKG_CONFIG"; then
42572 if test -n "$GNOMEVFS_CFLAGS"; then
42573 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42575 if test -n "$PKG_CONFIG" && \
42576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42577 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; then
42581 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42589 if test -n "$PKG_CONFIG"; then
42590 if test -n "$GNOMEVFS_LIBS"; then
42591 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42593 if test -n "$PKG_CONFIG" && \
42594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42595 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); }; then
42599 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42610 if test $pkg_failed = yes; then
42612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42613 _pkg_short_errors_supported
=yes
42615 _pkg_short_errors_supported
=no
42617 if test $_pkg_short_errors_supported = yes; then
42618 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42620 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42622 # Put the nasty error message in config.log where it belongs
42623 echo "$GNOMEVFS_PKG_ERRORS" >&5
42626 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42627 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42628 wxUSE_LIBGNOMEVFS
="no"
42631 elif test $pkg_failed = untried
; then
42633 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42634 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42635 wxUSE_LIBGNOMEVFS
="no"
42639 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42640 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42641 echo "$as_me:$LINENO: result: yes" >&5
42642 echo "${ECHO_T}yes" >&6
42644 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42645 cat >>confdefs.h
<<\_ACEOF
42646 #define wxUSE_LIBGNOMEVFS 1
42655 if test "$WXGTK20" = 1; then
42656 if test "$wxUSE_LIBHILDON" = "yes" ; then
42659 echo "$as_me:$LINENO: checking for HILDON" >&5
42660 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42662 if test -n "$PKG_CONFIG"; then
42663 if test -n "$HILDON_CFLAGS"; then
42664 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42666 if test -n "$PKG_CONFIG" && \
42667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42668 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); }; then
42672 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42680 if test -n "$PKG_CONFIG"; then
42681 if test -n "$HILDON_LIBS"; then
42682 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42684 if test -n "$PKG_CONFIG" && \
42685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42686 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; then
42690 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42701 if test $pkg_failed = yes; then
42703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42704 _pkg_short_errors_supported
=yes
42706 _pkg_short_errors_supported
=no
42708 if test $_pkg_short_errors_supported = yes; then
42709 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42711 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42713 # Put the nasty error message in config.log where it belongs
42714 echo "$HILDON_PKG_ERRORS" >&5
42717 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42718 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42719 wxUSE_LIBHILDON
="no"
42722 elif test $pkg_failed = untried
; then
42724 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42725 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42726 wxUSE_LIBHILDON
="no"
42730 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42731 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42732 echo "$as_me:$LINENO: result: yes" >&5
42733 echo "${ECHO_T}yes" >&6
42735 EXTRALIBS_HILDON
="$HILDON_LIBS"
42736 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42737 cat >>confdefs.h
<<\_ACEOF
42738 #define wxUSE_LIBHILDON 1
42746 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42747 cat >>confdefs.h
<<\_ACEOF
42748 #define wxUSE_CMDLINE_PARSER 1
42753 if test "$wxUSE_STOPWATCH" = "yes"; then
42754 cat >>confdefs.h
<<\_ACEOF
42755 #define wxUSE_STOPWATCH 1
42760 if test "$wxUSE_DATETIME" = "yes"; then
42761 cat >>confdefs.h
<<\_ACEOF
42762 #define wxUSE_DATETIME 1
42767 if test "$wxUSE_FILE" = "yes"; then
42768 cat >>confdefs.h
<<\_ACEOF
42769 #define wxUSE_FILE 1
42774 if test "$wxUSE_FFILE" = "yes"; then
42775 cat >>confdefs.h
<<\_ACEOF
42776 #define wxUSE_FFILE 1
42781 if test "$wxUSE_FILESYSTEM" = "yes"; then
42782 cat >>confdefs.h
<<\_ACEOF
42783 #define wxUSE_FILESYSTEM 1
42788 if test "$wxUSE_FS_ZIP" = "yes"; then
42789 cat >>confdefs.h
<<\_ACEOF
42790 #define wxUSE_FS_ZIP 1
42795 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42796 cat >>confdefs.h
<<\_ACEOF
42797 #define wxUSE_ARCHIVE_STREAMS 1
42802 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42803 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42804 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42805 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42806 elif test "$wxUSE_ZLIB" = "no"; then
42807 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42808 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42810 cat >>confdefs.h
<<\_ACEOF
42811 #define wxUSE_ZIPSTREAM 1
42817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42818 if test "$USE_UNIX" != 1; then
42819 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42820 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42821 wxUSE_ON_FATAL_EXCEPTION
=no
42823 cat >>confdefs.h
<<\_ACEOF
42824 #define wxUSE_ON_FATAL_EXCEPTION 1
42830 if test "$wxUSE_STACKWALKER" = "yes"; then
42831 cat >>confdefs.h
<<\_ACEOF
42832 #define wxUSE_STACKWALKER 1
42837 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42838 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42839 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42840 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42841 wxUSE_DEBUGREPORT
=no
42843 cat >>confdefs.h
<<\_ACEOF
42844 #define wxUSE_DEBUGREPORT 1
42847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42853 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42854 cat >>confdefs.h
<<\_ACEOF
42855 #define wxUSE_SNGLINST_CHECKER 1
42860 if test "$wxUSE_BUSYINFO" = "yes"; then
42861 cat >>confdefs.h
<<\_ACEOF
42862 #define wxUSE_BUSYINFO 1
42867 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42868 cat >>confdefs.h
<<\_ACEOF
42869 #define wxUSE_STD_IOSTREAM 1
42874 if test "$wxUSE_STD_STRING" = "yes"; then
42875 cat >>confdefs.h
<<\_ACEOF
42876 #define wxUSE_STD_STRING 1
42881 if test "$wxUSE_STDPATHS" = "yes"; then
42882 cat >>confdefs.h
<<\_ACEOF
42883 #define wxUSE_STDPATHS 1
42888 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42889 cat >>confdefs.h
<<\_ACEOF
42890 #define wxUSE_TEXTBUFFER 1
42895 if test "$wxUSE_TEXTFILE" = "yes"; then
42896 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42897 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42898 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42900 cat >>confdefs.h
<<\_ACEOF
42901 #define wxUSE_TEXTFILE 1
42907 if test "$wxUSE_CONFIG" = "yes" ; then
42908 if test "$wxUSE_TEXTFILE" != "yes"; then
42909 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42910 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42912 cat >>confdefs.h
<<\_ACEOF
42913 #define wxUSE_CONFIG 1
42916 cat >>confdefs.h
<<\_ACEOF
42917 #define wxUSE_CONFIG_NATIVE 1
42920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42924 if test "$wxUSE_INTL" = "yes" ; then
42925 if test "$wxUSE_FILE" != "yes"; then
42926 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42927 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42929 cat >>confdefs.h
<<\_ACEOF
42930 #define wxUSE_INTL 1
42933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42934 GUIDIST
="$GUIDIST INTL_DIST"
42938 if test "$wxUSE_LOG" = "yes"; then
42939 cat >>confdefs.h
<<\_ACEOF
42940 #define wxUSE_LOG 1
42944 if test "$wxUSE_LOGGUI" = "yes"; then
42945 cat >>confdefs.h
<<\_ACEOF
42946 #define wxUSE_LOGGUI 1
42951 if test "$wxUSE_LOGWINDOW" = "yes"; then
42952 cat >>confdefs.h
<<\_ACEOF
42953 #define wxUSE_LOGWINDOW 1
42958 if test "$wxUSE_LOGDIALOG" = "yes"; then
42959 cat >>confdefs.h
<<\_ACEOF
42960 #define wxUSE_LOG_DIALOG 1
42965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42968 if test "$wxUSE_LONGLONG" = "yes"; then
42969 cat >>confdefs.h
<<\_ACEOF
42970 #define wxUSE_LONGLONG 1
42975 if test "$wxUSE_GEOMETRY" = "yes"; then
42976 cat >>confdefs.h
<<\_ACEOF
42977 #define wxUSE_GEOMETRY 1
42982 if test "$wxUSE_STREAMS" = "yes" ; then
42983 cat >>confdefs.h
<<\_ACEOF
42984 #define wxUSE_STREAMS 1
42989 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42990 cat >>confdefs.h
<<\_ACEOF
42991 #define wxUSE_PRINTF_POS_PARAMS 1
42998 if test "$wxUSE_DATETIME" = "yes"; then
43000 for ac_func
in strptime
43002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43003 echo "$as_me:$LINENO: checking for $ac_func" >&5
43004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43005 if eval "test \"\${$as_ac_var+set}\" = set"; then
43006 echo $ECHO_N "(cached) $ECHO_C" >&6
43008 cat >conftest.
$ac_ext <<_ACEOF
43011 cat confdefs.h
>>conftest.
$ac_ext
43012 cat >>conftest.
$ac_ext <<_ACEOF
43013 /* end confdefs.h. */
43014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43016 #define $ac_func innocuous_$ac_func
43018 /* System header to define __stub macros and hopefully few prototypes,
43019 which can conflict with char $ac_func (); below.
43020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43021 <limits.h> exists even on freestanding compilers. */
43024 # include <limits.h>
43026 # include <assert.h>
43031 /* Override any gcc2 internal prototype to avoid an error. */
43036 /* We use char because int might match the return type of a gcc2
43037 builtin and then its argument prototype would still apply. */
43039 /* The GNU C library defines this for functions which it implements
43040 to always fail with ENOSYS. Some functions are actually named
43041 something starting with __ and the normal name is an alias. */
43042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43045 char (*f) () = $ac_func;
43054 return f != $ac_func;
43059 rm -f conftest.
$ac_objext conftest
$ac_exeext
43060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43061 (eval $ac_link) 2>conftest.er1
43063 grep -v '^ *+' conftest.er1
>conftest.err
43065 cat conftest.err
>&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); } &&
43068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43070 (eval $ac_try) 2>&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); }; } &&
43074 { ac_try
='test -s conftest$ac_exeext'
43075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43076 (eval $ac_try) 2>&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); }; }; then
43080 eval "$as_ac_var=yes"
43082 echo "$as_me: failed program was:" >&5
43083 sed 's/^/| /' conftest.
$ac_ext >&5
43085 eval "$as_ac_var=no"
43087 rm -f conftest.err conftest.
$ac_objext \
43088 conftest
$ac_exeext conftest.
$ac_ext
43090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43092 if test `eval echo '${'$as_ac_var'}'` = yes; then
43093 cat >>confdefs.h
<<_ACEOF
43094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43100 if test "$ac_cv_func_strptime" = "yes"; then
43101 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43102 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43103 if test "${wx_cv_func_strptime_decl+set}" = set; then
43104 echo $ECHO_N "(cached) $ECHO_C" >&6
43107 cat >conftest.
$ac_ext <<_ACEOF
43110 cat confdefs.h
>>conftest.
$ac_ext
43111 cat >>conftest.
$ac_ext <<_ACEOF
43112 /* end confdefs.h. */
43121 strptime("foo", "bar", &t);
43127 rm -f conftest.
$ac_objext
43128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43129 (eval $ac_compile) 2>conftest.er1
43131 grep -v '^ *+' conftest.er1
>conftest.err
43133 cat conftest.err
>&5
43134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43135 (exit $ac_status); } &&
43136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138 (eval $ac_try) 2>&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); }; } &&
43142 { ac_try
='test -s conftest.$ac_objext'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; }; then
43148 wx_cv_func_strptime_decl
=yes
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.
$ac_ext >&5
43153 wx_cv_func_strptime_decl
=no
43156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43160 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43161 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43163 if test "$wx_cv_func_strptime_decl" = "yes"; then
43164 cat >>confdefs.h
<<\_ACEOF
43165 #define HAVE_STRPTIME_DECL 1
43170 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43171 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43172 if test "${wx_cv_var_timezone+set}" = set; then
43173 echo $ECHO_N "(cached) $ECHO_C" >&6
43176 cat >conftest.
$ac_ext <<_ACEOF
43179 cat confdefs.h
>>conftest.
$ac_ext
43180 cat >>conftest.
$ac_ext <<_ACEOF
43181 /* end confdefs.h. */
43196 rm -f conftest.
$ac_objext
43197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43198 (eval $ac_compile) 2>conftest.er1
43200 grep -v '^ *+' conftest.er1
>conftest.err
43202 cat conftest.err
>&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); } &&
43205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43207 (eval $ac_try) 2>&5
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); }; } &&
43211 { ac_try
='test -s conftest.$ac_objext'
43212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43213 (eval $ac_try) 2>&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43218 wx_cv_var_timezone
=timezone
43221 echo "$as_me: failed program was:" >&5
43222 sed 's/^/| /' conftest.
$ac_ext >&5
43225 cat >conftest.
$ac_ext <<_ACEOF
43228 cat confdefs.h
>>conftest.
$ac_ext
43229 cat >>conftest.
$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43245 rm -f conftest.
$ac_objext
43246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43247 (eval $ac_compile) 2>conftest.er1
43249 grep -v '^ *+' conftest.er1
>conftest.err
43251 cat conftest.err
>&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } &&
43254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43256 (eval $ac_try) 2>&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); }; } &&
43260 { ac_try
='test -s conftest.$ac_objext'
43261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43262 (eval $ac_try) 2>&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); }; }; then
43267 wx_cv_var_timezone
=_timezone
43270 echo "$as_me: failed program was:" >&5
43271 sed 's/^/| /' conftest.
$ac_ext >&5
43274 cat >conftest.
$ac_ext <<_ACEOF
43277 cat confdefs.h
>>conftest.
$ac_ext
43278 cat >>conftest.
$ac_ext <<_ACEOF
43279 /* end confdefs.h. */
43294 rm -f conftest.
$ac_objext
43295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43296 (eval $ac_compile) 2>conftest.er1
43298 grep -v '^ *+' conftest.er1
>conftest.err
43300 cat conftest.err
>&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } &&
43303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43305 (eval $ac_try) 2>&5
43307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43308 (exit $ac_status); }; } &&
43309 { ac_try
='test -s conftest.$ac_objext'
43310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43311 (eval $ac_try) 2>&5
43313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43314 (exit $ac_status); }; }; then
43316 wx_cv_var_timezone
=__timezone
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.
$ac_ext >&5
43323 if test "$USE_DOS" = 0 ; then
43324 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43325 echo "$as_me: WARNING: no timezone variable" >&2;}
43330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43342 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43343 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43345 if test "x$wx_cv_var_timezone" != x
; then
43346 cat >>confdefs.h
<<_ACEOF
43347 #define WX_TIMEZONE $wx_cv_var_timezone
43353 for ac_func
in localtime
43355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43356 echo "$as_me:$LINENO: checking for $ac_func" >&5
43357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43358 if eval "test \"\${$as_ac_var+set}\" = set"; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 cat >conftest.
$ac_ext <<_ACEOF
43364 cat confdefs.h
>>conftest.
$ac_ext
43365 cat >>conftest.
$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43369 #define $ac_func innocuous_$ac_func
43371 /* System header to define __stub macros and hopefully few prototypes,
43372 which can conflict with char $ac_func (); below.
43373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43374 <limits.h> exists even on freestanding compilers. */
43377 # include <limits.h>
43379 # include <assert.h>
43384 /* Override any gcc2 internal prototype to avoid an error. */
43389 /* We use char because int might match the return type of a gcc2
43390 builtin and then its argument prototype would still apply. */
43392 /* The GNU C library defines this for functions which it implements
43393 to always fail with ENOSYS. Some functions are actually named
43394 something starting with __ and the normal name is an alias. */
43395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43398 char (*f) () = $ac_func;
43407 return f != $ac_func;
43412 rm -f conftest.
$ac_objext conftest
$ac_exeext
43413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43414 (eval $ac_link) 2>conftest.er1
43416 grep -v '^ *+' conftest.er1
>conftest.err
43418 cat conftest.err
>&5
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); } &&
43421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43423 (eval $ac_try) 2>&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); }; } &&
43427 { ac_try
='test -s conftest$ac_exeext'
43428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43429 (eval $ac_try) 2>&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); }; }; then
43433 eval "$as_ac_var=yes"
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.
$ac_ext >&5
43438 eval "$as_ac_var=no"
43440 rm -f conftest.err conftest.
$ac_objext \
43441 conftest
$ac_exeext conftest.
$ac_ext
43443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43445 if test `eval echo '${'$as_ac_var'}'` = yes; then
43446 cat >>confdefs.h
<<_ACEOF
43447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43454 if test "$ac_cv_func_localtime" = "yes"; then
43455 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43456 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43457 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43458 echo $ECHO_N "(cached) $ECHO_C" >&6
43461 cat >conftest.
$ac_ext <<_ACEOF
43464 cat confdefs.h
>>conftest.
$ac_ext
43465 cat >>conftest.
$ac_ext <<_ACEOF
43466 /* end confdefs.h. */
43481 rm -f conftest.
$ac_objext
43482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43483 (eval $ac_compile) 2>conftest.er1
43485 grep -v '^ *+' conftest.er1
>conftest.err
43487 cat conftest.err
>&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); } &&
43490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43492 (eval $ac_try) 2>&5
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); }; } &&
43496 { ac_try
='test -s conftest.$ac_objext'
43497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43498 (eval $ac_try) 2>&5
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); }; }; then
43503 wx_cv_struct_tm_has_gmtoff
=yes
43506 echo "$as_me: failed program was:" >&5
43507 sed 's/^/| /' conftest.
$ac_ext >&5
43509 wx_cv_struct_tm_has_gmtoff
=no
43512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43515 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43516 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43519 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43520 cat >>confdefs.h
<<\_ACEOF
43521 #define WX_GMTOFF_IN_TM 1
43528 for ac_func
in gettimeofday ftime
43530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43531 echo "$as_me:$LINENO: checking for $ac_func" >&5
43532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43533 if eval "test \"\${$as_ac_var+set}\" = set"; then
43534 echo $ECHO_N "(cached) $ECHO_C" >&6
43536 cat >conftest.
$ac_ext <<_ACEOF
43539 cat confdefs.h
>>conftest.
$ac_ext
43540 cat >>conftest.
$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43544 #define $ac_func innocuous_$ac_func
43546 /* System header to define __stub macros and hopefully few prototypes,
43547 which can conflict with char $ac_func (); below.
43548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43549 <limits.h> exists even on freestanding compilers. */
43552 # include <limits.h>
43554 # include <assert.h>
43559 /* Override any gcc2 internal prototype to avoid an error. */
43564 /* We use char because int might match the return type of a gcc2
43565 builtin and then its argument prototype would still apply. */
43567 /* The GNU C library defines this for functions which it implements
43568 to always fail with ENOSYS. Some functions are actually named
43569 something starting with __ and the normal name is an alias. */
43570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43573 char (*f) () = $ac_func;
43582 return f != $ac_func;
43587 rm -f conftest.
$ac_objext conftest
$ac_exeext
43588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43589 (eval $ac_link) 2>conftest.er1
43591 grep -v '^ *+' conftest.er1
>conftest.err
43593 cat conftest.err
>&5
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); } &&
43596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598 (eval $ac_try) 2>&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; } &&
43602 { ac_try
='test -s conftest$ac_exeext'
43603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43604 (eval $ac_try) 2>&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); }; }; then
43608 eval "$as_ac_var=yes"
43610 echo "$as_me: failed program was:" >&5
43611 sed 's/^/| /' conftest.
$ac_ext >&5
43613 eval "$as_ac_var=no"
43615 rm -f conftest.err conftest.
$ac_objext \
43616 conftest
$ac_exeext conftest.
$ac_ext
43618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43620 if test `eval echo '${'$as_ac_var'}'` = yes; then
43621 cat >>confdefs.h
<<_ACEOF
43622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43629 if test "$ac_cv_func_gettimeofday" = "yes"; then
43630 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43631 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43632 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43633 echo $ECHO_N "(cached) $ECHO_C" >&6
43636 cat >conftest.
$ac_ext <<_ACEOF
43639 cat confdefs.h
>>conftest.
$ac_ext
43640 cat >>conftest.
$ac_ext <<_ACEOF
43641 /* end confdefs.h. */
43643 #include <sys/time.h>
43644 #include <unistd.h>
43651 gettimeofday(&tv, NULL);
43657 rm -f conftest.
$ac_objext
43658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43659 (eval $ac_compile) 2>conftest.er1
43661 grep -v '^ *+' conftest.er1
>conftest.err
43663 cat conftest.err
>&5
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); } &&
43666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; } &&
43672 { ac_try
='test -s conftest.$ac_objext'
43673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43674 (eval $ac_try) 2>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; }; then
43678 wx_cv_func_gettimeofday_has_2_args
=yes
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.
$ac_ext >&5
43683 cat >conftest.
$ac_ext <<_ACEOF
43686 cat confdefs.h
>>conftest.
$ac_ext
43687 cat >>conftest.
$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43690 #include <sys/time.h>
43691 #include <unistd.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" || test ! -s conftest.err'
43714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43715 (eval $ac_try) 2>&5
43717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43718 (exit $ac_status); }; } &&
43719 { ac_try
='test -s conftest.$ac_objext'
43720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43721 (eval $ac_try) 2>&5
43723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43724 (exit $ac_status); }; }; then
43725 wx_cv_func_gettimeofday_has_2_args
=no
43727 echo "$as_me: failed program was:" >&5
43728 sed 's/^/| /' conftest.
$ac_ext >&5
43731 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43732 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43733 wx_cv_func_gettimeofday_has_2_args
=unknown
43737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43743 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43744 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43746 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43747 cat >>confdefs.h
<<\_ACEOF
43748 #define WX_GETTIMEOFDAY_NO_TZ 1
43754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43758 if test "$wxUSE_SOCKETS" = "yes"; then
43759 if test "$wxUSE_MGL" = "1"; then
43760 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43761 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43766 if test "$wxUSE_SOCKETS" = "yes"; then
43767 if test "$TOOLKIT" != "MSW"; then
43768 echo "$as_me:$LINENO: checking for socket" >&5
43769 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43770 if test "${ac_cv_func_socket+set}" = set; then
43771 echo $ECHO_N "(cached) $ECHO_C" >&6
43773 cat >conftest.
$ac_ext <<_ACEOF
43776 cat confdefs.h
>>conftest.
$ac_ext
43777 cat >>conftest.
$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43779 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43781 #define socket innocuous_socket
43783 /* System header to define __stub macros and hopefully few prototypes,
43784 which can conflict with char socket (); below.
43785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43786 <limits.h> exists even on freestanding compilers. */
43789 # include <limits.h>
43791 # include <assert.h>
43796 /* Override any gcc2 internal prototype to avoid an error. */
43801 /* We use char because int might match the return type of a gcc2
43802 builtin and then its argument prototype would still apply. */
43804 /* The GNU C library defines this for functions which it implements
43805 to always fail with ENOSYS. Some functions are actually named
43806 something starting with __ and the normal name is an alias. */
43807 #if defined (__stub_socket) || defined (__stub___socket)
43810 char (*f) () = socket;
43819 return f != socket;
43824 rm -f conftest.
$ac_objext conftest
$ac_exeext
43825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43826 (eval $ac_link) 2>conftest.er1
43828 grep -v '^ *+' conftest.er1
>conftest.err
43830 cat conftest.err
>&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); } &&
43833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; } &&
43839 { ac_try
='test -s conftest$ac_exeext'
43840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43841 (eval $ac_try) 2>&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); }; }; then
43845 ac_cv_func_socket
=yes
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.
$ac_ext >&5
43850 ac_cv_func_socket
=no
43852 rm -f conftest.err conftest.
$ac_objext \
43853 conftest
$ac_exeext conftest.
$ac_ext
43855 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43856 echo "${ECHO_T}$ac_cv_func_socket" >&6
43857 if test $ac_cv_func_socket = yes; then
43861 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43862 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43863 if test "${ac_cv_lib_socket_socket+set}" = set; then
43864 echo $ECHO_N "(cached) $ECHO_C" >&6
43866 ac_check_lib_save_LIBS
=$LIBS
43867 LIBS
="-lsocket $LIBS"
43868 cat >conftest.
$ac_ext <<_ACEOF
43871 cat confdefs.h
>>conftest.
$ac_ext
43872 cat >>conftest.
$ac_ext <<_ACEOF
43873 /* end confdefs.h. */
43875 /* Override any gcc2 internal prototype to avoid an error. */
43879 /* We use char because int might match the return type of a gcc2
43880 builtin and then its argument prototype would still apply. */
43890 rm -f conftest.
$ac_objext conftest
$ac_exeext
43891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43892 (eval $ac_link) 2>conftest.er1
43894 grep -v '^ *+' conftest.er1
>conftest.err
43896 cat conftest.err
>&5
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); } &&
43899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43901 (eval $ac_try) 2>&5
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); }; } &&
43905 { ac_try
='test -s conftest$ac_exeext'
43906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907 (eval $ac_try) 2>&5
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); }; }; then
43911 ac_cv_lib_socket_socket
=yes
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.
$ac_ext >&5
43916 ac_cv_lib_socket_socket
=no
43918 rm -f conftest.err conftest.
$ac_objext \
43919 conftest
$ac_exeext conftest.
$ac_ext
43920 LIBS
=$ac_check_lib_save_LIBS
43922 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43923 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43924 if test $ac_cv_lib_socket_socket = yes; then
43925 if test "$INET_LINK" != " -lsocket"; then
43926 INET_LINK
="$INET_LINK -lsocket"
43930 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43931 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43944 if test "$wxUSE_SOCKETS" = "yes" ; then
43945 if test "$TOOLKIT" != "MSW"; then
43946 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43947 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43948 if test "${wx_cv_type_getsockname3+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43952 cat >conftest.
$ac_ext <<_ACEOF
43955 cat confdefs.h
>>conftest.
$ac_ext
43956 cat >>conftest.
$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43959 #include <sys/types.h>
43960 #include <sys/socket.h>
43967 getsockname(0, 0, &len);
43973 rm -f conftest.
$ac_objext
43974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43975 (eval $ac_compile) 2>conftest.er1
43977 grep -v '^ *+' conftest.er1
>conftest.err
43979 cat conftest.err
>&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } &&
43982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; } &&
43988 { ac_try
='test -s conftest.$ac_objext'
43989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43990 (eval $ac_try) 2>&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994 wx_cv_type_getsockname3
=socklen_t
43996 echo "$as_me: failed program was:" >&5
43997 sed 's/^/| /' conftest.
$ac_ext >&5
44000 CXXFLAGS_OLD
="$CXXFLAGS"
44001 if test "$GCC" = yes ; then
44002 CXXFLAGS
="-Werror $CXXFLAGS"
44005 cat >conftest.
$ac_ext <<_ACEOF
44008 cat confdefs.h
>>conftest.
$ac_ext
44009 cat >>conftest.
$ac_ext <<_ACEOF
44010 /* end confdefs.h. */
44012 #include <sys/types.h>
44013 #include <sys/socket.h>
44020 getsockname(0, 0, &len);
44026 rm -f conftest.
$ac_objext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44028 (eval $ac_compile) 2>conftest.er1
44030 grep -v '^ *+' conftest.er1
>conftest.err
44032 cat conftest.err
>&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44037 (eval $ac_try) 2>&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); }; } &&
44041 { ac_try
='test -s conftest.$ac_objext'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; }; then
44047 wx_cv_type_getsockname3
=size_t
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.
$ac_ext >&5
44052 cat >conftest.
$ac_ext <<_ACEOF
44055 cat confdefs.h
>>conftest.
$ac_ext
44056 cat >>conftest.
$ac_ext <<_ACEOF
44057 /* end confdefs.h. */
44059 #include <sys/types.h>
44060 #include <sys/socket.h>
44067 getsockname(0, 0, &len);
44073 rm -f conftest.
$ac_objext
44074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44075 (eval $ac_compile) 2>conftest.er1
44077 grep -v '^ *+' conftest.er1
>conftest.err
44079 cat conftest.err
>&5
44080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44081 (exit $ac_status); } &&
44082 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44084 (eval $ac_try) 2>&5
44086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44087 (exit $ac_status); }; } &&
44088 { ac_try
='test -s conftest.$ac_objext'
44089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44090 (eval $ac_try) 2>&5
44092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44093 (exit $ac_status); }; }; then
44094 wx_cv_type_getsockname3
=int
44096 echo "$as_me: failed program was:" >&5
44097 sed 's/^/| /' conftest.
$ac_ext >&5
44099 wx_cv_type_getsockname3
=unknown
44102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44107 CXXFLAGS
="$CXXFLAGS_OLD"
44111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44114 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44115 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44117 if test "$wx_cv_type_getsockname3" = "unknown"; then
44119 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44120 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44122 cat >>confdefs.h
<<_ACEOF
44123 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44127 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44128 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44129 if test "${wx_cv_type_getsockopt5+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44133 cat >conftest.
$ac_ext <<_ACEOF
44136 cat confdefs.h
>>conftest.
$ac_ext
44137 cat >>conftest.
$ac_ext <<_ACEOF
44138 /* end confdefs.h. */
44140 #include <sys/types.h>
44141 #include <sys/socket.h>
44148 getsockopt(0, 0, 0, 0, &len);
44154 rm -f conftest.
$ac_objext
44155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44156 (eval $ac_compile) 2>conftest.er1
44158 grep -v '^ *+' conftest.er1
>conftest.err
44160 cat conftest.err
>&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } &&
44163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165 (eval $ac_try) 2>&5
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; } &&
44169 { ac_try
='test -s conftest.$ac_objext'
44170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44171 (eval $ac_try) 2>&5
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); }; }; then
44175 wx_cv_type_getsockopt5
=socklen_t
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.
$ac_ext >&5
44181 CXXFLAGS_OLD
="$CXXFLAGS"
44182 if test "$GCC" = yes ; then
44183 CXXFLAGS
="-Werror $CXXFLAGS"
44186 cat >conftest.
$ac_ext <<_ACEOF
44189 cat confdefs.h
>>conftest.
$ac_ext
44190 cat >>conftest.
$ac_ext <<_ACEOF
44191 /* end confdefs.h. */
44193 #include <sys/types.h>
44194 #include <sys/socket.h>
44201 getsockopt(0, 0, 0, 0, &len);
44207 rm -f conftest.
$ac_objext
44208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44209 (eval $ac_compile) 2>conftest.er1
44211 grep -v '^ *+' conftest.er1
>conftest.err
44213 cat conftest.err
>&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } &&
44216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44218 (eval $ac_try) 2>&5
44220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44221 (exit $ac_status); }; } &&
44222 { ac_try
='test -s conftest.$ac_objext'
44223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44224 (eval $ac_try) 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; }; then
44228 wx_cv_type_getsockopt5
=size_t
44230 echo "$as_me: failed program was:" >&5
44231 sed 's/^/| /' conftest.
$ac_ext >&5
44233 cat >conftest.
$ac_ext <<_ACEOF
44236 cat confdefs.h
>>conftest.
$ac_ext
44237 cat >>conftest.
$ac_ext <<_ACEOF
44238 /* end confdefs.h. */
44240 #include <sys/types.h>
44241 #include <sys/socket.h>
44248 getsockopt(0, 0, 0, 0, &len);
44254 rm -f conftest.
$ac_objext
44255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44256 (eval $ac_compile) 2>conftest.er1
44258 grep -v '^ *+' conftest.er1
>conftest.err
44260 cat conftest.err
>&5
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); } &&
44263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44265 (eval $ac_try) 2>&5
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); }; } &&
44269 { ac_try
='test -s conftest.$ac_objext'
44270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44271 (eval $ac_try) 2>&5
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; }; then
44275 wx_cv_type_getsockopt5
=int
44277 echo "$as_me: failed program was:" >&5
44278 sed 's/^/| /' conftest.
$ac_ext >&5
44280 wx_cv_type_getsockopt5
=unknown
44283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44288 CXXFLAGS
="$CXXFLAGS_OLD"
44292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44295 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44296 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44298 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44300 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44301 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44303 cat >>confdefs.h
<<_ACEOF
44304 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44311 if test "$wxUSE_SOCKETS" = "yes" ; then
44312 cat >>confdefs.h
<<\_ACEOF
44313 #define wxUSE_SOCKETS 1
44316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44319 if test "$wxUSE_PROTOCOL" = "yes"; then
44320 if test "$wxUSE_SOCKETS" != "yes"; then
44321 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44322 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44327 if test "$wxUSE_PROTOCOL" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_PROTOCOL 1
44333 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44334 cat >>confdefs.h
<<\_ACEOF
44335 #define wxUSE_PROTOCOL_HTTP 1
44339 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44340 cat >>confdefs.h
<<\_ACEOF
44341 #define wxUSE_PROTOCOL_FTP 1
44345 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44346 cat >>confdefs.h
<<\_ACEOF
44347 #define wxUSE_PROTOCOL_FILE 1
44352 if test "$wxUSE_FS_INET" = "yes"; then
44353 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44354 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44359 if test "$wxUSE_URL" = "yes"; then
44360 if test "$wxUSE_PROTOCOL" != "yes"; then
44361 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44362 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44365 if test "$wxUSE_URL" = "yes"; then
44366 cat >>confdefs.h
<<\_ACEOF
44367 #define wxUSE_URL 1
44373 if test "$wxUSE_VARIANT" = "yes"; then
44374 cat >>confdefs.h
<<\_ACEOF
44375 #define wxUSE_VARIANT 1
44380 if test "$wxUSE_FS_INET" = "yes"; then
44381 cat >>confdefs.h
<<\_ACEOF
44382 #define wxUSE_FS_INET 1
44388 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44391 if test "$TOOLKIT" = "MSW"; then
44394 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44395 if test "$USE_DARWIN" = 1; then
44396 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44397 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44398 cat >conftest.
$ac_ext <<_ACEOF
44401 cat confdefs.h
>>conftest.
$ac_ext
44402 cat >>conftest.
$ac_ext <<_ACEOF
44403 /* end confdefs.h. */
44404 #include <IOKit/hid/IOHIDLib.h>
44408 IOHIDQueueInterface *qi = NULL;
44409 IOHIDCallbackFunction cb = NULL;
44410 qi->setEventCallout(NULL, cb, NULL, NULL);
44415 rm -f conftest.
$ac_objext
44416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44417 (eval $ac_compile) 2>conftest.er1
44419 grep -v '^ *+' conftest.er1
>conftest.err
44421 cat conftest.err
>&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); } &&
44424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44426 (eval $ac_try) 2>&5
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); }; } &&
44430 { ac_try
='test -s conftest.$ac_objext'
44431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44432 (eval $ac_try) 2>&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); }; }; then
44439 echo "$as_me: failed program was:" >&5
44440 sed 's/^/| /' conftest.
$ac_ext >&5
44443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44444 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44445 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44450 for ac_header
in linux
/joystick.h
44452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44454 echo "$as_me:$LINENO: checking for $ac_header" >&5
44455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44457 echo $ECHO_N "(cached) $ECHO_C" >&6
44459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44462 # Is the header compilable?
44463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44465 cat >conftest.
$ac_ext <<_ACEOF
44468 cat confdefs.h
>>conftest.
$ac_ext
44469 cat >>conftest.
$ac_ext <<_ACEOF
44470 /* end confdefs.h. */
44471 $ac_includes_default
44472 #include <$ac_header>
44474 rm -f conftest.
$ac_objext
44475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44476 (eval $ac_compile) 2>conftest.er1
44478 grep -v '^ *+' conftest.er1
>conftest.err
44480 cat conftest.err
>&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } &&
44483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44485 (eval $ac_try) 2>&5
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); }; } &&
44489 { ac_try
='test -s conftest.$ac_objext'
44490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44491 (eval $ac_try) 2>&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); }; }; then
44495 ac_header_compiler
=yes
44497 echo "$as_me: failed program was:" >&5
44498 sed 's/^/| /' conftest.
$ac_ext >&5
44500 ac_header_compiler
=no
44502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44504 echo "${ECHO_T}$ac_header_compiler" >&6
44506 # Is the header present?
44507 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44508 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44509 cat >conftest.
$ac_ext <<_ACEOF
44512 cat confdefs.h
>>conftest.
$ac_ext
44513 cat >>conftest.
$ac_ext <<_ACEOF
44514 /* end confdefs.h. */
44515 #include <$ac_header>
44517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44520 grep -v '^ *+' conftest.er1
>conftest.err
44522 cat conftest.err
>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); } >/dev
/null
; then
44525 if test -s conftest.err
; then
44526 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44527 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44534 if test -z "$ac_cpp_err"; then
44535 ac_header_preproc
=yes
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.
$ac_ext >&5
44540 ac_header_preproc
=no
44542 rm -f conftest.err conftest.
$ac_ext
44543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44544 echo "${ECHO_T}$ac_header_preproc" >&6
44546 # So? What about this header?
44547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44552 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44553 ac_header_preproc
=yes
44556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44560 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44561 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44562 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44563 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44566 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44567 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44570 ## ----------------------------------------- ##
44571 ## Report this to wx-dev@lists.wxwidgets.org ##
44572 ## ----------------------------------------- ##
44575 sed "s/^/$as_me: WARNING: /" >&2
44578 echo "$as_me:$LINENO: checking for $ac_header" >&5
44579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44581 echo $ECHO_N "(cached) $ECHO_C" >&6
44583 eval "$as_ac_Header=\$ac_header_preproc"
44585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44590 cat >>confdefs.h
<<_ACEOF
44591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44600 if test "$wxUSE_JOYSTICK" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_JOYSTICK 1
44605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44607 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44608 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44614 if test "$wxUSE_FONTMAP" = "yes" ; then
44615 cat >>confdefs.h
<<\_ACEOF
44616 #define wxUSE_FONTMAP 1
44621 if test "$wxUSE_UNICODE" = "yes" ; then
44622 cat >>confdefs.h
<<\_ACEOF
44623 #define wxUSE_UNICODE 1
44627 if test "$USE_WIN32" != 1; then
44628 wxUSE_UNICODE_MSLU
=no
44631 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44632 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44633 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44634 if test "${ac_cv_lib_unicows_main+set}" = set; then
44635 echo $ECHO_N "(cached) $ECHO_C" >&6
44637 ac_check_lib_save_LIBS
=$LIBS
44638 LIBS
="-lunicows $LIBS"
44639 cat >conftest.
$ac_ext <<_ACEOF
44642 cat confdefs.h
>>conftest.
$ac_ext
44643 cat >>conftest.
$ac_ext <<_ACEOF
44644 /* end confdefs.h. */
44655 rm -f conftest.
$ac_objext conftest
$ac_exeext
44656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44657 (eval $ac_link) 2>conftest.er1
44659 grep -v '^ *+' conftest.er1
>conftest.err
44661 cat conftest.err
>&5
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); } &&
44664 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44666 (eval $ac_try) 2>&5
44668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44669 (exit $ac_status); }; } &&
44670 { ac_try
='test -s conftest$ac_exeext'
44671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44672 (eval $ac_try) 2>&5
44674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675 (exit $ac_status); }; }; then
44676 ac_cv_lib_unicows_main
=yes
44678 echo "$as_me: failed program was:" >&5
44679 sed 's/^/| /' conftest.
$ac_ext >&5
44681 ac_cv_lib_unicows_main
=no
44683 rm -f conftest.err conftest.
$ac_objext \
44684 conftest
$ac_exeext conftest.
$ac_ext
44685 LIBS
=$ac_check_lib_save_LIBS
44687 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44688 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44689 if test $ac_cv_lib_unicows_main = yes; then
44691 cat >>confdefs.h
<<\_ACEOF
44692 #define wxUSE_UNICODE_MSLU 1
44698 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44699 Applications will only run on Windows NT/2000/XP!" >&5
44700 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44701 Applications will only run on Windows NT/2000/XP!" >&2;}
44702 wxUSE_UNICODE_MSLU
=no
44709 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_EXPERIMENTAL_PRINTF 1
44717 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44718 cat >>confdefs.h
<<\_ACEOF
44719 #define wxUSE_POSTSCRIPT 1
44724 cat >>confdefs.h
<<\_ACEOF
44725 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44729 cat >>confdefs.h
<<\_ACEOF
44730 #define wxUSE_NORMALIZED_PS_FONTS 1
44735 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44736 cat >>confdefs.h
<<\_ACEOF
44737 #define wxUSE_CONSTRAINTS 1
44740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44743 if test "$wxUSE_MDI" = "yes"; then
44744 cat >>confdefs.h
<<\_ACEOF
44745 #define wxUSE_MDI 1
44749 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44750 cat >>confdefs.h
<<\_ACEOF
44751 #define wxUSE_MDI_ARCHITECTURE 1
44754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44758 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44759 cat >>confdefs.h
<<\_ACEOF
44760 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44764 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44769 if test "$wxUSE_HELP" = "yes"; then
44770 cat >>confdefs.h
<<\_ACEOF
44771 #define wxUSE_HELP 1
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44776 if test "$wxUSE_MSW" = 1; then
44777 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44778 cat >>confdefs.h
<<\_ACEOF
44779 #define wxUSE_MS_HTML_HELP 1
44785 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44786 if test "$wxUSE_HTML" = "yes"; then
44787 cat >>confdefs.h
<<\_ACEOF
44788 #define wxUSE_WXHTML_HELP 1
44792 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44793 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44794 wxUSE_WXHTML_HELP
=no
44799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44800 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44801 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44802 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44804 cat >>confdefs.h
<<\_ACEOF
44805 #define wxUSE_PRINTING_ARCHITECTURE 1
44809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44812 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44813 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44814 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44815 { (exit 1); exit 1; }; }
44819 if test "$wxUSE_METAFILE" = "yes"; then
44820 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44821 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44822 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44828 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44829 -o "$wxUSE_CLIPBOARD" = "yes" \
44830 -o "$wxUSE_OLE" = "yes" \
44831 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44833 for ac_header
in ole2.h
44835 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44837 echo "$as_me:$LINENO: checking for $ac_header" >&5
44838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44840 echo $ECHO_N "(cached) $ECHO_C" >&6
44842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44845 # Is the header compilable?
44846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44848 cat >conftest.
$ac_ext <<_ACEOF
44851 cat confdefs.h
>>conftest.
$ac_ext
44852 cat >>conftest.
$ac_ext <<_ACEOF
44853 /* end confdefs.h. */
44854 $ac_includes_default
44855 #include <$ac_header>
44857 rm -f conftest.
$ac_objext
44858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44859 (eval $ac_compile) 2>conftest.er1
44861 grep -v '^ *+' conftest.er1
>conftest.err
44863 cat conftest.err
>&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } &&
44866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; } &&
44872 { ac_try
='test -s conftest.$ac_objext'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; }; then
44878 ac_header_compiler
=yes
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.
$ac_ext >&5
44883 ac_header_compiler
=no
44885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44887 echo "${ECHO_T}$ac_header_compiler" >&6
44889 # Is the header present?
44890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44892 cat >conftest.
$ac_ext <<_ACEOF
44895 cat confdefs.h
>>conftest.
$ac_ext
44896 cat >>conftest.
$ac_ext <<_ACEOF
44897 /* end confdefs.h. */
44898 #include <$ac_header>
44900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44903 grep -v '^ *+' conftest.er1
>conftest.err
44905 cat conftest.err
>&5
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); } >/dev
/null
; then
44908 if test -s conftest.err
; then
44909 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44910 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44917 if test -z "$ac_cpp_err"; then
44918 ac_header_preproc
=yes
44920 echo "$as_me: failed program was:" >&5
44921 sed 's/^/| /' conftest.
$ac_ext >&5
44923 ac_header_preproc
=no
44925 rm -f conftest.err conftest.
$ac_ext
44926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44927 echo "${ECHO_T}$ac_header_preproc" >&6
44929 # So? What about this header?
44930 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44936 ac_header_preproc
=yes
44939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44953 ## ----------------------------------------- ##
44954 ## Report this to wx-dev@lists.wxwidgets.org ##
44955 ## ----------------------------------------- ##
44958 sed "s/^/$as_me: WARNING: /" >&2
44961 echo "$as_me:$LINENO: checking for $ac_header" >&5
44962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44964 echo $ECHO_N "(cached) $ECHO_C" >&6
44966 eval "$as_ac_Header=\$ac_header_preproc"
44968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44973 cat >>confdefs.h
<<_ACEOF
44974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44982 if test "$ac_cv_header_ole2_h" = "yes" ; then
44983 if test "$GCC" = yes ; then
44984 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44985 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44986 cat >conftest.
$ac_ext <<_ACEOF
44989 cat confdefs.h
>>conftest.
$ac_ext
44990 cat >>conftest.
$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 #include <windows.h>
45002 rm -f conftest.
$ac_objext
45003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45004 (eval $ac_compile) 2>conftest.er1
45006 grep -v '^ *+' conftest.er1
>conftest.err
45008 cat conftest.err
>&5
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); } &&
45011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; } &&
45017 { ac_try
='test -s conftest.$ac_objext'
45018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45019 (eval $ac_try) 2>&5
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); }; }; then
45023 echo "$as_me:$LINENO: result: no" >&5
45024 echo "${ECHO_T}no" >&6
45026 echo "$as_me: failed program was:" >&5
45027 sed 's/^/| /' conftest.
$ac_ext >&5
45029 echo "$as_me:$LINENO: result: yes" >&5
45030 echo "${ECHO_T}yes" >&6
45031 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45034 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45035 if test "$wxUSE_OLE" = "yes" ; then
45036 cat >>confdefs.h
<<\_ACEOF
45037 #define wxUSE_OLE 1
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_OLE_AUTOMATION 1
45044 cat >>confdefs.h
<<\_ACEOF
45045 #define wxUSE_OLE_ACTIVEX 1
45048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45052 if test "$wxUSE_DATAOBJ" = "yes" ; then
45053 cat >>confdefs.h
<<\_ACEOF
45054 #define wxUSE_DATAOBJ 1
45059 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45060 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45063 wxUSE_DRAG_AND_DROP
=no
45068 if test "$wxUSE_METAFILE" = "yes"; then
45069 cat >>confdefs.h
<<\_ACEOF
45070 #define wxUSE_METAFILE 1
45074 cat >>confdefs.h
<<\_ACEOF
45075 #define wxUSE_ENH_METAFILE 1
45081 if test "$wxUSE_IPC" = "yes"; then
45082 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45083 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45084 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45088 if test "$wxUSE_IPC" = "yes"; then
45089 cat >>confdefs.h
<<\_ACEOF
45090 #define wxUSE_IPC 1
45093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45097 if test "$wxUSE_DATAOBJ" = "yes"; then
45098 if test "$wxUSE_MGL" = 1; then
45099 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45100 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45103 cat >>confdefs.h
<<\_ACEOF
45104 #define wxUSE_DATAOBJ 1
45109 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45110 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45112 wxUSE_DRAG_AND_DROP
=no
45115 if test "$wxUSE_CLIPBOARD" = "yes"; then
45116 if test "$wxUSE_MGL" = 1; then
45117 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45118 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45122 if test "$wxUSE_CLIPBOARD" = "yes"; then
45123 cat >>confdefs.h
<<\_ACEOF
45124 #define wxUSE_CLIPBOARD 1
45130 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45131 if test "$wxUSE_GTK" = 1; then
45132 if test "$WXGTK12" != 1; then
45133 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45134 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45135 wxUSE_DRAG_AND_DROP
=no
45139 if test "$wxUSE_MOTIF" = 1; then
45140 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45141 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45142 wxUSE_DRAG_AND_DROP
=no
45145 if test "$wxUSE_X11" = 1; then
45146 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45147 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45148 wxUSE_DRAG_AND_DROP
=no
45151 if test "$wxUSE_MGL" = 1; then
45152 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45153 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45154 wxUSE_DRAG_AND_DROP
=no
45157 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45158 cat >>confdefs.h
<<\_ACEOF
45159 #define wxUSE_DRAG_AND_DROP 1
45166 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45170 if test "$wxUSE_SPLINES" = "yes" ; then
45171 cat >>confdefs.h
<<\_ACEOF
45172 #define wxUSE_SPLINES 1
45177 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define wxUSE_MOUSEWHEEL 1
45186 if test "$wxUSE_CONTROLS" = "yes"; then
45190 if test "$wxUSE_ACCEL" = "yes"; then
45191 cat >>confdefs.h
<<\_ACEOF
45192 #define wxUSE_ACCEL 1
45198 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45199 cat >>confdefs.h
<<\_ACEOF
45200 #define wxUSE_ANIMATIONCTRL 1
45204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45207 if test "$wxUSE_BUTTON" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_BUTTON 1
45215 if test "$wxUSE_BMPBUTTON" = "yes"; then
45216 cat >>confdefs.h
<<\_ACEOF
45217 #define wxUSE_BMPBUTTON 1
45223 if test "$wxUSE_CALCTRL" = "yes"; then
45224 cat >>confdefs.h
<<\_ACEOF
45225 #define wxUSE_CALENDARCTRL 1
45229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45232 if test "$wxUSE_CARET" = "yes"; then
45233 cat >>confdefs.h
<<\_ACEOF
45234 #define wxUSE_CARET 1
45238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45241 if test "$wxUSE_COMBOBOX" = "yes"; then
45242 cat >>confdefs.h
<<\_ACEOF
45243 #define wxUSE_COMBOBOX 1
45249 if test "$wxUSE_COMBOCTRL" = "yes"; then
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define wxUSE_COMBOCTRL 1
45257 if test "$wxUSE_CHOICE" = "yes"; then
45258 cat >>confdefs.h
<<\_ACEOF
45259 #define wxUSE_CHOICE 1
45265 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45266 cat >>confdefs.h
<<\_ACEOF
45267 #define wxUSE_CHOICEBOOK 1
45273 if test "$wxUSE_CHECKBOX" = "yes"; then
45274 cat >>confdefs.h
<<\_ACEOF
45275 #define wxUSE_CHECKBOX 1
45281 if test "$wxUSE_CHECKLST" = "yes"; then
45282 cat >>confdefs.h
<<\_ACEOF
45283 #define wxUSE_CHECKLISTBOX 1
45287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45290 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45291 cat >>confdefs.h
<<\_ACEOF
45292 #define wxUSE_COLOURPICKERCTRL 1
45298 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45299 cat >>confdefs.h
<<\_ACEOF
45300 #define wxUSE_DATEPICKCTRL 1
45306 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45307 cat >>confdefs.h
<<\_ACEOF
45308 #define wxUSE_DIRPICKERCTRL 1
45314 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_FILEPICKERCTRL 1
45322 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define wxUSE_FONTPICKERCTRL 1
45330 if test "$wxUSE_DISPLAY" = "yes"; then
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_DISPLAY 1
45335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45338 if test "$wxUSE_GAUGE" = "yes"; then
45339 cat >>confdefs.h
<<\_ACEOF
45340 #define wxUSE_GAUGE 1
45346 if test "$wxUSE_GRID" = "yes"; then
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_GRID 1
45352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45355 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45356 cat >>confdefs.h
<<\_ACEOF
45357 #define wxUSE_HYPERLINKCTRL 1
45363 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45364 cat >>confdefs.h
<<\_ACEOF
45365 #define wxUSE_BITMAPCOMBOBOX 1
45371 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45372 cat >>confdefs.h
<<\_ACEOF
45373 #define wxUSE_DATAVIEWCTRL 1
45377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45380 if test "$wxUSE_IMAGLIST" = "yes"; then
45381 cat >>confdefs.h
<<\_ACEOF
45382 #define wxUSE_IMAGLIST 1
45387 if test "$wxUSE_LISTBOOK" = "yes"; then
45388 cat >>confdefs.h
<<\_ACEOF
45389 #define wxUSE_LISTBOOK 1
45395 if test "$wxUSE_LISTBOX" = "yes"; then
45396 cat >>confdefs.h
<<\_ACEOF
45397 #define wxUSE_LISTBOX 1
45401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45404 if test "$wxUSE_LISTCTRL" = "yes"; then
45405 if test "$wxUSE_IMAGLIST" = "yes"; then
45406 cat >>confdefs.h
<<\_ACEOF
45407 #define wxUSE_LISTCTRL 1
45411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45413 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45414 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45418 if test "$wxUSE_NOTEBOOK" = "yes"; then
45419 cat >>confdefs.h
<<\_ACEOF
45420 #define wxUSE_NOTEBOOK 1
45424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45427 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_ODCOMBOBOX 1
45433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45437 if test "$wxUSE_RADIOBOX" = "yes"; then
45438 cat >>confdefs.h
<<\_ACEOF
45439 #define wxUSE_RADIOBOX 1
45445 if test "$wxUSE_RADIOBTN" = "yes"; then
45446 cat >>confdefs.h
<<\_ACEOF
45447 #define wxUSE_RADIOBTN 1
45453 if test "$wxUSE_SASH" = "yes"; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_SASH 1
45458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45461 if test "$wxUSE_SCROLLBAR" = "yes"; then
45462 cat >>confdefs.h
<<\_ACEOF
45463 #define wxUSE_SCROLLBAR 1
45467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45470 if test "$wxUSE_SLIDER" = "yes"; then
45471 cat >>confdefs.h
<<\_ACEOF
45472 #define wxUSE_SLIDER 1
45478 if test "$wxUSE_SPINBTN" = "yes"; then
45479 cat >>confdefs.h
<<\_ACEOF
45480 #define wxUSE_SPINBTN 1
45486 if test "$wxUSE_SPINCTRL" = "yes"; then
45487 cat >>confdefs.h
<<\_ACEOF
45488 #define wxUSE_SPINCTRL 1
45494 if test "$wxUSE_SPLITTER" = "yes"; then
45495 cat >>confdefs.h
<<\_ACEOF
45496 #define wxUSE_SPLITTER 1
45499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45502 if test "$wxUSE_STATBMP" = "yes"; then
45503 cat >>confdefs.h
<<\_ACEOF
45504 #define wxUSE_STATBMP 1
45510 if test "$wxUSE_STATBOX" = "yes"; then
45511 cat >>confdefs.h
<<\_ACEOF
45512 #define wxUSE_STATBOX 1
45518 if test "$wxUSE_STATTEXT" = "yes"; then
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_STATTEXT 1
45526 if test "$wxUSE_STATLINE" = "yes"; then
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_STATLINE 1
45534 if test "$wxUSE_STATUSBAR" = "yes"; then
45535 cat >>confdefs.h
<<\_ACEOF
45536 #define wxUSE_NATIVE_STATUSBAR 1
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_STATUSBAR 1
45545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45548 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45549 cat >>confdefs.h
<<\_ACEOF
45550 #define wxUSE_TAB_DIALOG 1
45555 if test "$wxUSE_TEXTCTRL" = "yes"; then
45556 cat >>confdefs.h
<<\_ACEOF
45557 #define wxUSE_TEXTCTRL 1
45561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45564 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45565 if test "$wxUSE_COCOA" = 1 ; then
45566 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45567 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45571 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45572 cat >>confdefs.h
<<\_ACEOF
45573 #define wxUSE_TOGGLEBTN 1
45580 if test "$wxUSE_TOOLBAR" = "yes"; then
45581 cat >>confdefs.h
<<\_ACEOF
45582 #define wxUSE_TOOLBAR 1
45587 if test "$wxUSE_UNIVERSAL" = "yes"; then
45588 wxUSE_TOOLBAR_NATIVE
="no"
45590 wxUSE_TOOLBAR_NATIVE
="yes"
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_TOOLBAR_NATIVE 1
45597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45600 if test "$wxUSE_TOOLTIPS" = "yes"; then
45601 if test "$wxUSE_MOTIF" = 1; then
45602 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45603 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45605 if test "$wxUSE_UNIVERSAL" = "yes"; then
45606 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45607 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45609 cat >>confdefs.h
<<\_ACEOF
45610 #define wxUSE_TOOLTIPS 1
45617 if test "$wxUSE_TREEBOOK" = "yes"; then
45618 cat >>confdefs.h
<<\_ACEOF
45619 #define wxUSE_TREEBOOK 1
45625 if test "$wxUSE_TOOLBOOK" = "yes"; then
45626 cat >>confdefs.h
<<\_ACEOF
45627 #define wxUSE_TOOLBOOK 1
45633 if test "$wxUSE_TREECTRL" = "yes"; then
45634 if test "$wxUSE_IMAGLIST" = "yes"; then
45635 cat >>confdefs.h
<<\_ACEOF
45636 #define wxUSE_TREECTRL 1
45640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45642 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45643 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45647 if test "$wxUSE_POPUPWIN" = "yes"; then
45648 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45649 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45650 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45652 if test "$wxUSE_PM" = 1; then
45653 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45654 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45656 cat >>confdefs.h
<<\_ACEOF
45657 #define wxUSE_POPUPWIN 1
45660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45667 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45668 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45669 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45670 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45672 cat >>confdefs.h
<<\_ACEOF
45673 #define wxUSE_DIALUP_MANAGER 1
45676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45680 if test "$wxUSE_TIPWINDOW" = "yes"; then
45681 if test "$wxUSE_PM" = 1; then
45682 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45683 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45685 cat >>confdefs.h
<<\_ACEOF
45686 #define wxUSE_TIPWINDOW 1
45692 if test "$USES_CONTROLS" = 1; then
45693 cat >>confdefs.h
<<\_ACEOF
45694 #define wxUSE_CONTROLS 1
45700 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45701 cat >>confdefs.h
<<\_ACEOF
45702 #define wxUSE_ACCESSIBILITY 1
45705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45708 if test "$wxUSE_DC_CACHEING" = "yes"; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_DC_CACHEING 1
45715 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45716 cat >>confdefs.h
<<\_ACEOF
45717 #define wxUSE_DRAGIMAGE 1
45720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45723 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45724 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45725 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45726 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45728 cat >>confdefs.h
<<\_ACEOF
45729 #define wxUSE_EXCEPTIONS 1
45732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45737 if test "$wxUSE_HTML" = "yes"; then
45738 cat >>confdefs.h
<<\_ACEOF
45739 #define wxUSE_HTML 1
45743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45744 if test "$wxUSE_MAC" = 1; then
45745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45748 if test "$wxUSE_WEBKIT" = "yes"; then
45749 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45750 old_CPPFLAGS
="$CPPFLAGS"
45751 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45752 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45753 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45754 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45755 echo $ECHO_N "(cached) $ECHO_C" >&6
45757 cat >conftest.
$ac_ext <<_ACEOF
45760 cat confdefs.h
>>conftest.
$ac_ext
45761 cat >>conftest.
$ac_ext <<_ACEOF
45762 /* end confdefs.h. */
45763 #include <Carbon/Carbon.h>
45765 #include <WebKit/HIWebView.h>
45767 rm -f conftest.
$ac_objext
45768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45769 (eval $ac_compile) 2>conftest.er1
45771 grep -v '^ *+' conftest.er1
>conftest.err
45773 cat conftest.err
>&5
45774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45775 (exit $ac_status); } &&
45776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45778 (eval $ac_try) 2>&5
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); }; } &&
45782 { ac_try
='test -s conftest.$ac_objext'
45783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45784 (eval $ac_try) 2>&5
45786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45787 (exit $ac_status); }; }; then
45788 ac_cv_header_WebKit_HIWebView_h
=yes
45790 echo "$as_me: failed program was:" >&5
45791 sed 's/^/| /' conftest.
$ac_ext >&5
45793 ac_cv_header_WebKit_HIWebView_h
=no
45795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45797 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45798 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45799 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45801 cat >>confdefs.h
<<\_ACEOF
45802 #define wxUSE_WEBKIT 1
45805 WEBKIT_LINK
="-framework WebKit"
45809 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45810 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45816 CPPFLAGS
="$old_CPPFLAGS"
45817 elif test "$wxUSE_COCOA" = 1; then
45818 cat >>confdefs.h
<<\_ACEOF
45819 #define wxUSE_WEBKIT 1
45828 if test "$wxUSE_XRC" = "yes"; then
45829 if test "$wxUSE_XML" != "yes"; then
45830 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45831 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45834 cat >>confdefs.h
<<\_ACEOF
45835 #define wxUSE_XRC 1
45839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45844 if test "$wxUSE_AUI" = "yes"; then
45845 cat >>confdefs.h
<<\_ACEOF
45846 #define wxUSE_AUI 1
45850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45853 if test "$wxUSE_MENUS" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_MENUS 1
45858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45861 if test "$wxUSE_METAFILE" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_METAFILE 1
45868 if test "$wxUSE_MIMETYPE" = "yes"; then
45869 cat >>confdefs.h
<<\_ACEOF
45870 #define wxUSE_MIMETYPE 1
45875 if test "$wxUSE_MINIFRAME" = "yes"; then
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_MINIFRAME 1
45880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45883 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_SYSTEM_OPTIONS 1
45888 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45889 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45895 if test "$wxUSE_VALIDATORS" = "yes"; then
45896 cat >>confdefs.h
<<\_ACEOF
45897 #define wxUSE_VALIDATORS 1
45900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45903 if test "$wxUSE_PALETTE" = "yes" ; then
45904 cat >>confdefs.h
<<\_ACEOF
45905 #define wxUSE_PALETTE 1
45910 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45911 LIBS
=" -lunicows $LIBS"
45915 if test "$wxUSE_RICHTEXT" = "yes"; then
45916 cat >>confdefs.h
<<\_ACEOF
45917 #define wxUSE_RICHTEXT 1
45921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45925 if test "$wxUSE_IMAGE" = "yes" ; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_IMAGE 1
45931 if test "$wxUSE_GIF" = "yes" ; then
45932 cat >>confdefs.h
<<\_ACEOF
45933 #define wxUSE_GIF 1
45938 if test "$wxUSE_PCX" = "yes" ; then
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_PCX 1
45945 if test "$wxUSE_IFF" = "yes" ; then
45946 cat >>confdefs.h
<<\_ACEOF
45947 #define wxUSE_IFF 1
45952 if test "$wxUSE_PNM" = "yes" ; then
45953 cat >>confdefs.h
<<\_ACEOF
45954 #define wxUSE_PNM 1
45959 if test "$wxUSE_XPM" = "yes" ; then
45960 cat >>confdefs.h
<<\_ACEOF
45961 #define wxUSE_XPM 1
45966 if test "$wxUSE_ICO_CUR" = "yes" ; then
45967 cat >>confdefs.h
<<\_ACEOF
45968 #define wxUSE_ICO_CUR 1
45975 if test "$wxUSE_ABOUTDLG" = "yes"; then
45976 cat >>confdefs.h
<<\_ACEOF
45977 #define wxUSE_ABOUTDLG 1
45982 if test "$wxUSE_CHOICEDLG" = "yes"; then
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_CHOICEDLG 1
45989 if test "$wxUSE_COLOURDLG" = "yes"; then
45990 cat >>confdefs.h
<<\_ACEOF
45991 #define wxUSE_COLOURDLG 1
45996 if test "$wxUSE_FILEDLG" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_FILEDLG 1
46003 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46004 cat >>confdefs.h
<<\_ACEOF
46005 #define wxUSE_FINDREPLDLG 1
46010 if test "$wxUSE_FONTDLG" = "yes"; then
46011 cat >>confdefs.h
<<\_ACEOF
46012 #define wxUSE_FONTDLG 1
46017 if test "$wxUSE_DIRDLG" = "yes"; then
46018 if test "$wxUSE_TREECTRL" != "yes"; then
46019 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46020 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46022 cat >>confdefs.h
<<\_ACEOF
46023 #define wxUSE_DIRDLG 1
46029 if test "$wxUSE_MSGDLG" = "yes"; then
46030 cat >>confdefs.h
<<\_ACEOF
46031 #define wxUSE_MSGDLG 1
46036 if test "$wxUSE_NUMBERDLG" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_NUMBERDLG 1
46043 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46044 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46045 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46046 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46048 cat >>confdefs.h
<<\_ACEOF
46049 #define wxUSE_PROGRESSDLG 1
46055 if test "$wxUSE_SPLASH" = "yes"; then
46056 cat >>confdefs.h
<<\_ACEOF
46057 #define wxUSE_SPLASH 1
46060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46063 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46064 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46065 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46066 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46068 cat >>confdefs.h
<<\_ACEOF
46069 #define wxUSE_STARTUP_TIPS 1
46075 if test "$wxUSE_TEXTDLG" = "yes"; then
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_TEXTDLG 1
46082 if test "$wxUSE_WIZARDDLG" = "yes"; then
46083 cat >>confdefs.h
<<\_ACEOF
46084 #define wxUSE_WIZARDDLG 1
46087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46091 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46092 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_GRAPHICS_CONTEXT 1
46097 elif test "$wxUSE_GTK" != 1; then
46098 cat >>confdefs.h
<<\_ACEOF
46099 #define wxUSE_GRAPHICS_CONTEXT 1
46105 echo "$as_me:$LINENO: checking for CAIRO" >&5
46106 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46108 if test -n "$PKG_CONFIG"; then
46109 if test -n "$CAIRO_CFLAGS"; then
46110 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46112 if test -n "$PKG_CONFIG" && \
46113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46114 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46117 (exit $ac_status); }; then
46118 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46126 if test -n "$PKG_CONFIG"; then
46127 if test -n "$CAIRO_LIBS"; then
46128 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46130 if test -n "$PKG_CONFIG" && \
46131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46132 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46135 (exit $ac_status); }; then
46136 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46147 if test $pkg_failed = yes; then
46149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46150 _pkg_short_errors_supported
=yes
46152 _pkg_short_errors_supported
=no
46154 if test $_pkg_short_errors_supported = yes; then
46155 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46157 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46159 # Put the nasty error message in config.log where it belongs
46160 echo "$CAIRO_PKG_ERRORS" >&5
46163 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46164 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46167 elif test $pkg_failed = untried
; then
46169 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46170 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46174 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46175 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46176 echo "$as_me:$LINENO: result: yes" >&5
46177 echo "${ECHO_T}yes" >&6
46179 cat >>confdefs.h
<<\_ACEOF
46180 #define wxUSE_GRAPHICS_CONTEXT 1
46191 if test "$wxUSE_MEDIACTRL" = "yes"; then
46194 if test "$wxUSE_GTK" = 1; then
46195 wxUSE_GSTREAMER
="no"
46197 GST_VERSION_MAJOR
=0
46198 GST_VERSION_MINOR
=10
46199 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46201 if test "$wxUSE_GSTREAMER8" = "no"; then
46204 echo "$as_me:$LINENO: checking for GST" >&5
46205 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46207 if test -n "$PKG_CONFIG"; then
46208 if test -n "$GST_CFLAGS"; then
46209 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46211 if test -n "$PKG_CONFIG" && \
46212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46213 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); }; then
46217 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46225 if test -n "$PKG_CONFIG"; then
46226 if test -n "$GST_LIBS"; then
46227 pkg_cv_GST_LIBS
="$GST_LIBS"
46229 if test -n "$PKG_CONFIG" && \
46230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46231 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46234 (exit $ac_status); }; then
46235 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46246 if test $pkg_failed = yes; then
46248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46249 _pkg_short_errors_supported
=yes
46251 _pkg_short_errors_supported
=no
46253 if test $_pkg_short_errors_supported = yes; then
46254 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46256 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46258 # Put the nasty error message in config.log where it belongs
46259 echo "$GST_PKG_ERRORS" >&5
46262 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46263 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46264 GST_VERSION_MINOR
=8
46267 elif test $pkg_failed = untried
; then
46269 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46270 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46271 GST_VERSION_MINOR
=8
46275 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46276 GST_LIBS
=$pkg_cv_GST_LIBS
46277 echo "$as_me:$LINENO: result: yes" >&5
46278 echo "${ECHO_T}yes" >&6
46280 wxUSE_GSTREAMER
="yes"
46281 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46285 GST_VERSION_MINOR
=8
46288 if test $GST_VERSION_MINOR = "8"; then
46289 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46292 echo "$as_me:$LINENO: checking for GST" >&5
46293 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46295 if test -n "$PKG_CONFIG"; then
46296 if test -n "$GST_CFLAGS"; then
46297 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46299 if test -n "$PKG_CONFIG" && \
46300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46301 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); }; then
46305 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46313 if test -n "$PKG_CONFIG"; then
46314 if test -n "$GST_LIBS"; then
46315 pkg_cv_GST_LIBS
="$GST_LIBS"
46317 if test -n "$PKG_CONFIG" && \
46318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46319 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46322 (exit $ac_status); }; then
46323 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46334 if test $pkg_failed = yes; then
46336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46337 _pkg_short_errors_supported
=yes
46339 _pkg_short_errors_supported
=no
46341 if test $_pkg_short_errors_supported = yes; then
46342 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46344 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46346 # Put the nasty error message in config.log where it belongs
46347 echo "$GST_PKG_ERRORS" >&5
46350 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46351 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46353 elif test $pkg_failed = untried
; then
46355 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46356 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46359 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46360 GST_LIBS
=$pkg_cv_GST_LIBS
46361 echo "$as_me:$LINENO: result: yes" >&5
46362 echo "${ECHO_T}yes" >&6
46363 wxUSE_GSTREAMER
="yes"
46368 if test "$wxUSE_GSTREAMER" = "yes"; then
46371 if "$GCC" = yes; then
46372 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46373 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46377 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46378 LIBS
="$GST_LIBS $LIBS"
46380 cat >>confdefs.h
<<\_ACEOF
46381 #define wxUSE_GSTREAMER 1
46389 if test $USE_MEDIA = 1; then
46390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46391 cat >>confdefs.h
<<\_ACEOF
46392 #define wxUSE_MEDIACTRL 1
46399 if test "$cross_compiling" = "yes"; then
46402 OSINFO
=`uname -s -r -m`
46403 OSINFO
="\"$OSINFO\""
46406 cat >>confdefs.h
<<_ACEOF
46407 #define WXWIN_OS_DESCRIPTION $OSINFO
46412 if test "x$prefix" != "xNONE"; then
46415 wxPREFIX
=$ac_default_prefix
46418 cat >>confdefs.h
<<_ACEOF
46419 #define wxINSTALL_PREFIX "$wxPREFIX"
46425 CORE_BASE_LIBS
="net base"
46426 CORE_GUI_LIBS
="adv core"
46428 if test "$wxUSE_XML" = "yes" ; then
46429 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46431 if test "$wxUSE_ODBC" != "no" ; then
46432 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46433 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46435 if test "$wxUSE_HTML" = "yes" ; then
46436 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46438 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46439 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46441 if test "$wxUSE_XRC" = "yes" ; then
46442 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46444 if test "$wxUSE_AUI" = "yes" ; then
46445 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46448 if test "$wxUSE_GUI" != "yes"; then
46457 ac_cpp
='$CPP $CPPFLAGS'
46458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46464 if test "$wxUSE_MAC" = 1 ; then
46465 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46466 if test "$USE_DARWIN" = 1; then
46467 LDFLAGS
="$LDFLAGS -framework QuickTime"
46469 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46472 if test "$USE_DARWIN" = 1; then
46473 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46475 LDFLAGS
="$LDFLAGS -lCarbonLib"
46478 if test "$wxUSE_COCOA" = 1 ; then
46479 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46480 if test "$wxUSE_MEDIACTRL" = "yes"; then
46481 LDFLAGS
="$LDFLAGS -framework QuickTime"
46484 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46485 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46488 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46490 if test "$wxUSE_GUI" = "yes"; then
46493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46494 dynamic erase event exec font image minimal mobile \
46495 mobile/wxedit mobile/styles propsize render \
46496 rotate shaped vscroll widgets"
46498 if test "$wxUSE_MONOLITHIC" != "yes"; then
46499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46501 if test "$TOOLKIT" = "MSW"; then
46502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46503 if test "$wxUSE_UNIVERSAL" != "yes"; then
46504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46507 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46511 SAMPLES_SUBDIRS
="console"
46515 if test "x$INTELCC" = "xyes" ; then
46516 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46517 elif test "$GCC" = yes ; then
46518 CWARNINGS
="-Wall -Wundef"
46521 if test "x$INTELCXX" = "xyes" ; then
46522 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46523 elif test "$GXX" = yes ; then
46524 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46528 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46529 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46532 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46533 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46534 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46537 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46538 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46539 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46541 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46544 if test "x$MWCC" = "xyes"; then
46546 CC
="$CC -cwd source -I-"
46547 CXX
="$CXX -cwd source -I-"
46552 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46553 EXTRALIBS_XML
="$EXPAT_LINK"
46554 EXTRALIBS_HTML
="$MSPACK_LINK"
46555 EXTRALIBS_ODBC
="$ODBC_LINK"
46556 if test "$wxUSE_GUI" = "yes"; then
46557 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46559 if test "$wxUSE_OPENGL" = "yes"; then
46560 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46563 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46565 WXCONFIG_LIBS
="$LIBS"
46567 if test "$wxUSE_REGEX" = "builtin" ; then
46568 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46570 if test "$wxUSE_EXPAT" = "builtin" ; then
46571 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46573 if test "$wxUSE_ODBC" = "builtin" ; then
46574 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46576 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46577 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46579 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46580 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46582 if test "$wxUSE_LIBPNG" = "builtin" ; then
46583 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46585 if test "$wxUSE_ZLIB" = "builtin" ; then
46586 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46589 for i
in $wxconfig_3rdparty ; do
46590 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46594 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46597 case "$wxUNIV_THEMES" in
46599 cat >>confdefs.h
<<\_ACEOF
46600 #define wxUSE_ALL_THEMES 1
46606 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46607 cat >>confdefs.h
<<_ACEOF
46608 #define wxUSE_THEME_$t 1
46625 if test $wxUSE_MONOLITHIC = "yes" ; then
46631 if test $wxUSE_PLUGINS = "yes" ; then
46637 if test $wxUSE_ODBC != "no" ; then
46643 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46649 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46679 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46690 TOOLKIT_DESC
="GTK+"
46691 if test "$WXGTK20" = 1; then
46692 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46693 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46694 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46696 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46697 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46699 if test "$wxUSE_LIBHILDON" = "yes"; then
46700 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46703 if test "$TOOLKIT_EXTRA" != ""; then
46704 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46710 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46714 TOOLKIT_DESC
="base only"
46718 if test "$wxUSE_WINE" = "yes"; then
46719 BAKEFILE_FORCE_PLATFORM
=win32
46722 if test "$wxUSE_MAC" = 1 ; then
46723 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46724 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46725 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46727 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46729 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46730 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46731 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46732 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46735 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46736 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46742 if test "x$BAKEFILE_HOST" = "x"; then
46743 if test "x${host}" = "x" ; then
46744 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46745 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46746 { (exit 1); exit 1; }; }
46749 BAKEFILE_HOST
="${host}"
46752 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46754 if test -n "$ac_tool_prefix"; then
46755 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46756 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46757 echo "$as_me:$LINENO: checking for $ac_word" >&5
46758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46759 if test "${ac_cv_prog_RANLIB+set}" = set; then
46760 echo $ECHO_N "(cached) $ECHO_C" >&6
46762 if test -n "$RANLIB"; then
46763 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46766 for as_dir
in $PATH
46769 test -z "$as_dir" && as_dir
=.
46770 for ac_exec_ext
in '' $ac_executable_extensions; do
46771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46772 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46781 RANLIB
=$ac_cv_prog_RANLIB
46782 if test -n "$RANLIB"; then
46783 echo "$as_me:$LINENO: result: $RANLIB" >&5
46784 echo "${ECHO_T}$RANLIB" >&6
46786 echo "$as_me:$LINENO: result: no" >&5
46787 echo "${ECHO_T}no" >&6
46791 if test -z "$ac_cv_prog_RANLIB"; then
46792 ac_ct_RANLIB
=$RANLIB
46793 # Extract the first word of "ranlib", so it can be a program name with args.
46794 set dummy ranlib
; ac_word
=$2
46795 echo "$as_me:$LINENO: checking for $ac_word" >&5
46796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46797 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46798 echo $ECHO_N "(cached) $ECHO_C" >&6
46800 if test -n "$ac_ct_RANLIB"; then
46801 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46804 for as_dir
in $PATH
46807 test -z "$as_dir" && as_dir
=.
46808 for ac_exec_ext
in '' $ac_executable_extensions; do
46809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46810 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46817 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46820 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46821 if test -n "$ac_ct_RANLIB"; then
46822 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46823 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46825 echo "$as_me:$LINENO: result: no" >&5
46826 echo "${ECHO_T}no" >&6
46829 RANLIB
=$ac_ct_RANLIB
46831 RANLIB
="$ac_cv_prog_RANLIB"
46834 # Find a good install program. We prefer a C program (faster),
46835 # so one script is as good as another. But avoid the broken or
46836 # incompatible versions:
46837 # SysV /etc/install, /usr/sbin/install
46838 # SunOS /usr/etc/install
46839 # IRIX /sbin/install
46841 # AmigaOS /C/install, which installs bootblocks on floppy discs
46842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46845 # OS/2's system install, which has a completely different semantic
46846 # ./install, which can be erroneously created by make from ./install.sh.
46847 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46848 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46849 if test -z "$INSTALL"; then
46850 if test "${ac_cv_path_install+set}" = set; then
46851 echo $ECHO_N "(cached) $ECHO_C" >&6
46853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46854 for as_dir
in $PATH
46857 test -z "$as_dir" && as_dir
=.
46858 # Account for people who put trailing slashes in PATH elements.
46860 .
/ | .
// | /cC
/* | \
46861 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46862 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46865 # OSF1 and SCO ODT 3.0 have their own names for install.
46866 # Don't use installbsd from OSF since it installs stuff as root
46868 for ac_prog
in ginstall scoinst
install; do
46869 for ac_exec_ext
in '' $ac_executable_extensions; do
46870 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46871 if test $ac_prog = install &&
46872 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46873 # AIX install. It has an incompatible calling convention.
46875 elif test $ac_prog = install &&
46876 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46877 # program-specific install script used by HP pwplus--don't use.
46880 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46892 if test "${ac_cv_path_install+set}" = set; then
46893 INSTALL
=$ac_cv_path_install
46895 # As a last resort, use the slow shell script. We don't cache a
46896 # path for INSTALL within a source directory, because that will
46897 # break other packages using the cache if that directory is
46898 # removed, or if the path is relative.
46899 INSTALL
=$ac_install_sh
46902 echo "$as_me:$LINENO: result: $INSTALL" >&5
46903 echo "${ECHO_T}$INSTALL" >&6
46905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46906 # It thinks the first close brace ends the variable substitution.
46907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46911 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46913 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46914 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46916 if test "$LN_S" = "ln -s"; then
46917 echo "$as_me:$LINENO: result: yes" >&5
46918 echo "${ECHO_T}yes" >&6
46920 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46921 echo "${ECHO_T}no, using $LN_S" >&6
46925 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46926 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46927 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46928 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46929 echo $ECHO_N "(cached) $ECHO_C" >&6
46931 cat >conftest.
make <<\_ACEOF
46933 @
echo 'ac_maketemp="$(MAKE)"'
46935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46936 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46937 if test -n "$ac_maketemp"; then
46938 eval ac_cv_prog_make_
${ac_make}_set
=yes
46940 eval ac_cv_prog_make_
${ac_make}_set
=no
46942 rm -f conftest.
make
46944 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46945 echo "$as_me:$LINENO: result: yes" >&5
46946 echo "${ECHO_T}yes" >&6
46949 echo "$as_me:$LINENO: result: no" >&5
46950 echo "${ECHO_T}no" >&6
46951 SET_MAKE
="MAKE=${MAKE-make}"
46956 if test -n "$ac_tool_prefix"; then
46957 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46958 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46959 echo "$as_me:$LINENO: checking for $ac_word" >&5
46960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46961 if test "${ac_cv_prog_AR+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46964 if test -n "$AR"; then
46965 ac_cv_prog_AR
="$AR" # Let the user override the test.
46967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46968 for as_dir
in $PATH
46971 test -z "$as_dir" && as_dir
=.
46972 for ac_exec_ext
in '' $ac_executable_extensions; do
46973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46974 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46984 if test -n "$AR"; then
46985 echo "$as_me:$LINENO: result: $AR" >&5
46986 echo "${ECHO_T}$AR" >&6
46988 echo "$as_me:$LINENO: result: no" >&5
46989 echo "${ECHO_T}no" >&6
46993 if test -z "$ac_cv_prog_AR"; then
46995 # Extract the first word of "ar", so it can be a program name with args.
46996 set dummy
ar; ac_word
=$2
46997 echo "$as_me:$LINENO: checking for $ac_word" >&5
46998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46999 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47000 echo $ECHO_N "(cached) $ECHO_C" >&6
47002 if test -n "$ac_ct_AR"; then
47003 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47006 for as_dir
in $PATH
47009 test -z "$as_dir" && as_dir
=.
47010 for ac_exec_ext
in '' $ac_executable_extensions; do
47011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47012 ac_cv_prog_ac_ct_AR
="ar"
47013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47019 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47022 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47023 if test -n "$ac_ct_AR"; then
47024 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47025 echo "${ECHO_T}$ac_ct_AR" >&6
47027 echo "$as_me:$LINENO: result: no" >&5
47028 echo "${ECHO_T}no" >&6
47033 AR
="$ac_cv_prog_AR"
47036 if test -n "$ac_tool_prefix"; then
47037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47038 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47039 echo "$as_me:$LINENO: checking for $ac_word" >&5
47040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47041 if test "${ac_cv_prog_STRIP+set}" = set; then
47042 echo $ECHO_N "(cached) $ECHO_C" >&6
47044 if test -n "$STRIP"; then
47045 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47048 for as_dir
in $PATH
47051 test -z "$as_dir" && as_dir
=.
47052 for ac_exec_ext
in '' $ac_executable_extensions; do
47053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47054 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47063 STRIP
=$ac_cv_prog_STRIP
47064 if test -n "$STRIP"; then
47065 echo "$as_me:$LINENO: result: $STRIP" >&5
47066 echo "${ECHO_T}$STRIP" >&6
47068 echo "$as_me:$LINENO: result: no" >&5
47069 echo "${ECHO_T}no" >&6
47073 if test -z "$ac_cv_prog_STRIP"; then
47075 # Extract the first word of "strip", so it can be a program name with args.
47076 set dummy strip
; ac_word
=$2
47077 echo "$as_me:$LINENO: checking for $ac_word" >&5
47078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47079 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47080 echo $ECHO_N "(cached) $ECHO_C" >&6
47082 if test -n "$ac_ct_STRIP"; then
47083 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47086 for as_dir
in $PATH
47089 test -z "$as_dir" && as_dir
=.
47090 for ac_exec_ext
in '' $ac_executable_extensions; do
47091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47092 ac_cv_prog_ac_ct_STRIP
="strip"
47093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47099 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47102 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47103 if test -n "$ac_ct_STRIP"; then
47104 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47105 echo "${ECHO_T}$ac_ct_STRIP" >&6
47107 echo "$as_me:$LINENO: result: no" >&5
47108 echo "${ECHO_T}no" >&6
47113 STRIP
="$ac_cv_prog_STRIP"
47116 if test -n "$ac_tool_prefix"; then
47117 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47118 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47119 echo "$as_me:$LINENO: checking for $ac_word" >&5
47120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47121 if test "${ac_cv_prog_NM+set}" = set; then
47122 echo $ECHO_N "(cached) $ECHO_C" >&6
47124 if test -n "$NM"; then
47125 ac_cv_prog_NM
="$NM" # Let the user override the test.
47127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47128 for as_dir
in $PATH
47131 test -z "$as_dir" && as_dir
=.
47132 for ac_exec_ext
in '' $ac_executable_extensions; do
47133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47134 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47144 if test -n "$NM"; then
47145 echo "$as_me:$LINENO: result: $NM" >&5
47146 echo "${ECHO_T}$NM" >&6
47148 echo "$as_me:$LINENO: result: no" >&5
47149 echo "${ECHO_T}no" >&6
47153 if test -z "$ac_cv_prog_NM"; then
47155 # Extract the first word of "nm", so it can be a program name with args.
47156 set dummy nm
; ac_word
=$2
47157 echo "$as_me:$LINENO: checking for $ac_word" >&5
47158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47159 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47160 echo $ECHO_N "(cached) $ECHO_C" >&6
47162 if test -n "$ac_ct_NM"; then
47163 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47166 for as_dir
in $PATH
47169 test -z "$as_dir" && as_dir
=.
47170 for ac_exec_ext
in '' $ac_executable_extensions; do
47171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47172 ac_cv_prog_ac_ct_NM
="nm"
47173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47179 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47182 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47183 if test -n "$ac_ct_NM"; then
47184 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47185 echo "${ECHO_T}$ac_ct_NM" >&6
47187 echo "$as_me:$LINENO: result: no" >&5
47188 echo "${ECHO_T}no" >&6
47193 NM
="$ac_cv_prog_NM"
47197 case ${BAKEFILE_HOST} in
47199 INSTALL_DIR
="mkdir -p"
47201 *) INSTALL_DIR
="$INSTALL -d"
47207 case ${BAKEFILE_HOST} in
47208 *-*-cygwin* | *-*-mingw32* )
47209 LDFLAGS_GUI
="-mwindows"
47215 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47216 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47217 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47218 echo $ECHO_N "(cached) $ECHO_C" >&6
47221 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47222 egrep -s GNU
> /dev
/null
); then
47223 bakefile_cv_prog_makeisgnu
="yes"
47225 bakefile_cv_prog_makeisgnu
="no"
47229 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47230 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47232 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47249 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47250 case "${BAKEFILE_HOST}" in
47257 *-pc-os2_emx | *-pc-os2-emx )
47267 powerpc
-apple-macos* )
47276 case "$BAKEFILE_FORCE_PLATFORM" in
47297 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47298 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47299 { (exit 1); exit 1; }; }
47314 # Check whether --enable-omf or --disable-omf was given.
47315 if test "${enable_omf+set}" = set; then
47316 enableval
="$enable_omf"
47317 bk_os2_use_omf
="$enableval"
47320 case "${BAKEFILE_HOST}" in
47322 if test "x$GCC" = "xyes"; then
47323 CFLAGS
="$CFLAGS -fno-common"
47324 CXXFLAGS
="$CXXFLAGS -fno-common"
47326 if test "x$XLCC" = "xyes"; then
47327 CFLAGS
="$CFLAGS -qnocommon"
47328 CXXFLAGS
="$CXXFLAGS -qnocommon"
47332 *-pc-os2_emx | *-pc-os2-emx )
47333 if test "x$bk_os2_use_omf" = "xyes" ; then
47336 LDFLAGS
="-Zomf $LDFLAGS"
47337 CFLAGS
="-Zomf $CFLAGS"
47338 CXXFLAGS
="-Zomf $CXXFLAGS"
47346 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47352 SO_SUFFIX_MODULE
="so"
47357 DLLPREFIX_MODULE
=""
47361 case "${BAKEFILE_HOST}" in
47364 SO_SUFFIX_MODULE
="sl"
47368 SO_SUFFIX_MODULE
="a"
47372 SO_SUFFIX_MODULE
="dll"
47373 DLLIMP_SUFFIX
="dll.a"
47380 SO_SUFFIX_MODULE
="dll"
47381 DLLIMP_SUFFIX
="dll.a"
47391 *-pc-os2_emx | *-pc-os2-emx )
47393 SO_SUFFIX_MODULE
="dll"
47394 DLLIMP_SUFFIX
=$OS2_LIBEXT
47398 LIBEXT
=".$OS2_LIBEXT"
47403 SO_SUFFIX_MODULE
="bundle"
47407 if test "x$DLLIMP_SUFFIX" = "x" ; then
47408 DLLIMP_SUFFIX
="$SO_SUFFIX"
47423 if test "x$GCC" = "xyes"; then
47427 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47428 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47431 case "${BAKEFILE_HOST}" in
47433 if test "x$GCC" != "xyes"; then
47434 LDFLAGS
="$LDFLAGS -L/usr/lib"
47436 SHARED_LD_CC
="${CC} -b -o"
47437 SHARED_LD_CXX
="${CXX} -b -o"
47443 if test "x$GCC" != "xyes"; then
47444 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47445 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47446 if test "${bakefile_cv_prog_icc+set}" = set; then
47447 echo $ECHO_N "(cached) $ECHO_C" >&6
47450 cat >conftest.
$ac_ext <<_ACEOF
47453 cat confdefs.h
>>conftest.
$ac_ext
47454 cat >>conftest.
$ac_ext <<_ACEOF
47455 /* end confdefs.h. */
47461 #ifndef __INTEL_COMPILER
47469 rm -f conftest.
$ac_objext
47470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47471 (eval $ac_compile) 2>conftest.er1
47473 grep -v '^ *+' conftest.er1
>conftest.err
47475 cat conftest.err
>&5
47476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477 (exit $ac_status); } &&
47478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47480 (eval $ac_try) 2>&5
47482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47483 (exit $ac_status); }; } &&
47484 { ac_try
='test -s conftest.$ac_objext'
47485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47486 (eval $ac_try) 2>&5
47488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47489 (exit $ac_status); }; }; then
47490 bakefile_cv_prog_icc
=yes
47492 echo "$as_me: failed program was:" >&5
47493 sed 's/^/| /' conftest.
$ac_ext >&5
47495 bakefile_cv_prog_icc
=no
47498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47501 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47502 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47503 if test "$bakefile_cv_prog_icc" = "yes"; then
47510 if test "x$GCC" != xyes
; then
47511 SHARED_LD_CC
="${CC} -G -o"
47512 SHARED_LD_CXX
="${CXX} -G -o"
47520 cat <<EOF >shared-ld-sh
47522 #-----------------------------------------------------------------------------
47523 #-- Name: distrib/mac/shared-ld-sh
47524 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47525 #-- Author: Gilles Depeyrot
47526 #-- Copyright: (c) 2002 Gilles Depeyrot
47527 #-- Licence: any use permitted
47528 #-----------------------------------------------------------------------------
47533 linking_flag="-dynamiclib"
47534 ldargs="-r -keep_private_externs -nostdlib"
47536 while test ${D}# -gt 0; do
47543 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47544 # collect these options and values
47545 args="${D}{args} ${D}1 ${D}2"
47550 # collect these load args
47551 ldargs="${D}{ldargs} ${D}1"
47554 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47555 # collect these options
47556 args="${D}{args} ${D}1"
47559 -dynamiclib|-bundle)
47560 linking_flag="${D}1"
47564 echo "shared-ld: unhandled option '${D}1'"
47568 *.o | *.a | *.dylib)
47569 # collect object files
47570 objects="${D}{objects} ${D}1"
47574 echo "shared-ld: unhandled argument '${D}1'"
47585 # Link one module containing all the others
47587 if test ${D}{verbose} = 1; then
47588 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47590 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47594 # Link the shared library from the single module created, but only if the
47595 # previous command didn't fail:
47597 if test ${D}{status} = 0; then
47598 if test ${D}{verbose} = 1; then
47599 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47601 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47606 # Remove intermediate module
47608 rm -f master.${D}${D}.o
47613 chmod +x shared
-ld-sh
47615 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47616 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47619 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47620 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47621 if test "${bakefile_cv_gcc31+set}" = set; then
47622 echo $ECHO_N "(cached) $ECHO_C" >&6
47625 cat >conftest.
$ac_ext <<_ACEOF
47628 cat confdefs.h
>>conftest.
$ac_ext
47629 cat >>conftest.
$ac_ext <<_ACEOF
47630 /* end confdefs.h. */
47636 #if (__GNUC__ < 3) || \
47637 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47645 rm -f conftest.
$ac_objext
47646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47647 (eval $ac_compile) 2>conftest.er1
47649 grep -v '^ *+' conftest.er1
>conftest.err
47651 cat conftest.err
>&5
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); } &&
47654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47656 (eval $ac_try) 2>&5
47658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47659 (exit $ac_status); }; } &&
47660 { ac_try
='test -s conftest.$ac_objext'
47661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47662 (eval $ac_try) 2>&5
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); }; }; then
47667 bakefile_cv_gcc31
=yes
47670 echo "$as_me: failed program was:" >&5
47671 sed 's/^/| /' conftest.
$ac_ext >&5
47674 bakefile_cv_gcc31
=no
47678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47681 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47682 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47683 if test "$bakefile_cv_gcc31" = "no"; then
47684 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47685 SHARED_LD_CXX
="$SHARED_LD_CC"
47687 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47688 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47691 if test "x$GCC" == "xyes"; then
47692 PIC_FLAG
="-dynamic -fPIC"
47694 if test "x$XLCC" = "xyes"; then
47695 PIC_FLAG
="-dynamic -DPIC"
47700 if test "x$GCC" = "xyes"; then
47703 case "${BAKEFILE_HOST}" in
47705 LD_EXPFULL
="-Wl,-bexpfull"
47709 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47710 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47712 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47713 set dummy makeC
++SharedLib
; ac_word
=$2
47714 echo "$as_me:$LINENO: checking for $ac_word" >&5
47715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47716 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47717 echo $ECHO_N "(cached) $ECHO_C" >&6
47719 if test -n "$AIX_CXX_LD"; then
47720 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47723 for as_dir
in $PATH
47726 test -z "$as_dir" && as_dir
=.
47727 for ac_exec_ext
in '' $ac_executable_extensions; do
47728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47729 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47736 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47739 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47740 if test -n "$AIX_CXX_LD"; then
47741 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47742 echo "${ECHO_T}$AIX_CXX_LD" >&6
47744 echo "$as_me:$LINENO: result: no" >&5
47745 echo "${ECHO_T}no" >&6
47748 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47749 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47754 SHARED_LD_CC
="${LD} -nostart -o"
47755 SHARED_LD_CXX
="${LD} -nostart -o"
47759 if test "x$GCC" != "xyes"; then
47764 *-*-cygwin* | *-*-mingw32* )
47766 SHARED_LD_CC
="\$(CC) -shared -o"
47767 SHARED_LD_CXX
="\$(CXX) -shared -o"
47771 *-pc-os2_emx | *-pc-os2-emx )
47772 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47773 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47777 cat <<EOF >dllar.sh
47780 # dllar - a tool to build both a .dll and an .a file
47781 # from a set of object (.o) files for EMX/OS2.
47783 # Written by Andrew Zabolotny, bit@freya.etu.ru
47784 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47786 # This script will accept a set of files on the command line.
47787 # All the public symbols from the .o files will be exported into
47788 # a .DEF file, then linker will be run (through gcc) against them to
47789 # build a shared library consisting of all given .o files. All libraries
47790 # (.a) will be first decompressed into component .o files then act as
47791 # described above. You can optionally give a description (-d "description")
47792 # which will be put into .DLL. To see the list of accepted options (as well
47793 # as command-line format) simply run this program without options. The .DLL
47794 # is built to be imported by name (there is no guarantee that new versions
47795 # of the library you build will have same ordinals for same symbols).
47797 # dllar is free software; you can redistribute it and/or modify
47798 # it under the terms of the GNU General Public License as published by
47799 # the Free Software Foundation; either version 2, or (at your option)
47800 # any later version.
47802 # dllar is distributed in the hope that it will be useful,
47803 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47805 # GNU General Public License for more details.
47807 # You should have received a copy of the GNU General Public License
47808 # along with dllar; see the file COPYING. If not, write to the Free
47809 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47812 # To successfuly run this program you will need:
47813 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47814 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47816 # (used to build the .dll)
47818 # (used to create .def file from .o files)
47820 # (used to create .a file from .def file)
47821 # - GNU text utilites (cat, sort, uniq)
47822 # used to process emxexp output
47823 # - GNU file utilities (mv, rm)
47825 # - lxlite (optional, see flag below)
47826 # (used for general .dll cleanup)
47833 # basnam, variant of basename, which does _not_ remove the path, _iff_
47834 # second argument (suffix to remove) is given
47838 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47841 echo ${D}1 | sed 's/'${D}2'${D}//'
47844 echo "error in basnam ${D}*"
47850 # Cleanup temporary files and output
47853 for i in ${D}inputFiles ; do
47856 rm -rf \`basnam ${D}i !\`
47863 # Kill result in case of failure as there is just to many stupid make/nmake
47864 # things out there which doesn't do this.
47865 if [ ${D}# -eq 0 ]; then
47866 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47870 # Print usage and exit script with rc=1.
47872 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47873 echo ' [-name-mangler-script script.sh]'
47874 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47875 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47876 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47877 echo ' [*.o] [*.a]'
47878 echo '*> "output_file" should have no extension.'
47879 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47880 echo ' The import library name is derived from this and is set to "name".a,'
47881 echo ' unless overridden by -import'
47882 echo '*> "importlib_name" should have no extension.'
47883 echo ' If it has the .o, or .a extension, it is automatically removed.'
47884 echo ' This name is used as the import library name and may be longer and'
47885 echo ' more descriptive than the DLL name which has to follow the old '
47886 echo ' 8.3 convention of FAT.'
47887 echo '*> "script.sh may be given to override the output_file name by a'
47888 echo ' different name. It is mainly useful if the regular make process'
47889 echo ' of some package does not take into account OS/2 restriction of'
47890 echo ' DLL name lengths. It takes the importlib name as input and is'
47891 echo ' supposed to procude a shorter name as output. The script should'
47892 echo ' expect to get importlib_name without extension and should produce'
47893 echo ' a (max.) 8 letter name without extension.'
47894 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47895 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47896 echo ' These flags will be put at the start of GCC command line.'
47897 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47898 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47899 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47900 echo ' If the last character of a symbol is "*", all symbols beginning'
47901 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47902 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47903 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47904 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47905 echo ' C runtime DLLs.'
47906 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47907 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47908 echo ' unchanged to GCC at the end of command line.'
47909 echo '*> If you create a DLL from a library and you do not specify -o,'
47910 echo ' the basename for DLL and import library will be set to library name,'
47911 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47912 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47913 echo ' library will be renamed into gcc_s.a.'
47916 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47917 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47922 # Execute a command.
47923 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47924 # @Uses Whatever CleanUp() uses.
47930 if [ ${D}rcCmd -ne 0 ]; then
47931 echo "command failed, exit code="${D}rcCmd
47946 CFLAGS="-s -Zcrtdll"
47948 EXPORT_BY_ORDINALS=0
47953 case ${D}curDirS in
47957 curDirS=${D}{curDirS}"/"
47960 # Parse commandline
47963 while [ ${D}1 ]; do
47966 EXPORT_BY_ORDINALS=1;
47976 -name-mangler-script)
47997 exclude_symbols=${D}{exclude_symbols}${D}1" "
48001 library_flags=${D}{library_flags}${D}1" "
48020 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48023 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48024 if [ ${D}omfLinking -eq 1 ]; then
48025 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48027 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48032 if [ ${D}libsToLink -ne 0 ]; then
48033 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48035 for file in ${D}1 ; do
48036 if [ -f ${D}file ]; then
48037 inputFiles="${D}{inputFiles} ${D}file"
48041 if [ ${D}found -eq 0 ]; then
48042 echo "ERROR: No file(s) found: "${D}1
48049 done # iterate cmdline words
48052 if [ -z "${D}inputFiles" ]; then
48053 echo "dllar: no input files"
48057 # Now extract all .o files from .a files
48059 for file in ${D}inputFiles ; do
48070 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48075 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48077 if [ ${D}? -ne 0 ]; then
48078 echo "Failed to create subdirectory ./${D}dirname"
48082 # Append '!' to indicate archive
48083 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48084 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48087 for subfile in ${D}dirname/*.o* ; do
48088 if [ -f ${D}subfile ]; then
48090 if [ -s ${D}subfile ]; then
48091 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48092 newInputFiles="${D}newInputFiles ${D}subfile"
48096 if [ ${D}found -eq 0 ]; then
48097 echo "WARNING: there are no files in archive \\'${D}file\\'"
48101 newInputFiles="${D}{newInputFiles} ${D}file"
48105 inputFiles="${D}newInputFiles"
48107 # Output filename(s).
48109 if [ -z ${D}outFile ]; then
48111 set outFile ${D}inputFiles; outFile=${D}2
48114 # If it is an archive, remove the '!' and the '_%' suffixes
48115 case ${D}outFile in
48117 outFile=\`basnam ${D}outFile _%!\`
48122 case ${D}outFile in
48124 outFile=\`basnam ${D}outFile .dll\`
48127 outFile=\`basnam ${D}outFile .DLL\`
48130 outFile=\`basnam ${D}outFile .o\`
48133 outFile=\`basnam ${D}outFile .obj\`
48136 outFile=\`basnam ${D}outFile .a\`
48139 outFile=\`basnam ${D}outFile .lib\`
48144 case ${D}outimpFile in
48146 outimpFile=\`basnam ${D}outimpFile .a\`
48149 outimpFile=\`basnam ${D}outimpFile .lib\`
48154 if [ -z ${D}outimpFile ]; then
48155 outimpFile=${D}outFile
48157 defFile="${D}{outFile}.def"
48158 arcFile="${D}{outimpFile}.a"
48159 arcFile2="${D}{outimpFile}.lib"
48161 #create ${D}dllFile as something matching 8.3 restrictions,
48162 if [ -z ${D}renameScript ] ; then
48163 dllFile="${D}outFile"
48165 dllFile=\`${D}renameScript ${D}outimpFile\`
48168 if [ ${D}do_backup -ne 0 ] ; then
48169 if [ -f ${D}arcFile ] ; then
48170 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48172 if [ -f ${D}arcFile2 ] ; then
48173 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48177 # Extract public symbols from all the object files.
48178 tmpdefFile=${D}{defFile}_%
48179 rm -f ${D}tmpdefFile
48180 for file in ${D}inputFiles ; do
48185 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48190 # Create the def file.
48192 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48193 dllFile="${D}{dllFile}.dll"
48194 if [ ! -z ${D}description ]; then
48195 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48197 echo "EXPORTS" >> ${D}defFile
48199 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48200 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48202 # Checks if the export is ok or not.
48203 for word in ${D}exclude_symbols; do
48204 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48205 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48209 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48210 sed "=" < ${D}tmpdefFile | \\
48214 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48216 ' > ${D}{tmpdefFile}%
48217 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48219 rm -f ${D}{tmpdefFile}%
48221 cat ${D}tmpdefFile >> ${D}defFile
48222 rm -f ${D}tmpdefFile
48224 # Do linking, create implib, and apply lxlite.
48226 for file in ${D}inputFiles ; do
48231 gccCmdl="${D}gccCmdl ${D}file"
48235 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48236 touch "${D}{outFile}.dll"
48238 doCommand "emximp -o ${D}arcFile ${D}defFile"
48239 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48241 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48244 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48246 doCommand "emxomf -s -l ${D}arcFile"
48256 powerpc
-apple-macos* | \
48257 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48268 if test "x$PIC_FLAG" != "x" ; then
48269 PIC_FLAG
="$PIC_FLAG -DPIC"
48272 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48273 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48275 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48276 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48295 case "${BAKEFILE_HOST}" in
48296 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48297 SONAME_FLAG
="-Wl,-soname,"
48331 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48332 if test "${enable_dependency_tracking+set}" = set; then
48333 enableval
="$enable_dependency_tracking"
48334 bk_use_trackdeps
="$enableval"
48337 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48338 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48340 if test "x$bk_use_trackdeps" = "xno" ; then
48342 echo "$as_me:$LINENO: result: disabled" >&5
48343 echo "${ECHO_T}disabled" >&6
48347 if test "x$GCC" = "xyes"; then
48349 case "${BAKEFILE_HOST}" in
48351 DEPSFLAG
="-no-cpp-precomp -MMD"
48357 echo "$as_me:$LINENO: result: gcc" >&5
48358 echo "${ECHO_T}gcc" >&6
48359 elif test "x$MWCC" = "xyes"; then
48362 echo "$as_me:$LINENO: result: mwcc" >&5
48363 echo "${ECHO_T}mwcc" >&6
48364 elif test "x$SUNCC" = "xyes"; then
48367 echo "$as_me:$LINENO: result: Sun cc" >&5
48368 echo "${ECHO_T}Sun cc" >&6
48369 elif test "x$SGICC" = "xyes"; then
48372 echo "$as_me:$LINENO: result: SGI cc" >&5
48373 echo "${ECHO_T}SGI cc" >&6
48374 elif test "x$HPCC" = "xyes"; then
48377 echo "$as_me:$LINENO: result: HP cc" >&5
48378 echo "${ECHO_T}HP cc" >&6
48379 elif test "x$COMPAQCC" = "xyes"; then
48382 echo "$as_me:$LINENO: result: Compaq cc" >&5
48383 echo "${ECHO_T}Compaq cc" >&6
48386 echo "$as_me:$LINENO: result: none" >&5
48387 echo "${ECHO_T}none" >&6
48390 if test $DEPS_TRACKING = 1 ; then
48396 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48397 # script. It is used to track C/C++ files dependencies in portable way.
48399 # Permission is given to use this file in any way.
48401 DEPSMODE=${DEPSMODE}
48403 DEPSFLAG="${DEPSFLAG}"
48405 mkdir -p ${D}DEPSDIR
48407 if test ${D}DEPSMODE = gcc ; then
48408 ${D}* ${D}{DEPSFLAG}
48410 if test ${D}{status} != 0 ; then
48413 # move created file to the location we want it in:
48414 while test ${D}# -gt 0; do
48428 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48429 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48430 if test -f ${D}depfile ; then
48431 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48434 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48435 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48436 if test ! -f ${D}depfile ; then
48437 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48438 depfile="${D}objfile.d"
48440 if test -f ${D}depfile ; then
48441 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48446 elif test ${D}DEPSMODE = mwcc ; then
48447 ${D}* || exit ${D}?
48448 # Run mwcc again with -MM and redirect into the dep file we want
48449 # NOTE: We can't use shift here because we need ${D}* to be valid
48451 for arg in ${D}* ; do
48452 if test "${D}prevarg" = "-o"; then
48465 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48467 elif test ${D}DEPSMODE = unixcc; then
48468 ${D}* || exit ${D}?
48469 # Run compiler again with deps flag and redirect into the dep file.
48470 # It doesn't work if the '-o FILE' option is used, but without it the
48471 # dependency file will contain the wrong name for the object. So it is
48472 # removed from the command line, and the dep file is fixed with sed.
48474 while test ${D}# -gt 0; do
48481 eval arg${D}#=\\${D}1
48482 cmd="${D}cmd \\${D}arg${D}#"
48487 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48502 case ${BAKEFILE_HOST} in
48503 *-*-cygwin* | *-*-mingw32* )
48504 if test -n "$ac_tool_prefix"; then
48505 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48506 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48507 echo "$as_me:$LINENO: checking for $ac_word" >&5
48508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48509 if test "${ac_cv_prog_WINDRES+set}" = set; then
48510 echo $ECHO_N "(cached) $ECHO_C" >&6
48512 if test -n "$WINDRES"; then
48513 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48516 for as_dir
in $PATH
48519 test -z "$as_dir" && as_dir
=.
48520 for ac_exec_ext
in '' $ac_executable_extensions; do
48521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48522 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48531 WINDRES
=$ac_cv_prog_WINDRES
48532 if test -n "$WINDRES"; then
48533 echo "$as_me:$LINENO: result: $WINDRES" >&5
48534 echo "${ECHO_T}$WINDRES" >&6
48536 echo "$as_me:$LINENO: result: no" >&5
48537 echo "${ECHO_T}no" >&6
48541 if test -z "$ac_cv_prog_WINDRES"; then
48542 ac_ct_WINDRES
=$WINDRES
48543 # Extract the first word of "windres", so it can be a program name with args.
48544 set dummy windres
; ac_word
=$2
48545 echo "$as_me:$LINENO: checking for $ac_word" >&5
48546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48547 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48548 echo $ECHO_N "(cached) $ECHO_C" >&6
48550 if test -n "$ac_ct_WINDRES"; then
48551 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48554 for as_dir
in $PATH
48557 test -z "$as_dir" && as_dir
=.
48558 for ac_exec_ext
in '' $ac_executable_extensions; do
48559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48560 ac_cv_prog_ac_ct_WINDRES
="windres"
48561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48569 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48570 if test -n "$ac_ct_WINDRES"; then
48571 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48572 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48574 echo "$as_me:$LINENO: result: no" >&5
48575 echo "${ECHO_T}no" >&6
48578 WINDRES
=$ac_ct_WINDRES
48580 WINDRES
="$ac_cv_prog_WINDRES"
48585 *-*-darwin* | powerpc
-apple-macos* )
48586 # Extract the first word of "Rez", so it can be a program name with args.
48587 set dummy Rez
; ac_word
=$2
48588 echo "$as_me:$LINENO: checking for $ac_word" >&5
48589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48590 if test "${ac_cv_prog_REZ+set}" = set; then
48591 echo $ECHO_N "(cached) $ECHO_C" >&6
48593 if test -n "$REZ"; then
48594 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48597 for as_dir
in $PATH
48600 test -z "$as_dir" && as_dir
=.
48601 for ac_exec_ext
in '' $ac_executable_extensions; do
48602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48603 ac_cv_prog_REZ
="Rez"
48604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48610 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48613 REZ
=$ac_cv_prog_REZ
48614 if test -n "$REZ"; then
48615 echo "$as_me:$LINENO: result: $REZ" >&5
48616 echo "${ECHO_T}$REZ" >&6
48618 echo "$as_me:$LINENO: result: no" >&5
48619 echo "${ECHO_T}no" >&6
48622 # Extract the first word of "SetFile", so it can be a program name with args.
48623 set dummy SetFile
; ac_word
=$2
48624 echo "$as_me:$LINENO: checking for $ac_word" >&5
48625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48626 if test "${ac_cv_prog_SETFILE+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48629 if test -n "$SETFILE"; then
48630 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48633 for as_dir
in $PATH
48636 test -z "$as_dir" && as_dir
=.
48637 for ac_exec_ext
in '' $ac_executable_extensions; do
48638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48639 ac_cv_prog_SETFILE
="SetFile"
48640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48646 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48649 SETFILE
=$ac_cv_prog_SETFILE
48650 if test -n "$SETFILE"; then
48651 echo "$as_me:$LINENO: result: $SETFILE" >&5
48652 echo "${ECHO_T}$SETFILE" >&6
48654 echo "$as_me:$LINENO: result: no" >&5
48655 echo "${ECHO_T}no" >&6
48666 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48669 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48673 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48674 if test "${enable_precomp_headers+set}" = set; then
48675 enableval
="$enable_precomp_headers"
48676 bk_use_pch
="$enableval"
48683 case ${BAKEFILE_HOST} in
48689 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48690 if test "x$GCC" = "xyes"; then
48691 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48692 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48693 cat >conftest.
$ac_ext <<_ACEOF
48696 cat confdefs.h
>>conftest.
$ac_ext
48697 cat >>conftest.
$ac_ext <<_ACEOF
48698 /* end confdefs.h. */
48704 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48705 There is no PCH support
48708 There is no PCH support
48710 #if (__GNUC__ == 3) && \
48711 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48712 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48713 ( defined(__INTEL_COMPILER) )
48714 There is no PCH support
48721 rm -f conftest.
$ac_objext
48722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48723 (eval $ac_compile) 2>conftest.er1
48725 grep -v '^ *+' conftest.er1
>conftest.err
48727 cat conftest.err
>&5
48728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48729 (exit $ac_status); } &&
48730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48732 (eval $ac_try) 2>&5
48734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48735 (exit $ac_status); }; } &&
48736 { ac_try
='test -s conftest.$ac_objext'
48737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48738 (eval $ac_try) 2>&5
48740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48741 (exit $ac_status); }; }; then
48743 echo "$as_me:$LINENO: result: yes" >&5
48744 echo "${ECHO_T}yes" >&6
48748 echo "$as_me: failed program was:" >&5
48749 sed 's/^/| /' conftest.
$ac_ext >&5
48752 cat >conftest.
$ac_ext <<_ACEOF
48755 cat confdefs.h
>>conftest.
$ac_ext
48756 cat >>conftest.
$ac_ext <<_ACEOF
48757 /* end confdefs.h. */
48763 #if !defined(__INTEL_COMPILER) || \
48764 (__INTEL_COMPILER < 800)
48765 There is no PCH support
48772 rm -f conftest.
$ac_objext
48773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48774 (eval $ac_compile) 2>conftest.er1
48776 grep -v '^ *+' conftest.er1
>conftest.err
48778 cat conftest.err
>&5
48779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48780 (exit $ac_status); } &&
48781 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48783 (eval $ac_try) 2>&5
48785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48786 (exit $ac_status); }; } &&
48787 { ac_try
='test -s conftest.$ac_objext'
48788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48789 (eval $ac_try) 2>&5
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); }; }; then
48794 echo "$as_me:$LINENO: result: yes" >&5
48795 echo "${ECHO_T}yes" >&6
48799 echo "$as_me: failed program was:" >&5
48800 sed 's/^/| /' conftest.
$ac_ext >&5
48803 echo "$as_me:$LINENO: result: no" >&5
48804 echo "${ECHO_T}no" >&6
48807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48811 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48815 cat <<EOF >bk-make-pch
48818 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48819 # script. It is used to generated precompiled headers.
48821 # Permission is given to use this file in any way.
48831 while test ${D}{#} -gt 0; do
48835 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48836 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48837 headerfile="${D}{incdir}/${D}{header}"
48840 -use-pch|-use_pch )
48845 if test ${D}add_to_cmdline = 1 ; then
48846 compiler="${D}{compiler} ${D}{1}"
48851 if test "x${D}{headerfile}" = "x" ; then
48852 echo "error: can't find header ${D}{header} in include paths" >&2
48854 if test -f ${D}{outfile} ; then
48855 rm -f ${D}{outfile}
48857 mkdir -p \`dirname ${D}{outfile}\`
48859 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48861 if test "x${GCC_PCH}" = "x1" ; then
48862 # can do this because gcc is >= 3.4:
48863 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48864 elif test "x${ICC_PCH}" = "x1" ; then
48865 filename=pch_gen-${D}${D}
48866 file=${D}{filename}.c
48867 dfile=${D}{filename}.d
48868 cat > ${D}file <<EOT
48869 #include "${D}header"
48871 # using -MF icc complains about differing command lines in creation/use
48872 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48873 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48874 rm -f ${D}file ${D}dfile ${D}{filename}.o
48880 chmod +x bk
-make-pch
48888 COND_BUILD_DEBUG
="#"
48889 if test "x$BUILD" = "xdebug" ; then
48890 COND_BUILD_DEBUG
=""
48893 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48894 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48895 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48898 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48899 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48900 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48903 COND_BUILD_DEBUG_UNICODE_0
="#"
48904 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48905 COND_BUILD_DEBUG_UNICODE_0
=""
48908 COND_BUILD_DEBUG_UNICODE_1
="#"
48909 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48910 COND_BUILD_DEBUG_UNICODE_1
=""
48913 COND_BUILD_RELEASE
="#"
48914 if test "x$BUILD" = "xrelease" ; then
48915 COND_BUILD_RELEASE
=""
48918 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48919 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48920 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48923 COND_BUILD_RELEASE_UNICODE_0
="#"
48924 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48925 COND_BUILD_RELEASE_UNICODE_0
=""
48928 COND_BUILD_RELEASE_UNICODE_1
="#"
48929 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48930 COND_BUILD_RELEASE_UNICODE_1
=""
48933 COND_DEBUG_FLAG_1
="#"
48934 if test "x$DEBUG_FLAG" = "x1" ; then
48935 COND_DEBUG_FLAG_1
=""
48938 COND_DEBUG_INFO_0
="#"
48939 if test "x$DEBUG_INFO" = "x0" ; then
48940 COND_DEBUG_INFO_0
=""
48943 COND_DEBUG_INFO_1
="#"
48944 if test "x$DEBUG_INFO" = "x1" ; then
48945 COND_DEBUG_INFO_1
=""
48948 COND_DEPS_TRACKING_0
="#"
48949 if test "x$DEPS_TRACKING" = "x0" ; then
48950 COND_DEPS_TRACKING_0
=""
48953 COND_DEPS_TRACKING_1
="#"
48954 if test "x$DEPS_TRACKING" = "x1" ; then
48955 COND_DEPS_TRACKING_1
=""
48959 if test "x$GCC_PCH" = "x1" ; then
48964 if test "x$ICC_PCH" = "x1" ; then
48968 COND_MONOLITHIC_0
="#"
48969 if test "x$MONOLITHIC" = "x0" ; then
48970 COND_MONOLITHIC_0
=""
48973 COND_MONOLITHIC_0_SHARED_0
="#"
48974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48975 COND_MONOLITHIC_0_SHARED_0
=""
48978 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48980 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48985 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49008 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49010 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49013 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49015 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49018 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49020 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49023 COND_MONOLITHIC_0_SHARED_1
="#"
49024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49025 COND_MONOLITHIC_0_SHARED_1
=""
49028 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49030 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49033 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49035 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49038 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49040 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49050 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49058 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49060 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49063 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49065 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49068 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49070 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49073 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49074 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49075 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49078 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49079 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49080 COND_MONOLITHIC_0_USE_ODBC_1
=""
49083 COND_MONOLITHIC_1
="#"
49084 if test "x$MONOLITHIC" = "x1" ; then
49085 COND_MONOLITHIC_1
=""
49088 COND_MONOLITHIC_1_SHARED_0
="#"
49089 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49090 COND_MONOLITHIC_1_SHARED_0
=""
49093 COND_MONOLITHIC_1_SHARED_1
="#"
49094 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49095 COND_MONOLITHIC_1_SHARED_1
=""
49098 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49099 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49100 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49103 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49104 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49105 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49108 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49109 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49110 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49113 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49114 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49115 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49118 COND_PLATFORM_MACOSX_1
="#"
49119 if test "x$PLATFORM_MACOSX" = "x1" ; then
49120 COND_PLATFORM_MACOSX_1
=""
49123 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49125 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49128 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49130 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49133 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49135 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49138 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49139 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49140 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49143 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49144 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49145 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49148 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49149 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49150 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49153 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49154 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49155 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49158 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49159 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49160 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49163 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49164 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49165 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49168 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49169 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49170 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49173 COND_PLATFORM_MACOS_1
="#"
49174 if test "x$PLATFORM_MACOS" = "x1" ; then
49175 COND_PLATFORM_MACOS_1
=""
49178 COND_PLATFORM_MAC_1
="#"
49179 if test "x$PLATFORM_MAC" = "x1" ; then
49180 COND_PLATFORM_MAC_1
=""
49183 COND_PLATFORM_MSDOS_0
="#"
49184 if test "x$PLATFORM_MSDOS" = "x0" ; then
49185 COND_PLATFORM_MSDOS_0
=""
49188 COND_PLATFORM_MSDOS_1
="#"
49189 if test "x$PLATFORM_MSDOS" = "x1" ; then
49190 COND_PLATFORM_MSDOS_1
=""
49193 COND_PLATFORM_OS2_1
="#"
49194 if test "x$PLATFORM_OS2" = "x1" ; then
49195 COND_PLATFORM_OS2_1
=""
49198 COND_PLATFORM_UNIX_0
="#"
49199 if test "x$PLATFORM_UNIX" = "x0" ; then
49200 COND_PLATFORM_UNIX_0
=""
49203 COND_PLATFORM_UNIX_1
="#"
49204 if test "x$PLATFORM_UNIX" = "x1" ; then
49205 COND_PLATFORM_UNIX_1
=""
49208 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49209 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49210 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49213 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49214 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49215 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49218 COND_PLATFORM_WIN32_0
="#"
49219 if test "x$PLATFORM_WIN32" = "x0" ; then
49220 COND_PLATFORM_WIN32_0
=""
49223 COND_PLATFORM_WIN32_1
="#"
49224 if test "x$PLATFORM_WIN32" = "x1" ; then
49225 COND_PLATFORM_WIN32_1
=""
49229 if test "x$SHARED" = "x0" ; then
49233 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49234 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49235 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49238 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49239 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49240 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49243 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49244 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49245 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49248 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49249 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49250 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49253 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49254 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49255 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49258 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49259 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49260 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49263 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49264 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49268 COND_SHARED_0_USE_XRC_1
="#"
49269 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49270 COND_SHARED_0_USE_XRC_1
=""
49273 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49274 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49275 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49278 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49279 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49280 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49283 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49284 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49285 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49288 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49289 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49290 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49294 if test "x$SHARED" = "x1" ; then
49298 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49299 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49300 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49303 COND_SHARED_1_USE_XRC_1
="#"
49304 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49305 COND_SHARED_1_USE_XRC_1
=""
49309 if test "x$TOOLKIT" = "x" ; then
49313 COND_TOOLKIT_COCOA
="#"
49314 if test "x$TOOLKIT" = "xCOCOA" ; then
49315 COND_TOOLKIT_COCOA
=""
49318 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49319 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49320 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49323 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49324 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49325 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49328 COND_TOOLKIT_DFB
="#"
49329 if test "x$TOOLKIT" = "xDFB" ; then
49330 COND_TOOLKIT_DFB
=""
49333 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49334 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49335 COND_TOOLKIT_DFB_USE_GUI_1
=""
49338 COND_TOOLKIT_GTK
="#"
49339 if test "x$TOOLKIT" = "xGTK" ; then
49340 COND_TOOLKIT_GTK
=""
49343 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49344 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49345 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49348 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49349 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49353 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49354 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49355 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49358 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49359 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49360 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49363 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49364 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49365 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49368 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49369 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49370 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49373 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49374 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49375 COND_TOOLKIT_GTK_USE_GUI_1
=""
49378 COND_TOOLKIT_MAC
="#"
49379 if test "x$TOOLKIT" = "xMAC" ; then
49380 COND_TOOLKIT_MAC
=""
49383 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49384 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49385 COND_TOOLKIT_MAC_USE_GUI_1
=""
49388 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49389 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49390 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49393 COND_TOOLKIT_MGL
="#"
49394 if test "x$TOOLKIT" = "xMGL" ; then
49395 COND_TOOLKIT_MGL
=""
49398 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49399 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49400 COND_TOOLKIT_MGL_USE_GUI_1
=""
49403 COND_TOOLKIT_MOTIF
="#"
49404 if test "x$TOOLKIT" = "xMOTIF" ; then
49405 COND_TOOLKIT_MOTIF
=""
49408 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49409 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49410 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49413 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49414 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49415 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49418 COND_TOOLKIT_MSW
="#"
49419 if test "x$TOOLKIT" = "xMSW" ; then
49420 COND_TOOLKIT_MSW
=""
49423 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49424 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49425 COND_TOOLKIT_MSW_USE_GUI_1
=""
49428 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49429 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49430 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49433 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49434 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49435 COND_TOOLKIT_MSW_WXUNIV_0
=""
49438 COND_TOOLKIT_PM
="#"
49439 if test "x$TOOLKIT" = "xPM" ; then
49443 COND_TOOLKIT_PM_USE_GUI_1
="#"
49444 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49445 COND_TOOLKIT_PM_USE_GUI_1
=""
49448 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49449 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49450 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49453 COND_TOOLKIT_WINCE
="#"
49454 if test "x$TOOLKIT" = "xWINCE" ; then
49455 COND_TOOLKIT_WINCE
=""
49458 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49459 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49460 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49463 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49464 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49465 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49468 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49469 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49470 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49473 COND_TOOLKIT_X11
="#"
49474 if test "x$TOOLKIT" = "xX11" ; then
49475 COND_TOOLKIT_X11
=""
49478 COND_TOOLKIT_X11_USE_GUI_1
="#"
49479 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49480 COND_TOOLKIT_X11_USE_GUI_1
=""
49484 if test "x$UNICODE" = "x1" ; then
49488 COND_USE_EXCEPTIONS_0
="#"
49489 if test "x$USE_EXCEPTIONS" = "x0" ; then
49490 COND_USE_EXCEPTIONS_0
=""
49493 COND_USE_EXCEPTIONS_1
="#"
49494 if test "x$USE_EXCEPTIONS" = "x1" ; then
49495 COND_USE_EXCEPTIONS_1
=""
49499 if test "x$USE_GUI" = "x0" ; then
49504 if test "x$USE_GUI" = "x1" ; then
49508 COND_USE_GUI_1_WXUNIV_0
="#"
49509 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49510 COND_USE_GUI_1_WXUNIV_0
=""
49513 COND_USE_GUI_1_WXUNIV_1
="#"
49514 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49515 COND_USE_GUI_1_WXUNIV_1
=""
49518 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49519 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49520 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49523 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49524 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49525 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49528 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49529 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49530 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49533 COND_USE_ODBC_1
="#"
49534 if test "x$USE_ODBC" = "x1" ; then
49538 COND_USE_OPENGL_1
="#"
49539 if test "x$USE_OPENGL" = "x1" ; then
49540 COND_USE_OPENGL_1
=""
49544 if test "x$USE_PCH" = "x1" ; then
49548 COND_USE_PLUGINS_0
="#"
49549 if test "x$USE_PLUGINS" = "x0" ; then
49550 COND_USE_PLUGINS_0
=""
49553 COND_USE_RTTI_0
="#"
49554 if test "x$USE_RTTI" = "x0" ; then
49558 COND_USE_RTTI_1
="#"
49559 if test "x$USE_RTTI" = "x1" ; then
49563 COND_USE_SOSYMLINKS_1
="#"
49564 if test "x$USE_SOSYMLINKS" = "x1" ; then
49565 COND_USE_SOSYMLINKS_1
=""
49568 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49569 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49570 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49573 COND_USE_SOVERLINUX_1
="#"
49574 if test "x$USE_SOVERLINUX" = "x1" ; then
49575 COND_USE_SOVERLINUX_1
=""
49578 COND_USE_SOVERSION_0
="#"
49579 if test "x$USE_SOVERSION" = "x0" ; then
49580 COND_USE_SOVERSION_0
=""
49583 COND_USE_SOVERSOLARIS_1
="#"
49584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49585 COND_USE_SOVERSOLARIS_1
=""
49588 COND_USE_THREADS_0
="#"
49589 if test "x$USE_THREADS" = "x0" ; then
49590 COND_USE_THREADS_0
=""
49593 COND_USE_THREADS_1
="#"
49594 if test "x$USE_THREADS" = "x1" ; then
49595 COND_USE_THREADS_1
=""
49599 if test "x$USE_XRC" = "x1" ; then
49603 COND_WINDOWS_IMPLIB_1
="#"
49604 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49605 COND_WINDOWS_IMPLIB_1
=""
49608 COND_WITH_PLUGIN_SDL_1
="#"
49609 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49610 COND_WITH_PLUGIN_SDL_1
=""
49614 if test "x$WXUNIV" = "x0" ; then
49619 if test "x$WXUNIV" = "x1" ; then
49623 COND_WXUSE_EXPAT_BUILTIN
="#"
49624 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49625 COND_WXUSE_EXPAT_BUILTIN
=""
49628 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49629 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49630 COND_WXUSE_LIBJPEG_BUILTIN
=""
49633 COND_WXUSE_LIBPNG_BUILTIN
="#"
49634 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49635 COND_WXUSE_LIBPNG_BUILTIN
=""
49638 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49639 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49640 COND_WXUSE_LIBTIFF_BUILTIN
=""
49643 COND_WXUSE_ODBC_BUILTIN
="#"
49644 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49645 COND_WXUSE_ODBC_BUILTIN
=""
49648 COND_WXUSE_REGEX_BUILTIN
="#"
49649 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49650 COND_WXUSE_REGEX_BUILTIN
=""
49653 COND_WXUSE_ZLIB_BUILTIN
="#"
49654 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49655 COND_WXUSE_ZLIB_BUILTIN
=""
49660 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49661 { { 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
49662 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;}
49663 { (exit 1); exit 1; }; }
49666 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49667 { { 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
49668 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;}
49669 { (exit 1); exit 1; }; }
49674 if test "$wxUSE_MAC" = 1 ; then
49675 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49676 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49682 if test "$wxUSE_SHARED" = "yes"; then
49684 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49685 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49688 *-pc-os2_emx | *-pc-os2-emx )
49689 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49690 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49691 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49692 cp -p ${srcdir}/src
/os
2/dllar.sh .
49697 EXE_LINKER
="$CXX -o"
49700 if test "$wxUSE_OMF" = "yes"; then
49702 *-pc-os2_emx | *-pc-os2-emx )
49703 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49704 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49705 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49710 if test $GCC_PCH = 1 ; then
49711 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49714 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49716 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49778 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49779 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49780 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49781 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49782 echo $ECHO_N "(cached) $ECHO_C" >&6
49784 cat >conftest.
make <<\_ACEOF
49786 @
echo 'ac_maketemp="$(MAKE)"'
49788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49789 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49790 if test -n "$ac_maketemp"; then
49791 eval ac_cv_prog_make_
${ac_make}_set
=yes
49793 eval ac_cv_prog_make_
${ac_make}_set
=no
49795 rm -f conftest.
make
49797 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49798 echo "$as_me:$LINENO: result: yes" >&5
49799 echo "${ECHO_T}yes" >&6
49802 echo "$as_me:$LINENO: result: no" >&5
49803 echo "${ECHO_T}no" >&6
49804 SET_MAKE
="MAKE=${MAKE-make}"
49809 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49812 if test "$USE_WIN32" = 1; then
49813 ac_config_commands
="$ac_config_commands
49819 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49822 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49825 ac_config_files
="$ac_config_files version-script Makefile"
49828 ac_config_commands
="$ac_config_commands wx-config"
49832 if test "$wxWITH_SUBDIRS" != "no"; then
49833 if test "$wxUSE_GUI" = "yes"; then
49834 SUBDIRS
="samples demos utils contrib"
49835 else SUBDIRS
="samples utils"
49840 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49841 if test "${with_cppunit_prefix+set}" = set; then
49842 withval
="$with_cppunit_prefix"
49843 cppunit_config_prefix
="$withval"
49845 cppunit_config_prefix
=""
49848 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49849 if test "${with_cppunit_exec_prefix+set}" = set; then
49850 withval
="$with_cppunit_exec_prefix"
49851 cppunit_config_exec_prefix
="$withval"
49853 cppunit_config_exec_prefix
=""
49856 if test x
$cppunit_config_exec_prefix != x
; then
49857 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49858 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49859 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49862 if test x
$cppunit_config_prefix != x
; then
49863 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49864 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49865 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49869 # Extract the first word of "cppunit-config", so it can be a program name with args.
49870 set dummy cppunit
-config; ac_word
=$2
49871 echo "$as_me:$LINENO: checking for $ac_word" >&5
49872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49873 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49874 echo $ECHO_N "(cached) $ECHO_C" >&6
49876 case $CPPUNIT_CONFIG in
49878 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49882 for as_dir
in $PATH
49885 test -z "$as_dir" && as_dir
=.
49886 for ac_exec_ext
in '' $ac_executable_extensions; do
49887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49888 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49895 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49899 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49901 if test -n "$CPPUNIT_CONFIG"; then
49902 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49903 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49905 echo "$as_me:$LINENO: result: no" >&5
49906 echo "${ECHO_T}no" >&6
49909 cppunit_version_min
=1.8.0
49911 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49912 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49914 if test "$CPPUNIT_CONFIG" = "no" ; then
49915 echo "$as_me:$LINENO: result: no" >&5
49916 echo "${ECHO_T}no" >&6
49919 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49920 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49921 cppunit_version
=`$CPPUNIT_CONFIG --version`
49923 cppunit_major_version
=`echo $cppunit_version | \
49924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49925 cppunit_minor_version
=`echo $cppunit_version | \
49926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49927 cppunit_micro_version
=`echo $cppunit_version | \
49928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49930 cppunit_major_min
=`echo $cppunit_version_min | \
49931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49932 cppunit_minor_min
=`echo $cppunit_version_min | \
49933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49934 cppunit_micro_min
=`echo $cppunit_version_min | \
49935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49937 cppunit_version_proper
=`expr \
49938 $cppunit_major_version \> $cppunit_major_min \| \
49939 $cppunit_major_version \= $cppunit_major_min \& \
49940 $cppunit_minor_version \> $cppunit_minor_min \| \
49941 $cppunit_major_version \= $cppunit_major_min \& \
49942 $cppunit_minor_version \= $cppunit_minor_min \& \
49943 $cppunit_micro_version \>= $cppunit_micro_min `
49945 if test "$cppunit_version_proper" = "1" ; then
49946 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49947 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49949 echo "$as_me:$LINENO: result: no" >&5
49950 echo "${ECHO_T}no" >&6
49955 if test "x$no_cppunit" = x
; then
49956 SUBDIRS
="$SUBDIRS tests"
49967 for subdir
in `echo $SUBDIRS`; do
49968 if test -d ${srcdir}/${subdir} ; then
49969 if test "$wxUSE_GUI" = "yes"; then
49970 if test ${subdir} = "samples"; then
49971 makefiles
="samples/Makefile.in $makefiles"
49972 for sample
in `echo $SAMPLES_SUBDIRS`; do
49973 if test -d $srcdir/samples
/$sample; then
49974 makefiles
="samples/$sample/Makefile.in $makefiles"
49978 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49979 eval "disabled=\$$disabled_var"
49980 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49981 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49983 else if test ${subdir} = "samples"; then
49984 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49985 elif test ${subdir} = "utils"; then
49987 for util
in HelpGen tex2rtf
; do
49988 if test -d $srcdir/utils
/$util ; then
49989 makefiles
="utils/$util/Makefile.in \
49990 utils/$util/src/Makefile.in \
49994 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49998 for mkin
in $makefiles ; do
49999 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50000 ac_config_files
="$ac_config_files $mk"
50006 cat >confcache
<<\_ACEOF
50007 # This file is a shell script that caches the results of configure
50008 # tests run on this system so they can be shared between configure
50009 # scripts and configure runs, see configure's option --config-cache.
50010 # It is not useful on other systems. If it contains results you don't
50011 # want to keep, you may remove or edit it.
50013 # config.status only pays attention to the cache file if you give it
50014 # the --recheck option to rerun configure.
50016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50018 # following values.
50022 # The following way of writing the cache mishandles newlines in values,
50023 # but we know of no workaround that is simple, portable, and efficient.
50024 # So, don't put newlines in cache variables' values.
50025 # Ultrix sh set writes to stderr and can't be redirected directly,
50026 # and sets the high bit in the cache file unless we assign to the vars.
50029 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50031 # `set' does not quote correctly, so add quotes (double-quote
50032 # substitution turns \\\\ into \\, and sed turns \\ into \).
50035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50038 # `set' quotes correctly as required by POSIX, so do not add quotes.
50040 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50047 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50049 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50051 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50052 if test -w $cache_file; then
50053 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50054 cat confcache
>$cache_file
50056 echo "not updating unwritable cache $cache_file"
50061 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50062 # Let make expand exec_prefix.
50063 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50065 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50066 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50067 # trailing colons and then remove the whole line if VPATH becomes empty
50068 # (actually we leave an empty line to preserve line numbers).
50069 if test "x$srcdir" = x.
; then
50070 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50071 s/:*\$(srcdir):*/:/;
50072 s/:*\${srcdir}:*/:/;
50074 s/^\([^=]*=[ ]*\):*/\1/;
50080 DEFS
=-DHAVE_CONFIG_H
50084 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50085 # 1. Remove the extension, and $U if already installed.
50086 ac_i
=`echo "$ac_i" |
50087 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50089 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50090 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50092 LIBOBJS
=$ac_libobjs
50094 LTLIBOBJS
=$ac_ltlibobjs
50098 : ${CONFIG_STATUS=./config.status}
50099 ac_clean_files_save
=$ac_clean_files
50100 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50103 cat >$CONFIG_STATUS <<_ACEOF
50105 # Generated by $as_me.
50106 # Run this file to recreate the current configuration.
50107 # Compiler output produced by configure, useful for debugging
50108 # configure, is in config.log if it exists.
50111 ac_cs_recheck=false
50113 SHELL=\${CONFIG_SHELL-$SHELL}
50116 cat >>$CONFIG_STATUS <<\_ACEOF
50117 ## --------------------- ##
50118 ## M4sh Initialization. ##
50119 ## --------------------- ##
50121 # Be Bourne compatible
50122 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50125 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50126 # is contrary to our usage. Disable this feature.
50127 alias -g '${1+"$@"}'='"$@"'
50128 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50131 DUALCASE
=1; export DUALCASE
# for MKS sh
50133 # Support unset when possible.
50134 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50141 # Work around bugs in pre-3.0 UWIN ksh.
50142 $as_unset ENV MAIL MAILPATH
50149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50151 LC_TELEPHONE LC_TIME
50153 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50154 eval $as_var=C
; export $as_var
50160 # Required to use basename.
50161 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50167 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50168 as_basename
=basename
50174 # Name of the executable.
50175 as_me
=`$as_basename "$0" ||
50176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50177 X"$0" : 'X\(//\)$' \| \
50178 X"$0" : 'X\(/\)$' \| \
50179 . : '\(.\)' 2>/dev/null ||
50181 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50182 /^X\/\(\/\/\)$/{ s//\1/; q; }
50183 /^X\/\(\/\).*/{ s//\1/; q; }
50187 # PATH needs CR, and LINENO needs CR and PATH.
50188 # Avoid depending upon Character Ranges.
50189 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50190 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50191 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50192 as_cr_digits
='0123456789'
50193 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50195 # The user is always right.
50196 if test "${PATH_SEPARATOR+set}" != set; then
50197 echo "#! /bin/sh" >conf$$.sh
50198 echo "exit 0" >>conf$$.sh
50200 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50209 as_lineno_1
=$LINENO
50210 as_lineno_2
=$LINENO
50211 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50212 test "x$as_lineno_1" != "x$as_lineno_2" &&
50213 test "x$as_lineno_3" = "x$as_lineno_2" || {
50214 # Find who we are. Look in the path if we contain no path at all
50217 *[\\/]* ) as_myself
=$0 ;;
50218 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50219 for as_dir
in $PATH
50222 test -z "$as_dir" && as_dir
=.
50223 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50228 # We did not find ourselves, most probably we were run as `sh COMMAND'
50229 # in which case we are not to be found in the path.
50230 if test "x$as_myself" = x
; then
50233 if test ! -f "$as_myself"; then
50234 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50235 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50236 { (exit 1); exit 1; }; }
50238 case $CONFIG_SHELL in
50240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50244 test -z "$as_dir" && as_dir
=.
50245 for as_base
in sh bash ksh sh5
; do
50248 if ("$as_dir/$as_base" -c '
50249 as_lineno_1=$LINENO
50250 as_lineno_2=$LINENO
50251 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50252 test "x$as_lineno_1" != "x$as_lineno_2" &&
50253 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50254 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50255 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50256 CONFIG_SHELL
=$as_dir/$as_base
50257 export CONFIG_SHELL
50258 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50267 # uniformly replaced by the line number. The first 'sed' inserts a
50268 # line-number line before each line; the second 'sed' does the real
50269 # work. The second script uses 'N' to pair each line-number line
50270 # with the numbered line, and appends trailing '-' during
50271 # substitution so that $LINENO is not a special case at line end.
50272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50273 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50274 sed '=' <$as_myself |
50279 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50282 s,^['$as_cr_digits']*\n,,
50283 ' >$as_me.lineno
&&
50284 chmod +x
$as_me.lineno
||
50285 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50286 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50287 { (exit 1); exit 1; }; }
50289 # Don't try to exec as it changes $[0], causing all sort of problems
50290 # (the dirname of $[0] is not the place where we might find the
50291 # original and so on. Autoconf is especially sensible to this).
50293 # Exit status is that of the last command.
50298 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50299 *c
*,-n*) ECHO_N
= ECHO_C
='
50301 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50302 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50305 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50311 rm -f conf$$ conf$$.exe conf$$.
file
50313 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50314 # We could just check for DJGPP; but this test a) works b) is more generic
50315 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50316 if test -f conf$$.exe
; then
50317 # Don't use ln at all; we don't have any links
50322 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50327 rm -f conf$$ conf$$.exe conf$$.
file
50329 if mkdir -p .
2>/dev
/null
; then
50332 test -d .
/-p && rmdir .
/-p
50336 as_executable_p
="test -f"
50338 # Sed expression to map a string onto a valid CPP name.
50339 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50341 # Sed expression to map a string onto a valid variable name.
50342 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50346 # We need space, tab and new line, in precisely that order.
50356 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50357 # report actual input values of CONFIG_FILES etc. instead of their
50358 # values after options handling. Logging --version etc. is OK.
50362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50363 ## Running $as_me. ##
50368 This file was extended by wxWidgets $as_me 2.7.1, which was
50369 generated by GNU Autoconf 2.59. Invocation command line was
50371 CONFIG_FILES = $CONFIG_FILES
50372 CONFIG_HEADERS = $CONFIG_HEADERS
50373 CONFIG_LINKS = $CONFIG_LINKS
50374 CONFIG_COMMANDS = $CONFIG_COMMANDS
50378 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50382 # Files that config.status was made for.
50383 if test -n "$ac_config_files"; then
50384 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50387 if test -n "$ac_config_headers"; then
50388 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50391 if test -n "$ac_config_links"; then
50392 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50395 if test -n "$ac_config_commands"; then
50396 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50399 cat >>$CONFIG_STATUS <<\_ACEOF
50402 \`$as_me' instantiates files from templates according to the
50403 current configuration.
50405 Usage: $0 [OPTIONS] [FILE]...
50407 -h, --help print this help, then exit
50408 -V, --version print version number, then exit
50409 -q, --quiet do not print progress messages
50410 -d, --debug don't remove temporary files
50411 --recheck update $as_me by reconfiguring in the same conditions
50412 --file=FILE[:TEMPLATE]
50413 instantiate the configuration file FILE
50414 --header=FILE[:TEMPLATE]
50415 instantiate the configuration header FILE
50417 Configuration files:
50420 Configuration headers:
50423 Configuration commands:
50426 Report bugs to <bug-autoconf@gnu.org>."
50429 cat >>$CONFIG_STATUS <<_ACEOF
50431 wxWidgets config.status 2.7.1
50432 configured by $0, generated by GNU Autoconf 2.59,
50433 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50435 Copyright (C) 2003 Free Software Foundation, Inc.
50436 This config.status script is free software; the Free Software Foundation
50437 gives unlimited permission to copy, distribute and modify it."
50442 cat >>$CONFIG_STATUS <<\_ACEOF
50443 # If no file are specified by the user, then we need to provide default
50444 # value. By we need to know if files were specified by the user.
50450 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50451 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50459 *) # This is not an option, so the user has probably given explicit
50462 ac_need_defaults
=false
;;
50466 # Handling of the options.
50468 cat >>$CONFIG_STATUS <<\_ACEOF
50469 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50471 --version | --vers* | -V )
50472 echo "$ac_cs_version"; exit 0 ;;
50474 # Conflict between --help and --header
50475 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50476 Try \`$0 --help' for more information." >&5
50477 echo "$as_me: error: ambiguous option: $1
50478 Try \`$0 --help' for more information." >&2;}
50479 { (exit 1); exit 1; }; };;
50480 --help | --hel | -h )
50481 echo "$ac_cs_usage"; exit 0 ;;
50482 --debug | --d* | -d )
50484 --file | --fil | --fi | --f )
50486 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50487 ac_need_defaults
=false
;;
50488 --header | --heade | --head | --hea )
50490 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50491 ac_need_defaults
=false
;;
50492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50493 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50496 # This is an error.
50497 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50498 Try \`$0 --help' for more information." >&5
50499 echo "$as_me: error: unrecognized option: $1
50500 Try \`$0 --help' for more information." >&2;}
50501 { (exit 1); exit 1; }; } ;;
50503 *) ac_config_targets
="$ac_config_targets $1" ;;
50509 ac_configure_extra_args
=
50511 if $ac_cs_silent; then
50513 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50517 cat >>$CONFIG_STATUS <<_ACEOF
50518 if \$ac_cs_recheck; then
50519 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50520 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50525 cat >>$CONFIG_STATUS <<_ACEOF
50527 # INIT-COMMANDS section.
50532 infile="$srcdir/include/wx/msw/genrcdefs.h"
50533 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50536 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50537 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50538 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50546 cat >>$CONFIG_STATUS <<\_ACEOF
50547 for ac_config_target
in $ac_config_targets
50549 case "$ac_config_target" in
50550 # Handling of arguments.
50551 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50552 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50553 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50554 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50555 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50556 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50557 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50558 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50559 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50560 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50561 { (exit 1); exit 1; }; };;
50565 # If the user did not use the arguments to specify the items to instantiate,
50566 # then the envvar interface is used. Set only those that are not.
50567 # We use the long form for the default assignment because of an extremely
50568 # bizarre bug on SunOS 4.1.3.
50569 if $ac_need_defaults; then
50570 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50571 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50575 # Have a temporary directory for convenience. Make it in the build tree
50576 # simply because there is no reason to put it here, and in addition,
50577 # creating and moving files from /tmp can sometimes cause problems.
50578 # Create a temporary directory, and hook for its removal unless debugging.
50581 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50582 trap '{ (exit 1); exit 1; }' 1 2 13 15
50585 # Create a (secure) tmp directory for tmp files.
50588 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50589 test -n "$tmp" && test -d "$tmp"
50592 tmp
=.
/confstat$$
-$RANDOM
50593 (umask 077 && mkdir $tmp)
50596 echo "$me: cannot create a temporary directory in ." >&2
50597 { (exit 1); exit 1; }
50602 cat >>$CONFIG_STATUS <<_ACEOF
50605 # CONFIG_FILES section.
50608 # No need to generate the scripts if there are no CONFIG_FILES.
50609 # This happens for instance when ./config.status config.h
50610 if test -n "\$CONFIG_FILES"; then
50611 # Protect against being on the right side of a sed subst in config.status.
50612 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50613 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50614 s,@SHELL@,$SHELL,;t t
50615 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50616 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50617 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50618 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50619 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50620 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50621 s,@exec_prefix@,$exec_prefix,;t t
50622 s,@prefix@,$prefix,;t t
50623 s,@program_transform_name@,$program_transform_name,;t t
50624 s,@bindir@,$bindir,;t t
50625 s,@sbindir@,$sbindir,;t t
50626 s,@libexecdir@,$libexecdir,;t t
50627 s,@datadir@,$datadir,;t t
50628 s,@sysconfdir@,$sysconfdir,;t t
50629 s,@sharedstatedir@,$sharedstatedir,;t t
50630 s,@localstatedir@,$localstatedir,;t t
50631 s,@libdir@,$libdir,;t t
50632 s,@includedir@,$includedir,;t t
50633 s,@oldincludedir@,$oldincludedir,;t t
50634 s,@infodir@,$infodir,;t t
50635 s,@mandir@,$mandir,;t t
50636 s,@build_alias@,$build_alias,;t t
50637 s,@host_alias@,$host_alias,;t t
50638 s,@target_alias@,$target_alias,;t t
50639 s,@DEFS@,$DEFS,;t t
50640 s,@ECHO_C@,$ECHO_C,;t t
50641 s,@ECHO_N@,$ECHO_N,;t t
50642 s,@ECHO_T@,$ECHO_T,;t t
50643 s,@LIBS@,$LIBS,;t t
50644 s,@build@,$build,;t t
50645 s,@build_cpu@,$build_cpu,;t t
50646 s,@build_vendor@,$build_vendor,;t t
50647 s,@build_os@,$build_os,;t t
50648 s,@host@,$host,;t t
50649 s,@host_cpu@,$host_cpu,;t t
50650 s,@host_vendor@,$host_vendor,;t t
50651 s,@host_os@,$host_os,;t t
50652 s,@target@,$target,;t t
50653 s,@target_cpu@,$target_cpu,;t t
50654 s,@target_vendor@,$target_vendor,;t t
50655 s,@target_os@,$target_os,;t t
50657 s,@CFLAGS@,$CFLAGS,;t t
50658 s,@LDFLAGS@,$LDFLAGS,;t t
50659 s,@CPPFLAGS@,$CPPFLAGS,;t t
50660 s,@ac_ct_CC@,$ac_ct_CC,;t t
50661 s,@EXEEXT@,$EXEEXT,;t t
50662 s,@OBJEXT@,$OBJEXT,;t t
50664 s,@EGREP@,$EGREP,;t t
50666 s,@CXXFLAGS@,$CXXFLAGS,;t t
50667 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50668 s,@RANLIB@,$RANLIB,;t t
50669 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50671 s,@ac_ct_AR@,$ac_ct_AR,;t t
50672 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50673 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50674 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50675 s,@STRIP@,$STRIP,;t t
50676 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50677 s,@WINDRES@,$WINDRES,;t t
50678 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50679 s,@DLLTOOL@,$DLLTOOL,;t t
50680 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50681 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50682 s,@LN_S@,$LN_S,;t t
50683 s,@CXXCPP@,$CXXCPP,;t t
50684 s,@subdirs@,$subdirs,;t t
50685 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50686 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50687 s,@GTK_LIBS@,$GTK_LIBS,;t t
50688 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50689 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50690 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50691 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50692 s,@X_CFLAGS@,$X_CFLAGS,;t t
50693 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50694 s,@X_LIBS@,$X_LIBS,;t t
50695 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50696 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50697 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50698 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50699 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50700 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50701 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50703 s,@DEREZ@,$DEREZ,;t t
50704 s,@SETFILE@,$SETFILE,;t t
50705 s,@LIBICONV@,$LIBICONV,;t t
50706 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50707 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50708 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50709 s,@SDL_LIBS@,$SDL_LIBS,;t t
50710 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50711 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50712 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50713 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50714 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50715 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50716 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
50717 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
50718 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50719 s,@GST_LIBS@,$GST_LIBS,;t t
50720 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50721 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50722 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50723 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50724 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50725 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50726 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50727 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50728 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50729 s,@VENDOR@,$VENDOR,;t t
50730 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50731 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50732 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50733 s,@WXUNIV@,$WXUNIV,;t t
50734 s,@MONOLITHIC@,$MONOLITHIC,;t t
50735 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50736 s,@EXTRALIBS@,$EXTRALIBS,;t t
50737 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50738 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50739 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50740 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50741 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50742 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50743 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50744 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50745 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50746 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50747 s,@UNICODE@,$UNICODE,;t t
50748 s,@BUILD@,$BUILD,;t t
50749 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50750 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50751 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50752 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50753 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50754 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50755 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50756 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50757 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50758 s,@SET_MAKE@,$SET_MAKE,;t t
50759 s,@MAKE_SET@,$MAKE_SET,;t t
50761 s,@ac_ct_NM@,$ac_ct_NM,;t t
50762 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50763 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50764 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50765 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50766 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50767 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50768 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50769 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50770 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50771 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50772 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50773 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50774 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50775 s,@LIBPREFIX@,$LIBPREFIX,;t t
50776 s,@LIBEXT@,$LIBEXT,;t t
50777 s,@DLLPREFIX@,$DLLPREFIX,;t t
50778 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50779 s,@dlldir@,$dlldir,;t t
50780 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50781 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50782 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50783 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50784 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50785 s,@PIC_FLAG@,$PIC_FLAG,;t t
50786 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50787 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50788 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50789 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50790 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50791 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50792 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50793 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50794 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50795 s,@GCC_PCH@,$GCC_PCH,;t t
50796 s,@ICC_PCH@,$ICC_PCH,;t t
50797 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50798 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50799 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50800 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50801 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50802 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50803 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50804 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50805 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50806 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50807 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50808 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50809 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50810 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50811 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50812 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50813 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50814 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50815 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50816 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50817 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
50818 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
50819 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
50820 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
50821 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50822 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50823 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50824 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50825 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50826 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50827 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
50828 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
50829 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
50830 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
50831 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50832 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50833 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50834 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50835 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50836 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50837 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50838 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50839 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50840 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50841 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50842 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50843 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50844 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50845 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50846 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50847 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50848 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50849 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
50850 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50851 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50852 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50853 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50854 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50855 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50856 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50857 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50858 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50859 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50860 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50861 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50862 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50863 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50864 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50865 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50866 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50867 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50868 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50869 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50870 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50871 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50872 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50873 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50874 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50875 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50876 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50877 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50878 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50879 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50880 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50881 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50882 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50883 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50884 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50885 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50886 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50887 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50888 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50889 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50890 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50891 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
50892 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50893 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50894 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50895 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50896 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50897 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50898 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50899 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50900 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50901 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50902 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50903 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50904 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50905 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50906 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50907 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50908 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50909 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50910 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50911 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50912 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50913 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50914 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50915 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50916 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50917 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50918 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50919 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50920 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50921 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50922 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50923 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50924 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50925 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50926 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50927 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50928 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50929 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50930 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50931 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50932 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50933 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50934 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50935 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50936 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50937 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50938 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50939 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50940 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50941 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50942 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50943 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50944 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50945 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50946 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50947 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50948 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50949 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50950 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50951 s,@SHARED@,$SHARED,;t t
50952 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50953 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50954 s,@USE_GUI@,$USE_GUI,;t t
50955 s,@AFMINSTALL@,$AFMINSTALL,;t t
50956 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50957 s,@TOOLKIT@,$TOOLKIT,;t t
50958 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50959 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50960 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50961 s,@cross_compiling@,$cross_compiling,;t t
50962 s,@WIDGET_SET@,$WIDGET_SET,;t t
50963 s,@WX_RELEASE@,$WX_RELEASE,;t t
50964 s,@WX_VERSION@,$WX_VERSION,;t t
50965 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50966 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50967 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50968 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50969 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50970 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50971 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50972 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50973 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50974 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50975 s,@EXE_LINKER@,$EXE_LINKER,;t t
50976 s,@GUIDIST@,$GUIDIST,;t t
50977 s,@DISTDIR@,$DISTDIR,;t t
50978 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50979 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50980 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50981 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50982 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50983 s,@RESCOMP@,$RESCOMP,;t t
50984 s,@RESFLAGS@,$RESFLAGS,;t t
50985 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50986 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50987 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50988 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50989 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50990 s,@MACSETFILE@,$MACSETFILE,;t t
50992 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50993 s,@LIBOBJS@,$LIBOBJS,;t t
50994 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50999 cat >>$CONFIG_STATUS <<\_ACEOF
51000 # Split the substitutions into bite-sized pieces for seds with
51001 # small command number limits, like on Digital OSF/1 and HP-UX.
51002 ac_max_sed_lines
=48
51003 ac_sed_frag
=1 # Number of current file.
51004 ac_beg
=1 # First line for current file.
51005 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51008 while $ac_more_lines; do
51009 if test $ac_beg -gt 1; then
51010 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51012 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51014 if test ! -s $tmp/subs.frag
; then
51015 ac_more_lines
=false
51017 # The purpose of the label and of the branching condition is to
51018 # speed up the sed processing (if there are no `@' at all, there
51019 # is no need to browse any of the substitutions).
51020 # These are the two extra sed commands mentioned above.
51022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51023 if test -z "$ac_sed_cmds"; then
51024 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51026 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51028 ac_sed_frag
=`expr $ac_sed_frag + 1`
51030 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51033 if test -z "$ac_sed_cmds"; then
51036 fi # test -n "$CONFIG_FILES"
51039 cat >>$CONFIG_STATUS <<\_ACEOF
51040 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51041 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51043 - | *:- | *:-:* ) # input from stdin
51045 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51046 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51047 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51048 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51049 * ) ac_file_in
=$ac_file.
in ;;
51052 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51053 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51055 X"$ac_file" : 'X\(//\)[^/]' \| \
51056 X"$ac_file" : 'X\(//\)$' \| \
51057 X"$ac_file" : 'X\(/\)' \| \
51058 . : '\(.\)' 2>/dev/null ||
51060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51062 /^X\(\/\/\)$/{ s//\1/; q; }
51063 /^X\(\/\).*/{ s//\1/; q; }
51065 { if $as_mkdir_p; then
51070 while test ! -d "$as_dir"; do
51071 as_dirs
="$as_dir $as_dirs"
51072 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51074 X"$as_dir" : 'X\(//\)[^/]' \| \
51075 X"$as_dir" : 'X\(//\)$' \| \
51076 X"$as_dir" : 'X\(/\)' \| \
51077 . : '\(.\)' 2>/dev/null ||
51079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51081 /^X\(\/\/\)$/{ s//\1/; q; }
51082 /^X\(\/\).*/{ s//\1/; q; }
51085 test ! -n "$as_dirs" || mkdir $as_dirs
51086 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51087 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51088 { (exit 1); exit 1; }; }; }
51092 if test "$ac_dir" != .
; then
51093 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51094 # A "../" for each directory in $ac_dir_suffix.
51095 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51097 ac_dir_suffix
= ac_top_builddir
=
51101 .
) # No --srcdir option. We are building in place.
51103 if test -z "$ac_top_builddir"; then
51106 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51108 [\\/]* | ?
:[\\/]* ) # Absolute path.
51109 ac_srcdir
=$srcdir$ac_dir_suffix;
51110 ac_top_srcdir
=$srcdir ;;
51111 *) # Relative path.
51112 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51113 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51116 # Do not use `cd foo && pwd` to compute absolute paths, because
51117 # the directories may not exist.
51119 .
) ac_abs_builddir
="$ac_dir";;
51122 .
) ac_abs_builddir
=`pwd`;;
51123 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51124 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51127 case $ac_abs_builddir in
51128 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51130 case ${ac_top_builddir}.
in
51131 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51132 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51133 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51136 case $ac_abs_builddir in
51137 .
) ac_abs_srcdir
=$ac_srcdir;;
51140 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51141 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51142 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51145 case $ac_abs_builddir in
51146 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51148 case $ac_top_srcdir in
51149 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51150 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51151 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51157 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51158 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51161 # Let's still pretend it is `configure' which instantiates (i.e., don't
51162 # use $as_me), people would be surprised to read:
51163 # /* config.h. Generated by config.status. */
51164 if test x
"$ac_file" = x
-; then
51167 configure_input
="$ac_file. "
51169 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51170 sed 's,.*/,,'` by configure."
51172 # First look for the input files in the build tree, otherwise in the
51174 ac_file_inputs
=`IFS=:
51175 for f in $ac_file_in; do
51177 -) echo $tmp/stdin ;;
51179 # Absolute (can't be DOS-style, as IFS=:)
51180 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51181 echo "$as_me: error: cannot find input file: $f" >&2;}
51182 { (exit 1); exit 1; }; }
51185 if test -f "$f"; then
51188 elif test -f "$srcdir/$f"; then
51193 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51194 echo "$as_me: error: cannot find input file: $f" >&2;}
51195 { (exit 1); exit 1; }; }
51198 done` || { (exit 1); exit 1; }
51200 if test x
"$ac_file" != x
-; then
51201 { echo "$as_me:$LINENO: creating $ac_file" >&5
51202 echo "$as_me: creating $ac_file" >&6;}
51206 cat >>$CONFIG_STATUS <<_ACEOF
51210 cat >>$CONFIG_STATUS <<\_ACEOF
51212 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51213 s
,@configure_input@
,$configure_input,;t t
51214 s
,@srcdir@
,$ac_srcdir,;t t
51215 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51216 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51217 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51218 s
,@builddir@
,$ac_builddir,;t t
51219 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51220 s
,@top_builddir@
,$ac_top_builddir,;t t
51221 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51222 s
,@INSTALL@
,$ac_INSTALL,;t t
51223 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51225 if test x"$ac_file" != x-; then
51226 mv $tmp/out $ac_file
51232 # Run the commands associated with the file.
51234 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51235 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51239 cat >>$CONFIG_STATUS <<\_ACEOF
51242 # CONFIG_HEADER section.
51245 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51246 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51248 # ac_d sets the value in "#define NAME VALUE" lines.
51249 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51250 ac_dB
='[ ].*$,\1#\2'
51253 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51254 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51255 ac_uB
='$,\1#\2define\3'
51259 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51260 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51262 - | *:- | *:-:* ) # input from stdin
51264 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51265 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51266 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51267 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51268 * ) ac_file_in
=$ac_file.
in ;;
51271 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51272 echo "$as_me: creating $ac_file" >&6;}
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; }; }
51285 # Do quote $f, to prevent DOS paths from being IFS'd.
51288 if test -f "$f"; then
51291 elif test -f "$srcdir/$f"; then
51296 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51297 echo "$as_me: error: cannot find input file: $f" >&2;}
51298 { (exit 1); exit 1; }; }
51301 done` || { (exit 1); exit 1; }
51302 # Remove the trailing spaces.
51303 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51307 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51308 # `conftest.undefs', that substitutes the proper values into
51309 # config.h.in to produce config.h. The first handles `#define'
51310 # templates, and the second `#undef' templates.
51311 # And first: Protect against being on the right side of a sed subst in
51312 # config.status. Protect against being in an unquoted here document
51313 # in config.status.
51314 rm -f conftest.defines conftest.undefs
51315 # Using a here document instead of a string reduces the quoting nightmare.
51316 # Putting comments in sed scripts is not portable.
51318 # `end' is used to avoid that the second main sed command (meant for
51319 # 0-ary CPP macros) applies to n-ary macro definitions.
51320 # See the Autoconf documentation for `clear'.
51321 cat >confdef2sed.
sed <<\_ACEOF
51326 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51328 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51331 # If some macros were called several times there might be several times
51332 # the same #defines, which is useless. Nevertheless, we may not want to
51333 # sort them, since we want the *last* AC-DEFINE to be honored.
51334 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51335 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51336 rm -f confdef2sed.sed
51338 # This sed command replaces #undef with comments. This is necessary, for
51339 # example, in the case of _POSIX_SOURCE, which is predefined and required
51340 # on some systems where configure will not decide to define it.
51341 cat >>conftest.undefs <<\_ACEOF
51342 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51345 # Break up conftest.defines because some shells have a limit on the size
51346 # of here documents, and old seds have small limits too (100 cmds).
51347 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51348 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51349 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51350 echo ' :' >>$CONFIG_STATUS
51351 rm -f conftest.tail
51352 while grep . conftest.defines >/dev/null
51354 # Write a limited-size here document to $tmp/defines.sed.
51355 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51356 # Speed up: don't consider the non `#define' lines.
51357 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51358 # Work around the forget-to-reset-the-flag bug.
51359 echo 't clr' >>$CONFIG_STATUS
51360 echo ': clr' >>$CONFIG_STATUS
51361 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51363 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51365 mv $tmp/out $tmp/in
51367 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51368 rm -f conftest.defines
51369 mv conftest.
tail conftest.defines
51371 rm -f conftest.defines
51372 echo ' fi # grep' >>$CONFIG_STATUS
51373 echo >>$CONFIG_STATUS
51375 # Break up conftest.undefs because some shells have a limit on the size
51376 # of here documents, and old seds have small limits too (100 cmds).
51377 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51378 rm -f conftest.
tail
51379 while grep . conftest.undefs
>/dev
/null
51381 # Write a limited-size here document to $tmp/undefs.sed.
51382 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51383 # Speed up: don't consider the non
`#undef'
51384 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51385 # Work around the forget-to-reset-the-flag bug.
51386 echo 't clr' >>$CONFIG_STATUS
51387 echo ': clr' >>$CONFIG_STATUS
51388 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51390 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51392 mv $tmp/out $tmp/in
51394 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51395 rm -f conftest.undefs
51396 mv conftest.tail conftest.undefs
51398 rm -f conftest.undefs
51400 cat >>$CONFIG_STATUS <<\_ACEOF
51401 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51402 # use $as_me), people would be surprised to read:
51403 # /* config.h. Generated by config.status. */
51404 if test x
"$ac_file" = x
-; then
51405 echo "/* Generated by configure. */" >$tmp/config.h
51407 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51409 cat $tmp/in >>$tmp/config.h
51411 if test x
"$ac_file" != x
-; then
51412 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51413 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51414 echo "$as_me: $ac_file is unchanged" >&6;}
51416 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51417 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51418 X"$ac_file" : 'X\(//\)[^/]' \| \
51419 X"$ac_file" : 'X\(//\)$' \| \
51420 X"$ac_file" : 'X\(/\)' \| \
51421 . : '\(.\)' 2>/dev/null ||
51423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51425 /^X\(\/\/\)$/{ s//\1/; q; }
51426 /^X\(\/\).*/{ s//\1/; q; }
51428 { if $as_mkdir_p; then
51433 while test ! -d "$as_dir"; do
51434 as_dirs
="$as_dir $as_dirs"
51435 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51437 X"$as_dir" : 'X\(//\)[^/]' \| \
51438 X"$as_dir" : 'X\(//\)$' \| \
51439 X"$as_dir" : 'X\(/\)' \| \
51440 . : '\(.\)' 2>/dev/null ||
51442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51444 /^X\(\/\/\)$/{ s//\1/; q; }
51445 /^X\(\/\).*/{ s//\1/; q; }
51448 test ! -n "$as_dirs" || mkdir $as_dirs
51449 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51451 { (exit 1); exit 1; }; }; }
51454 mv $tmp/config.h
$ac_file
51458 rm -f $tmp/config.h
51462 cat >>$CONFIG_STATUS <<\_ACEOF
51465 # CONFIG_COMMANDS section.
51467 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51468 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51469 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51470 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51471 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51472 X"$ac_dest" : 'X\(//\)[^/]' \| \
51473 X"$ac_dest" : 'X\(//\)$' \| \
51474 X"$ac_dest" : 'X\(/\)' \| \
51475 . : '\(.\)' 2>/dev/null ||
51477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51479 /^X\(\/\/\)$/{ s//\1/; q; }
51480 /^X\(\/\).*/{ s//\1/; q; }
51482 { if $as_mkdir_p; then
51487 while test ! -d "$as_dir"; do
51488 as_dirs
="$as_dir $as_dirs"
51489 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51491 X"$as_dir" : 'X\(//\)[^/]' \| \
51492 X"$as_dir" : 'X\(//\)$' \| \
51493 X"$as_dir" : 'X\(/\)' \| \
51494 . : '\(.\)' 2>/dev/null ||
51496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51498 /^X\(\/\/\)$/{ s//\1/; q; }
51499 /^X\(\/\).*/{ s//\1/; q; }
51502 test ! -n "$as_dirs" || mkdir $as_dirs
51503 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51504 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51505 { (exit 1); exit 1; }; }; }
51509 if test "$ac_dir" != .
; then
51510 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51511 # A "../" for each directory in $ac_dir_suffix.
51512 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51514 ac_dir_suffix
= ac_top_builddir
=
51518 .
) # No --srcdir option. We are building in place.
51520 if test -z "$ac_top_builddir"; then
51523 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51525 [\\/]* | ?
:[\\/]* ) # Absolute path.
51526 ac_srcdir
=$srcdir$ac_dir_suffix;
51527 ac_top_srcdir
=$srcdir ;;
51528 *) # Relative path.
51529 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51530 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51533 # Do not use `cd foo && pwd` to compute absolute paths, because
51534 # the directories may not exist.
51536 .
) ac_abs_builddir
="$ac_dir";;
51539 .
) ac_abs_builddir
=`pwd`;;
51540 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51541 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51544 case $ac_abs_builddir in
51545 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51547 case ${ac_top_builddir}.
in
51548 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51549 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51550 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51553 case $ac_abs_builddir in
51554 .
) ac_abs_srcdir
=$ac_srcdir;;
51557 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51558 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51559 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51562 case $ac_abs_builddir in
51563 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51565 case $ac_top_srcdir in
51566 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51567 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51568 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51573 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51574 echo "$as_me: executing $ac_dest commands" >&6;}
51577 mkdir -p $outdir &&
51578 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51580 wx
-config ) rm -f wx
-config
51581 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51587 cat >>$CONFIG_STATUS <<\_ACEOF
51589 { (exit 0); exit 0; }
51591 chmod +x
$CONFIG_STATUS
51592 ac_clean_files
=$ac_clean_files_save
51595 # configure is writing to config.log, and then calls config.status.
51596 # config.status does its own redirection, appending to config.log.
51597 # Unfortunately, on DOS this fails, as config.log is still kept open
51598 # by configure, so config.status won't be able to write to it; its
51599 # output is simply discarded. So we exec the FD to /dev/null,
51600 # effectively closing config.log, so it can be properly (re)opened and
51601 # appended to by config.status. When coming back to configure, we
51602 # need to make the FD available again.
51603 if test "$no_create" != yes; then
51605 ac_config_status_args
=
51606 test "$silent" = yes &&
51607 ac_config_status_args
="$ac_config_status_args --quiet"
51609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51611 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51612 # would make configure fail if this is the last instruction.
51613 $ac_cs_success || { (exit 1); exit 1; }
51617 # CONFIG_SUBDIRS section.
51619 if test "$no_recursion" != yes; then
51621 # Remove --cache-file and --srcdir arguments so they do not pile up.
51622 ac_sub_configure_args
=
51624 for ac_arg
in $ac_configure_args; do
51625 if test -n "$ac_prev"; then
51630 -cache-file | --cache-file | --cache-fil | --cache-fi \
51631 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51632 ac_prev
=cache_file
;;
51633 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51634 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51637 --config-cache | -C)
51639 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51641 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51643 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51645 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51647 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51651 # Always prepend --prefix to ensure using the same prefix
51652 # in subdir configurations.
51653 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51656 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51658 # Do not complain, so a configure script can configure whichever
51659 # parts of a large source tree are present.
51660 test -d $srcdir/$ac_dir || continue
51662 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51663 echo "$as_me: configuring in $ac_dir" >&6;}
51664 { if $as_mkdir_p; then
51669 while test ! -d "$as_dir"; do
51670 as_dirs
="$as_dir $as_dirs"
51671 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51673 X"$as_dir" : 'X\(//\)[^/]' \| \
51674 X"$as_dir" : 'X\(//\)$' \| \
51675 X"$as_dir" : 'X\(/\)' \| \
51676 . : '\(.\)' 2>/dev/null ||
51678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51680 /^X\(\/\/\)$/{ s//\1/; q; }
51681 /^X\(\/\).*/{ s//\1/; q; }
51684 test ! -n "$as_dirs" || mkdir $as_dirs
51685 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51687 { (exit 1); exit 1; }; }; }
51691 if test "$ac_dir" != .
; then
51692 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51693 # A "../" for each directory in $ac_dir_suffix.
51694 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51696 ac_dir_suffix
= ac_top_builddir
=
51700 .
) # No --srcdir option. We are building in place.
51702 if test -z "$ac_top_builddir"; then
51705 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51707 [\\/]* | ?
:[\\/]* ) # Absolute path.
51708 ac_srcdir
=$srcdir$ac_dir_suffix;
51709 ac_top_srcdir
=$srcdir ;;
51710 *) # Relative path.
51711 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51712 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51715 # Do not use `cd foo && pwd` to compute absolute paths, because
51716 # the directories may not exist.
51718 .
) ac_abs_builddir
="$ac_dir";;
51721 .
) ac_abs_builddir
=`pwd`;;
51722 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51723 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51726 case $ac_abs_builddir in
51727 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51729 case ${ac_top_builddir}.
in
51730 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51731 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51732 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51735 case $ac_abs_builddir in
51736 .
) ac_abs_srcdir
=$ac_srcdir;;
51739 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51740 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51741 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51744 case $ac_abs_builddir in
51745 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51747 case $ac_top_srcdir in
51748 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51749 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51750 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51757 # Check for guested configure; otherwise get Cygnus style configure.
51758 if test -f $ac_srcdir/configure.gnu
; then
51759 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51760 elif test -f $ac_srcdir/configure
; then
51761 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51762 elif test -f $ac_srcdir/configure.
in; then
51763 ac_sub_configure
=$ac_configure
51765 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51766 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51770 # The recursion is here.
51771 if test -n "$ac_sub_configure"; then
51772 # Make the cache file name correct relative to the subdirectory.
51773 case $cache_file in
51774 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51775 *) # Relative path.
51776 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51779 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51780 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51781 # The eval makes quoting arguments work.
51782 eval $ac_sub_configure $ac_sub_configure_args \
51783 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51784 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51785 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51786 { (exit 1); exit 1; }; }
51795 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51797 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51798 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51800 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51801 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51802 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51804 echo " What level of wxWidgets compatibility should be enabled?"
51805 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51806 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51808 echo " Which libraries should wxWidgets use?"
51809 echo " jpeg ${wxUSE_LIBJPEG-none}"
51810 echo " png ${wxUSE_LIBPNG-none}"
51811 echo " regex ${wxUSE_REGEX}"
51812 echo " tiff ${wxUSE_LIBTIFF-none}"
51813 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51814 echo " xpm ${wxUSE_LIBXPM-none}"
51816 echo " zlib ${wxUSE_ZLIB}"
51817 echo " odbc ${wxUSE_ODBC}"
51818 echo " expat ${wxUSE_EXPAT}"
51819 echo " libmspack ${wxUSE_LIBMSPACK}"
51820 echo " sdl ${wxUSE_LIBSDL}"