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 GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support
in wxProtocol
1016 --enable-protocol-ftp FTP support
in wxProtocol
1017 --enable-protocol-file FILE support
in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use
help subsystem
1021 --enable-mshtmlhelp use MS HTML Help
(win32
)
1022 --enable-html use wxHTML sub
-library
1023 --enable-htmlhelp use wxHTML
-based help
1024 --enable-xrc use XRC resources sub
-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout
-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl
(Mac
)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context
2D drawing API
1036 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1037 --enable-prologio not available
; see contrib
1038 --enable-resources not available
; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag
'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-animatectrl use wxAnimationCtrl class
1045 --enable-button use wxButton class
1046 --enable-bmpbutton use wxBitmapButton class
1047 --enable-bmpcombobox use wxBitmapComboBox class
1048 --enable-calendar use wxCalendarCtrl class
1049 --enable-caret use wxCaret class
1050 --enable-checkbox use wxCheckBox class
1051 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1052 --enable-choice use wxChoice class
1053 --enable-choicebook use wxChoicebook class
1054 --enable-colourpicker use wxColourPickerCtrl class
1055 --enable-combobox use wxComboBox class
1056 --enable-comboctrl use wxComboCtrl class
1057 --enable-datepick use wxDatePickerCtrl class
1058 --enable-dirpicker use wxDirPickerCtrl class
1059 --enable-display use wxDisplay class
1060 --enable-filepicker use wxFilePickerCtrl class
1061 --enable-fontpicker use wxFontPickerCtrl class
1062 --enable-gauge use wxGauge class
1063 --enable-grid use wxGrid class
1064 --enable-dataviewctrl, use wxDataViewCtrl class
1065 --enable-hyperlink use wxHyperlinkCtrl class
1066 --enable-imaglist use wxImageList class
1067 --enable-listbook use wxListbook class
1068 --enable-listbox use wxListBox class
1069 --enable-listctrl use wxListCtrl class
1070 --enable-notebook use wxNotebook class
1071 --enable-odcombobox use wxOwnerDrawnComboBox class
1072 --enable-radiobox use wxRadioBox class
1073 --enable-radiobtn use wxRadioButton class
1074 --enable-sash use wxSashWindow class
1075 --enable-scrollbar use wxScrollBar class and scrollable windows
1076 --enable-slider use wxSlider class
1077 --enable-spinbtn use wxSpinButton class
1078 --enable-spinctrl use wxSpinCtrl class
1079 --enable-splitter use wxSplitterWindow class
1080 --enable-statbmp use wxStaticBitmap class
1081 --enable-statbox use wxStaticBox class
1082 --enable-statline use wxStaticLine class
1083 --enable-stattext use wxStaticText class
1084 --enable-statusbar use wxStatusBar class
1085 --enable-tabdialog use wxTabControl class
1086 --enable-textctrl use wxTextCtrl class
1087 --enable-togglebtn use wxToggleButton class
1088 --enable-toolbar use wxToolBar class
1089 --enable-tbarnative use native wxToolBar class
1090 --enable-treebook use wxTreebook class
1091 --enable-toolbook use wxToolbook class
1092 --enable-treectrl use wxTreeCtrl class
1093 --enable-tipwindow use wxTipWindow class
1094 --enable-popupwin use wxPopUpWindow class
1095 --enable-commondlg use all common dialogs
1096 --enable-aboutdlg use wxAboutBox
1097 --enable-choicedlg use wxChoiceDialog
1098 --enable-coldlg use wxColourDialog
1099 --enable-filedlg use wxFileDialog
1100 --enable-finddlg use wxFindReplaceDialog
1101 --enable-fontdlg use wxFontDialog
1102 --enable-dirdlg use wxDirDialog
1103 --enable-msgdlg use wxMessageDialog
1104 --enable-numberdlg use wxNumberEntryDialog
1105 --enable-splash use wxSplashScreen
1106 --enable-textdlg use wxTextDialog
1107 --enable-tipdlg use startup tips
1108 --enable-progressdlg use wxProgressDialog
1109 --enable-wizarddlg use wxWizard
1110 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1111 --enable-miniframe use wxMiniFrame class
1112 --enable-tooltips use wxToolTip class
1113 --enable-splines use spline drawing code
1114 --enable-mousewheel use mousewheel
1115 --enable-validators use wxValidator and derived classes
1116 --enable-busyinfo use wxBusyInfo
1117 --enable-joystick use wxJoystick
1118 --enable-metafiles use wxMetaFile
(Win32 only
)
1119 --enable-dragimage use wxDragImage
1120 --enable-accessibility enable accessibility support
1121 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1122 --enable-palette use wxPalette class
1123 --enable-image use wxImage class
1124 --enable-gif use gif images
(GIF
file format
)
1125 --enable-pcx use pcx images
(PCX
file format
)
1126 --enable-iff use iff images
(IFF
file format
)
1127 --enable-pnm use pnm images
(PNM
file format
)
1128 --enable-xpm use xpm images
(XPM
file format
)
1129 --enable-icocur use Windows ICO and CUR formats
1130 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1131 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1132 --disable-largefile omit support
for large files
1133 --disable-gtktest do not try to compile and run a
test GTK
+ program
1134 --disable-gtktest Do not try to compile and run a
test GTK program
1135 --disable-sdltest Do not try to compile and run a
test SDL program
1136 --enable-omf use OMF object format
(OS
/2)
1137 --disable-dependency-tracking
1138 don
't use dependency tracking even if the compiler
1140 --disable-precomp-headers
1141 don't use precompiled headers even
if compiler can
1144 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1145 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1146 --without-subdirs don
't generate makefiles for samples/demos/...
1147 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1148 --with-motif use Motif/Lesstif
1149 --with-mac use Mac OS X
1150 --with-cocoa use Cocoa
1151 --with-wine use Wine
1152 --with-msw use MS-Windows
1153 --with-pm use OS/2 Presentation Manager
1154 --with-mgl use SciTech MGL
1155 --with-directfb use DirectFB
1156 --with-microwin use MicroWindows
1158 --with-libpng use libpng (PNG image format)
1159 --with-libjpeg use libjpeg (JPEG file format)
1160 --with-libtiff use libtiff (TIFF file format)
1161 --with-libxpm use libxpm (XPM file format)
1162 --with-libmspack use libmspack (CHM help files loading)
1163 --with-sdl use SDL for audio on Unix
1164 --with-gnomeprint use GNOME print for printing under GNOME
1165 --with-gnomevfs use GNOME VFS for associating MIME types
1166 --with-hildon use Hildon framework for Nokia 770
1167 --with-opengl use OpenGL (or Mesa)
1168 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1169 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1170 --with-regex enable support for wxRegEx class
1171 --with-zlib use zlib for LZW compression
1172 --with-odbc use the IODBC and wxODBC classes
1173 --with-expat enable XML support using expat parser
1174 --with-flavour=NAME specify a name to identify this build
1175 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1176 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1177 --with-x use the X Window System
1178 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1179 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1180 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1181 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1182 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1184 Some influential environment variables:
1185 CC C compiler command
1186 CFLAGS C compiler flags
1187 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1188 nonstandard directory <lib dir>
1189 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1190 headers in a nonstandard directory <include dir>
1192 CXX C++ compiler command
1193 CXXFLAGS C++ compiler flags
1194 CXXCPP C++ preprocessor
1195 PKG_CONFIG path to pkg-config utility
1197 C compiler flags for DIRECTFB, overriding pkg-config
1199 linker flags for DIRECTFB, overriding pkg-config
1201 C compiler flags for PANGOX, overriding pkg-config
1202 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1204 C compiler flags for PANGOFT2, overriding pkg-config
1206 linker flags for PANGOFT2, overriding pkg-config
1208 C compiler flags for PANGOXFT, overriding pkg-config
1210 linker flags for PANGOXFT, overriding pkg-config
1211 LIBGNOMEPRINTUI_CFLAGS
1212 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1213 LIBGNOMEPRINTUI_LIBS
1214 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1216 C compiler flags for GNOMEVFS, overriding pkg-config
1218 linker flags for GNOMEVFS, overriding pkg-config
1220 C compiler flags for HILDON, overriding pkg-config
1221 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1222 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1223 GST_LIBS linker flags for GST, overriding pkg-config
1225 Use these variables to override the choices made by `configure' or to
help
1226 it to
find libraries and programs with nonstandard names
/locations.
1228 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1232 if test "$ac_init_help" = "recursive"; then
1233 # If there are subdirs, report their specific --help.
1235 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1236 test -d $ac_dir || continue
1239 if test "$ac_dir" != .
; then
1240 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1241 # A "../" for each directory in $ac_dir_suffix.
1242 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1244 ac_dir_suffix
= ac_top_builddir
=
1248 .
) # No --srcdir option. We are building in place.
1250 if test -z "$ac_top_builddir"; then
1253 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1255 [\\/]* | ?
:[\\/]* ) # Absolute path.
1256 ac_srcdir
=$srcdir$ac_dir_suffix;
1257 ac_top_srcdir
=$srcdir ;;
1259 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1260 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1263 # Do not use `cd foo && pwd` to compute absolute paths, because
1264 # the directories may not exist.
1266 .
) ac_abs_builddir
="$ac_dir";;
1269 .
) ac_abs_builddir
=`pwd`;;
1270 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1271 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1274 case $ac_abs_builddir in
1275 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1277 case ${ac_top_builddir}.
in
1278 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1279 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1280 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1283 case $ac_abs_builddir in
1284 .
) ac_abs_srcdir
=$ac_srcdir;;
1287 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1288 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1289 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1292 case $ac_abs_builddir in
1293 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1295 case $ac_top_srcdir in
1296 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1297 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1298 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1303 # Check for guested configure; otherwise get Cygnus style configure.
1304 if test -f $ac_srcdir/configure.gnu
; then
1306 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1307 elif test -f $ac_srcdir/configure
; then
1309 $SHELL $ac_srcdir/configure
--help=recursive
1310 elif test -f $ac_srcdir/configure.ac
||
1311 test -f $ac_srcdir/configure.
in; then
1313 $ac_configure --help
1315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1321 test -n "$ac_init_help" && exit 0
1322 if $ac_init_version; then
1324 wxWidgets configure
2.7.1
1325 generated by GNU Autoconf
2.59
1327 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1328 This configure
script is free software
; the Free Software Foundation
1329 gives unlimited permission to copy
, distribute and modify it.
1335 This file contains any messages produced by compilers while
1336 running configure, to aid debugging if configure makes a mistake.
1338 It was created by wxWidgets $as_me 2.7.1, which was
1339 generated by GNU Autoconf 2.59. Invocation command line was
1350 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1351 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1352 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1353 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1354 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1356 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1357 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1359 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1360 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1361 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1362 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1363 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1364 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1365 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1373 test -z "$as_dir" && as_dir
=.
1374 echo "PATH: $as_dir"
1389 # Keep a trace of the command line.
1390 # Strip out --no-create and --no-recursion so they do not pile up.
1391 # Strip out --silent because we don't want to record it for future runs.
1392 # Also quote any args containing shell meta-characters.
1393 # Make two passes to allow for proper duplicate-argument suppression.
1398 ac_must_keep_next
=false
1404 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1406 | -silent | --silent | --silen | --sile | --sil)
1408 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1409 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1412 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1414 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1415 if test $ac_must_keep_next = true
; then
1416 ac_must_keep_next
=false
# Got value, back to normal.
1419 *=* | --config-cache | -C | -disable-* | --disable-* \
1420 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1421 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1422 | -with-* | --with-* | -without-* | --without-* | --x)
1423 case "$ac_configure_args0 " in
1424 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1427 -* ) ac_must_keep_next
=true
;;
1430 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1431 # Get rid of the leading space.
1437 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1438 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1440 # When interrupted or exit'd, cleanup temporary files, and complete
1441 # config.log. We remove comments because anyway the quotes in there
1442 # would cause problems or look ugly.
1443 # WARNING: Be sure not to use single quotes in there, as some shells,
1444 # such as our DU 5.0 friend, will then `close' the trap.
1445 trap 'exit_status=$?
1446 # Save into config.log some information that might help in debugging.
1451 ## ---------------- ##
1452 ## Cache variables. ##
1453 ## ---------------- ##
1456 # The following way of writing the cache mishandles newlines in values,
1459 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1462 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1467 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1474 ## ----------------- ##
1475 ## Output variables. ##
1476 ## ----------------- ##
1479 for ac_var in $ac_subst_vars
1481 eval ac_val=$`echo $ac_var`
1482 echo "$ac_var='"'"'$ac_val'"'"'"
1486 if test -n "$ac_subst_files"; then
1493 for ac_var in $ac_subst_files
1495 eval ac_val=$`echo $ac_var`
1496 echo "$ac_var='"'"'$ac_val'"'"'"
1501 if test -s confdefs.h; then
1508 sed "/^$/d" confdefs.h | sort
1511 test "$ac_signal" != 0 &&
1512 echo "$as_me: caught signal $ac_signal"
1513 echo "$as_me: exit $exit_status"
1515 rm -f core *.core &&
1516 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1519 for ac_signal
in 1 2 13 15; do
1520 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1524 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1525 rm -rf conftest
* confdefs.h
1526 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1529 # Predefined preprocessor variables.
1531 cat >>confdefs.h
<<_ACEOF
1532 #define PACKAGE_NAME "$PACKAGE_NAME"
1536 cat >>confdefs.h
<<_ACEOF
1537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1541 cat >>confdefs.h
<<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1546 cat >>confdefs.h
<<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1551 cat >>confdefs.h
<<_ACEOF
1552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1556 # Let the site file select an alternate cache file if it wants to.
1557 # Prefer explicitly selected file to automatically selected ones.
1558 if test -z "$CONFIG_SITE"; then
1559 if test "x$prefix" != xNONE
; then
1560 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1562 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1565 for ac_site_file
in $CONFIG_SITE; do
1566 if test -r "$ac_site_file"; then
1567 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1568 echo "$as_me: loading site script $ac_site_file" >&6;}
1569 sed 's/^/| /' "$ac_site_file" >&5
1574 if test -r "$cache_file"; then
1575 # Some versions of bash will fail to source /dev/null (special
1576 # files actually), so we avoid doing that.
1577 if test -f "$cache_file"; then
1578 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1579 echo "$as_me: loading cache $cache_file" >&6;}
1581 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1582 *) . .
/$cache_file;;
1586 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1587 echo "$as_me: creating cache $cache_file" >&6;}
1591 # Check that the precious variables saved in the cache have kept the same
1593 ac_cache_corrupted
=false
1594 for ac_var
in `(set) 2>&1 |
1595 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1596 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1597 eval ac_new_set
=\
$ac_env_${ac_var}_set
1598 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1599 eval ac_new_val
="\$ac_env_${ac_var}_value"
1600 case $ac_old_set,$ac_new_set in
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1603 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1604 ac_cache_corrupted
=: ;;
1606 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1607 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1608 ac_cache_corrupted
=: ;;
1611 if test "x$ac_old_val" != "x$ac_new_val"; then
1612 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1613 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1614 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1615 echo "$as_me: former value: $ac_old_val" >&2;}
1616 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1617 echo "$as_me: current value: $ac_new_val" >&2;}
1618 ac_cache_corrupted
=:
1621 # Pass precious variables to config.status.
1622 if test "$ac_new_set" = set; then
1624 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1625 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1626 *) ac_arg
=$ac_var=$ac_new_val ;;
1628 case " $ac_configure_args " in
1629 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1630 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1634 if $ac_cache_corrupted; then
1635 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1636 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1637 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1638 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1639 { (exit 1); exit 1; }; }
1643 ac_cpp
='$CPP $CPPFLAGS'
1644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1678 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1679 if test -f $ac_dir/install-sh; then
1681 ac_install_sh
="$ac_aux_dir/install-sh -c"
1683 elif test -f $ac_dir/install.sh
; then
1685 ac_install_sh
="$ac_aux_dir/install.sh -c"
1687 elif test -f $ac_dir/shtool
; then
1689 ac_install_sh
="$ac_aux_dir/shtool install -c"
1693 if test -z "$ac_aux_dir"; then
1694 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1695 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1696 { (exit 1); exit 1; }; }
1698 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1699 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1700 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1702 # Make sure we can run config.sub.
1703 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1704 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1705 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1706 { (exit 1); exit 1; }; }
1708 echo "$as_me:$LINENO: checking build system type" >&5
1709 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1710 if test "${ac_cv_build+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 ac_cv_build_alias
=$build_alias
1714 test -z "$ac_cv_build_alias" &&
1715 ac_cv_build_alias
=`$ac_config_guess`
1716 test -z "$ac_cv_build_alias" &&
1717 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1718 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1719 { (exit 1); exit 1; }; }
1720 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1721 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1722 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1723 { (exit 1); exit 1; }; }
1726 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1727 echo "${ECHO_T}$ac_cv_build" >&6
1729 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1730 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1731 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1734 echo "$as_me:$LINENO: checking host system type" >&5
1735 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1736 if test "${ac_cv_host+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 ac_cv_host_alias
=$host_alias
1740 test -z "$ac_cv_host_alias" &&
1741 ac_cv_host_alias
=$ac_cv_build_alias
1742 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1743 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1744 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1745 { (exit 1); exit 1; }; }
1748 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1749 echo "${ECHO_T}$ac_cv_host" >&6
1751 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1752 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1753 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1756 echo "$as_me:$LINENO: checking target system type" >&5
1757 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1758 if test "${ac_cv_target+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 ac_cv_target_alias
=$target_alias
1762 test "x$ac_cv_target_alias" = "x" &&
1763 ac_cv_target_alias
=$ac_cv_host_alias
1764 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1765 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1766 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1767 { (exit 1); exit 1; }; }
1770 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1771 echo "${ECHO_T}$ac_cv_target" >&6
1772 target
=$ac_cv_target
1773 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1774 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1775 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1778 # The aliases save the names the user supplied, while $host etc.
1779 # will get canonicalized.
1780 test -n "$target_alias" &&
1781 test "$program_prefix$program_suffix$program_transform_name" = \
1783 program_prefix
=${target_alias}-
1787 wx_major_version_number
=2
1788 wx_minor_version_number
=7
1790 wx_subrelease_number
=0
1792 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1793 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1794 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1796 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1809 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1815 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1821 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1823 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1825 DEFAULT_wxUSE_COCOA
=0
1829 DEFAULT_wxUSE_MICROWIN
=0
1830 DEFAULT_wxUSE_MOTIF
=0
1836 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1837 DEFAULT_DEFAULT_wxUSE_GTK
=0
1838 DEFAULT_DEFAULT_wxUSE_MAC
=0
1839 DEFAULT_DEFAULT_wxUSE_MGL
=0
1840 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1841 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1842 DEFAULT_DEFAULT_wxUSE_MSW
=0
1843 DEFAULT_DEFAULT_wxUSE_PM
=0
1844 DEFAULT_DEFAULT_wxUSE_X11
=0
1845 DEFAULT_DEFAULT_wxUSE_DFB
=0
1850 SAMPLES_RPATH_POSTLINK
=
1852 DEFAULT_STD_FLAG
=yes
1857 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1858 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1860 cat >>confdefs.h
<<\_ACEOF
1865 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1869 cat >>confdefs.h
<<\_ACEOF
1874 if test "x$TMP" = "xalpha"; then
1876 cat >>confdefs.h
<<\_ACEOF
1881 DEFAULT_DEFAULT_wxUSE_GTK
=1
1883 *-*-gnu* | *-*-k*bsd
*-gnu )
1886 if test "x$TMP" = "xalpha"; then
1888 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_GTK
=1
1895 *-*-irix5* | *-*-irix6* )
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1916 cat >>confdefs.h
<<\_ACEOF
1917 #define __SOLARIS__ 1
1920 cat >>confdefs.h
<<\_ACEOF
1924 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1925 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1939 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1948 cat >>confdefs.h
<<\_ACEOF
1949 #define __FREEBSD__ 1
1952 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_GTK
=1
1958 *-*-openbsd*|*-*-mirbsd*)
1961 cat >>confdefs.h
<<\_ACEOF
1962 #define __OPENBSD__ 1
1965 cat >>confdefs.h
<<\_ACEOF
1969 DEFAULT_DEFAULT_wxUSE_GTK
=1
1974 cat >>confdefs.h
<<\_ACEOF
1975 #define __NETBSD__ 1
1978 cat >>confdefs.h
<<\_ACEOF
1982 DEFAULT_DEFAULT_wxUSE_GTK
=1
1983 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1985 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1990 cat >>confdefs.h
<<\_ACEOF
1994 cat >>confdefs.h
<<\_ACEOF
1998 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2004 cat >>confdefs.h
<<\_ACEOF
2008 cat >>confdefs.h
<<\_ACEOF
2012 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2017 cat >>confdefs.h
<<\_ACEOF
2021 cat >>confdefs.h
<<\_ACEOF
2025 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2032 cat >>confdefs.h
<<\_ACEOF
2036 cat >>confdefs.h
<<\_ACEOF
2040 cat >>confdefs.h
<<\_ACEOF
2044 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2051 cat >>confdefs.h
<<\_ACEOF
2052 #define __UNIXWARE__ 1
2057 *-*-cygwin* | *-*-mingw32* )
2060 DEFAULT_DEFAULT_wxUSE_MSW
=1
2067 cat >>confdefs.h
<<\_ACEOF
2072 DEFAULT_DEFAULT_wxUSE_MGL
=1
2075 *-pc-os2_emx | *-pc-os2-emx )
2076 cat >>confdefs.h
<<\_ACEOF
2081 cat >>confdefs.h
<<\_ACEOF
2086 DEFAULT_DEFAULT_wxUSE_PM
=1
2088 LDFLAGS
="$LDFLAGS -Zcrtdll"
2089 ac_executable_extensions
=".exe"
2090 export ac_executable_extensions
2094 for ac_dir
in $PATH; do
2096 if test -z "$ac_TEMP_PATH"; then
2097 ac_TEMP_PATH
="$ac_dir"
2099 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2102 export PATH
="$ac_TEMP_PATH"
2111 cat >>confdefs.h
<<\_ACEOF
2115 cat >>confdefs.h
<<\_ACEOF
2116 #define __DARWIN__ 1
2119 cat >>confdefs.h
<<\_ACEOF
2120 #define TARGET_CARBON 1
2123 DEFAULT_DEFAULT_wxUSE_MAC
=1
2126 powerpc
-apple-macos* )
2128 ac_cv_c_bigendian
=yes
2130 DEFAULT_DEFAULT_wxUSE_MAC
=1
2136 cat >>confdefs.h
<<\_ACEOF
2143 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2144 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2145 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2146 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2148 DEFAULT_DEFAULT_wxUSE_X11
=1
2149 DEFAULT_wxUSE_SHARED
=no
2155 wx_arg_cache_file
="configarg.cache"
2156 echo "loading argument cache $wx_arg_cache_file"
2157 rm -f ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}.tmp
2159 touch ${wx_arg_cache_file}
2163 if test $DEBUG_CONFIGURE = 1; then
2164 DEFAULT_wxUSE_UNIVERSAL
=no
2165 DEFAULT_wxUSE_STL
=no
2167 DEFAULT_wxUSE_NANOX
=no
2169 DEFAULT_wxUSE_THREADS
=yes
2171 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2172 DEFAULT_wxUSE_OPTIMISE
=no
2173 DEFAULT_wxUSE_PROFILE
=no
2174 DEFAULT_wxUSE_NO_DEPS
=no
2175 DEFAULT_wxUSE_NO_RTTI
=no
2176 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2177 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2178 DEFAULT_wxUSE_RPATH
=yes
2179 DEFAULT_wxUSE_PERMISSIVE
=no
2180 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2181 DEFAULT_wxUSE_DEBUG_INFO
=yes
2182 DEFAULT_wxUSE_DEBUG_GDB
=yes
2183 DEFAULT_wxUSE_MEM_TRACING
=no
2184 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2185 DEFAULT_wxUSE_DMALLOC
=no
2186 DEFAULT_wxUSE_APPLE_IEEE
=no
2188 DEFAULT_wxUSE_EXCEPTIONS
=no
2189 DEFAULT_wxUSE_LOG
=yes
2190 DEFAULT_wxUSE_LOGWINDOW
=no
2191 DEFAULT_wxUSE_LOGGUI
=no
2192 DEFAULT_wxUSE_LOGDIALOG
=no
2194 DEFAULT_wxUSE_GUI
=yes
2195 DEFAULT_wxUSE_CONTROLS
=no
2197 DEFAULT_wxUSE_REGEX
=no
2198 DEFAULT_wxUSE_XML
=no
2199 DEFAULT_wxUSE_EXPAT
=no
2200 DEFAULT_wxUSE_ZLIB
=no
2201 DEFAULT_wxUSE_LIBPNG
=no
2202 DEFAULT_wxUSE_LIBJPEG
=no
2203 DEFAULT_wxUSE_LIBTIFF
=no
2204 DEFAULT_wxUSE_LIBXPM
=no
2205 DEFAULT_wxUSE_LIBMSPACK
=no
2206 DEFAULT_wxUSE_LIBSDL
=no
2207 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2208 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2209 DEFAULT_wxUSE_LIBHILDON
=no
2210 DEFAULT_wxUSE_ODBC
=no
2211 DEFAULT_wxUSE_OPENGL
=no
2213 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2214 DEFAULT_wxUSE_STACKWALKER
=no
2215 DEFAULT_wxUSE_DEBUGREPORT
=no
2216 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2217 DEFAULT_wxUSE_STD_IOSTREAM
=no
2218 DEFAULT_wxUSE_STD_STRING
=no
2219 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2220 DEFAULT_wxUSE_DATETIME
=no
2221 DEFAULT_wxUSE_TIMER
=no
2222 DEFAULT_wxUSE_STOPWATCH
=no
2223 DEFAULT_wxUSE_FILE
=no
2224 DEFAULT_wxUSE_FFILE
=no
2225 DEFAULT_wxUSE_STDPATHS
=no
2226 DEFAULT_wxUSE_TEXTBUFFER
=no
2227 DEFAULT_wxUSE_TEXTFILE
=no
2228 DEFAULT_wxUSE_SOUND
=no
2229 DEFAULT_wxUSE_MEDIACTRL
=no
2230 DEFAULT_wxUSE_GSTREAMER8
=no
2231 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2232 DEFAULT_wxUSE_INTL
=no
2233 DEFAULT_wxUSE_CONFIG
=no
2234 DEFAULT_wxUSE_FONTMAP
=no
2235 DEFAULT_wxUSE_STREAMS
=no
2236 DEFAULT_wxUSE_SOCKETS
=no
2237 DEFAULT_wxUSE_OLE
=no
2238 DEFAULT_wxUSE_DATAOBJ
=no
2239 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2240 DEFAULT_wxUSE_JOYSTICK
=no
2241 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2242 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2243 DEFAULT_wxUSE_LONGLONG
=no
2244 DEFAULT_wxUSE_GEOMETRY
=no
2246 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2247 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2248 DEFAULT_wxUSE_POSTSCRIPT
=no
2250 DEFAULT_wxUSE_CLIPBOARD
=no
2251 DEFAULT_wxUSE_TOOLTIPS
=no
2252 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2253 DEFAULT_wxUSE_DRAGIMAGE
=no
2254 DEFAULT_wxUSE_SPLINES
=no
2255 DEFAULT_wxUSE_MOUSEWHEEL
=no
2257 DEFAULT_wxUSE_MDI
=no
2258 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2259 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2260 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2262 DEFAULT_wxUSE_RESOURCES
=no
2263 DEFAULT_wxUSE_CONSTRAINTS
=no
2264 DEFAULT_wxUSE_IPC
=no
2265 DEFAULT_wxUSE_HELP
=no
2266 DEFAULT_wxUSE_MS_HTML_HELP
=no
2267 DEFAULT_wxUSE_WXHTML_HELP
=no
2268 DEFAULT_wxUSE_TREELAYOUT
=no
2269 DEFAULT_wxUSE_METAFILE
=no
2270 DEFAULT_wxUSE_MIMETYPE
=no
2271 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2272 DEFAULT_wxUSE_PROTOCOL
=no
2273 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2274 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2275 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2276 DEFAULT_wxUSE_URL
=no
2277 DEFAULT_wxUSE_VARIANT
=no
2279 DEFAULT_wxUSE_ABOUTDLG
=no
2280 DEFAULT_wxUSE_COMMONDLGS
=no
2281 DEFAULT_wxUSE_CHOICEDLG
=no
2282 DEFAULT_wxUSE_COLOURDLG
=no
2283 DEFAULT_wxUSE_DIRDLG
=no
2284 DEFAULT_wxUSE_FILEDLG
=no
2285 DEFAULT_wxUSE_FINDREPLDLG
=no
2286 DEFAULT_wxUSE_FONTDLG
=no
2287 DEFAULT_wxUSE_MSGDLG
=no
2288 DEFAULT_wxUSE_NUMBERDLG
=no
2289 DEFAULT_wxUSE_TEXTDLG
=no
2290 DEFAULT_wxUSE_SPLASH
=no
2291 DEFAULT_wxUSE_STARTUP_TIPS
=no
2292 DEFAULT_wxUSE_PROGRESSDLG
=no
2293 DEFAULT_wxUSE_WIZARDDLG
=no
2295 DEFAULT_wxUSE_MENUS
=no
2296 DEFAULT_wxUSE_MINIFRAME
=no
2297 DEFAULT_wxUSE_HTML
=no
2298 DEFAULT_wxUSE_RICHTEXT
=no
2299 DEFAULT_wxUSE_XRC
=no
2300 DEFAULT_wxUSE_AUI
=no
2301 DEFAULT_wxUSE_WEBKIT
=no
2302 DEFAULT_wxUSE_FILESYSTEM
=no
2303 DEFAULT_wxUSE_FS_INET
=no
2304 DEFAULT_wxUSE_FS_ZIP
=no
2305 DEFAULT_wxUSE_BUSYINFO
=no
2306 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2307 DEFAULT_wxUSE_ZIPSTREAM
=no
2308 DEFAULT_wxUSE_VALIDATORS
=no
2310 DEFAULT_wxUSE_ACCEL
=no
2311 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2312 DEFAULT_wxUSE_BUTTON
=no
2313 DEFAULT_wxUSE_BMPBUTTON
=no
2314 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2315 DEFAULT_wxUSE_CALCTRL
=no
2316 DEFAULT_wxUSE_CARET
=no
2317 DEFAULT_wxUSE_CHECKBOX
=no
2318 DEFAULT_wxUSE_CHECKLST
=no
2319 DEFAULT_wxUSE_CHOICE
=no
2320 DEFAULT_wxUSE_CHOICEBOOK
=no
2321 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2322 DEFAULT_wxUSE_COMBOBOX
=no
2323 DEFAULT_wxUSE_COMBOCTRL
=no
2324 DEFAULT_wxUSE_DATEPICKCTRL
=no
2325 DEFAULT_wxUSE_DISPLAY
=no
2326 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2327 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2328 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2329 DEFAULT_wxUSE_GAUGE
=no
2330 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2331 DEFAULT_wxUSE_GRID
=no
2332 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2333 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2334 DEFAULT_wxUSE_IMAGLIST
=no
2335 DEFAULT_wxUSE_LISTBOOK
=no
2336 DEFAULT_wxUSE_LISTBOX
=no
2337 DEFAULT_wxUSE_LISTCTRL
=no
2338 DEFAULT_wxUSE_NOTEBOOK
=no
2339 DEFAULT_wxUSE_ODCOMBOBOX
=no
2340 DEFAULT_wxUSE_RADIOBOX
=no
2341 DEFAULT_wxUSE_RADIOBTN
=no
2342 DEFAULT_wxUSE_SASH
=no
2343 DEFAULT_wxUSE_SCROLLBAR
=no
2344 DEFAULT_wxUSE_SLIDER
=no
2345 DEFAULT_wxUSE_SPINBTN
=no
2346 DEFAULT_wxUSE_SPINCTRL
=no
2347 DEFAULT_wxUSE_SPLITTER
=no
2348 DEFAULT_wxUSE_STATBMP
=no
2349 DEFAULT_wxUSE_STATBOX
=no
2350 DEFAULT_wxUSE_STATLINE
=no
2351 DEFAULT_wxUSE_STATTEXT
=no
2352 DEFAULT_wxUSE_STATUSBAR
=yes
2353 DEFAULT_wxUSE_TAB_DIALOG
=no
2354 DEFAULT_wxUSE_TEXTCTRL
=no
2355 DEFAULT_wxUSE_TOGGLEBTN
=no
2356 DEFAULT_wxUSE_TOOLBAR
=no
2357 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2358 DEFAULT_wxUSE_TREEBOOK
=no
2359 DEFAULT_wxUSE_TOOLBOOK
=no
2360 DEFAULT_wxUSE_TREECTRL
=no
2361 DEFAULT_wxUSE_POPUPWIN
=no
2362 DEFAULT_wxUSE_TIPWINDOW
=no
2364 DEFAULT_wxUSE_UNICODE
=no
2365 DEFAULT_wxUSE_UNICODE_MSLU
=no
2366 DEFAULT_wxUSE_WCSRTOMBS
=no
2368 DEFAULT_wxUSE_PALETTE
=no
2369 DEFAULT_wxUSE_IMAGE
=no
2370 DEFAULT_wxUSE_GIF
=no
2371 DEFAULT_wxUSE_PCX
=no
2372 DEFAULT_wxUSE_PNM
=no
2373 DEFAULT_wxUSE_IFF
=no
2374 DEFAULT_wxUSE_XPM
=no
2375 DEFAULT_wxUSE_ICO_CUR
=no
2376 DEFAULT_wxUSE_ACCESSIBILITY
=no
2378 DEFAULT_wxUSE_MONOLITHIC
=no
2379 DEFAULT_wxUSE_PLUGINS
=no
2380 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2382 DEFAULT_wxUSE_UNIVERSAL
=no
2383 DEFAULT_wxUSE_STL
=no
2385 DEFAULT_wxUSE_NANOX
=no
2387 DEFAULT_wxUSE_THREADS
=yes
2389 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2390 DEFAULT_wxUSE_OPTIMISE
=yes
2391 DEFAULT_wxUSE_PROFILE
=no
2392 DEFAULT_wxUSE_NO_DEPS
=no
2393 DEFAULT_wxUSE_NO_RTTI
=no
2394 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2395 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2396 DEFAULT_wxUSE_RPATH
=yes
2397 DEFAULT_wxUSE_PERMISSIVE
=no
2398 DEFAULT_wxUSE_DEBUG_FLAG
=no
2399 DEFAULT_wxUSE_DEBUG_INFO
=no
2400 DEFAULT_wxUSE_DEBUG_GDB
=no
2401 DEFAULT_wxUSE_MEM_TRACING
=no
2402 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2403 DEFAULT_wxUSE_DMALLOC
=no
2404 DEFAULT_wxUSE_APPLE_IEEE
=yes
2406 DEFAULT_wxUSE_EXCEPTIONS
=yes
2407 DEFAULT_wxUSE_LOG
=yes
2408 DEFAULT_wxUSE_LOGWINDOW
=yes
2409 DEFAULT_wxUSE_LOGGUI
=yes
2410 DEFAULT_wxUSE_LOGDIALOG
=yes
2412 DEFAULT_wxUSE_GUI
=yes
2414 DEFAULT_wxUSE_REGEX
=yes
2415 DEFAULT_wxUSE_XML
=yes
2416 DEFAULT_wxUSE_EXPAT
=yes
2417 DEFAULT_wxUSE_ZLIB
=yes
2418 DEFAULT_wxUSE_LIBPNG
=yes
2419 DEFAULT_wxUSE_LIBJPEG
=yes
2420 DEFAULT_wxUSE_LIBTIFF
=yes
2421 DEFAULT_wxUSE_LIBXPM
=yes
2422 DEFAULT_wxUSE_LIBMSPACK
=yes
2423 DEFAULT_wxUSE_LIBSDL
=no
2424 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2425 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2426 DEFAULT_wxUSE_LIBHILDON
=no
2427 DEFAULT_wxUSE_ODBC
=no
2428 DEFAULT_wxUSE_OPENGL
=no
2430 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2431 DEFAULT_wxUSE_STACKWALKER
=yes
2432 DEFAULT_wxUSE_DEBUGREPORT
=yes
2433 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2434 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2435 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2436 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2437 DEFAULT_wxUSE_DATETIME
=yes
2438 DEFAULT_wxUSE_TIMER
=yes
2439 DEFAULT_wxUSE_STOPWATCH
=yes
2440 DEFAULT_wxUSE_FILE
=yes
2441 DEFAULT_wxUSE_FFILE
=yes
2442 DEFAULT_wxUSE_STDPATHS
=yes
2443 DEFAULT_wxUSE_TEXTBUFFER
=yes
2444 DEFAULT_wxUSE_TEXTFILE
=yes
2445 DEFAULT_wxUSE_SOUND
=yes
2446 DEFAULT_wxUSE_MEDIACTRL
=no
2447 DEFAULT_wxUSE_GSTREAMER8
=no
2448 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2449 DEFAULT_wxUSE_INTL
=yes
2450 DEFAULT_wxUSE_CONFIG
=yes
2451 DEFAULT_wxUSE_FONTMAP
=yes
2452 DEFAULT_wxUSE_STREAMS
=yes
2453 DEFAULT_wxUSE_SOCKETS
=yes
2454 DEFAULT_wxUSE_OLE
=yes
2455 DEFAULT_wxUSE_DATAOBJ
=yes
2456 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2457 DEFAULT_wxUSE_JOYSTICK
=yes
2458 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2459 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2460 DEFAULT_wxUSE_LONGLONG
=yes
2461 DEFAULT_wxUSE_GEOMETRY
=yes
2463 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2464 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2465 DEFAULT_wxUSE_POSTSCRIPT
=yes
2467 DEFAULT_wxUSE_CLIPBOARD
=yes
2468 DEFAULT_wxUSE_TOOLTIPS
=yes
2469 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2470 DEFAULT_wxUSE_DRAGIMAGE
=yes
2471 DEFAULT_wxUSE_SPLINES
=yes
2472 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2474 DEFAULT_wxUSE_MDI
=yes
2475 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2476 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2477 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2479 DEFAULT_wxUSE_RESOURCES
=no
2480 DEFAULT_wxUSE_CONSTRAINTS
=yes
2481 DEFAULT_wxUSE_IPC
=yes
2482 DEFAULT_wxUSE_HELP
=yes
2483 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2484 DEFAULT_wxUSE_WXHTML_HELP
=yes
2485 DEFAULT_wxUSE_TREELAYOUT
=yes
2486 DEFAULT_wxUSE_METAFILE
=yes
2487 DEFAULT_wxUSE_MIMETYPE
=yes
2488 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2489 DEFAULT_wxUSE_PROTOCOL
=yes
2490 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2491 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2492 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2493 DEFAULT_wxUSE_URL
=yes
2494 DEFAULT_wxUSE_VARIANT
=yes
2496 DEFAULT_wxUSE_ABOUTDLG
=yes
2497 DEFAULT_wxUSE_COMMONDLGS
=yes
2498 DEFAULT_wxUSE_CHOICEDLG
=yes
2499 DEFAULT_wxUSE_COLOURDLG
=yes
2500 DEFAULT_wxUSE_DIRDLG
=yes
2501 DEFAULT_wxUSE_FILEDLG
=yes
2502 DEFAULT_wxUSE_FINDREPLDLG
=yes
2503 DEFAULT_wxUSE_FONTDLG
=yes
2504 DEFAULT_wxUSE_MSGDLG
=yes
2505 DEFAULT_wxUSE_NUMBERDLG
=yes
2506 DEFAULT_wxUSE_TEXTDLG
=yes
2507 DEFAULT_wxUSE_SPLASH
=yes
2508 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2509 DEFAULT_wxUSE_PROGRESSDLG
=yes
2510 DEFAULT_wxUSE_WIZARDDLG
=yes
2512 DEFAULT_wxUSE_MENUS
=yes
2513 DEFAULT_wxUSE_MINIFRAME
=yes
2514 DEFAULT_wxUSE_HTML
=yes
2515 DEFAULT_wxUSE_RICHTEXT
=yes
2516 DEFAULT_wxUSE_XRC
=yes
2517 DEFAULT_wxUSE_AUI
=yes
2518 DEFAULT_wxUSE_WEBKIT
=yes
2519 DEFAULT_wxUSE_FILESYSTEM
=yes
2520 DEFAULT_wxUSE_FS_INET
=yes
2521 DEFAULT_wxUSE_FS_ZIP
=yes
2522 DEFAULT_wxUSE_BUSYINFO
=yes
2523 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2524 DEFAULT_wxUSE_ZIPSTREAM
=yes
2525 DEFAULT_wxUSE_VALIDATORS
=yes
2527 DEFAULT_wxUSE_ACCEL
=yes
2528 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2529 DEFAULT_wxUSE_BUTTON
=yes
2530 DEFAULT_wxUSE_BMPBUTTON
=yes
2531 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2532 DEFAULT_wxUSE_CALCTRL
=yes
2533 DEFAULT_wxUSE_CARET
=yes
2534 DEFAULT_wxUSE_CHECKBOX
=yes
2535 DEFAULT_wxUSE_CHECKLST
=yes
2536 DEFAULT_wxUSE_CHOICE
=yes
2537 DEFAULT_wxUSE_CHOICEBOOK
=yes
2538 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2539 DEFAULT_wxUSE_COMBOBOX
=yes
2540 DEFAULT_wxUSE_COMBOCTRL
=yes
2541 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2542 DEFAULT_wxUSE_DISPLAY
=yes
2543 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2544 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2545 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2546 DEFAULT_wxUSE_GAUGE
=yes
2547 DEFAULT_wxUSE_GRID
=yes
2548 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2549 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2550 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2551 DEFAULT_wxUSE_IMAGLIST
=yes
2552 DEFAULT_wxUSE_LISTBOOK
=yes
2553 DEFAULT_wxUSE_LISTBOX
=yes
2554 DEFAULT_wxUSE_LISTCTRL
=yes
2555 DEFAULT_wxUSE_NOTEBOOK
=yes
2556 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2557 DEFAULT_wxUSE_RADIOBOX
=yes
2558 DEFAULT_wxUSE_RADIOBTN
=yes
2559 DEFAULT_wxUSE_SASH
=yes
2560 DEFAULT_wxUSE_SCROLLBAR
=yes
2561 DEFAULT_wxUSE_SLIDER
=yes
2562 DEFAULT_wxUSE_SPINBTN
=yes
2563 DEFAULT_wxUSE_SPINCTRL
=yes
2564 DEFAULT_wxUSE_SPLITTER
=yes
2565 DEFAULT_wxUSE_STATBMP
=yes
2566 DEFAULT_wxUSE_STATBOX
=yes
2567 DEFAULT_wxUSE_STATLINE
=yes
2568 DEFAULT_wxUSE_STATTEXT
=yes
2569 DEFAULT_wxUSE_STATUSBAR
=yes
2570 DEFAULT_wxUSE_TAB_DIALOG
=no
2571 DEFAULT_wxUSE_TEXTCTRL
=yes
2572 DEFAULT_wxUSE_TOGGLEBTN
=yes
2573 DEFAULT_wxUSE_TOOLBAR
=yes
2574 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2575 DEFAULT_wxUSE_TREEBOOK
=yes
2576 DEFAULT_wxUSE_TOOLBOOK
=yes
2577 DEFAULT_wxUSE_TREECTRL
=yes
2578 DEFAULT_wxUSE_POPUPWIN
=yes
2579 DEFAULT_wxUSE_TIPWINDOW
=yes
2581 DEFAULT_wxUSE_UNICODE
=no
2582 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2583 DEFAULT_wxUSE_WCSRTOMBS
=no
2585 DEFAULT_wxUSE_PALETTE
=yes
2586 DEFAULT_wxUSE_IMAGE
=yes
2587 DEFAULT_wxUSE_GIF
=yes
2588 DEFAULT_wxUSE_PCX
=yes
2589 DEFAULT_wxUSE_IFF
=no
2590 DEFAULT_wxUSE_PNM
=yes
2591 DEFAULT_wxUSE_XPM
=yes
2592 DEFAULT_wxUSE_ICO_CUR
=yes
2593 DEFAULT_wxUSE_ACCESSIBILITY
=no
2595 DEFAULT_wxUSE_MONOLITHIC
=no
2596 DEFAULT_wxUSE_PLUGINS
=no
2597 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2599 DEFAULT_wxUSE_GTK2
=yes
2605 for toolkit
in `echo $ALL_TOOLKITS`; do
2606 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2607 if test "x$LINE" != "x" ; then
2608 has_toolkit_in_cache
=1
2609 eval "DEFAULT_$LINE"
2610 eval "CACHE_$toolkit=1"
2612 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2613 if test "x$LINE" != "x" ; then
2614 eval "DEFAULT_$LINE"
2622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2623 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2625 # Check whether --enable-gui or --disable-gui was given.
2626 if test "${enable_gui+set}" = set; then
2627 enableval
="$enable_gui"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_gui
='wxUSE_GUI=yes'
2632 ac_cv_use_gui
='wxUSE_GUI=no'
2637 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2648 eval "$ac_cv_use_gui"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2653 if test "$wxUSE_GUI" = yes; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2664 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2666 # Check whether --enable-monolithic or --disable-monolithic was given.
2667 if test "${enable_monolithic+set}" = set; then
2668 enableval
="$enable_monolithic"
2670 if test "$enableval" = yes; then
2671 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2673 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2678 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2679 if test "x$LINE" != x
; then
2680 eval "DEFAULT_$LINE"
2685 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2689 eval "$ac_cv_use_monolithic"
2690 if test "$no_cache" != 1; then
2691 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2694 if test "$wxUSE_MONOLITHIC" = yes; then
2695 echo "$as_me:$LINENO: result: yes" >&5
2696 echo "${ECHO_T}yes" >&6
2698 echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6
2704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2705 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2707 # Check whether --enable-plugins or --disable-plugins was given.
2708 if test "${enable_plugins+set}" = set; then
2709 enableval
="$enable_plugins"
2711 if test "$enableval" = yes; then
2712 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2714 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2719 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2720 if test "x$LINE" != x
; then
2721 eval "DEFAULT_$LINE"
2726 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2730 eval "$ac_cv_use_plugins"
2731 if test "$no_cache" != 1; then
2732 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2735 if test "$wxUSE_PLUGINS" = yes; then
2736 echo "$as_me:$LINENO: result: yes" >&5
2737 echo "${ECHO_T}yes" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2745 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2746 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2749 # Check whether --with-subdirs or --without-subdirs was given.
2750 if test "${with_subdirs+set}" = set; then
2751 withval
="$with_subdirs"
2753 if test "$withval" = yes; then
2754 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2756 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2761 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2762 if test "x$LINE" != x
; then
2763 eval "DEFAULT_$LINE"
2768 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2772 eval "$ac_cv_use_subdirs"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2777 if test "$wxWITH_SUBDIRS" = yes; then
2778 echo "$as_me:$LINENO: result: yes" >&5
2779 echo "${ECHO_T}yes" >&6
2781 echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6
2786 if test "$wxUSE_GUI" = "yes"; then
2790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2791 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2793 # Check whether --enable-universal or --disable-universal was given.
2794 if test "${enable_universal+set}" = set; then
2795 enableval
="$enable_universal"
2797 if test "$enableval" = yes; then
2798 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2800 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2805 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x
; then
2807 eval "DEFAULT_$LINE"
2812 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2816 eval "$ac_cv_use_universal"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2821 if test "$wxUSE_UNIVERSAL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2830 # Check whether --with-gtk or --without-gtk was given.
2831 if test "${with_gtk+set}" = set; then
2833 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2836 # Check whether --with-motif or --without-motif was given.
2837 if test "${with_motif+set}" = set; then
2838 withval
="$with_motif"
2839 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2842 # Check whether --with-mac or --without-mac was given.
2843 if test "${with_mac+set}" = set; then
2845 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2848 # Check whether --with-cocoa or --without-cocoa was given.
2849 if test "${with_cocoa+set}" = set; then
2850 withval
="$with_cocoa"
2851 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2854 # Check whether --with-wine or --without-wine was given.
2855 if test "${with_wine+set}" = set; then
2856 withval
="$with_wine"
2857 wxUSE_WINE
="$withval" CACHE_WINE
=1
2860 # Check whether --with-msw or --without-msw was given.
2861 if test "${with_msw+set}" = set; then
2863 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2866 # Check whether --with-pm or --without-pm was given.
2867 if test "${with_pm+set}" = set; then
2869 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2872 # Check whether --with-mgl or --without-mgl was given.
2873 if test "${with_mgl+set}" = set; then
2875 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2878 # Check whether --with-directfb or --without-directfb was given.
2879 if test "${with_directfb+set}" = set; then
2880 withval
="$with_directfb"
2881 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2884 # Check whether --with-microwin or --without-microwin was given.
2885 if test "${with_microwin+set}" = set; then
2886 withval
="$with_microwin"
2887 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2890 # Check whether --with-x11 or --without-x11 was given.
2891 if test "${with_x11+set}" = set; then
2893 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2898 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2900 # Check whether --enable-nanox or --disable-nanox was given.
2901 if test "${enable_nanox+set}" = set; then
2902 enableval
="$enable_nanox"
2904 if test "$enableval" = yes; then
2905 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2907 ac_cv_use_nanox
='wxUSE_NANOX=no'
2912 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2913 if test "x$LINE" != x
; then
2914 eval "DEFAULT_$LINE"
2919 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2923 eval "$ac_cv_use_nanox"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2928 if test "$wxUSE_NANOX" = yes; then
2929 echo "$as_me:$LINENO: result: yes" >&5
2930 echo "${ECHO_T}yes" >&6
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2937 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2938 if test "${enable_gtk2+set}" = set; then
2939 enableval
="$enable_gtk2"
2940 wxUSE_GTK2
="$enableval"
2944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2945 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2947 # Check whether --enable-gpe or --disable-gpe was given.
2948 if test "${enable_gpe+set}" = set; then
2949 enableval
="$enable_gpe"
2951 if test "$enableval" = yes; then
2952 ac_cv_use_gpe
='wxUSE_GPE=yes'
2954 ac_cv_use_gpe
='wxUSE_GPE=no'
2959 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x
; then
2961 eval "DEFAULT_$LINE"
2966 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2970 eval "$ac_cv_use_gpe"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_GPE" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2985 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2986 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2989 # Check whether --with-libpng or --without-libpng was given.
2990 if test "${with_libpng+set}" = set; then
2991 withval
="$with_libpng"
2993 if test "$withval" = yes; then
2994 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2995 elif test "$withval" = no
; then
2996 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2997 elif test "$withval" = sys
; then
2998 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2999 elif test "$withval" = builtin; then
3000 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3002 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3003 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3004 { (exit 1); exit 1; }; }
3009 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x
; then
3011 eval "DEFAULT_$LINE"
3016 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3020 eval "$ac_cv_use_libpng"
3021 if test "$no_cache" != 1; then
3022 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3025 if test "$wxUSE_LIBPNG" = yes; then
3026 echo "$as_me:$LINENO: result: yes" >&5
3027 echo "${ECHO_T}yes" >&6
3028 elif test "$wxUSE_LIBPNG" = no
; then
3029 echo "$as_me:$LINENO: result: no" >&5
3030 echo "${ECHO_T}no" >&6
3031 elif test "$wxUSE_LIBPNG" = sys
; then
3032 echo "$as_me:$LINENO: result: system version" >&5
3033 echo "${ECHO_T}system version" >&6
3034 elif test "$wxUSE_LIBPNG" = builtin; then
3035 echo "$as_me:$LINENO: result: builtin version" >&5
3036 echo "${ECHO_T}builtin version" >&6
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3044 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3045 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3048 # Check whether --with-libjpeg or --without-libjpeg was given.
3049 if test "${with_libjpeg+set}" = set; then
3050 withval
="$with_libjpeg"
3052 if test "$withval" = yes; then
3053 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3054 elif test "$withval" = no
; then
3055 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3056 elif test "$withval" = sys
; then
3057 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3058 elif test "$withval" = builtin; then
3059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3061 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3062 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3063 { (exit 1); exit 1; }; }
3068 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x
; then
3070 eval "DEFAULT_$LINE"
3075 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3079 eval "$ac_cv_use_libjpeg"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3084 if test "$wxUSE_LIBJPEG" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3087 elif test "$wxUSE_LIBJPEG" = no
; then
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3090 elif test "$wxUSE_LIBJPEG" = sys
; then
3091 echo "$as_me:$LINENO: result: system version" >&5
3092 echo "${ECHO_T}system version" >&6
3093 elif test "$wxUSE_LIBJPEG" = builtin; then
3094 echo "$as_me:$LINENO: result: builtin version" >&5
3095 echo "${ECHO_T}builtin version" >&6
3097 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3098 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3099 { (exit 1); exit 1; }; }
3103 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3104 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3107 # Check whether --with-libtiff or --without-libtiff was given.
3108 if test "${with_libtiff+set}" = set; then
3109 withval
="$with_libtiff"
3111 if test "$withval" = yes; then
3112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3113 elif test "$withval" = no
; then
3114 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3115 elif test "$withval" = sys
; then
3116 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3117 elif test "$withval" = builtin; then
3118 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3120 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3121 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3122 { (exit 1); exit 1; }; }
3127 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3138 eval "$ac_cv_use_libtiff"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3143 if test "$wxUSE_LIBTIFF" = yes; then
3144 echo "$as_me:$LINENO: result: yes" >&5
3145 echo "${ECHO_T}yes" >&6
3146 elif test "$wxUSE_LIBTIFF" = no
; then
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3149 elif test "$wxUSE_LIBTIFF" = sys
; then
3150 echo "$as_me:$LINENO: result: system version" >&5
3151 echo "${ECHO_T}system version" >&6
3152 elif test "$wxUSE_LIBTIFF" = builtin; then
3153 echo "$as_me:$LINENO: result: builtin version" >&5
3154 echo "${ECHO_T}builtin version" >&6
3156 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3157 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3158 { (exit 1); exit 1; }; }
3162 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3163 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3166 # Check whether --with-libxpm or --without-libxpm was given.
3167 if test "${with_libxpm+set}" = set; then
3168 withval
="$with_libxpm"
3170 if test "$withval" = yes; then
3171 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3172 elif test "$withval" = no
; then
3173 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3174 elif test "$withval" = sys
; then
3175 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3176 elif test "$withval" = builtin; then
3177 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3179 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3180 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3181 { (exit 1); exit 1; }; }
3186 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3187 if test "x$LINE" != x
; then
3188 eval "DEFAULT_$LINE"
3193 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3197 eval "$ac_cv_use_libxpm"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3202 if test "$wxUSE_LIBXPM" = yes; then
3203 echo "$as_me:$LINENO: result: yes" >&5
3204 echo "${ECHO_T}yes" >&6
3205 elif test "$wxUSE_LIBXPM" = no
; then
3206 echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6
3208 elif test "$wxUSE_LIBXPM" = sys
; then
3209 echo "$as_me:$LINENO: result: system version" >&5
3210 echo "${ECHO_T}system version" >&6
3211 elif test "$wxUSE_LIBXPM" = builtin; then
3212 echo "$as_me:$LINENO: result: builtin version" >&5
3213 echo "${ECHO_T}builtin version" >&6
3215 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3216 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3217 { (exit 1); exit 1; }; }
3222 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3223 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3226 # Check whether --with-libmspack or --without-libmspack was given.
3227 if test "${with_libmspack+set}" = set; then
3228 withval
="$with_libmspack"
3230 if test "$withval" = yes; then
3231 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3233 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3238 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3239 if test "x$LINE" != x
; then
3240 eval "DEFAULT_$LINE"
3245 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3249 eval "$ac_cv_use_libmspack"
3250 if test "$no_cache" != 1; then
3251 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3254 if test "$wxUSE_LIBMSPACK" = yes; then
3255 echo "$as_me:$LINENO: result: yes" >&5
3256 echo "${ECHO_T}yes" >&6
3258 echo "$as_me:$LINENO: result: no" >&5
3259 echo "${ECHO_T}no" >&6
3264 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3265 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3268 # Check whether --with-sdl or --without-sdl was given.
3269 if test "${with_sdl+set}" = set; then
3272 if test "$withval" = yes; then
3273 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3275 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3280 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x
; then
3282 eval "DEFAULT_$LINE"
3287 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3291 eval "$ac_cv_use_sdl"
3292 if test "$no_cache" != 1; then
3293 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3296 if test "$wxUSE_LIBSDL" = yes; then
3297 echo "$as_me:$LINENO: result: yes" >&5
3298 echo "${ECHO_T}yes" >&6
3300 echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6
3306 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3307 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3310 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3311 if test "${with_gnomeprint+set}" = set; then
3312 withval
="$with_gnomeprint"
3314 if test "$withval" = yes; then
3315 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3317 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3322 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x
; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3333 eval "$ac_cv_use_gnomeprint"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3338 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3339 echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3348 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3349 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3352 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3353 if test "${with_gnomevfs+set}" = set; then
3354 withval
="$with_gnomevfs"
3356 if test "$withval" = yes; then
3357 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3359 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3364 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3375 eval "$ac_cv_use_gnomevfs"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3390 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3391 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3394 # Check whether --with-hildon or --without-hildon was given.
3395 if test "${with_hildon+set}" = set; then
3396 withval
="$with_hildon"
3398 if test "$withval" = yes; then
3399 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3401 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3406 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3417 eval "$ac_cv_use_hildon"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_LIBHILDON" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3432 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3433 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3436 # Check whether --with-opengl or --without-opengl was given.
3437 if test "${with_opengl+set}" = set; then
3438 withval
="$with_opengl"
3440 if test "$withval" = yes; then
3441 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3443 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3448 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3459 eval "$ac_cv_use_opengl"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_OPENGL" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466 echo "${ECHO_T}yes" >&6
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3473 if test "$wxUSE_UNIVERSAL" = "yes"; then
3475 # Check whether --with-themes or --without-themes was given.
3476 if test "${with_themes+set}" = set; then
3477 withval
="$with_themes"
3478 wxUNIV_THEMES
="$withval"
3486 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3487 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3490 # Check whether --with-dmalloc or --without-dmalloc was given.
3491 if test "${with_dmalloc+set}" = set; then
3492 withval
="$with_dmalloc"
3494 if test "$withval" = yes; then
3495 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3497 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3502 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3513 eval "$ac_cv_use_dmalloc"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3518 if test "$wxUSE_DMALLOC" = yes; then
3519 echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6
3522 echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6
3527 echo "$as_me:$LINENO: checking for --with-regex" >&5
3528 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3531 # Check whether --with-regex or --without-regex was given.
3532 if test "${with_regex+set}" = set; then
3533 withval
="$with_regex"
3535 if test "$withval" = yes; then
3536 ac_cv_use_regex
='wxUSE_REGEX=yes'
3537 elif test "$withval" = no
; then
3538 ac_cv_use_regex
='wxUSE_REGEX=no'
3539 elif test "$withval" = sys
; then
3540 ac_cv_use_regex
='wxUSE_REGEX=sys'
3541 elif test "$withval" = builtin; then
3542 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3544 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3545 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3546 { (exit 1); exit 1; }; }
3551 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x
; then
3553 eval "DEFAULT_$LINE"
3558 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3562 eval "$ac_cv_use_regex"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3567 if test "$wxUSE_REGEX" = yes; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6
3570 elif test "$wxUSE_REGEX" = no
; then
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 elif test "$wxUSE_REGEX" = sys
; then
3574 echo "$as_me:$LINENO: result: system version" >&5
3575 echo "${ECHO_T}system version" >&6
3576 elif test "$wxUSE_REGEX" = builtin; then
3577 echo "$as_me:$LINENO: result: builtin version" >&5
3578 echo "${ECHO_T}builtin version" >&6
3580 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3581 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3582 { (exit 1); exit 1; }; }
3586 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3587 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3590 # Check whether --with-zlib or --without-zlib was given.
3591 if test "${with_zlib+set}" = set; then
3592 withval
="$with_zlib"
3594 if test "$withval" = yes; then
3595 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3596 elif test "$withval" = no
; then
3597 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3598 elif test "$withval" = sys
; then
3599 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3600 elif test "$withval" = builtin; then
3601 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3603 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3605 { (exit 1); exit 1; }; }
3610 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x
; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3621 eval "$ac_cv_use_zlib"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3626 if test "$wxUSE_ZLIB" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3629 elif test "$wxUSE_ZLIB" = no
; then
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3632 elif test "$wxUSE_ZLIB" = sys
; then
3633 echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6
3635 elif test "$wxUSE_ZLIB" = builtin; then
3636 echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3645 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3646 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3649 # Check whether --with-odbc or --without-odbc was given.
3650 if test "${with_odbc+set}" = set; then
3651 withval
="$with_odbc"
3653 if test "$withval" = yes; then
3654 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3655 elif test "$withval" = no
; then
3656 ac_cv_use_odbc
='wxUSE_ODBC=no'
3657 elif test "$withval" = sys
; then
3658 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3659 elif test "$withval" = builtin; then
3660 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3662 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3669 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3670 if test "x$LINE" != x
; then
3671 eval "DEFAULT_$LINE"
3676 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3680 eval "$ac_cv_use_odbc"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3685 if test "$wxUSE_ODBC" = yes; then
3686 echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6
3688 elif test "$wxUSE_ODBC" = no
; then
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3691 elif test "$wxUSE_ODBC" = sys
; then
3692 echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6
3694 elif test "$wxUSE_ODBC" = builtin; then
3695 echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3704 echo "$as_me:$LINENO: checking for --with-expat" >&5
3705 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3708 # Check whether --with-expat or --without-expat was given.
3709 if test "${with_expat+set}" = set; then
3710 withval
="$with_expat"
3712 if test "$withval" = yes; then
3713 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3714 elif test "$withval" = no
; then
3715 ac_cv_use_expat
='wxUSE_EXPAT=no'
3716 elif test "$withval" = sys
; then
3717 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3718 elif test "$withval" = builtin; then
3719 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3728 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x
; then
3730 eval "DEFAULT_$LINE"
3735 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3739 eval "$ac_cv_use_expat"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_EXPAT" = yes; then
3745 echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6
3747 elif test "$wxUSE_EXPAT" = no
; then
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3750 elif test "$wxUSE_EXPAT" = sys
; then
3751 echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6
3753 elif test "$wxUSE_EXPAT" = builtin; then
3754 echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3769 # Check whether --enable-shared or --disable-shared was given.
3770 if test "${enable_shared+set}" = set; then
3771 enableval
="$enable_shared"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_shared
='wxUSE_SHARED=yes'
3776 ac_cv_use_shared
='wxUSE_SHARED=no'
3781 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3792 eval "$ac_cv_use_shared"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_SHARED" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3810 # Check whether --enable-optimise or --disable-optimise was given.
3811 if test "${enable_optimise+set}" = set; then
3812 enableval
="$enable_optimise"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3817 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3822 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x
; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3833 eval "$ac_cv_use_optimise"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_OPTIMISE" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3851 # Check whether --enable-debug or --disable-debug was given.
3852 if test "${enable_debug+set}" = set; then
3853 enableval
="$enable_debug"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3858 ac_cv_use_debug
='wxUSE_DEBUG=no'
3863 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3874 eval "$ac_cv_use_debug"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_DEBUG" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3892 # Check whether --enable-stl or --disable-stl was given.
3893 if test "${enable_stl+set}" = set; then
3894 enableval
="$enable_stl"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_stl
='wxUSE_STL=yes'
3899 ac_cv_use_stl
='wxUSE_STL=no'
3904 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3915 eval "$ac_cv_use_stl"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_STL" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3928 if test "$USE_OS2" = "1"; then
3929 DEFAULT_wxUSE_OMF
=no
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3935 # Check whether --enable-omf or --disable-omf was given.
3936 if test "${enable_omf+set}" = set; then
3937 enableval
="$enable_omf"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_omf
='wxUSE_OMF=yes'
3942 ac_cv_use_omf
='wxUSE_OMF=no'
3947 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3958 eval "$ac_cv_use_omf"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_OMF" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3973 if test "$wxUSE_DEBUG" = "yes"; then
3974 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3975 DEFAULT_wxUSE_DEBUG_INFO
=yes
3977 elif test "$wxUSE_DEBUG" = "no"; then
3978 DEFAULT_wxUSE_DEBUG_FLAG
=no
3979 DEFAULT_wxUSE_DEBUG_INFO
=no
3985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3986 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3988 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3989 if test "${enable_debug_flag+set}" = set; then
3990 enableval
="$enable_debug_flag"
3992 if test "$enableval" = yes; then
3993 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3995 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4000 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x
; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4011 eval "$ac_cv_use_debug_flag"
4012 if test "$no_cache" != 1; then
4013 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4016 if test "$wxUSE_DEBUG_FLAG" = yes; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4027 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4029 # Check whether --enable-debug_info or --disable-debug_info was given.
4030 if test "${enable_debug_info+set}" = set; then
4031 enableval
="$enable_debug_info"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4036 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4041 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4052 eval "$ac_cv_use_debug_info"
4053 if test "$no_cache" != 1; then
4054 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4057 if test "$wxUSE_DEBUG_INFO" = yes; then
4058 echo "$as_me:$LINENO: result: yes" >&5
4059 echo "${ECHO_T}yes" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4070 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4071 if test "${enable_debug_gdb+set}" = set; then
4072 enableval
="$enable_debug_gdb"
4074 if test "$enableval" = yes; then
4075 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4077 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4082 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4083 if test "x$LINE" != x
; then
4084 eval "DEFAULT_$LINE"
4089 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4093 eval "$ac_cv_use_debug_gdb"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4098 if test "$wxUSE_DEBUG_GDB" = yes; then
4099 echo "$as_me:$LINENO: result: yes" >&5
4100 echo "${ECHO_T}yes" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4111 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4112 if test "${enable_debug_cntxt+set}" = set; then
4113 enableval
="$enable_debug_cntxt"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4118 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4123 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4134 eval "$ac_cv_use_debug_cntxt"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4152 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4153 if test "${enable_mem_tracing+set}" = set; then
4154 enableval
="$enable_mem_tracing"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4159 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4164 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4175 eval "$ac_cv_use_mem_tracing"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_MEM_TRACING" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4193 # Check whether --enable-profile or --disable-profile was given.
4194 if test "${enable_profile+set}" = set; then
4195 enableval
="$enable_profile"
4197 if test "$enableval" = yes; then
4198 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4200 ac_cv_use_profile
='wxUSE_PROFILE=no'
4205 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x
; then
4207 eval "DEFAULT_$LINE"
4212 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4216 eval "$ac_cv_use_profile"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_PROFILE" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4234 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4235 if test "${enable_no_rtti+set}" = set; then
4236 enableval
="$enable_no_rtti"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4241 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4246 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x
; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4257 eval "$ac_cv_use_no_rtti"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4262 if test "$wxUSE_NO_RTTI" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4275 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4276 if test "${enable_no_exceptions+set}" = set; then
4277 enableval
="$enable_no_exceptions"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4282 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4287 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4298 eval "$ac_cv_use_no_exceptions"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4316 # Check whether --enable-permissive or --disable-permissive was given.
4317 if test "${enable_permissive+set}" = set; then
4318 enableval
="$enable_permissive"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4323 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4328 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x
; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4339 eval "$ac_cv_use_permissive"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_PERMISSIVE" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4357 # Check whether --enable-no_deps or --disable-no_deps was given.
4358 if test "${enable_no_deps+set}" = set; then
4359 enableval
="$enable_no_deps"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4364 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4369 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4380 eval "$ac_cv_use_no_deps"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_NO_DEPS" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4398 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4399 if test "${enable_universal_binary+set}" = set; then
4400 enableval
="$enable_universal_binary"
4402 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4406 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4409 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4412 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4417 eval "$wx_cv_use_universal_binary"
4418 if test "$no_cache" != 1; then
4419 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4422 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4423 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4431 # Check whether --enable-compat24 or --disable-compat24 was given.
4432 if test "${enable_compat24+set}" = set; then
4433 enableval
="$enable_compat24"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4438 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4443 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4454 eval "$ac_cv_use_compat24"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4459 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4468 enablestring
=disable
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4472 # Check whether --enable-compat26 or --disable-compat26 was given.
4473 if test "${enable_compat26+set}" = set; then
4474 enableval
="$enable_compat26"
4476 if test "$enableval" = yes; then
4477 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4479 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4484 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4495 eval "$ac_cv_use_compat26"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4500 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4501 echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4514 # Check whether --enable-rpath or --disable-rpath was given.
4515 if test "${enable_rpath+set}" = set; then
4516 enableval
="$enable_rpath"
4518 if test "$enableval" = yes; then
4519 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4521 ac_cv_use_rpath
='wxUSE_RPATH=no'
4526 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4527 if test "x$LINE" != x
; then
4528 eval "DEFAULT_$LINE"
4533 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4537 eval "$ac_cv_use_rpath"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_RPATH" = yes; then
4543 echo "$as_me:$LINENO: result: yes" >&5
4544 echo "${ECHO_T}yes" >&6
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4558 # Check whether --enable-intl or --disable-intl was given.
4559 if test "${enable_intl+set}" = set; then
4560 enableval
="$enable_intl"
4562 if test "$enableval" = yes; then
4563 ac_cv_use_intl
='wxUSE_INTL=yes'
4565 ac_cv_use_intl
='wxUSE_INTL=no'
4570 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x
; then
4572 eval "DEFAULT_$LINE"
4577 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4581 eval "$ac_cv_use_intl"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_INTL" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4599 # Check whether --enable-config or --disable-config was given.
4600 if test "${enable_config+set}" = set; then
4601 enableval
="$enable_config"
4603 if test "$enableval" = yes; then
4604 ac_cv_use_config
='wxUSE_CONFIG=yes'
4606 ac_cv_use_config
='wxUSE_CONFIG=no'
4611 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x
; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4622 eval "$ac_cv_use_config"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4627 if test "$wxUSE_CONFIG" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4641 # Check whether --enable-protocols or --disable-protocols was given.
4642 if test "${enable_protocols+set}" = set; then
4643 enableval
="$enable_protocols"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4648 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4653 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4664 eval "$ac_cv_use_protocols"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_PROTOCOL" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4682 # Check whether --enable-ftp or --disable-ftp was given.
4683 if test "${enable_ftp+set}" = set; then
4684 enableval
="$enable_ftp"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4689 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4694 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4705 eval "$ac_cv_use_ftp"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4723 # Check whether --enable-http or --disable-http was given.
4724 if test "${enable_http+set}" = set; then
4725 enableval
="$enable_http"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4730 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4735 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4746 eval "$ac_cv_use_http"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4764 # Check whether --enable-fileproto or --disable-fileproto was given.
4765 if test "${enable_fileproto+set}" = set; then
4766 enableval
="$enable_fileproto"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4771 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4776 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4787 eval "$ac_cv_use_fileproto"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4805 # Check whether --enable-sockets or --disable-sockets was given.
4806 if test "${enable_sockets+set}" = set; then
4807 enableval
="$enable_sockets"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4812 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4817 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4828 eval "$ac_cv_use_sockets"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_SOCKETS" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4846 # Check whether --enable-ole or --disable-ole was given.
4847 if test "${enable_ole+set}" = set; then
4848 enableval
="$enable_ole"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_ole
='wxUSE_OLE=yes'
4853 ac_cv_use_ole
='wxUSE_OLE=no'
4858 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4869 eval "$ac_cv_use_ole"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_OLE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4887 # Check whether --enable-dataobj or --disable-dataobj was given.
4888 if test "${enable_dataobj+set}" = set; then
4889 enableval
="$enable_dataobj"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4894 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4899 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4910 eval "$ac_cv_use_dataobj"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_DATAOBJ" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4929 # Check whether --enable-ipc or --disable-ipc was given.
4930 if test "${enable_ipc+set}" = set; then
4931 enableval
="$enable_ipc"
4933 if test "$enableval" = yes; then
4934 ac_cv_use_ipc
='wxUSE_IPC=yes'
4936 ac_cv_use_ipc
='wxUSE_IPC=no'
4941 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4948 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4952 eval "$ac_cv_use_ipc"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_IPC" = yes; then
4958 echo "$as_me:$LINENO: result: yes" >&5
4959 echo "${ECHO_T}yes" >&6
4961 echo "$as_me:$LINENO: result: no" >&5
4962 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4971 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4972 if test "${enable_apple_ieee+set}" = set; then
4973 enableval
="$enable_apple_ieee"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4978 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4983 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x
; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4994 eval "$ac_cv_use_apple_ieee"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_APPLE_IEEE" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5012 # Check whether --enable-arcstream or --disable-arcstream was given.
5013 if test "${enable_arcstream+set}" = set; then
5014 enableval
="$enable_arcstream"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5019 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5024 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5035 eval "$ac_cv_use_arcstream"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5053 # Check whether --enable-backtrace or --disable-backtrace was given.
5054 if test "${enable_backtrace+set}" = set; then
5055 enableval
="$enable_backtrace"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5060 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5065 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x
; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5076 eval "$ac_cv_use_backtrace"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_STACKWALKER" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5094 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5095 if test "${enable_catch_segvs+set}" = set; then
5096 enableval
="$enable_catch_segvs"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5101 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5106 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x
; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5117 eval "$ac_cv_use_catch_segvs"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5135 # Check whether --enable-cmdline or --disable-cmdline was given.
5136 if test "${enable_cmdline+set}" = set; then
5137 enableval
="$enable_cmdline"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5142 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5147 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5158 eval "$ac_cv_use_cmdline"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5176 # Check whether --enable-datetime or --disable-datetime was given.
5177 if test "${enable_datetime+set}" = set; then
5178 enableval
="$enable_datetime"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5183 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5188 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5199 eval "$ac_cv_use_datetime"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_DATETIME" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5217 # Check whether --enable-debugreport or --disable-debugreport was given.
5218 if test "${enable_debugreport+set}" = set; then
5219 enableval
="$enable_debugreport"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5224 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5229 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x
; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5240 eval "$ac_cv_use_debugreport"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_DEBUGREPORT" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5258 # Check whether --enable-dialupman or --disable-dialupman was given.
5259 if test "${enable_dialupman+set}" = set; then
5260 enableval
="$enable_dialupman"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5265 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5270 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x
; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5281 eval "$ac_cv_use_dialupman"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5299 # Check whether --enable-dynlib or --disable-dynlib was given.
5300 if test "${enable_dynlib+set}" = set; then
5301 enableval
="$enable_dynlib"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5306 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5311 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x
; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5322 eval "$ac_cv_use_dynlib"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5340 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5341 if test "${enable_dynamicloader+set}" = set; then
5342 enableval
="$enable_dynamicloader"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5347 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5352 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x
; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5363 eval "$ac_cv_use_dynamicloader"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5381 # Check whether --enable-exceptions or --disable-exceptions was given.
5382 if test "${enable_exceptions+set}" = set; then
5383 enableval
="$enable_exceptions"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5388 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5393 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x
; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5404 eval "$ac_cv_use_exceptions"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_EXCEPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5422 # Check whether --enable-ffile or --disable-ffile was given.
5423 if test "${enable_ffile+set}" = set; then
5424 enableval
="$enable_ffile"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5429 ac_cv_use_ffile
='wxUSE_FFILE=no'
5434 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5445 eval "$ac_cv_use_ffile"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_FFILE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5463 # Check whether --enable-file or --disable-file was given.
5464 if test "${enable_file+set}" = set; then
5465 enableval
="$enable_file"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_file
='wxUSE_FILE=yes'
5470 ac_cv_use_file
='wxUSE_FILE=no'
5475 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x
; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5486 eval "$ac_cv_use_file"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_FILE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5504 # Check whether --enable-filesystem or --disable-filesystem was given.
5505 if test "${enable_filesystem+set}" = set; then
5506 enableval
="$enable_filesystem"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5511 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5516 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x
; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5527 eval "$ac_cv_use_filesystem"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_FILESYSTEM" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5545 # Check whether --enable-fontmap or --disable-fontmap was given.
5546 if test "${enable_fontmap+set}" = set; then
5547 enableval
="$enable_fontmap"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5552 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5557 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x
; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5568 eval "$ac_cv_use_fontmap"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_FONTMAP" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5586 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5587 if test "${enable_fs_inet+set}" = set; then
5588 enableval
="$enable_fs_inet"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5593 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5598 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5609 eval "$ac_cv_use_fs_inet"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_FS_INET" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5627 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5628 if test "${enable_fs_zip+set}" = set; then
5629 enableval
="$enable_fs_zip"
5631 if test "$enableval" = yes; then
5632 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5634 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5639 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x
; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5650 eval "$ac_cv_use_fs_zip"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_FS_ZIP" = yes; then
5656 echo "$as_me:$LINENO: result: yes" >&5
5657 echo "${ECHO_T}yes" >&6
5659 echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6
5665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5668 # Check whether --enable-geometry or --disable-geometry was given.
5669 if test "${enable_geometry+set}" = set; then
5670 enableval
="$enable_geometry"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5675 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5680 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x
; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5691 eval "$ac_cv_use_geometry"
5692 if test "$no_cache" != 1; then
5693 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5696 if test "$wxUSE_GEOMETRY" = yes; then
5697 echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6
5700 echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6
5706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5709 # Check whether --enable-log or --disable-log was given.
5710 if test "${enable_log+set}" = set; then
5711 enableval
="$enable_log"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_log
='wxUSE_LOG=yes'
5716 ac_cv_use_log
='wxUSE_LOG=no'
5721 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5732 eval "$ac_cv_use_log"
5733 if test "$no_cache" != 1; then
5734 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5737 if test "$wxUSE_LOG" = yes; then
5738 echo "$as_me:$LINENO: result: yes" >&5
5739 echo "${ECHO_T}yes" >&6
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5750 # Check whether --enable-longlong or --disable-longlong was given.
5751 if test "${enable_longlong+set}" = set; then
5752 enableval
="$enable_longlong"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5757 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5762 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x
; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5773 eval "$ac_cv_use_longlong"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_LONGLONG" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5791 # Check whether --enable-mimetype or --disable-mimetype was given.
5792 if test "${enable_mimetype+set}" = set; then
5793 enableval
="$enable_mimetype"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5798 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5803 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5814 eval "$ac_cv_use_mimetype"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_MIMETYPE" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5832 # Check whether --enable-mslu or --disable-mslu was given.
5833 if test "${enable_mslu+set}" = set; then
5834 enableval
="$enable_mslu"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5839 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5844 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5855 eval "$ac_cv_use_mslu"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_UNICODE_MSLU" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5873 # Check whether --enable-snglinst or --disable-snglinst was given.
5874 if test "${enable_snglinst+set}" = set; then
5875 enableval
="$enable_snglinst"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5880 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5885 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5896 eval "$ac_cv_use_snglinst"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5914 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5915 if test "${enable_std_iostreams+set}" = set; then
5916 enableval
="$enable_std_iostreams"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5921 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5926 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5937 eval "$ac_cv_use_std_iostreams"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_STD_IOSTREAM" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5955 # Check whether --enable-std_string or --disable-std_string was given.
5956 if test "${enable_std_string+set}" = set; then
5957 enableval
="$enable_std_string"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5962 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5967 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5978 eval "$ac_cv_use_std_string"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_STD_STRING" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5996 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5997 if test "${enable_stdpaths+set}" = set; then
5998 enableval
="$enable_stdpaths"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6003 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6008 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x
; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6019 eval "$ac_cv_use_stdpaths"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_STDPATHS" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6037 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6038 if test "${enable_stopwatch+set}" = set; then
6039 enableval
="$enable_stopwatch"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6044 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6049 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x
; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6060 eval "$ac_cv_use_stopwatch"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_STOPWATCH" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6078 # Check whether --enable-streams or --disable-streams was given.
6079 if test "${enable_streams+set}" = set; then
6080 enableval
="$enable_streams"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6085 ac_cv_use_streams
='wxUSE_STREAMS=no'
6090 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x
; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6101 eval "$ac_cv_use_streams"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_STREAMS" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6119 # Check whether --enable-system_options or --disable-system_options was given.
6120 if test "${enable_system_options+set}" = set; then
6121 enableval
="$enable_system_options"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6126 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6131 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x
; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6142 eval "$ac_cv_use_system_options"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6160 # Check whether --enable-textbuf or --disable-textbuf was given.
6161 if test "${enable_textbuf+set}" = set; then
6162 enableval
="$enable_textbuf"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6167 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6172 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x
; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6183 eval "$ac_cv_use_textbuf"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_TEXTBUFFER" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6201 # Check whether --enable-textfile or --disable-textfile was given.
6202 if test "${enable_textfile+set}" = set; then
6203 enableval
="$enable_textfile"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6208 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6213 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x
; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6224 eval "$ac_cv_use_textfile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_TEXTFILE" = yes; then
6230 echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6
6233 echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6242 # Check whether --enable-timer or --disable-timer was given.
6243 if test "${enable_timer+set}" = set; then
6244 enableval
="$enable_timer"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_timer
='wxUSE_TIMER=yes'
6249 ac_cv_use_timer
='wxUSE_TIMER=no'
6254 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6265 eval "$ac_cv_use_timer"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_TIMER" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6283 # Check whether --enable-unicode or --disable-unicode was given.
6284 if test "${enable_unicode+set}" = set; then
6285 enableval
="$enable_unicode"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6290 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6295 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6306 eval "$ac_cv_use_unicode"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_UNICODE" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6324 # Check whether --enable-sound or --disable-sound was given.
6325 if test "${enable_sound+set}" = set; then
6326 enableval
="$enable_sound"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_sound
='wxUSE_SOUND=yes'
6331 ac_cv_use_sound
='wxUSE_SOUND=no'
6336 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6347 eval "$ac_cv_use_sound"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_SOUND" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6365 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6366 if test "${enable_mediactrl+set}" = set; then
6367 enableval
="$enable_mediactrl"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6372 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6377 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x
; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6388 eval "$ac_cv_use_mediactrl"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_MEDIACTRL" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6406 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6407 if test "${enable_gstreamer8+set}" = set; then
6408 enableval
="$enable_gstreamer8"
6410 if test "$enableval" = yes; then
6411 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6413 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6418 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x
; then
6420 eval "DEFAULT_$LINE"
6425 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6429 eval "$ac_cv_use_gstreamer8"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_GSTREAMER8" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6447 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6448 if test "${enable_printfposparam+set}" = set; then
6449 enableval
="$enable_printfposparam"
6451 if test "$enableval" = yes; then
6452 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6454 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6459 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x
; then
6461 eval "DEFAULT_$LINE"
6466 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6470 eval "$ac_cv_use_printfposparam"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6488 # Check whether --enable-zipstream or --disable-zipstream was given.
6489 if test "${enable_zipstream+set}" = set; then
6490 enableval
="$enable_zipstream"
6492 if test "$enableval" = yes; then
6493 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6495 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6500 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x
; then
6502 eval "DEFAULT_$LINE"
6507 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6511 eval "$ac_cv_use_zipstream"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_ZIPSTREAM" = yes; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6520 echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6530 # Check whether --enable-url or --disable-url was given.
6531 if test "${enable_url+set}" = set; then
6532 enableval
="$enable_url"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_url
='wxUSE_URL=yes'
6537 ac_cv_use_url
='wxUSE_URL=no'
6542 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x
; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6553 eval "$ac_cv_use_url"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6558 if test "$wxUSE_URL" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560 echo "${ECHO_T}yes" >&6
6562 echo "$as_me:$LINENO: result: no" >&5
6563 echo "${ECHO_T}no" >&6
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6571 # Check whether --enable-variant or --disable-variant was given.
6572 if test "${enable_variant+set}" = set; then
6573 enableval
="$enable_variant"
6575 if test "$enableval" = yes; then
6576 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6578 ac_cv_use_variant
='wxUSE_VARIANT=no'
6583 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x
; then
6585 eval "DEFAULT_$LINE"
6590 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6594 eval "$ac_cv_use_variant"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6599 if test "$wxUSE_VARIANT" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601 echo "${ECHO_T}yes" >&6
6603 echo "$as_me:$LINENO: result: no" >&5
6604 echo "${ECHO_T}no" >&6
6609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6612 # Check whether --enable-protocol or --disable-protocol was given.
6613 if test "${enable_protocol+set}" = set; then
6614 enableval
="$enable_protocol"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6619 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6624 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6635 eval "$ac_cv_use_protocol"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6640 if test "$wxUSE_PROTOCOL" = yes; then
6641 echo "$as_me:$LINENO: result: yes" >&5
6642 echo "${ECHO_T}yes" >&6
6644 echo "$as_me:$LINENO: result: no" >&5
6645 echo "${ECHO_T}no" >&6
6650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6653 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6654 if test "${enable_protocol_http+set}" = set; then
6655 enableval
="$enable_protocol_http"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6660 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6665 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6676 eval "$ac_cv_use_protocol_http"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6682 echo "$as_me:$LINENO: result: yes" >&5
6683 echo "${ECHO_T}yes" >&6
6685 echo "$as_me:$LINENO: result: no" >&5
6686 echo "${ECHO_T}no" >&6
6691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6694 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6695 if test "${enable_protocol_ftp+set}" = set; then
6696 enableval
="$enable_protocol_ftp"
6698 if test "$enableval" = yes; then
6699 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6701 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6706 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x
; then
6708 eval "DEFAULT_$LINE"
6713 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6717 eval "$ac_cv_use_protocol_ftp"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6723 echo "$as_me:$LINENO: result: yes" >&5
6724 echo "${ECHO_T}yes" >&6
6726 echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6
6732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6735 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6736 if test "${enable_protocol_file+set}" = set; then
6737 enableval
="$enable_protocol_file"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6742 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6747 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6758 eval "$ac_cv_use_protocol_file"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6764 echo "$as_me:$LINENO: result: yes" >&5
6765 echo "${ECHO_T}yes" >&6
6767 echo "$as_me:$LINENO: result: no" >&5
6768 echo "${ECHO_T}no" >&6
6776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6779 # Check whether --enable-threads or --disable-threads was given.
6780 if test "${enable_threads+set}" = set; then
6781 enableval
="$enable_threads"
6783 if test "$enableval" = yes; then
6784 ac_cv_use_threads
='wxUSE_THREADS=yes'
6786 ac_cv_use_threads
='wxUSE_THREADS=no'
6791 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x
; then
6793 eval "DEFAULT_$LINE"
6798 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6802 eval "$ac_cv_use_threads"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6807 if test "$wxUSE_THREADS" = yes; then
6808 echo "$as_me:$LINENO: result: yes" >&5
6809 echo "${ECHO_T}yes" >&6
6811 echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6
6816 if test "$wxUSE_GUI" = "yes"; then
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6824 # Check whether --enable-docview or --disable-docview was given.
6825 if test "${enable_docview+set}" = set; then
6826 enableval
="$enable_docview"
6828 if test "$enableval" = yes; then
6829 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6831 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6836 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x
; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6847 eval "$ac_cv_use_docview"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6
6856 echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6865 # Check whether --enable-help or --disable-help was given.
6866 if test "${enable_help+set}" = set; then
6867 enableval
="$enable_help"
6869 if test "$enableval" = yes; then
6870 ac_cv_use_help
='wxUSE_HELP=yes'
6872 ac_cv_use_help
='wxUSE_HELP=no'
6877 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x
; then
6879 eval "DEFAULT_$LINE"
6884 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6888 eval "$ac_cv_use_help"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_HELP" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6906 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6907 if test "${enable_mshtmlhelp+set}" = set; then
6908 enableval
="$enable_mshtmlhelp"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6913 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6918 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6929 eval "$ac_cv_use_mshtmlhelp"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_MS_HTML_HELP" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6947 # Check whether --enable-html or --disable-html was given.
6948 if test "${enable_html+set}" = set; then
6949 enableval
="$enable_html"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_html
='wxUSE_HTML=yes'
6954 ac_cv_use_html
='wxUSE_HTML=no'
6959 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x
; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6970 eval "$ac_cv_use_html"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6975 if test "$wxUSE_HTML" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6
6979 echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6988 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6989 if test "${enable_htmlhelp+set}" = set; then
6990 enableval
="$enable_htmlhelp"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6995 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7000 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7011 eval "$ac_cv_use_htmlhelp"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_WXHTML_HELP" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7029 # Check whether --enable-xrc or --disable-xrc was given.
7030 if test "${enable_xrc+set}" = set; then
7031 enableval
="$enable_xrc"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_xrc
='wxUSE_XRC=yes'
7036 ac_cv_use_xrc
='wxUSE_XRC=no'
7041 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7052 eval "$ac_cv_use_xrc"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_XRC" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7070 # Check whether --enable-aui or --disable-aui was given.
7071 if test "${enable_aui+set}" = set; then
7072 enableval
="$enable_aui"
7074 if test "$enableval" = yes; then
7075 ac_cv_use_aui
='wxUSE_AUI=yes'
7077 ac_cv_use_aui
='wxUSE_AUI=no'
7082 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x
; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7093 eval "$ac_cv_use_aui"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_AUI" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7111 # Check whether --enable-constraints or --disable-constraints was given.
7112 if test "${enable_constraints+set}" = set; then
7113 enableval
="$enable_constraints"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7118 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7123 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7134 eval "$ac_cv_use_constraints"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_CONSTRAINTS" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7152 # Check whether --enable-printarch or --disable-printarch was given.
7153 if test "${enable_printarch+set}" = set; then
7154 enableval
="$enable_printarch"
7156 if test "$enableval" = yes; then
7157 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7159 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7164 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x
; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7175 eval "$ac_cv_use_printarch"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7180 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7184 echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7193 # Check whether --enable-mdi or --disable-mdi was given.
7194 if test "${enable_mdi+set}" = set; then
7195 enableval
="$enable_mdi"
7197 if test "$enableval" = yes; then
7198 ac_cv_use_mdi
='wxUSE_MDI=yes'
7200 ac_cv_use_mdi
='wxUSE_MDI=no'
7205 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x
; then
7207 eval "DEFAULT_$LINE"
7212 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7216 eval "$ac_cv_use_mdi"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7221 if test "$wxUSE_MDI" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6
7225 echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7234 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7235 if test "${enable_mdidoc+set}" = set; then
7236 enableval
="$enable_mdidoc"
7238 if test "$enableval" = yes; then
7239 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7241 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7246 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x
; then
7248 eval "DEFAULT_$LINE"
7253 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7257 eval "$ac_cv_use_mdidoc"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7262 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7263 echo "$as_me:$LINENO: result: yes" >&5
7264 echo "${ECHO_T}yes" >&6
7266 echo "$as_me:$LINENO: result: no" >&5
7267 echo "${ECHO_T}no" >&6
7272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7275 # Check whether --enable-loggui or --disable-loggui was given.
7276 if test "${enable_loggui+set}" = set; then
7277 enableval
="$enable_loggui"
7279 if test "$enableval" = yes; then
7280 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7282 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7287 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x
; then
7289 eval "DEFAULT_$LINE"
7294 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7298 eval "$ac_cv_use_loggui"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7303 if test "$wxUSE_LOGGUI" = yes; then
7304 echo "$as_me:$LINENO: result: yes" >&5
7305 echo "${ECHO_T}yes" >&6
7307 echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6
7313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7316 # Check whether --enable-logwin or --disable-logwin was given.
7317 if test "${enable_logwin+set}" = set; then
7318 enableval
="$enable_logwin"
7320 if test "$enableval" = yes; then
7321 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7323 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7328 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x
; then
7330 eval "DEFAULT_$LINE"
7335 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7339 eval "$ac_cv_use_logwin"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7344 if test "$wxUSE_LOGWINDOW" = yes; then
7345 echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6
7348 echo "$as_me:$LINENO: result: no" >&5
7349 echo "${ECHO_T}no" >&6
7354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7357 # Check whether --enable-logdialog or --disable-logdialog was given.
7358 if test "${enable_logdialog+set}" = set; then
7359 enableval
="$enable_logdialog"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7364 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7369 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x
; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7380 eval "$ac_cv_use_logdialog"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_LOGDIALOG" = yes; then
7386 echo "$as_me:$LINENO: result: yes" >&5
7387 echo "${ECHO_T}yes" >&6
7389 echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6
7395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7398 # Check whether --enable-webkit or --disable-webkit was given.
7399 if test "${enable_webkit+set}" = set; then
7400 enableval
="$enable_webkit"
7402 if test "$enableval" = yes; then
7403 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7405 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7410 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x
; then
7412 eval "DEFAULT_$LINE"
7417 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7421 eval "$ac_cv_use_webkit"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7426 if test "$wxUSE_WEBKIT" = yes; then
7427 echo "$as_me:$LINENO: result: yes" >&5
7428 echo "${ECHO_T}yes" >&6
7430 echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6
7436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7439 # Check whether --enable-html or --disable-html was given.
7440 if test "${enable_html+set}" = set; then
7441 enableval
="$enable_html"
7443 if test "$enableval" = yes; then
7444 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7446 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7451 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x
; then
7453 eval "DEFAULT_$LINE"
7458 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7462 eval "$ac_cv_use_html"
7463 if test "$no_cache" != 1; then
7464 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7467 if test "$wxUSE_RICHTEXT" = yes; then
7468 echo "$as_me:$LINENO: result: yes" >&5
7469 echo "${ECHO_T}yes" >&6
7471 echo "$as_me:$LINENO: result: no" >&5
7472 echo "${ECHO_T}no" >&6
7477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7480 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7481 if test "${enable_graphics_ctx+set}" = set; then
7482 enableval
="$enable_graphics_ctx"
7484 if test "$enableval" = yes; then
7485 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7487 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7492 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x
; then
7494 eval "DEFAULT_$LINE"
7499 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7503 eval "$ac_cv_use_graphics_ctx"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7508 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7509 echo "$as_me:$LINENO: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7522 # Check whether --enable-postscript or --disable-postscript was given.
7523 if test "${enable_postscript+set}" = set; then
7524 enableval
="$enable_postscript"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7529 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7534 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x
; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7545 eval "$ac_cv_use_postscript"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_POSTSCRIPT" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7566 # Check whether --enable-prologio or --disable-prologio was given.
7567 if test "${enable_prologio+set}" = set; then
7568 enableval
="$enable_prologio"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7573 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7578 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x
; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7589 eval "$ac_cv_use_prologio"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_PROLOGIO" = yes; then
7595 echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6
7598 echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6
7604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7607 # Check whether --enable-resources or --disable-resources was given.
7608 if test "${enable_resources+set}" = set; then
7609 enableval
="$enable_resources"
7611 if test "$enableval" = yes; then
7612 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7614 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7619 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x
; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7630 eval "$ac_cv_use_resources"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_RESOURCES" = yes; then
7636 echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7650 # Check whether --enable-clipboard or --disable-clipboard was given.
7651 if test "${enable_clipboard+set}" = set; then
7652 enableval
="$enable_clipboard"
7654 if test "$enableval" = yes; then
7655 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7657 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7662 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x
; then
7664 eval "DEFAULT_$LINE"
7669 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7673 eval "$ac_cv_use_clipboard"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_CLIPBOARD" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7691 # Check whether --enable-dnd or --disable-dnd was given.
7692 if test "${enable_dnd+set}" = set; then
7693 enableval
="$enable_dnd"
7695 if test "$enableval" = yes; then
7696 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7698 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7703 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x
; then
7705 eval "DEFAULT_$LINE"
7710 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7714 eval "$ac_cv_use_dnd"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7719 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7732 # Check whether --enable-metafile or --disable-metafile was given.
7733 if test "${enable_metafile+set}" = set; then
7734 enableval
="$enable_metafile"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7739 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7744 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x
; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7755 eval "$ac_cv_use_metafile"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7760 if test "$wxUSE_METAFILE" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7776 # Check whether --enable-controls or --disable-controls was given.
7777 if test "${enable_controls+set}" = set; then
7778 enableval
="$enable_controls"
7780 if test "$enableval" = yes; then
7781 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7783 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7788 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7789 if test "x$LINE" != x
; then
7790 eval "DEFAULT_$LINE"
7795 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7799 eval "$ac_cv_use_controls"
7800 if test "$no_cache" != 1; then
7801 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7804 if test "$wxUSE_CONTROLS" = yes; then
7805 echo "$as_me:$LINENO: result: yes" >&5
7806 echo "${ECHO_T}yes" >&6
7808 echo "$as_me:$LINENO: result: no" >&5
7809 echo "${ECHO_T}no" >&6
7813 if test "$wxUSE_CONTROLS" = "yes"; then
7814 DEFAULT_wxUSE_ACCEL
=yes
7815 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7816 DEFAULT_wxUSE_BMPBUTTON
=yes
7817 DEFAULT_wxUSE_BUTTON
=yes
7818 DEFAULT_wxUSE_CALCTRL
=yes
7819 DEFAULT_wxUSE_CARET
=yes
7820 DEFAULT_wxUSE_COMBOBOX
=yes
7821 DEFAULT_wxUSE_CHECKBOX
=yes
7822 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7823 DEFAULT_wxUSE_CHOICE
=yes
7824 DEFAULT_wxUSE_CHOICEBOOK
=yes
7825 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7826 DEFAULT_wxUSE_COMBOBOX
=yes
7827 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7828 DEFAULT_wxUSE_DISPLAY
=yes
7829 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7830 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7831 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7832 DEFAULT_wxUSE_GAUGE
=yes
7833 DEFAULT_wxUSE_GRID
=yes
7834 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7835 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7836 DEFAULT_wxUSE_IMAGLIST
=yes
7837 DEFAULT_wxUSE_LISTBOOK
=yes
7838 DEFAULT_wxUSE_LISTBOX
=yes
7839 DEFAULT_wxUSE_LISTCTRL
=yes
7840 DEFAULT_wxUSE_NOTEBOOK
=yes
7841 DEFAULT_wxUSE_RADIOBOX
=yes
7842 DEFAULT_wxUSE_RADIOBTN
=yes
7843 DEFAULT_wxUSE_SASH
=yes
7844 DEFAULT_wxUSE_SCROLLBAR
=yes
7845 DEFAULT_wxUSE_SLIDER
=yes
7846 DEFAULT_wxUSE_SPINBTN
=yes
7847 DEFAULT_wxUSE_SPINCTRL
=yes
7848 DEFAULT_wxUSE_SPLITTER
=yes
7849 DEFAULT_wxUSE_STATBMP
=yes
7850 DEFAULT_wxUSE_STATBOX
=yes
7851 DEFAULT_wxUSE_STATLINE
=yes
7852 DEFAULT_wxUSE_STATUSBAR
=yes
7853 DEFAULT_wxUSE_TAB_DIALOG
=yes
7854 DEFAULT_wxUSE_TOGGLEBTN
=yes
7855 DEFAULT_wxUSE_TOOLBAR
=yes
7856 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7857 DEFAULT_wxUSE_TOOLTIPS
=yes
7858 DEFAULT_wxUSE_TREEBOOK
=yes
7859 DEFAULT_wxUSE_TOOLBOOK
=yes
7860 DEFAULT_wxUSE_TREECTRL
=yes
7861 DEFAULT_wxUSE_POPUPWIN
=yes
7862 DEFAULT_wxUSE_TIPWINDOW
=yes
7863 elif test "$wxUSE_CONTROLS" = "no"; then
7864 DEFAULT_wxUSE_ACCEL
=no
7865 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7866 DEFAULT_wxUSE_BMPBUTTON
=no
7867 DEFAULT_wxUSE_BUTTON
=no
7868 DEFAULT_wxUSE_CALCTRL
=no
7869 DEFAULT_wxUSE_CARET
=no
7870 DEFAULT_wxUSE_COMBOBOX
=no
7871 DEFAULT_wxUSE_CHECKBOX
=no
7872 DEFAULT_wxUSE_CHECKLISTBOX
=no
7873 DEFAULT_wxUSE_CHOICE
=no
7874 DEFAULT_wxUSE_CHOICEBOOK
=no
7875 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7876 DEFAULT_wxUSE_COMBOBOX
=no
7877 DEFAULT_wxUSE_DATEPICKCTRL
=no
7878 DEFAULT_wxUSE_DISPLAY
=no
7879 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7880 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7881 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7882 DEFAULT_wxUSE_GAUGE
=no
7883 DEFAULT_wxUSE_GRID
=no
7884 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7885 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7886 DEFAULT_wxUSE_IMAGLIST
=no
7887 DEFAULT_wxUSE_LISTBOOK
=no
7888 DEFAULT_wxUSE_LISTBOX
=no
7889 DEFAULT_wxUSE_LISTCTRL
=no
7890 DEFAULT_wxUSE_NOTEBOOK
=no
7891 DEFAULT_wxUSE_RADIOBOX
=no
7892 DEFAULT_wxUSE_RADIOBTN
=no
7893 DEFAULT_wxUSE_SASH
=no
7894 DEFAULT_wxUSE_SCROLLBAR
=no
7895 DEFAULT_wxUSE_SLIDER
=no
7896 DEFAULT_wxUSE_SPINBTN
=no
7897 DEFAULT_wxUSE_SPINCTRL
=no
7898 DEFAULT_wxUSE_SPLITTER
=no
7899 DEFAULT_wxUSE_STATBMP
=no
7900 DEFAULT_wxUSE_STATBOX
=no
7901 DEFAULT_wxUSE_STATLINE
=no
7902 DEFAULT_wxUSE_STATUSBAR
=no
7903 DEFAULT_wxUSE_TAB_DIALOG
=no
7904 DEFAULT_wxUSE_TOGGLEBTN
=no
7905 DEFAULT_wxUSE_TOOLBAR
=no
7906 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7907 DEFAULT_wxUSE_TOOLTIPS
=no
7908 DEFAULT_wxUSE_TREEBOOK
=no
7909 DEFAULT_wxUSE_TOOLBOOK
=no
7910 DEFAULT_wxUSE_TREECTRL
=no
7911 DEFAULT_wxUSE_POPUPWIN
=no
7912 DEFAULT_wxUSE_TIPWINDOW
=no
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7920 # Check whether --enable-accel or --disable-accel was given.
7921 if test "${enable_accel+set}" = set; then
7922 enableval
="$enable_accel"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7927 ac_cv_use_accel
='wxUSE_ACCEL=no'
7932 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7943 eval "$ac_cv_use_accel"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_ACCEL" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7961 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7962 if test "${enable_animatectrl+set}" = set; then
7963 enableval
="$enable_animatectrl"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
7968 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
7973 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7984 eval "$ac_cv_use_animatectrl"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_ANIMATIONCTRL" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8002 # Check whether --enable-button or --disable-button was given.
8003 if test "${enable_button+set}" = set; then
8004 enableval
="$enable_button"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_button
='wxUSE_BUTTON=yes'
8009 ac_cv_use_button
='wxUSE_BUTTON=no'
8014 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8025 eval "$ac_cv_use_button"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_BUTTON" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8043 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8044 if test "${enable_bmpbutton+set}" = set; then
8045 enableval
="$enable_bmpbutton"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8050 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8055 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8066 eval "$ac_cv_use_bmpbutton"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_BMPBUTTON" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8084 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8085 if test "${enable_bmpcombobox+set}" = set; then
8086 enableval
="$enable_bmpcombobox"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8091 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8096 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x
; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8107 eval "$ac_cv_use_bmpcombobox"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8125 # Check whether --enable-calendar or --disable-calendar was given.
8126 if test "${enable_calendar+set}" = set; then
8127 enableval
="$enable_calendar"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8132 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8137 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8148 eval "$ac_cv_use_calendar"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_CALCTRL" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8166 # Check whether --enable-caret or --disable-caret was given.
8167 if test "${enable_caret+set}" = set; then
8168 enableval
="$enable_caret"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_caret
='wxUSE_CARET=yes'
8173 ac_cv_use_caret
='wxUSE_CARET=no'
8178 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8189 eval "$ac_cv_use_caret"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_CARET" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8207 # Check whether --enable-checkbox or --disable-checkbox was given.
8208 if test "${enable_checkbox+set}" = set; then
8209 enableval
="$enable_checkbox"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8214 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8219 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8230 eval "$ac_cv_use_checkbox"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_CHECKBOX" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8248 # Check whether --enable-checklst or --disable-checklst was given.
8249 if test "${enable_checklst+set}" = set; then
8250 enableval
="$enable_checklst"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8255 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8260 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8271 eval "$ac_cv_use_checklst"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_CHECKLST" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8289 # Check whether --enable-choice or --disable-choice was given.
8290 if test "${enable_choice+set}" = set; then
8291 enableval
="$enable_choice"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8296 ac_cv_use_choice
='wxUSE_CHOICE=no'
8301 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x
; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8312 eval "$ac_cv_use_choice"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_CHOICE" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8330 # Check whether --enable-choicebook or --disable-choicebook was given.
8331 if test "${enable_choicebook+set}" = set; then
8332 enableval
="$enable_choicebook"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8337 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8342 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8353 eval "$ac_cv_use_choicebook"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_CHOICEBOOK" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8371 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8372 if test "${enable_colourpicker+set}" = set; then
8373 enableval
="$enable_colourpicker"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8378 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8383 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8394 eval "$ac_cv_use_colourpicker"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8412 # Check whether --enable-combobox or --disable-combobox was given.
8413 if test "${enable_combobox+set}" = set; then
8414 enableval
="$enable_combobox"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8419 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8424 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x
; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8435 eval "$ac_cv_use_combobox"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_COMBOBOX" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8453 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8454 if test "${enable_comboctrl+set}" = set; then
8455 enableval
="$enable_comboctrl"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8460 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8465 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x
; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8476 eval "$ac_cv_use_comboctrl"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_COMBOCTRL" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8494 # Check whether --enable-datepick or --disable-datepick was given.
8495 if test "${enable_datepick+set}" = set; then
8496 enableval
="$enable_datepick"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8501 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8506 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x
; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8517 eval "$ac_cv_use_datepick"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_DATEPICKCTRL" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8535 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8536 if test "${enable_dirpicker+set}" = set; then
8537 enableval
="$enable_dirpicker"
8539 if test "$enableval" = yes; then
8540 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8542 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8547 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x
; then
8549 eval "DEFAULT_$LINE"
8554 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8558 eval "$ac_cv_use_dirpicker"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8563 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8576 # Check whether --enable-display or --disable-display was given.
8577 if test "${enable_display+set}" = set; then
8578 enableval
="$enable_display"
8580 if test "$enableval" = yes; then
8581 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8583 ac_cv_use_display
='wxUSE_DISPLAY=no'
8588 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x
; then
8590 eval "DEFAULT_$LINE"
8595 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8599 eval "$ac_cv_use_display"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8604 if test "$wxUSE_DISPLAY" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8617 # Check whether --enable-filepicker or --disable-filepicker was given.
8618 if test "${enable_filepicker+set}" = set; then
8619 enableval
="$enable_filepicker"
8621 if test "$enableval" = yes; then
8622 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8624 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8629 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x
; then
8631 eval "DEFAULT_$LINE"
8636 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8640 eval "$ac_cv_use_filepicker"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8645 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8658 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8659 if test "${enable_fontpicker+set}" = set; then
8660 enableval
="$enable_fontpicker"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8665 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8670 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8681 eval "$ac_cv_use_fontpicker"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8686 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8699 # Check whether --enable-gauge or --disable-gauge was given.
8700 if test "${enable_gauge+set}" = set; then
8701 enableval
="$enable_gauge"
8703 if test "$enableval" = yes; then
8704 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8706 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8711 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x
; then
8713 eval "DEFAULT_$LINE"
8718 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8722 eval "$ac_cv_use_gauge"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_GAUGE" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8740 # Check whether --enable-grid or --disable-grid was given.
8741 if test "${enable_grid+set}" = set; then
8742 enableval
="$enable_grid"
8744 if test "$enableval" = yes; then
8745 ac_cv_use_grid
='wxUSE_GRID=yes'
8747 ac_cv_use_grid
='wxUSE_GRID=no'
8752 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x
; then
8754 eval "DEFAULT_$LINE"
8759 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8763 eval "$ac_cv_use_grid"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8768 if test "$wxUSE_GRID" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8781 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8782 if test "${enable_dataviewctrl+set}" = set; then
8783 enableval
="$enable_dataviewctrl"
8785 if test "$enableval" = yes; then
8786 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8788 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8793 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x
; then
8795 eval "DEFAULT_$LINE"
8800 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8804 eval "$ac_cv_use_dataviewctrl"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8809 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8822 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8823 if test "${enable_hyperlink+set}" = set; then
8824 enableval
="$enable_hyperlink"
8826 if test "$enableval" = yes; then
8827 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8829 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8834 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x
; then
8836 eval "DEFAULT_$LINE"
8841 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8845 eval "$ac_cv_use_hyperlink"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8850 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8863 # Check whether --enable-imaglist or --disable-imaglist was given.
8864 if test "${enable_imaglist+set}" = set; then
8865 enableval
="$enable_imaglist"
8867 if test "$enableval" = yes; then
8868 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8870 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8875 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x
; then
8877 eval "DEFAULT_$LINE"
8882 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8886 eval "$ac_cv_use_imaglist"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8891 if test "$wxUSE_IMAGLIST" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8904 # Check whether --enable-listbook or --disable-listbook was given.
8905 if test "${enable_listbook+set}" = set; then
8906 enableval
="$enable_listbook"
8908 if test "$enableval" = yes; then
8909 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8911 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8916 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x
; then
8918 eval "DEFAULT_$LINE"
8923 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8927 eval "$ac_cv_use_listbook"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8932 if test "$wxUSE_LISTBOOK" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8945 # Check whether --enable-listbox or --disable-listbox was given.
8946 if test "${enable_listbox+set}" = set; then
8947 enableval
="$enable_listbox"
8949 if test "$enableval" = yes; then
8950 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8952 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8957 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x
; then
8959 eval "DEFAULT_$LINE"
8964 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8968 eval "$ac_cv_use_listbox"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8973 if test "$wxUSE_LISTBOX" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8986 # Check whether --enable-listctrl or --disable-listctrl was given.
8987 if test "${enable_listctrl+set}" = set; then
8988 enableval
="$enable_listctrl"
8990 if test "$enableval" = yes; then
8991 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8993 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8998 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x
; then
9000 eval "DEFAULT_$LINE"
9005 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9009 eval "$ac_cv_use_listctrl"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9014 if test "$wxUSE_LISTCTRL" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9027 # Check whether --enable-notebook or --disable-notebook was given.
9028 if test "${enable_notebook+set}" = set; then
9029 enableval
="$enable_notebook"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9034 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9039 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9050 eval "$ac_cv_use_notebook"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_NOTEBOOK" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9068 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9069 if test "${enable_odcombobox+set}" = set; then
9070 enableval
="$enable_odcombobox"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9075 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9080 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9091 eval "$ac_cv_use_odcombobox"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_ODCOMBOBOX" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9109 # Check whether --enable-radiobox or --disable-radiobox was given.
9110 if test "${enable_radiobox+set}" = set; then
9111 enableval
="$enable_radiobox"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9116 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9121 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9132 eval "$ac_cv_use_radiobox"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_RADIOBOX" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9150 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9151 if test "${enable_radiobtn+set}" = set; then
9152 enableval
="$enable_radiobtn"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9157 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9162 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9173 eval "$ac_cv_use_radiobtn"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_RADIOBTN" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9191 # Check whether --enable-sash or --disable-sash was given.
9192 if test "${enable_sash+set}" = set; then
9193 enableval
="$enable_sash"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_sash
='wxUSE_SASH=yes'
9198 ac_cv_use_sash
='wxUSE_SASH=no'
9203 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9214 eval "$ac_cv_use_sash"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_SASH" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9232 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9233 if test "${enable_scrollbar+set}" = set; then
9234 enableval
="$enable_scrollbar"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9239 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9244 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9255 eval "$ac_cv_use_scrollbar"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_SCROLLBAR" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9273 # Check whether --enable-slider or --disable-slider was given.
9274 if test "${enable_slider+set}" = set; then
9275 enableval
="$enable_slider"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9280 ac_cv_use_slider
='wxUSE_SLIDER=no'
9285 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9296 eval "$ac_cv_use_slider"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_SLIDER" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9314 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9315 if test "${enable_spinbtn+set}" = set; then
9316 enableval
="$enable_spinbtn"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9321 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9326 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9337 eval "$ac_cv_use_spinbtn"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_SPINBTN" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9355 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9356 if test "${enable_spinctrl+set}" = set; then
9357 enableval
="$enable_spinctrl"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9362 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9367 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9378 eval "$ac_cv_use_spinctrl"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_SPINCTRL" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9396 # Check whether --enable-splitter or --disable-splitter was given.
9397 if test "${enable_splitter+set}" = set; then
9398 enableval
="$enable_splitter"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9403 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9408 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9419 eval "$ac_cv_use_splitter"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_SPLITTER" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9437 # Check whether --enable-statbmp or --disable-statbmp was given.
9438 if test "${enable_statbmp+set}" = set; then
9439 enableval
="$enable_statbmp"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9444 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9449 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9460 eval "$ac_cv_use_statbmp"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_STATBMP" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9478 # Check whether --enable-statbox or --disable-statbox was given.
9479 if test "${enable_statbox+set}" = set; then
9480 enableval
="$enable_statbox"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9485 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9490 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9501 eval "$ac_cv_use_statbox"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_STATBOX" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9519 # Check whether --enable-statline or --disable-statline was given.
9520 if test "${enable_statline+set}" = set; then
9521 enableval
="$enable_statline"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9526 ac_cv_use_statline
='wxUSE_STATLINE=no'
9531 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9542 eval "$ac_cv_use_statline"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_STATLINE" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9560 # Check whether --enable-stattext or --disable-stattext was given.
9561 if test "${enable_stattext+set}" = set; then
9562 enableval
="$enable_stattext"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9567 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9572 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9583 eval "$ac_cv_use_stattext"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_STATTEXT" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9601 # Check whether --enable-statusbar or --disable-statusbar was given.
9602 if test "${enable_statusbar+set}" = set; then
9603 enableval
="$enable_statusbar"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9608 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9613 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9624 eval "$ac_cv_use_statusbar"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_STATUSBAR" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9642 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9643 if test "${enable_tabdialog+set}" = set; then
9644 enableval
="$enable_tabdialog"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9649 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9654 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9665 eval "$ac_cv_use_tabdialog"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_TAB_DIALOG" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9683 # Check whether --enable-textctrl or --disable-textctrl was given.
9684 if test "${enable_textctrl+set}" = set; then
9685 enableval
="$enable_textctrl"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9690 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9695 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9706 eval "$ac_cv_use_textctrl"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_TEXTCTRL" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9724 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9725 if test "${enable_togglebtn+set}" = set; then
9726 enableval
="$enable_togglebtn"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9731 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9736 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9747 eval "$ac_cv_use_togglebtn"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_TOGGLEBTN" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9765 # Check whether --enable-toolbar or --disable-toolbar was given.
9766 if test "${enable_toolbar+set}" = set; then
9767 enableval
="$enable_toolbar"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9772 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9777 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9788 eval "$ac_cv_use_toolbar"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_TOOLBAR" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9806 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9807 if test "${enable_tbarnative+set}" = set; then
9808 enableval
="$enable_tbarnative"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9813 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9818 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9829 eval "$ac_cv_use_tbarnative"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9847 # Check whether --enable-treebook or --disable-treebook was given.
9848 if test "${enable_treebook+set}" = set; then
9849 enableval
="$enable_treebook"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9854 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9859 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9870 eval "$ac_cv_use_treebook"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_TREEBOOK" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9888 # Check whether --enable-toolbook or --disable-toolbook was given.
9889 if test "${enable_toolbook+set}" = set; then
9890 enableval
="$enable_toolbook"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9895 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9900 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9911 eval "$ac_cv_use_toolbook"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_TOOLBOOK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9929 # Check whether --enable-treectrl or --disable-treectrl was given.
9930 if test "${enable_treectrl+set}" = set; then
9931 enableval
="$enable_treectrl"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9936 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9941 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9952 eval "$ac_cv_use_treectrl"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_TREECTRL" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9970 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9971 if test "${enable_tipwindow+set}" = set; then
9972 enableval
="$enable_tipwindow"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9977 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9982 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9993 eval "$ac_cv_use_tipwindow"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_TIPWINDOW" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10011 # Check whether --enable-popupwin or --disable-popupwin was given.
10012 if test "${enable_popupwin+set}" = set; then
10013 enableval
="$enable_popupwin"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10018 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10023 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10034 eval "$ac_cv_use_popupwin"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_POPUPWIN" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10054 # Check whether --enable-commondlg or --disable-commondlg was given.
10055 if test "${enable_commondlg+set}" = set; then
10056 enableval
="$enable_commondlg"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10061 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10066 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x
; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10077 eval "$ac_cv_use_commondlg"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_COMMONDLGS" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10095 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10096 if test "${enable_aboutdlg+set}" = set; then
10097 enableval
="$enable_aboutdlg"
10099 if test "$enableval" = yes; then
10100 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10102 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10107 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x
; then
10109 eval "DEFAULT_$LINE"
10114 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10118 eval "$ac_cv_use_aboutdlg"
10119 if test "$no_cache" != 1; then
10120 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10123 if test "$wxUSE_ABOUTDLG" = yes; then
10124 echo "$as_me:$LINENO: result: yes" >&5
10125 echo "${ECHO_T}yes" >&6
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10136 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10137 if test "${enable_choicedlg+set}" = set; then
10138 enableval
="$enable_choicedlg"
10140 if test "$enableval" = yes; then
10141 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10143 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10148 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x
; then
10150 eval "DEFAULT_$LINE"
10155 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10159 eval "$ac_cv_use_choicedlg"
10160 if test "$no_cache" != 1; then
10161 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10164 if test "$wxUSE_CHOICEDLG" = yes; then
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10177 # Check whether --enable-coldlg or --disable-coldlg was given.
10178 if test "${enable_coldlg+set}" = set; then
10179 enableval
="$enable_coldlg"
10181 if test "$enableval" = yes; then
10182 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10184 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10189 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x
; then
10191 eval "DEFAULT_$LINE"
10196 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10200 eval "$ac_cv_use_coldlg"
10201 if test "$no_cache" != 1; then
10202 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10205 if test "$wxUSE_COLOURDLG" = yes; then
10206 echo "$as_me:$LINENO: result: yes" >&5
10207 echo "${ECHO_T}yes" >&6
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10216 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10218 # Check whether --enable-filedlg or --disable-filedlg was given.
10219 if test "${enable_filedlg+set}" = set; then
10220 enableval
="$enable_filedlg"
10222 if test "$enableval" = yes; then
10223 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10225 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10230 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x
; then
10232 eval "DEFAULT_$LINE"
10237 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10241 eval "$ac_cv_use_filedlg"
10242 if test "$no_cache" != 1; then
10243 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10246 if test "$wxUSE_FILEDLG" = yes; then
10247 echo "$as_me:$LINENO: result: yes" >&5
10248 echo "${ECHO_T}yes" >&6
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10257 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10259 # Check whether --enable-finddlg or --disable-finddlg was given.
10260 if test "${enable_finddlg+set}" = set; then
10261 enableval
="$enable_finddlg"
10263 if test "$enableval" = yes; then
10264 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10266 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10271 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x
; then
10273 eval "DEFAULT_$LINE"
10278 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10282 eval "$ac_cv_use_finddlg"
10283 if test "$no_cache" != 1; then
10284 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10287 if test "$wxUSE_FINDREPLDLG" = yes; then
10288 echo "$as_me:$LINENO: result: yes" >&5
10289 echo "${ECHO_T}yes" >&6
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10300 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10301 if test "${enable_fontdlg+set}" = set; then
10302 enableval
="$enable_fontdlg"
10304 if test "$enableval" = yes; then
10305 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10307 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10312 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x
; then
10314 eval "DEFAULT_$LINE"
10319 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10323 eval "$ac_cv_use_fontdlg"
10324 if test "$no_cache" != 1; then
10325 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10328 if test "$wxUSE_FONTDLG" = yes; then
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10341 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10342 if test "${enable_dirdlg+set}" = set; then
10343 enableval
="$enable_dirdlg"
10345 if test "$enableval" = yes; then
10346 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10348 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10353 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x
; then
10355 eval "DEFAULT_$LINE"
10360 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10364 eval "$ac_cv_use_dirdlg"
10365 if test "$no_cache" != 1; then
10366 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10369 if test "$wxUSE_DIRDLG" = yes; then
10370 echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6
10373 echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10382 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10383 if test "${enable_msgdlg+set}" = set; then
10384 enableval
="$enable_msgdlg"
10386 if test "$enableval" = yes; then
10387 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10389 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10394 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x
; then
10396 eval "DEFAULT_$LINE"
10401 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10405 eval "$ac_cv_use_msgdlg"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10410 if test "$wxUSE_MSGDLG" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10423 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10424 if test "${enable_numberdlg+set}" = set; then
10425 enableval
="$enable_numberdlg"
10427 if test "$enableval" = yes; then
10428 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10430 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10435 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x
; then
10437 eval "DEFAULT_$LINE"
10442 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10446 eval "$ac_cv_use_numberdlg"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10451 if test "$wxUSE_NUMBERDLG" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10464 # Check whether --enable-splash or --disable-splash was given.
10465 if test "${enable_splash+set}" = set; then
10466 enableval
="$enable_splash"
10468 if test "$enableval" = yes; then
10469 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10471 ac_cv_use_splash
='wxUSE_SPLASH=no'
10476 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x
; then
10478 eval "DEFAULT_$LINE"
10483 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10487 eval "$ac_cv_use_splash"
10488 if test "$no_cache" != 1; then
10489 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10492 if test "$wxUSE_SPLASH" = yes; then
10493 echo "$as_me:$LINENO: result: yes" >&5
10494 echo "${ECHO_T}yes" >&6
10496 echo "$as_me:$LINENO: result: no" >&5
10497 echo "${ECHO_T}no" >&6
10502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10505 # Check whether --enable-textdlg or --disable-textdlg was given.
10506 if test "${enable_textdlg+set}" = set; then
10507 enableval
="$enable_textdlg"
10509 if test "$enableval" = yes; then
10510 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10512 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10517 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x
; then
10519 eval "DEFAULT_$LINE"
10524 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10528 eval "$ac_cv_use_textdlg"
10529 if test "$no_cache" != 1; then
10530 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10533 if test "$wxUSE_TEXTDLG" = yes; then
10534 echo "$as_me:$LINENO: result: yes" >&5
10535 echo "${ECHO_T}yes" >&6
10537 echo "$as_me:$LINENO: result: no" >&5
10538 echo "${ECHO_T}no" >&6
10543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10546 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10547 if test "${enable_tipdlg+set}" = set; then
10548 enableval
="$enable_tipdlg"
10550 if test "$enableval" = yes; then
10551 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10553 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10558 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x
; then
10560 eval "DEFAULT_$LINE"
10565 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10569 eval "$ac_cv_use_tipdlg"
10570 if test "$no_cache" != 1; then
10571 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10574 if test "$wxUSE_STARTUP_TIPS" = yes; then
10575 echo "$as_me:$LINENO: result: yes" >&5
10576 echo "${ECHO_T}yes" >&6
10578 echo "$as_me:$LINENO: result: no" >&5
10579 echo "${ECHO_T}no" >&6
10584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10587 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10588 if test "${enable_progressdlg+set}" = set; then
10589 enableval
="$enable_progressdlg"
10591 if test "$enableval" = yes; then
10592 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10594 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10599 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x
; then
10601 eval "DEFAULT_$LINE"
10606 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10610 eval "$ac_cv_use_progressdlg"
10611 if test "$no_cache" != 1; then
10612 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10615 if test "$wxUSE_PROGRESSDLG" = yes; then
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10619 echo "$as_me:$LINENO: result: no" >&5
10620 echo "${ECHO_T}no" >&6
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10628 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10629 if test "${enable_wizarddlg+set}" = set; then
10630 enableval
="$enable_wizarddlg"
10632 if test "$enableval" = yes; then
10633 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10635 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10640 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x
; then
10642 eval "DEFAULT_$LINE"
10647 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10651 eval "$ac_cv_use_wizarddlg"
10652 if test "$no_cache" != 1; then
10653 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10656 if test "$wxUSE_WIZARDDLG" = yes; then
10657 echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6
10660 echo "$as_me:$LINENO: result: no" >&5
10661 echo "${ECHO_T}no" >&6
10668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10671 # Check whether --enable-menus or --disable-menus was given.
10672 if test "${enable_menus+set}" = set; then
10673 enableval
="$enable_menus"
10675 if test "$enableval" = yes; then
10676 ac_cv_use_menus
='wxUSE_MENUS=yes'
10678 ac_cv_use_menus
='wxUSE_MENUS=no'
10683 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10684 if test "x$LINE" != x
; then
10685 eval "DEFAULT_$LINE"
10690 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10694 eval "$ac_cv_use_menus"
10695 if test "$no_cache" != 1; then
10696 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10699 if test "$wxUSE_MENUS" = yes; then
10700 echo "$as_me:$LINENO: result: yes" >&5
10701 echo "${ECHO_T}yes" >&6
10703 echo "$as_me:$LINENO: result: no" >&5
10704 echo "${ECHO_T}no" >&6
10709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10712 # Check whether --enable-miniframe or --disable-miniframe was given.
10713 if test "${enable_miniframe+set}" = set; then
10714 enableval
="$enable_miniframe"
10716 if test "$enableval" = yes; then
10717 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10719 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10724 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x
; then
10726 eval "DEFAULT_$LINE"
10731 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10735 eval "$ac_cv_use_miniframe"
10736 if test "$no_cache" != 1; then
10737 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10740 if test "$wxUSE_MINIFRAME" = yes; then
10741 echo "$as_me:$LINENO: result: yes" >&5
10742 echo "${ECHO_T}yes" >&6
10744 echo "$as_me:$LINENO: result: no" >&5
10745 echo "${ECHO_T}no" >&6
10750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10753 # Check whether --enable-tooltips or --disable-tooltips was given.
10754 if test "${enable_tooltips+set}" = set; then
10755 enableval
="$enable_tooltips"
10757 if test "$enableval" = yes; then
10758 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10760 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10765 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10766 if test "x$LINE" != x
; then
10767 eval "DEFAULT_$LINE"
10772 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10776 eval "$ac_cv_use_tooltips"
10777 if test "$no_cache" != 1; then
10778 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10781 if test "$wxUSE_TOOLTIPS" = yes; then
10782 echo "$as_me:$LINENO: result: yes" >&5
10783 echo "${ECHO_T}yes" >&6
10785 echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6
10791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10794 # Check whether --enable-splines or --disable-splines was given.
10795 if test "${enable_splines+set}" = set; then
10796 enableval
="$enable_splines"
10798 if test "$enableval" = yes; then
10799 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10801 ac_cv_use_splines
='wxUSE_SPLINES=no'
10806 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x
; then
10808 eval "DEFAULT_$LINE"
10813 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10817 eval "$ac_cv_use_splines"
10818 if test "$no_cache" != 1; then
10819 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10822 if test "$wxUSE_SPLINES" = yes; then
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10835 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10836 if test "${enable_mousewheel+set}" = set; then
10837 enableval
="$enable_mousewheel"
10839 if test "$enableval" = yes; then
10840 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10842 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10847 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x
; then
10849 eval "DEFAULT_$LINE"
10854 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10858 eval "$ac_cv_use_mousewheel"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10863 if test "$wxUSE_MOUSEWHEEL" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10874 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10876 # Check whether --enable-validators or --disable-validators was given.
10877 if test "${enable_validators+set}" = set; then
10878 enableval
="$enable_validators"
10880 if test "$enableval" = yes; then
10881 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10883 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10888 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10889 if test "x$LINE" != x
; then
10890 eval "DEFAULT_$LINE"
10895 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10899 eval "$ac_cv_use_validators"
10900 if test "$no_cache" != 1; then
10901 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10904 if test "$wxUSE_VALIDATORS" = yes; then
10905 echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10915 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10917 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10918 if test "${enable_busyinfo+set}" = set; then
10919 enableval
="$enable_busyinfo"
10921 if test "$enableval" = yes; then
10922 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10924 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10929 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10930 if test "x$LINE" != x
; then
10931 eval "DEFAULT_$LINE"
10936 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10940 eval "$ac_cv_use_busyinfo"
10941 if test "$no_cache" != 1; then
10942 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10945 if test "$wxUSE_BUSYINFO" = yes; then
10946 echo "$as_me:$LINENO: result: yes" >&5
10947 echo "${ECHO_T}yes" >&6
10949 echo "$as_me:$LINENO: result: no" >&5
10950 echo "${ECHO_T}no" >&6
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10958 # Check whether --enable-joystick or --disable-joystick was given.
10959 if test "${enable_joystick+set}" = set; then
10960 enableval
="$enable_joystick"
10962 if test "$enableval" = yes; then
10963 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10965 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10970 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x
; then
10972 eval "DEFAULT_$LINE"
10977 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10981 eval "$ac_cv_use_joystick"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10986 if test "$wxUSE_JOYSTICK" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10999 # Check whether --enable-metafile or --disable-metafile was given.
11000 if test "${enable_metafile+set}" = set; then
11001 enableval
="$enable_metafile"
11003 if test "$enableval" = yes; then
11004 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11006 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11011 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x
; then
11013 eval "DEFAULT_$LINE"
11018 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11022 eval "$ac_cv_use_metafile"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11027 if test "$wxUSE_METAFILE" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11040 # Check whether --enable-dragimage or --disable-dragimage was given.
11041 if test "${enable_dragimage+set}" = set; then
11042 enableval
="$enable_dragimage"
11044 if test "$enableval" = yes; then
11045 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11047 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11052 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x
; then
11054 eval "DEFAULT_$LINE"
11059 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11063 eval "$ac_cv_use_dragimage"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11068 if test "$wxUSE_DRAGIMAGE" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11081 # Check whether --enable-accessibility or --disable-accessibility was given.
11082 if test "${enable_accessibility+set}" = set; then
11083 enableval
="$enable_accessibility"
11085 if test "$enableval" = yes; then
11086 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11088 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11093 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x
; then
11095 eval "DEFAULT_$LINE"
11100 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11104 eval "$ac_cv_use_accessibility"
11105 if test "$no_cache" != 1; then
11106 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11109 if test "$wxUSE_ACCESSIBILITY" = yes; then
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11113 echo "$as_me:$LINENO: result: no" >&5
11114 echo "${ECHO_T}no" >&6
11118 if test "$wxUSE_MSW" = "1"; then
11121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11124 # Check whether --enable-dccache or --disable-dccache was given.
11125 if test "${enable_dccache+set}" = set; then
11126 enableval
="$enable_dccache"
11128 if test "$enableval" = yes; then
11129 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11131 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11136 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11137 if test "x$LINE" != x
; then
11138 eval "DEFAULT_$LINE"
11143 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11147 eval "$ac_cv_use_dccache"
11148 if test "$no_cache" != 1; then
11149 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11152 if test "$wxUSE_DC_CACHEING" = yes; then
11153 echo "$as_me:$LINENO: result: yes" >&5
11154 echo "${ECHO_T}yes" >&6
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11168 # Check whether --enable-palette or --disable-palette was given.
11169 if test "${enable_palette+set}" = set; then
11170 enableval
="$enable_palette"
11172 if test "$enableval" = yes; then
11173 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11175 ac_cv_use_palette
='wxUSE_PALETTE=no'
11180 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x
; then
11182 eval "DEFAULT_$LINE"
11187 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11191 eval "$ac_cv_use_palette"
11192 if test "$no_cache" != 1; then
11193 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11196 if test "$wxUSE_PALETTE" = yes; then
11197 echo "$as_me:$LINENO: result: yes" >&5
11198 echo "${ECHO_T}yes" >&6
11200 echo "$as_me:$LINENO: result: no" >&5
11201 echo "${ECHO_T}no" >&6
11206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11209 # Check whether --enable-image or --disable-image was given.
11210 if test "${enable_image+set}" = set; then
11211 enableval
="$enable_image"
11213 if test "$enableval" = yes; then
11214 ac_cv_use_image
='wxUSE_IMAGE=yes'
11216 ac_cv_use_image
='wxUSE_IMAGE=no'
11221 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11222 if test "x$LINE" != x
; then
11223 eval "DEFAULT_$LINE"
11228 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11232 eval "$ac_cv_use_image"
11233 if test "$no_cache" != 1; then
11234 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11237 if test "$wxUSE_IMAGE" = yes; then
11238 echo "$as_me:$LINENO: result: yes" >&5
11239 echo "${ECHO_T}yes" >&6
11241 echo "$as_me:$LINENO: result: no" >&5
11242 echo "${ECHO_T}no" >&6
11247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11250 # Check whether --enable-gif or --disable-gif was given.
11251 if test "${enable_gif+set}" = set; then
11252 enableval
="$enable_gif"
11254 if test "$enableval" = yes; then
11255 ac_cv_use_gif
='wxUSE_GIF=yes'
11257 ac_cv_use_gif
='wxUSE_GIF=no'
11262 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11263 if test "x$LINE" != x
; then
11264 eval "DEFAULT_$LINE"
11269 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11273 eval "$ac_cv_use_gif"
11274 if test "$no_cache" != 1; then
11275 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11278 if test "$wxUSE_GIF" = yes; then
11279 echo "$as_me:$LINENO: result: yes" >&5
11280 echo "${ECHO_T}yes" >&6
11282 echo "$as_me:$LINENO: result: no" >&5
11283 echo "${ECHO_T}no" >&6
11288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11289 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11291 # Check whether --enable-pcx or --disable-pcx was given.
11292 if test "${enable_pcx+set}" = set; then
11293 enableval
="$enable_pcx"
11295 if test "$enableval" = yes; then
11296 ac_cv_use_pcx
='wxUSE_PCX=yes'
11298 ac_cv_use_pcx
='wxUSE_PCX=no'
11303 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11304 if test "x$LINE" != x
; then
11305 eval "DEFAULT_$LINE"
11310 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11314 eval "$ac_cv_use_pcx"
11315 if test "$no_cache" != 1; then
11316 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11319 if test "$wxUSE_PCX" = yes; then
11320 echo "$as_me:$LINENO: result: yes" >&5
11321 echo "${ECHO_T}yes" >&6
11323 echo "$as_me:$LINENO: result: no" >&5
11324 echo "${ECHO_T}no" >&6
11329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11332 # Check whether --enable-iff or --disable-iff was given.
11333 if test "${enable_iff+set}" = set; then
11334 enableval
="$enable_iff"
11336 if test "$enableval" = yes; then
11337 ac_cv_use_iff
='wxUSE_IFF=yes'
11339 ac_cv_use_iff
='wxUSE_IFF=no'
11344 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11345 if test "x$LINE" != x
; then
11346 eval "DEFAULT_$LINE"
11351 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11355 eval "$ac_cv_use_iff"
11356 if test "$no_cache" != 1; then
11357 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11360 if test "$wxUSE_IFF" = yes; then
11361 echo "$as_me:$LINENO: result: yes" >&5
11362 echo "${ECHO_T}yes" >&6
11364 echo "$as_me:$LINENO: result: no" >&5
11365 echo "${ECHO_T}no" >&6
11370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11371 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11373 # Check whether --enable-pnm or --disable-pnm was given.
11374 if test "${enable_pnm+set}" = set; then
11375 enableval
="$enable_pnm"
11377 if test "$enableval" = yes; then
11378 ac_cv_use_pnm
='wxUSE_PNM=yes'
11380 ac_cv_use_pnm
='wxUSE_PNM=no'
11385 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11386 if test "x$LINE" != x
; then
11387 eval "DEFAULT_$LINE"
11392 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11396 eval "$ac_cv_use_pnm"
11397 if test "$no_cache" != 1; then
11398 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11401 if test "$wxUSE_PNM" = yes; then
11402 echo "$as_me:$LINENO: result: yes" >&5
11403 echo "${ECHO_T}yes" >&6
11405 echo "$as_me:$LINENO: result: no" >&5
11406 echo "${ECHO_T}no" >&6
11411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11412 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11414 # Check whether --enable-xpm or --disable-xpm was given.
11415 if test "${enable_xpm+set}" = set; then
11416 enableval
="$enable_xpm"
11418 if test "$enableval" = yes; then
11419 ac_cv_use_xpm
='wxUSE_XPM=yes'
11421 ac_cv_use_xpm
='wxUSE_XPM=no'
11426 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11427 if test "x$LINE" != x
; then
11428 eval "DEFAULT_$LINE"
11433 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11437 eval "$ac_cv_use_xpm"
11438 if test "$no_cache" != 1; then
11439 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11442 if test "$wxUSE_XPM" = yes; then
11443 echo "$as_me:$LINENO: result: yes" >&5
11444 echo "${ECHO_T}yes" >&6
11446 echo "$as_me:$LINENO: result: no" >&5
11447 echo "${ECHO_T}no" >&6
11452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11455 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11456 if test "${enable_ico_cur+set}" = set; then
11457 enableval
="$enable_ico_cur"
11459 if test "$enableval" = yes; then
11460 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11462 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11467 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11468 if test "x$LINE" != x
; then
11469 eval "DEFAULT_$LINE"
11474 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11478 eval "$ac_cv_use_ico_cur"
11479 if test "$no_cache" != 1; then
11480 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11483 if test "$wxUSE_ICO_CUR" = yes; then
11484 echo "$as_me:$LINENO: result: yes" >&5
11485 echo "${ECHO_T}yes" >&6
11487 echo "$as_me:$LINENO: result: no" >&5
11488 echo "${ECHO_T}no" >&6
11496 # Check whether --with-flavour or --without-flavour was given.
11497 if test "${with_flavour+set}" = set; then
11498 withval
="$with_flavour"
11499 WX_FLAVOUR
="$withval"
11505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11508 # Check whether --enable-official_build or --disable-official_build was given.
11509 if test "${enable_official_build+set}" = set; then
11510 enableval
="$enable_official_build"
11512 if test "$enableval" = yes; then
11513 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11515 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11520 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x
; then
11522 eval "DEFAULT_$LINE"
11527 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11531 eval "$ac_cv_use_official_build"
11532 if test "$no_cache" != 1; then
11533 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11536 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11537 echo "$as_me:$LINENO: result: yes" >&5
11538 echo "${ECHO_T}yes" >&6
11540 echo "$as_me:$LINENO: result: no" >&5
11541 echo "${ECHO_T}no" >&6
11544 # Check whether --enable-vendor or --disable-vendor was given.
11545 if test "${enable_vendor+set}" = set; then
11546 enableval
="$enable_vendor"
11547 VENDOR
="$enableval"
11549 if test "x$VENDOR" = "x"; then
11556 echo "saving argument cache $wx_arg_cache_file"
11557 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11561 echo "$as_me:$LINENO: checking for toolkit" >&5
11562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11564 # In Wine, we need to default to MSW, not GTK or MOTIF
11565 if test "$wxUSE_WINE" = "yes"; then
11566 DEFAULT_DEFAULT_wxUSE_GTK
=0
11567 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11568 DEFAULT_DEFAULT_wxUSE_MSW
=1
11573 if test "$wxUSE_GUI" = "yes"; then
11575 if test "$USE_BEOS" = 1; then
11576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11578 { (exit 1); exit 1; }; }
11581 if test "$TOOLKIT_GIVEN" = 1; then
11582 for toolkit
in `echo $ALL_TOOLKITS`; do
11584 eval "value=\$${var}"
11585 if test "x$value" = "xno"; then
11587 elif test "x$value" != "x"; then
11591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11592 eval "wx${toolkit}_VERSION=$value"
11596 for toolkit
in `echo $ALL_TOOLKITS`; do
11597 if test "$has_toolkit_in_cache" != 1; then
11598 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11600 var
=DEFAULT_wxUSE_
$toolkit
11602 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11603 if test "x$version" != "x"; then
11604 eval "wx${toolkit}_VERSION=$version"
11607 eval "wxUSE_$toolkit=\$${var}"
11611 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11612 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11613 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11616 *-pc-os2_emx | *-pc-os2-emx )
11617 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11620 case "$NUM_TOOLKITS" in
11624 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11625 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11626 { (exit 1); exit 1; }; }
11629 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11630 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11631 { (exit 1); exit 1; }; }
11634 # to be removed when --disable-gtk2 isn't needed
11635 if test "x$wxUSE_GTK2" = "xyes"; then
11637 elif test "x$wxUSE_GTK2" = "xno"; then
11641 for toolkit
in `echo $ALL_TOOLKITS`; do
11643 eval "value=\$${var}"
11644 if test "x$value" != x
; then
11645 cache_var
=CACHE_
$toolkit
11646 eval "cache=\$${cache_var}"
11647 if test "$cache" = 1; then
11648 echo "$var=$value" >> ${wx_arg_cache_file}
11649 eval "version=\$wx${toolkit}_VERSION"
11650 if test "x$version" != "x"; then
11651 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11654 if test "$value" = 1; then
11655 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11656 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11657 echo "${ECHO_T}$toolkit_echo" >&6
11662 if test "x$host_alias" != "x"; then
11663 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11664 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11666 echo "$as_me:$LINENO: result: base only" >&5
11667 echo "${ECHO_T}base only" >&6
11672 doesnt_want_win32
=0
11675 if test "$wxUSE_MSW" = 1 ; then
11677 BAKEFILE_FORCE_PLATFORM
=win32
11679 doesnt_want_win32
=1
11687 if test "$wxUSE_WINE" = "yes"; then
11691 LDFLAGS_GUI
="-mwindows"
11694 if test "$wants_win32" = 1 ; then
11697 cat >>confdefs.h
<<\_ACEOF
11698 #define __WIN32__ 1
11701 cat >>confdefs.h
<<\_ACEOF
11702 #define __WIN95__ 1
11705 cat >>confdefs.h
<<\_ACEOF
11706 #define __WINDOWS__ 1
11709 cat >>confdefs.h
<<\_ACEOF
11710 #define __GNUWIN32__ 1
11713 cat >>confdefs.h
<<\_ACEOF
11717 cat >>confdefs.h
<<\_ACEOF
11718 #define WINVER 0x0400
11722 if test "$doesnt_want_win32" = 1 ; then
11727 if test "$USE_UNIX" = 1 ; then
11729 cat >>confdefs.h
<<\_ACEOF
11736 cat >confcache
<<\_ACEOF
11737 # This file is a shell script that caches the results of configure
11738 # tests run on this system so they can be shared between configure
11739 # scripts and configure runs, see configure's option --config-cache.
11740 # It is not useful on other systems. If it contains results you don't
11741 # want to keep, you may remove or edit it.
11743 # config.status only pays attention to the cache file if you give it
11744 # the --recheck option to rerun configure.
11746 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11747 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11748 # following values.
11752 # The following way of writing the cache mishandles newlines in values,
11753 # but we know of no workaround that is simple, portable, and efficient.
11754 # So, don't put newlines in cache variables' values.
11755 # Ultrix sh set writes to stderr and can't be redirected directly,
11756 # and sets the high bit in the cache file unless we assign to the vars.
11759 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11761 # `set' does not quote correctly, so add quotes (double-quote
11762 # substitution turns \\\\ into \\, and sed turns \\ into \).
11765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11768 # `set' quotes correctly as required by POSIX, so do not add quotes.
11770 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11777 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11779 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11781 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11782 if test -w $cache_file; then
11783 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11784 cat confcache
>$cache_file
11786 echo "not updating unwritable cache $cache_file"
11796 ac_cpp
='$CPP $CPPFLAGS'
11797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11800 if test -n "$ac_tool_prefix"; then
11801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11802 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11803 echo "$as_me:$LINENO: checking for $ac_word" >&5
11804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11805 if test "${ac_cv_prog_CC+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 if test -n "$CC"; then
11809 ac_cv_prog_CC
="$CC" # Let the user override the test.
11811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11812 for as_dir
in $PATH
11815 test -z "$as_dir" && as_dir
=.
11816 for ac_exec_ext
in '' $ac_executable_extensions; do
11817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11818 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11828 if test -n "$CC"; then
11829 echo "$as_me:$LINENO: result: $CC" >&5
11830 echo "${ECHO_T}$CC" >&6
11832 echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6
11837 if test -z "$ac_cv_prog_CC"; then
11839 # Extract the first word of "gcc", so it can be a program name with args.
11840 set dummy gcc
; ac_word
=$2
11841 echo "$as_me:$LINENO: checking for $ac_word" >&5
11842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 if test -n "$ac_ct_CC"; then
11847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11850 for as_dir
in $PATH
11853 test -z "$as_dir" && as_dir
=.
11854 for ac_exec_ext
in '' $ac_executable_extensions; do
11855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11856 ac_cv_prog_ac_ct_CC
="gcc"
11857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11865 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11866 if test -n "$ac_ct_CC"; then
11867 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11868 echo "${ECHO_T}$ac_ct_CC" >&6
11870 echo "$as_me:$LINENO: result: no" >&5
11871 echo "${ECHO_T}no" >&6
11876 CC
="$ac_cv_prog_CC"
11879 if test -z "$CC"; then
11880 if test -n "$ac_tool_prefix"; then
11881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11882 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11883 echo "$as_me:$LINENO: checking for $ac_word" >&5
11884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11885 if test "${ac_cv_prog_CC+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 if test -n "$CC"; then
11889 ac_cv_prog_CC
="$CC" # Let the user override the test.
11891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11892 for as_dir
in $PATH
11895 test -z "$as_dir" && as_dir
=.
11896 for ac_exec_ext
in '' $ac_executable_extensions; do
11897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11898 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11908 if test -n "$CC"; then
11909 echo "$as_me:$LINENO: result: $CC" >&5
11910 echo "${ECHO_T}$CC" >&6
11912 echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6
11917 if test -z "$ac_cv_prog_CC"; then
11919 # Extract the first word of "cc", so it can be a program name with args.
11920 set dummy cc
; ac_word
=$2
11921 echo "$as_me:$LINENO: checking for $ac_word" >&5
11922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 if test -n "$ac_ct_CC"; then
11927 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11930 for as_dir
in $PATH
11933 test -z "$as_dir" && as_dir
=.
11934 for ac_exec_ext
in '' $ac_executable_extensions; do
11935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11936 ac_cv_prog_ac_ct_CC
="cc"
11937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11946 if test -n "$ac_ct_CC"; then
11947 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11948 echo "${ECHO_T}$ac_ct_CC" >&6
11950 echo "$as_me:$LINENO: result: no" >&5
11951 echo "${ECHO_T}no" >&6
11956 CC
="$ac_cv_prog_CC"
11960 if test -z "$CC"; then
11961 # Extract the first word of "cc", so it can be a program name with args.
11962 set dummy cc
; ac_word
=$2
11963 echo "$as_me:$LINENO: checking for $ac_word" >&5
11964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11965 if test "${ac_cv_prog_CC+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 if test -n "$CC"; then
11969 ac_cv_prog_CC
="$CC" # Let the user override the test.
11971 ac_prog_rejected
=no
11972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11973 for as_dir
in $PATH
11976 test -z "$as_dir" && as_dir
=.
11977 for ac_exec_ext
in '' $ac_executable_extensions; do
11978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11980 ac_prog_rejected
=yes
11984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11990 if test $ac_prog_rejected = yes; then
11991 # We found a bogon in the path, so make sure we never use it.
11992 set dummy
$ac_cv_prog_CC
11994 if test $# != 0; then
11995 # We chose a different compiler from the bogus one.
11996 # However, it has the same basename, so the bogon will be chosen
11997 # first if we set CC to just the basename; use the full file name.
11999 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12005 if test -n "$CC"; then
12006 echo "$as_me:$LINENO: result: $CC" >&5
12007 echo "${ECHO_T}$CC" >&6
12009 echo "$as_me:$LINENO: result: no" >&5
12010 echo "${ECHO_T}no" >&6
12014 if test -z "$CC"; then
12015 if test -n "$ac_tool_prefix"; then
12018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12019 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12020 echo "$as_me:$LINENO: checking for $ac_word" >&5
12021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12022 if test "${ac_cv_prog_CC+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 if test -n "$CC"; then
12026 ac_cv_prog_CC
="$CC" # Let the user override the test.
12028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12029 for as_dir
in $PATH
12032 test -z "$as_dir" && as_dir
=.
12033 for ac_exec_ext
in '' $ac_executable_extensions; do
12034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12035 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 if test -n "$CC"; then
12046 echo "$as_me:$LINENO: result: $CC" >&5
12047 echo "${ECHO_T}$CC" >&6
12049 echo "$as_me:$LINENO: result: no" >&5
12050 echo "${ECHO_T}no" >&6
12053 test -n "$CC" && break
12056 if test -z "$CC"; then
12060 # Extract the first word of "$ac_prog", so it can be a program name with args.
12061 set dummy
$ac_prog; ac_word
=$2
12062 echo "$as_me:$LINENO: checking for $ac_word" >&5
12063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 if test -n "$ac_ct_CC"; then
12068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12071 for as_dir
in $PATH
12074 test -z "$as_dir" && as_dir
=.
12075 for ac_exec_ext
in '' $ac_executable_extensions; do
12076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12077 ac_cv_prog_ac_ct_CC
="$ac_prog"
12078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12087 if test -n "$ac_ct_CC"; then
12088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12089 echo "${ECHO_T}$ac_ct_CC" >&6
12091 echo "$as_me:$LINENO: result: no" >&5
12092 echo "${ECHO_T}no" >&6
12095 test -n "$ac_ct_CC" && break
12104 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12105 See \`config.log' for more details." >&5
12106 echo "$as_me: error: no acceptable C compiler found in \$PATH
12107 See \`config.log' for more details." >&2;}
12108 { (exit 1); exit 1; }; }
12110 # Provide some information about the compiler.
12111 echo "$as_me:$LINENO:" \
12112 "checking for C compiler version" >&5
12113 ac_compiler
=`set X $ac_compile; echo $2`
12114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12115 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }
12119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12120 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }
12124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12125 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }
12130 cat >conftest.
$ac_ext <<_ACEOF
12133 cat confdefs.h
>>conftest.
$ac_ext
12134 cat >>conftest.
$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12145 ac_clean_files_save
=$ac_clean_files
12146 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12147 # Try to create an executable without -o first, disregard a.out.
12148 # It will help us diagnose broken compilers, and finding out an intuition
12150 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12151 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12152 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12154 (eval $ac_link_default) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; then
12158 # Find the output, starting from the most likely. This scheme is
12159 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12162 # Be careful to initialize this variable, since it used to be cached.
12163 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12165 # b.out is created by i960 compilers.
12166 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12168 test -f "$ac_file" || continue
12170 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12173 # This is the source file.
12176 # We found the default executable, but exeext='' is most
12180 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12181 # FIXME: I believe we export ac_cv_exeext for Libtool,
12182 # but it would be cool to find out if it's true. Does anybody
12183 # maintain Libtool? --akim.
12184 export ac_cv_exeext
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12195 See \`config.log' for more details." >&5
12196 echo "$as_me: error: C compiler cannot create executables
12197 See \`config.log' for more details." >&2;}
12198 { (exit 77); exit 77; }; }
12201 ac_exeext
=$ac_cv_exeext
12202 echo "$as_me:$LINENO: result: $ac_file" >&5
12203 echo "${ECHO_T}$ac_file" >&6
12205 # Check the compiler produces executables we can run. If not, either
12206 # the compiler is broken, or we cross compile.
12207 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12208 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12209 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12210 # If not cross compiling, check that we can run a simple program.
12211 if test "$cross_compiling" != yes; then
12212 if { ac_try
='./$ac_file'
12213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214 (eval $ac_try) 2>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; }; then
12220 if test "$cross_compiling" = maybe
; then
12221 cross_compiling
=yes
12223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12224 If you meant to cross compile, use \`--host'.
12225 See \`config.log' for more details." >&5
12226 echo "$as_me: error: cannot run C compiled programs.
12227 If you meant to cross compile, use \`--host'.
12228 See \`config.log' for more details." >&2;}
12229 { (exit 1); exit 1; }; }
12233 echo "$as_me:$LINENO: result: yes" >&5
12234 echo "${ECHO_T}yes" >&6
12236 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12237 ac_clean_files
=$ac_clean_files_save
12238 # Check the compiler produces executables we can run. If not, either
12239 # the compiler is broken, or we cross compile.
12240 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12242 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12243 echo "${ECHO_T}$cross_compiling" >&6
12245 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12248 (eval $ac_link) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; then
12252 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12253 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12254 # work properly (i.e., refer to `conftest.exe'), while it won't with
12256 for ac_file
in conftest.exe conftest conftest.
*; do
12257 test -f "$ac_file" || continue
12259 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12261 export ac_cv_exeext
12267 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12268 See \`config.log' for more details." >&5
12269 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12270 See \`config.log' for more details." >&2;}
12271 { (exit 1); exit 1; }; }
12274 rm -f conftest
$ac_cv_exeext
12275 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12276 echo "${ECHO_T}$ac_cv_exeext" >&6
12278 rm -f conftest.
$ac_ext
12279 EXEEXT
=$ac_cv_exeext
12281 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12282 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12283 if test "${ac_cv_objext+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 cat >conftest.
$ac_ext <<_ACEOF
12289 cat confdefs.h
>>conftest.
$ac_ext
12290 cat >>conftest.
$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12301 rm -f conftest.o conftest.obj
12302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12303 (eval $ac_compile) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; then
12307 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12309 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12310 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12315 echo "$as_me: failed program was:" >&5
12316 sed 's/^/| /' conftest.
$ac_ext >&5
12318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12319 See \`config.log' for more details." >&5
12320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12321 See \`config.log' for more details." >&2;}
12322 { (exit 1); exit 1; }; }
12325 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12328 echo "${ECHO_T}$ac_cv_objext" >&6
12329 OBJEXT
=$ac_cv_objext
12331 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12332 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12333 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 cat >conftest.
$ac_ext <<_ACEOF
12339 cat confdefs.h
>>conftest.
$ac_ext
12340 cat >>conftest.
$ac_ext <<_ACEOF
12341 /* end confdefs.h. */
12354 rm -f conftest.
$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 ac_compiler_gnu
=yes
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.
$ac_ext >&5
12382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12383 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12386 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12387 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12388 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12389 ac_test_CFLAGS
=${CFLAGS+set}
12390 ac_save_CFLAGS
=$CFLAGS
12392 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12394 if test "${ac_cv_prog_cc_g+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 cat >conftest.
$ac_ext <<_ACEOF
12400 cat confdefs.h
>>conftest.
$ac_ext
12401 cat >>conftest.
$ac_ext <<_ACEOF
12402 /* end confdefs.h. */
12412 rm -f conftest.
$ac_objext
12413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12414 (eval $ac_compile) 2>conftest.er1
12416 grep -v '^ *+' conftest.er1
>conftest.err
12418 cat conftest.err
>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } &&
12421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try
='test -s conftest.$ac_objext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
12433 ac_cv_prog_cc_g
=yes
12435 echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.
$ac_ext >&5
12440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12442 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12443 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12444 if test "$ac_test_CFLAGS" = set; then
12445 CFLAGS
=$ac_save_CFLAGS
12446 elif test $ac_cv_prog_cc_g = yes; then
12447 if test "$GCC" = yes; then
12453 if test "$GCC" = yes; then
12459 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12460 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12461 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 ac_cv_prog_cc_stdc
=no
12466 cat >conftest.
$ac_ext <<_ACEOF
12469 cat confdefs.h
>>conftest.
$ac_ext
12470 cat >>conftest.
$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12472 #include <stdarg.h>
12474 #include <sys/types.h>
12475 #include <sys/stat.h>
12476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12477 struct buf { int x; };
12478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12479 static char *e (p, i)
12485 static char *f (char * (*g) (char **, int), char **p, ...)
12490 s = g (p, va_arg (v,int));
12495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12496 function prototypes and stuff, but not '\xHH' hex character constants.
12497 These don't provoke an error unfortunately, instead are silently treated
12498 as 'x'. The following induces an error, until -std1 is added to get
12499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12500 array size at least. It's necessary to write '\x00'==0 to get something
12501 that's true only with -std1. */
12502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12504 int test (int i, double x);
12505 struct s1 {int (*f) (int a);};
12506 struct s2 {int (*f) (double a);};
12507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12518 # Don't try gcc -ansi; that turns off useful extensions and
12519 # breaks some systems' header files.
12520 # AIX -qlanglvl=ansi
12521 # Ultrix and OSF/1 -std1
12522 # HP-UX 10.20 and later -Ae
12523 # HP-UX older versions -Aa -D_HPUX_SOURCE
12524 # SVR4 -Xc -D__EXTENSIONS__
12525 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12527 CC
="$ac_save_CC $ac_arg"
12528 rm -f conftest.
$ac_objext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12530 (eval $ac_compile) 2>conftest.er1
12532 grep -v '^ *+' conftest.er1
>conftest.err
12534 cat conftest.err
>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try
='test -s conftest.$ac_objext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_cv_prog_cc_stdc
=$ac_arg
12552 echo "$as_me: failed program was:" >&5
12553 sed 's/^/| /' conftest.
$ac_ext >&5
12556 rm -f conftest.err conftest.
$ac_objext
12558 rm -f conftest.
$ac_ext conftest.
$ac_objext
12563 case "x$ac_cv_prog_cc_stdc" in
12565 echo "$as_me:$LINENO: result: none needed" >&5
12566 echo "${ECHO_T}none needed" >&6 ;;
12568 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12569 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12570 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12573 # Some people use a C++ compiler to compile C. Since we use `exit',
12574 # in C++ we need to declare it. In case someone uses the same compiler
12575 # for both compiling C and C++ we need to have the C++ compiler decide
12576 # the declaration of exit, since it's the most demanding environment.
12577 cat >conftest.
$ac_ext <<_ACEOF
12578 #ifndef __cplusplus
12582 rm -f conftest.
$ac_objext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12584 (eval $ac_compile) 2>conftest.er1
12586 grep -v '^ *+' conftest.er1
>conftest.err
12588 cat conftest.err
>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } &&
12591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; } &&
12597 { ac_try
='test -s conftest.$ac_objext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 for ac_declaration
in \
12605 'extern "C" void std::exit (int) throw (); using std::exit;' \
12606 'extern "C" void std::exit (int); using std::exit;' \
12607 'extern "C" void exit (int) throw ();' \
12608 'extern "C" void exit (int);' \
12611 cat >conftest.
$ac_ext <<_ACEOF
12614 cat confdefs.h
>>conftest.
$ac_ext
12615 cat >>conftest.
$ac_ext <<_ACEOF
12616 /* end confdefs.h. */
12618 #include <stdlib.h>
12627 rm -f conftest.
$ac_objext
12628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12629 (eval $ac_compile) 2>conftest.er1
12631 grep -v '^ *+' conftest.er1
>conftest.err
12633 cat conftest.err
>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); } &&
12636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12638 (eval $ac_try) 2>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); }; } &&
12642 { ac_try
='test -s conftest.$ac_objext'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; }; then
12650 echo "$as_me: failed program was:" >&5
12651 sed 's/^/| /' conftest.
$ac_ext >&5
12655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12656 cat >conftest.
$ac_ext <<_ACEOF
12659 cat confdefs.h
>>conftest.
$ac_ext
12660 cat >>conftest.
$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12671 rm -f conftest.
$ac_objext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12673 (eval $ac_compile) 2>conftest.er1
12675 grep -v '^ *+' conftest.er1
>conftest.err
12677 cat conftest.err
>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try
='test -s conftest.$ac_objext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12701 if test -n "$ac_declaration"; then
12702 echo '#ifdef __cplusplus' >>confdefs.h
12703 echo $ac_declaration >>confdefs.h
12704 echo '#endif' >>confdefs.h
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.
$ac_ext >&5
12712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12714 ac_cpp
='$CPP $CPPFLAGS'
12715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12722 ac_cpp
='$CPP $CPPFLAGS'
12723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12727 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12728 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12729 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 cat >conftest.
$ac_ext <<_ACEOF
12735 cat confdefs.h
>>conftest.
$ac_ext
12736 cat >>conftest.
$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12743 #ifndef __INTEL_COMPILER
12751 rm -f conftest.
$ac_objext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12753 (eval $ac_compile) 2>conftest.er1
12755 grep -v '^ *+' conftest.er1
>conftest.err
12757 cat conftest.err
>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } &&
12760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try
='test -s conftest.$ac_objext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.
$ac_ext >&5
12777 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12784 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12785 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12787 ac_cpp
='$CPP $CPPFLAGS'
12788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12792 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12799 if test "x$GCC" != "xyes"; then
12800 if test "xCC" = "xC"; then
12801 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12802 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12803 if test "${bakefile_cv_c_exto+set}" = set; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 cat >conftest.
$ac_ext <<_ACEOF
12809 cat confdefs.h
>>conftest.
$ac_ext
12810 cat >>conftest.
$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12821 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; then
12827 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12829 conftest.
$ac_ext.o
)
12830 bakefile_cv_c_exto
="-ext o"
12837 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12838 See \`config.log' for more details." >&5
12839 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12840 See \`config.log' for more details." >&2;}
12841 { (exit 1); exit 1; }; }
12845 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12848 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12849 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12850 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12851 if test "c" = "c"; then
12852 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12854 if test "c" = "cxx"; then
12855 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12859 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12860 unset ac_cv_prog_cc_g
12861 ac_test_CFLAGS
=${CFLAGS+set}
12862 ac_save_CFLAGS
=$CFLAGS
12864 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12865 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12866 if test "${ac_cv_prog_cc_g+set}" = set; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 cat >conftest.
$ac_ext <<_ACEOF
12872 cat confdefs.h
>>conftest.
$ac_ext
12873 cat >>conftest.
$ac_ext <<_ACEOF
12874 /* end confdefs.h. */
12884 rm -f conftest.
$ac_objext
12885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12886 (eval $ac_compile) 2>conftest.er1
12888 grep -v '^ *+' conftest.er1
>conftest.err
12890 cat conftest.err
>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); } &&
12893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; } &&
12899 { ac_try
='test -s conftest.$ac_objext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_cv_prog_cc_g
=yes
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.
$ac_ext >&5
12912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12914 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12915 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12916 if test "$ac_test_CFLAGS" = set; then
12917 CFLAGS
=$ac_save_CFLAGS
12918 elif test $ac_cv_prog_cc_g = yes; then
12919 if test "$GCC" = yes; then
12925 if test "$GCC" = yes; then
12937 ac_cpp
='$CPP $CPPFLAGS'
12938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12942 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12943 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12944 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 cat >conftest.
$ac_ext <<_ACEOF
12950 cat confdefs.h
>>conftest.
$ac_ext
12951 cat >>conftest.
$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12965 rm -f conftest.
$ac_objext
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>conftest.er1
12969 grep -v '^ *+' conftest.er1
>conftest.err
12971 cat conftest.err
>&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } &&
12974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12976 (eval $ac_try) 2>&5
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); }; } &&
12980 { ac_try
='test -s conftest.$ac_objext'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; }; then
12986 bakefile_compiler_xlc
=yes
12988 echo "$as_me: failed program was:" >&5
12989 sed 's/^/| /' conftest.
$ac_ext >&5
12991 bakefile_compiler_xlc
=no
12993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12994 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12997 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12998 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13000 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13002 ac_cpp
='$CPP $CPPFLAGS'
13003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13012 ac_cpp
='$CPP $CPPFLAGS'
13013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13017 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13018 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13019 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 cat >conftest.
$ac_ext <<_ACEOF
13025 cat confdefs.h
>>conftest.
$ac_ext
13026 cat >>conftest.
$ac_ext <<_ACEOF
13027 /* end confdefs.h. */
13040 rm -f conftest.
$ac_objext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13042 (eval $ac_compile) 2>conftest.er1
13044 grep -v '^ *+' conftest.er1
>conftest.err
13046 cat conftest.err
>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; } &&
13055 { ac_try
='test -s conftest.$ac_objext'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; }; then
13061 bakefile_compiler_mwerks
=yes
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.
$ac_ext >&5
13066 bakefile_compiler_mwerks
=no
13068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13069 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13072 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13073 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13075 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13077 ac_cpp
='$CPP $CPPFLAGS'
13078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13084 ac_cpp
='$CPP $CPPFLAGS'
13085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13089 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13090 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13091 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 cat >conftest.
$ac_ext <<_ACEOF
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13112 rm -f conftest.
$ac_objext
13113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13114 (eval $ac_compile) 2>conftest.er1
13116 grep -v '^ *+' conftest.er1
>conftest.err
13118 cat conftest.err
>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } &&
13121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; } &&
13127 { ac_try
='test -s conftest.$ac_objext'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; }; then
13133 bakefile_compiler_xlc
=yes
13135 echo "$as_me: failed program was:" >&5
13136 sed 's/^/| /' conftest.
$ac_ext >&5
13138 bakefile_compiler_xlc
=no
13140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13141 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13144 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13145 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13147 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13149 ac_cpp
='$CPP $CPPFLAGS'
13150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13161 ac_cpp
='$CPP $CPPFLAGS'
13162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13166 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13167 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13168 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13169 echo $ECHO_N "(cached) $ECHO_C" >&6
13171 cat >conftest.
$ac_ext <<_ACEOF
13174 cat confdefs.h
>>conftest.
$ac_ext
13175 cat >>conftest.
$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13182 #ifndef _SGI_COMPILER_VERSION
13190 rm -f conftest.
$ac_objext
13191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13192 (eval $ac_compile) 2>conftest.er1
13194 grep -v '^ *+' conftest.er1
>conftest.err
13196 cat conftest.err
>&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); } &&
13199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; } &&
13205 { ac_try
='test -s conftest.$ac_objext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13211 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.
$ac_ext >&5
13216 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13223 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13224 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13226 ac_cpp
='$CPP $CPPFLAGS'
13227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13231 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13244 ac_cpp
='$CPP $CPPFLAGS'
13245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13249 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13250 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13251 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 cat >conftest.
$ac_ext <<_ACEOF
13257 cat confdefs.h
>>conftest.
$ac_ext
13258 cat >>conftest.
$ac_ext <<_ACEOF
13259 /* end confdefs.h. */
13273 rm -f conftest.
$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>conftest.er1
13277 grep -v '^ *+' conftest.er1
>conftest.err
13279 cat conftest.err
>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13284 (eval $ac_try) 2>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; } &&
13288 { ac_try
='test -s conftest.$ac_objext'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; }; then
13294 bakefile_cv_c_compiler___HP_cc
=yes
13296 echo "$as_me: failed program was:" >&5
13297 sed 's/^/| /' conftest.
$ac_ext >&5
13299 bakefile_cv_c_compiler___HP_cc
=no
13302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13306 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13307 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13309 ac_cpp
='$CPP $CPPFLAGS'
13310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13314 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13327 ac_cpp
='$CPP $CPPFLAGS'
13328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13332 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13333 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13334 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 cat >conftest.
$ac_ext <<_ACEOF
13340 cat confdefs.h
>>conftest.
$ac_ext
13341 cat >>conftest.
$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13356 rm -f conftest.
$ac_objext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358 (eval $ac_compile) 2>conftest.er1
13360 grep -v '^ *+' conftest.er1
>conftest.err
13362 cat conftest.err
>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try
='test -s conftest.$ac_objext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 bakefile_cv_c_compiler___DECC
=yes
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.
$ac_ext >&5
13382 bakefile_cv_c_compiler___DECC
=no
13385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13389 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13390 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13392 ac_cpp
='$CPP $CPPFLAGS'
13393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13397 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13410 ac_cpp
='$CPP $CPPFLAGS'
13411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13415 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13416 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13417 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 cat >conftest.
$ac_ext <<_ACEOF
13423 cat confdefs.h
>>conftest.
$ac_ext
13424 cat >>conftest.
$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13439 rm -f conftest.
$ac_objext
13440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13441 (eval $ac_compile) 2>conftest.er1
13443 grep -v '^ *+' conftest.er1
>conftest.err
13445 cat conftest.err
>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } &&
13448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; } &&
13454 { ac_try
='test -s conftest.$ac_objext'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; }; then
13460 bakefile_cv_c_compiler___SUNPRO_C
=yes
13462 echo "$as_me: failed program was:" >&5
13463 sed 's/^/| /' conftest.
$ac_ext >&5
13465 bakefile_cv_c_compiler___SUNPRO_C
=no
13468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13472 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13473 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13475 ac_cpp
='$CPP $CPPFLAGS'
13476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13480 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13494 ac_cpp
='$CPP $CPPFLAGS'
13495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13498 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13499 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13500 # On Suns, sometimes $CPP names a directory.
13501 if test -n "$CPP" && test -d "$CPP"; then
13504 if test -z "$CPP"; then
13505 if test "${ac_cv_prog_CPP+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 # Double quotes because CPP needs to be expanded
13509 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13511 ac_preproc_ok
=false
13512 for ac_c_preproc_warn_flag
in '' yes
13514 # Use a header file that comes with gcc, so configuring glibc
13515 # with a fresh cross-compiler works.
13516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13517 # <limits.h> exists even on freestanding compilers.
13518 # On the NeXT, cc -E runs the code through the compiler's parser,
13519 # not just through cpp. "Syntax error" is here to catch this case.
13520 cat >conftest.
$ac_ext <<_ACEOF
13523 cat confdefs.h
>>conftest.
$ac_ext
13524 cat >>conftest.
$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13527 # include <limits.h>
13529 # include <assert.h>
13533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13536 grep -v '^ *+' conftest.er1
>conftest.err
13538 cat conftest.err
>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } >/dev
/null
; then
13541 if test -s conftest.err
; then
13542 ac_cpp_err
=$ac_c_preproc_warn_flag
13543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13550 if test -z "$ac_cpp_err"; then
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.
$ac_ext >&5
13556 # Broken: fails on valid input.
13559 rm -f conftest.err conftest.
$ac_ext
13561 # OK, works on sane cases. Now check whether non-existent headers
13562 # can be detected and how.
13563 cat >conftest.
$ac_ext <<_ACEOF
13566 cat confdefs.h
>>conftest.
$ac_ext
13567 cat >>conftest.
$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13569 #include <ac_nonexistent.h>
13571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13574 grep -v '^ *+' conftest.er1
>conftest.err
13576 cat conftest.err
>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } >/dev
/null
; then
13579 if test -s conftest.err
; then
13580 ac_cpp_err
=$ac_c_preproc_warn_flag
13581 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13588 if test -z "$ac_cpp_err"; then
13589 # Broken: success on invalid input.
13592 echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.
$ac_ext >&5
13595 # Passes both tests.
13599 rm -f conftest.err conftest.
$ac_ext
13602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13603 rm -f conftest.err conftest.
$ac_ext
13604 if $ac_preproc_ok; then
13609 ac_cv_prog_CPP
=$CPP
13612 CPP
=$ac_cv_prog_CPP
13614 ac_cv_prog_CPP
=$CPP
13616 echo "$as_me:$LINENO: result: $CPP" >&5
13617 echo "${ECHO_T}$CPP" >&6
13618 ac_preproc_ok
=false
13619 for ac_c_preproc_warn_flag
in '' yes
13621 # Use a header file that comes with gcc, so configuring glibc
13622 # with a fresh cross-compiler works.
13623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13624 # <limits.h> exists even on freestanding compilers.
13625 # On the NeXT, cc -E runs the code through the compiler's parser,
13626 # not just through cpp. "Syntax error" is here to catch this case.
13627 cat >conftest.
$ac_ext <<_ACEOF
13630 cat confdefs.h
>>conftest.
$ac_ext
13631 cat >>conftest.
$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 # include <limits.h>
13636 # include <assert.h>
13640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13643 grep -v '^ *+' conftest.er1
>conftest.err
13645 cat conftest.err
>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } >/dev
/null
; then
13648 if test -s conftest.err
; then
13649 ac_cpp_err
=$ac_c_preproc_warn_flag
13650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13657 if test -z "$ac_cpp_err"; then
13660 echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.
$ac_ext >&5
13663 # Broken: fails on valid input.
13666 rm -f conftest.err conftest.
$ac_ext
13668 # OK, works on sane cases. Now check whether non-existent headers
13669 # can be detected and how.
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676 #include <ac_nonexistent.h>
13678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13681 grep -v '^ *+' conftest.er1
>conftest.err
13683 cat conftest.err
>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } >/dev
/null
; then
13686 if test -s conftest.err
; then
13687 ac_cpp_err
=$ac_c_preproc_warn_flag
13688 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13695 if test -z "$ac_cpp_err"; then
13696 # Broken: success on invalid input.
13699 echo "$as_me: failed program was:" >&5
13700 sed 's/^/| /' conftest.
$ac_ext >&5
13702 # Passes both tests.
13706 rm -f conftest.err conftest.
$ac_ext
13709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13710 rm -f conftest.err conftest.
$ac_ext
13711 if $ac_preproc_ok; then
13714 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13715 See \`config.log' for more details." >&5
13716 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13717 See \`config.log' for more details." >&2;}
13718 { (exit 1); exit 1; }; }
13722 ac_cpp
='$CPP $CPPFLAGS'
13723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13728 echo "$as_me:$LINENO: checking for egrep" >&5
13729 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13730 if test "${ac_cv_prog_egrep+set}" = set; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13733 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13734 then ac_cv_prog_egrep
='grep -E'
13735 else ac_cv_prog_egrep
='egrep'
13738 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13739 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13740 EGREP
=$ac_cv_prog_egrep
13743 if test $ac_cv_c_compiler_gnu = yes; then
13744 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13745 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13746 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 ac_pattern
="Autoconf.*'x'"
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13760 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13761 ac_cv_prog_gcc_traditional
=yes
13763 ac_cv_prog_gcc_traditional
=no
13768 if test $ac_cv_prog_gcc_traditional = no
; then
13769 cat >conftest.
$ac_ext <<_ACEOF
13772 cat confdefs.h
>>conftest.
$ac_ext
13773 cat >>conftest.
$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 #include <termio.h>
13778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13779 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13780 ac_cv_prog_gcc_traditional
=yes
13786 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13787 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13788 if test $ac_cv_prog_gcc_traditional = yes; then
13789 CC
="$CC -traditional"
13795 ac_cpp
='$CXXCPP $CPPFLAGS'
13796 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13797 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13798 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13801 CXXFLAGS
=${CXXFLAGS:=}
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
13810 if test -n "$ac_tool_prefix"; then
13811 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13814 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13815 echo "$as_me:$LINENO: checking for $ac_word" >&5
13816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13817 if test "${ac_cv_prog_CXX+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 if test -n "$CXX"; then
13821 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13824 for as_dir
in $PATH
13827 test -z "$as_dir" && as_dir
=.
13828 for ac_exec_ext
in '' $ac_executable_extensions; do
13829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13830 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13839 CXX
=$ac_cv_prog_CXX
13840 if test -n "$CXX"; then
13841 echo "$as_me:$LINENO: result: $CXX" >&5
13842 echo "${ECHO_T}$CXX" >&6
13844 echo "$as_me:$LINENO: result: no" >&5
13845 echo "${ECHO_T}no" >&6
13848 test -n "$CXX" && break
13851 if test -z "$CXX"; then
13853 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13855 # Extract the first word of "$ac_prog", so it can be a program name with args.
13856 set dummy
$ac_prog; ac_word
=$2
13857 echo "$as_me:$LINENO: checking for $ac_word" >&5
13858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13859 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 if test -n "$ac_ct_CXX"; then
13863 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13866 for as_dir
in $PATH
13869 test -z "$as_dir" && as_dir
=.
13870 for ac_exec_ext
in '' $ac_executable_extensions; do
13871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13872 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13881 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13882 if test -n "$ac_ct_CXX"; then
13883 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13884 echo "${ECHO_T}$ac_ct_CXX" >&6
13886 echo "$as_me:$LINENO: result: no" >&5
13887 echo "${ECHO_T}no" >&6
13890 test -n "$ac_ct_CXX" && break
13892 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13898 # Provide some information about the compiler.
13899 echo "$as_me:$LINENO:" \
13900 "checking for C++ compiler version" >&5
13901 ac_compiler
=`set X $ac_compile; echo $2`
13902 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13903 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }
13907 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13908 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }
13912 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13913 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }
13918 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13919 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13920 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 cat >conftest.
$ac_ext <<_ACEOF
13926 cat confdefs.h
>>conftest.
$ac_ext
13927 cat >>conftest.
$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13941 rm -f conftest.
$ac_objext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13943 (eval $ac_compile) 2>conftest.er1
13945 grep -v '^ *+' conftest.er1
>conftest.err
13947 cat conftest.err
>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } &&
13950 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; } &&
13956 { ac_try
='test -s conftest.$ac_objext'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; }; then
13962 ac_compiler_gnu
=yes
13964 echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.
$ac_ext >&5
13969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13970 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13973 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13974 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13975 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13976 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13977 ac_save_CXXFLAGS
=$CXXFLAGS
13979 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13980 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13981 if test "${ac_cv_prog_cxx_g+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 cat >conftest.
$ac_ext <<_ACEOF
13987 cat confdefs.h
>>conftest.
$ac_ext
13988 cat >>conftest.
$ac_ext <<_ACEOF
13989 /* end confdefs.h. */
13999 rm -f conftest.
$ac_objext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001 (eval $ac_compile) 2>conftest.er1
14003 grep -v '^ *+' conftest.er1
>conftest.err
14005 cat conftest.err
>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } &&
14008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; } &&
14014 { ac_try
='test -s conftest.$ac_objext'
14015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14016 (eval $ac_try) 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; }; then
14020 ac_cv_prog_cxx_g
=yes
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.
$ac_ext >&5
14025 ac_cv_prog_cxx_g
=no
14027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14029 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14030 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14031 if test "$ac_test_CXXFLAGS" = set; then
14032 CXXFLAGS
=$ac_save_CXXFLAGS
14033 elif test $ac_cv_prog_cxx_g = yes; then
14034 if test "$GXX" = yes; then
14040 if test "$GXX" = yes; then
14046 for ac_declaration
in \
14048 'extern "C" void std::exit (int) throw (); using std::exit;' \
14049 'extern "C" void std::exit (int); using std::exit;' \
14050 'extern "C" void exit (int) throw ();' \
14051 'extern "C" void exit (int);' \
14054 cat >conftest.
$ac_ext <<_ACEOF
14057 cat confdefs.h
>>conftest.
$ac_ext
14058 cat >>conftest.
$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14061 #include <stdlib.h>
14070 rm -f conftest.
$ac_objext
14071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14072 (eval $ac_compile) 2>conftest.er1
14074 grep -v '^ *+' conftest.er1
>conftest.err
14076 cat conftest.err
>&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } &&
14079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; } &&
14085 { ac_try
='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.
$ac_ext >&5
14098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14099 cat >conftest.
$ac_ext <<_ACEOF
14102 cat confdefs.h
>>conftest.
$ac_ext
14103 cat >>conftest.
$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14114 rm -f conftest.
$ac_objext
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>conftest.er1
14118 grep -v '^ *+' conftest.er1
>conftest.err
14120 cat conftest.err
>&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); } &&
14123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125 (eval $ac_try) 2>&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; } &&
14129 { ac_try
='test -s conftest.$ac_objext'
14130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14131 (eval $ac_try) 2>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; }; then
14137 echo "$as_me: failed program was:" >&5
14138 sed 's/^/| /' conftest.
$ac_ext >&5
14141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14144 if test -n "$ac_declaration"; then
14145 echo '#ifdef __cplusplus' >>confdefs.h
14146 echo $ac_declaration >>confdefs.h
14147 echo '#endif' >>confdefs.h
14151 ac_cpp
='$CXXCPP $CPPFLAGS'
14152 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14153 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14154 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14159 ac_cpp
='$CXXCPP $CPPFLAGS'
14160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14164 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14165 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14166 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 cat >conftest.
$ac_ext <<_ACEOF
14172 cat confdefs.h
>>conftest.
$ac_ext
14173 cat >>conftest.
$ac_ext <<_ACEOF
14174 /* end confdefs.h. */
14180 #ifndef __INTEL_COMPILER
14188 rm -f conftest.
$ac_objext
14189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14190 (eval $ac_compile) 2>conftest.er1
14192 grep -v '^ *+' conftest.er1
>conftest.err
14194 cat conftest.err
>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } &&
14197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; } &&
14203 { ac_try
='test -s conftest.$ac_objext'
14204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14205 (eval $ac_try) 2>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); }; }; then
14209 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14211 echo "$as_me: failed program was:" >&5
14212 sed 's/^/| /' conftest.
$ac_ext >&5
14214 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14221 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14222 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14224 ac_cpp
='$CXXCPP $CPPFLAGS'
14225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14229 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14236 if test "x$GCXX" != "xyes"; then
14237 if test "xCXX" = "xC"; then
14238 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14239 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14240 if test "${bakefile_cv_cxx_exto+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14258 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; then
14264 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14266 conftest.
$ac_ext.o
)
14267 bakefile_cv_cxx_exto
="-ext o"
14274 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14275 See \`config.log' for more details." >&5
14276 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14277 See \`config.log' for more details." >&2;}
14278 { (exit 1); exit 1; }; }
14282 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14285 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14286 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14287 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14288 if test "cxx" = "c"; then
14289 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14291 if test "cxx" = "cxx"; then
14292 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14296 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14297 unset ac_cv_prog_cc_g
14298 ac_test_CFLAGS
=${CFLAGS+set}
14299 ac_save_CFLAGS
=$CFLAGS
14301 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14302 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14303 if test "${ac_cv_prog_cc_g+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 cat >conftest.
$ac_ext <<_ACEOF
14309 cat confdefs.h
>>conftest.
$ac_ext
14310 cat >>conftest.
$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14321 rm -f conftest.
$ac_objext
14322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14323 (eval $ac_compile) 2>conftest.er1
14325 grep -v '^ *+' conftest.er1
>conftest.err
14327 cat conftest.err
>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); } &&
14330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; } &&
14336 { ac_try
='test -s conftest.$ac_objext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 ac_cv_prog_cc_g
=yes
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.
$ac_ext >&5
14349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14351 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14352 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14353 if test "$ac_test_CFLAGS" = set; then
14354 CFLAGS
=$ac_save_CFLAGS
14355 elif test $ac_cv_prog_cc_g = yes; then
14356 if test "$GCC" = yes; then
14362 if test "$GCC" = yes; then
14374 ac_cpp
='$CXXCPP $CPPFLAGS'
14375 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14376 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14377 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14379 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14380 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14381 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14384 cat >conftest.
$ac_ext <<_ACEOF
14387 cat confdefs.h
>>conftest.
$ac_ext
14388 cat >>conftest.
$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14402 rm -f conftest.
$ac_objext
14403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14404 (eval $ac_compile) 2>conftest.er1
14406 grep -v '^ *+' conftest.er1
>conftest.err
14408 cat conftest.err
>&5
14409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 (exit $ac_status); } &&
14411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 (eval $ac_try) 2>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }; } &&
14417 { ac_try
='test -s conftest.$ac_objext'
14418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14419 (eval $ac_try) 2>&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); }; }; then
14423 bakefile_compiler_xlc
=yes
14425 echo "$as_me: failed program was:" >&5
14426 sed 's/^/| /' conftest.
$ac_ext >&5
14428 bakefile_compiler_xlc
=no
14430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14431 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14434 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14435 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14437 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14439 ac_cpp
='$CXXCPP $CPPFLAGS'
14440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14449 ac_cpp
='$CXXCPP $CPPFLAGS'
14450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14454 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14455 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14456 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 cat >conftest.
$ac_ext <<_ACEOF
14462 cat confdefs.h
>>conftest.
$ac_ext
14463 cat >>conftest.
$ac_ext <<_ACEOF
14464 /* end confdefs.h. */
14477 rm -f conftest.
$ac_objext
14478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14479 (eval $ac_compile) 2>conftest.er1
14481 grep -v '^ *+' conftest.er1
>conftest.err
14483 cat conftest.err
>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; } &&
14492 { ac_try
='test -s conftest.$ac_objext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 bakefile_compiler_mwerks
=yes
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.
$ac_ext >&5
14503 bakefile_compiler_mwerks
=no
14505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14506 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14509 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14510 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14512 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14514 ac_cpp
='$CXXCPP $CPPFLAGS'
14515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14521 ac_cpp
='$CXXCPP $CPPFLAGS'
14522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14526 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14527 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14528 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14529 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 cat >conftest.
$ac_ext <<_ACEOF
14534 cat confdefs.h
>>conftest.
$ac_ext
14535 cat >>conftest.
$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14549 rm -f conftest.
$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>conftest.er1
14553 grep -v '^ *+' conftest.er1
>conftest.err
14555 cat conftest.err
>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } &&
14558 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560 (eval $ac_try) 2>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); }; } &&
14564 { ac_try
='test -s conftest.$ac_objext'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; }; then
14570 bakefile_compiler_xlc
=yes
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.
$ac_ext >&5
14575 bakefile_compiler_xlc
=no
14577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14578 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14581 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14582 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14584 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14586 ac_cpp
='$CXXCPP $CPPFLAGS'
14587 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14588 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14589 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14598 ac_cpp
='$CXXCPP $CPPFLAGS'
14599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14603 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14604 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14605 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 cat >conftest.
$ac_ext <<_ACEOF
14611 cat confdefs.h
>>conftest.
$ac_ext
14612 cat >>conftest.
$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14619 #ifndef _SGI_COMPILER_VERSION
14627 rm -f conftest.
$ac_objext
14628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14629 (eval $ac_compile) 2>conftest.er1
14631 grep -v '^ *+' conftest.er1
>conftest.err
14633 cat conftest.err
>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; } &&
14642 { ac_try
='test -s conftest.$ac_objext'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14648 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14650 echo "$as_me: failed program was:" >&5
14651 sed 's/^/| /' conftest.
$ac_ext >&5
14653 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14660 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14661 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14663 ac_cpp
='$CXXCPP $CPPFLAGS'
14664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14668 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14681 ac_cpp
='$CXXCPP $CPPFLAGS'
14682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14686 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14687 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14688 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14691 cat >conftest.
$ac_ext <<_ACEOF
14694 cat confdefs.h
>>conftest.
$ac_ext
14695 cat >>conftest.
$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14710 rm -f conftest.
$ac_objext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14712 (eval $ac_compile) 2>conftest.er1
14714 grep -v '^ *+' conftest.er1
>conftest.err
14716 cat conftest.err
>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; } &&
14725 { ac_try
='test -s conftest.$ac_objext'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 bakefile_cv_cxx_compiler___HP_aCC
=yes
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.
$ac_ext >&5
14736 bakefile_cv_cxx_compiler___HP_aCC
=no
14739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14743 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14744 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14746 ac_cpp
='$CXXCPP $CPPFLAGS'
14747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14751 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14764 ac_cpp
='$CXXCPP $CPPFLAGS'
14765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14769 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14770 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14771 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 cat >conftest.
$ac_ext <<_ACEOF
14777 cat confdefs.h
>>conftest.
$ac_ext
14778 cat >>conftest.
$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14793 rm -f conftest.
$ac_objext
14794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14795 (eval $ac_compile) 2>conftest.er1
14797 grep -v '^ *+' conftest.er1
>conftest.err
14799 cat conftest.err
>&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } &&
14802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; } &&
14808 { ac_try
='test -s conftest.$ac_objext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 bakefile_cv_cxx_compiler___DECCXX
=yes
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.
$ac_ext >&5
14819 bakefile_cv_cxx_compiler___DECCXX
=no
14822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14826 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14827 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14829 ac_cpp
='$CXXCPP $CPPFLAGS'
14830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14834 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14847 ac_cpp
='$CXXCPP $CPPFLAGS'
14848 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14849 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14850 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14852 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14853 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14854 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 cat >conftest.
$ac_ext <<_ACEOF
14860 cat confdefs.h
>>conftest.
$ac_ext
14861 cat >>conftest.
$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14868 #ifndef __SUNPRO_CC
14876 rm -f conftest.
$ac_objext
14877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14878 (eval $ac_compile) 2>conftest.er1
14880 grep -v '^ *+' conftest.er1
>conftest.err
14882 cat conftest.err
>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try
='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14909 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14910 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14912 ac_cpp
='$CXXCPP $CPPFLAGS'
14913 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14914 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14915 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14917 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14930 if test -n "$ac_tool_prefix"; then
14931 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14932 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14933 echo "$as_me:$LINENO: checking for $ac_word" >&5
14934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14935 if test "${ac_cv_prog_RANLIB+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 if test -n "$RANLIB"; then
14939 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14942 for as_dir
in $PATH
14945 test -z "$as_dir" && as_dir
=.
14946 for ac_exec_ext
in '' $ac_executable_extensions; do
14947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14948 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14957 RANLIB
=$ac_cv_prog_RANLIB
14958 if test -n "$RANLIB"; then
14959 echo "$as_me:$LINENO: result: $RANLIB" >&5
14960 echo "${ECHO_T}$RANLIB" >&6
14962 echo "$as_me:$LINENO: result: no" >&5
14963 echo "${ECHO_T}no" >&6
14967 if test -z "$ac_cv_prog_RANLIB"; then
14968 ac_ct_RANLIB
=$RANLIB
14969 # Extract the first word of "ranlib", so it can be a program name with args.
14970 set dummy ranlib
; ac_word
=$2
14971 echo "$as_me:$LINENO: checking for $ac_word" >&5
14972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14973 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14974 echo $ECHO_N "(cached) $ECHO_C" >&6
14976 if test -n "$ac_ct_RANLIB"; then
14977 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14980 for as_dir
in $PATH
14983 test -z "$as_dir" && as_dir
=.
14984 for ac_exec_ext
in '' $ac_executable_extensions; do
14985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14986 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14993 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14996 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14997 if test -n "$ac_ct_RANLIB"; then
14998 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14999 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15001 echo "$as_me:$LINENO: result: no" >&5
15002 echo "${ECHO_T}no" >&6
15005 RANLIB
=$ac_ct_RANLIB
15007 RANLIB
="$ac_cv_prog_RANLIB"
15011 if test -n "$ac_tool_prefix"; then
15012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15013 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15014 echo "$as_me:$LINENO: checking for $ac_word" >&5
15015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15016 if test "${ac_cv_prog_AR+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 if test -n "$AR"; then
15020 ac_cv_prog_AR
="$AR" # Let the user override the test.
15022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15023 for as_dir
in $PATH
15026 test -z "$as_dir" && as_dir
=.
15027 for ac_exec_ext
in '' $ac_executable_extensions; do
15028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15029 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15039 if test -n "$AR"; then
15040 echo "$as_me:$LINENO: result: $AR" >&5
15041 echo "${ECHO_T}$AR" >&6
15043 echo "$as_me:$LINENO: result: no" >&5
15044 echo "${ECHO_T}no" >&6
15048 if test -z "$ac_cv_prog_AR"; then
15050 # Extract the first word of "ar", so it can be a program name with args.
15051 set dummy
ar; ac_word
=$2
15052 echo "$as_me:$LINENO: checking for $ac_word" >&5
15053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 if test -n "$ac_ct_AR"; then
15058 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15061 for as_dir
in $PATH
15064 test -z "$as_dir" && as_dir
=.
15065 for ac_exec_ext
in '' $ac_executable_extensions; do
15066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15067 ac_cv_prog_ac_ct_AR
="ar"
15068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15076 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15077 if test -n "$ac_ct_AR"; then
15078 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15079 echo "${ECHO_T}$ac_ct_AR" >&6
15081 echo "$as_me:$LINENO: result: no" >&5
15082 echo "${ECHO_T}no" >&6
15087 AR
="$ac_cv_prog_AR"
15090 if test "x$AR" = "x" ; then
15091 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15092 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15093 { (exit 1); exit 1; }; }
15096 # Find a good install program. We prefer a C program (faster),
15097 # so one script is as good as another. But avoid the broken or
15098 # incompatible versions:
15099 # SysV /etc/install, /usr/sbin/install
15100 # SunOS /usr/etc/install
15101 # IRIX /sbin/install
15103 # AmigaOS /C/install, which installs bootblocks on floppy discs
15104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15107 # OS/2's system install, which has a completely different semantic
15108 # ./install, which can be erroneously created by make from ./install.sh.
15109 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15110 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15111 if test -z "$INSTALL"; then
15112 if test "${ac_cv_path_install+set}" = set; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15116 for as_dir
in $PATH
15119 test -z "$as_dir" && as_dir
=.
15120 # Account for people who put trailing slashes in PATH elements.
15122 .
/ | .
// | /cC
/* | \
15123 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15124 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15127 # OSF1 and SCO ODT 3.0 have their own names for install.
15128 # Don't use installbsd from OSF since it installs stuff as root
15130 for ac_prog
in ginstall scoinst
install; do
15131 for ac_exec_ext
in '' $ac_executable_extensions; do
15132 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15133 if test $ac_prog = install &&
15134 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15135 # AIX install. It has an incompatible calling convention.
15137 elif test $ac_prog = install &&
15138 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15139 # program-specific install script used by HP pwplus--don't use.
15142 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15154 if test "${ac_cv_path_install+set}" = set; then
15155 INSTALL
=$ac_cv_path_install
15157 # As a last resort, use the slow shell script. We don't cache a
15158 # path for INSTALL within a source directory, because that will
15159 # break other packages using the cache if that directory is
15160 # removed, or if the path is relative.
15161 INSTALL
=$ac_install_sh
15164 echo "$as_me:$LINENO: result: $INSTALL" >&5
15165 echo "${ECHO_T}$INSTALL" >&6
15167 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15168 # It thinks the first close brace ends the variable substitution.
15169 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15171 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15173 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15179 ?
:* ) # Drive letter, considered as absolute.
15182 INSTALL
=`pwd`/${INSTALL} ;;
15189 INSTALL_PROGRAM
="cp -fp"
15190 INSTALL_DATA
="cp -fp"
15196 if test -n "$ac_tool_prefix"; then
15197 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15198 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15199 echo "$as_me:$LINENO: checking for $ac_word" >&5
15200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15201 if test "${ac_cv_prog_STRIP+set}" = set; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15204 if test -n "$STRIP"; then
15205 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15208 for as_dir
in $PATH
15211 test -z "$as_dir" && as_dir
=.
15212 for ac_exec_ext
in '' $ac_executable_extensions; do
15213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15214 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15223 STRIP
=$ac_cv_prog_STRIP
15224 if test -n "$STRIP"; then
15225 echo "$as_me:$LINENO: result: $STRIP" >&5
15226 echo "${ECHO_T}$STRIP" >&6
15228 echo "$as_me:$LINENO: result: no" >&5
15229 echo "${ECHO_T}no" >&6
15233 if test -z "$ac_cv_prog_STRIP"; then
15235 # Extract the first word of "strip", so it can be a program name with args.
15236 set dummy strip
; ac_word
=$2
15237 echo "$as_me:$LINENO: checking for $ac_word" >&5
15238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15239 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 if test -n "$ac_ct_STRIP"; then
15243 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15246 for as_dir
in $PATH
15249 test -z "$as_dir" && as_dir
=.
15250 for ac_exec_ext
in '' $ac_executable_extensions; do
15251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15252 ac_cv_prog_ac_ct_STRIP
="strip"
15253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15259 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15262 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15263 if test -n "$ac_ct_STRIP"; then
15264 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15265 echo "${ECHO_T}$ac_ct_STRIP" >&6
15267 echo "$as_me:$LINENO: result: no" >&5
15268 echo "${ECHO_T}no" >&6
15273 STRIP
="$ac_cv_prog_STRIP"
15277 if test "$wxUSE_WINE" = "yes"; then
15278 if test -n "$ac_tool_prefix"; then
15279 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15280 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15281 echo "$as_me:$LINENO: checking for $ac_word" >&5
15282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15283 if test "${ac_cv_prog_WINDRES+set}" = set; then
15284 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 if test -n "$WINDRES"; then
15287 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15290 for as_dir
in $PATH
15293 test -z "$as_dir" && as_dir
=.
15294 for ac_exec_ext
in '' $ac_executable_extensions; do
15295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15296 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15305 WINDRES
=$ac_cv_prog_WINDRES
15306 if test -n "$WINDRES"; then
15307 echo "$as_me:$LINENO: result: $WINDRES" >&5
15308 echo "${ECHO_T}$WINDRES" >&6
15310 echo "$as_me:$LINENO: result: no" >&5
15311 echo "${ECHO_T}no" >&6
15315 if test -z "$ac_cv_prog_WINDRES"; then
15316 ac_ct_WINDRES
=$WINDRES
15317 # Extract the first word of "wrc", so it can be a program name with args.
15318 set dummy wrc
; ac_word
=$2
15319 echo "$as_me:$LINENO: checking for $ac_word" >&5
15320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 if test -n "$ac_ct_WINDRES"; then
15325 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15328 for as_dir
in $PATH
15331 test -z "$as_dir" && as_dir
=.
15332 for ac_exec_ext
in '' $ac_executable_extensions; do
15333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15334 ac_cv_prog_ac_ct_WINDRES
="wrc"
15335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15343 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15344 if test -n "$ac_ct_WINDRES"; then
15345 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15346 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15348 echo "$as_me:$LINENO: result: no" >&5
15349 echo "${ECHO_T}no" >&6
15352 WINDRES
=$ac_ct_WINDRES
15354 WINDRES
="$ac_cv_prog_WINDRES"
15360 *-*-cygwin* | *-*-mingw32* )
15361 if test -n "$ac_tool_prefix"; then
15362 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15363 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15364 echo "$as_me:$LINENO: checking for $ac_word" >&5
15365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15366 if test "${ac_cv_prog_WINDRES+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 if test -n "$WINDRES"; then
15370 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15373 for as_dir
in $PATH
15376 test -z "$as_dir" && as_dir
=.
15377 for ac_exec_ext
in '' $ac_executable_extensions; do
15378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15379 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15388 WINDRES
=$ac_cv_prog_WINDRES
15389 if test -n "$WINDRES"; then
15390 echo "$as_me:$LINENO: result: $WINDRES" >&5
15391 echo "${ECHO_T}$WINDRES" >&6
15393 echo "$as_me:$LINENO: result: no" >&5
15394 echo "${ECHO_T}no" >&6
15398 if test -z "$ac_cv_prog_WINDRES"; then
15399 ac_ct_WINDRES
=$WINDRES
15400 # Extract the first word of "windres", so it can be a program name with args.
15401 set dummy windres
; ac_word
=$2
15402 echo "$as_me:$LINENO: checking for $ac_word" >&5
15403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15404 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 if test -n "$ac_ct_WINDRES"; then
15408 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15411 for as_dir
in $PATH
15414 test -z "$as_dir" && as_dir
=.
15415 for ac_exec_ext
in '' $ac_executable_extensions; do
15416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15417 ac_cv_prog_ac_ct_WINDRES
="windres"
15418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15426 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15427 if test -n "$ac_ct_WINDRES"; then
15428 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15429 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15431 echo "$as_me:$LINENO: result: no" >&5
15432 echo "${ECHO_T}no" >&6
15435 WINDRES
=$ac_ct_WINDRES
15437 WINDRES
="$ac_cv_prog_WINDRES"
15441 if test -n "$ac_tool_prefix"; then
15442 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15443 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15444 echo "$as_me:$LINENO: checking for $ac_word" >&5
15445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15446 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15447 echo $ECHO_N "(cached) $ECHO_C" >&6
15449 if test -n "$DLLTOOL"; then
15450 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15453 for as_dir
in $PATH
15456 test -z "$as_dir" && as_dir
=.
15457 for ac_exec_ext
in '' $ac_executable_extensions; do
15458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15459 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15468 DLLTOOL
=$ac_cv_prog_DLLTOOL
15469 if test -n "$DLLTOOL"; then
15470 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15471 echo "${ECHO_T}$DLLTOOL" >&6
15473 echo "$as_me:$LINENO: result: no" >&5
15474 echo "${ECHO_T}no" >&6
15478 if test -z "$ac_cv_prog_DLLTOOL"; then
15479 ac_ct_DLLTOOL
=$DLLTOOL
15480 # Extract the first word of "dlltool", so it can be a program name with args.
15481 set dummy dlltool
; ac_word
=$2
15482 echo "$as_me:$LINENO: checking for $ac_word" >&5
15483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15484 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15485 echo $ECHO_N "(cached) $ECHO_C" >&6
15487 if test -n "$ac_ct_DLLTOOL"; then
15488 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15491 for as_dir
in $PATH
15494 test -z "$as_dir" && as_dir
=.
15495 for ac_exec_ext
in '' $ac_executable_extensions; do
15496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15497 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15506 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15507 if test -n "$ac_ct_DLLTOOL"; then
15508 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15509 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15511 echo "$as_me:$LINENO: result: no" >&5
15512 echo "${ECHO_T}no" >&6
15515 DLLTOOL
=$ac_ct_DLLTOOL
15517 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15524 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15525 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15526 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15530 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15531 egrep -s GNU
> /dev
/null
); then
15532 wx_cv_prog_makeisgnu
="yes"
15534 wx_cv_prog_makeisgnu
="no"
15538 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15539 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15541 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15549 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15550 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15551 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15552 if test "${wx_cv_prog_makevpath+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 cat - << EOF > confMake
15562 if test ! -d sub
; then
15565 echo dummy
> sub
/file
15566 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15568 rm -f sub
/file check final_file confMake
15570 if test "$RESULT" = 0; then
15571 wx_cv_prog_makevpath
="yes"
15573 wx_cv_prog_makevpath
="no"
15577 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15578 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15580 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15581 { { echo "$as_me:$LINENO: error:
15582 You need a make-utility that is able to use the variable
15584 If your version of make does not support VPATH correctly,
15585 please install GNU-make (possibly as gmake), and start
15586 configure with the following command:
15587 export MAKE=gmake; ./configure for sh-type shells
15588 setenv MAKE gmake; ./configure for csh-type shells
15589 Also please do remember to use gmake in this case every time
15590 you are trying to compile.
15592 echo "$as_me: 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 { (exit 1); exit 1; }; }
15605 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15606 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15608 if test "$LN_S" = "ln -s"; then
15609 echo "$as_me:$LINENO: result: yes" >&5
15610 echo "${ECHO_T}yes" >&6
15612 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15613 echo "${ECHO_T}no, using $LN_S" >&6
15619 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15620 CXXFLAGS
="-qunique $CXXFLAGS"
15624 powerpc
-*-darwin* )
15625 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15626 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15627 cat >conftest.
$ac_ext <<_ACEOF
15630 cat confdefs.h
>>conftest.
$ac_ext
15631 cat >>conftest.
$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15637 #ifndef __POWERPC__
15638 choke me for lack of PowerPC
15645 rm -f conftest.
$ac_objext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 (eval $ac_compile) 2>conftest.er1
15649 grep -v '^ *+' conftest.er1
>conftest.err
15651 cat conftest.err
>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
15654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; } &&
15660 { ac_try
='test -s conftest.$ac_objext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 echo "$as_me:$LINENO: result: yes" >&5
15667 echo "${ECHO_T}yes" >&6
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.
$ac_ext >&5
15672 echo "$as_me:$LINENO: result: no" >&5
15673 echo "${ECHO_T}no" >&6
15674 cat >>confdefs.h
<<\_ACEOF
15675 #define __POWERPC__ 1
15680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15686 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15687 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15688 cat >conftest.
$ac_ext <<_ACEOF
15691 cat confdefs.h
>>conftest.
$ac_ext
15692 cat >>conftest.
$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694 #include <CoreFoundation/CFBase.h>
15704 rm -f conftest.
$ac_objext
15705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15706 (eval $ac_compile) 2>conftest.er1
15708 grep -v '^ *+' conftest.er1
>conftest.err
15710 cat conftest.err
>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); } &&
15713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try
='test -s conftest.$ac_objext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 echo "$as_me:$LINENO: result: yes" >&5
15726 echo "${ECHO_T}yes" >&6
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.
$ac_ext >&5
15731 echo "$as_me:$LINENO: result: no" >&5
15732 echo "${ECHO_T}no" >&6
15733 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15734 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15735 cat >conftest.
$ac_ext <<_ACEOF
15738 cat confdefs.h
>>conftest.
$ac_ext
15739 cat >>conftest.
$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15741 #define __CF_USE_FRAMEWORK_INCLUDES__
15742 #include <CoreFoundation/CFBase.h>
15752 rm -f conftest.
$ac_objext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15754 (eval $ac_compile) 2>conftest.er1
15756 grep -v '^ *+' conftest.er1
>conftest.err
15758 cat conftest.err
>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; } &&
15767 { ac_try
='test -s conftest.$ac_objext'
15768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769 (eval $ac_try) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; }; then
15773 echo "$as_me:$LINENO: result: yes" >&5
15774 echo "${ECHO_T}yes" >&6
15775 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.
$ac_ext >&5
15780 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15781 See \`config.log' for more details." >&5
15782 echo "$as_me: error: no. CoreFoundation not available.
15783 See \`config.log' for more details." >&2;}
15784 { (exit 1); exit 1; }; }
15787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15796 *-pc-os2_emx | *-pc-os2-emx )
15798 ac_cpp
='$CPP $CPPFLAGS'
15799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15803 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15804 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15805 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15806 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 ac_check_lib_save_LIBS
=$LIBS
15810 LIBS
="-lcExt $LIBS"
15811 cat >conftest.
$ac_ext <<_ACEOF
15814 cat confdefs.h
>>conftest.
$ac_ext
15815 cat >>conftest.
$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15818 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15833 rm -f conftest.
$ac_objext conftest
$ac_exeext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15835 (eval $ac_link) 2>conftest.er1
15837 grep -v '^ *+' conftest.er1
>conftest.err
15839 cat conftest.err
>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try
='test -s conftest$ac_exeext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 ac_cv_lib_cExt_drand48
=yes
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.
$ac_ext >&5
15859 ac_cv_lib_cExt_drand48
=no
15861 rm -f conftest.err conftest.
$ac_objext \
15862 conftest
$ac_exeext conftest.
$ac_ext
15863 LIBS
=$ac_check_lib_save_LIBS
15865 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15866 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15867 if test $ac_cv_lib_cExt_drand48 = yes; then
15868 LIBS
="$LIBS -lcExt"
15872 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15874 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15875 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15876 if test "${wx_cv_gccversion+set}" = set; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 if test "$cross_compiling" = yes; then
15881 wx_cv_gccversion
="EMX2"
15884 cat >conftest.
$ac_ext <<_ACEOF
15887 cat confdefs.h
>>conftest.
$ac_ext
15888 cat >>conftest.
$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15895 FILE *f=fopen("conftestval", "w");
15900 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15902 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15912 rm -f conftest
$ac_exeext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15914 (eval $ac_link) 2>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15923 wx_cv_gccversion
=`cat conftestval`
15925 echo "$as_me: program exited with status $ac_status" >&5
15926 echo "$as_me: failed program was:" >&5
15927 sed 's/^/| /' conftest.
$ac_ext >&5
15929 ( exit $ac_status )
15930 wx_cv_gccversion
="EMX2"
15932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15936 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15937 echo "${ECHO_T}$wx_cv_gccversion" >&6
15939 ac_cpp
='$CXXCPP $CPPFLAGS'
15940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15944 if test "$wx_cv_gccversion" = "EMX2"; then
15945 LIBS
="$LIBS -lstdcpp"
15946 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15948 if test "$wx_cv_gccversion" = "EMX3"; then
15949 LIBS
="$LIBS -lstdcxx -lgcc"
15950 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15952 LIBS
="$LIBS -lstdc++"
15955 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15956 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15957 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15964 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15965 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15966 if test "${ac_cv_string_strcasecmp+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 cat >conftest.
$ac_ext <<_ACEOF
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15977 #include <string.h>
15983 strcasecmp("foo", "bar");
15989 rm -f conftest.
$ac_objext conftest
$ac_exeext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15991 (eval $ac_link) 2>conftest.er1
15993 grep -v '^ *+' conftest.er1
>conftest.err
15995 cat conftest.err
>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try
='test -s conftest$ac_exeext'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16010 ac_cv_string_strcasecmp
=yes
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.
$ac_ext >&5
16015 ac_cv_string_strcasecmp
=no
16018 rm -f conftest.err conftest.
$ac_objext \
16019 conftest
$ac_exeext conftest.
$ac_ext
16022 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16023 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16025 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16026 cat >>confdefs.h
<<\_ACEOF
16027 #define HAVE_STRCASECMP_IN_STRING_H 1
16031 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16032 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16033 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 cat >conftest.
$ac_ext <<_ACEOF
16040 cat confdefs.h
>>conftest.
$ac_ext
16041 cat >>conftest.
$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16044 #include <strings.h>
16050 strcasecmp("foo", "bar");
16056 rm -f conftest.
$ac_objext conftest
$ac_exeext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16058 (eval $ac_link) 2>conftest.er1
16060 grep -v '^ *+' conftest.er1
>conftest.err
16062 cat conftest.err
>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; } &&
16071 { ac_try
='test -s conftest$ac_exeext'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 ac_cv_strings_strcasecmp
=yes
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.
$ac_ext >&5
16082 ac_cv_strings_strcasecmp
=no
16085 rm -f conftest.err conftest.
$ac_objext \
16086 conftest
$ac_exeext conftest.
$ac_ext
16089 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16090 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16092 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16093 cat >>confdefs.h
<<\_ACEOF
16094 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16098 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16099 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16100 { (exit 1); exit 1; }; }
16109 ac_cpp
='$CXXCPP $CPPFLAGS'
16110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16113 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16114 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16115 if test -z "$CXXCPP"; then
16116 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16117 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 # Double quotes because CXXCPP needs to be expanded
16120 for CXXCPP
in "$CXX -E" "/lib/cpp"
16122 ac_preproc_ok
=false
16123 for ac_cxx_preproc_warn_flag
in '' yes
16125 # Use a header file that comes with gcc, so configuring glibc
16126 # with a fresh cross-compiler works.
16127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16128 # <limits.h> exists even on freestanding compilers.
16129 # On the NeXT, cc -E runs the code through the compiler's parser,
16130 # not just through cpp. "Syntax error" is here to catch this case.
16131 cat >conftest.
$ac_ext <<_ACEOF
16134 cat confdefs.h
>>conftest.
$ac_ext
16135 cat >>conftest.
$ac_ext <<_ACEOF
16136 /* end confdefs.h. */
16138 # include <limits.h>
16140 # include <assert.h>
16144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16147 grep -v '^ *+' conftest.er1
>conftest.err
16149 cat conftest.err
>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); } >/dev
/null
; then
16152 if test -s conftest.err
; then
16153 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16154 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16161 if test -z "$ac_cpp_err"; then
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.
$ac_ext >&5
16167 # Broken: fails on valid input.
16170 rm -f conftest.err conftest.
$ac_ext
16172 # OK, works on sane cases. Now check whether non-existent headers
16173 # can be detected and how.
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 #include <ac_nonexistent.h>
16182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16185 grep -v '^ *+' conftest.er1
>conftest.err
16187 cat conftest.err
>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } >/dev
/null
; then
16190 if test -s conftest.err
; then
16191 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16192 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16199 if test -z "$ac_cpp_err"; then
16200 # Broken: success on invalid input.
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.
$ac_ext >&5
16206 # Passes both tests.
16210 rm -f conftest.err conftest.
$ac_ext
16213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16214 rm -f conftest.err conftest.
$ac_ext
16215 if $ac_preproc_ok; then
16220 ac_cv_prog_CXXCPP
=$CXXCPP
16223 CXXCPP
=$ac_cv_prog_CXXCPP
16225 ac_cv_prog_CXXCPP
=$CXXCPP
16227 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16228 echo "${ECHO_T}$CXXCPP" >&6
16229 ac_preproc_ok
=false
16230 for ac_cxx_preproc_warn_flag
in '' yes
16232 # Use a header file that comes with gcc, so configuring glibc
16233 # with a fresh cross-compiler works.
16234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16235 # <limits.h> exists even on freestanding compilers.
16236 # On the NeXT, cc -E runs the code through the compiler's parser,
16237 # not just through cpp. "Syntax error" is here to catch this case.
16238 cat >conftest.
$ac_ext <<_ACEOF
16241 cat confdefs.h
>>conftest.
$ac_ext
16242 cat >>conftest.
$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16245 # include <limits.h>
16247 # include <assert.h>
16251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16254 grep -v '^ *+' conftest.er1
>conftest.err
16256 cat conftest.err
>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); } >/dev
/null
; then
16259 if test -s conftest.err
; then
16260 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16261 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16268 if test -z "$ac_cpp_err"; then
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.
$ac_ext >&5
16274 # Broken: fails on valid input.
16277 rm -f conftest.err conftest.
$ac_ext
16279 # OK, works on sane cases. Now check whether non-existent headers
16280 # can be detected and how.
16281 cat >conftest.
$ac_ext <<_ACEOF
16284 cat confdefs.h
>>conftest.
$ac_ext
16285 cat >>conftest.
$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287 #include <ac_nonexistent.h>
16289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16292 grep -v '^ *+' conftest.er1
>conftest.err
16294 cat conftest.err
>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); } >/dev
/null
; then
16297 if test -s conftest.err
; then
16298 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16299 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16306 if test -z "$ac_cpp_err"; then
16307 # Broken: success on invalid input.
16310 echo "$as_me: failed program was:" >&5
16311 sed 's/^/| /' conftest.
$ac_ext >&5
16313 # Passes both tests.
16317 rm -f conftest.err conftest.
$ac_ext
16320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16321 rm -f conftest.err conftest.
$ac_ext
16322 if $ac_preproc_ok; then
16325 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16326 See \`config.log' for more details." >&5
16327 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16328 See \`config.log' for more details." >&2;}
16329 { (exit 1); exit 1; }; }
16333 ac_cpp
='$CXXCPP $CPPFLAGS'
16334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16339 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16340 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16341 if test "${ac_cv_header_stdc+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 cat >conftest.
$ac_ext <<_ACEOF
16347 cat confdefs.h
>>conftest.
$ac_ext
16348 cat >>conftest.
$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 #include <stdlib.h>
16351 #include <stdarg.h>
16352 #include <string.h>
16363 rm -f conftest.
$ac_objext
16364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16365 (eval $ac_compile) 2>conftest.er1
16367 grep -v '^ *+' conftest.er1
>conftest.err
16369 cat conftest.err
>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } &&
16372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; } &&
16378 { ac_try
='test -s conftest.$ac_objext'
16379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16380 (eval $ac_try) 2>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; }; then
16384 ac_cv_header_stdc
=yes
16386 echo "$as_me: failed program was:" >&5
16387 sed 's/^/| /' conftest.
$ac_ext >&5
16389 ac_cv_header_stdc
=no
16391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16393 if test $ac_cv_header_stdc = yes; then
16394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16395 cat >conftest.
$ac_ext <<_ACEOF
16398 cat confdefs.h
>>conftest.
$ac_ext
16399 cat >>conftest.
$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 #include <string.h>
16404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16405 $EGREP "memchr" >/dev
/null
2>&1; then
16408 ac_cv_header_stdc
=no
16414 if test $ac_cv_header_stdc = yes; then
16415 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16416 cat >conftest.
$ac_ext <<_ACEOF
16419 cat confdefs.h
>>conftest.
$ac_ext
16420 cat >>conftest.
$ac_ext <<_ACEOF
16421 /* end confdefs.h. */
16422 #include <stdlib.h>
16425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16426 $EGREP "free" >/dev
/null
2>&1; then
16429 ac_cv_header_stdc
=no
16435 if test $ac_cv_header_stdc = yes; then
16436 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16437 if test "$cross_compiling" = yes; then
16440 cat >conftest.
$ac_ext <<_ACEOF
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16447 #if ((' ' & 0x0FF) == 0x020)
16448 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16449 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16451 # define ISLOWER(c) \
16452 (('a' <= (c) && (c) <= 'i') \
16453 || ('j' <= (c) && (c) <= 'r') \
16454 || ('s' <= (c) && (c) <= 'z'))
16455 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16458 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16463 for (i = 0; i < 256; i++)
16464 if (XOR (islower (i), ISLOWER (i))
16465 || toupper (i) != TOUPPER (i))
16470 rm -f conftest
$ac_exeext
16471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16472 (eval $ac_link) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; }; then
16483 echo "$as_me: program exited with status $ac_status" >&5
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.
$ac_ext >&5
16487 ( exit $ac_status )
16488 ac_cv_header_stdc
=no
16490 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16494 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16495 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16496 if test $ac_cv_header_stdc = yes; then
16498 cat >>confdefs.h
<<\_ACEOF
16499 #define STDC_HEADERS 1
16504 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16514 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16515 inttypes.h stdint.h unistd.h
16517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16518 echo "$as_me:$LINENO: checking for $ac_header" >&5
16519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 cat >conftest.
$ac_ext <<_ACEOF
16526 cat confdefs.h
>>conftest.
$ac_ext
16527 cat >>conftest.
$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16531 #include <$ac_header>
16533 rm -f conftest.
$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>conftest.er1
16537 grep -v '^ *+' conftest.er1
>conftest.err
16539 cat conftest.err
>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 eval "$as_ac_Header=yes"
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 eval "$as_ac_Header=no"
16561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16566 cat >>confdefs.h
<<_ACEOF
16567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16576 for ac_header
in stdlib.h
16578 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16580 echo "$as_me:$LINENO: checking for $ac_header" >&5
16581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16588 # Is the header compilable?
16589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16591 cat >conftest.
$ac_ext <<_ACEOF
16594 cat confdefs.h
>>conftest.
$ac_ext
16595 cat >>conftest.
$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 $ac_includes_default
16598 #include <$ac_header>
16600 rm -f conftest.
$ac_objext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16602 (eval $ac_compile) 2>conftest.er1
16604 grep -v '^ *+' conftest.er1
>conftest.err
16606 cat conftest.err
>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try
='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 ac_header_compiler
=yes
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16626 ac_header_compiler
=no
16628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16630 echo "${ECHO_T}$ac_header_compiler" >&6
16632 # Is the header present?
16633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16635 cat >conftest.
$ac_ext <<_ACEOF
16638 cat confdefs.h
>>conftest.
$ac_ext
16639 cat >>conftest.
$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641 #include <$ac_header>
16643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16646 grep -v '^ *+' conftest.er1
>conftest.err
16648 cat conftest.err
>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } >/dev
/null
; then
16651 if test -s conftest.err
; then
16652 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16653 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16660 if test -z "$ac_cpp_err"; then
16661 ac_header_preproc
=yes
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16666 ac_header_preproc
=no
16668 rm -f conftest.err conftest.
$ac_ext
16669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16670 echo "${ECHO_T}$ac_header_preproc" >&6
16672 # So? What about this header?
16673 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16679 ac_header_preproc
=yes
16682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16696 ## ----------------------------------------- ##
16697 ## Report this to wx-dev@lists.wxwidgets.org ##
16698 ## ----------------------------------------- ##
16701 sed "s/^/$as_me: WARNING: /" >&2
16704 echo "$as_me:$LINENO: checking for $ac_header" >&5
16705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16707 echo $ECHO_N "(cached) $ECHO_C" >&6
16709 eval "$as_ac_Header=\$ac_header_preproc"
16711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16716 cat >>confdefs.h
<<_ACEOF
16717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16725 for ac_header
in malloc.h
16727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16729 echo "$as_me:$LINENO: checking for $ac_header" >&5
16730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16737 # Is the header compilable?
16738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 $ac_includes_default
16747 #include <$ac_header>
16749 rm -f conftest.
$ac_objext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try
='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16770 ac_header_compiler
=yes
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.
$ac_ext >&5
16775 ac_header_compiler
=no
16777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16779 echo "${ECHO_T}$ac_header_compiler" >&6
16781 # Is the header present?
16782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 #include <$ac_header>
16792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16795 grep -v '^ *+' conftest.er1
>conftest.err
16797 cat conftest.err
>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } >/dev
/null
; then
16800 if test -s conftest.err
; then
16801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16809 if test -z "$ac_cpp_err"; then
16810 ac_header_preproc
=yes
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.
$ac_ext >&5
16815 ac_header_preproc
=no
16817 rm -f conftest.err conftest.
$ac_ext
16818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16819 echo "${ECHO_T}$ac_header_preproc" >&6
16821 # So? What about this header?
16822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16828 ac_header_preproc
=yes
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16845 ## ----------------------------------------- ##
16846 ## Report this to wx-dev@lists.wxwidgets.org ##
16847 ## ----------------------------------------- ##
16850 sed "s/^/$as_me: WARNING: /" >&2
16853 echo "$as_me:$LINENO: checking for $ac_header" >&5
16854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 eval "$as_ac_Header=\$ac_header_preproc"
16860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16865 cat >>confdefs.h
<<_ACEOF
16866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16874 for ac_header
in unistd.h
16876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16878 echo "$as_me:$LINENO: checking for $ac_header" >&5
16879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16886 # Is the header compilable?
16887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16889 cat >conftest.
$ac_ext <<_ACEOF
16892 cat confdefs.h
>>conftest.
$ac_ext
16893 cat >>conftest.
$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 #include <$ac_header>
16898 rm -f conftest.
$ac_objext
16899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16900 (eval $ac_compile) 2>conftest.er1
16902 grep -v '^ *+' conftest.er1
>conftest.err
16904 cat conftest.err
>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } &&
16907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; } &&
16913 { ac_try
='test -s conftest.$ac_objext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16919 ac_header_compiler
=yes
16921 echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.
$ac_ext >&5
16924 ac_header_compiler
=no
16926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16928 echo "${ECHO_T}$ac_header_compiler" >&6
16930 # Is the header present?
16931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16933 cat >conftest.
$ac_ext <<_ACEOF
16936 cat confdefs.h
>>conftest.
$ac_ext
16937 cat >>conftest.
$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 #include <$ac_header>
16941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16944 grep -v '^ *+' conftest.er1
>conftest.err
16946 cat conftest.err
>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } >/dev
/null
; then
16949 if test -s conftest.err
; then
16950 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16951 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16958 if test -z "$ac_cpp_err"; then
16959 ac_header_preproc
=yes
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.
$ac_ext >&5
16964 ac_header_preproc
=no
16966 rm -f conftest.err conftest.
$ac_ext
16967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16968 echo "${ECHO_T}$ac_header_preproc" >&6
16970 # So? What about this header?
16971 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16977 ac_header_preproc
=yes
16980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16994 ## ----------------------------------------- ##
16995 ## Report this to wx-dev@lists.wxwidgets.org ##
16996 ## ----------------------------------------- ##
16999 sed "s/^/$as_me: WARNING: /" >&2
17002 echo "$as_me:$LINENO: checking for $ac_header" >&5
17003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17005 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 eval "$as_ac_Header=\$ac_header_preproc"
17009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17014 cat >>confdefs.h
<<_ACEOF
17015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17023 for ac_header
in wchar.h
17025 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17027 echo "$as_me:$LINENO: checking for $ac_header" >&5
17028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17035 # Is the header compilable?
17036 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17038 cat >conftest.
$ac_ext <<_ACEOF
17041 cat confdefs.h
>>conftest.
$ac_ext
17042 cat >>conftest.
$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 $ac_includes_default
17045 #include <$ac_header>
17047 rm -f conftest.
$ac_objext
17048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17049 (eval $ac_compile) 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try
='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_header_compiler
=yes
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 ac_header_compiler
=no
17075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17077 echo "${ECHO_T}$ac_header_compiler" >&6
17079 # Is the header present?
17080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17082 cat >conftest.
$ac_ext <<_ACEOF
17085 cat confdefs.h
>>conftest.
$ac_ext
17086 cat >>conftest.
$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 #include <$ac_header>
17090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17093 grep -v '^ *+' conftest.er1
>conftest.err
17095 cat conftest.err
>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } >/dev
/null
; then
17098 if test -s conftest.err
; then
17099 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17100 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17107 if test -z "$ac_cpp_err"; then
17108 ac_header_preproc
=yes
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.
$ac_ext >&5
17113 ac_header_preproc
=no
17115 rm -f conftest.err conftest.
$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17117 echo "${ECHO_T}$ac_header_preproc" >&6
17119 # So? What about this header?
17120 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17126 ac_header_preproc
=yes
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17143 ## ----------------------------------------- ##
17144 ## Report this to wx-dev@lists.wxwidgets.org ##
17145 ## ----------------------------------------- ##
17148 sed "s/^/$as_me: WARNING: /" >&2
17151 echo "$as_me:$LINENO: checking for $ac_header" >&5
17152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 eval "$as_ac_Header=\$ac_header_preproc"
17158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17163 cat >>confdefs.h
<<_ACEOF
17164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17172 if test "$ac_cv_header_wchar_h" != "yes"; then
17174 for ac_header
in wcstr.h
17176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17178 echo "$as_me:$LINENO: checking for $ac_header" >&5
17179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17181 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17186 # Is the header compilable?
17187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17189 cat >conftest.
$ac_ext <<_ACEOF
17192 cat confdefs.h
>>conftest.
$ac_ext
17193 cat >>conftest.
$ac_ext <<_ACEOF
17194 /* end confdefs.h. */
17195 $ac_includes_default
17196 #include <$ac_header>
17198 rm -f conftest.
$ac_objext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17200 (eval $ac_compile) 2>conftest.er1
17202 grep -v '^ *+' conftest.er1
>conftest.err
17204 cat conftest.err
>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } &&
17207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; } &&
17213 { ac_try
='test -s conftest.$ac_objext'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 ac_header_compiler
=yes
17221 echo "$as_me: failed program was:" >&5
17222 sed 's/^/| /' conftest.
$ac_ext >&5
17224 ac_header_compiler
=no
17226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17228 echo "${ECHO_T}$ac_header_compiler" >&6
17230 # Is the header present?
17231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17233 cat >conftest.
$ac_ext <<_ACEOF
17236 cat confdefs.h
>>conftest.
$ac_ext
17237 cat >>conftest.
$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 #include <$ac_header>
17241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17244 grep -v '^ *+' conftest.er1
>conftest.err
17246 cat conftest.err
>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } >/dev
/null
; then
17249 if test -s conftest.err
; then
17250 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17251 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17258 if test -z "$ac_cpp_err"; then
17259 ac_header_preproc
=yes
17261 echo "$as_me: failed program was:" >&5
17262 sed 's/^/| /' conftest.
$ac_ext >&5
17264 ac_header_preproc
=no
17266 rm -f conftest.err conftest.
$ac_ext
17267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17268 echo "${ECHO_T}$ac_header_preproc" >&6
17270 # So? What about this header?
17271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17277 ac_header_preproc
=yes
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17294 ## ----------------------------------------- ##
17295 ## Report this to wx-dev@lists.wxwidgets.org ##
17296 ## ----------------------------------------- ##
17299 sed "s/^/$as_me: WARNING: /" >&2
17302 echo "$as_me:$LINENO: checking for $ac_header" >&5
17303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 eval "$as_ac_Header=\$ac_header_preproc"
17309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17314 cat >>confdefs.h
<<_ACEOF
17315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17325 for ac_header
in fnmatch.h
17327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17329 echo "$as_me:$LINENO: checking for $ac_header" >&5
17330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17337 # Is the header compilable?
17338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17340 cat >conftest.
$ac_ext <<_ACEOF
17343 cat confdefs.h
>>conftest.
$ac_ext
17344 cat >>conftest.
$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17347 #include <$ac_header>
17349 rm -f conftest.
$ac_objext
17350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17351 (eval $ac_compile) 2>conftest.er1
17353 grep -v '^ *+' conftest.er1
>conftest.err
17355 cat conftest.err
>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } &&
17358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17360 (eval $ac_try) 2>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); }; } &&
17364 { ac_try
='test -s conftest.$ac_objext'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; }; then
17370 ac_header_compiler
=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.
$ac_ext >&5
17375 ac_header_compiler
=no
17377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17379 echo "${ECHO_T}$ac_header_compiler" >&6
17381 # Is the header present?
17382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17384 cat >conftest.
$ac_ext <<_ACEOF
17387 cat confdefs.h
>>conftest.
$ac_ext
17388 cat >>conftest.
$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 #include <$ac_header>
17392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17395 grep -v '^ *+' conftest.er1
>conftest.err
17397 cat conftest.err
>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } >/dev
/null
; then
17400 if test -s conftest.err
; then
17401 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17402 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17409 if test -z "$ac_cpp_err"; then
17410 ac_header_preproc
=yes
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.
$ac_ext >&5
17415 ac_header_preproc
=no
17417 rm -f conftest.err conftest.
$ac_ext
17418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17419 echo "${ECHO_T}$ac_header_preproc" >&6
17421 # So? What about this header?
17422 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17428 ac_header_preproc
=yes
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17445 ## ----------------------------------------- ##
17446 ## Report this to wx-dev@lists.wxwidgets.org ##
17447 ## ----------------------------------------- ##
17450 sed "s/^/$as_me: WARNING: /" >&2
17453 echo "$as_me:$LINENO: checking for $ac_header" >&5
17454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17458 eval "$as_ac_Header=\$ac_header_preproc"
17460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17465 cat >>confdefs.h
<<_ACEOF
17466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17475 for ac_header
in langinfo.h
17477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17479 echo "$as_me:$LINENO: checking for $ac_header" >&5
17480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17487 # Is the header compilable?
17488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17490 cat >conftest.
$ac_ext <<_ACEOF
17493 cat confdefs.h
>>conftest.
$ac_ext
17494 cat >>conftest.
$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 $ac_includes_default
17497 #include <$ac_header>
17499 rm -f conftest.
$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try
='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 ac_header_compiler
=yes
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 ac_header_compiler
=no
17527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17529 echo "${ECHO_T}$ac_header_compiler" >&6
17531 # Is the header present?
17532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17534 cat >conftest.
$ac_ext <<_ACEOF
17537 cat confdefs.h
>>conftest.
$ac_ext
17538 cat >>conftest.
$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 #include <$ac_header>
17542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17545 grep -v '^ *+' conftest.er1
>conftest.err
17547 cat conftest.err
>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } >/dev
/null
; then
17550 if test -s conftest.err
; then
17551 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17552 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17559 if test -z "$ac_cpp_err"; then
17560 ac_header_preproc
=yes
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.
$ac_ext >&5
17565 ac_header_preproc
=no
17567 rm -f conftest.err conftest.
$ac_ext
17568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17569 echo "${ECHO_T}$ac_header_preproc" >&6
17571 # So? What about this header?
17572 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17578 ac_header_preproc
=yes
17581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17595 ## ----------------------------------------- ##
17596 ## Report this to wx-dev@lists.wxwidgets.org ##
17597 ## ----------------------------------------- ##
17600 sed "s/^/$as_me: WARNING: /" >&2
17603 echo "$as_me:$LINENO: checking for $ac_header" >&5
17604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 eval "$as_ac_Header=\$ac_header_preproc"
17610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17615 cat >>confdefs.h
<<_ACEOF
17616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17625 *-pc-os2_emx | *-pc-os2-emx )
17626 if test $ac_cv_header_langinfo_h = "yes" \
17627 -a \
( "$wx_cv_gccversion" = "EMX2" \
17628 -o "$wx_cv_gccversion" = "EMX3" \
17629 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17630 LIBS
="$LIBS -lintl"
17635 if test "$USE_UNIX" = 1 ; then
17637 for ac_header
in sys
/select.h
17639 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17641 echo "$as_me:$LINENO: checking for $ac_header" >&5
17642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17649 # Is the header compilable?
17650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17652 cat >conftest.
$ac_ext <<_ACEOF
17655 cat confdefs.h
>>conftest.
$ac_ext
17656 cat >>conftest.
$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 $ac_includes_default
17659 #include <$ac_header>
17661 rm -f conftest.
$ac_objext
17662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17663 (eval $ac_compile) 2>conftest.er1
17665 grep -v '^ *+' conftest.er1
>conftest.err
17667 cat conftest.err
>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } &&
17670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try
='test -s conftest.$ac_objext'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; }; then
17682 ac_header_compiler
=yes
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.
$ac_ext >&5
17687 ac_header_compiler
=no
17689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17691 echo "${ECHO_T}$ac_header_compiler" >&6
17693 # Is the header present?
17694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17696 cat >conftest.
$ac_ext <<_ACEOF
17699 cat confdefs.h
>>conftest.
$ac_ext
17700 cat >>conftest.
$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 #include <$ac_header>
17704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17707 grep -v '^ *+' conftest.er1
>conftest.err
17709 cat conftest.err
>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } >/dev
/null
; then
17712 if test -s conftest.err
; then
17713 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17714 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17721 if test -z "$ac_cpp_err"; then
17722 ac_header_preproc
=yes
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.
$ac_ext >&5
17727 ac_header_preproc
=no
17729 rm -f conftest.err conftest.
$ac_ext
17730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17731 echo "${ECHO_T}$ac_header_preproc" >&6
17733 # So? What about this header?
17734 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17740 ac_header_preproc
=yes
17743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17757 ## ----------------------------------------- ##
17758 ## Report this to wx-dev@lists.wxwidgets.org ##
17759 ## ----------------------------------------- ##
17762 sed "s/^/$as_me: WARNING: /" >&2
17765 echo "$as_me:$LINENO: checking for $ac_header" >&5
17766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 eval "$as_ac_Header=\$ac_header_preproc"
17772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17777 cat >>confdefs.h
<<_ACEOF
17778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17788 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17789 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17790 if test "${ac_cv_c_const+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 cat >conftest.
$ac_ext <<_ACEOF
17796 cat confdefs.h
>>conftest.
$ac_ext
17797 cat >>conftest.
$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17803 /* FIXME: Include the comments suggested by Paul. */
17804 #ifndef __cplusplus
17805 /* Ultrix mips cc rejects this. */
17806 typedef int charset[2];
17808 /* SunOS 4.1.1 cc rejects this. */
17809 char const *const *ccp;
17811 /* NEC SVR4.0.2 mips cc rejects this. */
17812 struct point {int x, y;};
17813 static struct point const zero = {0,0};
17814 /* AIX XL C 1.02.0.0 rejects this.
17815 It does not let you subtract one const X* pointer from another in
17816 an arm of an if-expression whose if-part is not a constant
17818 const char *g = "string";
17819 ccp = &g + (g ? g-g : 0);
17820 /* HPUX 7.0 cc rejects these. */
17823 ccp = (char const *const *) p;
17824 { /* SCO 3.2v4 cc rejects this. */
17826 char const *s = 0 ? (char *) 0 : (char const *) 0;
17830 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17831 int x[] = {25, 17};
17832 const int *foo = &x[0];
17835 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17836 typedef const int *iptr;
17840 { /* AIX XL C 1.02.0.0 rejects this saying
17841 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17842 struct s { int j; const int *ap[3]; };
17843 struct s *b; b->j = 5;
17845 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17846 const int foo = 10;
17854 rm -f conftest.
$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17858 grep -v '^ *+' conftest.er1
>conftest.err
17860 cat conftest.err
>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17884 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17885 echo "${ECHO_T}$ac_cv_c_const" >&6
17886 if test $ac_cv_c_const = no
; then
17888 cat >>confdefs.h
<<\_ACEOF
17894 echo "$as_me:$LINENO: checking for inline" >&5
17895 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17896 if test "${ac_cv_c_inline+set}" = set; then
17897 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 for ac_kw
in inline __inline__ __inline
; do
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 #ifndef __cplusplus
17909 static $ac_kw foo_t static_foo () {return 0; }
17910 $ac_kw foo_t foo () {return 0; }
17914 rm -f conftest.
$ac_objext
17915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17916 (eval $ac_compile) 2>conftest.er1
17918 grep -v '^ *+' conftest.er1
>conftest.err
17920 cat conftest.err
>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } &&
17923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try
='test -s conftest.$ac_objext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 ac_cv_c_inline
=$ac_kw; break
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.
$ac_ext >&5
17941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17945 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17946 echo "${ECHO_T}$ac_cv_c_inline" >&6
17949 case $ac_cv_c_inline in
17952 case $ac_cv_c_inline in
17954 *) ac_val
=$ac_cv_c_inline;;
17956 cat >>confdefs.h
<<_ACEOF
17957 #ifndef __cplusplus
17958 #define inline $ac_val
17965 echo "$as_me:$LINENO: checking for char" >&5
17966 echo $ECHO_N "checking for char... $ECHO_C" >&6
17967 if test "${ac_cv_type_char+set}" = set; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17970 cat >conftest.
$ac_ext <<_ACEOF
17973 cat confdefs.h
>>conftest.
$ac_ext
17974 cat >>conftest.
$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 $ac_includes_default
17988 rm -f conftest.
$ac_objext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17990 (eval $ac_compile) 2>conftest.er1
17992 grep -v '^ *+' conftest.er1
>conftest.err
17994 cat conftest.err
>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; } &&
18003 { ac_try
='test -s conftest.$ac_objext'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; }; then
18009 ac_cv_type_char
=yes
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.
$ac_ext >&5
18016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18018 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18019 echo "${ECHO_T}$ac_cv_type_char" >&6
18021 echo "$as_me:$LINENO: checking size of char" >&5
18022 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18023 if test "${ac_cv_sizeof_char+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 if test "$ac_cv_type_char" = yes; then
18027 # The cast to unsigned long works around a bug in the HP C Compiler
18028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18030 # This bug is HP SR number 8606223364.
18031 if test "$cross_compiling" = yes; then
18032 # Depending upon the size, compute the lo and hi bounds.
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 $ac_includes_default
18043 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18050 rm -f conftest.
$ac_objext
18051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18052 (eval $ac_compile) 2>conftest.er1
18054 grep -v '^ *+' conftest.er1
>conftest.err
18056 cat conftest.err
>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; } &&
18065 { ac_try
='test -s conftest.$ac_objext'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; }; then
18073 cat >conftest.
$ac_ext <<_ACEOF
18076 cat confdefs.h
>>conftest.
$ac_ext
18077 cat >>conftest.
$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 $ac_includes_default
18083 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18090 rm -f conftest.
$ac_objext
18091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18092 (eval $ac_compile) 2>conftest.er1
18094 grep -v '^ *+' conftest.er1
>conftest.err
18096 cat conftest.err
>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } &&
18099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101 (eval $ac_try) 2>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); }; } &&
18105 { ac_try
='test -s conftest.$ac_objext'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; }; then
18111 ac_hi
=$ac_mid; break
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.
$ac_ext >&5
18116 ac_lo
=`expr $ac_mid + 1`
18117 if test $ac_lo -le $ac_mid; then
18121 ac_mid
=`expr 2 '*' $ac_mid + 1`
18123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.
$ac_ext >&5
18129 cat >conftest.
$ac_ext <<_ACEOF
18132 cat confdefs.h
>>conftest.
$ac_ext
18133 cat >>conftest.
$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 $ac_includes_default
18139 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18146 rm -f conftest.
$ac_objext
18147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18148 (eval $ac_compile) 2>conftest.er1
18150 grep -v '^ *+' conftest.er1
>conftest.err
18152 cat conftest.err
>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; } &&
18161 { ac_try
='test -s conftest.$ac_objext'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; }; then
18169 cat >conftest.
$ac_ext <<_ACEOF
18172 cat confdefs.h
>>conftest.
$ac_ext
18173 cat >>conftest.
$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175 $ac_includes_default
18179 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18186 rm -f conftest.
$ac_objext
18187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18188 (eval $ac_compile) 2>conftest.er1
18190 grep -v '^ *+' conftest.er1
>conftest.err
18192 cat conftest.err
>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try
='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_lo
=$ac_mid; break
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.
$ac_ext >&5
18212 ac_hi
=`expr '(' $ac_mid ')' - 1`
18213 if test $ac_mid -le $ac_hi; then
18217 ac_mid
=`expr 2 '*' $ac_mid`
18219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18230 # Binary search between lo and hi bounds.
18231 while test "x$ac_lo" != "x$ac_hi"; do
18232 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18233 cat >conftest.
$ac_ext <<_ACEOF
18236 cat confdefs.h
>>conftest.
$ac_ext
18237 cat >>conftest.
$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 $ac_includes_default
18243 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18250 rm -f conftest.
$ac_objext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>conftest.er1
18254 grep -v '^ *+' conftest.er1
>conftest.err
18256 cat conftest.err
>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } &&
18259 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; } &&
18265 { ac_try
='test -s conftest.$ac_objext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_lo
=`expr '(' $ac_mid ')' + 1`
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18281 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18282 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18283 See \`config.log' for more details." >&5
18284 echo "$as_me: error: cannot compute sizeof (char), 77
18285 See \`config.log' for more details." >&2;}
18286 { (exit 1); exit 1; }; } ;;
18289 if test "$cross_compiling" = yes; then
18290 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18291 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18292 { (exit 1); exit 1; }; }
18294 cat >conftest.
$ac_ext <<_ACEOF
18297 cat confdefs.h
>>conftest.
$ac_ext
18298 cat >>conftest.
$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 $ac_includes_default
18301 long longval () { return (long) (sizeof (char)); }
18302 unsigned long ulongval () { return (long) (sizeof (char)); }
18304 #include <stdlib.h>
18309 FILE *f = fopen ("conftest.val", "w");
18312 if (((long) (sizeof (char))) < 0)
18314 long i = longval ();
18315 if (i != ((long) (sizeof (char))))
18317 fprintf (f, "%ld\n", i);
18321 unsigned long i = ulongval ();
18322 if (i != ((long) (sizeof (char))))
18324 fprintf (f, "%lu\n", i);
18326 exit (ferror (f) || fclose (f) != 0);
18332 rm -f conftest
$ac_exeext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18334 (eval $ac_link) 2>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 ac_cv_sizeof_char
=`cat conftest.val`
18345 echo "$as_me: program exited with status $ac_status" >&5
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.
$ac_ext >&5
18349 ( exit $ac_status )
18350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18351 See \`config.log' for more details." >&5
18352 echo "$as_me: error: cannot compute sizeof (char), 77
18353 See \`config.log' for more details." >&2;}
18354 { (exit 1); exit 1; }; }
18356 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18361 ac_cv_sizeof_char
=0
18364 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18365 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18366 cat >>confdefs.h
<<_ACEOF
18367 #define SIZEOF_CHAR $ac_cv_sizeof_char
18371 echo "$as_me:$LINENO: checking for short" >&5
18372 echo $ECHO_N "checking for short... $ECHO_C" >&6
18373 if test "${ac_cv_type_short+set}" = set; then
18374 echo $ECHO_N "(cached) $ECHO_C" >&6
18376 cat >conftest.
$ac_ext <<_ACEOF
18379 cat confdefs.h
>>conftest.
$ac_ext
18380 cat >>conftest.
$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 $ac_includes_default
18388 if (sizeof (short))
18394 rm -f conftest.
$ac_objext
18395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18396 (eval $ac_compile) 2>conftest.er1
18398 grep -v '^ *+' conftest.er1
>conftest.err
18400 cat conftest.err
>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; } &&
18409 { ac_try
='test -s conftest.$ac_objext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18415 ac_cv_type_short
=yes
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 ac_cv_type_short
=no
18422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18424 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18425 echo "${ECHO_T}$ac_cv_type_short" >&6
18427 echo "$as_me:$LINENO: checking size of short" >&5
18428 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18429 if test "${ac_cv_sizeof_short+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 if test "$ac_cv_type_short" = yes; then
18433 # The cast to unsigned long works around a bug in the HP C Compiler
18434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18436 # This bug is HP SR number 8606223364.
18437 if test "$cross_compiling" = yes; then
18438 # Depending upon the size, compute the lo and hi bounds.
18439 cat >conftest.
$ac_ext <<_ACEOF
18442 cat confdefs.h
>>conftest.
$ac_ext
18443 cat >>conftest.
$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18445 $ac_includes_default
18449 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18456 rm -f conftest.
$ac_objext
18457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18458 (eval $ac_compile) 2>conftest.er1
18460 grep -v '^ *+' conftest.er1
>conftest.err
18462 cat conftest.err
>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } &&
18465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18467 (eval $ac_try) 2>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; } &&
18471 { ac_try
='test -s conftest.$ac_objext'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; }; then
18479 cat >conftest.
$ac_ext <<_ACEOF
18482 cat confdefs.h
>>conftest.
$ac_ext
18483 cat >>conftest.
$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 $ac_includes_default
18489 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18496 rm -f conftest.
$ac_objext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18498 (eval $ac_compile) 2>conftest.er1
18500 grep -v '^ *+' conftest.er1
>conftest.err
18502 cat conftest.err
>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } &&
18505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18507 (eval $ac_try) 2>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); }; } &&
18511 { ac_try
='test -s conftest.$ac_objext'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; }; then
18517 ac_hi
=$ac_mid; break
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.
$ac_ext >&5
18522 ac_lo
=`expr $ac_mid + 1`
18523 if test $ac_lo -le $ac_mid; then
18527 ac_mid
=`expr 2 '*' $ac_mid + 1`
18529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.
$ac_ext >&5
18535 cat >conftest.
$ac_ext <<_ACEOF
18538 cat confdefs.h
>>conftest.
$ac_ext
18539 cat >>conftest.
$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18545 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18552 rm -f conftest.
$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1
>conftest.err
18558 cat conftest.err
>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try
='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18575 cat >conftest.
$ac_ext <<_ACEOF
18578 cat confdefs.h
>>conftest.
$ac_ext
18579 cat >>conftest.
$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 $ac_includes_default
18585 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18592 rm -f conftest.
$ac_objext
18593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18594 (eval $ac_compile) 2>conftest.er1
18596 grep -v '^ *+' conftest.er1
>conftest.err
18598 cat conftest.err
>&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } &&
18601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603 (eval $ac_try) 2>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; } &&
18607 { ac_try
='test -s conftest.$ac_objext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_lo
=$ac_mid; break
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.
$ac_ext >&5
18618 ac_hi
=`expr '(' $ac_mid ')' - 1`
18619 if test $ac_mid -le $ac_hi; then
18623 ac_mid
=`expr 2 '*' $ac_mid`
18625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18636 # Binary search between lo and hi bounds.
18637 while test "x$ac_lo" != "x$ac_hi"; do
18638 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18639 cat >conftest.
$ac_ext <<_ACEOF
18642 cat confdefs.h
>>conftest.
$ac_ext
18643 cat >>conftest.
$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645 $ac_includes_default
18649 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18656 rm -f conftest.
$ac_objext
18657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658 (eval $ac_compile) 2>conftest.er1
18660 grep -v '^ *+' conftest.er1
>conftest.err
18662 cat conftest.err
>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try
='test -s conftest.$ac_objext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.
$ac_ext >&5
18682 ac_lo
=`expr '(' $ac_mid ')' + 1`
18684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18687 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18688 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18689 See \`config.log' for more details." >&5
18690 echo "$as_me: error: cannot compute sizeof (short), 77
18691 See \`config.log' for more details." >&2;}
18692 { (exit 1); exit 1; }; } ;;
18695 if test "$cross_compiling" = yes; then
18696 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18697 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18698 { (exit 1); exit 1; }; }
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18707 long longval () { return (long) (sizeof (short)); }
18708 unsigned long ulongval () { return (long) (sizeof (short)); }
18710 #include <stdlib.h>
18715 FILE *f = fopen ("conftest.val", "w");
18718 if (((long) (sizeof (short))) < 0)
18720 long i = longval ();
18721 if (i != ((long) (sizeof (short))))
18723 fprintf (f, "%ld\n", i);
18727 unsigned long i = ulongval ();
18728 if (i != ((long) (sizeof (short))))
18730 fprintf (f, "%lu\n", i);
18732 exit (ferror (f) || fclose (f) != 0);
18738 rm -f conftest
$ac_exeext
18739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18740 (eval $ac_link) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_cv_sizeof_short
=`cat conftest.val`
18751 echo "$as_me: program exited with status $ac_status" >&5
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.
$ac_ext >&5
18755 ( exit $ac_status )
18756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18757 See \`config.log' for more details." >&5
18758 echo "$as_me: error: cannot compute sizeof (short), 77
18759 See \`config.log' for more details." >&2;}
18760 { (exit 1); exit 1; }; }
18762 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18767 ac_cv_sizeof_short
=0
18770 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18771 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18772 cat >>confdefs.h
<<_ACEOF
18773 #define SIZEOF_SHORT $ac_cv_sizeof_short
18777 echo "$as_me:$LINENO: checking for void *" >&5
18778 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18779 if test "${ac_cv_type_void_p+set}" = set; then
18780 echo $ECHO_N "(cached) $ECHO_C" >&6
18782 cat >conftest.
$ac_ext <<_ACEOF
18785 cat confdefs.h
>>conftest.
$ac_ext
18786 cat >>conftest.
$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18788 $ac_includes_default
18794 if (sizeof (void *))
18800 rm -f conftest.
$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18804 grep -v '^ *+' conftest.er1
>conftest.err
18806 cat conftest.err
>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try
='test -s conftest.$ac_objext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 ac_cv_type_void_p
=yes
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.
$ac_ext >&5
18826 ac_cv_type_void_p
=no
18828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18830 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18831 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18833 echo "$as_me:$LINENO: checking size of void *" >&5
18834 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18835 if test "${ac_cv_sizeof_void_p+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 if test "$ac_cv_type_void_p" = yes; then
18839 # The cast to unsigned long works around a bug in the HP C Compiler
18840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18842 # This bug is HP SR number 8606223364.
18843 if test "$cross_compiling" = yes; then
18844 # Depending upon the size, compute the lo and hi bounds.
18845 cat >conftest.
$ac_ext <<_ACEOF
18848 cat confdefs.h
>>conftest.
$ac_ext
18849 cat >>conftest.
$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 $ac_includes_default
18855 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18862 rm -f conftest.
$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>conftest.er1
18866 grep -v '^ *+' conftest.er1
>conftest.err
18868 cat conftest.err
>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; } &&
18877 { ac_try
='test -s conftest.$ac_objext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18885 cat >conftest.
$ac_ext <<_ACEOF
18888 cat confdefs.h
>>conftest.
$ac_ext
18889 cat >>conftest.
$ac_ext <<_ACEOF
18890 /* end confdefs.h. */
18891 $ac_includes_default
18895 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18902 rm -f conftest.
$ac_objext
18903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18904 (eval $ac_compile) 2>conftest.er1
18906 grep -v '^ *+' conftest.er1
>conftest.err
18908 cat conftest.err
>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } &&
18911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; } &&
18917 { ac_try
='test -s conftest.$ac_objext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_hi
=$ac_mid; break
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.
$ac_ext >&5
18928 ac_lo
=`expr $ac_mid + 1`
18929 if test $ac_lo -le $ac_mid; then
18933 ac_mid
=`expr 2 '*' $ac_mid + 1`
18935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.
$ac_ext >&5
18941 cat >conftest.
$ac_ext <<_ACEOF
18944 cat confdefs.h
>>conftest.
$ac_ext
18945 cat >>conftest.
$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 $ac_includes_default
18951 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18958 rm -f conftest.
$ac_objext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>conftest.er1
18962 grep -v '^ *+' conftest.er1
>conftest.err
18964 cat conftest.err
>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } &&
18967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try
='test -s conftest.$ac_objext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18981 cat >conftest.
$ac_ext <<_ACEOF
18984 cat confdefs.h
>>conftest.
$ac_ext
18985 cat >>conftest.
$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 $ac_includes_default
18991 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18998 rm -f conftest.
$ac_objext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19000 (eval $ac_compile) 2>conftest.er1
19002 grep -v '^ *+' conftest.er1
>conftest.err
19004 cat conftest.err
>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; } &&
19013 { ac_try
='test -s conftest.$ac_objext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_lo
=$ac_mid; break
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.
$ac_ext >&5
19024 ac_hi
=`expr '(' $ac_mid ')' - 1`
19025 if test $ac_mid -le $ac_hi; then
19029 ac_mid
=`expr 2 '*' $ac_mid`
19031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.
$ac_ext >&5
19039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19042 # Binary search between lo and hi bounds.
19043 while test "x$ac_lo" != "x$ac_hi"; do
19044 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19045 cat >conftest.
$ac_ext <<_ACEOF
19048 cat confdefs.h
>>conftest.
$ac_ext
19049 cat >>conftest.
$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 $ac_includes_default
19055 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19062 rm -f conftest.
$ac_objext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19064 (eval $ac_compile) 2>conftest.er1
19066 grep -v '^ *+' conftest.er1
>conftest.err
19068 cat conftest.err
>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try
='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19088 ac_lo
=`expr '(' $ac_mid ')' + 1`
19090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19093 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19095 See \`config.log' for more details." >&5
19096 echo "$as_me: error: cannot compute sizeof (void *), 77
19097 See \`config.log' for more details." >&2;}
19098 { (exit 1); exit 1; }; } ;;
19101 if test "$cross_compiling" = yes; then
19102 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19103 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19104 { (exit 1); exit 1; }; }
19106 cat >conftest.
$ac_ext <<_ACEOF
19109 cat confdefs.h
>>conftest.
$ac_ext
19110 cat >>conftest.
$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19112 $ac_includes_default
19113 long longval () { return (long) (sizeof (void *)); }
19114 unsigned long ulongval () { return (long) (sizeof (void *)); }
19116 #include <stdlib.h>
19121 FILE *f = fopen ("conftest.val", "w");
19124 if (((long) (sizeof (void *))) < 0)
19126 long i = longval ();
19127 if (i != ((long) (sizeof (void *))))
19129 fprintf (f, "%ld\n", i);
19133 unsigned long i = ulongval ();
19134 if (i != ((long) (sizeof (void *))))
19136 fprintf (f, "%lu\n", i);
19138 exit (ferror (f) || fclose (f) != 0);
19144 rm -f conftest
$ac_exeext
19145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19146 (eval $ac_link) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_cv_sizeof_void_p
=`cat conftest.val`
19157 echo "$as_me: program exited with status $ac_status" >&5
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.
$ac_ext >&5
19161 ( exit $ac_status )
19162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19163 See \`config.log' for more details." >&5
19164 echo "$as_me: error: cannot compute sizeof (void *), 77
19165 See \`config.log' for more details." >&2;}
19166 { (exit 1); exit 1; }; }
19168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19173 ac_cv_sizeof_void_p
=0
19176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19177 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19178 cat >>confdefs.h
<<_ACEOF
19179 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19183 echo "$as_me:$LINENO: checking for int" >&5
19184 echo $ECHO_N "checking for int... $ECHO_C" >&6
19185 if test "${ac_cv_type_int+set}" = set; then
19186 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19206 rm -f conftest.
$ac_objext
19207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19208 (eval $ac_compile) 2>conftest.er1
19210 grep -v '^ *+' conftest.er1
>conftest.err
19212 cat conftest.err
>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.
$ac_ext >&5
19234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19236 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19237 echo "${ECHO_T}$ac_cv_type_int" >&6
19239 echo "$as_me:$LINENO: checking size of int" >&5
19240 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19241 if test "${ac_cv_sizeof_int+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 if test "$ac_cv_type_int" = yes; then
19245 # The cast to unsigned long works around a bug in the HP C Compiler
19246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19248 # This bug is HP SR number 8606223364.
19249 if test "$cross_compiling" = yes; then
19250 # Depending upon the size, compute the lo and hi bounds.
19251 cat >conftest.
$ac_ext <<_ACEOF
19254 cat confdefs.h
>>conftest.
$ac_ext
19255 cat >>conftest.
$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 $ac_includes_default
19261 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19268 rm -f conftest.
$ac_objext
19269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19270 (eval $ac_compile) 2>conftest.er1
19272 grep -v '^ *+' conftest.er1
>conftest.err
19274 cat conftest.err
>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } &&
19277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; } &&
19283 { ac_try
='test -s conftest.$ac_objext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19291 cat >conftest.
$ac_ext <<_ACEOF
19294 cat confdefs.h
>>conftest.
$ac_ext
19295 cat >>conftest.
$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19297 $ac_includes_default
19301 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19308 rm -f conftest.
$ac_objext
19309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19310 (eval $ac_compile) 2>conftest.er1
19312 grep -v '^ *+' conftest.er1
>conftest.err
19314 cat conftest.err
>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } &&
19317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19319 (eval $ac_try) 2>&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; } &&
19323 { ac_try
='test -s conftest.$ac_objext'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; }; then
19329 ac_hi
=$ac_mid; break
19331 echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.
$ac_ext >&5
19334 ac_lo
=`expr $ac_mid + 1`
19335 if test $ac_lo -le $ac_mid; then
19339 ac_mid
=`expr 2 '*' $ac_mid + 1`
19341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 cat >conftest.
$ac_ext <<_ACEOF
19350 cat confdefs.h
>>conftest.
$ac_ext
19351 cat >>conftest.
$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 $ac_includes_default
19357 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19364 rm -f conftest.
$ac_objext
19365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19366 (eval $ac_compile) 2>conftest.er1
19368 grep -v '^ *+' conftest.er1
>conftest.err
19370 cat conftest.err
>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } &&
19373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; } &&
19379 { ac_try
='test -s conftest.$ac_objext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19387 cat >conftest.
$ac_ext <<_ACEOF
19390 cat confdefs.h
>>conftest.
$ac_ext
19391 cat >>conftest.
$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 $ac_includes_default
19397 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19404 rm -f conftest.
$ac_objext
19405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19406 (eval $ac_compile) 2>conftest.er1
19408 grep -v '^ *+' conftest.er1
>conftest.err
19410 cat conftest.err
>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } &&
19413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try
='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_lo
=$ac_mid; break
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.
$ac_ext >&5
19430 ac_hi
=`expr '(' $ac_mid ')' - 1`
19431 if test $ac_mid -le $ac_hi; then
19435 ac_mid
=`expr 2 '*' $ac_mid`
19437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.
$ac_ext >&5
19445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19448 # Binary search between lo and hi bounds.
19449 while test "x$ac_lo" != "x$ac_hi"; do
19450 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19451 cat >conftest.
$ac_ext <<_ACEOF
19454 cat confdefs.h
>>conftest.
$ac_ext
19455 cat >>conftest.
$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19457 $ac_includes_default
19461 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19468 rm -f conftest.
$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>conftest.er1
19472 grep -v '^ *+' conftest.er1
>conftest.err
19474 cat conftest.err
>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } &&
19477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; } &&
19483 { ac_try
='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.
$ac_ext >&5
19494 ac_lo
=`expr '(' $ac_mid ')' + 1`
19496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19499 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19501 See \`config.log' for more details." >&5
19502 echo "$as_me: error: cannot compute sizeof (int), 77
19503 See \`config.log' for more details." >&2;}
19504 { (exit 1); exit 1; }; } ;;
19507 if test "$cross_compiling" = yes; then
19508 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19509 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19510 { (exit 1); exit 1; }; }
19512 cat >conftest.
$ac_ext <<_ACEOF
19515 cat confdefs.h
>>conftest.
$ac_ext
19516 cat >>conftest.
$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 long longval () { return (long) (sizeof (int)); }
19520 unsigned long ulongval () { return (long) (sizeof (int)); }
19522 #include <stdlib.h>
19527 FILE *f = fopen ("conftest.val", "w");
19530 if (((long) (sizeof (int))) < 0)
19532 long i = longval ();
19533 if (i != ((long) (sizeof (int))))
19535 fprintf (f, "%ld\n", i);
19539 unsigned long i = ulongval ();
19540 if (i != ((long) (sizeof (int))))
19542 fprintf (f, "%lu\n", i);
19544 exit (ferror (f) || fclose (f) != 0);
19550 rm -f conftest
$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_cv_sizeof_int
=`cat conftest.val`
19563 echo "$as_me: program exited with status $ac_status" >&5
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ( exit $ac_status )
19568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19569 See \`config.log' for more details." >&5
19570 echo "$as_me: error: cannot compute sizeof (int), 77
19571 See \`config.log' for more details." >&2;}
19572 { (exit 1); exit 1; }; }
19574 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19583 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19584 cat >>confdefs.h
<<_ACEOF
19585 #define SIZEOF_INT $ac_cv_sizeof_int
19589 echo "$as_me:$LINENO: checking for long" >&5
19590 echo $ECHO_N "checking for long... $ECHO_C" >&6
19591 if test "${ac_cv_type_long+set}" = set; then
19592 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 cat >conftest.
$ac_ext <<_ACEOF
19597 cat confdefs.h
>>conftest.
$ac_ext
19598 cat >>conftest.
$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 $ac_includes_default
19612 rm -f conftest.
$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>conftest.er1
19616 grep -v '^ *+' conftest.er1
>conftest.err
19618 cat conftest.err
>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; } &&
19627 { ac_try
='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19633 ac_cv_type_long
=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19642 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19643 echo "${ECHO_T}$ac_cv_type_long" >&6
19645 echo "$as_me:$LINENO: checking size of long" >&5
19646 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19647 if test "${ac_cv_sizeof_long+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 if test "$ac_cv_type_long" = yes; then
19651 # The cast to unsigned long works around a bug in the HP C Compiler
19652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19654 # This bug is HP SR number 8606223364.
19655 if test "$cross_compiling" = yes; then
19656 # Depending upon the size, compute the lo and hi bounds.
19657 cat >conftest.
$ac_ext <<_ACEOF
19660 cat confdefs.h
>>conftest.
$ac_ext
19661 cat >>conftest.
$ac_ext <<_ACEOF
19662 /* end confdefs.h. */
19663 $ac_includes_default
19667 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19674 rm -f conftest.
$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try
='test -s conftest.$ac_objext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19697 cat >conftest.
$ac_ext <<_ACEOF
19700 cat confdefs.h
>>conftest.
$ac_ext
19701 cat >>conftest.
$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 $ac_includes_default
19707 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19714 rm -f conftest.
$ac_objext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19716 (eval $ac_compile) 2>conftest.er1
19718 grep -v '^ *+' conftest.er1
>conftest.err
19720 cat conftest.err
>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } &&
19723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; } &&
19729 { ac_try
='test -s conftest.$ac_objext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 ac_hi
=$ac_mid; break
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 ac_lo
=`expr $ac_mid + 1`
19741 if test $ac_lo -le $ac_mid; then
19745 ac_mid
=`expr 2 '*' $ac_mid + 1`
19747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.
$ac_ext >&5
19753 cat >conftest.
$ac_ext <<_ACEOF
19756 cat confdefs.h
>>conftest.
$ac_ext
19757 cat >>conftest.
$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19763 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19770 rm -f conftest.
$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19774 grep -v '^ *+' conftest.er1
>conftest.err
19776 cat conftest.err
>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try
='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19793 cat >conftest.
$ac_ext <<_ACEOF
19796 cat confdefs.h
>>conftest.
$ac_ext
19797 cat >>conftest.
$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19803 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19810 rm -f conftest.
$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1
>conftest.err
19816 cat conftest.err
>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try
='test -s conftest.$ac_objext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 ac_lo
=$ac_mid; break
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19836 ac_hi
=`expr '(' $ac_mid ')' - 1`
19837 if test $ac_mid -le $ac_hi; then
19841 ac_mid
=`expr 2 '*' $ac_mid`
19843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.
$ac_ext >&5
19851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19854 # Binary search between lo and hi bounds.
19855 while test "x$ac_lo" != "x$ac_hi"; do
19856 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19857 cat >conftest.
$ac_ext <<_ACEOF
19860 cat confdefs.h
>>conftest.
$ac_ext
19861 cat >>conftest.
$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19867 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19874 rm -f conftest.
$ac_objext
19875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19876 (eval $ac_compile) 2>conftest.er1
19878 grep -v '^ *+' conftest.er1
>conftest.err
19880 cat conftest.err
>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } &&
19883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try
='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 ac_lo
=`expr '(' $ac_mid ')' + 1`
19902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19905 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19906 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19907 See \`config.log' for more details." >&5
19908 echo "$as_me: error: cannot compute sizeof (long), 77
19909 See \`config.log' for more details." >&2;}
19910 { (exit 1); exit 1; }; } ;;
19913 if test "$cross_compiling" = yes; then
19914 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19915 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19916 { (exit 1); exit 1; }; }
19918 cat >conftest.
$ac_ext <<_ACEOF
19921 cat confdefs.h
>>conftest.
$ac_ext
19922 cat >>conftest.
$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 $ac_includes_default
19925 long longval () { return (long) (sizeof (long)); }
19926 unsigned long ulongval () { return (long) (sizeof (long)); }
19928 #include <stdlib.h>
19933 FILE *f = fopen ("conftest.val", "w");
19936 if (((long) (sizeof (long))) < 0)
19938 long i = longval ();
19939 if (i != ((long) (sizeof (long))))
19941 fprintf (f, "%ld\n", i);
19945 unsigned long i = ulongval ();
19946 if (i != ((long) (sizeof (long))))
19948 fprintf (f, "%lu\n", i);
19950 exit (ferror (f) || fclose (f) != 0);
19956 rm -f conftest
$ac_exeext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19958 (eval $ac_link) 2>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; }; then
19967 ac_cv_sizeof_long
=`cat conftest.val`
19969 echo "$as_me: program exited with status $ac_status" >&5
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 ( exit $ac_status )
19974 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19975 See \`config.log' for more details." >&5
19976 echo "$as_me: error: cannot compute sizeof (long), 77
19977 See \`config.log' for more details." >&2;}
19978 { (exit 1); exit 1; }; }
19980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19985 ac_cv_sizeof_long
=0
19988 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19989 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19990 cat >>confdefs.h
<<_ACEOF
19991 #define SIZEOF_LONG $ac_cv_sizeof_long
19995 echo "$as_me:$LINENO: checking for size_t" >&5
19996 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19997 if test "${ac_cv_type_size_t+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 $ac_includes_default
20012 if (sizeof (size_t))
20018 rm -f conftest.
$ac_objext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20020 (eval $ac_compile) 2>conftest.er1
20022 grep -v '^ *+' conftest.er1
>conftest.err
20024 cat conftest.err
>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; } &&
20033 { ac_try
='test -s conftest.$ac_objext'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 ac_cv_type_size_t
=yes
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.
$ac_ext >&5
20044 ac_cv_type_size_t
=no
20046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20048 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20049 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20051 echo "$as_me:$LINENO: checking size of size_t" >&5
20052 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20053 if test "${ac_cv_sizeof_size_t+set}" = set; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 if test "$ac_cv_type_size_t" = yes; then
20057 # The cast to unsigned long works around a bug in the HP C Compiler
20058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20060 # This bug is HP SR number 8606223364.
20061 if test "$cross_compiling" = yes; then
20062 # Depending upon the size, compute the lo and hi bounds.
20063 cat >conftest.
$ac_ext <<_ACEOF
20066 cat confdefs.h
>>conftest.
$ac_ext
20067 cat >>conftest.
$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 $ac_includes_default
20073 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20080 rm -f conftest.
$ac_objext
20081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20082 (eval $ac_compile) 2>conftest.er1
20084 grep -v '^ *+' conftest.er1
>conftest.err
20086 cat conftest.err
>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } &&
20089 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; } &&
20095 { ac_try
='test -s conftest.$ac_objext'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; }; then
20103 cat >conftest.
$ac_ext <<_ACEOF
20106 cat confdefs.h
>>conftest.
$ac_ext
20107 cat >>conftest.
$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20109 $ac_includes_default
20113 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20120 rm -f conftest.
$ac_objext
20121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20122 (eval $ac_compile) 2>conftest.er1
20124 grep -v '^ *+' conftest.er1
>conftest.err
20126 cat conftest.err
>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } &&
20129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; } &&
20135 { ac_try
='test -s conftest.$ac_objext'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; }; then
20141 ac_hi
=$ac_mid; break
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.
$ac_ext >&5
20146 ac_lo
=`expr $ac_mid + 1`
20147 if test $ac_lo -le $ac_mid; then
20151 ac_mid
=`expr 2 '*' $ac_mid + 1`
20153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.
$ac_ext >&5
20159 cat >conftest.
$ac_ext <<_ACEOF
20162 cat confdefs.h
>>conftest.
$ac_ext
20163 cat >>conftest.
$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 $ac_includes_default
20169 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20176 rm -f conftest.
$ac_objext
20177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20178 (eval $ac_compile) 2>conftest.er1
20180 grep -v '^ *+' conftest.er1
>conftest.err
20182 cat conftest.err
>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } &&
20185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try
='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20199 cat >conftest.
$ac_ext <<_ACEOF
20202 cat confdefs.h
>>conftest.
$ac_ext
20203 cat >>conftest.
$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 $ac_includes_default
20209 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20216 rm -f conftest.
$ac_objext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20218 (eval $ac_compile) 2>conftest.er1
20220 grep -v '^ *+' conftest.er1
>conftest.err
20222 cat conftest.err
>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; } &&
20231 { ac_try
='test -s conftest.$ac_objext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 ac_lo
=$ac_mid; break
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20242 ac_hi
=`expr '(' $ac_mid ')' - 1`
20243 if test $ac_mid -le $ac_hi; then
20247 ac_mid
=`expr 2 '*' $ac_mid`
20249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.
$ac_ext >&5
20257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20260 # Binary search between lo and hi bounds.
20261 while test "x$ac_lo" != "x$ac_hi"; do
20262 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20263 cat >conftest.
$ac_ext <<_ACEOF
20266 cat confdefs.h
>>conftest.
$ac_ext
20267 cat >>conftest.
$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20273 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20280 rm -f conftest.
$ac_objext
20281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20282 (eval $ac_compile) 2>conftest.er1
20284 grep -v '^ *+' conftest.er1
>conftest.err
20286 cat conftest.err
>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } &&
20289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; } &&
20295 { ac_try
='test -s conftest.$ac_objext'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; }; then
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.
$ac_ext >&5
20306 ac_lo
=`expr '(' $ac_mid ')' + 1`
20308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20311 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20312 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20313 See \`config.log' for more details." >&5
20314 echo "$as_me: error: cannot compute sizeof (size_t), 77
20315 See \`config.log' for more details." >&2;}
20316 { (exit 1); exit 1; }; } ;;
20319 if test "$cross_compiling" = yes; then
20320 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20321 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20322 { (exit 1); exit 1; }; }
20324 cat >conftest.
$ac_ext <<_ACEOF
20327 cat confdefs.h
>>conftest.
$ac_ext
20328 cat >>conftest.
$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 long longval () { return (long) (sizeof (size_t)); }
20332 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20334 #include <stdlib.h>
20339 FILE *f = fopen ("conftest.val", "w");
20342 if (((long) (sizeof (size_t))) < 0)
20344 long i = longval ();
20345 if (i != ((long) (sizeof (size_t))))
20347 fprintf (f, "%ld\n", i);
20351 unsigned long i = ulongval ();
20352 if (i != ((long) (sizeof (size_t))))
20354 fprintf (f, "%lu\n", i);
20356 exit (ferror (f) || fclose (f) != 0);
20362 rm -f conftest
$ac_exeext
20363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20364 (eval $ac_link) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_cv_sizeof_size_t
=`cat conftest.val`
20375 echo "$as_me: program exited with status $ac_status" >&5
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.
$ac_ext >&5
20379 ( exit $ac_status )
20380 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20381 See \`config.log' for more details." >&5
20382 echo "$as_me: error: cannot compute sizeof (size_t), 77
20383 See \`config.log' for more details." >&2;}
20384 { (exit 1); exit 1; }; }
20386 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20391 ac_cv_sizeof_size_t
=0
20394 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20395 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20396 cat >>confdefs.h
<<_ACEOF
20397 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20404 echo "$as_me:$LINENO: checking for long long" >&5
20405 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20406 if test "${ac_cv_type_long_long+set}" = set; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 cat >conftest.
$ac_ext <<_ACEOF
20412 cat confdefs.h
>>conftest.
$ac_ext
20413 cat >>conftest.
$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20419 if ((long long *) 0)
20421 if (sizeof (long long))
20427 rm -f conftest.
$ac_objext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20429 (eval $ac_compile) 2>conftest.er1
20431 grep -v '^ *+' conftest.er1
>conftest.err
20433 cat conftest.err
>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } &&
20436 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try
='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_cv_type_long_long
=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ac_cv_type_long_long
=no
20455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20457 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20458 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20460 echo "$as_me:$LINENO: checking size of long long" >&5
20461 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20462 if test "${ac_cv_sizeof_long_long+set}" = set; then
20463 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 if test "$ac_cv_type_long_long" = yes; then
20466 # The cast to unsigned long works around a bug in the HP C Compiler
20467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20469 # This bug is HP SR number 8606223364.
20470 if test "$cross_compiling" = yes; then
20471 # Depending upon the size, compute the lo and hi bounds.
20472 cat >conftest.
$ac_ext <<_ACEOF
20475 cat confdefs.h
>>conftest.
$ac_ext
20476 cat >>conftest.
$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20489 rm -f conftest.
$ac_objext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20491 (eval $ac_compile) 2>conftest.er1
20493 grep -v '^ *+' conftest.er1
>conftest.err
20495 cat conftest.err
>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try
='test -s conftest.$ac_objext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20522 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20529 rm -f conftest.
$ac_objext
20530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20531 (eval $ac_compile) 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try
='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_hi
=$ac_mid; break
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20555 ac_lo
=`expr $ac_mid + 1`
20556 if test $ac_lo -le $ac_mid; then
20560 ac_mid
=`expr 2 '*' $ac_mid + 1`
20562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.
$ac_ext >&5
20568 cat >conftest.
$ac_ext <<_ACEOF
20571 cat confdefs.h
>>conftest.
$ac_ext
20572 cat >>conftest.
$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20578 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20585 rm -f conftest.
$ac_objext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20587 (eval $ac_compile) 2>conftest.er1
20589 grep -v '^ *+' conftest.er1
>conftest.err
20591 cat conftest.err
>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; } &&
20600 { ac_try
='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20618 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20625 rm -f conftest.
$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627 (eval $ac_compile) 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try
='test -s conftest.$ac_objext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_lo
=$ac_mid; break
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20651 ac_hi
=`expr '(' $ac_mid ')' - 1`
20652 if test $ac_mid -le $ac_hi; then
20656 ac_mid
=`expr 2 '*' $ac_mid`
20658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.
$ac_ext >&5
20666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20669 # Binary search between lo and hi bounds.
20670 while test "x$ac_lo" != "x$ac_hi"; do
20671 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20682 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20689 rm -f conftest.
$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20693 grep -v '^ *+' conftest.er1
>conftest.err
20695 cat conftest.err
>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try
='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.
$ac_ext >&5
20715 ac_lo
=`expr '(' $ac_mid ')' + 1`
20717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20720 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20721 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20722 See \`config.log' for more details." >&5
20723 echo "$as_me: error: cannot compute sizeof (long long), 77
20724 See \`config.log' for more details." >&2;}
20725 { (exit 1); exit 1; }; } ;;
20728 if test "$cross_compiling" = yes; then
20729 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20730 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20731 { (exit 1); exit 1; }; }
20733 cat >conftest.
$ac_ext <<_ACEOF
20736 cat confdefs.h
>>conftest.
$ac_ext
20737 cat >>conftest.
$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 long longval () { return (long) (sizeof (long long)); }
20741 unsigned long ulongval () { return (long) (sizeof (long long)); }
20743 #include <stdlib.h>
20748 FILE *f = fopen ("conftest.val", "w");
20751 if (((long) (sizeof (long long))) < 0)
20753 long i = longval ();
20754 if (i != ((long) (sizeof (long long))))
20756 fprintf (f, "%ld\n", i);
20760 unsigned long i = ulongval ();
20761 if (i != ((long) (sizeof (long long))))
20763 fprintf (f, "%lu\n", i);
20765 exit (ferror (f) || fclose (f) != 0);
20771 rm -f conftest
$ac_exeext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20773 (eval $ac_link) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_cv_sizeof_long_long
=`cat conftest.val`
20784 echo "$as_me: program exited with status $ac_status" >&5
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 ( exit $ac_status )
20789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20790 See \`config.log' for more details." >&5
20791 echo "$as_me: error: cannot compute sizeof (long long), 77
20792 See \`config.log' for more details." >&2;}
20793 { (exit 1); exit 1; }; }
20795 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20800 ac_cv_sizeof_long_long
=0
20803 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20804 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20805 cat >>confdefs.h
<<_ACEOF
20806 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20812 echo "$as_me:$LINENO: checking for long long" >&5
20813 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20814 if test "${ac_cv_type_long_long+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 cat >conftest.
$ac_ext <<_ACEOF
20820 cat confdefs.h
>>conftest.
$ac_ext
20821 cat >>conftest.
$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20823 $ac_includes_default
20827 if ((long long *) 0)
20829 if (sizeof (long long))
20835 rm -f conftest.
$ac_objext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20837 (eval $ac_compile) 2>conftest.er1
20839 grep -v '^ *+' conftest.er1
>conftest.err
20841 cat conftest.err
>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try
='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20856 ac_cv_type_long_long
=yes
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.
$ac_ext >&5
20861 ac_cv_type_long_long
=no
20863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20865 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20866 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20868 echo "$as_me:$LINENO: checking size of long long" >&5
20869 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20870 if test "${ac_cv_sizeof_long_long+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 if test "$ac_cv_type_long_long" = yes; then
20874 # The cast to unsigned long works around a bug in the HP C Compiler
20875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20877 # This bug is HP SR number 8606223364.
20878 if test "$cross_compiling" = yes; then
20879 # Depending upon the size, compute the lo and hi bounds.
20880 cat >conftest.
$ac_ext <<_ACEOF
20883 cat confdefs.h
>>conftest.
$ac_ext
20884 cat >>conftest.
$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20890 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20897 rm -f conftest.
$ac_objext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20899 (eval $ac_compile) 2>conftest.er1
20901 grep -v '^ *+' conftest.er1
>conftest.err
20903 cat conftest.err
>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); } &&
20906 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; } &&
20912 { ac_try
='test -s conftest.$ac_objext'
20913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20914 (eval $ac_try) 2>&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); }; }; then
20920 cat >conftest.
$ac_ext <<_ACEOF
20923 cat confdefs.h
>>conftest.
$ac_ext
20924 cat >>conftest.
$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926 $ac_includes_default
20930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20937 rm -f conftest.
$ac_objext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20939 (eval $ac_compile) 2>conftest.er1
20941 grep -v '^ *+' conftest.er1
>conftest.err
20943 cat conftest.err
>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } &&
20946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; } &&
20952 { ac_try
='test -s conftest.$ac_objext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_hi
=$ac_mid; break
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.
$ac_ext >&5
20963 ac_lo
=`expr $ac_mid + 1`
20964 if test $ac_lo -le $ac_mid; then
20968 ac_mid
=`expr 2 '*' $ac_mid + 1`
20970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20976 cat >conftest.
$ac_ext <<_ACEOF
20979 cat confdefs.h
>>conftest.
$ac_ext
20980 cat >>conftest.
$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 $ac_includes_default
20986 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20993 rm -f conftest.
$ac_objext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20995 (eval $ac_compile) 2>conftest.er1
20997 grep -v '^ *+' conftest.er1
>conftest.err
20999 cat conftest.err
>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } &&
21002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; } &&
21008 { ac_try
='test -s conftest.$ac_objext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21016 cat >conftest.
$ac_ext <<_ACEOF
21019 cat confdefs.h
>>conftest.
$ac_ext
21020 cat >>conftest.
$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 $ac_includes_default
21026 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21033 rm -f conftest.
$ac_objext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21035 (eval $ac_compile) 2>conftest.er1
21037 grep -v '^ *+' conftest.er1
>conftest.err
21039 cat conftest.err
>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; } &&
21048 { ac_try
='test -s conftest.$ac_objext'
21049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050 (eval $ac_try) 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21054 ac_lo
=$ac_mid; break
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21059 ac_hi
=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21064 ac_mid
=`expr 2 '*' $ac_mid`
21066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21069 echo "$as_me: failed program was:" >&5
21070 sed 's/^/| /' conftest.
$ac_ext >&5
21074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21077 # Binary search between lo and hi bounds.
21078 while test "x$ac_lo" != "x$ac_hi"; do
21079 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21080 cat >conftest.
$ac_ext <<_ACEOF
21083 cat confdefs.h
>>conftest.
$ac_ext
21084 cat >>conftest.
$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086 $ac_includes_default
21090 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21097 rm -f conftest.
$ac_objext
21098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21099 (eval $ac_compile) 2>conftest.er1
21101 grep -v '^ *+' conftest.er1
>conftest.err
21103 cat conftest.err
>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } &&
21106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; } &&
21112 { ac_try
='test -s conftest.$ac_objext'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; }; then
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.
$ac_ext >&5
21123 ac_lo
=`expr '(' $ac_mid ')' + 1`
21125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21128 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21129 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21130 See \`config.log' for more details." >&5
21131 echo "$as_me: error: cannot compute sizeof (long long), 77
21132 See \`config.log' for more details." >&2;}
21133 { (exit 1); exit 1; }; } ;;
21136 if test "$cross_compiling" = yes; then
21137 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21138 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21139 { (exit 1); exit 1; }; }
21141 cat >conftest.
$ac_ext <<_ACEOF
21144 cat confdefs.h
>>conftest.
$ac_ext
21145 cat >>conftest.
$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21148 long longval () { return (long) (sizeof (long long)); }
21149 unsigned long ulongval () { return (long) (sizeof (long long)); }
21151 #include <stdlib.h>
21156 FILE *f = fopen ("conftest.val", "w");
21159 if (((long) (sizeof (long long))) < 0)
21161 long i = longval ();
21162 if (i != ((long) (sizeof (long long))))
21164 fprintf (f, "%ld\n", i);
21168 unsigned long i = ulongval ();
21169 if (i != ((long) (sizeof (long long))))
21171 fprintf (f, "%lu\n", i);
21173 exit (ferror (f) || fclose (f) != 0);
21179 rm -f conftest
$ac_exeext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21181 (eval $ac_link) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; }; then
21190 ac_cv_sizeof_long_long
=`cat conftest.val`
21192 echo "$as_me: program exited with status $ac_status" >&5
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.
$ac_ext >&5
21196 ( exit $ac_status )
21197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21198 See \`config.log' for more details." >&5
21199 echo "$as_me: error: cannot compute sizeof (long long), 77
21200 See \`config.log' for more details." >&2;}
21201 { (exit 1); exit 1; }; }
21203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21208 ac_cv_sizeof_long_long
=0
21211 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21212 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21213 cat >>confdefs.h
<<_ACEOF
21214 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21218 if test "$ac_cv_sizeof_long_long" != "0"; then
21219 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21223 echo "$as_me:$LINENO: checking for long long" >&5
21224 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21225 if test "${ac_cv_type_long_long+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21228 cat >conftest.
$ac_ext <<_ACEOF
21231 cat confdefs.h
>>conftest.
$ac_ext
21232 cat >>conftest.
$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21238 if ((long long *) 0)
21240 if (sizeof (long long))
21246 rm -f conftest.
$ac_objext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21248 (eval $ac_compile) 2>conftest.er1
21250 grep -v '^ *+' conftest.er1
>conftest.err
21252 cat conftest.err
>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } &&
21255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21257 (eval $ac_try) 2>&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); }; } &&
21261 { ac_try
='test -s conftest.$ac_objext'
21262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21263 (eval $ac_try) 2>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); }; }; then
21267 ac_cv_type_long_long
=yes
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.
$ac_ext >&5
21272 ac_cv_type_long_long
=no
21274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21276 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21277 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21279 echo "$as_me:$LINENO: checking size of long long" >&5
21280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21281 if test "${ac_cv_sizeof_long_long+set}" = set; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 if test "$ac_cv_type_long_long" = yes; then
21285 # The cast to unsigned long works around a bug in the HP C Compiler
21286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21288 # This bug is HP SR number 8606223364.
21289 if test "$cross_compiling" = yes; then
21290 # Depending upon the size, compute the lo and hi bounds.
21291 cat >conftest.
$ac_ext <<_ACEOF
21294 cat confdefs.h
>>conftest.
$ac_ext
21295 cat >>conftest.
$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 $ac_includes_default
21301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21308 rm -f conftest.
$ac_objext
21309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21310 (eval $ac_compile) 2>conftest.er1
21312 grep -v '^ *+' conftest.er1
>conftest.err
21314 cat conftest.err
>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); } &&
21317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; } &&
21323 { ac_try
='test -s conftest.$ac_objext'
21324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325 (eval $ac_try) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; }; then
21331 cat >conftest.
$ac_ext <<_ACEOF
21334 cat confdefs.h
>>conftest.
$ac_ext
21335 cat >>conftest.
$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 $ac_includes_default
21341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21348 rm -f conftest.
$ac_objext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21350 (eval $ac_compile) 2>conftest.er1
21352 grep -v '^ *+' conftest.er1
>conftest.err
21354 cat conftest.err
>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; } &&
21363 { ac_try
='test -s conftest.$ac_objext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21369 ac_hi
=$ac_mid; break
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.
$ac_ext >&5
21374 ac_lo
=`expr $ac_mid + 1`
21375 if test $ac_lo -le $ac_mid; then
21379 ac_mid
=`expr 2 '*' $ac_mid + 1`
21381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.
$ac_ext >&5
21387 cat >conftest.
$ac_ext <<_ACEOF
21390 cat confdefs.h
>>conftest.
$ac_ext
21391 cat >>conftest.
$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21404 rm -f conftest.
$ac_objext
21405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21406 (eval $ac_compile) 2>conftest.er1
21408 grep -v '^ *+' conftest.er1
>conftest.err
21410 cat conftest.err
>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } &&
21413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; } &&
21419 { ac_try
='test -s conftest.$ac_objext'
21420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21421 (eval $ac_try) 2>&5
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); }; }; then
21427 cat >conftest.
$ac_ext <<_ACEOF
21430 cat confdefs.h
>>conftest.
$ac_ext
21431 cat >>conftest.
$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 $ac_includes_default
21437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21444 rm -f conftest.
$ac_objext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21446 (eval $ac_compile) 2>conftest.er1
21448 grep -v '^ *+' conftest.er1
>conftest.err
21450 cat conftest.err
>&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } &&
21453 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21455 (eval $ac_try) 2>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; } &&
21459 { ac_try
='test -s conftest.$ac_objext'
21460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21461 (eval $ac_try) 2>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); }; }; then
21465 ac_lo
=$ac_mid; break
21467 echo "$as_me: failed program was:" >&5
21468 sed 's/^/| /' conftest.
$ac_ext >&5
21470 ac_hi
=`expr '(' $ac_mid ')' - 1`
21471 if test $ac_mid -le $ac_hi; then
21475 ac_mid
=`expr 2 '*' $ac_mid`
21477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.
$ac_ext >&5
21485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21488 # Binary search between lo and hi bounds.
21489 while test "x$ac_lo" != "x$ac_hi"; do
21490 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21491 cat >conftest.
$ac_ext <<_ACEOF
21494 cat confdefs.h
>>conftest.
$ac_ext
21495 cat >>conftest.
$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21508 rm -f conftest.
$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21512 grep -v '^ *+' conftest.er1
>conftest.err
21514 cat conftest.err
>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try
='test -s conftest.$ac_objext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.
$ac_ext >&5
21534 ac_lo
=`expr '(' $ac_mid ')' + 1`
21536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21539 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21540 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21541 See \`config.log' for more details." >&5
21542 echo "$as_me: error: cannot compute sizeof (long long), 77
21543 See \`config.log' for more details." >&2;}
21544 { (exit 1); exit 1; }; } ;;
21547 if test "$cross_compiling" = yes; then
21548 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21549 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21550 { (exit 1); exit 1; }; }
21552 cat >conftest.
$ac_ext <<_ACEOF
21555 cat confdefs.h
>>conftest.
$ac_ext
21556 cat >>conftest.
$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 $ac_includes_default
21559 long longval () { return (long) (sizeof (long long)); }
21560 unsigned long ulongval () { return (long) (sizeof (long long)); }
21562 #include <stdlib.h>
21567 FILE *f = fopen ("conftest.val", "w");
21570 if (((long) (sizeof (long long))) < 0)
21572 long i = longval ();
21573 if (i != ((long) (sizeof (long long))))
21575 fprintf (f, "%ld\n", i);
21579 unsigned long i = ulongval ();
21580 if (i != ((long) (sizeof (long long))))
21582 fprintf (f, "%lu\n", i);
21584 exit (ferror (f) || fclose (f) != 0);
21590 rm -f conftest
$ac_exeext
21591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21592 (eval $ac_link) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; }; then
21601 ac_cv_sizeof_long_long
=`cat conftest.val`
21603 echo "$as_me: program exited with status $ac_status" >&5
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21607 ( exit $ac_status )
21608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21609 See \`config.log' for more details." >&5
21610 echo "$as_me: error: cannot compute sizeof (long long), 77
21611 See \`config.log' for more details." >&2;}
21612 { (exit 1); exit 1; }; }
21614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21619 ac_cv_sizeof_long_long
=0
21622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21624 cat >>confdefs.h
<<_ACEOF
21625 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21631 echo "$as_me:$LINENO: checking for wchar_t" >&5
21632 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21633 if test "${ac_cv_type_wchar_t+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 cat >conftest.
$ac_ext <<_ACEOF
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21643 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21644 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21645 # error "fake wchar_t"
21647 #ifdef HAVE_WCHAR_H
21649 # include <stddef.h>
21651 # include <wchar.h>
21653 #ifdef HAVE_STDLIB_H
21654 # include <stdlib.h>
21665 if (sizeof (wchar_t))
21671 rm -f conftest.
$ac_objext
21672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21673 (eval $ac_compile) 2>conftest.er1
21675 grep -v '^ *+' conftest.er1
>conftest.err
21677 cat conftest.err
>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } &&
21680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; } &&
21686 { ac_try
='test -s conftest.$ac_objext'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; }; then
21692 ac_cv_type_wchar_t
=yes
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.
$ac_ext >&5
21697 ac_cv_type_wchar_t
=no
21699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21701 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21702 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21704 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21705 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21706 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21707 echo $ECHO_N "(cached) $ECHO_C" >&6
21709 if test "$ac_cv_type_wchar_t" = yes; then
21710 # The cast to unsigned long works around a bug in the HP C Compiler
21711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21713 # This bug is HP SR number 8606223364.
21714 if test "$cross_compiling" = yes; then
21715 # Depending upon the size, compute the lo and hi bounds.
21716 cat >conftest.
$ac_ext <<_ACEOF
21719 cat confdefs.h
>>conftest.
$ac_ext
21720 cat >>conftest.
$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21723 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21724 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21725 # error "fake wchar_t"
21727 #ifdef HAVE_WCHAR_H
21729 # include <stddef.h>
21731 # include <wchar.h>
21733 #ifdef HAVE_STDLIB_H
21734 # include <stdlib.h>
21743 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21750 rm -f conftest.
$ac_objext
21751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21752 (eval $ac_compile) 2>conftest.er1
21754 grep -v '^ *+' conftest.er1
>conftest.err
21756 cat conftest.err
>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); } &&
21759 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try
='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21773 cat >conftest.
$ac_ext <<_ACEOF
21776 cat confdefs.h
>>conftest.
$ac_ext
21777 cat >>conftest.
$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21780 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21781 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21782 # error "fake wchar_t"
21784 #ifdef HAVE_WCHAR_H
21786 # include <stddef.h>
21788 # include <wchar.h>
21790 #ifdef HAVE_STDLIB_H
21791 # include <stdlib.h>
21800 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21807 rm -f conftest.
$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809 (eval $ac_compile) 2>conftest.er1
21811 grep -v '^ *+' conftest.er1
>conftest.err
21813 cat conftest.err
>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } &&
21816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; } &&
21822 { ac_try
='test -s conftest.$ac_objext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21828 ac_hi
=$ac_mid; break
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.
$ac_ext >&5
21833 ac_lo
=`expr $ac_mid + 1`
21834 if test $ac_lo -le $ac_mid; then
21838 ac_mid
=`expr 2 '*' $ac_mid + 1`
21840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.
$ac_ext >&5
21846 cat >conftest.
$ac_ext <<_ACEOF
21849 cat confdefs.h
>>conftest.
$ac_ext
21850 cat >>conftest.
$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21853 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21854 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21855 # error "fake wchar_t"
21857 #ifdef HAVE_WCHAR_H
21859 # include <stddef.h>
21861 # include <wchar.h>
21863 #ifdef HAVE_STDLIB_H
21864 # include <stdlib.h>
21873 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21880 rm -f conftest.
$ac_objext
21881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21882 (eval $ac_compile) 2>conftest.er1
21884 grep -v '^ *+' conftest.er1
>conftest.err
21886 cat conftest.err
>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } &&
21889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try
='test -s conftest.$ac_objext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21903 cat >conftest.
$ac_ext <<_ACEOF
21906 cat confdefs.h
>>conftest.
$ac_ext
21907 cat >>conftest.
$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21910 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21911 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21912 # error "fake wchar_t"
21914 #ifdef HAVE_WCHAR_H
21916 # include <stddef.h>
21918 # include <wchar.h>
21920 #ifdef HAVE_STDLIB_H
21921 # include <stdlib.h>
21930 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21937 rm -f conftest.
$ac_objext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21939 (eval $ac_compile) 2>conftest.er1
21941 grep -v '^ *+' conftest.er1
>conftest.err
21943 cat conftest.err
>&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try
='test -s conftest.$ac_objext'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21958 ac_lo
=$ac_mid; break
21960 echo "$as_me: failed program was:" >&5
21961 sed 's/^/| /' conftest.
$ac_ext >&5
21963 ac_hi
=`expr '(' $ac_mid ')' - 1`
21964 if test $ac_mid -le $ac_hi; then
21968 ac_mid
=`expr 2 '*' $ac_mid`
21970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.
$ac_ext >&5
21978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21981 # Binary search between lo and hi bounds.
21982 while test "x$ac_lo" != "x$ac_hi"; do
21983 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21984 cat >conftest.
$ac_ext <<_ACEOF
21987 cat confdefs.h
>>conftest.
$ac_ext
21988 cat >>conftest.
$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21991 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21992 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21993 # error "fake wchar_t"
21995 #ifdef HAVE_WCHAR_H
21997 # include <stddef.h>
21999 # include <wchar.h>
22001 #ifdef HAVE_STDLIB_H
22002 # include <stdlib.h>
22011 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22018 rm -f conftest.
$ac_objext
22019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22020 (eval $ac_compile) 2>conftest.er1
22022 grep -v '^ *+' conftest.er1
>conftest.err
22024 cat conftest.err
>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } &&
22027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; } &&
22033 { ac_try
='test -s conftest.$ac_objext'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; }; then
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.
$ac_ext >&5
22044 ac_lo
=`expr '(' $ac_mid ')' + 1`
22046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22049 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22051 See \`config.log' for more details." >&5
22052 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22053 See \`config.log' for more details." >&2;}
22054 { (exit 1); exit 1; }; } ;;
22057 if test "$cross_compiling" = yes; then
22058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22060 { (exit 1); exit 1; }; }
22062 cat >conftest.
$ac_ext <<_ACEOF
22065 cat confdefs.h
>>conftest.
$ac_ext
22066 cat >>conftest.
$ac_ext <<_ACEOF
22067 /* end confdefs.h. */
22069 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22070 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22071 # error "fake wchar_t"
22073 #ifdef HAVE_WCHAR_H
22075 # include <stddef.h>
22077 # include <wchar.h>
22079 #ifdef HAVE_STDLIB_H
22080 # include <stdlib.h>
22086 long longval () { return (long) (sizeof (wchar_t)); }
22087 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22089 #include <stdlib.h>
22094 FILE *f = fopen ("conftest.val", "w");
22097 if (((long) (sizeof (wchar_t))) < 0)
22099 long i = longval ();
22100 if (i != ((long) (sizeof (wchar_t))))
22102 fprintf (f, "%ld\n", i);
22106 unsigned long i = ulongval ();
22107 if (i != ((long) (sizeof (wchar_t))))
22109 fprintf (f, "%lu\n", i);
22111 exit (ferror (f) || fclose (f) != 0);
22117 rm -f conftest
$ac_exeext
22118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22119 (eval $ac_link) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22130 echo "$as_me: program exited with status $ac_status" >&5
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.
$ac_ext >&5
22134 ( exit $ac_status )
22135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22136 See \`config.log' for more details." >&5
22137 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22138 See \`config.log' for more details." >&2;}
22139 { (exit 1); exit 1; }; }
22141 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22146 ac_cv_sizeof_wchar_t
=0
22149 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22150 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22151 cat >>confdefs.h
<<_ACEOF
22152 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22156 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22162 echo "$as_me:$LINENO: checking for va_copy" >&5
22163 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22164 if test "${wx_cv_func_va_copy+set}" = set; then
22165 echo $ECHO_N "(cached) $ECHO_C" >&6
22168 cat >conftest.
$ac_ext <<_ACEOF
22170 #include <stdarg.h>
22171 void foo(char *f, ...)
22185 rm -f conftest.
$ac_objext conftest
$ac_exeext
22186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22187 (eval $ac_link) 2>conftest.er1
22189 grep -v '^ *+' conftest.er1
>conftest.err
22191 cat conftest.err
>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } &&
22194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; } &&
22200 { ac_try
='test -s conftest$ac_exeext'
22201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22202 (eval $ac_try) 2>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; }; then
22206 wx_cv_func_va_copy
=yes
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.
$ac_ext >&5
22211 wx_cv_func_va_copy
=no
22214 rm -f conftest.err conftest.
$ac_objext \
22215 conftest
$ac_exeext conftest.
$ac_ext
22219 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22220 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22222 if test $wx_cv_func_va_copy = "yes"; then
22223 cat >>confdefs.h
<<\_ACEOF
22224 #define HAVE_VA_COPY 1
22228 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22229 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22230 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22231 echo $ECHO_N "(cached) $ECHO_C" >&6
22234 if test "$cross_compiling" = yes; then
22235 wx_cv_type_va_list_lvalue
=yes
22238 cat >conftest.
$ac_ext <<_ACEOF
22240 #include <stdarg.h>
22241 int foo(char *f, ...)
22246 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22254 return foo("hi", 17);
22257 rm -f conftest
$ac_exeext
22258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22259 (eval $ac_link) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 wx_cv_type_va_list_lvalue
=yes
22270 echo "$as_me: program exited with status $ac_status" >&5
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.
$ac_ext >&5
22274 ( exit $ac_status )
22275 wx_cv_type_va_list_lvalue
=no
22277 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22282 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22283 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22285 if test $wx_cv_type_va_list_lvalue != "yes"; then
22286 cat >>confdefs.h
<<\_ACEOF
22287 #define VA_LIST_IS_ARRAY 1
22293 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22294 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22295 if test "${wx_cv_have_variadic_macros+set}" = set; then
22296 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 cat >conftest.
$ac_ext <<_ACEOF
22302 cat confdefs.h
>>conftest.
$ac_ext
22303 cat >>conftest.
$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22307 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22313 test("%s %d %p", "test", 1, 0);
22320 rm -f conftest.
$ac_objext
22321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22322 (eval $ac_compile) 2>conftest.er1
22324 grep -v '^ *+' conftest.er1
>conftest.err
22326 cat conftest.err
>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } &&
22329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; } &&
22335 { ac_try
='test -s conftest.$ac_objext'
22336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22337 (eval $ac_try) 2>&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); }; }; then
22341 wx_cv_have_variadic_macros
=yes
22343 echo "$as_me: failed program was:" >&5
22344 sed 's/^/| /' conftest.
$ac_ext >&5
22346 wx_cv_have_variadic_macros
=no
22349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22353 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22354 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22356 if test $wx_cv_have_variadic_macros = "yes"; then
22357 cat >>confdefs.h
<<\_ACEOF
22358 #define HAVE_VARIADIC_MACROS 1
22363 # Check whether --enable-largefile or --disable-largefile was given.
22364 if test "${enable_largefile+set}" = set; then
22365 enableval
="$enable_largefile"
22368 if test "$enable_largefile" != no
; then
22371 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22372 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22373 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22377 cat >conftest.
$ac_ext <<_ACEOF
22380 cat confdefs.h
>>conftest.
$ac_ext
22381 cat >>conftest.
$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 #define _FILE_OFFSET_BITS 64
22384 #include <sys/types.h>
22389 unsigned int field: sizeof(off_t) == 8;
22396 rm -f conftest.
$ac_objext
22397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22398 (eval $ac_compile) 2>conftest.er1
22400 grep -v '^ *+' conftest.er1
>conftest.err
22402 cat conftest.err
>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } &&
22405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; } &&
22411 { ac_try
='test -s conftest.$ac_objext'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; }; then
22417 ac_cv_sys_file_offset_bits
=64
22419 echo "$as_me: failed program was:" >&5
22420 sed 's/^/| /' conftest.
$ac_ext >&5
22422 ac_cv_sys_file_offset_bits
=no
22424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22428 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22429 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22431 if test "$ac_cv_sys_file_offset_bits" != no
; then
22433 cat >>confdefs.h
<<_ACEOF
22434 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22439 if test "x$wx_largefile" != "xyes"; then
22441 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22442 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22443 if test "${ac_cv_sys_large_files+set}" = set; then
22444 echo $ECHO_N "(cached) $ECHO_C" >&6
22447 cat >conftest.
$ac_ext <<_ACEOF
22450 cat confdefs.h
>>conftest.
$ac_ext
22451 cat >>conftest.
$ac_ext <<_ACEOF
22452 /* end confdefs.h. */
22453 #define _LARGE_FILES 1
22454 #include <sys/types.h>
22459 unsigned int field: sizeof(off_t) == 8;
22466 rm -f conftest.
$ac_objext
22467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22468 (eval $ac_compile) 2>conftest.er1
22470 grep -v '^ *+' conftest.er1
>conftest.err
22472 cat conftest.err
>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; } &&
22481 { ac_try
='test -s conftest.$ac_objext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 ac_cv_sys_large_files
=1
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.
$ac_ext >&5
22492 ac_cv_sys_large_files
=no
22494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22498 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22499 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22501 if test "$ac_cv_sys_large_files" != no
; then
22503 cat >>confdefs.h
<<_ACEOF
22504 #define _LARGE_FILES $ac_cv_sys_large_files
22511 echo "$as_me:$LINENO: checking if large file support is available" >&5
22512 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22513 if test "x$wx_largefile" = "xyes"; then
22514 cat >>confdefs.h
<<\_ACEOF
22515 #define HAVE_LARGEFILE_SUPPORT 1
22519 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22520 echo "${ECHO_T}$wx_largefile" >&6
22524 if test "x$wx_largefile" = "xyes"; then
22525 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22526 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22528 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22529 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22530 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22531 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22532 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 cat >conftest.
$ac_ext <<_ACEOF
22538 cat confdefs.h
>>conftest.
$ac_ext
22539 cat >>conftest.
$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22546 #ifndef __STDC_EXT__
22554 rm -f conftest.
$ac_objext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22556 (eval $ac_compile) 2>conftest.er1
22558 grep -v '^ *+' conftest.er1
>conftest.err
22560 cat conftest.err
>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } &&
22563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22565 (eval $ac_try) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); }; } &&
22569 { ac_try
='test -s conftest.$ac_objext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 wx_cv_STDC_EXT_required
=no
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.
$ac_ext >&5
22580 wx_cv_STDC_EXT_required
=yes
22583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22587 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22588 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22589 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22590 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22594 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22596 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22597 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22598 if test "${ac_cv_sys_largefile_source+set}" = set; then
22599 echo $ECHO_N "(cached) $ECHO_C" >&6
22602 ac_cv_sys_largefile_source
=no
22603 cat >conftest.
$ac_ext <<_ACEOF
22606 cat confdefs.h
>>conftest.
$ac_ext
22607 cat >>conftest.
$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22618 rm -f conftest.
$ac_objext
22619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22620 (eval $ac_compile) 2>conftest.er1
22622 grep -v '^ *+' conftest.er1
>conftest.err
22624 cat conftest.err
>&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } &&
22627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629 (eval $ac_try) 2>&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; } &&
22633 { ac_try
='test -s conftest.$ac_objext'
22634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635 (eval $ac_try) 2>&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; }; then
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.
$ac_ext >&5
22645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22646 cat >conftest.
$ac_ext <<_ACEOF
22649 cat confdefs.h
>>conftest.
$ac_ext
22650 cat >>conftest.
$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22652 #define _LARGEFILE_SOURCE 1
22662 rm -f conftest.
$ac_objext
22663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22664 (eval $ac_compile) 2>conftest.er1
22666 grep -v '^ *+' conftest.er1
>conftest.err
22668 cat conftest.err
>&5
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); } &&
22671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22673 (eval $ac_try) 2>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; } &&
22677 { ac_try
='test -s conftest.$ac_objext'
22678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22679 (eval $ac_try) 2>&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); }; }; then
22683 ac_cv_sys_largefile_source
=1; break
22685 echo "$as_me: failed program was:" >&5
22686 sed 's/^/| /' conftest.
$ac_ext >&5
22689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22693 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22694 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22695 if test "$ac_cv_sys_largefile_source" != no
; then
22697 cat >>confdefs.h
<<_ACEOF
22698 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22704 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22705 # in glibc 2.1.3, but that breaks too many other things.
22706 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22707 echo "$as_me:$LINENO: checking for fseeko" >&5
22708 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22709 if test "${ac_cv_func_fseeko+set}" = set; then
22710 echo $ECHO_N "(cached) $ECHO_C" >&6
22712 cat >conftest.
$ac_ext <<_ACEOF
22715 cat confdefs.h
>>conftest.
$ac_ext
22716 cat >>conftest.
$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22722 return fseeko && fseeko (stdin, 0, 0);
22727 rm -f conftest.
$ac_objext conftest
$ac_exeext
22728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22729 (eval $ac_link) 2>conftest.er1
22731 grep -v '^ *+' conftest.er1
>conftest.err
22733 cat conftest.err
>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738 (eval $ac_try) 2>&5
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; } &&
22742 { ac_try
='test -s conftest$ac_exeext'
22743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744 (eval $ac_try) 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 ac_cv_func_fseeko
=yes
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.
$ac_ext >&5
22753 ac_cv_func_fseeko
=no
22755 rm -f conftest.err conftest.
$ac_objext \
22756 conftest
$ac_exeext conftest.
$ac_ext
22758 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22759 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22760 if test $ac_cv_func_fseeko = yes; then
22762 cat >>confdefs.h
<<\_ACEOF
22763 #define HAVE_FSEEKO 1
22768 if test "$ac_cv_sys_largefile_source" != no
; then
22769 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22773 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22774 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22775 if test "${ac_cv_c_bigendian+set}" = set; then
22776 echo $ECHO_N "(cached) $ECHO_C" >&6
22778 ac_cv_c_bigendian
=unknown
22779 # See if sys/param.h defines the BYTE_ORDER macro.
22780 cat >conftest.
$ac_ext <<_ACEOF
22783 cat confdefs.h
>>conftest.
$ac_ext
22784 cat >>conftest.
$ac_ext <<_ACEOF
22785 /* end confdefs.h. */
22786 #include <sys/types.h>
22787 #include <sys/param.h>
22792 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22793 bogus endian macros
22799 rm -f conftest.
$ac_objext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22801 (eval $ac_compile) 2>conftest.er1
22803 grep -v '^ *+' conftest.er1
>conftest.err
22805 cat conftest.err
>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } &&
22808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try
='test -s conftest.$ac_objext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 # It does; now see whether it defined to BIG_ENDIAN or not.
22821 cat >conftest.
$ac_ext <<_ACEOF
22824 cat confdefs.h
>>conftest.
$ac_ext
22825 cat >>conftest.
$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 #include <sys/types.h>
22828 #include <sys/param.h>
22833 #if BYTE_ORDER != BIG_ENDIAN
22840 rm -f conftest.
$ac_objext
22841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22842 (eval $ac_compile) 2>conftest.er1
22844 grep -v '^ *+' conftest.er1
>conftest.err
22846 cat conftest.err
>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } &&
22849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; } &&
22855 { ac_try
='test -s conftest.$ac_objext'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 ac_cv_c_bigendian
=yes
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.
$ac_ext >&5
22866 ac_cv_c_bigendian
=no
22868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.
$ac_ext >&5
22874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22875 if test $ac_cv_c_bigendian = unknown
; then
22876 if test "$cross_compiling" = yes; then
22877 ac_cv_c_bigendian
=unknown
22879 cat >conftest.
$ac_ext <<_ACEOF
22882 cat confdefs.h
>>conftest.
$ac_ext
22883 cat >>conftest.
$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22886 /* Are we little or big endian? From Harbison&Steele. */
22890 char c[sizeof (long)];
22893 exit (u.c[sizeof (long) - 1] == 1);
22896 rm -f conftest
$ac_exeext
22897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22898 (eval $ac_link) 2>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22903 (eval $ac_try) 2>&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); }; }; then
22907 ac_cv_c_bigendian
=no
22909 echo "$as_me: program exited with status $ac_status" >&5
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.
$ac_ext >&5
22913 ( exit $ac_status )
22914 ac_cv_c_bigendian
=yes
22916 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22920 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22921 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22922 if test $ac_cv_c_bigendian = unknown
; then
22923 { 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
22924 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;}
22926 if test $ac_cv_c_bigendian = yes; then
22927 cat >>confdefs.h
<<\_ACEOF
22928 #define WORDS_BIGENDIAN 1
22938 ac_cpp
='$CXXCPP $CPPFLAGS'
22939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22945 for ac_header
in iostream
22947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22949 echo "$as_me:$LINENO: checking for $ac_header" >&5
22950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22957 # Is the header compilable?
22958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22960 cat >conftest.
$ac_ext <<_ACEOF
22963 cat confdefs.h
>>conftest.
$ac_ext
22964 cat >>conftest.
$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966 $ac_includes_default
22967 #include <$ac_header>
22969 rm -f conftest.
$ac_objext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22971 (eval $ac_compile) 2>conftest.er1
22973 grep -v '^ *+' conftest.er1
>conftest.err
22975 cat conftest.err
>&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980 (eval $ac_try) 2>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; } &&
22984 { ac_try
='test -s conftest.$ac_objext'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; }; then
22990 ac_header_compiler
=yes
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22995 ac_header_compiler
=no
22997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22999 echo "${ECHO_T}$ac_header_compiler" >&6
23001 # Is the header present?
23002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23004 cat >conftest.
$ac_ext <<_ACEOF
23007 cat confdefs.h
>>conftest.
$ac_ext
23008 cat >>conftest.
$ac_ext <<_ACEOF
23009 /* end confdefs.h. */
23010 #include <$ac_header>
23012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23015 grep -v '^ *+' conftest.er1
>conftest.err
23017 cat conftest.err
>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } >/dev
/null
; then
23020 if test -s conftest.err
; then
23021 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23022 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23029 if test -z "$ac_cpp_err"; then
23030 ac_header_preproc
=yes
23032 echo "$as_me: failed program was:" >&5
23033 sed 's/^/| /' conftest.
$ac_ext >&5
23035 ac_header_preproc
=no
23037 rm -f conftest.err conftest.
$ac_ext
23038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23039 echo "${ECHO_T}$ac_header_preproc" >&6
23041 # So? What about this header?
23042 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23047 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23048 ac_header_preproc
=yes
23051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23055 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23056 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23058 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23062 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23065 ## ----------------------------------------- ##
23066 ## Report this to wx-dev@lists.wxwidgets.org ##
23067 ## ----------------------------------------- ##
23070 sed "s/^/$as_me: WARNING: /" >&2
23073 echo "$as_me:$LINENO: checking for $ac_header" >&5
23074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23076 echo $ECHO_N "(cached) $ECHO_C" >&6
23078 eval "$as_ac_Header=\$ac_header_preproc"
23080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23085 cat >>confdefs.h
<<_ACEOF
23086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23094 if test "$ac_cv_header_iostream" = "yes" ; then
23097 cat >>confdefs.h
<<\_ACEOF
23098 #define wxUSE_IOSTREAMH 1
23104 ac_cpp
='$CXXCPP $CPPFLAGS'
23105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23112 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23113 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23114 if test "${wx_cv_cpp_bool+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 ac_cpp
='$CXXCPP $CPPFLAGS'
23122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23127 cat >conftest.
$ac_ext <<_ACEOF
23130 cat confdefs.h
>>conftest.
$ac_ext
23131 cat >>conftest.
$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23147 rm -f conftest.
$ac_objext
23148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23149 (eval $ac_compile) 2>conftest.er1
23151 grep -v '^ *+' conftest.er1
>conftest.err
23153 cat conftest.err
>&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); } &&
23156 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158 (eval $ac_try) 2>&5
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; } &&
23162 { ac_try
='test -s conftest.$ac_objext'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23172 echo "$as_me: failed program was:" >&5
23173 sed 's/^/| /' conftest.
$ac_ext >&5
23180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23183 ac_cpp
='$CXXCPP $CPPFLAGS'
23184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23190 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23191 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23193 if test "$wx_cv_cpp_bool" = "yes"; then
23194 cat >>confdefs.h
<<\_ACEOF
23195 #define HAVE_BOOL 1
23202 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23203 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23204 if test "${wx_cv_explicit+set}" = set; then
23205 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 ac_cpp
='$CXXCPP $CPPFLAGS'
23212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23217 cat >conftest.
$ac_ext <<_ACEOF
23220 cat confdefs.h
>>conftest.
$ac_ext
23221 cat >>conftest.
$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23224 class Foo { public: explicit Foo(int) {} };
23236 rm -f conftest.
$ac_objext
23237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23238 (eval $ac_compile) 2>conftest.er1
23240 grep -v '^ *+' conftest.er1
>conftest.err
23242 cat conftest.err
>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } &&
23245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; } &&
23251 { ac_try
='test -s conftest.$ac_objext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23258 cat >conftest.
$ac_ext <<_ACEOF
23261 cat confdefs.h
>>conftest.
$ac_ext
23262 cat >>conftest.
$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23265 class Foo { public: explicit Foo(int) {} };
23266 static void TakeFoo(const Foo& foo) { }
23279 rm -f conftest.
$ac_objext
23280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23281 (eval $ac_compile) 2>conftest.er1
23283 grep -v '^ *+' conftest.er1
>conftest.err
23285 cat conftest.err
>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; } &&
23294 { ac_try
='test -s conftest.$ac_objext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.
$ac_ext >&5
23308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.
$ac_ext >&5
23317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23320 ac_cpp
='$CXXCPP $CPPFLAGS'
23321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23327 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23328 echo "${ECHO_T}$wx_cv_explicit" >&6
23330 if test "$wx_cv_explicit" = "yes"; then
23331 cat >>confdefs.h
<<\_ACEOF
23332 #define HAVE_EXPLICIT 1
23338 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23339 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23340 if test "${ac_cv_cxx_const_cast+set}" = set; then
23341 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 ac_cpp
='$CXXCPP $CPPFLAGS'
23347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23351 cat >conftest.
$ac_ext <<_ACEOF
23354 cat confdefs.h
>>conftest.
$ac_ext
23355 cat >>conftest.
$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23361 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23366 rm -f conftest.
$ac_objext
23367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23368 (eval $ac_compile) 2>conftest.er1
23370 grep -v '^ *+' conftest.er1
>conftest.err
23372 cat conftest.err
>&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); } &&
23375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23377 (eval $ac_try) 2>&5
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); }; } &&
23381 { ac_try
='test -s conftest.$ac_objext'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; }; then
23387 ac_cv_cxx_const_cast
=yes
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.
$ac_ext >&5
23392 ac_cv_cxx_const_cast
=no
23394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23396 ac_cpp
='$CXXCPP $CPPFLAGS'
23397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23403 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23404 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23405 if test "$ac_cv_cxx_const_cast" = yes; then
23407 cat >>confdefs.h
<<\_ACEOF
23408 #define HAVE_CONST_CAST
23413 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23414 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23415 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23416 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 ac_cpp
='$CXXCPP $CPPFLAGS'
23422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23426 cat >conftest.
$ac_ext <<_ACEOF
23429 cat confdefs.h
>>conftest.
$ac_ext
23430 cat >>conftest.
$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 #include <typeinfo>
23433 class Base { public : Base () {} virtual void f () = 0;};
23434 class Derived : public Base { public : Derived () {} virtual void f () {} };
23435 class Unrelated { public : Unrelated () {} };
23436 int g (Unrelated&) { return 0; }
23441 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23446 rm -f conftest.
$ac_objext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23448 (eval $ac_compile) 2>conftest.er1
23450 grep -v '^ *+' conftest.er1
>conftest.err
23452 cat conftest.err
>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try
='test -s conftest.$ac_objext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467 ac_cv_cxx_reinterpret_cast
=yes
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.
$ac_ext >&5
23472 ac_cv_cxx_reinterpret_cast
=no
23474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23476 ac_cpp
='$CXXCPP $CPPFLAGS'
23477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23483 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23484 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23485 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23487 cat >>confdefs.h
<<\_ACEOF
23488 #define HAVE_REINTERPRET_CAST
23493 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23494 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23495 if test "${ac_cv_cxx_static_cast+set}" = set; then
23496 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 ac_cpp
='$CXXCPP $CPPFLAGS'
23502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23506 cat >conftest.
$ac_ext <<_ACEOF
23509 cat confdefs.h
>>conftest.
$ac_ext
23510 cat >>conftest.
$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23512 #include <typeinfo>
23513 class Base { public : Base () {} virtual void f () = 0; };
23514 class Derived : public Base { public : Derived () {} virtual void f () {} };
23515 int g (Derived&) { return 0; }
23520 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23525 rm -f conftest.
$ac_objext
23526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23527 (eval $ac_compile) 2>conftest.er1
23529 grep -v '^ *+' conftest.er1
>conftest.err
23531 cat conftest.err
>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); } &&
23534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; } &&
23540 { ac_try
='test -s conftest.$ac_objext'
23541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23542 (eval $ac_try) 2>&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); }; }; then
23546 ac_cv_cxx_static_cast
=yes
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.
$ac_ext >&5
23551 ac_cv_cxx_static_cast
=no
23553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23555 ac_cpp
='$CXXCPP $CPPFLAGS'
23556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23562 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23563 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23564 if test "$ac_cv_cxx_static_cast" = yes; then
23566 cat >>confdefs.h
<<\_ACEOF
23567 #define HAVE_STATIC_CAST
23573 if test "x$SUNCXX" = xyes
; then
23574 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23577 if test "x$SUNCC" = xyes
; then
23578 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23581 if test "x$SGICC" = "xyes"; then
23582 CFLAGS
="-woff 3970 $CFLAGS"
23584 if test "x$SGICXX" = "xyes"; then
23585 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23588 if test "x$HPCC" = "xyes"; then
23589 CFLAGS
="+W 2011,2450 $CFLAGS"
23591 if test "x$HPCXX" = "xyes"; then
23592 CXXFLAGS
="+W 2340 $CXXFLAGS"
23595 if test "x$COMPAQCXX" = "xyes"; then
23596 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23599 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23600 if test "$wxUSE_UNICODE" = "yes"; then
23601 std_string
="std::wstring"
23602 char_type
="wchar_t"
23604 std_string
="std::string"
23608 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23609 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23610 cat >conftest.
$ac_ext <<_ACEOF
23613 cat confdefs.h
>>conftest.
$ac_ext
23614 cat >>conftest.
$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23625 rm -f conftest.
$ac_objext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23627 (eval $ac_compile) 2>conftest.er1
23629 grep -v '^ *+' conftest.er1
>conftest.err
23631 cat conftest.err
>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; } &&
23640 { ac_try
='test -s conftest.$ac_objext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 echo "$as_me:$LINENO: result: yes" >&5
23647 echo "${ECHO_T}yes" >&6
23648 cat >>confdefs.h
<<\_ACEOF
23649 #define HAVE_STD_WSTRING 1
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.
$ac_ext >&5
23656 echo "$as_me:$LINENO: result: no" >&5
23657 echo "${ECHO_T}no" >&6
23658 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23659 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23660 cat >conftest.
$ac_ext <<_ACEOF
23663 cat confdefs.h
>>conftest.
$ac_ext
23664 cat >>conftest.
$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23667 #ifdef HAVE_WCHAR_H
23669 # include <stddef.h>
23671 # include <wchar.h>
23673 #ifdef HAVE_STDLIB_H
23674 # include <stdlib.h>
23682 std::basic_string<$char_type> foo;
23683 const $char_type* dummy = foo.c_str();
23688 rm -f conftest.
$ac_objext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23690 (eval $ac_compile) 2>conftest.er1
23692 grep -v '^ *+' conftest.er1
>conftest.err
23694 cat conftest.err
>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); } &&
23697 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; } &&
23703 { ac_try
='test -s conftest.$ac_objext'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; }; then
23709 echo "$as_me:$LINENO: result: yes" >&5
23710 echo "${ECHO_T}yes" >&6
23712 echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.
$ac_ext >&5
23715 echo "$as_me:$LINENO: result: no" >&5
23716 echo "${ECHO_T}no" >&6
23717 if test "$wxUSE_STL" = "yes"; then
23718 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23719 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23720 { (exit 1); exit 1; }; }
23721 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23722 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23723 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23724 { (exit 1); exit 1; }; }
23726 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23727 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23728 wxUSE_STD_STRING
=no
23733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23739 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23740 echo "$as_me:$LINENO: checking for std::istream" >&5
23741 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23742 if test "${ac_cv_type_std__istream+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 #include <iostream>
23756 if ((std::istream *) 0)
23758 if (sizeof (std::istream))
23764 rm -f conftest.
$ac_objext
23765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23766 (eval $ac_compile) 2>conftest.er1
23768 grep -v '^ *+' conftest.er1
>conftest.err
23770 cat conftest.err
>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } &&
23773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; } &&
23779 { ac_try
='test -s conftest.$ac_objext'
23780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781 (eval $ac_try) 2>&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); }; }; then
23785 ac_cv_type_std__istream
=yes
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.
$ac_ext >&5
23790 ac_cv_type_std__istream
=no
23792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23794 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23795 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23796 if test $ac_cv_type_std__istream = yes; then
23798 cat >>confdefs.h
<<_ACEOF
23799 #define HAVE_STD__ISTREAM 1
23804 wxUSE_STD_IOSTREAM
=no
23806 echo "$as_me:$LINENO: checking for std::ostream" >&5
23807 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23808 if test "${ac_cv_type_std__ostream+set}" = set; then
23809 echo $ECHO_N "(cached) $ECHO_C" >&6
23811 cat >conftest.
$ac_ext <<_ACEOF
23814 cat confdefs.h
>>conftest.
$ac_ext
23815 cat >>conftest.
$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817 #include <iostream>
23822 if ((std::ostream *) 0)
23824 if (sizeof (std::ostream))
23830 rm -f conftest.
$ac_objext
23831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23832 (eval $ac_compile) 2>conftest.er1
23834 grep -v '^ *+' conftest.er1
>conftest.err
23836 cat conftest.err
>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } &&
23839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; } &&
23845 { ac_try
='test -s conftest.$ac_objext'
23846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23847 (eval $ac_try) 2>&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); }; }; then
23851 ac_cv_type_std__ostream
=yes
23853 echo "$as_me: failed program was:" >&5
23854 sed 's/^/| /' conftest.
$ac_ext >&5
23856 ac_cv_type_std__ostream
=no
23858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23860 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23861 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23862 if test $ac_cv_type_std__ostream = yes; then
23864 cat >>confdefs.h
<<_ACEOF
23865 #define HAVE_STD__OSTREAM 1
23870 wxUSE_STD_IOSTREAM
=no
23874 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23875 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23876 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23877 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23878 { (exit 1); exit 1; }; }
23880 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23881 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23886 if test "$wxUSE_STL" = "yes"; then
23887 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23888 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23889 cat >conftest.
$ac_ext <<_ACEOF
23892 cat confdefs.h
>>conftest.
$ac_ext
23893 cat >>conftest.
$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23896 #include <functional>
23897 #include <algorithm>
23903 std::vector<int> moo;
23904 std::list<int> foo;
23905 std::vector<int>::iterator it =
23906 std::find_if(moo.begin(), moo.end(),
23907 std::bind2nd(std::less<int>(), 3));
23912 rm -f conftest.
$ac_objext
23913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23914 (eval $ac_compile) 2>conftest.er1
23916 grep -v '^ *+' conftest.er1
>conftest.err
23918 cat conftest.err
>&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } &&
23921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23923 (eval $ac_try) 2>&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); }; } &&
23927 { ac_try
='test -s conftest.$ac_objext'
23928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23929 (eval $ac_try) 2>&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); }; }; then
23933 echo "$as_me:$LINENO: result: yes" >&5
23934 echo "${ECHO_T}yes" >&6
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.
$ac_ext >&5
23939 echo "$as_me:$LINENO: result: no" >&5
23940 echo "${ECHO_T}no" >&6
23941 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23942 echo "$as_me: error: Basic STL functionality missing" >&2;}
23943 { (exit 1); exit 1; }; }
23945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23947 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23948 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23949 cat >conftest.
$ac_ext <<_ACEOF
23952 cat confdefs.h
>>conftest.
$ac_ext
23953 cat >>conftest.
$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23959 std::string foo, bar;
23961 foo.compare(1, 1, bar);
23962 foo.compare(1, 1, bar, 1, 1);
23964 foo.compare(1, 1, "");
23965 foo.compare(1, 1, "", 2);
23970 rm -f conftest.
$ac_objext
23971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23972 (eval $ac_compile) 2>conftest.er1
23974 grep -v '^ *+' conftest.er1
>conftest.err
23976 cat conftest.err
>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } &&
23979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; } &&
23985 { ac_try
='test -s conftest.$ac_objext'
23986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23987 (eval $ac_try) 2>&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); }; }; then
23991 echo "$as_me:$LINENO: result: yes" >&5
23992 echo "${ECHO_T}yes" >&6
23993 cat >>confdefs.h
<<\_ACEOF
23994 #define HAVE_STD_STRING_COMPARE 1
23998 echo "$as_me: failed program was:" >&5
23999 sed 's/^/| /' conftest.
$ac_ext >&5
24001 echo "$as_me:$LINENO: result: no" >&5
24002 echo "${ECHO_T}no" >&6
24004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24006 if test "${ac_cv_header_hash_map+set}" = set; then
24007 echo "$as_me:$LINENO: checking for hash_map" >&5
24008 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24009 if test "${ac_cv_header_hash_map+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24013 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24015 # Is the header compilable?
24016 echo "$as_me:$LINENO: checking hash_map usability" >&5
24017 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24018 cat >conftest.
$ac_ext <<_ACEOF
24021 cat confdefs.h
>>conftest.
$ac_ext
24022 cat >>conftest.
$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024 $ac_includes_default
24025 #include <hash_map>
24027 rm -f conftest.
$ac_objext
24028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24029 (eval $ac_compile) 2>conftest.er1
24031 grep -v '^ *+' conftest.er1
>conftest.err
24033 cat conftest.err
>&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } &&
24036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24038 (eval $ac_try) 2>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); }; } &&
24042 { ac_try
='test -s conftest.$ac_objext'
24043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24044 (eval $ac_try) 2>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; }; then
24048 ac_header_compiler
=yes
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.
$ac_ext >&5
24053 ac_header_compiler
=no
24055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24056 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24057 echo "${ECHO_T}$ac_header_compiler" >&6
24059 # Is the header present?
24060 echo "$as_me:$LINENO: checking hash_map presence" >&5
24061 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24062 cat >conftest.
$ac_ext <<_ACEOF
24065 cat confdefs.h
>>conftest.
$ac_ext
24066 cat >>conftest.
$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24068 #include <hash_map>
24070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24073 grep -v '^ *+' conftest.er1
>conftest.err
24075 cat conftest.err
>&5
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); } >/dev
/null
; then
24078 if test -s conftest.err
; then
24079 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24080 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24087 if test -z "$ac_cpp_err"; then
24088 ac_header_preproc
=yes
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.
$ac_ext >&5
24093 ac_header_preproc
=no
24095 rm -f conftest.err conftest.
$ac_ext
24096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24097 echo "${ECHO_T}$ac_header_preproc" >&6
24099 # So? What about this header?
24100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24102 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24103 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24104 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24105 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24106 ac_header_preproc
=yes
24109 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24110 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24111 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24112 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24113 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24114 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24115 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24116 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24117 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24118 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24119 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24120 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24123 ## ----------------------------------------- ##
24124 ## Report this to wx-dev@lists.wxwidgets.org ##
24125 ## ----------------------------------------- ##
24128 sed "s/^/$as_me: WARNING: /" >&2
24131 echo "$as_me:$LINENO: checking for hash_map" >&5
24132 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24133 if test "${ac_cv_header_hash_map+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24136 ac_cv_header_hash_map
=$ac_header_preproc
24138 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24139 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24142 if test $ac_cv_header_hash_map = yes; then
24143 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24144 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24145 cat >conftest.
$ac_ext <<_ACEOF
24148 cat confdefs.h
>>conftest.
$ac_ext
24149 cat >>conftest.
$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151 #include <hash_map>
24152 #include <hash_set>
24156 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24157 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24162 rm -f conftest.
$ac_objext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24164 (eval $ac_compile) 2>conftest.er1
24166 grep -v '^ *+' conftest.er1
>conftest.err
24168 cat conftest.err
>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } &&
24171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173 (eval $ac_try) 2>&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); }; } &&
24177 { ac_try
='test -s conftest.$ac_objext'
24178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24179 (eval $ac_try) 2>&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); }; }; then
24183 echo "$as_me:$LINENO: result: yes" >&5
24184 echo "${ECHO_T}yes" >&6
24185 cat >>confdefs.h
<<\_ACEOF
24186 #define HAVE_HASH_MAP 1
24189 cat >>confdefs.h
<<\_ACEOF
24190 #define HAVE_STD_HASH_MAP 1
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.
$ac_ext >&5
24197 echo "$as_me:$LINENO: result: no" >&5
24198 echo "${ECHO_T}no" >&6
24200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24206 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24207 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24208 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24209 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24210 echo $ECHO_N "(cached) $ECHO_C" >&6
24212 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24213 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24215 # Is the header compilable?
24216 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24217 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24218 cat >conftest.
$ac_ext <<_ACEOF
24221 cat confdefs.h
>>conftest.
$ac_ext
24222 cat >>conftest.
$ac_ext <<_ACEOF
24223 /* end confdefs.h. */
24224 $ac_includes_default
24225 #include <ext/hash_map>
24227 rm -f conftest.
$ac_objext
24228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24229 (eval $ac_compile) 2>conftest.er1
24231 grep -v '^ *+' conftest.er1
>conftest.err
24233 cat conftest.err
>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } &&
24236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; } &&
24242 { ac_try
='test -s conftest.$ac_objext'
24243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244 (eval $ac_try) 2>&5
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; }; then
24248 ac_header_compiler
=yes
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24253 ac_header_compiler
=no
24255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24257 echo "${ECHO_T}$ac_header_compiler" >&6
24259 # Is the header present?
24260 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24261 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24262 cat >conftest.
$ac_ext <<_ACEOF
24265 cat confdefs.h
>>conftest.
$ac_ext
24266 cat >>conftest.
$ac_ext <<_ACEOF
24267 /* end confdefs.h. */
24268 #include <ext/hash_map>
24270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24273 grep -v '^ *+' conftest.er1
>conftest.err
24275 cat conftest.err
>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } >/dev
/null
; then
24278 if test -s conftest.err
; then
24279 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24280 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24287 if test -z "$ac_cpp_err"; then
24288 ac_header_preproc
=yes
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.
$ac_ext >&5
24293 ac_header_preproc
=no
24295 rm -f conftest.err conftest.
$ac_ext
24296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24297 echo "${ECHO_T}$ac_header_preproc" >&6
24299 # So? What about this header?
24300 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24302 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24303 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24304 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24305 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24306 ac_header_preproc
=yes
24309 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24310 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24311 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24312 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24313 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24314 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24315 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24316 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24317 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24318 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24319 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24320 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24323 ## ----------------------------------------- ##
24324 ## Report this to wx-dev@lists.wxwidgets.org ##
24325 ## ----------------------------------------- ##
24328 sed "s/^/$as_me: WARNING: /" >&2
24331 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24332 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24333 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24334 echo $ECHO_N "(cached) $ECHO_C" >&6
24336 ac_cv_header_ext_hash_map
=$ac_header_preproc
24338 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24339 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24342 if test $ac_cv_header_ext_hash_map = yes; then
24343 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24344 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24345 cat >conftest.
$ac_ext <<_ACEOF
24348 cat confdefs.h
>>conftest.
$ac_ext
24349 cat >>conftest.
$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 #include <ext/hash_map>
24352 #include <ext/hash_set>
24356 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24357 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24362 rm -f conftest.
$ac_objext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24364 (eval $ac_compile) 2>conftest.er1
24366 grep -v '^ *+' conftest.er1
>conftest.err
24368 cat conftest.err
>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try
='test -s conftest.$ac_objext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 echo "$as_me:$LINENO: result: yes" >&5
24384 echo "${ECHO_T}yes" >&6
24385 cat >>confdefs.h
<<\_ACEOF
24386 #define HAVE_EXT_HASH_MAP 1
24389 cat >>confdefs.h
<<\_ACEOF
24390 #define HAVE_GNU_CXX_HASH_MAP 1
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.
$ac_ext >&5
24397 echo "$as_me:$LINENO: result: no" >&5
24398 echo "${ECHO_T}no" >&6
24400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24409 /usr/local/include \
24411 /usr/Motif-2.1/include \
24412 /usr/Motif-1.2/include \
24413 /usr/include/Motif1.2 \
24416 /usr/openwin/include \
24420 /usr/X11R6/include \
24421 /usr/X11R6.4/include \
24422 /usr/X11R5/include \
24423 /usr/X11R4/include \
24425 /usr/include/X11R6 \
24426 /usr/include/X11R5 \
24427 /usr/include/X11R4 \
24429 /usr/local/X11R6/include \
24430 /usr/local/X11R5/include \
24431 /usr/local/X11R4/include \
24433 /usr/local/include/X11R6 \
24434 /usr/local/include/X11R5 \
24435 /usr/local/include/X11R4 \
24439 /usr/local/X11/include \
24440 /usr/local/include/X11 \
24442 /usr/XFree86/include/X11 \
24445 /usr/openwin/share/include"
24447 echo "$as_me:$LINENO: checking for libraries directory" >&5
24448 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24452 if test "${wx_cv_std_libpath+set}" = set; then
24453 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24457 for e
in a so sl dylib dll.a
; do
24459 if test -f $libc; then
24462 cat >conftest.
$ac_ext <<_ACEOF
24463 int main() { return 0; }
24465 rm -f conftest.
$ac_objext conftest
$ac_exeext
24466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24467 (eval $ac_link) 2>conftest.er1
24469 grep -v '^ *+' conftest.er1
>conftest.err
24471 cat conftest.err
>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); } &&
24474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; } &&
24480 { ac_try
='test -s conftest$ac_exeext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.
$ac_ext >&5
24492 rm -f conftest.err conftest.
$ac_objext \
24493 conftest
$ac_exeext conftest.
$ac_ext
24495 if test "x$wx_cv_std_libpath" != "x"; then
24501 if test "x$wx_cv_std_libpath" = "x"; then
24502 wx_cv_std_libpath
="lib"
24511 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24512 wx_cv_std_libpath
="lib/64"
24514 wx_cv_std_libpath
="lib"
24519 if test "$ac_cv_sizeof_void_p" = 8 -a \
24520 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24521 wx_cv_std_libpath
="lib64"
24523 wx_cv_std_libpath
="lib"
24528 wx_cv_std_libpath
="lib";
24532 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24533 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24535 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24537 if test "$build" != "$host" -a "$GCC" = yes; then
24538 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24539 cross_root
=`dirname $cross_root`
24540 cross_root
=`dirname $cross_root`
24542 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24543 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24544 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24546 if test -z "$PKG_CONFIG_PATH"; then
24547 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24548 export PKG_CONFIG_PATH
24551 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24554 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24556 if test -f "$ac_dir/X11/Intrinsic.h"; then
24557 ac_find_includes
=$ac_dir
24562 x_includes
=$ac_find_includes
24564 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24567 for ac_dir
in $SEARCH_LIB;
24569 for ac_extension
in a so sl dylib dll.a
; do
24570 if test -f "$ac_dir/libXt.$ac_extension"; then
24571 ac_find_libraries
=$ac_dir
24577 x_libraries
=$ac_find_libraries
24583 cat >confcache
<<\_ACEOF
24584 # This file is a shell script that caches the results of configure
24585 # tests run on this system so they can be shared between configure
24586 # scripts and configure runs, see configure's option --config-cache.
24587 # It is not useful on other systems. If it contains results you don't
24588 # want to keep, you may remove or edit it.
24590 # config.status only pays attention to the cache file if you give it
24591 # the --recheck option to rerun configure.
24593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24595 # following values.
24599 # The following way of writing the cache mishandles newlines in values,
24600 # but we know of no workaround that is simple, portable, and efficient.
24601 # So, don't put newlines in cache variables' values.
24602 # Ultrix sh set writes to stderr and can't be redirected directly,
24603 # and sets the high bit in the cache file unless we assign to the vars.
24606 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24608 # `set' does not quote correctly, so add quotes (double-quote
24609 # substitution turns \\\\ into \\, and sed turns \\ into \).
24612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24615 # `set' quotes correctly as required by POSIX, so do not add quotes.
24617 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24626 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24628 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24629 if test -w $cache_file; then
24630 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24631 cat confcache
>$cache_file
24633 echo "not updating unwritable cache $cache_file"
24638 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24639 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24640 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24641 if test "${wx_cv_lib_glibc21+set}" = set; then
24642 echo $ECHO_N "(cached) $ECHO_C" >&6
24645 cat >conftest.
$ac_ext <<_ACEOF
24648 cat confdefs.h
>>conftest.
$ac_ext
24649 cat >>conftest.
$ac_ext <<_ACEOF
24650 /* end confdefs.h. */
24651 #include <features.h>
24656 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24664 rm -f conftest.
$ac_objext
24665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24666 (eval $ac_compile) 2>conftest.er1
24668 grep -v '^ *+' conftest.er1
>conftest.err
24670 cat conftest.err
>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); } &&
24673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; } &&
24679 { ac_try
='test -s conftest.$ac_objext'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; }; then
24686 wx_cv_lib_glibc21
=yes
24689 echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.
$ac_ext >&5
24693 wx_cv_lib_glibc21
=no
24697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24700 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24701 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24702 if test "$wx_cv_lib_glibc21" = "yes"; then
24703 cat >>confdefs.h
<<\_ACEOF
24704 #define wxHAVE_GLIBC2 1
24710 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24711 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24712 cat >>confdefs.h
<<\_ACEOF
24713 #define _GNU_SOURCE 1
24724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24725 echo "$as_me:$LINENO: checking for $ac_func" >&5
24726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24727 if eval "test \"\${$as_ac_var+set}\" = set"; then
24728 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 cat >conftest.
$ac_ext <<_ACEOF
24733 cat confdefs.h
>>conftest.
$ac_ext
24734 cat >>conftest.
$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24738 #define $ac_func innocuous_$ac_func
24740 /* System header to define __stub macros and hopefully few prototypes,
24741 which can conflict with char $ac_func (); below.
24742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24743 <limits.h> exists even on freestanding compilers. */
24746 # include <limits.h>
24748 # include <assert.h>
24753 /* Override any gcc2 internal prototype to avoid an error. */
24758 /* We use char because int might match the return type of a gcc2
24759 builtin and then its argument prototype would still apply. */
24761 /* The GNU C library defines this for functions which it implements
24762 to always fail with ENOSYS. Some functions are actually named
24763 something starting with __ and the normal name is an alias. */
24764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24767 char (*f) () = $ac_func;
24776 return f != $ac_func;
24781 rm -f conftest.
$ac_objext conftest
$ac_exeext
24782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24783 (eval $ac_link) 2>conftest.er1
24785 grep -v '^ *+' conftest.er1
>conftest.err
24787 cat conftest.err
>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); } &&
24790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; } &&
24796 { ac_try
='test -s conftest$ac_exeext'
24797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798 (eval $ac_try) 2>&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); }; }; then
24802 eval "$as_ac_var=yes"
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.
$ac_ext >&5
24807 eval "$as_ac_var=no"
24809 rm -f conftest.err conftest.
$ac_objext \
24810 conftest
$ac_exeext conftest.
$ac_ext
24812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24814 if test `eval echo '${'$as_ac_var'}'` = yes; then
24815 cat >>confdefs.h
<<_ACEOF
24816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24823 for ac_func
in floor
24825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24826 echo "$as_me:$LINENO: checking for $ac_func" >&5
24827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24828 if eval "test \"\${$as_ac_var+set}\" = set"; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 cat >conftest.
$ac_ext <<_ACEOF
24834 cat confdefs.h
>>conftest.
$ac_ext
24835 cat >>conftest.
$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24839 #define $ac_func innocuous_$ac_func
24841 /* System header to define __stub macros and hopefully few prototypes,
24842 which can conflict with char $ac_func (); below.
24843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24844 <limits.h> exists even on freestanding compilers. */
24847 # include <limits.h>
24849 # include <assert.h>
24854 /* Override any gcc2 internal prototype to avoid an error. */
24859 /* We use char because int might match the return type of a gcc2
24860 builtin and then its argument prototype would still apply. */
24862 /* The GNU C library defines this for functions which it implements
24863 to always fail with ENOSYS. Some functions are actually named
24864 something starting with __ and the normal name is an alias. */
24865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24868 char (*f) () = $ac_func;
24877 return f != $ac_func;
24882 rm -f conftest.
$ac_objext conftest
$ac_exeext
24883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24884 (eval $ac_link) 2>conftest.er1
24886 grep -v '^ *+' conftest.er1
>conftest.err
24888 cat conftest.err
>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); } &&
24891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; } &&
24897 { ac_try
='test -s conftest$ac_exeext'
24898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24899 (eval $ac_try) 2>&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); }; }; then
24903 eval "$as_ac_var=yes"
24905 echo "$as_me: failed program was:" >&5
24906 sed 's/^/| /' conftest.
$ac_ext >&5
24908 eval "$as_ac_var=no"
24910 rm -f conftest.err conftest.
$ac_objext \
24911 conftest
$ac_exeext conftest.
$ac_ext
24913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24915 if test `eval echo '${'$as_ac_var'}'` = yes; then
24916 cat >>confdefs.h
<<_ACEOF
24917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24923 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24924 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24925 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24926 echo "$as_me:$LINENO: result: yes" >&5
24927 echo "${ECHO_T}yes" >&6
24929 echo "$as_me:$LINENO: result: no" >&5
24930 echo "${ECHO_T}no" >&6
24932 # use different functions to avoid configure caching
24938 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24939 echo "$as_me:$LINENO: checking for $ac_func" >&5
24940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24941 if eval "test \"\${$as_ac_var+set}\" = set"; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 cat >conftest.
$ac_ext <<_ACEOF
24947 cat confdefs.h
>>conftest.
$ac_ext
24948 cat >>conftest.
$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24952 #define $ac_func innocuous_$ac_func
24954 /* System header to define __stub macros and hopefully few prototypes,
24955 which can conflict with char $ac_func (); below.
24956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24957 <limits.h> exists even on freestanding compilers. */
24960 # include <limits.h>
24962 # include <assert.h>
24967 /* Override any gcc2 internal prototype to avoid an error. */
24972 /* We use char because int might match the return type of a gcc2
24973 builtin and then its argument prototype would still apply. */
24975 /* The GNU C library defines this for functions which it implements
24976 to always fail with ENOSYS. Some functions are actually named
24977 something starting with __ and the normal name is an alias. */
24978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24981 char (*f) () = $ac_func;
24990 return f != $ac_func;
24995 rm -f conftest.
$ac_objext conftest
$ac_exeext
24996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24997 (eval $ac_link) 2>conftest.er1
24999 grep -v '^ *+' conftest.er1
>conftest.err
25001 cat conftest.err
>&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } &&
25004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try
='test -s conftest$ac_exeext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 eval "$as_ac_var=yes"
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.
$ac_ext >&5
25021 eval "$as_ac_var=no"
25023 rm -f conftest.err conftest.
$ac_objext \
25024 conftest
$ac_exeext conftest.
$ac_ext
25026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25028 if test `eval echo '${'$as_ac_var'}'` = yes; then
25029 cat >>confdefs.h
<<_ACEOF
25030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25037 for ac_func
in ceil
25039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25040 echo "$as_me:$LINENO: checking for $ac_func" >&5
25041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25042 if eval "test \"\${$as_ac_var+set}\" = set"; then
25043 echo $ECHO_N "(cached) $ECHO_C" >&6
25045 cat >conftest.
$ac_ext <<_ACEOF
25048 cat confdefs.h
>>conftest.
$ac_ext
25049 cat >>conftest.
$ac_ext <<_ACEOF
25050 /* end confdefs.h. */
25051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25053 #define $ac_func innocuous_$ac_func
25055 /* System header to define __stub macros and hopefully few prototypes,
25056 which can conflict with char $ac_func (); below.
25057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25058 <limits.h> exists even on freestanding compilers. */
25061 # include <limits.h>
25063 # include <assert.h>
25068 /* Override any gcc2 internal prototype to avoid an error. */
25073 /* We use char because int might match the return type of a gcc2
25074 builtin and then its argument prototype would still apply. */
25076 /* The GNU C library defines this for functions which it implements
25077 to always fail with ENOSYS. Some functions are actually named
25078 something starting with __ and the normal name is an alias. */
25079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25082 char (*f) () = $ac_func;
25091 return f != $ac_func;
25096 rm -f conftest.
$ac_objext conftest
$ac_exeext
25097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25098 (eval $ac_link) 2>conftest.er1
25100 grep -v '^ *+' conftest.er1
>conftest.err
25102 cat conftest.err
>&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } &&
25105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; } &&
25111 { ac_try
='test -s conftest$ac_exeext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 eval "$as_ac_var=yes"
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.
$ac_ext >&5
25122 eval "$as_ac_var=no"
25124 rm -f conftest.err conftest.
$ac_objext \
25125 conftest
$ac_exeext conftest.
$ac_ext
25127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25129 if test `eval echo '${'$as_ac_var'}'` = yes; then
25130 cat >>confdefs.h
<<_ACEOF
25131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25137 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25138 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25139 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25140 echo "$as_me:$LINENO: result: yes" >&5
25141 echo "${ECHO_T}yes" >&6
25143 echo "$as_me:$LINENO: result: no" >&5
25144 echo "${ECHO_T}no" >&6
25145 # not sure we should warn the user, crash, etc.
25151 if test "$wxUSE_REGEX" != "no"; then
25152 cat >>confdefs.h
<<\_ACEOF
25153 #define wxUSE_REGEX 1
25157 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25158 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25159 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25160 wxUSE_REGEX
=builtin
25163 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25164 if test "${ac_cv_header_regex_h+set}" = set; then
25165 echo "$as_me:$LINENO: checking for regex.h" >&5
25166 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25167 if test "${ac_cv_header_regex_h+set}" = set; then
25168 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25171 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25173 # Is the header compilable?
25174 echo "$as_me:$LINENO: checking regex.h usability" >&5
25175 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25176 cat >conftest.
$ac_ext <<_ACEOF
25179 cat confdefs.h
>>conftest.
$ac_ext
25180 cat >>conftest.
$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182 $ac_includes_default
25185 rm -f conftest.
$ac_objext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25187 (eval $ac_compile) 2>conftest.er1
25189 grep -v '^ *+' conftest.er1
>conftest.err
25191 cat conftest.err
>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; } &&
25200 { ac_try
='test -s conftest.$ac_objext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 ac_header_compiler
=yes
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.
$ac_ext >&5
25211 ac_header_compiler
=no
25213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25215 echo "${ECHO_T}$ac_header_compiler" >&6
25217 # Is the header present?
25218 echo "$as_me:$LINENO: checking regex.h presence" >&5
25219 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25220 cat >conftest.
$ac_ext <<_ACEOF
25223 cat confdefs.h
>>conftest.
$ac_ext
25224 cat >>conftest.
$ac_ext <<_ACEOF
25225 /* end confdefs.h. */
25228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25231 grep -v '^ *+' conftest.er1
>conftest.err
25233 cat conftest.err
>&5
25234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25235 (exit $ac_status); } >/dev
/null
; then
25236 if test -s conftest.err
; then
25237 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25238 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25245 if test -z "$ac_cpp_err"; then
25246 ac_header_preproc
=yes
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.
$ac_ext >&5
25251 ac_header_preproc
=no
25253 rm -f conftest.err conftest.
$ac_ext
25254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25255 echo "${ECHO_T}$ac_header_preproc" >&6
25257 # So? What about this header?
25258 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25260 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25261 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25262 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25263 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25264 ac_header_preproc
=yes
25267 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25268 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25269 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25270 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25271 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25272 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25273 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25274 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25275 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25276 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25277 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25278 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25281 ## ----------------------------------------- ##
25282 ## Report this to wx-dev@lists.wxwidgets.org ##
25283 ## ----------------------------------------- ##
25286 sed "s/^/$as_me: WARNING: /" >&2
25289 echo "$as_me:$LINENO: checking for regex.h" >&5
25290 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25291 if test "${ac_cv_header_regex_h+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 ac_cv_header_regex_h
=$ac_header_preproc
25296 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25297 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25300 if test $ac_cv_header_regex_h = yes; then
25303 for ac_func
in regcomp re_search
25305 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25306 echo "$as_me:$LINENO: checking for $ac_func" >&5
25307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25308 if eval "test \"\${$as_ac_var+set}\" = set"; then
25309 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 cat >conftest.
$ac_ext <<_ACEOF
25314 cat confdefs.h
>>conftest.
$ac_ext
25315 cat >>conftest.
$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25319 #define $ac_func innocuous_$ac_func
25321 /* System header to define __stub macros and hopefully few prototypes,
25322 which can conflict with char $ac_func (); below.
25323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25324 <limits.h> exists even on freestanding compilers. */
25327 # include <limits.h>
25329 # include <assert.h>
25334 /* Override any gcc2 internal prototype to avoid an error. */
25339 /* We use char because int might match the return type of a gcc2
25340 builtin and then its argument prototype would still apply. */
25342 /* The GNU C library defines this for functions which it implements
25343 to always fail with ENOSYS. Some functions are actually named
25344 something starting with __ and the normal name is an alias. */
25345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25348 char (*f) () = $ac_func;
25357 return f != $ac_func;
25362 rm -f conftest.
$ac_objext conftest
$ac_exeext
25363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25364 (eval $ac_link) 2>conftest.er1
25366 grep -v '^ *+' conftest.er1
>conftest.err
25368 cat conftest.err
>&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } &&
25371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; } &&
25377 { ac_try
='test -s conftest$ac_exeext'
25378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25379 (eval $ac_try) 2>&5
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); }; }; then
25383 eval "$as_ac_var=yes"
25385 echo "$as_me: failed program was:" >&5
25386 sed 's/^/| /' conftest.
$ac_ext >&5
25388 eval "$as_ac_var=no"
25390 rm -f conftest.err conftest.
$ac_objext \
25391 conftest
$ac_exeext conftest.
$ac_ext
25393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25395 if test `eval echo '${'$as_ac_var'}'` = yes; then
25396 cat >>confdefs.h
<<_ACEOF
25397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25407 if test "x$ac_cv_func_regcomp" != "xyes"; then
25408 if test "$wxUSE_REGEX" = "sys" ; then
25409 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25410 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25411 { (exit 1); exit 1; }; }
25413 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25414 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25415 wxUSE_REGEX
=builtin
25419 cat >>confdefs.h
<<\_ACEOF
25420 #define WX_NO_REGEX_ADVANCED 1
25429 if test "$wxUSE_ZLIB" != "no" ; then
25430 cat >>confdefs.h
<<\_ACEOF
25431 #define wxUSE_ZLIB 1
25435 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25436 if test "$USE_DARWIN" = 1; then
25437 system_zlib_h_ok
="yes"
25439 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25440 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25441 if test "${ac_cv_header_zlib_h+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25444 if test "$cross_compiling" = yes; then
25445 unset ac_cv_header_zlib_h
25448 cat >conftest.
$ac_ext <<_ACEOF
25451 cat confdefs.h
>>conftest.
$ac_ext
25452 cat >>conftest.
$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25460 FILE *f=fopen("conftestval", "w");
25463 ZLIB_VERSION[0] == '1' &&
25464 (ZLIB_VERSION[2] > '1' ||
25465 (ZLIB_VERSION[2] == '1' &&
25466 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25471 rm -f conftest
$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25478 (eval $ac_try) 2>&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); }; }; then
25482 ac_cv_header_zlib_h
=`cat conftestval`
25484 echo "$as_me: program exited with status $ac_status" >&5
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.
$ac_ext >&5
25488 ( exit $ac_status )
25489 ac_cv_header_zlib_h
=no
25491 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25495 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25496 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25497 if test "${ac_cv_header_zlib_h+set}" = set; then
25498 echo "$as_me:$LINENO: checking for zlib.h" >&5
25499 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25500 if test "${ac_cv_header_zlib_h+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25504 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25506 # Is the header compilable?
25507 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25508 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25509 cat >conftest.
$ac_ext <<_ACEOF
25512 cat confdefs.h
>>conftest.
$ac_ext
25513 cat >>conftest.
$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25515 $ac_includes_default
25518 rm -f conftest.
$ac_objext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25520 (eval $ac_compile) 2>conftest.er1
25522 grep -v '^ *+' conftest.er1
>conftest.err
25524 cat conftest.err
>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; } &&
25533 { ac_try
='test -s conftest.$ac_objext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_header_compiler
=yes
25541 echo "$as_me: failed program was:" >&5
25542 sed 's/^/| /' conftest.
$ac_ext >&5
25544 ac_header_compiler
=no
25546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25548 echo "${ECHO_T}$ac_header_compiler" >&6
25550 # Is the header present?
25551 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25552 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25553 cat >conftest.
$ac_ext <<_ACEOF
25556 cat confdefs.h
>>conftest.
$ac_ext
25557 cat >>conftest.
$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25564 grep -v '^ *+' conftest.er1
>conftest.err
25566 cat conftest.err
>&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } >/dev
/null
; then
25569 if test -s conftest.err
; then
25570 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25571 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25578 if test -z "$ac_cpp_err"; then
25579 ac_header_preproc
=yes
25581 echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.
$ac_ext >&5
25584 ac_header_preproc
=no
25586 rm -f conftest.err conftest.
$ac_ext
25587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25588 echo "${ECHO_T}$ac_header_preproc" >&6
25590 # So? What about this header?
25591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25593 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25594 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25595 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25596 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25597 ac_header_preproc
=yes
25600 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25601 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25602 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25603 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25604 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25605 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25606 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25607 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25608 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25609 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25610 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25611 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25614 ## ----------------------------------------- ##
25615 ## Report this to wx-dev@lists.wxwidgets.org ##
25616 ## ----------------------------------------- ##
25619 sed "s/^/$as_me: WARNING: /" >&2
25622 echo "$as_me:$LINENO: checking for zlib.h" >&5
25623 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25624 if test "${ac_cv_header_zlib_h+set}" = set; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 ac_cv_header_zlib_h
=$ac_header_preproc
25629 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25630 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25636 system_zlib_h_ok
=$ac_cv_header_zlib_h
25639 if test "$system_zlib_h_ok" = "yes"; then
25640 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25641 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25642 if test "${ac_cv_lib_z_deflate+set}" = set; then
25643 echo $ECHO_N "(cached) $ECHO_C" >&6
25645 ac_check_lib_save_LIBS
=$LIBS
25647 cat >conftest.
$ac_ext <<_ACEOF
25650 cat confdefs.h
>>conftest.
$ac_ext
25651 cat >>conftest.
$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25654 /* Override any gcc2 internal prototype to avoid an error. */
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25669 rm -f conftest.
$ac_objext conftest
$ac_exeext
25670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25671 (eval $ac_link) 2>conftest.er1
25673 grep -v '^ *+' conftest.er1
>conftest.err
25675 cat conftest.err
>&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } &&
25678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; } &&
25684 { ac_try
='test -s conftest$ac_exeext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690 ac_cv_lib_z_deflate
=yes
25692 echo "$as_me: failed program was:" >&5
25693 sed 's/^/| /' conftest.
$ac_ext >&5
25695 ac_cv_lib_z_deflate
=no
25697 rm -f conftest.err conftest.
$ac_objext \
25698 conftest
$ac_exeext conftest.
$ac_ext
25699 LIBS
=$ac_check_lib_save_LIBS
25701 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25702 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25703 if test $ac_cv_lib_z_deflate = yes; then
25709 if test "x$ZLIB_LINK" = "x" ; then
25710 if test "$wxUSE_ZLIB" = "sys" ; then
25711 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25712 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25713 { (exit 1); exit 1; }; }
25715 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25716 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25727 if test "$wxUSE_LIBPNG" != "no" ; then
25728 cat >>confdefs.h
<<\_ACEOF
25729 #define wxUSE_LIBPNG 1
25733 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25734 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25735 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25739 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25740 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25741 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25742 wxUSE_LIBPNG
=builtin
25745 if test "$wxUSE_MGL" != 1 ; then
25746 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25747 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25748 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25749 if test "${ac_cv_header_png_h+set}" = set; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 if test "$cross_compiling" = yes; then
25753 unset ac_cv_header_png_h
25756 cat >conftest.
$ac_ext <<_ACEOF
25759 cat confdefs.h
>>conftest.
$ac_ext
25760 cat >>conftest.
$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25768 FILE *f=fopen("conftestval", "w");
25771 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25776 rm -f conftest
$ac_exeext
25777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25778 (eval $ac_link) 2>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; }; then
25787 ac_cv_header_png_h
=`cat conftestval`
25789 echo "$as_me: program exited with status $ac_status" >&5
25790 echo "$as_me: failed program was:" >&5
25791 sed 's/^/| /' conftest.
$ac_ext >&5
25793 ( exit $ac_status )
25794 ac_cv_header_png_h
=no
25796 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25800 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25801 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25802 if test "${ac_cv_header_png_h+set}" = set; then
25803 echo "$as_me:$LINENO: checking for png.h" >&5
25804 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25805 if test "${ac_cv_header_png_h+set}" = set; then
25806 echo $ECHO_N "(cached) $ECHO_C" >&6
25808 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25809 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25811 # Is the header compilable?
25812 echo "$as_me:$LINENO: checking png.h usability" >&5
25813 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25814 cat >conftest.
$ac_ext <<_ACEOF
25817 cat confdefs.h
>>conftest.
$ac_ext
25818 cat >>conftest.
$ac_ext <<_ACEOF
25819 /* end confdefs.h. */
25820 $ac_includes_default
25823 rm -f conftest.
$ac_objext
25824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25825 (eval $ac_compile) 2>conftest.er1
25827 grep -v '^ *+' conftest.er1
>conftest.err
25829 cat conftest.err
>&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); } &&
25832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 (eval $ac_try) 2>&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); }; } &&
25838 { ac_try
='test -s conftest.$ac_objext'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25844 ac_header_compiler
=yes
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.
$ac_ext >&5
25849 ac_header_compiler
=no
25851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25853 echo "${ECHO_T}$ac_header_compiler" >&6
25855 # Is the header present?
25856 echo "$as_me:$LINENO: checking png.h presence" >&5
25857 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25858 cat >conftest.
$ac_ext <<_ACEOF
25861 cat confdefs.h
>>conftest.
$ac_ext
25862 cat >>conftest.
$ac_ext <<_ACEOF
25863 /* end confdefs.h. */
25866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25869 grep -v '^ *+' conftest.er1
>conftest.err
25871 cat conftest.err
>&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } >/dev
/null
; then
25874 if test -s conftest.err
; then
25875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25883 if test -z "$ac_cpp_err"; then
25884 ac_header_preproc
=yes
25886 echo "$as_me: failed program was:" >&5
25887 sed 's/^/| /' conftest.
$ac_ext >&5
25889 ac_header_preproc
=no
25891 rm -f conftest.err conftest.
$ac_ext
25892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25893 echo "${ECHO_T}$ac_header_preproc" >&6
25895 # So? What about this header?
25896 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25898 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25899 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25900 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25901 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25902 ac_header_preproc
=yes
25905 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25906 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25908 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25909 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25910 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25911 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25912 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25913 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25914 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25915 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25916 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25919 ## ----------------------------------------- ##
25920 ## Report this to wx-dev@lists.wxwidgets.org ##
25921 ## ----------------------------------------- ##
25924 sed "s/^/$as_me: WARNING: /" >&2
25927 echo "$as_me:$LINENO: checking for png.h" >&5
25928 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25929 if test "${ac_cv_header_png_h+set}" = set; then
25930 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 ac_cv_header_png_h
=$ac_header_preproc
25934 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25935 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25941 if test "$ac_cv_header_png_h" = "yes"; then
25942 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25943 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25944 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25945 echo $ECHO_N "(cached) $ECHO_C" >&6
25947 ac_check_lib_save_LIBS
=$LIBS
25948 LIBS
="-lpng -lz -lm $LIBS"
25949 cat >conftest.
$ac_ext <<_ACEOF
25952 cat confdefs.h
>>conftest.
$ac_ext
25953 cat >>conftest.
$ac_ext <<_ACEOF
25954 /* end confdefs.h. */
25956 /* Override any gcc2 internal prototype to avoid an error. */
25960 /* We use char because int might match the return type of a gcc2
25961 builtin and then its argument prototype would still apply. */
25962 char png_check_sig ();
25971 rm -f conftest.
$ac_objext conftest
$ac_exeext
25972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25973 (eval $ac_link) 2>conftest.er1
25975 grep -v '^ *+' conftest.er1
>conftest.err
25977 cat conftest.err
>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } &&
25980 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982 (eval $ac_try) 2>&5
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); }; } &&
25986 { ac_try
='test -s conftest$ac_exeext'
25987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25988 (eval $ac_try) 2>&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); }; }; then
25992 ac_cv_lib_png_png_check_sig
=yes
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.
$ac_ext >&5
25997 ac_cv_lib_png_png_check_sig
=no
25999 rm -f conftest.err conftest.
$ac_objext \
26000 conftest
$ac_exeext conftest.
$ac_ext
26001 LIBS
=$ac_check_lib_save_LIBS
26003 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26004 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26005 if test $ac_cv_lib_png_png_check_sig = yes; then
26006 PNG_LINK
=" -lpng -lz"
26011 if test "x$PNG_LINK" = "x" ; then
26012 if test "$wxUSE_LIBPNG" = "sys" ; then
26013 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26014 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26015 { (exit 1); exit 1; }; }
26017 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26018 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26019 wxUSE_LIBPNG
=builtin
26027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26032 if test "$wxUSE_LIBJPEG" != "no" ; then
26033 cat >>confdefs.h
<<\_ACEOF
26034 #define wxUSE_LIBJPEG 1
26038 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26039 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26040 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26044 if test "$wxUSE_MGL" != 1 ; then
26045 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26046 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26047 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26048 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26049 echo $ECHO_N "(cached) $ECHO_C" >&6
26051 cat >conftest.
$ac_ext <<_ACEOF
26054 cat confdefs.h
>>conftest.
$ac_ext
26055 cat >>conftest.
$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26058 #undef HAVE_STDLIB_H
26060 #include <jpeglib.h>
26071 rm -f conftest.
$ac_objext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26073 (eval $ac_compile) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1
>conftest.err
26077 cat conftest.err
>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; } &&
26086 { ac_try
='test -s conftest.$ac_objext'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; }; then
26092 ac_cv_header_jpeglib_h
=yes
26094 echo "$as_me: failed program was:" >&5
26095 sed 's/^/| /' conftest.
$ac_ext >&5
26097 ac_cv_header_jpeglib_h
=no
26100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26104 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26105 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26107 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26108 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26109 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26110 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26111 echo $ECHO_N "(cached) $ECHO_C" >&6
26113 ac_check_lib_save_LIBS
=$LIBS
26114 LIBS
="-ljpeg $LIBS"
26115 cat >conftest.
$ac_ext <<_ACEOF
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26122 /* Override any gcc2 internal prototype to avoid an error. */
26126 /* We use char because int might match the return type of a gcc2
26127 builtin and then its argument prototype would still apply. */
26128 char jpeg_read_header ();
26132 jpeg_read_header ();
26137 rm -f conftest.
$ac_objext conftest
$ac_exeext
26138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26139 (eval $ac_link) 2>conftest.er1
26141 grep -v '^ *+' conftest.er1
>conftest.err
26143 cat conftest.err
>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } &&
26146 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; } &&
26152 { ac_try
='test -s conftest$ac_exeext'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; }; then
26158 ac_cv_lib_jpeg_jpeg_read_header
=yes
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.
$ac_ext >&5
26163 ac_cv_lib_jpeg_jpeg_read_header
=no
26165 rm -f conftest.err conftest.
$ac_objext \
26166 conftest
$ac_exeext conftest.
$ac_ext
26167 LIBS
=$ac_check_lib_save_LIBS
26169 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26170 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26171 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26172 JPEG_LINK
=" -ljpeg"
26177 if test "x$JPEG_LINK" = "x" ; then
26178 if test "$wxUSE_LIBJPEG" = "sys" ; then
26179 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26180 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26181 { (exit 1); exit 1; }; }
26183 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26184 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26185 wxUSE_LIBJPEG
=builtin
26196 TIFF_PREREQ_LINKS
=-lm
26197 if test "$wxUSE_LIBTIFF" != "no" ; then
26198 cat >>confdefs.h
<<\_ACEOF
26199 #define wxUSE_LIBTIFF 1
26203 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26204 if test "$wxUSE_LIBJPEG" = "sys"; then
26205 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26207 if test "$wxUSE_ZLIB" = "sys"; then
26208 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26210 if test "${ac_cv_header_tiffio_h+set}" = set; then
26211 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26212 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26213 if test "${ac_cv_header_tiffio_h+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26216 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26217 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26219 # Is the header compilable?
26220 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26221 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26222 cat >conftest.
$ac_ext <<_ACEOF
26225 cat confdefs.h
>>conftest.
$ac_ext
26226 cat >>conftest.
$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26228 $ac_includes_default
26229 #include <tiffio.h>
26231 rm -f conftest.
$ac_objext
26232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26233 (eval $ac_compile) 2>conftest.er1
26235 grep -v '^ *+' conftest.er1
>conftest.err
26237 cat conftest.err
>&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); } &&
26240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26242 (eval $ac_try) 2>&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); }; } &&
26246 { ac_try
='test -s conftest.$ac_objext'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; }; then
26252 ac_header_compiler
=yes
26254 echo "$as_me: failed program was:" >&5
26255 sed 's/^/| /' conftest.
$ac_ext >&5
26257 ac_header_compiler
=no
26259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26261 echo "${ECHO_T}$ac_header_compiler" >&6
26263 # Is the header present?
26264 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26265 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26266 cat >conftest.
$ac_ext <<_ACEOF
26269 cat confdefs.h
>>conftest.
$ac_ext
26270 cat >>conftest.
$ac_ext <<_ACEOF
26271 /* end confdefs.h. */
26272 #include <tiffio.h>
26274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26277 grep -v '^ *+' conftest.er1
>conftest.err
26279 cat conftest.err
>&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } >/dev
/null
; then
26282 if test -s conftest.err
; then
26283 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26284 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26291 if test -z "$ac_cpp_err"; then
26292 ac_header_preproc
=yes
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.
$ac_ext >&5
26297 ac_header_preproc
=no
26299 rm -f conftest.err conftest.
$ac_ext
26300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26301 echo "${ECHO_T}$ac_header_preproc" >&6
26303 # So? What about this header?
26304 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26306 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26307 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26308 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26309 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26310 ac_header_preproc
=yes
26313 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26314 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26315 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26316 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26317 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26318 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26319 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26320 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26321 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26322 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26323 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26324 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26327 ## ----------------------------------------- ##
26328 ## Report this to wx-dev@lists.wxwidgets.org ##
26329 ## ----------------------------------------- ##
26332 sed "s/^/$as_me: WARNING: /" >&2
26335 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26336 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26337 if test "${ac_cv_header_tiffio_h+set}" = set; then
26338 echo $ECHO_N "(cached) $ECHO_C" >&6
26340 ac_cv_header_tiffio_h
=$ac_header_preproc
26342 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26343 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26346 if test $ac_cv_header_tiffio_h = yes; then
26348 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26349 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26350 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26351 echo $ECHO_N "(cached) $ECHO_C" >&6
26353 ac_check_lib_save_LIBS
=$LIBS
26354 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26355 cat >conftest.
$ac_ext <<_ACEOF
26358 cat confdefs.h
>>conftest.
$ac_ext
26359 cat >>conftest.
$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26362 /* Override any gcc2 internal prototype to avoid an error. */
26366 /* We use char because int might match the return type of a gcc2
26367 builtin and then its argument prototype would still apply. */
26377 rm -f conftest.
$ac_objext conftest
$ac_exeext
26378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26379 (eval $ac_link) 2>conftest.er1
26381 grep -v '^ *+' conftest.er1
>conftest.err
26383 cat conftest.err
>&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); } &&
26386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26388 (eval $ac_try) 2>&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); }; } &&
26392 { ac_try
='test -s conftest$ac_exeext'
26393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26394 (eval $ac_try) 2>&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); }; }; then
26398 ac_cv_lib_tiff_TIFFError
=yes
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.
$ac_ext >&5
26403 ac_cv_lib_tiff_TIFFError
=no
26405 rm -f conftest.err conftest.
$ac_objext \
26406 conftest
$ac_exeext conftest.
$ac_ext
26407 LIBS
=$ac_check_lib_save_LIBS
26409 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26410 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26411 if test $ac_cv_lib_tiff_TIFFError = yes; then
26412 TIFF_LINK
=" -ltiff"
26421 if test "x$TIFF_LINK" = "x" ; then
26422 if test "$wxUSE_LIBTIFF" = "sys" ; then
26423 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26424 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26425 { (exit 1); exit 1; }; }
26427 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26428 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26429 wxUSE_LIBTIFF
=builtin
26438 if test "$wxUSE_WCHAR_T" != "yes"; then
26439 if test "$wxUSE_EXPAT" != "no"; then
26440 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26441 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26444 if test "$wxUSE_XML" != "no"; then
26445 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26446 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26451 if test "$wxUSE_EXPAT" != "no"; then
26453 cat >>confdefs.h
<<\_ACEOF
26454 #define wxUSE_EXPAT 1
26457 cat >>confdefs.h
<<\_ACEOF
26458 #define wxUSE_XML 1
26462 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26463 if test "${ac_cv_header_expat_h+set}" = set; then
26464 echo "$as_me:$LINENO: checking for expat.h" >&5
26465 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26466 if test "${ac_cv_header_expat_h+set}" = set; then
26467 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26470 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26472 # Is the header compilable?
26473 echo "$as_me:$LINENO: checking expat.h usability" >&5
26474 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26475 cat >conftest.
$ac_ext <<_ACEOF
26478 cat confdefs.h
>>conftest.
$ac_ext
26479 cat >>conftest.
$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 $ac_includes_default
26484 rm -f conftest.
$ac_objext
26485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26486 (eval $ac_compile) 2>conftest.er1
26488 grep -v '^ *+' conftest.er1
>conftest.err
26490 cat conftest.err
>&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); } &&
26493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try
='test -s conftest.$ac_objext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_header_compiler
=yes
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.
$ac_ext >&5
26510 ac_header_compiler
=no
26512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26514 echo "${ECHO_T}$ac_header_compiler" >&6
26516 # Is the header present?
26517 echo "$as_me:$LINENO: checking expat.h presence" >&5
26518 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26519 cat >conftest.
$ac_ext <<_ACEOF
26522 cat confdefs.h
>>conftest.
$ac_ext
26523 cat >>conftest.
$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26530 grep -v '^ *+' conftest.er1
>conftest.err
26532 cat conftest.err
>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } >/dev
/null
; then
26535 if test -s conftest.err
; then
26536 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26537 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26544 if test -z "$ac_cpp_err"; then
26545 ac_header_preproc
=yes
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.
$ac_ext >&5
26550 ac_header_preproc
=no
26552 rm -f conftest.err conftest.
$ac_ext
26553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26554 echo "${ECHO_T}$ac_header_preproc" >&6
26556 # So? What about this header?
26557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26559 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26560 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26562 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26563 ac_header_preproc
=yes
26566 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26567 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26568 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26569 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26570 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26571 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26572 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26573 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26574 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26575 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26576 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26577 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26580 ## ----------------------------------------- ##
26581 ## Report this to wx-dev@lists.wxwidgets.org ##
26582 ## ----------------------------------------- ##
26585 sed "s/^/$as_me: WARNING: /" >&2
26588 echo "$as_me:$LINENO: checking for expat.h" >&5
26589 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26590 if test "${ac_cv_header_expat_h+set}" = set; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 ac_cv_header_expat_h
=$ac_header_preproc
26595 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26596 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26599 if test $ac_cv_header_expat_h = yes; then
26604 if test "x$found_expat_h" = "x1"; then
26605 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26606 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26607 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26608 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 cat >conftest.
$ac_ext <<_ACEOF
26614 cat confdefs.h
>>conftest.
$ac_ext
26615 cat >>conftest.
$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26626 rm -f conftest.
$ac_objext
26627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26628 (eval $ac_compile) 2>conftest.er1
26630 grep -v '^ *+' conftest.er1
>conftest.err
26632 cat conftest.err
>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } &&
26635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; } &&
26641 { ac_try
='test -s conftest.$ac_objext'
26642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26643 (eval $ac_try) 2>&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); }; }; then
26647 wx_cv_expat_is_not_broken
=yes
26649 echo "$as_me: failed program was:" >&5
26650 sed 's/^/| /' conftest.
$ac_ext >&5
26652 wx_cv_expat_is_not_broken
=no
26655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26659 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26660 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26661 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26662 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26663 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26664 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 ac_check_lib_save_LIBS
=$LIBS
26668 LIBS
="-lexpat $LIBS"
26669 cat >conftest.
$ac_ext <<_ACEOF
26672 cat confdefs.h
>>conftest.
$ac_ext
26673 cat >>conftest.
$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26676 /* Override any gcc2 internal prototype to avoid an error. */
26680 /* We use char because int might match the return type of a gcc2
26681 builtin and then its argument prototype would still apply. */
26682 char XML_ParserCreate ();
26686 XML_ParserCreate ();
26691 rm -f conftest.
$ac_objext conftest
$ac_exeext
26692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26693 (eval $ac_link) 2>conftest.er1
26695 grep -v '^ *+' conftest.er1
>conftest.err
26697 cat conftest.err
>&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } &&
26700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26702 (eval $ac_try) 2>&5
26704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26705 (exit $ac_status); }; } &&
26706 { ac_try
='test -s conftest$ac_exeext'
26707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26708 (eval $ac_try) 2>&5
26710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26711 (exit $ac_status); }; }; then
26712 ac_cv_lib_expat_XML_ParserCreate
=yes
26714 echo "$as_me: failed program was:" >&5
26715 sed 's/^/| /' conftest.
$ac_ext >&5
26717 ac_cv_lib_expat_XML_ParserCreate
=no
26719 rm -f conftest.err conftest.
$ac_objext \
26720 conftest
$ac_exeext conftest.
$ac_ext
26721 LIBS
=$ac_check_lib_save_LIBS
26723 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26724 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26725 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26726 EXPAT_LINK
=" -lexpat"
26731 if test "x$EXPAT_LINK" = "x" ; then
26732 if test "$wxUSE_EXPAT" = "sys" ; then
26733 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26734 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26735 { (exit 1); exit 1; }; }
26737 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26738 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26739 wxUSE_EXPAT
=builtin
26745 if test "$wxUSE_EXPAT" = "builtin" ; then
26748 subdirs
="$subdirs src/expat"
26755 if test "$wxUSE_LIBMSPACK" != "no"; then
26756 if test "${ac_cv_header_mspack_h+set}" = set; then
26757 echo "$as_me:$LINENO: checking for mspack.h" >&5
26758 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26759 if test "${ac_cv_header_mspack_h+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26763 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26765 # Is the header compilable?
26766 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26767 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26768 cat >conftest.
$ac_ext <<_ACEOF
26771 cat confdefs.h
>>conftest.
$ac_ext
26772 cat >>conftest.
$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 $ac_includes_default
26775 #include <mspack.h>
26777 rm -f conftest.
$ac_objext
26778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26779 (eval $ac_compile) 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; } &&
26792 { ac_try
='test -s conftest.$ac_objext'
26793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26794 (eval $ac_try) 2>&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; }; then
26798 ac_header_compiler
=yes
26800 echo "$as_me: failed program was:" >&5
26801 sed 's/^/| /' conftest.
$ac_ext >&5
26803 ac_header_compiler
=no
26805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26807 echo "${ECHO_T}$ac_header_compiler" >&6
26809 # Is the header present?
26810 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26811 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26812 cat >conftest.
$ac_ext <<_ACEOF
26815 cat confdefs.h
>>conftest.
$ac_ext
26816 cat >>conftest.
$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818 #include <mspack.h>
26820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26823 grep -v '^ *+' conftest.er1
>conftest.err
26825 cat conftest.err
>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } >/dev
/null
; then
26828 if test -s conftest.err
; then
26829 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26830 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26837 if test -z "$ac_cpp_err"; then
26838 ac_header_preproc
=yes
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.
$ac_ext >&5
26843 ac_header_preproc
=no
26845 rm -f conftest.err conftest.
$ac_ext
26846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26847 echo "${ECHO_T}$ac_header_preproc" >&6
26849 # So? What about this header?
26850 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26852 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26853 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26854 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26855 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26856 ac_header_preproc
=yes
26859 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26860 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26861 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26862 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26863 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26864 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26865 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26866 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26867 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26868 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26869 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26870 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26873 ## ----------------------------------------- ##
26874 ## Report this to wx-dev@lists.wxwidgets.org ##
26875 ## ----------------------------------------- ##
26878 sed "s/^/$as_me: WARNING: /" >&2
26881 echo "$as_me:$LINENO: checking for mspack.h" >&5
26882 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26883 if test "${ac_cv_header_mspack_h+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26886 ac_cv_header_mspack_h
=$ac_header_preproc
26888 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26889 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26892 if test $ac_cv_header_mspack_h = yes; then
26897 if test "x$found_mspack_h" = "x1"; then
26898 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26899 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26900 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 ac_check_lib_save_LIBS
=$LIBS
26904 LIBS
="-lmspack $LIBS"
26905 cat >conftest.
$ac_ext <<_ACEOF
26908 cat confdefs.h
>>conftest.
$ac_ext
26909 cat >>conftest.
$ac_ext <<_ACEOF
26910 /* end confdefs.h. */
26912 /* Override any gcc2 internal prototype to avoid an error. */
26916 /* We use char because int might match the return type of a gcc2
26917 builtin and then its argument prototype would still apply. */
26918 char mspack_create_chm_decompressor ();
26922 mspack_create_chm_decompressor ();
26927 rm -f conftest.
$ac_objext conftest
$ac_exeext
26928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26929 (eval $ac_link) 2>conftest.er1
26931 grep -v '^ *+' conftest.er1
>conftest.err
26933 cat conftest.err
>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); } &&
26936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 (eval $ac_try) 2>&5
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); }; } &&
26942 { ac_try
='test -s conftest$ac_exeext'
26943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944 (eval $ac_try) 2>&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; }; then
26948 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26950 echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.
$ac_ext >&5
26953 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26955 rm -f conftest.err conftest.
$ac_objext \
26956 conftest
$ac_exeext conftest.
$ac_ext
26957 LIBS
=$ac_check_lib_save_LIBS
26959 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26960 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26961 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26962 MSPACK_LINK
=" -lmspack"
26966 if test "x$MSPACK_LINK" = "x" ; then
26971 if test "$wxUSE_LIBMSPACK" != "no"; then
26972 cat >>confdefs.h
<<\_ACEOF
26973 #define wxUSE_LIBMSPACK 1
26987 if test "$USE_WIN32" = 1 ; then
26989 for ac_header
in w32api.h
26991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26993 echo "$as_me:$LINENO: checking for $ac_header" >&5
26994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27001 # Is the header compilable?
27002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27004 cat >conftest.
$ac_ext <<_ACEOF
27007 cat confdefs.h
>>conftest.
$ac_ext
27008 cat >>conftest.
$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010 $ac_includes_default
27011 #include <$ac_header>
27013 rm -f conftest.
$ac_objext
27014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27015 (eval $ac_compile) 2>conftest.er1
27017 grep -v '^ *+' conftest.er1
>conftest.err
27019 cat conftest.err
>&5
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); } &&
27022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27024 (eval $ac_try) 2>&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); }; } &&
27028 { ac_try
='test -s conftest.$ac_objext'
27029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27030 (eval $ac_try) 2>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); }; }; then
27034 ac_header_compiler
=yes
27036 echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.
$ac_ext >&5
27039 ac_header_compiler
=no
27041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27042 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27043 echo "${ECHO_T}$ac_header_compiler" >&6
27045 # Is the header present?
27046 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27048 cat >conftest.
$ac_ext <<_ACEOF
27051 cat confdefs.h
>>conftest.
$ac_ext
27052 cat >>conftest.
$ac_ext <<_ACEOF
27053 /* end confdefs.h. */
27054 #include <$ac_header>
27056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27059 grep -v '^ *+' conftest.er1
>conftest.err
27061 cat conftest.err
>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } >/dev
/null
; then
27064 if test -s conftest.err
; then
27065 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27066 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27073 if test -z "$ac_cpp_err"; then
27074 ac_header_preproc
=yes
27076 echo "$as_me: failed program was:" >&5
27077 sed 's/^/| /' conftest.
$ac_ext >&5
27079 ac_header_preproc
=no
27081 rm -f conftest.err conftest.
$ac_ext
27082 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27083 echo "${ECHO_T}$ac_header_preproc" >&6
27085 # So? What about this header?
27086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27092 ac_header_preproc
=yes
27095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27109 ## ----------------------------------------- ##
27110 ## Report this to wx-dev@lists.wxwidgets.org ##
27111 ## ----------------------------------------- ##
27114 sed "s/^/$as_me: WARNING: /" >&2
27117 echo "$as_me:$LINENO: checking for $ac_header" >&5
27118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 eval "$as_ac_Header=\$ac_header_preproc"
27124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27129 cat >>confdefs.h
<<_ACEOF
27130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27137 if test "${ac_cv_header_windows_h+set}" = set; then
27138 echo "$as_me:$LINENO: checking for windows.h" >&5
27139 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27140 if test "${ac_cv_header_windows_h+set}" = set; then
27141 echo $ECHO_N "(cached) $ECHO_C" >&6
27143 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27144 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27146 # Is the header compilable?
27147 echo "$as_me:$LINENO: checking windows.h usability" >&5
27148 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27149 cat >conftest.
$ac_ext <<_ACEOF
27152 cat confdefs.h
>>conftest.
$ac_ext
27153 cat >>conftest.
$ac_ext <<_ACEOF
27154 /* end confdefs.h. */
27155 $ac_includes_default
27156 #include <windows.h>
27158 rm -f conftest.
$ac_objext
27159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27160 (eval $ac_compile) 2>conftest.er1
27162 grep -v '^ *+' conftest.er1
>conftest.err
27164 cat conftest.err
>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } &&
27167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; } &&
27173 { ac_try
='test -s conftest.$ac_objext'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; }; then
27179 ac_header_compiler
=yes
27181 echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.
$ac_ext >&5
27184 ac_header_compiler
=no
27186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27188 echo "${ECHO_T}$ac_header_compiler" >&6
27190 # Is the header present?
27191 echo "$as_me:$LINENO: checking windows.h presence" >&5
27192 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27193 cat >conftest.
$ac_ext <<_ACEOF
27196 cat confdefs.h
>>conftest.
$ac_ext
27197 cat >>conftest.
$ac_ext <<_ACEOF
27198 /* end confdefs.h. */
27199 #include <windows.h>
27201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27204 grep -v '^ *+' conftest.er1
>conftest.err
27206 cat conftest.err
>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } >/dev
/null
; then
27209 if test -s conftest.err
; then
27210 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27211 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27218 if test -z "$ac_cpp_err"; then
27219 ac_header_preproc
=yes
27221 echo "$as_me: failed program was:" >&5
27222 sed 's/^/| /' conftest.
$ac_ext >&5
27224 ac_header_preproc
=no
27226 rm -f conftest.err conftest.
$ac_ext
27227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27228 echo "${ECHO_T}$ac_header_preproc" >&6
27230 # So? What about this header?
27231 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27233 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27234 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27235 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27236 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27237 ac_header_preproc
=yes
27240 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27241 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27242 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27243 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27244 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27245 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27246 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27247 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27248 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27249 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27250 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27251 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27254 ## ----------------------------------------- ##
27255 ## Report this to wx-dev@lists.wxwidgets.org ##
27256 ## ----------------------------------------- ##
27259 sed "s/^/$as_me: WARNING: /" >&2
27262 echo "$as_me:$LINENO: checking for windows.h" >&5
27263 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27264 if test "${ac_cv_header_windows_h+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 ac_cv_header_windows_h
=$ac_header_preproc
27269 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27270 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27273 if test $ac_cv_header_windows_h = yes; then
27277 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27278 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27279 { (exit 1); exit 1; }; }
27285 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27287 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27288 LIBS
="$LIBS -loleacc"
27293 LIBS
="$LIBS -lkernel32 -luser32"
27296 if test "$wxUSE_ODBC" = "sys" ; then
27299 if test "$wxUSE_ODBC" = "yes" ; then
27300 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27301 cat >>confdefs.h
<<\_ACEOF
27302 #define wxUSE_ODBC 1
27307 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27308 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27310 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27312 WIN32INSTALL
=win32install
27314 echo "$as_me:$LINENO: checking for boolean" >&5
27315 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27316 if test "${ac_cv_type_boolean+set}" = set; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 cat >conftest.
$ac_ext <<_ACEOF
27322 cat confdefs.h
>>conftest.
$ac_ext
27323 cat >>conftest.
$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27325 #include <windows.h>
27332 if (sizeof (boolean))
27338 rm -f conftest.
$ac_objext
27339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27340 (eval $ac_compile) 2>conftest.er1
27342 grep -v '^ *+' conftest.er1
>conftest.err
27344 cat conftest.err
>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); } &&
27347 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try
='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27359 ac_cv_type_boolean
=yes
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.
$ac_ext >&5
27364 ac_cv_type_boolean
=no
27366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27368 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27369 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27370 if test $ac_cv_type_boolean = yes; then
27372 cat >>confdefs.h
<<_ACEOF
27373 #define HAVE_BOOLEAN 1
27381 for ac_header
in pbt.h
27383 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27385 echo "$as_me:$LINENO: checking for $ac_header" >&5
27386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27393 # Is the header compilable?
27394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27396 cat >conftest.
$ac_ext <<_ACEOF
27399 cat confdefs.h
>>conftest.
$ac_ext
27400 cat >>conftest.
$ac_ext <<_ACEOF
27401 /* end confdefs.h. */
27402 $ac_includes_default
27403 #include <$ac_header>
27405 rm -f conftest.
$ac_objext
27406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27407 (eval $ac_compile) 2>conftest.er1
27409 grep -v '^ *+' conftest.er1
>conftest.err
27411 cat conftest.err
>&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } &&
27414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; } &&
27420 { ac_try
='test -s conftest.$ac_objext'
27421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27422 (eval $ac_try) 2>&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); }; }; then
27426 ac_header_compiler
=yes
27428 echo "$as_me: failed program was:" >&5
27429 sed 's/^/| /' conftest.
$ac_ext >&5
27431 ac_header_compiler
=no
27433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27435 echo "${ECHO_T}$ac_header_compiler" >&6
27437 # Is the header present?
27438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27440 cat >conftest.
$ac_ext <<_ACEOF
27443 cat confdefs.h
>>conftest.
$ac_ext
27444 cat >>conftest.
$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446 #include <$ac_header>
27448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27451 grep -v '^ *+' conftest.er1
>conftest.err
27453 cat conftest.err
>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); } >/dev
/null
; then
27456 if test -s conftest.err
; then
27457 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27458 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27465 if test -z "$ac_cpp_err"; then
27466 ac_header_preproc
=yes
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.
$ac_ext >&5
27471 ac_header_preproc
=no
27473 rm -f conftest.err conftest.
$ac_ext
27474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27475 echo "${ECHO_T}$ac_header_preproc" >&6
27477 # So? What about this header?
27478 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27484 ac_header_preproc
=yes
27487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27501 ## ----------------------------------------- ##
27502 ## Report this to wx-dev@lists.wxwidgets.org ##
27503 ## ----------------------------------------- ##
27506 sed "s/^/$as_me: WARNING: /" >&2
27509 echo "$as_me:$LINENO: checking for $ac_header" >&5
27510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27512 echo $ECHO_N "(cached) $ECHO_C" >&6
27514 eval "$as_ac_Header=\$ac_header_preproc"
27516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27521 cat >>confdefs.h
<<_ACEOF
27522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27526 cat >>confdefs.h
<<\_ACEOF
27527 #define NEED_PBT_H 1
27536 if test "$wxUSE_GUI" = "yes"; then
27546 if test "$wxUSE_COCOA" = 1 ; then
27547 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27548 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27549 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27550 wxUSE_PRINTING_ARCHITECTURE
=no
27552 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27553 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27554 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27555 wxUSE_DRAG_AND_DROP
=no
27557 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27558 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27559 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27564 if test "$wxUSE_MSW" = 1 ; then
27570 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27574 if test "$wxUSE_GTK" = 1; then
27576 ac_cpp
='$CPP $CPPFLAGS'
27577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27582 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27583 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27585 gtk_version_cached
=1
27586 if test "${wx_cv_lib_gtk+set}" = set; then
27587 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 gtk_version_cached
=0
27591 echo "$as_me:$LINENO: result: " >&5
27592 echo "${ECHO_T}" >&6
27595 if test "$wxUSE_THREADS" = "yes"; then
27596 GTK_MODULES
=gthread
27600 if test "x$wxGTK_VERSION" != "x1"
27604 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27609 # Check whether --enable-gtktest or --disable-gtktest was given.
27610 if test "${enable_gtktest+set}" = set; then
27611 enableval
="$enable_gtktest"
27617 pkg_config_args
=gtk
+-2.0
27618 for module
in .
$GTK_MODULES
27622 pkg_config_args
="$pkg_config_args gthread-2.0"
27629 # Extract the first word of "pkg-config", so it can be a program name with args.
27630 set dummy pkg
-config; ac_word
=$2
27631 echo "$as_me:$LINENO: checking for $ac_word" >&5
27632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27634 echo $ECHO_N "(cached) $ECHO_C" >&6
27636 case $PKG_CONFIG in
27638 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27642 for as_dir
in $PATH
27645 test -z "$as_dir" && as_dir
=.
27646 for ac_exec_ext
in '' $ac_executable_extensions; do
27647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27648 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27655 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27659 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27661 if test -n "$PKG_CONFIG"; then
27662 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27663 echo "${ECHO_T}$PKG_CONFIG" >&6
27665 echo "$as_me:$LINENO: result: no" >&5
27666 echo "${ECHO_T}no" >&6
27670 if test x
$PKG_CONFIG != xno
; then
27671 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27674 echo "*** pkg-config too old; version 0.7 or better required."
27682 min_gtk_version
=2.0.0
27683 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27684 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27686 if test x
$PKG_CONFIG != xno
; then
27687 ## don't try to run the test against uninstalled libtool libs
27688 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27689 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27693 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27700 if test x
"$no_gtk" = x
; then
27701 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27702 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27703 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27705 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27707 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27709 if test "x$enable_gtktest" = "xyes" ; then
27710 ac_save_CFLAGS
="$CFLAGS"
27711 ac_save_LIBS
="$LIBS"
27712 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27713 LIBS
="$GTK_LIBS $LIBS"
27715 if test "$cross_compiling" = yes; then
27716 echo $ac_n "cross compiling; assumed OK... $ac_c"
27718 cat >conftest.
$ac_ext <<_ACEOF
27721 cat confdefs.h
>>conftest.
$ac_ext
27722 cat >>conftest.
$ac_ext <<_ACEOF
27723 /* end confdefs.h. */
27725 #include <gtk/gtk.h>
27727 #include <stdlib.h>
27732 int major, minor, micro;
27735 system ("touch conf.gtktest");
27737 /* HP/UX 9 (%@#!) writes to sscanf strings */
27738 tmp_version = g_strdup("$min_gtk_version");
27739 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27740 printf("%s, bad version string\n", "$min_gtk_version");
27744 if ((gtk_major_version != $gtk_config_major_version) ||
27745 (gtk_minor_version != $gtk_config_minor_version) ||
27746 (gtk_micro_version != $gtk_config_micro_version))
27748 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27749 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27750 gtk_major_version, gtk_minor_version, gtk_micro_version);
27751 printf ("*** was found! If pkg-config was correct, then it is best\n");
27752 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27753 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27754 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27755 printf("*** required on your system.\n");
27756 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27757 printf("*** to point to the correct configuration files\n");
27759 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27760 (gtk_minor_version != GTK_MINOR_VERSION) ||
27761 (gtk_micro_version != GTK_MICRO_VERSION))
27763 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27764 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27765 printf("*** library (version %d.%d.%d)\n",
27766 gtk_major_version, gtk_minor_version, gtk_micro_version);
27770 if ((gtk_major_version > major) ||
27771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27779 gtk_major_version, gtk_minor_version, gtk_micro_version);
27780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27781 major, minor, micro);
27782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27784 printf("*** If you have already installed a sufficiently new version, this error\n");
27785 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27787 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27788 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27790 printf("*** so that the correct libraries are found at run-time))\n");
27797 rm -f conftest
$ac_exeext
27798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27799 (eval $ac_link) 2>&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; }; then
27810 echo "$as_me: program exited with status $ac_status" >&5
27811 echo "$as_me: failed program was:" >&5
27812 sed 's/^/| /' conftest.
$ac_ext >&5
27814 ( exit $ac_status )
27817 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27819 CFLAGS
="$ac_save_CFLAGS"
27820 LIBS
="$ac_save_LIBS"
27823 if test "x$no_gtk" = x
; then
27824 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27825 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27828 echo "$as_me:$LINENO: result: no" >&5
27829 echo "${ECHO_T}no" >&6
27830 if test "$PKG_CONFIG" = "no" ; then
27831 echo "*** A new enough version of pkg-config was not found."
27832 echo "*** See http://pkgconfig.sourceforge.net"
27834 if test -f conf.gtktest
; then
27837 echo "*** Could not run GTK+ test program, checking why..."
27838 ac_save_CFLAGS
="$CFLAGS"
27839 ac_save_LIBS
="$LIBS"
27840 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27841 LIBS
="$LIBS $GTK_LIBS"
27842 cat >conftest.
$ac_ext <<_ACEOF
27845 cat confdefs.h
>>conftest.
$ac_ext
27846 cat >>conftest.
$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27849 #include <gtk/gtk.h>
27855 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27860 rm -f conftest.
$ac_objext conftest
$ac_exeext
27861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27862 (eval $ac_link) 2>conftest.er1
27864 grep -v '^ *+' conftest.er1
>conftest.err
27866 cat conftest.err
>&5
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); } &&
27869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27871 (eval $ac_try) 2>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); }; } &&
27875 { ac_try
='test -s conftest$ac_exeext'
27876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877 (eval $ac_try) 2>&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; }; then
27881 echo "*** The test program compiled, but did not run. This usually means"
27882 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27883 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27884 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27885 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27886 echo "*** is required on your system"
27888 echo "*** If you have an old version installed, it is best to remove it, although"
27889 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.
$ac_ext >&5
27894 echo "*** The test program failed to compile or link. See the file config.log for the"
27895 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27897 rm -f conftest.err conftest.
$ac_objext \
27898 conftest
$ac_exeext conftest.
$ac_ext
27899 CFLAGS
="$ac_save_CFLAGS"
27900 LIBS
="$ac_save_LIBS"
27914 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27915 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27916 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27918 if test "$wxUSE_SHARED" != "yes"; then
27919 GTK_LIBS
="$GTK_LIBS -lX11"
27924 if test -z "$wx_cv_lib_gtk"; then
27925 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27927 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27928 if test "${with_gtk_prefix+set}" = set; then
27929 withval
="$with_gtk_prefix"
27930 gtk_config_prefix
="$withval"
27932 gtk_config_prefix
=""
27935 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27936 if test "${with_gtk_exec_prefix+set}" = set; then
27937 withval
="$with_gtk_exec_prefix"
27938 gtk_config_exec_prefix
="$withval"
27940 gtk_config_exec_prefix
=""
27942 # Check whether --enable-gtktest or --disable-gtktest was given.
27943 if test "${enable_gtktest+set}" = set; then
27944 enableval
="$enable_gtktest"
27950 for module
in .
$GTK_MODULES
27954 gtk_config_args
="$gtk_config_args gthread"
27959 if test x
$gtk_config_exec_prefix != x
; then
27960 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27961 if test x
${GTK_CONFIG+set} != xset
; then
27962 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27965 if test x
$gtk_config_prefix != x
; then
27966 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27967 if test x
${GTK_CONFIG+set} != xset
; then
27968 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27972 # Extract the first word of "gtk-config", so it can be a program name with args.
27973 set dummy gtk
-config; ac_word
=$2
27974 echo "$as_me:$LINENO: checking for $ac_word" >&5
27975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27976 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27977 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 case $GTK_CONFIG in
27981 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27985 for as_dir
in $PATH
27988 test -z "$as_dir" && as_dir
=.
27989 for ac_exec_ext
in '' $ac_executable_extensions; do
27990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27991 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27998 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28002 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28004 if test -n "$GTK_CONFIG"; then
28005 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28006 echo "${ECHO_T}$GTK_CONFIG" >&6
28008 echo "$as_me:$LINENO: result: no" >&5
28009 echo "${ECHO_T}no" >&6
28012 min_gtk_version
=1.2.7
28013 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28014 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28016 if test "$GTK_CONFIG" = "no" ; then
28019 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28020 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28021 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28023 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28025 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28027 if test "x$enable_gtktest" = "xyes" ; then
28028 ac_save_CFLAGS
="$CFLAGS"
28029 ac_save_LIBS
="$LIBS"
28030 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28031 LIBS
="$GTK_LIBS $LIBS"
28033 if test "$cross_compiling" = yes; then
28034 echo $ac_n "cross compiling; assumed OK... $ac_c"
28036 cat >conftest.
$ac_ext <<_ACEOF
28039 cat confdefs.h
>>conftest.
$ac_ext
28040 cat >>conftest.
$ac_ext <<_ACEOF
28041 /* end confdefs.h. */
28043 #include <gtk/gtk.h>
28045 #include <stdlib.h>
28050 int major, minor, micro;
28053 system ("touch conf.gtktest");
28055 /* HP/UX 9 (%@#!) writes to sscanf strings */
28056 tmp_version = g_strdup("$min_gtk_version");
28057 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28058 printf("%s, bad version string\n", "$min_gtk_version");
28062 if ((gtk_major_version != $gtk_config_major_version) ||
28063 (gtk_minor_version != $gtk_config_minor_version) ||
28064 (gtk_micro_version != $gtk_config_micro_version))
28066 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28067 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28068 gtk_major_version, gtk_minor_version, gtk_micro_version);
28069 printf ("*** was found! If gtk-config was correct, then it is best\n");
28070 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28071 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28072 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28073 printf("*** required on your system.\n");
28074 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28075 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28076 printf("*** before re-running configure\n");
28078 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28079 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28080 (gtk_minor_version != GTK_MINOR_VERSION) ||
28081 (gtk_micro_version != GTK_MICRO_VERSION))
28083 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28084 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28085 printf("*** library (version %d.%d.%d)\n",
28086 gtk_major_version, gtk_minor_version, gtk_micro_version);
28088 #endif /* defined (GTK_MAJOR_VERSION) ... */
28091 if ((gtk_major_version > major) ||
28092 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28093 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28099 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28100 gtk_major_version, gtk_minor_version, gtk_micro_version);
28101 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28102 major, minor, micro);
28103 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28105 printf("*** If you have already installed a sufficiently new version, this error\n");
28106 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28107 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28108 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28109 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28110 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28111 printf("*** so that the correct libraries are found at run-time))\n");
28118 rm -f conftest
$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; }; then
28131 echo "$as_me: program exited with status $ac_status" >&5
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.
$ac_ext >&5
28135 ( exit $ac_status )
28138 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28140 CFLAGS
="$ac_save_CFLAGS"
28141 LIBS
="$ac_save_LIBS"
28144 if test "x$no_gtk" = x
; then
28145 echo "$as_me:$LINENO: result: yes" >&5
28146 echo "${ECHO_T}yes" >&6
28147 wx_cv_lib_gtk
=1.2.7
28149 echo "$as_me:$LINENO: result: no" >&5
28150 echo "${ECHO_T}no" >&6
28151 if test "$GTK_CONFIG" = "no" ; then
28152 echo "*** The gtk-config script installed by GTK could not be found"
28153 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28154 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28155 echo "*** full path to gtk-config."
28157 if test -f conf.gtktest
; then
28160 echo "*** Could not run GTK test program, checking why..."
28161 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28162 LIBS
="$LIBS $GTK_LIBS"
28163 cat >conftest.
$ac_ext <<_ACEOF
28166 cat confdefs.h
>>conftest.
$ac_ext
28167 cat >>conftest.
$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28170 #include <gtk/gtk.h>
28176 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28181 rm -f conftest.
$ac_objext conftest
$ac_exeext
28182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28183 (eval $ac_link) 2>conftest.er1
28185 grep -v '^ *+' conftest.er1
>conftest.err
28187 cat conftest.err
>&5
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); } &&
28190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try
='test -s conftest$ac_exeext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28202 echo "*** The test program compiled, but did not run. This usually means"
28203 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28204 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28207 echo "*** is required on your system"
28209 echo "*** If you have an old version installed, it is best to remove it, although"
28210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28212 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28213 echo "*** came with the system with the command"
28215 echo "*** rpm --erase --nodeps gtk gtk-devel"
28217 echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.
$ac_ext >&5
28220 echo "*** The test program failed to compile or link. See the file config.log for the"
28221 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28222 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28223 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28225 rm -f conftest.err conftest.
$ac_objext \
28226 conftest
$ac_exeext conftest.
$ac_ext
28227 CFLAGS
="$ac_save_CFLAGS"
28228 LIBS
="$ac_save_LIBS"
28240 if test -z "$wx_cv_lib_gtk"; then
28242 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28243 if test "${with_gtk_prefix+set}" = set; then
28244 withval
="$with_gtk_prefix"
28245 gtk_config_prefix
="$withval"
28247 gtk_config_prefix
=""
28250 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28251 if test "${with_gtk_exec_prefix+set}" = set; then
28252 withval
="$with_gtk_exec_prefix"
28253 gtk_config_exec_prefix
="$withval"
28255 gtk_config_exec_prefix
=""
28257 # Check whether --enable-gtktest or --disable-gtktest was given.
28258 if test "${enable_gtktest+set}" = set; then
28259 enableval
="$enable_gtktest"
28265 for module
in .
$GTK_MODULES
28269 gtk_config_args
="$gtk_config_args gthread"
28274 if test x
$gtk_config_exec_prefix != x
; then
28275 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28276 if test x
${GTK_CONFIG+set} != xset
; then
28277 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28280 if test x
$gtk_config_prefix != x
; then
28281 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28282 if test x
${GTK_CONFIG+set} != xset
; then
28283 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28287 # Extract the first word of "gtk-config", so it can be a program name with args.
28288 set dummy gtk
-config; ac_word
=$2
28289 echo "$as_me:$LINENO: checking for $ac_word" >&5
28290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28291 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28292 echo $ECHO_N "(cached) $ECHO_C" >&6
28294 case $GTK_CONFIG in
28296 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28300 for as_dir
in $PATH
28303 test -z "$as_dir" && as_dir
=.
28304 for ac_exec_ext
in '' $ac_executable_extensions; do
28305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28306 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28313 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28317 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28319 if test -n "$GTK_CONFIG"; then
28320 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28321 echo "${ECHO_T}$GTK_CONFIG" >&6
28323 echo "$as_me:$LINENO: result: no" >&5
28324 echo "${ECHO_T}no" >&6
28327 min_gtk_version
=1.2.3
28328 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28329 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28331 if test "$GTK_CONFIG" = "no" ; then
28334 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28335 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28336 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28337 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28338 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28339 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28340 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28341 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28342 if test "x$enable_gtktest" = "xyes" ; then
28343 ac_save_CFLAGS
="$CFLAGS"
28344 ac_save_LIBS
="$LIBS"
28345 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28346 LIBS
="$GTK_LIBS $LIBS"
28348 if test "$cross_compiling" = yes; then
28349 echo $ac_n "cross compiling; assumed OK... $ac_c"
28351 cat >conftest.
$ac_ext <<_ACEOF
28354 cat confdefs.h
>>conftest.
$ac_ext
28355 cat >>conftest.
$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28358 #include <gtk/gtk.h>
28360 #include <stdlib.h>
28365 int major, minor, micro;
28368 system ("touch conf.gtktest");
28370 /* HP/UX 9 (%@#!) writes to sscanf strings */
28371 tmp_version = g_strdup("$min_gtk_version");
28372 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28373 printf("%s, bad version string\n", "$min_gtk_version");
28377 if ((gtk_major_version != $gtk_config_major_version) ||
28378 (gtk_minor_version != $gtk_config_minor_version) ||
28379 (gtk_micro_version != $gtk_config_micro_version))
28381 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28382 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28383 gtk_major_version, gtk_minor_version, gtk_micro_version);
28384 printf ("*** was found! If gtk-config was correct, then it is best\n");
28385 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28386 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28387 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28388 printf("*** required on your system.\n");
28389 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28390 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28391 printf("*** before re-running configure\n");
28393 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28394 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28395 (gtk_minor_version != GTK_MINOR_VERSION) ||
28396 (gtk_micro_version != GTK_MICRO_VERSION))
28398 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28399 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28400 printf("*** library (version %d.%d.%d)\n",
28401 gtk_major_version, gtk_minor_version, gtk_micro_version);
28403 #endif /* defined (GTK_MAJOR_VERSION) ... */
28406 if ((gtk_major_version > major) ||
28407 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28408 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28414 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28415 gtk_major_version, gtk_minor_version, gtk_micro_version);
28416 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28417 major, minor, micro);
28418 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28420 printf("*** If you have already installed a sufficiently new version, this error\n");
28421 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28422 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28423 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28424 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28425 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28426 printf("*** so that the correct libraries are found at run-time))\n");
28433 rm -f conftest
$ac_exeext
28434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28435 (eval $ac_link) 2>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28440 (eval $ac_try) 2>&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); }; }; then
28446 echo "$as_me: program exited with status $ac_status" >&5
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.
$ac_ext >&5
28450 ( exit $ac_status )
28453 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28455 CFLAGS
="$ac_save_CFLAGS"
28456 LIBS
="$ac_save_LIBS"
28459 if test "x$no_gtk" = x
; then
28460 echo "$as_me:$LINENO: result: yes" >&5
28461 echo "${ECHO_T}yes" >&6
28462 wx_cv_lib_gtk
=1.2.3
28464 echo "$as_me:$LINENO: result: no" >&5
28465 echo "${ECHO_T}no" >&6
28466 if test "$GTK_CONFIG" = "no" ; then
28467 echo "*** The gtk-config script installed by GTK could not be found"
28468 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28469 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28470 echo "*** full path to gtk-config."
28472 if test -f conf.gtktest
; then
28475 echo "*** Could not run GTK test program, checking why..."
28476 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28477 LIBS
="$LIBS $GTK_LIBS"
28478 cat >conftest.
$ac_ext <<_ACEOF
28481 cat confdefs.h
>>conftest.
$ac_ext
28482 cat >>conftest.
$ac_ext <<_ACEOF
28483 /* end confdefs.h. */
28485 #include <gtk/gtk.h>
28491 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28496 rm -f conftest.
$ac_objext conftest
$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498 (eval $ac_link) 2>conftest.er1
28500 grep -v '^ *+' conftest.er1
>conftest.err
28502 cat conftest.err
>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; } &&
28511 { ac_try
='test -s conftest$ac_exeext'
28512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28513 (eval $ac_try) 2>&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); }; }; then
28517 echo "*** The test program compiled, but did not run. This usually means"
28518 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28519 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28520 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28521 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28522 echo "*** is required on your system"
28524 echo "*** If you have an old version installed, it is best to remove it, although"
28525 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28527 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28528 echo "*** came with the system with the command"
28530 echo "*** rpm --erase --nodeps gtk gtk-devel"
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.
$ac_ext >&5
28535 echo "*** The test program failed to compile or link. See the file config.log for the"
28536 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28537 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28538 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28540 rm -f conftest.err conftest.
$ac_objext \
28541 conftest
$ac_exeext conftest.
$ac_ext
28542 CFLAGS
="$ac_save_CFLAGS"
28543 LIBS
="$ac_save_LIBS"
28558 if test -z "$wx_cv_lib_gtk"; then
28561 wx_cv_cflags_gtk
=$GTK_CFLAGS
28562 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28569 if test "$gtk_version_cached" = 1; then
28570 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28571 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28574 case "$wx_cv_lib_gtk" in
28583 *) { { echo "$as_me:$LINENO: error:
28584 The development files for GTK+ were not found. For GTK+ 2, please
28585 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28586 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28587 and that the version is 1.2.3 or above. Also check that the
28588 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28589 --libs' are in the LD_LIBRARY_PATH or equivalent.
28591 echo "$as_me: error:
28592 The development files for GTK+ were not found. For GTK+ 2, please
28593 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28594 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28595 and that the version is 1.2.3 or above. Also check that the
28596 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28597 --libs' are in the LD_LIBRARY_PATH or equivalent.
28599 { (exit 1); exit 1; }; }
28603 if test "$WXGTK20" = 1; then
28604 save_CFLAGS
="$CFLAGS"
28606 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28607 LIBS
="$LIBS $wx_cv_libs_gtk"
28609 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28610 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28611 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28612 echo $ECHO_N "(cached) $ECHO_C" >&6
28614 cat >conftest.
$ac_ext <<_ACEOF
28617 cat confdefs.h
>>conftest.
$ac_ext
28618 cat >>conftest.
$ac_ext <<_ACEOF
28619 /* end confdefs.h. */
28620 #include <gtk/gtk.h>
28625 #ifndef gtk_icon_size_lookup
28626 char *p = (char *) gtk_icon_size_lookup;
28633 rm -f conftest.
$ac_objext
28634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28635 (eval $ac_compile) 2>conftest.er1
28637 grep -v '^ *+' conftest.er1
>conftest.err
28639 cat conftest.err
>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } &&
28642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; } &&
28648 { ac_try
='test -s conftest.$ac_objext'
28649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28650 (eval $ac_try) 2>&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); }; }; then
28654 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28656 echo "$as_me: failed program was:" >&5
28657 sed 's/^/| /' conftest.
$ac_ext >&5
28659 ac_cv_have_decl_gtk_icon_size_lookup
=no
28661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28663 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28664 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28665 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28667 cat >>confdefs.h
<<_ACEOF
28668 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28673 cat >>confdefs.h
<<_ACEOF
28674 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28677 cat >>confdefs.h
<<\_ACEOF
28678 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28685 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28686 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28687 cat >conftest.
$ac_ext <<_ACEOF
28690 cat confdefs.h
>>conftest.
$ac_ext
28691 cat >>conftest.
$ac_ext <<_ACEOF
28692 /* end confdefs.h. */
28694 #include <gtk/gtk.h>
28700 #if !GTK_CHECK_VERSION(2,6,0)
28708 rm -f conftest.
$ac_objext
28709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28710 (eval $ac_compile) 2>conftest.er1
28712 grep -v '^ *+' conftest.er1
>conftest.err
28714 cat conftest.err
>&5
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); } &&
28717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28719 (eval $ac_try) 2>&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); }; } &&
28723 { ac_try
='test -s conftest.$ac_objext'
28724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28725 (eval $ac_try) 2>&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); }; }; then
28730 cat >>confdefs.h
<<\_ACEOF
28731 #define __WXGTK26__ 1
28734 cat >>confdefs.h
<<\_ACEOF
28735 #define __WXGTK24__ 1
28738 echo "$as_me:$LINENO: result: yes" >&5
28739 echo "${ECHO_T}yes" >&6
28743 echo "$as_me: failed program was:" >&5
28744 sed 's/^/| /' conftest.
$ac_ext >&5
28747 echo "$as_me:$LINENO: result: no" >&5
28748 echo "${ECHO_T}no" >&6
28752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28754 if test "$ac_wxgtk26" = 0; then
28755 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28756 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28757 cat >conftest.
$ac_ext <<_ACEOF
28760 cat confdefs.h
>>conftest.
$ac_ext
28761 cat >>conftest.
$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28764 #include <gtk/gtk.h>
28770 #if !GTK_CHECK_VERSION(2,4,0)
28778 rm -f conftest.
$ac_objext
28779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28780 (eval $ac_compile) 2>conftest.er1
28782 grep -v '^ *+' conftest.er1
>conftest.err
28784 cat conftest.err
>&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } &&
28787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28789 (eval $ac_try) 2>&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); }; } &&
28793 { ac_try
='test -s conftest.$ac_objext'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; }; then
28800 cat >>confdefs.h
<<\_ACEOF
28801 #define __WXGTK24__ 1
28804 echo "$as_me:$LINENO: result: yes" >&5
28805 echo "${ECHO_T}yes" >&6
28808 echo "$as_me: failed program was:" >&5
28809 sed 's/^/| /' conftest.
$ac_ext >&5
28812 echo "$as_me:$LINENO: result: no" >&5
28813 echo "${ECHO_T}no" >&6
28816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28819 CFLAGS
="$save_CFLAGS"
28822 if test "$wxUSE_UNICODE" = "yes"; then
28823 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28824 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28830 ac_cpp
='$CXXCPP $CPPFLAGS'
28831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28836 if test "$USE_DARWIN" != 1; then
28838 for ac_func
in poll
28840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28841 echo "$as_me:$LINENO: checking for $ac_func" >&5
28842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28843 if eval "test \"\${$as_ac_var+set}\" = set"; then
28844 echo $ECHO_N "(cached) $ECHO_C" >&6
28846 cat >conftest.
$ac_ext <<_ACEOF
28849 cat confdefs.h
>>conftest.
$ac_ext
28850 cat >>conftest.
$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28854 #define $ac_func innocuous_$ac_func
28856 /* System header to define __stub macros and hopefully few prototypes,
28857 which can conflict with char $ac_func (); below.
28858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28859 <limits.h> exists even on freestanding compilers. */
28862 # include <limits.h>
28864 # include <assert.h>
28869 /* Override any gcc2 internal prototype to avoid an error. */
28874 /* We use char because int might match the return type of a gcc2
28875 builtin and then its argument prototype would still apply. */
28877 /* The GNU C library defines this for functions which it implements
28878 to always fail with ENOSYS. Some functions are actually named
28879 something starting with __ and the normal name is an alias. */
28880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28883 char (*f) () = $ac_func;
28892 return f != $ac_func;
28897 rm -f conftest.
$ac_objext conftest
$ac_exeext
28898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28899 (eval $ac_link) 2>conftest.er1
28901 grep -v '^ *+' conftest.er1
>conftest.err
28903 cat conftest.err
>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } &&
28906 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; } &&
28912 { ac_try
='test -s conftest$ac_exeext'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; }; then
28918 eval "$as_ac_var=yes"
28920 echo "$as_me: failed program was:" >&5
28921 sed 's/^/| /' conftest.
$ac_ext >&5
28923 eval "$as_ac_var=no"
28925 rm -f conftest.err conftest.
$ac_objext \
28926 conftest
$ac_exeext conftest.
$ac_ext
28928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28930 if test `eval echo '${'$as_ac_var'}'` = yes; then
28931 cat >>confdefs.h
<<_ACEOF
28932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28940 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28941 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28943 AFMINSTALL
=afminstall
28947 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28948 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28949 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 ac_check_lib_save_LIBS
=$LIBS
28954 cat >conftest.
$ac_ext <<_ACEOF
28957 cat confdefs.h
>>conftest.
$ac_ext
28958 cat >>conftest.
$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28961 /* Override any gcc2 internal prototype to avoid an error. */
28965 /* We use char because int might match the return type of a gcc2
28966 builtin and then its argument prototype would still apply. */
28967 char gdk_im_open ();
28976 rm -f conftest.
$ac_objext conftest
$ac_exeext
28977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28978 (eval $ac_link) 2>conftest.er1
28980 grep -v '^ *+' conftest.er1
>conftest.err
28982 cat conftest.err
>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } &&
28985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; } &&
28991 { ac_try
='test -s conftest$ac_exeext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28997 ac_cv_lib_gdk_gdk_im_open
=yes
28999 echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.
$ac_ext >&5
29002 ac_cv_lib_gdk_gdk_im_open
=no
29004 rm -f conftest.err conftest.
$ac_objext \
29005 conftest
$ac_exeext conftest.
$ac_ext
29006 LIBS
=$ac_check_lib_save_LIBS
29008 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29009 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29010 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29011 cat >>confdefs.h
<<\_ACEOF
29019 if test "$wxUSE_GPE" = "yes"; then
29020 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29021 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29024 for ac_dir
in $SEARCH_LIB;
29026 for ac_extension
in a so sl dylib dll.a
; do
29027 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29028 ac_find_libraries
=$ac_dir
29034 if test "$ac_find_libraries" != "" ; then
29036 if test "$ac_find_libraries" = "default location"; then
29039 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29041 if test $result = 0; then
29044 ac_path_to_link
=" -L$ac_find_libraries"
29048 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29050 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29051 echo "${ECHO_T}found in $ac_find_libraries" >&6
29053 echo "$as_me:$LINENO: result: not found" >&5
29054 echo "${ECHO_T}not found" >&6
29060 if test "$wxUSE_MGL" = 1; then
29061 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29062 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29063 if test "x$MGL_ROOT" = x
; then
29064 echo "$as_me:$LINENO: result: not found" >&5
29065 echo "${ECHO_T}not found" >&6
29066 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29067 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29068 { (exit 1); exit 1; }; }
29070 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29071 echo "${ECHO_T}$MGL_ROOT" >&6
29074 echo "$as_me:$LINENO: checking for libmgl location" >&5
29075 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29078 if test "x$wxUSE_SHARED" = xyes
; then
29079 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29081 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29085 mgl_os_candidates
="dos32/dj2"
29088 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29089 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29090 { (exit 1); exit 1; }; }
29096 for mgl_os_i
in $mgl_os_candidates ; do
29097 if test "x$mgl_os" = x
; then
29098 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29099 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29100 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29105 if test "x$mgl_lib_type" = x
; then
29106 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29107 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29108 mgl_lib_type
=release
29115 if test "x$mgl_os" = x
; then
29116 echo "$as_me:$LINENO: result: not found" >&5
29117 echo "${ECHO_T}not found" >&6
29118 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29119 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29120 { (exit 1); exit 1; }; }
29122 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29123 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29125 wxUSE_UNIVERSAL
="yes"
29127 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29128 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29130 AFMINSTALL
=afminstall
29135 if test "$wxUSE_DFB" = 1; then
29138 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29139 if test -n "$ac_tool_prefix"; then
29140 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29141 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29142 echo "$as_me:$LINENO: checking for $ac_word" >&5
29143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29144 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 case $PKG_CONFIG in
29149 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29153 for as_dir
in $PATH
29156 test -z "$as_dir" && as_dir
=.
29157 for ac_exec_ext
in '' $ac_executable_extensions; do
29158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29159 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29169 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29171 if test -n "$PKG_CONFIG"; then
29172 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29173 echo "${ECHO_T}$PKG_CONFIG" >&6
29175 echo "$as_me:$LINENO: result: no" >&5
29176 echo "${ECHO_T}no" >&6
29180 if test -z "$ac_cv_path_PKG_CONFIG"; then
29181 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29182 # Extract the first word of "pkg-config", so it can be a program name with args.
29183 set dummy pkg
-config; ac_word
=$2
29184 echo "$as_me:$LINENO: checking for $ac_word" >&5
29185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29186 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 case $ac_pt_PKG_CONFIG in
29191 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29195 for as_dir
in $PATH
29198 test -z "$as_dir" && as_dir
=.
29199 for ac_exec_ext
in '' $ac_executable_extensions; do
29200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29201 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29211 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29213 if test -n "$ac_pt_PKG_CONFIG"; then
29214 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29215 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29217 echo "$as_me:$LINENO: result: no" >&5
29218 echo "${ECHO_T}no" >&6
29221 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29223 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29227 if test -n "$PKG_CONFIG"; then
29228 _pkg_min_version
=0.9.0
29229 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29230 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29231 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29232 echo "$as_me:$LINENO: result: yes" >&5
29233 echo "${ECHO_T}yes" >&6
29235 echo "$as_me:$LINENO: result: no" >&5
29236 echo "${ECHO_T}no" >&6
29243 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29244 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29246 if test -n "$PKG_CONFIG"; then
29247 if test -n "$DIRECTFB_CFLAGS"; then
29248 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29250 if test -n "$PKG_CONFIG" && \
29251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29252 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; then
29256 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29264 if test -n "$PKG_CONFIG"; then
29265 if test -n "$DIRECTFB_LIBS"; then
29266 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29268 if test -n "$PKG_CONFIG" && \
29269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29270 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); }; then
29274 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29285 if test $pkg_failed = yes; then
29287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29288 _pkg_short_errors_supported
=yes
29290 _pkg_short_errors_supported
=no
29292 if test $_pkg_short_errors_supported = yes; then
29293 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29295 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29297 # Put the nasty error message in config.log where it belongs
29298 echo "$DIRECTFB_PKG_ERRORS" >&5
29301 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29302 echo "$as_me: error: DirectFB not found." >&2;}
29303 { (exit 1); exit 1; }; }
29306 elif test $pkg_failed = untried
; then
29308 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29309 echo "$as_me: error: DirectFB not found." >&2;}
29310 { (exit 1); exit 1; }; }
29314 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29315 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29316 echo "$as_me:$LINENO: result: yes" >&5
29317 echo "${ECHO_T}yes" >&6
29319 wxUSE_UNIVERSAL
="yes"
29320 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29321 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29328 if test "$wxUSE_MICROWIN" = 1; then
29329 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29330 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29331 if test "x$MICROWINDOWS" = x
; then
29332 echo "$as_me:$LINENO: result: not found" >&5
29333 echo "${ECHO_T}not found" >&6
29334 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29335 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29336 { (exit 1); exit 1; }; }
29338 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29339 echo "${ECHO_T}$MICROWINDOWS" >&6
29342 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29343 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29344 echo "${ECHO_T}MicroWindows' libraries found." >&6
29346 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29347 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29348 { (exit 1); exit 1; }; }
29351 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29352 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29354 wxUSE_UNIVERSAL
="yes"
29356 AFMINSTALL
=afminstall
29358 GUIDIST
=MICROWIN_DIST
29360 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29363 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29365 if test "x$ac_path_x_has_been_run" != xyes
; then
29366 echo "$as_me:$LINENO: checking for X" >&5
29367 echo $ECHO_N "checking for X... $ECHO_C" >&6
29369 ac_path_x_has_been_run
=yes
29371 # Check whether --with-x or --without-x was given.
29372 if test "${with_x+set}" = set; then
29376 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29377 if test "x$with_x" = xno
; then
29378 # The user explicitly disabled X.
29381 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29382 # Both variables are already set.
29385 if test "${ac_cv_have_x+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29388 # One or both of the vars are not set, and there is no cached value.
29389 ac_x_includes
=no ac_x_libraries
=no
29390 rm -fr conftest.dir
29391 if mkdir conftest.dir
; then
29393 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29394 cat >Imakefile
<<'_ACEOF'
29396 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29398 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29399 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29400 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29401 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29402 for ac_extension
in a so sl
; do
29403 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29404 test -f $ac_im_libdir/libX11.
$ac_extension; then
29405 ac_im_usrlibdir
=$ac_im_libdir; break
29408 # Screen out bogus values from the imake configuration. They are
29409 # bogus both because they are the default anyway, and because
29410 # using them would break gcc on systems where it needs fixed includes.
29411 case $ac_im_incroot in
29413 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29415 case $ac_im_usrlibdir in
29416 /usr
/lib
| /lib
) ;;
29417 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29421 rm -fr conftest.dir
29424 # Standard set of common directories for X headers.
29425 # Check X11 before X11Rn because it is often a symlink to the current release.
29437 /usr/local/X11/include
29438 /usr/local/X11R6/include
29439 /usr/local/X11R5/include
29440 /usr/local/X11R4/include
29442 /usr/local/include/X11
29443 /usr/local/include/X11R6
29444 /usr/local/include/X11R5
29445 /usr/local/include/X11R4
29449 /usr/XFree86/include/X11
29453 /usr/unsupported/include
29454 /usr/athena/include
29455 /usr/local/x11r5/include
29456 /usr/lpp/Xamples/include
29458 /usr/openwin/include
29459 /usr/openwin/share/include'
29461 if test "$ac_x_includes" = no
; then
29462 # Guess where to find include files, by looking for a specified header file.
29463 # First, try using that file with no special directory specified.
29464 cat >conftest.
$ac_ext <<_ACEOF
29467 cat confdefs.h
>>conftest.
$ac_ext
29468 cat >>conftest.
$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29470 #include <X11/Xlib.h>
29472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29475 grep -v '^ *+' conftest.er1
>conftest.err
29477 cat conftest.err
>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } >/dev
/null
; then
29480 if test -s conftest.err
; then
29481 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29482 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29489 if test -z "$ac_cpp_err"; then
29490 # We can compile using X headers with no special include directory.
29493 echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.
$ac_ext >&5
29496 for ac_dir
in $ac_x_header_dirs; do
29497 if test -r "$ac_dir/X11/Xlib.h"; then
29498 ac_x_includes
=$ac_dir
29503 rm -f conftest.err conftest.
$ac_ext
29504 fi # $ac_x_includes = no
29506 if test "$ac_x_libraries" = no
; then
29507 # Check for the libraries.
29508 # See if we find them without any special options.
29509 # Don't add to $LIBS permanently.
29512 cat >conftest.
$ac_ext <<_ACEOF
29515 cat confdefs.h
>>conftest.
$ac_ext
29516 cat >>conftest.
$ac_ext <<_ACEOF
29517 /* end confdefs.h. */
29518 #include <X11/Xlib.h>
29527 rm -f conftest.
$ac_objext conftest
$ac_exeext
29528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29529 (eval $ac_link) 2>conftest.er1
29531 grep -v '^ *+' conftest.er1
>conftest.err
29533 cat conftest.err
>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try
='test -s conftest$ac_exeext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29549 # We can link X programs with no special library path.
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.
$ac_ext >&5
29556 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29558 # Don't even attempt the hair of trying to link an X program!
29559 for ac_extension
in a so sl
; do
29560 if test -r $ac_dir/libX11.
$ac_extension; then
29561 ac_x_libraries
=$ac_dir
29567 rm -f conftest.err conftest.
$ac_objext \
29568 conftest
$ac_exeext conftest.
$ac_ext
29569 fi # $ac_x_libraries = no
29571 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29572 # Didn't find X anywhere. Cache the known absence of X.
29573 ac_cv_have_x
="have_x=no"
29575 # Record where we found X for the cache.
29576 ac_cv_have_x
="have_x=yes \
29577 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29582 eval "$ac_cv_have_x"
29585 if test "$have_x" != yes; then
29586 echo "$as_me:$LINENO: result: $have_x" >&5
29587 echo "${ECHO_T}$have_x" >&6
29590 # If each of the values was on the command line, it overrides each guess.
29591 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29592 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29593 # Update the cache value to reflect the command line values.
29594 ac_cv_have_x
="have_x=yes \
29595 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29596 # It might be that x_includes is empty (headers are found in the
29597 # standard search path. Then output the corresponding message
29598 ac_out_x_includes
=$x_includes
29599 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29600 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29601 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29605 if test "$no_x" = yes; then
29606 # Not all programs may use this symbol, but it does not hurt to define it.
29608 cat >>confdefs.h
<<\_ACEOF
29609 #define X_DISPLAY_MISSING 1
29612 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29614 if test -n "$x_includes"; then
29615 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29618 # It would also be nice to do this for all -L options, not just this one.
29619 if test -n "$x_libraries"; then
29620 X_LIBS
="$X_LIBS -L$x_libraries"
29621 # For Solaris; some versions of Sun CC require a space after -R and
29622 # others require no space. Words are not sufficient . . . .
29623 case `(uname -sr) 2>/dev/null` in
29625 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29626 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29627 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29628 cat >conftest.
$ac_ext <<_ACEOF
29631 cat confdefs.h
>>conftest.
$ac_ext
29632 cat >>conftest.
$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29643 rm -f conftest.
$ac_objext conftest
$ac_exeext
29644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29645 (eval $ac_link) 2>conftest.er1
29647 grep -v '^ *+' conftest.er1
>conftest.err
29649 cat conftest.err
>&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try
='test -s conftest$ac_exeext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.
$ac_ext >&5
29671 rm -f conftest.err conftest.
$ac_objext \
29672 conftest
$ac_exeext conftest.
$ac_ext
29673 if test $ac_R_nospace = yes; then
29674 echo "$as_me:$LINENO: result: no" >&5
29675 echo "${ECHO_T}no" >&6
29676 X_LIBS
="$X_LIBS -R$x_libraries"
29678 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29679 cat >conftest.
$ac_ext <<_ACEOF
29682 cat confdefs.h
>>conftest.
$ac_ext
29683 cat >>conftest.
$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29694 rm -f conftest.
$ac_objext conftest
$ac_exeext
29695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29696 (eval $ac_link) 2>conftest.er1
29698 grep -v '^ *+' conftest.er1
>conftest.err
29700 cat conftest.err
>&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } &&
29703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; } &&
29709 { ac_try
='test -s conftest$ac_exeext'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; }; then
29717 echo "$as_me: failed program was:" >&5
29718 sed 's/^/| /' conftest.
$ac_ext >&5
29722 rm -f conftest.err conftest.
$ac_objext \
29723 conftest
$ac_exeext conftest.
$ac_ext
29724 if test $ac_R_space = yes; then
29725 echo "$as_me:$LINENO: result: yes" >&5
29726 echo "${ECHO_T}yes" >&6
29727 X_LIBS
="$X_LIBS -R $x_libraries"
29729 echo "$as_me:$LINENO: result: neither works" >&5
29730 echo "${ECHO_T}neither works" >&6
29733 LIBS
=$ac_xsave_LIBS
29737 # Check for system-dependent libraries X programs must link with.
29738 # Do this before checking for the system-independent R6 libraries
29739 # (-lICE), since we may need -lsocket or whatever for X linking.
29741 if test "$ISC" = yes; then
29742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29744 # Martyn Johnson says this is needed for Ultrix, if the X
29745 # libraries were built with DECnet support. And Karl Berry says
29746 # the Alpha needs dnet_stub (dnet does not exist).
29747 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29748 cat >conftest.
$ac_ext <<_ACEOF
29751 cat confdefs.h
>>conftest.
$ac_ext
29752 cat >>conftest.
$ac_ext <<_ACEOF
29753 /* end confdefs.h. */
29755 /* Override any gcc2 internal prototype to avoid an error. */
29759 /* We use char because int might match the return type of a gcc2
29760 builtin and then its argument prototype would still apply. */
29761 char XOpenDisplay ();
29770 rm -f conftest.
$ac_objext conftest
$ac_exeext
29771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29772 (eval $ac_link) 2>conftest.er1
29774 grep -v '^ *+' conftest.er1
>conftest.err
29776 cat conftest.err
>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); } &&
29779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; } &&
29785 { ac_try
='test -s conftest$ac_exeext'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; }; then
29793 echo "$as_me: failed program was:" >&5
29794 sed 's/^/| /' conftest.
$ac_ext >&5
29796 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29797 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29798 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 ac_check_lib_save_LIBS
=$LIBS
29802 LIBS
="-ldnet $LIBS"
29803 cat >conftest.
$ac_ext <<_ACEOF
29806 cat confdefs.h
>>conftest.
$ac_ext
29807 cat >>conftest.
$ac_ext <<_ACEOF
29808 /* end confdefs.h. */
29810 /* Override any gcc2 internal prototype to avoid an error. */
29814 /* We use char because int might match the return type of a gcc2
29815 builtin and then its argument prototype would still apply. */
29825 rm -f conftest.
$ac_objext conftest
$ac_exeext
29826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29827 (eval $ac_link) 2>conftest.er1
29829 grep -v '^ *+' conftest.er1
>conftest.err
29831 cat conftest.err
>&5
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); } &&
29834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29836 (eval $ac_try) 2>&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); }; } &&
29840 { ac_try
='test -s conftest$ac_exeext'
29841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29842 (eval $ac_try) 2>&5
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; }; then
29846 ac_cv_lib_dnet_dnet_ntoa
=yes
29848 echo "$as_me: failed program was:" >&5
29849 sed 's/^/| /' conftest.
$ac_ext >&5
29851 ac_cv_lib_dnet_dnet_ntoa
=no
29853 rm -f conftest.err conftest.
$ac_objext \
29854 conftest
$ac_exeext conftest.
$ac_ext
29855 LIBS
=$ac_check_lib_save_LIBS
29857 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29858 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29859 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29860 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29863 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29864 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29865 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29866 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29867 echo $ECHO_N "(cached) $ECHO_C" >&6
29869 ac_check_lib_save_LIBS
=$LIBS
29870 LIBS
="-ldnet_stub $LIBS"
29871 cat >conftest.
$ac_ext <<_ACEOF
29874 cat confdefs.h
>>conftest.
$ac_ext
29875 cat >>conftest.
$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29878 /* Override any gcc2 internal prototype to avoid an error. */
29882 /* We use char because int might match the return type of a gcc2
29883 builtin and then its argument prototype would still apply. */
29893 rm -f conftest.
$ac_objext conftest
$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895 (eval $ac_link) 2>conftest.er1
29897 grep -v '^ *+' conftest.er1
>conftest.err
29899 cat conftest.err
>&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } &&
29902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904 (eval $ac_try) 2>&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; } &&
29908 { ac_try
='test -s conftest$ac_exeext'
29909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29910 (eval $ac_try) 2>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); }; }; then
29914 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29916 echo "$as_me: failed program was:" >&5
29917 sed 's/^/| /' conftest.
$ac_ext >&5
29919 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29921 rm -f conftest.err conftest.
$ac_objext \
29922 conftest
$ac_exeext conftest.
$ac_ext
29923 LIBS
=$ac_check_lib_save_LIBS
29925 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29926 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29927 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29928 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29933 rm -f conftest.err conftest.
$ac_objext \
29934 conftest
$ac_exeext conftest.
$ac_ext
29935 LIBS
="$ac_xsave_LIBS"
29937 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29938 # to get the SysV transport functions.
29939 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29941 # The nsl library prevents programs from opening the X display
29942 # on Irix 5.2, according to T.E. Dickey.
29943 # The functions gethostbyname, getservbyname, and inet_addr are
29944 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29945 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29946 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29947 if test "${ac_cv_func_gethostbyname+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 cat >conftest.
$ac_ext <<_ACEOF
29953 cat confdefs.h
>>conftest.
$ac_ext
29954 cat >>conftest.
$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29958 #define gethostbyname innocuous_gethostbyname
29960 /* System header to define __stub macros and hopefully few prototypes,
29961 which can conflict with char gethostbyname (); below.
29962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29963 <limits.h> exists even on freestanding compilers. */
29966 # include <limits.h>
29968 # include <assert.h>
29971 #undef gethostbyname
29973 /* Override any gcc2 internal prototype to avoid an error. */
29978 /* We use char because int might match the return type of a gcc2
29979 builtin and then its argument prototype would still apply. */
29980 char gethostbyname ();
29981 /* The GNU C library defines this for functions which it implements
29982 to always fail with ENOSYS. Some functions are actually named
29983 something starting with __ and the normal name is an alias. */
29984 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29987 char (*f) () = gethostbyname;
29996 return f != gethostbyname;
30001 rm -f conftest.
$ac_objext conftest
$ac_exeext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30003 (eval $ac_link) 2>conftest.er1
30005 grep -v '^ *+' conftest.er1
>conftest.err
30007 cat conftest.err
>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; } &&
30016 { ac_try
='test -s conftest$ac_exeext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30022 ac_cv_func_gethostbyname
=yes
30024 echo "$as_me: failed program was:" >&5
30025 sed 's/^/| /' conftest.
$ac_ext >&5
30027 ac_cv_func_gethostbyname
=no
30029 rm -f conftest.err conftest.
$ac_objext \
30030 conftest
$ac_exeext conftest.
$ac_ext
30032 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30033 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30035 if test $ac_cv_func_gethostbyname = no
; then
30036 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30037 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30038 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30039 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 ac_check_lib_save_LIBS
=$LIBS
30043 cat >conftest.
$ac_ext <<_ACEOF
30046 cat confdefs.h
>>conftest.
$ac_ext
30047 cat >>conftest.
$ac_ext <<_ACEOF
30048 /* end confdefs.h. */
30050 /* Override any gcc2 internal prototype to avoid an error. */
30054 /* We use char because int might match the return type of a gcc2
30055 builtin and then its argument prototype would still apply. */
30056 char gethostbyname ();
30065 rm -f conftest.
$ac_objext conftest
$ac_exeext
30066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30067 (eval $ac_link) 2>conftest.er1
30069 grep -v '^ *+' conftest.er1
>conftest.err
30071 cat conftest.err
>&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); } &&
30074 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30076 (eval $ac_try) 2>&5
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); }; } &&
30080 { ac_try
='test -s conftest$ac_exeext'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; }; then
30086 ac_cv_lib_nsl_gethostbyname
=yes
30088 echo "$as_me: failed program was:" >&5
30089 sed 's/^/| /' conftest.
$ac_ext >&5
30091 ac_cv_lib_nsl_gethostbyname
=no
30093 rm -f conftest.err conftest.
$ac_objext \
30094 conftest
$ac_exeext conftest.
$ac_ext
30095 LIBS
=$ac_check_lib_save_LIBS
30097 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30098 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30099 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30100 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30103 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30104 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30105 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30106 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 ac_check_lib_save_LIBS
=$LIBS
30111 cat >conftest.
$ac_ext <<_ACEOF
30114 cat confdefs.h
>>conftest.
$ac_ext
30115 cat >>conftest.
$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30118 /* Override any gcc2 internal prototype to avoid an error. */
30122 /* We use char because int might match the return type of a gcc2
30123 builtin and then its argument prototype would still apply. */
30124 char gethostbyname ();
30133 rm -f conftest.
$ac_objext conftest
$ac_exeext
30134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30135 (eval $ac_link) 2>conftest.er1
30137 grep -v '^ *+' conftest.er1
>conftest.err
30139 cat conftest.err
>&5
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); } &&
30142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144 (eval $ac_try) 2>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; } &&
30148 { ac_try
='test -s conftest$ac_exeext'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; }; then
30154 ac_cv_lib_bsd_gethostbyname
=yes
30156 echo "$as_me: failed program was:" >&5
30157 sed 's/^/| /' conftest.
$ac_ext >&5
30159 ac_cv_lib_bsd_gethostbyname
=no
30161 rm -f conftest.err conftest.
$ac_objext \
30162 conftest
$ac_exeext conftest.
$ac_ext
30163 LIBS
=$ac_check_lib_save_LIBS
30165 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30166 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30167 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30168 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30174 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30175 # socket/setsockopt and other routines are undefined under SCO ODT
30176 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30177 # on later versions), says Simon Leinen: it contains gethostby*
30178 # variants that don't use the name server (or something). -lsocket
30179 # must be given before -lnsl if both are needed. We assume that
30180 # if connect needs -lnsl, so does gethostbyname.
30181 echo "$as_me:$LINENO: checking for connect" >&5
30182 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30183 if test "${ac_cv_func_connect+set}" = set; then
30184 echo $ECHO_N "(cached) $ECHO_C" >&6
30186 cat >conftest.
$ac_ext <<_ACEOF
30189 cat confdefs.h
>>conftest.
$ac_ext
30190 cat >>conftest.
$ac_ext <<_ACEOF
30191 /* end confdefs.h. */
30192 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30194 #define connect innocuous_connect
30196 /* System header to define __stub macros and hopefully few prototypes,
30197 which can conflict with char connect (); below.
30198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30199 <limits.h> exists even on freestanding compilers. */
30202 # include <limits.h>
30204 # include <assert.h>
30209 /* Override any gcc2 internal prototype to avoid an error. */
30214 /* We use char because int might match the return type of a gcc2
30215 builtin and then its argument prototype would still apply. */
30217 /* The GNU C library defines this for functions which it implements
30218 to always fail with ENOSYS. Some functions are actually named
30219 something starting with __ and the normal name is an alias. */
30220 #if defined (__stub_connect) || defined (__stub___connect)
30223 char (*f) () = connect;
30232 return f != connect;
30237 rm -f conftest.
$ac_objext conftest
$ac_exeext
30238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30239 (eval $ac_link) 2>conftest.er1
30241 grep -v '^ *+' conftest.er1
>conftest.err
30243 cat conftest.err
>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); } &&
30246 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30248 (eval $ac_try) 2>&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); }; } &&
30252 { ac_try
='test -s conftest$ac_exeext'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; }; then
30258 ac_cv_func_connect
=yes
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.
$ac_ext >&5
30263 ac_cv_func_connect
=no
30265 rm -f conftest.err conftest.
$ac_objext \
30266 conftest
$ac_exeext conftest.
$ac_ext
30268 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30269 echo "${ECHO_T}$ac_cv_func_connect" >&6
30271 if test $ac_cv_func_connect = no
; then
30272 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30273 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30274 if test "${ac_cv_lib_socket_connect+set}" = set; then
30275 echo $ECHO_N "(cached) $ECHO_C" >&6
30277 ac_check_lib_save_LIBS
=$LIBS
30278 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30279 cat >conftest.
$ac_ext <<_ACEOF
30282 cat confdefs.h
>>conftest.
$ac_ext
30283 cat >>conftest.
$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30286 /* Override any gcc2 internal prototype to avoid an error. */
30290 /* We use char because int might match the return type of a gcc2
30291 builtin and then its argument prototype would still apply. */
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 ac_cv_lib_socket_connect
=yes
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 ac_cv_lib_socket_connect
=no
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30331 LIBS
=$ac_check_lib_save_LIBS
30333 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30334 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30335 if test $ac_cv_lib_socket_connect = yes; then
30336 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30341 # Guillermo Gomez says -lposix is necessary on A/UX.
30342 echo "$as_me:$LINENO: checking for remove" >&5
30343 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30344 if test "${ac_cv_func_remove+set}" = set; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 cat >conftest.
$ac_ext <<_ACEOF
30350 cat confdefs.h
>>conftest.
$ac_ext
30351 cat >>conftest.
$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30353 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30355 #define remove innocuous_remove
30357 /* System header to define __stub macros and hopefully few prototypes,
30358 which can conflict with char remove (); below.
30359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30360 <limits.h> exists even on freestanding compilers. */
30363 # include <limits.h>
30365 # include <assert.h>
30370 /* Override any gcc2 internal prototype to avoid an error. */
30375 /* We use char because int might match the return type of a gcc2
30376 builtin and then its argument prototype would still apply. */
30378 /* The GNU C library defines this for functions which it implements
30379 to always fail with ENOSYS. Some functions are actually named
30380 something starting with __ and the normal name is an alias. */
30381 #if defined (__stub_remove) || defined (__stub___remove)
30384 char (*f) () = remove;
30393 return f != remove;
30398 rm -f conftest.
$ac_objext conftest
$ac_exeext
30399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30400 (eval $ac_link) 2>conftest.er1
30402 grep -v '^ *+' conftest.er1
>conftest.err
30404 cat conftest.err
>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } &&
30407 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try
='test -s conftest$ac_exeext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30419 ac_cv_func_remove
=yes
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.
$ac_ext >&5
30424 ac_cv_func_remove
=no
30426 rm -f conftest.err conftest.
$ac_objext \
30427 conftest
$ac_exeext conftest.
$ac_ext
30429 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30430 echo "${ECHO_T}$ac_cv_func_remove" >&6
30432 if test $ac_cv_func_remove = no
; then
30433 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30434 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30435 if test "${ac_cv_lib_posix_remove+set}" = set; then
30436 echo $ECHO_N "(cached) $ECHO_C" >&6
30438 ac_check_lib_save_LIBS
=$LIBS
30439 LIBS
="-lposix $LIBS"
30440 cat >conftest.
$ac_ext <<_ACEOF
30443 cat confdefs.h
>>conftest.
$ac_ext
30444 cat >>conftest.
$ac_ext <<_ACEOF
30445 /* end confdefs.h. */
30447 /* Override any gcc2 internal prototype to avoid an error. */
30451 /* We use char because int might match the return type of a gcc2
30452 builtin and then its argument prototype would still apply. */
30462 rm -f conftest.
$ac_objext conftest
$ac_exeext
30463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30464 (eval $ac_link) 2>conftest.er1
30466 grep -v '^ *+' conftest.er1
>conftest.err
30468 cat conftest.err
>&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } &&
30471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30473 (eval $ac_try) 2>&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); }; } &&
30477 { ac_try
='test -s conftest$ac_exeext'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; }; then
30483 ac_cv_lib_posix_remove
=yes
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.
$ac_ext >&5
30488 ac_cv_lib_posix_remove
=no
30490 rm -f conftest.err conftest.
$ac_objext \
30491 conftest
$ac_exeext conftest.
$ac_ext
30492 LIBS
=$ac_check_lib_save_LIBS
30494 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30495 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30496 if test $ac_cv_lib_posix_remove = yes; then
30497 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30502 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30503 echo "$as_me:$LINENO: checking for shmat" >&5
30504 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30505 if test "${ac_cv_func_shmat+set}" = set; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 cat >conftest.
$ac_ext <<_ACEOF
30511 cat confdefs.h
>>conftest.
$ac_ext
30512 cat >>conftest.
$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30516 #define shmat innocuous_shmat
30518 /* System header to define __stub macros and hopefully few prototypes,
30519 which can conflict with char shmat (); below.
30520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30521 <limits.h> exists even on freestanding compilers. */
30524 # include <limits.h>
30526 # include <assert.h>
30531 /* Override any gcc2 internal prototype to avoid an error. */
30536 /* We use char because int might match the return type of a gcc2
30537 builtin and then its argument prototype would still apply. */
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined (__stub_shmat) || defined (__stub___shmat)
30545 char (*f) () = shmat;
30559 rm -f conftest.
$ac_objext conftest
$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>conftest.er1
30563 grep -v '^ *+' conftest.er1
>conftest.err
30565 cat conftest.err
>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; } &&
30574 { ac_try
='test -s conftest$ac_exeext'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; }; then
30580 ac_cv_func_shmat
=yes
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.
$ac_ext >&5
30585 ac_cv_func_shmat
=no
30587 rm -f conftest.err conftest.
$ac_objext \
30588 conftest
$ac_exeext conftest.
$ac_ext
30590 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30591 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30593 if test $ac_cv_func_shmat = no
; then
30594 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30595 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30596 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30597 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 ac_check_lib_save_LIBS
=$LIBS
30601 cat >conftest.
$ac_ext <<_ACEOF
30604 cat confdefs.h
>>conftest.
$ac_ext
30605 cat >>conftest.
$ac_ext <<_ACEOF
30606 /* end confdefs.h. */
30608 /* Override any gcc2 internal prototype to avoid an error. */
30612 /* We use char because int might match the return type of a gcc2
30613 builtin and then its argument prototype would still apply. */
30623 rm -f conftest.
$ac_objext conftest
$ac_exeext
30624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30625 (eval $ac_link) 2>conftest.er1
30627 grep -v '^ *+' conftest.er1
>conftest.err
30629 cat conftest.err
>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); } &&
30632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; } &&
30638 { ac_try
='test -s conftest$ac_exeext'
30639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30640 (eval $ac_try) 2>&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); }; }; then
30644 ac_cv_lib_ipc_shmat
=yes
30646 echo "$as_me: failed program was:" >&5
30647 sed 's/^/| /' conftest.
$ac_ext >&5
30649 ac_cv_lib_ipc_shmat
=no
30651 rm -f conftest.err conftest.
$ac_objext \
30652 conftest
$ac_exeext conftest.
$ac_ext
30653 LIBS
=$ac_check_lib_save_LIBS
30655 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30656 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30657 if test $ac_cv_lib_ipc_shmat = yes; then
30658 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30664 # Check for libraries that X11R6 Xt/Xaw programs need.
30665 ac_save_LDFLAGS
=$LDFLAGS
30666 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30667 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30668 # check for ICE first), but we must link in the order -lSM -lICE or
30669 # we get undefined symbols. So assume we have SM if we have ICE.
30670 # These have to be linked with before -lX11, unlike the other
30671 # libraries we check for below, so use a different variable.
30672 # John Interrante, Karl Berry
30673 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30674 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30675 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30676 echo $ECHO_N "(cached) $ECHO_C" >&6
30678 ac_check_lib_save_LIBS
=$LIBS
30679 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30680 cat >conftest.
$ac_ext <<_ACEOF
30683 cat confdefs.h
>>conftest.
$ac_ext
30684 cat >>conftest.
$ac_ext <<_ACEOF
30685 /* end confdefs.h. */
30687 /* Override any gcc2 internal prototype to avoid an error. */
30691 /* We use char because int might match the return type of a gcc2
30692 builtin and then its argument prototype would still apply. */
30693 char IceConnectionNumber ();
30697 IceConnectionNumber ();
30702 rm -f conftest.
$ac_objext conftest
$ac_exeext
30703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30704 (eval $ac_link) 2>conftest.er1
30706 grep -v '^ *+' conftest.er1
>conftest.err
30708 cat conftest.err
>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); } &&
30711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; } &&
30717 { ac_try
='test -s conftest$ac_exeext'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; }; then
30723 ac_cv_lib_ICE_IceConnectionNumber
=yes
30725 echo "$as_me: failed program was:" >&5
30726 sed 's/^/| /' conftest.
$ac_ext >&5
30728 ac_cv_lib_ICE_IceConnectionNumber
=no
30730 rm -f conftest.err conftest.
$ac_objext \
30731 conftest
$ac_exeext conftest.
$ac_ext
30732 LIBS
=$ac_check_lib_save_LIBS
30734 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30735 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30736 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30737 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30740 LDFLAGS
=$ac_save_LDFLAGS
30745 if test "$no_x" = "yes"; then
30746 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30747 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30748 { (exit 1); exit 1; }; }
30751 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30752 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30753 AFMINSTALL
=afminstall
30754 COMPILED_X_PROGRAM
=0
30758 if test "$wxUSE_X11" = 1; then
30759 if test "$wxUSE_NANOX" = "yes"; then
30760 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30761 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30762 if test "x$MICROWIN" = x
; then
30763 echo "$as_me:$LINENO: result: not found" >&5
30764 echo "${ECHO_T}not found" >&6
30765 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30766 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30767 { (exit 1); exit 1; }; }
30769 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30770 echo "${ECHO_T}$MICROWIN" >&6
30771 cat >>confdefs.h
<<\_ACEOF
30772 #define wxUSE_NANOX 1
30778 if test "$wxUSE_UNICODE" = "yes"; then
30781 echo "$as_me:$LINENO: checking for PANGOX" >&5
30782 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30784 if test -n "$PKG_CONFIG"; then
30785 if test -n "$PANGOX_CFLAGS"; then
30786 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30788 if test -n "$PKG_CONFIG" && \
30789 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30790 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); }; then
30794 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30802 if test -n "$PKG_CONFIG"; then
30803 if test -n "$PANGOX_LIBS"; then
30804 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30806 if test -n "$PKG_CONFIG" && \
30807 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30808 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); }; then
30812 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30823 if test $pkg_failed = yes; then
30825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30826 _pkg_short_errors_supported
=yes
30828 _pkg_short_errors_supported
=no
30830 if test $_pkg_short_errors_supported = yes; then
30831 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30833 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30835 # Put the nasty error message in config.log where it belongs
30836 echo "$PANGOX_PKG_ERRORS" >&5
30839 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30840 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30841 { (exit 1); exit 1; }; }
30844 elif test $pkg_failed = untried
; then
30846 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30847 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30848 { (exit 1); exit 1; }; }
30852 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30853 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30854 echo "$as_me:$LINENO: result: yes" >&5
30855 echo "${ECHO_T}yes" >&6
30857 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30858 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30863 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30864 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30866 if test -n "$PKG_CONFIG"; then
30867 if test -n "$PANGOFT2_CFLAGS"; then
30868 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30870 if test -n "$PKG_CONFIG" && \
30871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30872 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; then
30876 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30884 if test -n "$PKG_CONFIG"; then
30885 if test -n "$PANGOFT2_LIBS"; then
30886 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30888 if test -n "$PKG_CONFIG" && \
30889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30890 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; then
30894 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30905 if test $pkg_failed = yes; then
30907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30908 _pkg_short_errors_supported
=yes
30910 _pkg_short_errors_supported
=no
30912 if test $_pkg_short_errors_supported = yes; then
30913 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30915 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30917 # Put the nasty error message in config.log where it belongs
30918 echo "$PANGOFT2_PKG_ERRORS" >&5
30921 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30922 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30923 wxUSE_PRINTING_ARCHITECTURE
="no"
30926 elif test $pkg_failed = untried
; then
30928 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30929 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30930 wxUSE_PRINTING_ARCHITECTURE
="no"
30934 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30935 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30936 echo "$as_me:$LINENO: result: yes" >&5
30937 echo "${ECHO_T}yes" >&6
30939 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30940 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30945 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30946 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30948 if test -n "$PKG_CONFIG"; then
30949 if test -n "$PANGOXFT_CFLAGS"; then
30950 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30952 if test -n "$PKG_CONFIG" && \
30953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30954 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; then
30958 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30966 if test -n "$PKG_CONFIG"; then
30967 if test -n "$PANGOXFT_LIBS"; then
30968 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30970 if test -n "$PKG_CONFIG" && \
30971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30972 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; then
30976 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30987 if test $pkg_failed = yes; then
30989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30990 _pkg_short_errors_supported
=yes
30992 _pkg_short_errors_supported
=no
30994 if test $_pkg_short_errors_supported = yes; then
30995 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30997 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30999 # Put the nasty error message in config.log where it belongs
31000 echo "$PANGOXFT_PKG_ERRORS" >&5
31003 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31004 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31007 elif test $pkg_failed = untried
; then
31009 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31010 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31014 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31015 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31016 echo "$as_me:$LINENO: result: yes" >&5
31017 echo "${ECHO_T}yes" >&6
31019 cat >>confdefs.h
<<\_ACEOF
31020 #define HAVE_PANGO_XFT 1
31023 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31027 save_CXXFLAGS
="$CXXFLAGS"
31029 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31030 LIBS
="$LIBS $PANGOX_LIBS"
31032 for ac_func
in pango_font_family_is_monospace
31034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31035 echo "$as_me:$LINENO: checking for $ac_func" >&5
31036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31037 if eval "test \"\${$as_ac_var+set}\" = set"; then
31038 echo $ECHO_N "(cached) $ECHO_C" >&6
31040 cat >conftest.
$ac_ext <<_ACEOF
31043 cat confdefs.h
>>conftest.
$ac_ext
31044 cat >>conftest.
$ac_ext <<_ACEOF
31045 /* end confdefs.h. */
31046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31048 #define $ac_func innocuous_$ac_func
31050 /* System header to define __stub macros and hopefully few prototypes,
31051 which can conflict with char $ac_func (); below.
31052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31053 <limits.h> exists even on freestanding compilers. */
31056 # include <limits.h>
31058 # include <assert.h>
31063 /* Override any gcc2 internal prototype to avoid an error. */
31068 /* We use char because int might match the return type of a gcc2
31069 builtin and then its argument prototype would still apply. */
31071 /* The GNU C library defines this for functions which it implements
31072 to always fail with ENOSYS. Some functions are actually named
31073 something starting with __ and the normal name is an alias. */
31074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31077 char (*f) () = $ac_func;
31086 return f != $ac_func;
31091 rm -f conftest.
$ac_objext conftest
$ac_exeext
31092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31093 (eval $ac_link) 2>conftest.er1
31095 grep -v '^ *+' conftest.er1
>conftest.err
31097 cat conftest.err
>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); } &&
31100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; } &&
31106 { ac_try
='test -s conftest$ac_exeext'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; }; then
31112 eval "$as_ac_var=yes"
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.
$ac_ext >&5
31117 eval "$as_ac_var=no"
31119 rm -f conftest.err conftest.
$ac_objext \
31120 conftest
$ac_exeext conftest.
$ac_ext
31122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31124 if test `eval echo '${'$as_ac_var'}'` = yes; then
31125 cat >>confdefs.h
<<_ACEOF
31126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31132 CXXFLAGS
="$save_CXXFLAGS"
31136 wxUSE_UNIVERSAL
="yes"
31138 if test "$wxUSE_NANOX" = "yes"; then
31139 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31140 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"
31141 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31143 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31150 if test "$wxUSE_MOTIF" = 1; then
31151 if test "$wxUSE_UNICODE" = "yes"; then
31152 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31153 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31154 { (exit 1); exit 1; }; }
31157 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31158 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31161 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31163 if test -f "$ac_dir/Xm/Xm.h"; then
31164 ac_find_includes
=$ac_dir
31169 if test "$ac_find_includes" != "" ; then
31170 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31171 echo "${ECHO_T}found in $ac_find_includes" >&6
31173 if test "x$ac_find_includes" = "x/usr/include"; then
31174 ac_path_to_include
=""
31176 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31178 if test $result = 0; then
31179 ac_path_to_include
=""
31181 ac_path_to_include
=" -I$ac_find_includes"
31185 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31187 save_CXXFLAGS
=$CXXFLAGS
31188 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31190 cat >conftest.
$ac_ext <<_ACEOF
31193 cat confdefs.h
>>conftest.
$ac_ext
31194 cat >>conftest.
$ac_ext <<_ACEOF
31195 /* end confdefs.h. */
31204 version = xmUseVersion;
31210 rm -f conftest.
$ac_objext
31211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31212 (eval $ac_compile) 2>conftest.er1
31214 grep -v '^ *+' conftest.er1
>conftest.err
31216 cat conftest.err
>&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } &&
31219 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; } &&
31225 { ac_try
='test -s conftest.$ac_objext'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; }; then
31232 echo "$as_me:$LINENO: result: found in default search path" >&5
31233 echo "${ECHO_T}found in default search path" >&6
31234 COMPILED_X_PROGRAM
=1
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.
$ac_ext >&5
31241 echo "$as_me:$LINENO: result: no" >&5
31242 echo "${ECHO_T}no" >&6
31243 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31244 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31245 { (exit 1); exit 1; }; }
31249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31251 CXXFLAGS
=$save_CXXFLAGS
31255 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31256 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31259 for ac_dir
in $SEARCH_LIB;
31261 for ac_extension
in a so sl dylib dll.a
; do
31262 if test -f "$ac_dir/libXm.$ac_extension"; then
31263 ac_find_libraries
=$ac_dir
31270 if test "x$ac_find_libraries" != "x" ; then
31271 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31272 echo "${ECHO_T}found in $ac_find_libraries" >&6
31275 if test "$ac_find_libraries" = "default location"; then
31278 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31280 if test $result = 0; then
31283 ac_path_to_link
=" -L$ac_find_libraries"
31287 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31289 save_CXXFLAGS
=$CXXFLAGS
31290 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31292 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31294 cat >conftest.
$ac_ext <<_ACEOF
31297 cat confdefs.h
>>conftest.
$ac_ext
31298 cat >>conftest.
$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31308 version = xmUseVersion;
31314 rm -f conftest.
$ac_objext conftest
$ac_exeext
31315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31316 (eval $ac_link) 2>conftest.er1
31318 grep -v '^ *+' conftest.er1
>conftest.err
31320 cat conftest.err
>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } &&
31323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; } &&
31329 { ac_try
='test -s conftest$ac_exeext'
31330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31331 (eval $ac_try) 2>&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); }; }; then
31336 echo "$as_me:$LINENO: result: found in default search path" >&5
31337 echo "${ECHO_T}found in default search path" >&6
31338 COMPILED_X_PROGRAM
=1
31341 echo "$as_me: failed program was:" >&5
31342 sed 's/^/| /' conftest.
$ac_ext >&5
31345 echo "$as_me:$LINENO: result: no" >&5
31346 echo "${ECHO_T}no" >&6
31347 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31348 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31349 { (exit 1); exit 1; }; }
31353 rm -f conftest.err conftest.
$ac_objext \
31354 conftest
$ac_exeext conftest.
$ac_ext
31356 CXXFLAGS
=$save_CXXFLAGS
31360 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31361 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31365 for libp
in "" " -lXp"; do
31366 if test "$libs_found" = "0"; then
31367 for libsm_ice
in "" " -lSM -lICE"; do
31368 if test "$libs_found" = "0"; then
31370 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31371 save_CXXFLAGS
=$CXXFLAGS
31372 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31374 cat >conftest.
$ac_ext <<_ACEOF
31377 cat confdefs.h
>>conftest.
$ac_ext
31378 cat >>conftest.
$ac_ext <<_ACEOF
31379 /* end confdefs.h. */
31382 #include <Xm/List.h>
31388 XmString string = NULL;
31391 XmListAddItem(w, string, position);
31397 rm -f conftest.
$ac_objext conftest
$ac_exeext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399 (eval $ac_link) 2>conftest.er1
31401 grep -v '^ *+' conftest.er1
>conftest.err
31403 cat conftest.err
>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; } &&
31412 { ac_try
='test -s conftest$ac_exeext'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31420 libsm_ice_link
="$libsm_ice"
31421 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31422 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.
$ac_ext >&5
31432 rm -f conftest.err conftest.
$ac_objext \
31433 conftest
$ac_exeext conftest.
$ac_ext
31436 CXXFLAGS
=$save_CXXFLAGS
31442 if test "$libs_found" = "0"; then
31443 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31444 echo "${ECHO_T}can't find the right libraries" >&6
31445 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31446 echo "$as_me: error: can't link a simple motif program" >&2;}
31447 { (exit 1); exit 1; }; }
31450 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31451 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31452 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31453 echo $ECHO_N "(cached) $ECHO_C" >&6
31455 ac_check_lib_save_LIBS
=$LIBS
31457 cat >conftest.
$ac_ext <<_ACEOF
31460 cat confdefs.h
>>conftest.
$ac_ext
31461 cat >>conftest.
$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31464 /* Override any gcc2 internal prototype to avoid an error. */
31468 /* We use char because int might match the return type of a gcc2
31469 builtin and then its argument prototype would still apply. */
31470 char SgCreateList ();
31479 rm -f conftest.
$ac_objext conftest
$ac_exeext
31480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31481 (eval $ac_link) 2>conftest.er1
31483 grep -v '^ *+' conftest.er1
>conftest.err
31485 cat conftest.err
>&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); } &&
31488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; } &&
31494 { ac_try
='test -s conftest$ac_exeext'
31495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31496 (eval $ac_try) 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; }; then
31500 ac_cv_lib_Sgm_SgCreateList
=yes
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.
$ac_ext >&5
31505 ac_cv_lib_Sgm_SgCreateList
=no
31507 rm -f conftest.err conftest.
$ac_objext \
31508 conftest
$ac_exeext conftest.
$ac_ext
31509 LIBS
=$ac_check_lib_save_LIBS
31511 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31512 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31513 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31514 libsgm_link
=" -lSgm"
31518 save_CXXFLAGS
=$CXXFLAGS
31519 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31521 echo "$as_me:$LINENO: checking for Motif 2" >&5
31522 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31523 if test "${wx_cv_lib_motif2+set}" = set; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31526 cat >conftest.
$ac_ext <<_ACEOF
31529 cat confdefs.h
>>conftest.
$ac_ext
31530 cat >>conftest.
$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31539 #if XmVersion < 2000
31547 rm -f conftest.
$ac_objext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31549 (eval $ac_compile) 2>conftest.er1
31551 grep -v '^ *+' conftest.er1
>conftest.err
31553 cat conftest.err
>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try
='test -s conftest.$ac_objext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 wx_cv_lib_motif2
="yes"
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.
$ac_ext >&5
31573 wx_cv_lib_motif2
="no"
31575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31577 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31578 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31579 if test "$wx_cv_lib_motif2" = "yes"; then
31580 cat >>confdefs.h
<<\_ACEOF
31581 #define __WXMOTIF20__ 1
31585 cat >>confdefs.h
<<\_ACEOF
31586 #define __WXMOTIF20__ 0
31591 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31592 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31593 if test "${wx_cv_lib_lesstif+set}" = set; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 cat >conftest.
$ac_ext <<_ACEOF
31599 cat confdefs.h
>>conftest.
$ac_ext
31600 cat >>conftest.
$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31609 #if !defined(LesstifVersion) || LesstifVersion <= 0
31617 rm -f conftest.
$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>conftest.er1
31621 grep -v '^ *+' conftest.er1
>conftest.err
31623 cat conftest.err
>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } &&
31626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; } &&
31632 { ac_try
='test -s conftest.$ac_objext'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; }; then
31638 wx_cv_lib_lesstif
="yes"
31640 echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.
$ac_ext >&5
31643 wx_cv_lib_lesstif
="no"
31645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31648 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31649 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31650 if test "$wx_cv_lib_lesstif" = "yes"; then
31651 cat >>confdefs.h
<<\_ACEOF
31652 #define __WXLESSTIF__ 1
31656 cat >>confdefs.h
<<\_ACEOF
31657 #define __WXLESSTIF__ 0
31662 CXXFLAGS
=$save_CXXFLAGS
31664 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31669 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31670 if test "$wxUSE_LIBXPM" = "sys"; then
31671 echo "$as_me:$LINENO: checking for Xpm library" >&5
31672 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31675 for ac_dir
in $SEARCH_LIB;
31677 for ac_extension
in a so sl dylib dll.a
; do
31678 if test -f "$ac_dir/libXpm.$ac_extension"; then
31679 ac_find_libraries
=$ac_dir
31685 if test "$ac_find_libraries" != "" ; then
31687 if test "$ac_find_libraries" = "default location"; then
31690 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31692 if test $result = 0; then
31695 ac_path_to_link
=" -L$ac_find_libraries"
31699 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31700 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31701 echo "${ECHO_T}found in $ac_find_libraries" >&6
31703 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31704 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31705 if test "${wx_cv_x11_xpm_h+set}" = set; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 save_CXXFLAGS
=$CXXFLAGS
31710 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31712 cat >conftest.
$ac_ext <<_ACEOF
31715 cat confdefs.h
>>conftest.
$ac_ext
31716 cat >>conftest.
$ac_ext <<_ACEOF
31717 /* end confdefs.h. */
31719 #include <X11/xpm.h>
31726 version = XpmLibraryVersion();
31732 rm -f conftest.
$ac_objext
31733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31734 (eval $ac_compile) 2>conftest.er1
31736 grep -v '^ *+' conftest.er1
>conftest.err
31738 cat conftest.err
>&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); } &&
31741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743 (eval $ac_try) 2>&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; } &&
31747 { ac_try
='test -s conftest.$ac_objext'
31748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31749 (eval $ac_try) 2>&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); }; }; then
31753 wx_cv_x11_xpm_h
=yes
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.
$ac_ext >&5
31761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31763 CXXFLAGS
=$save_CXXFLAGS
31767 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31768 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31770 if test $wx_cv_x11_xpm_h = "yes"; then
31771 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31772 cat >>confdefs.h
<<\_ACEOF
31773 #define wxHAVE_LIB_XPM 1
31777 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31778 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31784 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31785 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31786 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 ac_check_lib_save_LIBS
=$LIBS
31790 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31791 cat >conftest.
$ac_ext <<_ACEOF
31794 cat confdefs.h
>>conftest.
$ac_ext
31795 cat >>conftest.
$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31798 /* Override any gcc2 internal prototype to avoid an error. */
31802 /* We use char because int might match the return type of a gcc2
31803 builtin and then its argument prototype would still apply. */
31804 char XShapeQueryExtension ();
31808 XShapeQueryExtension ();
31813 rm -f conftest.
$ac_objext conftest
$ac_exeext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31815 (eval $ac_link) 2>conftest.er1
31817 grep -v '^ *+' conftest.er1
>conftest.err
31819 cat conftest.err
>&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } &&
31822 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; } &&
31828 { ac_try
='test -s conftest$ac_exeext'
31829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31830 (eval $ac_try) 2>&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); }; }; then
31834 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31836 echo "$as_me: failed program was:" >&5
31837 sed 's/^/| /' conftest.
$ac_ext >&5
31839 ac_cv_lib_Xext_XShapeQueryExtension
=no
31841 rm -f conftest.err conftest.
$ac_objext \
31842 conftest
$ac_exeext conftest.
$ac_ext
31843 LIBS
=$ac_check_lib_save_LIBS
31845 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31846 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31847 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31849 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31855 if test "$wxHAVE_XEXT_LIB" = 1; then
31856 save_CXXFLAGS
="$CXXFLAGS"
31857 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31859 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31860 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31861 cat >conftest.
$ac_ext <<_ACEOF
31864 cat confdefs.h
>>conftest.
$ac_ext
31865 cat >>conftest.
$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31868 #include <X11/Xlib.h>
31869 #include <X11/extensions/shape.h>
31875 int dummy1, dummy2;
31876 XShapeQueryExtension((Display*)NULL,
31877 (int*)NULL, (int*)NULL);
31883 rm -f conftest.
$ac_objext
31884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31885 (eval $ac_compile) 2>conftest.er1
31887 grep -v '^ *+' conftest.er1
>conftest.err
31889 cat conftest.err
>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } &&
31892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; } &&
31898 { ac_try
='test -s conftest.$ac_objext'
31899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31900 (eval $ac_try) 2>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; }; then
31905 cat >>confdefs.h
<<\_ACEOF
31906 #define HAVE_XSHAPE 1
31909 echo "$as_me:$LINENO: result: found" >&5
31910 echo "${ECHO_T}found" >&6
31913 echo "$as_me: failed program was:" >&5
31914 sed 's/^/| /' conftest.
$ac_ext >&5
31917 echo "$as_me:$LINENO: result: not found" >&5
31918 echo "${ECHO_T}not found" >&6
31921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31922 CXXFLAGS
="$save_CXXFLAGS"
31927 if test "$wxUSE_MAC" = 1; then
31928 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31929 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31930 if test "$GCC" = yes; then
31931 echo "$as_me:$LINENO: result: gcc" >&5
31932 echo "${ECHO_T}gcc" >&6
31933 CPPFLAGS_PASCAL
="-fpascal-strings"
31934 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31935 echo "$as_me:$LINENO: result: xlc" >&5
31936 echo "${ECHO_T}xlc" >&6
31937 CPPFLAGS_PASCAL
="-qmacpstr"
31939 echo "$as_me:$LINENO: result: none" >&5
31940 echo "${ECHO_T}none" >&6
31943 if test "x$wxUSE_UNIX" = "xyes"; then
31944 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31946 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31951 WXBASEPORT
="_carbon"
31954 if test "$wxUSE_COCOA" = 1; then
31959 if test "$wxUSE_PM" = 1; then
31962 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31963 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31964 if test "${wx_cv_spbcdata+set}" = set; then
31965 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 cat >conftest.
$ac_ext <<_ACEOF
31971 cat confdefs.h
>>conftest.
$ac_ext
31972 cat >>conftest.
$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31988 rm -f conftest.
$ac_objext
31989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31990 (eval $ac_compile) 2>conftest.er1
31992 grep -v '^ *+' conftest.er1
>conftest.err
31994 cat conftest.err
>&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); } &&
31997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31999 (eval $ac_try) 2>&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; } &&
32003 { ac_try
='test -s conftest.$ac_objext'
32004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005 (eval $ac_try) 2>&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); }; }; then
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.
$ac_ext >&5
32017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32021 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32022 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32024 if test $wx_cv_spbcdata = "yes"; then
32025 cat >>confdefs.h
<<\_ACEOF
32026 #define HAVE_SPBCDATA 1
32032 if test "$TOOLKIT" = "PM" ; then
32035 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32038 if test "$wxUSE_UNIVERSAL" = "yes"; then
32039 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32043 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32044 DISTDIR
="wx\$(TOOLKIT)"
32050 if test "$USE_WIN32" = 1 ; then
32054 GUIDIST
="BASE_DIST"
32059 if test "$wxUSE_GUI" = "yes"; then
32060 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32062 for ac_header
in X
11/Xlib.h
32064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32066 echo "$as_me:$LINENO: checking for $ac_header" >&5
32067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32074 # Is the header compilable?
32075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32077 cat >conftest.
$ac_ext <<_ACEOF
32080 cat confdefs.h
>>conftest.
$ac_ext
32081 cat >>conftest.
$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 $ac_includes_default
32084 #include <$ac_header>
32086 rm -f conftest.
$ac_objext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32088 (eval $ac_compile) 2>conftest.er1
32090 grep -v '^ *+' conftest.er1
>conftest.err
32092 cat conftest.err
>&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097 (eval $ac_try) 2>&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); }; } &&
32101 { ac_try
='test -s conftest.$ac_objext'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; }; then
32107 ac_header_compiler
=yes
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.
$ac_ext >&5
32112 ac_header_compiler
=no
32114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32116 echo "${ECHO_T}$ac_header_compiler" >&6
32118 # Is the header present?
32119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32121 cat >conftest.
$ac_ext <<_ACEOF
32124 cat confdefs.h
>>conftest.
$ac_ext
32125 cat >>conftest.
$ac_ext <<_ACEOF
32126 /* end confdefs.h. */
32127 #include <$ac_header>
32129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32132 grep -v '^ *+' conftest.er1
>conftest.err
32134 cat conftest.err
>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } >/dev
/null
; then
32137 if test -s conftest.err
; then
32138 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32139 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32146 if test -z "$ac_cpp_err"; then
32147 ac_header_preproc
=yes
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.
$ac_ext >&5
32152 ac_header_preproc
=no
32154 rm -f conftest.err conftest.
$ac_ext
32155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32156 echo "${ECHO_T}$ac_header_preproc" >&6
32158 # So? What about this header?
32159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32165 ac_header_preproc
=yes
32168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32182 ## ----------------------------------------- ##
32183 ## Report this to wx-dev@lists.wxwidgets.org ##
32184 ## ----------------------------------------- ##
32187 sed "s/^/$as_me: WARNING: /" >&2
32190 echo "$as_me:$LINENO: checking for $ac_header" >&5
32191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 eval "$as_ac_Header=\$ac_header_preproc"
32197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32202 cat >>confdefs.h
<<_ACEOF
32203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32211 for ac_header
in X
11/XKBlib.h
32213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32214 echo "$as_me:$LINENO: checking for $ac_header" >&5
32215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32217 echo $ECHO_N "(cached) $ECHO_C" >&6
32219 cat >conftest.
$ac_ext <<_ACEOF
32222 cat confdefs.h
>>conftest.
$ac_ext
32223 cat >>conftest.
$ac_ext <<_ACEOF
32224 /* end confdefs.h. */
32226 #if HAVE_X11_XLIB_H
32227 #include <X11/Xlib.h>
32231 #include <$ac_header>
32233 rm -f conftest.
$ac_objext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32235 (eval $ac_compile) 2>conftest.er1
32237 grep -v '^ *+' conftest.er1
>conftest.err
32239 cat conftest.err
>&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } &&
32242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32244 (eval $ac_try) 2>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; } &&
32248 { ac_try
='test -s conftest.$ac_objext'
32249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32250 (eval $ac_try) 2>&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); }; }; then
32254 eval "$as_ac_Header=yes"
32256 echo "$as_me: failed program was:" >&5
32257 sed 's/^/| /' conftest.
$ac_ext >&5
32259 eval "$as_ac_Header=no"
32261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32266 cat >>confdefs.h
<<_ACEOF
32267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32282 if test "$TOOLKIT" != "MSW" ; then
32284 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32286 if test "${ac_cv_header_sql_h+set}" = set; then
32287 echo "$as_me:$LINENO: checking for sql.h" >&5
32288 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32289 if test "${ac_cv_header_sql_h+set}" = set; then
32290 echo $ECHO_N "(cached) $ECHO_C" >&6
32292 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32293 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32295 # Is the header compilable?
32296 echo "$as_me:$LINENO: checking sql.h usability" >&5
32297 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32298 cat >conftest.
$ac_ext <<_ACEOF
32301 cat confdefs.h
>>conftest.
$ac_ext
32302 cat >>conftest.
$ac_ext <<_ACEOF
32303 /* end confdefs.h. */
32304 $ac_includes_default
32307 rm -f conftest.
$ac_objext
32308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32309 (eval $ac_compile) 2>conftest.er1
32311 grep -v '^ *+' conftest.er1
>conftest.err
32313 cat conftest.err
>&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; } &&
32322 { ac_try
='test -s conftest.$ac_objext'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; }; then
32328 ac_header_compiler
=yes
32330 echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.
$ac_ext >&5
32333 ac_header_compiler
=no
32335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32337 echo "${ECHO_T}$ac_header_compiler" >&6
32339 # Is the header present?
32340 echo "$as_me:$LINENO: checking sql.h presence" >&5
32341 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32342 cat >conftest.
$ac_ext <<_ACEOF
32345 cat confdefs.h
>>conftest.
$ac_ext
32346 cat >>conftest.
$ac_ext <<_ACEOF
32347 /* end confdefs.h. */
32350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32353 grep -v '^ *+' conftest.er1
>conftest.err
32355 cat conftest.err
>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); } >/dev
/null
; then
32358 if test -s conftest.err
; then
32359 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32360 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32367 if test -z "$ac_cpp_err"; then
32368 ac_header_preproc
=yes
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.
$ac_ext >&5
32373 ac_header_preproc
=no
32375 rm -f conftest.err conftest.
$ac_ext
32376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32377 echo "${ECHO_T}$ac_header_preproc" >&6
32379 # So? What about this header?
32380 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32382 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32383 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32384 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32385 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32386 ac_header_preproc
=yes
32389 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32390 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32391 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32392 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32393 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32394 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32395 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32396 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32397 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32398 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32399 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32400 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32403 ## ----------------------------------------- ##
32404 ## Report this to wx-dev@lists.wxwidgets.org ##
32405 ## ----------------------------------------- ##
32408 sed "s/^/$as_me: WARNING: /" >&2
32411 echo "$as_me:$LINENO: checking for sql.h" >&5
32412 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32413 if test "${ac_cv_header_sql_h+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32416 ac_cv_header_sql_h
=$ac_header_preproc
32418 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32419 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32422 if test $ac_cv_header_sql_h = yes; then
32427 if test "x$found_sql_h" = "x1" ; then
32428 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32429 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32430 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 ac_check_lib_save_LIBS
=$LIBS
32434 LIBS
="-liodbc $LIBS"
32435 cat >conftest.
$ac_ext <<_ACEOF
32438 cat confdefs.h
>>conftest.
$ac_ext
32439 cat >>conftest.
$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32442 /* Override any gcc2 internal prototype to avoid an error. */
32446 /* We use char because int might match the return type of a gcc2
32447 builtin and then its argument prototype would still apply. */
32448 char SQLAllocEnv ();
32457 rm -f conftest.
$ac_objext conftest
$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>conftest.er1
32461 grep -v '^ *+' conftest.er1
>conftest.err
32463 cat conftest.err
>&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); } &&
32466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32468 (eval $ac_try) 2>&5
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); }; } &&
32472 { ac_try
='test -s conftest$ac_exeext'
32473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32474 (eval $ac_try) 2>&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); }; }; then
32478 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32480 echo "$as_me: failed program was:" >&5
32481 sed 's/^/| /' conftest.
$ac_ext >&5
32483 ac_cv_lib_iodbc_SQLAllocEnv
=no
32485 rm -f conftest.err conftest.
$ac_objext \
32486 conftest
$ac_exeext conftest.
$ac_ext
32487 LIBS
=$ac_check_lib_save_LIBS
32489 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32490 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32491 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32492 ODBC_LINK
=" -liodbc"
32495 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32496 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32497 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32500 ac_check_lib_save_LIBS
=$LIBS
32501 LIBS
="-lunixodbc $LIBS"
32502 cat >conftest.
$ac_ext <<_ACEOF
32505 cat confdefs.h
>>conftest.
$ac_ext
32506 cat >>conftest.
$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32509 /* Override any gcc2 internal prototype to avoid an error. */
32513 /* We use char because int might match the return type of a gcc2
32514 builtin and then its argument prototype would still apply. */
32515 char SQLAllocEnv ();
32524 rm -f conftest.
$ac_objext conftest
$ac_exeext
32525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32526 (eval $ac_link) 2>conftest.er1
32528 grep -v '^ *+' conftest.er1
>conftest.err
32530 cat conftest.err
>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } &&
32533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; } &&
32539 { ac_try
='test -s conftest$ac_exeext'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; }; then
32545 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.
$ac_ext >&5
32550 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32552 rm -f conftest.err conftest.
$ac_objext \
32553 conftest
$ac_exeext conftest.
$ac_ext
32554 LIBS
=$ac_check_lib_save_LIBS
32556 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32557 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32558 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32559 ODBC_LINK
=" -lunixodbc"
32562 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32563 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32564 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 ac_check_lib_save_LIBS
=$LIBS
32568 LIBS
="-lodbc $LIBS"
32569 cat >conftest.
$ac_ext <<_ACEOF
32572 cat confdefs.h
>>conftest.
$ac_ext
32573 cat >>conftest.
$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32576 /* Override any gcc2 internal prototype to avoid an error. */
32580 /* We use char because int might match the return type of a gcc2
32581 builtin and then its argument prototype would still apply. */
32582 char SQLAllocEnv ();
32591 rm -f conftest.
$ac_objext conftest
$ac_exeext
32592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32593 (eval $ac_link) 2>conftest.er1
32595 grep -v '^ *+' conftest.er1
>conftest.err
32597 cat conftest.err
>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } &&
32600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32602 (eval $ac_try) 2>&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); }; } &&
32606 { ac_try
='test -s conftest$ac_exeext'
32607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32608 (eval $ac_try) 2>&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); }; }; then
32612 ac_cv_lib_odbc_SQLAllocEnv
=yes
32614 echo "$as_me: failed program was:" >&5
32615 sed 's/^/| /' conftest.
$ac_ext >&5
32617 ac_cv_lib_odbc_SQLAllocEnv
=no
32619 rm -f conftest.err conftest.
$ac_objext \
32620 conftest
$ac_exeext conftest.
$ac_ext
32621 LIBS
=$ac_check_lib_save_LIBS
32623 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32624 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32625 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32626 ODBC_LINK
=" -lodbc"
32636 if test "x$ODBC_LINK" = "x" ; then
32637 if test "$wxUSE_ODBC" = "sys" ; then
32638 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32639 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32640 { (exit 1); exit 1; }; }
32642 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32643 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32651 if test "$wxUSE_ODBC" = "builtin" ; then
32652 cat >>confdefs.h
<<\_ACEOF
32653 #define wxUSE_BUILTIN_IODBC 1
32659 if test "$wxUSE_ODBC" != "no" ; then
32660 cat >>confdefs.h
<<\_ACEOF
32661 #define wxUSE_ODBC 1
32664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32666 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32670 if test "$wxUSE_DISPLAY" = "yes"; then
32671 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32672 echo "$as_me:$LINENO: checking for Xinerama" >&5
32673 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32676 for ac_dir
in $SEARCH_LIB;
32678 for ac_extension
in a so sl dylib dll.a
; do
32679 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32680 ac_find_libraries
=$ac_dir
32686 if test "$ac_find_libraries" != "" ; then
32688 if test "$ac_find_libraries" = "default location"; then
32691 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32693 if test $result = 0; then
32696 ac_path_to_link
=" -L$ac_find_libraries"
32700 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32701 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32703 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32704 echo "$as_me:$LINENO: result: yes" >&5
32705 echo "${ECHO_T}yes" >&6
32707 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32708 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32711 for ac_dir
in $SEARCH_LIB;
32713 for ac_extension
in a so sl dylib dll.a
; do
32714 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32715 ac_find_libraries
=$ac_dir
32721 if test "$ac_find_libraries" != "" ; then
32722 echo "$as_me:$LINENO: result: yes" >&5
32723 echo "${ECHO_T}yes" >&6
32725 for ac_header
in X
11/extensions
/xf86vmode.h
32727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32728 echo "$as_me:$LINENO: checking for $ac_header" >&5
32729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32731 echo $ECHO_N "(cached) $ECHO_C" >&6
32733 cat >conftest.
$ac_ext <<_ACEOF
32736 cat confdefs.h
>>conftest.
$ac_ext
32737 cat >>conftest.
$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32740 #if HAVE_X11_XLIB_H
32741 #include <X11/Xlib.h>
32745 #include <$ac_header>
32747 rm -f conftest.
$ac_objext
32748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32749 (eval $ac_compile) 2>conftest.er1
32751 grep -v '^ *+' conftest.er1
>conftest.err
32753 cat conftest.err
>&5
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); } &&
32756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; } &&
32762 { ac_try
='test -s conftest.$ac_objext'
32763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32764 (eval $ac_try) 2>&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); }; }; then
32768 eval "$as_ac_Header=yes"
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.
$ac_ext >&5
32773 eval "$as_ac_Header=no"
32775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32780 cat >>confdefs.h
<<_ACEOF
32781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32784 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32791 echo "$as_me:$LINENO: result: no" >&5
32792 echo "${ECHO_T}no" >&6
32796 echo "$as_me:$LINENO: result: no" >&5
32797 echo "${ECHO_T}no" >&6
32798 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32799 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32802 elif test "$wxUSE_MSW" = 1; then
32804 for ac_header
in ddraw.h
32806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32807 echo "$as_me:$LINENO: checking for $ac_header" >&5
32808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32810 echo $ECHO_N "(cached) $ECHO_C" >&6
32812 cat >conftest.
$ac_ext <<_ACEOF
32815 cat confdefs.h
>>conftest.
$ac_ext
32816 cat >>conftest.
$ac_ext <<_ACEOF
32817 /* end confdefs.h. */
32818 #include <windows.h>
32820 #include <$ac_header>
32822 rm -f conftest.
$ac_objext
32823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32824 (eval $ac_compile) 2>conftest.er1
32826 grep -v '^ *+' conftest.er1
>conftest.err
32828 cat conftest.err
>&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); } &&
32831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; } &&
32837 { ac_try
='test -s conftest.$ac_objext'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; }; then
32843 eval "$as_ac_Header=yes"
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.
$ac_ext >&5
32848 eval "$as_ac_Header=no"
32850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32855 cat >>confdefs.h
<<_ACEOF
32856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32868 if test "$wxUSE_OPENGL" = "yes"; then
32869 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32870 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32871 elif test "$wxUSE_MSW" = 1; then
32872 OPENGL_LIBS
="-lopengl32 -lglu32"
32877 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32879 if test -f "$ac_dir/GL/gl.h"; then
32880 ac_find_includes
=$ac_dir
32885 if test "$ac_find_includes" != "" ; then
32886 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32887 echo "${ECHO_T}found in $ac_find_includes" >&6
32889 if test "x$ac_find_includes" = "x/usr/include"; then
32890 ac_path_to_include
=""
32892 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32894 if test $result = 0; then
32895 ac_path_to_include
=""
32897 ac_path_to_include
=" -I$ac_find_includes"
32901 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32904 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32905 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32906 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32907 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32911 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32913 # Is the header compilable?
32914 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32915 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32916 cat >conftest.
$ac_ext <<_ACEOF
32919 cat confdefs.h
>>conftest.
$ac_ext
32920 cat >>conftest.
$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32922 $ac_includes_default
32925 rm -f conftest.
$ac_objext
32926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32927 (eval $ac_compile) 2>conftest.er1
32929 grep -v '^ *+' conftest.er1
>conftest.err
32931 cat conftest.err
>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } &&
32934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } &&
32940 { ac_try
='test -s conftest.$ac_objext'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 ac_header_compiler
=yes
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.
$ac_ext >&5
32951 ac_header_compiler
=no
32953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32955 echo "${ECHO_T}$ac_header_compiler" >&6
32957 # Is the header present?
32958 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32959 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32960 cat >conftest.
$ac_ext <<_ACEOF
32963 cat confdefs.h
>>conftest.
$ac_ext
32964 cat >>conftest.
$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32971 grep -v '^ *+' conftest.er1
>conftest.err
32973 cat conftest.err
>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } >/dev
/null
; then
32976 if test -s conftest.err
; then
32977 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32978 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32985 if test -z "$ac_cpp_err"; then
32986 ac_header_preproc
=yes
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.
$ac_ext >&5
32991 ac_header_preproc
=no
32993 rm -f conftest.err conftest.
$ac_ext
32994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32995 echo "${ECHO_T}$ac_header_preproc" >&6
32997 # So? What about this header?
32998 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33000 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33001 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33002 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33003 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33004 ac_header_preproc
=yes
33007 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33008 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33009 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33010 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33011 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33012 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33013 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33014 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33015 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33016 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33017 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33018 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33021 ## ----------------------------------------- ##
33022 ## Report this to wx-dev@lists.wxwidgets.org ##
33023 ## ----------------------------------------- ##
33026 sed "s/^/$as_me: WARNING: /" >&2
33029 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33030 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33031 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33032 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 ac_cv_header_GL_gl_h
=$ac_header_preproc
33036 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33037 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33040 if test $ac_cv_header_GL_gl_h = yes; then
33044 echo "$as_me:$LINENO: checking for -lGL" >&5
33045 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33048 for ac_dir
in $SEARCH_LIB;
33050 for ac_extension
in a so sl dylib dll.a
; do
33051 if test -f "$ac_dir/libGL.$ac_extension"; then
33052 ac_find_libraries
=$ac_dir
33058 if test "$ac_find_libraries" != "" ; then
33059 echo "$as_me:$LINENO: result: yes" >&5
33060 echo "${ECHO_T}yes" >&6
33063 if test "$ac_find_libraries" = "default location"; then
33066 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33068 if test $result = 0; then
33071 ac_path_to_link
=" -L$ac_find_libraries"
33075 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33076 LDFLAGS_GL
="$ac_path_to_link"
33079 echo "$as_me:$LINENO: checking for -lGLU" >&5
33080 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33083 for ac_dir
in $SEARCH_LIB;
33085 for ac_extension
in a so sl dylib dll.a
; do
33086 if test -f "$ac_dir/libGLU.$ac_extension"; then
33087 ac_find_libraries
=$ac_dir
33093 if test "$ac_find_libraries" != "" ; then
33095 if test "$ac_find_libraries" = "default location"; then
33098 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33100 if test $result = 0; then
33103 ac_path_to_link
=" -L$ac_find_libraries"
33107 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33108 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33109 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33113 OPENGL_LIBS
="-lGL -lGLU"
33114 echo "$as_me:$LINENO: result: yes" >&5
33115 echo "${ECHO_T}yes" >&6
33117 echo "$as_me:$LINENO: result: no" >&5
33118 echo "${ECHO_T}no" >&6
33121 echo "$as_me:$LINENO: result: no" >&5
33122 echo "${ECHO_T}no" >&6
33125 if test "$found_gl" != 1; then
33126 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33127 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33130 for ac_dir
in $SEARCH_LIB;
33132 for ac_extension
in a so sl dylib dll.a
; do
33133 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33134 ac_find_libraries
=$ac_dir
33140 if test "$ac_find_libraries" != "" ; then
33142 if test "$ac_find_libraries" = "default location"; then
33145 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33147 if test $result = 0; then
33150 ac_path_to_link
=" -L$ac_find_libraries"
33154 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33155 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33156 echo "$as_me:$LINENO: result: yes" >&5
33157 echo "${ECHO_T}yes" >&6
33159 echo "$as_me:$LINENO: result: no" >&5
33160 echo "${ECHO_T}no" >&6
33168 if test "x$OPENGL_LIBS" = "x"; then
33169 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33170 echo "$as_me: error: OpenGL libraries not available" >&2;}
33171 { (exit 1); exit 1; }; }
33175 if test "$wxUSE_OPENGL" = "yes"; then
33177 cat >>confdefs.h
<<\_ACEOF
33178 #define wxUSE_OPENGL 1
33181 cat >>confdefs.h
<<\_ACEOF
33182 #define wxUSE_GLCANVAS 1
33185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33190 if test -n "$TOOLKIT" ; then
33191 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33196 if test "$wxUSE_SHARED" = "yes"; then
33200 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33201 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33206 if test "$wxUSE_SHARED" = "yes"; then
33209 found_versioning
=no
33212 if test $found_versioning = no
; then
33213 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33214 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33215 if test "${wx_cv_version_script+set}" = set; then
33216 echo $ECHO_N "(cached) $ECHO_C" >&6
33219 echo "VER_1 { *; };" >conftest.sym
33220 echo "int main() { return 0; }" >conftest.cpp
33223 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33224 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33226 (eval $ac_try) 2>&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); }; } ; then
33230 if test -s conftest.stderr
; then
33231 wx_cv_version_script
=no
33233 wx_cv_version_script
=yes
33236 wx_cv_version_script
=no
33239 if test $wx_cv_version_script = yes
33241 echo "struct B { virtual ~B() { } }; \
33242 struct D : public B { }; \
33243 void F() { D d; }" > conftest.cpp
33246 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33247 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33249 (eval $ac_try) 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); }; } &&
33254 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33255 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33257 (eval $ac_try) 2>&5
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); }; }
33263 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33264 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33266 (eval $ac_try) 2>&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; }
33271 wx_cv_version_script
=yes
33273 wx_cv_version_script
=no
33278 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33279 rm -f conftest1.output conftest2.output conftest3.output
33282 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33283 echo "${ECHO_T}$wx_cv_version_script" >&6
33284 if test $wx_cv_version_script = yes ; then
33285 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33291 *-*-linux* | *-*-gnu* )
33292 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33293 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33297 if test "$GCC" = yes ; then
33298 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33300 saveLdflags
="$LDFLAGS"
33301 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33302 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33303 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33304 cat >conftest.
$ac_ext <<_ACEOF
33307 cat confdefs.h
>>conftest.
$ac_ext
33308 cat >>conftest.
$ac_ext <<_ACEOF
33309 /* end confdefs.h. */
33319 rm -f conftest.
$ac_objext conftest
$ac_exeext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33321 (eval $ac_link) 2>conftest.er1
33323 grep -v '^ *+' conftest.er1
>conftest.err
33325 cat conftest.err
>&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } &&
33328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33330 (eval $ac_try) 2>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); }; } &&
33334 { ac_try
='test -s conftest$ac_exeext'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; }; then
33341 echo "$as_me:$LINENO: result: yes" >&5
33342 echo "${ECHO_T}yes" >&6
33343 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33344 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33347 echo "$as_me: failed program was:" >&5
33348 sed 's/^/| /' conftest.
$ac_ext >&5
33351 echo "$as_me:$LINENO: result: no" >&5
33352 echo "${ECHO_T}no" >&6
33353 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33354 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33355 LDFLAGS
="$saveLdflags -Wl,-R,/"
33356 cat >conftest.
$ac_ext <<_ACEOF
33359 cat confdefs.h
>>conftest.
$ac_ext
33360 cat >>conftest.
$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33371 rm -f conftest.
$ac_objext conftest
$ac_exeext
33372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33373 (eval $ac_link) 2>conftest.er1
33375 grep -v '^ *+' conftest.er1
>conftest.err
33377 cat conftest.err
>&5
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); } &&
33380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33382 (eval $ac_try) 2>&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); }; } &&
33386 { ac_try
='test -s conftest$ac_exeext'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; }; then
33393 echo "$as_me:$LINENO: result: yes" >&5
33394 echo "${ECHO_T}yes" >&6
33395 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33396 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.
$ac_ext >&5
33403 echo "$as_me:$LINENO: result: no" >&5
33404 echo "${ECHO_T}no" >&6
33407 rm -f conftest.err conftest.
$ac_objext \
33408 conftest
$ac_exeext conftest.
$ac_ext
33411 rm -f conftest.err conftest.
$ac_objext \
33412 conftest
$ac_exeext conftest.
$ac_ext
33413 LDFLAGS
="$saveLdflags"
33415 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33416 WXCONFIG_RPATH
="-R\$libdir"
33421 install_name_tool
=`which install_name_tool`
33422 if test "$install_name_tool" -a -x "$install_name_tool"; then
33423 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33424 cat <<EOF >change-install-names
33426 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33427 inst_cmd="install_name_tool "
33428 for i in \${libnames} ; do
33429 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33433 chmod +x change
-install-names
33437 *-*-cygwin* | *-*-mingw32* )
33438 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33442 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33443 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33448 if test $wxUSE_RPATH = "no"; then
33449 SAMPLES_RPATH_FLAG
=''
33450 SAMPLES_RPATH_POSTLINK
=''
33458 config_linkage_component
="-static"
33465 lib_unicode_suffix
=
33467 if test "$wxUSE_UNICODE" = "yes"; then
33468 lib_unicode_suffix
=u
33469 WX_CHARTYPE
="unicode"
33474 WX_DEBUGTYPE
="release"
33476 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33478 WX_DEBUGTYPE
="debug"
33482 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33483 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33486 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33490 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33492 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33494 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33496 if test "$cross_compiling" = "yes"; then
33497 HOST_SUFFIX
="-$host_alias"
33498 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33499 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33502 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33503 if test "${TOOLKIT_DIR}" = "os2"; then
33504 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33506 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33511 if test "$wxUSE_COCOA" = 1; then
33515 ac_cpp
='$CPP $CPPFLAGS'
33516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33522 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33523 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33524 cat >conftest.
$ac_ext <<_ACEOF
33527 cat confdefs.h
>>conftest.
$ac_ext
33528 cat >>conftest.
$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33530 #include <AppKit/NSEvent.h>
33531 #include <CoreFoundation/CoreFoundation.h>
33541 rm -f conftest.
$ac_objext
33542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33543 (eval $ac_compile) 2>conftest.er1
33545 grep -v '^ *+' conftest.er1
>conftest.err
33547 cat conftest.err
>&5
33548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 (exit $ac_status); } &&
33550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33552 (eval $ac_try) 2>&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); }; } &&
33556 { ac_try
='test -s conftest.$ac_objext'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; }; then
33562 echo "$as_me:$LINENO: result: no" >&5
33563 echo "${ECHO_T}no" >&6
33565 echo "$as_me: failed program was:" >&5
33566 sed 's/^/| /' conftest.
$ac_ext >&5
33568 echo "$as_me:$LINENO: result: yes" >&5
33569 echo "${ECHO_T}yes" >&6
33570 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33571 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33572 cat >conftest.
$ac_ext <<_ACEOF
33575 cat confdefs.h
>>conftest.
$ac_ext
33576 cat >>conftest.
$ac_ext <<_ACEOF
33577 /* end confdefs.h. */
33578 #define __Point__ 1
33579 #include <AppKit/NSEvent.h>
33580 #include <CoreFoundation/CoreFoundation.h>
33590 rm -f conftest.
$ac_objext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33592 (eval $ac_compile) 2>conftest.er1
33594 grep -v '^ *+' conftest.er1
>conftest.err
33596 cat conftest.err
>&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; } &&
33605 { ac_try
='test -s conftest.$ac_objext'
33606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33607 (eval $ac_try) 2>&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); }; }; then
33611 echo "$as_me:$LINENO: result: yes" >&5
33612 echo "${ECHO_T}yes" >&6
33613 cat >>confdefs.h
<<\_ACEOF
33614 #define __Point__ 1
33619 echo "$as_me: failed program was:" >&5
33620 sed 's/^/| /' conftest.
$ac_ext >&5
33622 { { echo "$as_me:$LINENO: error: no
33623 See \`config.log' for more details." >&5
33624 echo "$as_me: error: no
33625 See \`config.log' for more details." >&2;}
33626 { (exit 1); exit 1; }; }
33629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33634 ac_cpp
='$CXXCPP $CPPFLAGS'
33635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33641 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33642 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33643 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33645 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33647 # Extract the first word of "Rez", so it can be a program name with args.
33648 set dummy Rez
; ac_word
=$2
33649 echo "$as_me:$LINENO: checking for $ac_word" >&5
33650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33651 if test "${ac_cv_prog_REZ+set}" = set; then
33652 echo $ECHO_N "(cached) $ECHO_C" >&6
33654 if test -n "$REZ"; then
33655 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33658 for as_dir
in $PATH
33661 test -z "$as_dir" && as_dir
=.
33662 for ac_exec_ext
in '' $ac_executable_extensions; do
33663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33664 ac_cv_prog_REZ
="Rez"
33665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33671 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33674 REZ
=$ac_cv_prog_REZ
33675 if test -n "$REZ"; then
33676 echo "$as_me:$LINENO: result: $REZ" >&5
33677 echo "${ECHO_T}$REZ" >&6
33679 echo "$as_me:$LINENO: result: no" >&5
33680 echo "${ECHO_T}no" >&6
33683 # Extract the first word of "DeRez", so it can be a program name with args.
33684 set dummy DeRez
; ac_word
=$2
33685 echo "$as_me:$LINENO: checking for $ac_word" >&5
33686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33687 if test "${ac_cv_prog_DEREZ+set}" = set; then
33688 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 if test -n "$DEREZ"; then
33691 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33694 for as_dir
in $PATH
33697 test -z "$as_dir" && as_dir
=.
33698 for ac_exec_ext
in '' $ac_executable_extensions; do
33699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33700 ac_cv_prog_DEREZ
="DeRez"
33701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33707 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33710 DEREZ
=$ac_cv_prog_DEREZ
33711 if test -n "$DEREZ"; then
33712 echo "$as_me:$LINENO: result: $DEREZ" >&5
33713 echo "${ECHO_T}$DEREZ" >&6
33715 echo "$as_me:$LINENO: result: no" >&5
33716 echo "${ECHO_T}no" >&6
33719 # Extract the first word of "SetFile", so it can be a program name with args.
33720 set dummy SetFile
; ac_word
=$2
33721 echo "$as_me:$LINENO: checking for $ac_word" >&5
33722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33723 if test "${ac_cv_prog_SETFILE+set}" = set; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 if test -n "$SETFILE"; then
33727 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33730 for as_dir
in $PATH
33733 test -z "$as_dir" && as_dir
=.
33734 for ac_exec_ext
in '' $ac_executable_extensions; do
33735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33736 ac_cv_prog_SETFILE
="SetFile"
33737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33743 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33746 SETFILE
=$ac_cv_prog_SETFILE
33747 if test -n "$SETFILE"; then
33748 echo "$as_me:$LINENO: result: $SETFILE" >&5
33749 echo "${ECHO_T}$SETFILE" >&6
33751 echo "$as_me:$LINENO: result: no" >&5
33752 echo "${ECHO_T}no" >&6
33756 MACSETFILE
="\$(SETFILE)"
33758 if test "$wxUSE_MAC" = 1; then
33759 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33761 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33763 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33764 RESCOMP
="echo -n \| $REZ"
33765 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33771 if test "$wxUSE_PM" = 1; then
33773 WXCONFIG_RESFLAGS
="-ep"
33775 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33777 POSTLINK_COMMAND
="@true"
33784 echo "$as_me:$LINENO: checking for mode_t" >&5
33785 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33786 if test "${ac_cv_type_mode_t+set}" = set; then
33787 echo $ECHO_N "(cached) $ECHO_C" >&6
33789 cat >conftest.
$ac_ext <<_ACEOF
33792 cat confdefs.h
>>conftest.
$ac_ext
33793 cat >>conftest.
$ac_ext <<_ACEOF
33794 /* end confdefs.h. */
33795 $ac_includes_default
33801 if (sizeof (mode_t))
33807 rm -f conftest.
$ac_objext
33808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33809 (eval $ac_compile) 2>conftest.er1
33811 grep -v '^ *+' conftest.er1
>conftest.err
33813 cat conftest.err
>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } &&
33816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33818 (eval $ac_try) 2>&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); }; } &&
33822 { ac_try
='test -s conftest.$ac_objext'
33823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33824 (eval $ac_try) 2>&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); }; }; then
33828 ac_cv_type_mode_t
=yes
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.
$ac_ext >&5
33833 ac_cv_type_mode_t
=no
33835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33837 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33838 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33839 if test $ac_cv_type_mode_t = yes; then
33843 cat >>confdefs.h
<<_ACEOF
33849 echo "$as_me:$LINENO: checking for off_t" >&5
33850 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33851 if test "${ac_cv_type_off_t+set}" = set; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 cat >conftest.
$ac_ext <<_ACEOF
33857 cat confdefs.h
>>conftest.
$ac_ext
33858 cat >>conftest.
$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33860 $ac_includes_default
33866 if (sizeof (off_t))
33872 rm -f conftest.
$ac_objext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33874 (eval $ac_compile) 2>conftest.er1
33876 grep -v '^ *+' conftest.er1
>conftest.err
33878 cat conftest.err
>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); } &&
33881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; } &&
33887 { ac_try
='test -s conftest.$ac_objext'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; }; then
33893 ac_cv_type_off_t
=yes
33895 echo "$as_me: failed program was:" >&5
33896 sed 's/^/| /' conftest.
$ac_ext >&5
33898 ac_cv_type_off_t
=no
33900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33902 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33903 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33904 if test $ac_cv_type_off_t = yes; then
33908 cat >>confdefs.h
<<_ACEOF
33914 echo "$as_me:$LINENO: checking for pid_t" >&5
33915 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33916 if test "${ac_cv_type_pid_t+set}" = set; then
33917 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 cat >conftest.
$ac_ext <<_ACEOF
33922 cat confdefs.h
>>conftest.
$ac_ext
33923 cat >>conftest.
$ac_ext <<_ACEOF
33924 /* end confdefs.h. */
33925 $ac_includes_default
33931 if (sizeof (pid_t))
33937 rm -f conftest.
$ac_objext
33938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33939 (eval $ac_compile) 2>conftest.er1
33941 grep -v '^ *+' conftest.er1
>conftest.err
33943 cat conftest.err
>&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } &&
33946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; } &&
33952 { ac_try
='test -s conftest.$ac_objext'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; }; then
33958 ac_cv_type_pid_t
=yes
33960 echo "$as_me: failed program was:" >&5
33961 sed 's/^/| /' conftest.
$ac_ext >&5
33963 ac_cv_type_pid_t
=no
33965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33967 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33968 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33969 if test $ac_cv_type_pid_t = yes; then
33973 cat >>confdefs.h
<<_ACEOF
33979 echo "$as_me:$LINENO: checking for size_t" >&5
33980 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33981 if test "${ac_cv_type_size_t+set}" = set; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33984 cat >conftest.
$ac_ext <<_ACEOF
33987 cat confdefs.h
>>conftest.
$ac_ext
33988 cat >>conftest.
$ac_ext <<_ACEOF
33989 /* end confdefs.h. */
33990 $ac_includes_default
33996 if (sizeof (size_t))
34002 rm -f conftest.
$ac_objext
34003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34004 (eval $ac_compile) 2>conftest.er1
34006 grep -v '^ *+' conftest.er1
>conftest.err
34008 cat conftest.err
>&5
34009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010 (exit $ac_status); } &&
34011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013 (eval $ac_try) 2>&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); }; } &&
34017 { ac_try
='test -s conftest.$ac_objext'
34018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34019 (eval $ac_try) 2>&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); }; }; then
34023 ac_cv_type_size_t
=yes
34025 echo "$as_me: failed program was:" >&5
34026 sed 's/^/| /' conftest.
$ac_ext >&5
34028 ac_cv_type_size_t
=no
34030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34032 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34033 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34034 if test $ac_cv_type_size_t = yes; then
34038 cat >>confdefs.h
<<_ACEOF
34039 #define size_t unsigned
34044 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34045 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34046 if test "${ac_cv_type_uid_t+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34049 cat >conftest.
$ac_ext <<_ACEOF
34052 cat confdefs.h
>>conftest.
$ac_ext
34053 cat >>conftest.
$ac_ext <<_ACEOF
34054 /* end confdefs.h. */
34055 #include <sys/types.h>
34058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34059 $EGREP "uid_t" >/dev
/null
2>&1; then
34060 ac_cv_type_uid_t
=yes
34062 ac_cv_type_uid_t
=no
34067 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34068 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34069 if test $ac_cv_type_uid_t = no
; then
34071 cat >>confdefs.h
<<\_ACEOF
34076 cat >>confdefs.h
<<\_ACEOF
34083 echo "$as_me:$LINENO: checking for ssize_t" >&5
34084 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34085 if test "${ac_cv_type_ssize_t+set}" = set; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 cat >conftest.
$ac_ext <<_ACEOF
34091 cat confdefs.h
>>conftest.
$ac_ext
34092 cat >>conftest.
$ac_ext <<_ACEOF
34093 /* end confdefs.h. */
34094 $ac_includes_default
34100 if (sizeof (ssize_t))
34106 rm -f conftest.
$ac_objext
34107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34108 (eval $ac_compile) 2>conftest.er1
34110 grep -v '^ *+' conftest.er1
>conftest.err
34112 cat conftest.err
>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); } &&
34115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117 (eval $ac_try) 2>&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); }; } &&
34121 { ac_try
='test -s conftest.$ac_objext'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; }; then
34127 ac_cv_type_ssize_t
=yes
34129 echo "$as_me: failed program was:" >&5
34130 sed 's/^/| /' conftest.
$ac_ext >&5
34132 ac_cv_type_ssize_t
=no
34134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34136 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34137 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34138 if test $ac_cv_type_ssize_t = yes; then
34140 cat >>confdefs.h
<<_ACEOF
34141 #define HAVE_SSIZE_T 1
34148 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34149 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34150 if test "${wx_cv_size_t_is_uint+set}" = set; then
34151 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 cat >conftest.
$ac_ext <<_ACEOF
34157 cat confdefs.h
>>conftest.
$ac_ext
34158 cat >>conftest.
$ac_ext <<_ACEOF
34159 /* end confdefs.h. */
34160 #include <stddef.h>
34167 struct Foo { void foo(size_t); void foo(unsigned int); };
34175 rm -f conftest.
$ac_objext
34176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34177 (eval $ac_compile) 2>conftest.er1
34179 grep -v '^ *+' conftest.er1
>conftest.err
34181 cat conftest.err
>&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } &&
34184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34186 (eval $ac_try) 2>&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); }; } &&
34190 { ac_try
='test -s conftest.$ac_objext'
34191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34192 (eval $ac_try) 2>&5
34194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34195 (exit $ac_status); }; }; then
34196 wx_cv_size_t_is_uint
=no
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.
$ac_ext >&5
34201 wx_cv_size_t_is_uint
=yes
34204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34208 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34209 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34211 if test "$wx_cv_size_t_is_uint" = "yes"; then
34212 cat >>confdefs.h
<<\_ACEOF
34213 #define wxSIZE_T_IS_UINT 1
34217 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34218 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34219 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34220 echo $ECHO_N "(cached) $ECHO_C" >&6
34222 cat >conftest.
$ac_ext <<_ACEOF
34225 cat confdefs.h
>>conftest.
$ac_ext
34226 cat >>conftest.
$ac_ext <<_ACEOF
34227 /* end confdefs.h. */
34228 #include <stddef.h>
34235 struct Foo { void foo(size_t); void foo(unsigned long); };
34243 rm -f conftest.
$ac_objext
34244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34245 (eval $ac_compile) 2>conftest.er1
34247 grep -v '^ *+' conftest.er1
>conftest.err
34249 cat conftest.err
>&5
34250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34251 (exit $ac_status); } &&
34252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34254 (eval $ac_try) 2>&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); }; } &&
34258 { ac_try
='test -s conftest.$ac_objext'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; }; then
34264 wx_cv_size_t_is_ulong
=no
34266 echo "$as_me: failed program was:" >&5
34267 sed 's/^/| /' conftest.
$ac_ext >&5
34269 wx_cv_size_t_is_ulong
=yes
34272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34275 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34276 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34278 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34279 cat >>confdefs.h
<<\_ACEOF
34280 #define wxSIZE_T_IS_ULONG 1
34287 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34288 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34289 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34290 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 cat >conftest.
$ac_ext <<_ACEOF
34296 cat confdefs.h
>>conftest.
$ac_ext
34297 cat >>conftest.
$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34312 rm -f conftest.
$ac_objext
34313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34314 (eval $ac_compile) 2>conftest.er1
34316 grep -v '^ *+' conftest.er1
>conftest.err
34318 cat conftest.err
>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } &&
34321 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34323 (eval $ac_try) 2>&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); }; } &&
34327 { ac_try
='test -s conftest.$ac_objext'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; }; then
34334 wx_cv_struct_pw_gecos
=yes
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.
$ac_ext >&5
34341 wx_cv_struct_pw_gecos
=no
34345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34349 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34350 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34352 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34353 cat >>confdefs.h
<<\_ACEOF
34354 #define HAVE_PW_GECOS 1
34360 if test "$wxUSE_WCHAR_T" = "yes"; then
34361 cat >>confdefs.h
<<\_ACEOF
34362 #define wxUSE_WCHAR_T 1
34369 for ac_func
in wcslen
34371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34372 echo "$as_me:$LINENO: checking for $ac_func" >&5
34373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34374 if eval "test \"\${$as_ac_var+set}\" = set"; then
34375 echo $ECHO_N "(cached) $ECHO_C" >&6
34377 cat >conftest.
$ac_ext <<_ACEOF
34380 cat confdefs.h
>>conftest.
$ac_ext
34381 cat >>conftest.
$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34385 #define $ac_func innocuous_$ac_func
34387 /* System header to define __stub macros and hopefully few prototypes,
34388 which can conflict with char $ac_func (); below.
34389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34390 <limits.h> exists even on freestanding compilers. */
34393 # include <limits.h>
34395 # include <assert.h>
34400 /* Override any gcc2 internal prototype to avoid an error. */
34405 /* We use char because int might match the return type of a gcc2
34406 builtin and then its argument prototype would still apply. */
34408 /* The GNU C library defines this for functions which it implements
34409 to always fail with ENOSYS. Some functions are actually named
34410 something starting with __ and the normal name is an alias. */
34411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34414 char (*f) () = $ac_func;
34423 return f != $ac_func;
34428 rm -f conftest.
$ac_objext conftest
$ac_exeext
34429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34430 (eval $ac_link) 2>conftest.er1
34432 grep -v '^ *+' conftest.er1
>conftest.err
34434 cat conftest.err
>&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } &&
34437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439 (eval $ac_try) 2>&5
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; } &&
34443 { ac_try
='test -s conftest$ac_exeext'
34444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445 (eval $ac_try) 2>&5
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; }; then
34449 eval "$as_ac_var=yes"
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.
$ac_ext >&5
34454 eval "$as_ac_var=no"
34456 rm -f conftest.err conftest.
$ac_objext \
34457 conftest
$ac_exeext conftest.
$ac_ext
34459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34461 if test `eval echo '${'$as_ac_var'}'` = yes; then
34462 cat >>confdefs.h
<<_ACEOF
34463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34470 if test "$WCSLEN_FOUND" = 0; then
34471 if test "$TOOLKIT" = "MSW"; then
34472 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34473 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34474 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34475 echo $ECHO_N "(cached) $ECHO_C" >&6
34477 ac_check_lib_save_LIBS
=$LIBS
34478 LIBS
="-lmsvcrt $LIBS"
34479 cat >conftest.
$ac_ext <<_ACEOF
34482 cat confdefs.h
>>conftest.
$ac_ext
34483 cat >>conftest.
$ac_ext <<_ACEOF
34484 /* end confdefs.h. */
34486 /* Override any gcc2 internal prototype to avoid an error. */
34490 /* We use char because int might match the return type of a gcc2
34491 builtin and then its argument prototype would still apply. */
34501 rm -f conftest.
$ac_objext conftest
$ac_exeext
34502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34503 (eval $ac_link) 2>conftest.er1
34505 grep -v '^ *+' conftest.er1
>conftest.err
34507 cat conftest.err
>&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); } &&
34510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34512 (eval $ac_try) 2>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); }; } &&
34516 { ac_try
='test -s conftest$ac_exeext'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; }; then
34522 ac_cv_lib_msvcrt_wcslen
=yes
34524 echo "$as_me: failed program was:" >&5
34525 sed 's/^/| /' conftest.
$ac_ext >&5
34527 ac_cv_lib_msvcrt_wcslen
=no
34529 rm -f conftest.err conftest.
$ac_objext \
34530 conftest
$ac_exeext conftest.
$ac_ext
34531 LIBS
=$ac_check_lib_save_LIBS
34533 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34534 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34535 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34540 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34541 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34542 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34545 ac_check_lib_save_LIBS
=$LIBS
34547 cat >conftest.
$ac_ext <<_ACEOF
34550 cat confdefs.h
>>conftest.
$ac_ext
34551 cat >>conftest.
$ac_ext <<_ACEOF
34552 /* end confdefs.h. */
34554 /* Override any gcc2 internal prototype to avoid an error. */
34558 /* We use char because int might match the return type of a gcc2
34559 builtin and then its argument prototype would still apply. */
34569 rm -f conftest.
$ac_objext conftest
$ac_exeext
34570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34571 (eval $ac_link) 2>conftest.er1
34573 grep -v '^ *+' conftest.er1
>conftest.err
34575 cat conftest.err
>&5
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); } &&
34578 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34580 (eval $ac_try) 2>&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); }; } &&
34584 { ac_try
='test -s conftest$ac_exeext'
34585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34586 (eval $ac_try) 2>&5
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); }; }; then
34590 ac_cv_lib_w_wcslen
=yes
34592 echo "$as_me: failed program was:" >&5
34593 sed 's/^/| /' conftest.
$ac_ext >&5
34595 ac_cv_lib_w_wcslen
=no
34597 rm -f conftest.err conftest.
$ac_objext \
34598 conftest
$ac_exeext conftest.
$ac_ext
34599 LIBS
=$ac_check_lib_save_LIBS
34601 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34602 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34603 if test $ac_cv_lib_w_wcslen = yes; then
34613 if test "$WCSLEN_FOUND" = 1; then
34614 cat >>confdefs.h
<<\_ACEOF
34615 #define HAVE_WCSLEN 1
34620 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34621 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34624 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34625 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34626 if test "${ac_cv_type_mbstate_t+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 cat >conftest.
$ac_ext <<_ACEOF
34632 cat confdefs.h
>>conftest.
$ac_ext
34633 cat >>conftest.
$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34640 if ((mbstate_t *) 0)
34642 if (sizeof (mbstate_t))
34648 rm -f conftest.
$ac_objext
34649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34650 (eval $ac_compile) 2>conftest.er1
34652 grep -v '^ *+' conftest.er1
>conftest.err
34654 cat conftest.err
>&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } &&
34657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34659 (eval $ac_try) 2>&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); }; } &&
34663 { ac_try
='test -s conftest.$ac_objext'
34664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34665 (eval $ac_try) 2>&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); }; }; then
34669 ac_cv_type_mbstate_t
=yes
34671 echo "$as_me: failed program was:" >&5
34672 sed 's/^/| /' conftest.
$ac_ext >&5
34674 ac_cv_type_mbstate_t
=no
34676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34678 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34679 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34680 if test $ac_cv_type_mbstate_t = yes; then
34682 cat >>confdefs.h
<<_ACEOF
34683 #define HAVE_MBSTATE_T 1
34687 for ac_func
in wcsrtombs
34689 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34690 echo "$as_me:$LINENO: checking for $ac_func" >&5
34691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34692 if eval "test \"\${$as_ac_var+set}\" = set"; then
34693 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 cat >conftest.
$ac_ext <<_ACEOF
34698 cat confdefs.h
>>conftest.
$ac_ext
34699 cat >>conftest.
$ac_ext <<_ACEOF
34700 /* end confdefs.h. */
34701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34703 #define $ac_func innocuous_$ac_func
34705 /* System header to define __stub macros and hopefully few prototypes,
34706 which can conflict with char $ac_func (); below.
34707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34708 <limits.h> exists even on freestanding compilers. */
34711 # include <limits.h>
34713 # include <assert.h>
34718 /* Override any gcc2 internal prototype to avoid an error. */
34723 /* We use char because int might match the return type of a gcc2
34724 builtin and then its argument prototype would still apply. */
34726 /* The GNU C library defines this for functions which it implements
34727 to always fail with ENOSYS. Some functions are actually named
34728 something starting with __ and the normal name is an alias. */
34729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34732 char (*f) () = $ac_func;
34741 return f != $ac_func;
34746 rm -f conftest.
$ac_objext conftest
$ac_exeext
34747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34748 (eval $ac_link) 2>conftest.er1
34750 grep -v '^ *+' conftest.er1
>conftest.err
34752 cat conftest.err
>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); } &&
34755 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; } &&
34761 { ac_try
='test -s conftest$ac_exeext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 eval "$as_ac_var=yes"
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34772 eval "$as_ac_var=no"
34774 rm -f conftest.err conftest.
$ac_objext \
34775 conftest
$ac_exeext conftest.
$ac_ext
34777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34779 if test `eval echo '${'$as_ac_var'}'` = yes; then
34780 cat >>confdefs.h
<<_ACEOF
34781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34790 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34791 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34796 for ac_func
in snprintf vsnprintf
34798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34799 echo "$as_me:$LINENO: checking for $ac_func" >&5
34800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34801 if eval "test \"\${$as_ac_var+set}\" = set"; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34804 cat >conftest.
$ac_ext <<_ACEOF
34807 cat confdefs.h
>>conftest.
$ac_ext
34808 cat >>conftest.
$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34812 #define $ac_func innocuous_$ac_func
34814 /* System header to define __stub macros and hopefully few prototypes,
34815 which can conflict with char $ac_func (); below.
34816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34817 <limits.h> exists even on freestanding compilers. */
34820 # include <limits.h>
34822 # include <assert.h>
34827 /* Override any gcc2 internal prototype to avoid an error. */
34832 /* We use char because int might match the return type of a gcc2
34833 builtin and then its argument prototype would still apply. */
34835 /* The GNU C library defines this for functions which it implements
34836 to always fail with ENOSYS. Some functions are actually named
34837 something starting with __ and the normal name is an alias. */
34838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34841 char (*f) () = $ac_func;
34850 return f != $ac_func;
34855 rm -f conftest.
$ac_objext conftest
$ac_exeext
34856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34857 (eval $ac_link) 2>conftest.er1
34859 grep -v '^ *+' conftest.er1
>conftest.err
34861 cat conftest.err
>&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } &&
34864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try
='test -s conftest$ac_exeext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 eval "$as_ac_var=yes"
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.
$ac_ext >&5
34881 eval "$as_ac_var=no"
34883 rm -f conftest.err conftest.
$ac_objext \
34884 conftest
$ac_exeext conftest.
$ac_ext
34886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889 cat >>confdefs.h
<<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34897 if test "$ac_cv_func_vsnprintf" = "yes"; then
34898 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34899 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34900 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 cat >conftest.
$ac_ext <<_ACEOF
34907 cat confdefs.h
>>conftest.
$ac_ext
34908 cat >>conftest.
$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34912 #include <stdarg.h>
34914 #if __MSL__ >= 0x6000
34916 using namespace std;
34926 vsnprintf(buf, 10u, "%s", ap);
34932 rm -f conftest.
$ac_objext
34933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34934 (eval $ac_compile) 2>conftest.er1
34936 grep -v '^ *+' conftest.er1
>conftest.err
34938 cat conftest.err
>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } &&
34941 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34943 (eval $ac_try) 2>&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); }; } &&
34947 { ac_try
='test -s conftest.$ac_objext'
34948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34949 (eval $ac_try) 2>&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); }; }; then
34953 wx_cv_func_vsnprintf_decl
=yes
34955 echo "$as_me: failed program was:" >&5
34956 sed 's/^/| /' conftest.
$ac_ext >&5
34958 wx_cv_func_vsnprintf_decl
=no
34961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34965 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34966 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34968 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34969 cat >>confdefs.h
<<\_ACEOF
34970 #define HAVE_VSNPRINTF_DECL 1
34974 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34975 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34976 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34977 echo $ECHO_N "(cached) $ECHO_C" >&6
34980 cat >conftest.
$ac_ext <<_ACEOF
34983 cat confdefs.h
>>conftest.
$ac_ext
34984 cat >>conftest.
$ac_ext <<_ACEOF
34985 /* end confdefs.h. */
34988 #include <stdarg.h>
34990 #if __MSL__ >= 0x6000
34992 using namespace std;
35002 const char *fmt = "%s";
35003 vsnprintf(buf, 10u, fmt, ap);
35009 rm -f conftest.
$ac_objext
35010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35011 (eval $ac_compile) 2>conftest.er1
35013 grep -v '^ *+' conftest.er1
>conftest.err
35015 cat conftest.err
>&5
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); } &&
35018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35020 (eval $ac_try) 2>&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); }; } &&
35024 { ac_try
='test -s conftest.$ac_objext'
35025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35026 (eval $ac_try) 2>&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); }; }; then
35030 wx_cv_func_broken_vsnprintf_decl
=no
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.
$ac_ext >&5
35035 wx_cv_func_broken_vsnprintf_decl
=yes
35038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35042 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35043 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35045 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35046 cat >>confdefs.h
<<\_ACEOF
35047 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35054 if test "$ac_cv_func_snprintf" = "yes"; then
35055 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35056 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35057 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35061 cat >conftest.
$ac_ext <<_ACEOF
35064 cat confdefs.h
>>conftest.
$ac_ext
35065 cat >>conftest.
$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35069 #include <stdarg.h>
35071 #if __MSL__ >= 0x6000
35073 using namespace std;
35082 snprintf(buf, 10u, "%s", "wx");
35088 rm -f conftest.
$ac_objext
35089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35090 (eval $ac_compile) 2>conftest.er1
35092 grep -v '^ *+' conftest.er1
>conftest.err
35094 cat conftest.err
>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } &&
35097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099 (eval $ac_try) 2>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); }; } &&
35103 { ac_try
='test -s conftest.$ac_objext'
35104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35105 (eval $ac_try) 2>&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; }; then
35109 wx_cv_func_snprintf_decl
=yes
35111 echo "$as_me: failed program was:" >&5
35112 sed 's/^/| /' conftest.
$ac_ext >&5
35114 wx_cv_func_snprintf_decl
=no
35117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35121 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35122 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35124 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35125 cat >>confdefs.h
<<\_ACEOF
35126 #define HAVE_SNPRINTF_DECL 1
35130 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35131 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35132 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35136 cat >conftest.
$ac_ext <<_ACEOF
35139 cat confdefs.h
>>conftest.
$ac_ext
35140 cat >>conftest.
$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35144 #include <stdarg.h>
35146 #if __MSL__ >= 0x6000
35148 using namespace std;
35157 const char *fmt = "%s";
35158 snprintf(buf, 10u, fmt, "wx");
35164 rm -f conftest.
$ac_objext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35166 (eval $ac_compile) 2>conftest.er1
35168 grep -v '^ *+' conftest.er1
>conftest.err
35170 cat conftest.err
>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; } &&
35179 { ac_try
='test -s conftest.$ac_objext'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; }; then
35185 wx_cv_func_broken_snprintf_decl
=no
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.
$ac_ext >&5
35190 wx_cv_func_broken_snprintf_decl
=yes
35193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35197 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35198 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35200 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35201 cat >>confdefs.h
<<\_ACEOF
35202 #define HAVE_BROKEN_SNPRINTF_DECL 1
35208 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35210 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35211 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35212 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35213 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 if test "$cross_compiling" = yes; then
35218 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35219 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35220 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35221 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35222 wx_cv_func_snprintf_pos_params
=no
35226 cat >conftest.
$ac_ext <<_ACEOF
35229 cat confdefs.h
>>conftest.
$ac_ext
35230 cat >>conftest.
$ac_ext <<_ACEOF
35231 /* end confdefs.h. */
35238 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35239 if (strcmp ("2 3 1", buffer) == 0)
35245 rm -f conftest
$ac_exeext
35246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35247 (eval $ac_link) 2>&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252 (eval $ac_try) 2>&5
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; }; then
35256 wx_cv_func_snprintf_pos_params
=no
35258 echo "$as_me: program exited with status $ac_status" >&5
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.
$ac_ext >&5
35262 ( exit $ac_status )
35263 wx_cv_func_snprintf_pos_params
=yes
35265 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35270 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35271 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35273 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35274 cat >>confdefs.h
<<\_ACEOF
35275 #define HAVE_UNIX98_PRINTF 1
35282 if test "$wxUSE_UNICODE" = yes; then
35285 for ac_func
in swprintf
35287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35288 echo "$as_me:$LINENO: checking for $ac_func" >&5
35289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35290 if eval "test \"\${$as_ac_var+set}\" = set"; then
35291 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 cat >conftest.
$ac_ext <<_ACEOF
35296 cat confdefs.h
>>conftest.
$ac_ext
35297 cat >>conftest.
$ac_ext <<_ACEOF
35298 /* end confdefs.h. */
35299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35301 #define $ac_func innocuous_$ac_func
35303 /* System header to define __stub macros and hopefully few prototypes,
35304 which can conflict with char $ac_func (); below.
35305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35306 <limits.h> exists even on freestanding compilers. */
35309 # include <limits.h>
35311 # include <assert.h>
35316 /* Override any gcc2 internal prototype to avoid an error. */
35321 /* We use char because int might match the return type of a gcc2
35322 builtin and then its argument prototype would still apply. */
35324 /* The GNU C library defines this for functions which it implements
35325 to always fail with ENOSYS. Some functions are actually named
35326 something starting with __ and the normal name is an alias. */
35327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35330 char (*f) () = $ac_func;
35339 return f != $ac_func;
35344 rm -f conftest.
$ac_objext conftest
$ac_exeext
35345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35346 (eval $ac_link) 2>conftest.er1
35348 grep -v '^ *+' conftest.er1
>conftest.err
35350 cat conftest.err
>&5
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); } &&
35353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35355 (eval $ac_try) 2>&5
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); }; } &&
35359 { ac_try
='test -s conftest$ac_exeext'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; }; then
35365 eval "$as_ac_var=yes"
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.
$ac_ext >&5
35370 eval "$as_ac_var=no"
35372 rm -f conftest.err conftest.
$ac_objext \
35373 conftest
$ac_exeext conftest.
$ac_ext
35375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35377 if test `eval echo '${'$as_ac_var'}'` = yes; then
35378 cat >>confdefs.h
<<_ACEOF
35379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35386 if test "$ac_cv_func_swprintf" = "yes"; then
35387 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35388 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35389 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35390 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 cat >conftest.
$ac_ext <<_ACEOF
35396 cat confdefs.h
>>conftest.
$ac_ext
35397 cat >>conftest.
$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35401 #include <stdarg.h>
35409 const wchar_t *fmt = L"test";
35410 swprintf(buf, 10u, fmt);
35416 rm -f conftest.
$ac_objext
35417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35418 (eval $ac_compile) 2>conftest.er1
35420 grep -v '^ *+' conftest.er1
>conftest.err
35422 cat conftest.err
>&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } &&
35425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35427 (eval $ac_try) 2>&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); }; } &&
35431 { ac_try
='test -s conftest.$ac_objext'
35432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35433 (eval $ac_try) 2>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; }; then
35437 wx_cv_func_broken_swprintf_decl
=no
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.
$ac_ext >&5
35442 wx_cv_func_broken_swprintf_decl
=yes
35445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35449 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35450 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35452 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35453 cat >>confdefs.h
<<\_ACEOF
35454 #define HAVE_BROKEN_SWPRINTF_DECL 1
35466 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35469 echo "$as_me:$LINENO: checking for $ac_func" >&5
35470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35471 if eval "test \"\${$as_ac_var+set}\" = set"; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 cat >conftest.
$ac_ext <<_ACEOF
35477 cat confdefs.h
>>conftest.
$ac_ext
35478 cat >>conftest.
$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35482 #define $ac_func innocuous_$ac_func
35484 /* System header to define __stub macros and hopefully few prototypes,
35485 which can conflict with char $ac_func (); below.
35486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35487 <limits.h> exists even on freestanding compilers. */
35490 # include <limits.h>
35492 # include <assert.h>
35497 /* Override any gcc2 internal prototype to avoid an error. */
35502 /* We use char because int might match the return type of a gcc2
35503 builtin and then its argument prototype would still apply. */
35505 /* The GNU C library defines this for functions which it implements
35506 to always fail with ENOSYS. Some functions are actually named
35507 something starting with __ and the normal name is an alias. */
35508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35511 char (*f) () = $ac_func;
35520 return f != $ac_func;
35525 rm -f conftest.
$ac_objext conftest
$ac_exeext
35526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35527 (eval $ac_link) 2>conftest.er1
35529 grep -v '^ *+' conftest.er1
>conftest.err
35531 cat conftest.err
>&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } &&
35534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35536 (eval $ac_try) 2>&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); }; } &&
35540 { ac_try
='test -s conftest$ac_exeext'
35541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35542 (eval $ac_try) 2>&5
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); }; }; then
35546 eval "$as_ac_var=yes"
35548 echo "$as_me: failed program was:" >&5
35549 sed 's/^/| /' conftest.
$ac_ext >&5
35551 eval "$as_ac_var=no"
35553 rm -f conftest.err conftest.
$ac_objext \
35554 conftest
$ac_exeext conftest.
$ac_ext
35556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35558 if test `eval echo '${'$as_ac_var'}'` = yes; then
35559 cat >>confdefs.h
<<_ACEOF
35560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35567 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35568 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35569 cat >conftest.
$ac_ext <<_ACEOF
35572 cat confdefs.h
>>conftest.
$ac_ext
35573 cat >>conftest.
$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35584 rm -f conftest.
$ac_objext
35585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35586 (eval $ac_compile) 2>conftest.er1
35588 grep -v '^ *+' conftest.er1
>conftest.err
35590 cat conftest.err
>&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } &&
35593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; } &&
35599 { ac_try
='test -s conftest.$ac_objext'
35600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35601 (eval $ac_try) 2>&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); }; }; then
35605 echo "$as_me:$LINENO: result: yes" >&5
35606 echo "${ECHO_T}yes" >&6
35607 cat >>confdefs.h
<<\_ACEOF
35608 #define HAVE__VSNWPRINTF 1
35612 echo "$as_me: failed program was:" >&5
35613 sed 's/^/| /' conftest.
$ac_ext >&5
35615 echo "$as_me:$LINENO: result: no" >&5
35616 echo "${ECHO_T}no" >&6
35618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35621 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35623 for ac_func
in fnmatch
35625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35626 echo "$as_me:$LINENO: checking for $ac_func" >&5
35627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35628 if eval "test \"\${$as_ac_var+set}\" = set"; then
35629 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 cat >conftest.
$ac_ext <<_ACEOF
35634 cat confdefs.h
>>conftest.
$ac_ext
35635 cat >>conftest.
$ac_ext <<_ACEOF
35636 /* end confdefs.h. */
35637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35639 #define $ac_func innocuous_$ac_func
35641 /* System header to define __stub macros and hopefully few prototypes,
35642 which can conflict with char $ac_func (); below.
35643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35644 <limits.h> exists even on freestanding compilers. */
35647 # include <limits.h>
35649 # include <assert.h>
35654 /* Override any gcc2 internal prototype to avoid an error. */
35659 /* We use char because int might match the return type of a gcc2
35660 builtin and then its argument prototype would still apply. */
35662 /* The GNU C library defines this for functions which it implements
35663 to always fail with ENOSYS. Some functions are actually named
35664 something starting with __ and the normal name is an alias. */
35665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35668 char (*f) () = $ac_func;
35677 return f != $ac_func;
35682 rm -f conftest.
$ac_objext conftest
$ac_exeext
35683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35684 (eval $ac_link) 2>conftest.er1
35686 grep -v '^ *+' conftest.er1
>conftest.err
35688 cat conftest.err
>&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); } &&
35691 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35693 (eval $ac_try) 2>&5
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; } &&
35697 { ac_try
='test -s conftest$ac_exeext'
35698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35699 (eval $ac_try) 2>&5
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); }; }; then
35703 eval "$as_ac_var=yes"
35705 echo "$as_me: failed program was:" >&5
35706 sed 's/^/| /' conftest.
$ac_ext >&5
35708 eval "$as_ac_var=no"
35710 rm -f conftest.err conftest.
$ac_objext \
35711 conftest
$ac_exeext conftest.
$ac_ext
35713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35715 if test `eval echo '${'$as_ac_var'}'` = yes; then
35716 cat >>confdefs.h
<<_ACEOF
35717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35725 if test "$wxUSE_FILE" = "yes"; then
35727 for ac_func
in fsync
35729 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35730 echo "$as_me:$LINENO: checking for $ac_func" >&5
35731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35732 if eval "test \"\${$as_ac_var+set}\" = set"; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 cat >conftest.
$ac_ext <<_ACEOF
35738 cat confdefs.h
>>conftest.
$ac_ext
35739 cat >>conftest.
$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35743 #define $ac_func innocuous_$ac_func
35745 /* System header to define __stub macros and hopefully few prototypes,
35746 which can conflict with char $ac_func (); below.
35747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35748 <limits.h> exists even on freestanding compilers. */
35751 # include <limits.h>
35753 # include <assert.h>
35758 /* Override any gcc2 internal prototype to avoid an error. */
35763 /* We use char because int might match the return type of a gcc2
35764 builtin and then its argument prototype would still apply. */
35766 /* The GNU C library defines this for functions which it implements
35767 to always fail with ENOSYS. Some functions are actually named
35768 something starting with __ and the normal name is an alias. */
35769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35772 char (*f) () = $ac_func;
35781 return f != $ac_func;
35786 rm -f conftest.
$ac_objext conftest
$ac_exeext
35787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35788 (eval $ac_link) 2>conftest.er1
35790 grep -v '^ *+' conftest.er1
>conftest.err
35792 cat conftest.err
>&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } &&
35795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; } &&
35801 { ac_try
='test -s conftest$ac_exeext'
35802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35803 (eval $ac_try) 2>&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); }; }; then
35807 eval "$as_ac_var=yes"
35809 echo "$as_me: failed program was:" >&5
35810 sed 's/^/| /' conftest.
$ac_ext >&5
35812 eval "$as_ac_var=no"
35814 rm -f conftest.err conftest.
$ac_objext \
35815 conftest
$ac_exeext conftest.
$ac_ext
35817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35819 if test `eval echo '${'$as_ac_var'}'` = yes; then
35820 cat >>confdefs.h
<<_ACEOF
35821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35830 for ac_func
in round
35832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35833 echo "$as_me:$LINENO: checking for $ac_func" >&5
35834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35835 if eval "test \"\${$as_ac_var+set}\" = set"; then
35836 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 cat >conftest.
$ac_ext <<_ACEOF
35841 cat confdefs.h
>>conftest.
$ac_ext
35842 cat >>conftest.
$ac_ext <<_ACEOF
35843 /* end confdefs.h. */
35844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35846 #define $ac_func innocuous_$ac_func
35848 /* System header to define __stub macros and hopefully few prototypes,
35849 which can conflict with char $ac_func (); below.
35850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35851 <limits.h> exists even on freestanding compilers. */
35854 # include <limits.h>
35856 # include <assert.h>
35861 /* Override any gcc2 internal prototype to avoid an error. */
35866 /* We use char because int might match the return type of a gcc2
35867 builtin and then its argument prototype would still apply. */
35869 /* The GNU C library defines this for functions which it implements
35870 to always fail with ENOSYS. Some functions are actually named
35871 something starting with __ and the normal name is an alias. */
35872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35875 char (*f) () = $ac_func;
35884 return f != $ac_func;
35889 rm -f conftest.
$ac_objext conftest
$ac_exeext
35890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35891 (eval $ac_link) 2>conftest.er1
35893 grep -v '^ *+' conftest.er1
>conftest.err
35895 cat conftest.err
>&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); } &&
35898 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; } &&
35904 { ac_try
='test -s conftest$ac_exeext'
35905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35906 (eval $ac_try) 2>&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; }; then
35910 eval "$as_ac_var=yes"
35912 echo "$as_me: failed program was:" >&5
35913 sed 's/^/| /' conftest.
$ac_ext >&5
35915 eval "$as_ac_var=no"
35917 rm -f conftest.err conftest.
$ac_objext \
35918 conftest
$ac_exeext conftest.
$ac_ext
35920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35922 if test `eval echo '${'$as_ac_var'}'` = yes; then
35923 cat >>confdefs.h
<<_ACEOF
35924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35930 if test "$ac_cv_func_round" = yes; then
35931 echo "$as_me:$LINENO: checking whether round is declared" >&5
35932 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35933 if test "${ac_cv_have_decl_round+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 cat >conftest.
$ac_ext <<_ACEOF
35939 cat confdefs.h
>>conftest.
$ac_ext
35940 cat >>conftest.
$ac_ext <<_ACEOF
35941 /* end confdefs.h. */
35948 char *p = (char *) round;
35955 rm -f conftest.
$ac_objext
35956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35957 (eval $ac_compile) 2>conftest.er1
35959 grep -v '^ *+' conftest.er1
>conftest.err
35961 cat conftest.err
>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } &&
35964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; } &&
35970 { ac_try
='test -s conftest.$ac_objext'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; }; then
35976 ac_cv_have_decl_round
=yes
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.
$ac_ext >&5
35981 ac_cv_have_decl_round
=no
35983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35985 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35986 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35987 if test $ac_cv_have_decl_round = yes; then
35989 cat >>confdefs.h
<<_ACEOF
35990 #define HAVE_DECL_ROUND 1
35995 cat >>confdefs.h
<<_ACEOF
35996 #define HAVE_DECL_ROUND 0
36006 if test "$TOOLKIT" != "MSW"; then
36012 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36013 if test "${with_libiconv_prefix+set}" = set; then
36014 withval
="$with_libiconv_prefix"
36016 for dir
in `echo "$withval" | tr : ' '`; do
36017 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36018 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36023 echo "$as_me:$LINENO: checking for iconv" >&5
36024 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36025 if test "${am_cv_func_iconv+set}" = set; then
36026 echo $ECHO_N "(cached) $ECHO_C" >&6
36029 am_cv_func_iconv
="no, consider installing GNU libiconv"
36031 cat >conftest.
$ac_ext <<_ACEOF
36034 cat confdefs.h
>>conftest.
$ac_ext
36035 cat >>conftest.
$ac_ext <<_ACEOF
36036 /* end confdefs.h. */
36037 #include <stdlib.h>
36042 iconv_t cd = iconv_open("","");
36043 iconv(cd,NULL,NULL,NULL,NULL);
36049 rm -f conftest.
$ac_objext conftest
$ac_exeext
36050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36051 (eval $ac_link) 2>conftest.er1
36053 grep -v '^ *+' conftest.er1
>conftest.err
36055 cat conftest.err
>&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } &&
36058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36060 (eval $ac_try) 2>&5
36062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 (exit $ac_status); }; } &&
36064 { ac_try
='test -s conftest$ac_exeext'
36065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36066 (eval $ac_try) 2>&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); }; }; then
36070 am_cv_func_iconv
=yes
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.
$ac_ext >&5
36076 rm -f conftest.err conftest.
$ac_objext \
36077 conftest
$ac_exeext conftest.
$ac_ext
36078 if test "$am_cv_func_iconv" != yes; then
36079 am_save_LIBS
="$LIBS"
36080 LIBS
="$LIBS -liconv"
36081 cat >conftest.
$ac_ext <<_ACEOF
36084 cat confdefs.h
>>conftest.
$ac_ext
36085 cat >>conftest.
$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 #include <stdlib.h>
36092 iconv_t cd = iconv_open("","");
36093 iconv(cd,NULL,NULL,NULL,NULL);
36099 rm -f conftest.
$ac_objext conftest
$ac_exeext
36100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36101 (eval $ac_link) 2>conftest.er1
36103 grep -v '^ *+' conftest.er1
>conftest.err
36105 cat conftest.err
>&5
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); } &&
36108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36110 (eval $ac_try) 2>&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); }; } &&
36114 { ac_try
='test -s conftest$ac_exeext'
36115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116 (eval $ac_try) 2>&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); }; }; then
36120 am_cv_lib_iconv
=yes
36121 am_cv_func_iconv
=yes
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.
$ac_ext >&5
36127 rm -f conftest.err conftest.
$ac_objext \
36128 conftest
$ac_exeext conftest.
$ac_ext
36129 LIBS
="$am_save_LIBS"
36133 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36134 echo "${ECHO_T}$am_cv_func_iconv" >&6
36135 if test "$am_cv_func_iconv" = yes; then
36137 cat >>confdefs.h
<<\_ACEOF
36138 #define HAVE_ICONV 1
36141 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36142 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36143 if test "${wx_cv_func_iconv_const+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36146 cat >conftest.
$ac_ext <<_ACEOF
36149 cat confdefs.h
>>conftest.
$ac_ext
36150 cat >>conftest.
$ac_ext <<_ACEOF
36151 /* end confdefs.h. */
36153 #include <stdlib.h>
36159 #if defined(__STDC__) || defined(__cplusplus)
36160 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36173 rm -f conftest.
$ac_objext
36174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36175 (eval $ac_compile) 2>conftest.er1
36177 grep -v '^ *+' conftest.er1
>conftest.err
36179 cat conftest.err
>&5
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); } &&
36182 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; } &&
36188 { ac_try
='test -s conftest.$ac_objext'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; }; then
36194 wx_cv_func_iconv_const
="no"
36196 echo "$as_me: failed program was:" >&5
36197 sed 's/^/| /' conftest.
$ac_ext >&5
36199 wx_cv_func_iconv_const
="yes"
36202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36205 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36206 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36209 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36210 iconv_const
="const"
36214 cat >>confdefs.h
<<_ACEOF
36215 #define ICONV_CONST $iconv_const
36220 if test "$am_cv_lib_iconv" = yes; then
36225 LIBS
="$LIBICONV $LIBS"
36227 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36229 for ac_func
in sigaction
36231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36232 echo "$as_me:$LINENO: checking for $ac_func" >&5
36233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36234 if eval "test \"\${$as_ac_var+set}\" = set"; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36237 cat >conftest.
$ac_ext <<_ACEOF
36240 cat confdefs.h
>>conftest.
$ac_ext
36241 cat >>conftest.
$ac_ext <<_ACEOF
36242 /* end confdefs.h. */
36243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36245 #define $ac_func innocuous_$ac_func
36247 /* System header to define __stub macros and hopefully few prototypes,
36248 which can conflict with char $ac_func (); below.
36249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36250 <limits.h> exists even on freestanding compilers. */
36253 # include <limits.h>
36255 # include <assert.h>
36260 /* Override any gcc2 internal prototype to avoid an error. */
36265 /* We use char because int might match the return type of a gcc2
36266 builtin and then its argument prototype would still apply. */
36268 /* The GNU C library defines this for functions which it implements
36269 to always fail with ENOSYS. Some functions are actually named
36270 something starting with __ and the normal name is an alias. */
36271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36274 char (*f) () = $ac_func;
36283 return f != $ac_func;
36288 rm -f conftest.
$ac_objext conftest
$ac_exeext
36289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36290 (eval $ac_link) 2>conftest.er1
36292 grep -v '^ *+' conftest.er1
>conftest.err
36294 cat conftest.err
>&5
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); } &&
36297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36299 (eval $ac_try) 2>&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); }; } &&
36303 { ac_try
='test -s conftest$ac_exeext'
36304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36305 (eval $ac_try) 2>&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); }; }; then
36309 eval "$as_ac_var=yes"
36311 echo "$as_me: failed program was:" >&5
36312 sed 's/^/| /' conftest.
$ac_ext >&5
36314 eval "$as_ac_var=no"
36316 rm -f conftest.err conftest.
$ac_objext \
36317 conftest
$ac_exeext conftest.
$ac_ext
36319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36321 if test `eval echo '${'$as_ac_var'}'` = yes; then
36322 cat >>confdefs.h
<<_ACEOF
36323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36330 if test "$ac_cv_func_sigaction" = "no"; then
36331 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36332 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36333 wxUSE_ON_FATAL_EXCEPTION
=no
36336 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36337 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36338 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36339 if test "${wx_cv_type_sa_handler+set}" = set; then
36340 echo $ECHO_N "(cached) $ECHO_C" >&6
36343 cat >conftest.
$ac_ext <<_ACEOF
36346 cat confdefs.h
>>conftest.
$ac_ext
36347 cat >>conftest.
$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 #include <signal.h>
36354 extern void testSigHandler(int);
36356 struct sigaction sa;
36357 sa.sa_handler = testSigHandler;
36363 rm -f conftest.
$ac_objext
36364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36365 (eval $ac_compile) 2>conftest.er1
36367 grep -v '^ *+' conftest.er1
>conftest.err
36369 cat conftest.err
>&5
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); } &&
36372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374 (eval $ac_try) 2>&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; } &&
36378 { ac_try
='test -s conftest.$ac_objext'
36379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380 (eval $ac_try) 2>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); }; }; then
36385 wx_cv_type_sa_handler
=int
36388 echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.
$ac_ext >&5
36392 wx_cv_type_sa_handler
=void
36395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36398 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36399 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36401 cat >>confdefs.h
<<_ACEOF
36402 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36408 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36409 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36410 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36411 if test "${wx_cv_func_backtrace+set}" = set; then
36412 echo $ECHO_N "(cached) $ECHO_C" >&6
36415 cat >conftest.
$ac_ext <<_ACEOF
36418 cat confdefs.h
>>conftest.
$ac_ext
36419 cat >>conftest.
$ac_ext <<_ACEOF
36420 /* end confdefs.h. */
36421 #include <execinfo.h>
36429 backtrace(trace, 1);
36430 messages = backtrace_symbols(trace, 1);
36436 rm -f conftest.
$ac_objext
36437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36438 (eval $ac_compile) 2>conftest.er1
36440 grep -v '^ *+' conftest.er1
>conftest.err
36442 cat conftest.err
>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } &&
36445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36447 (eval $ac_try) 2>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); }; } &&
36451 { ac_try
='test -s conftest.$ac_objext'
36452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453 (eval $ac_try) 2>&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); }; }; then
36457 wx_cv_func_backtrace
=yes
36459 echo "$as_me: failed program was:" >&5
36460 sed 's/^/| /' conftest.
$ac_ext >&5
36462 wx_cv_func_backtrace
=no
36465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36469 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36470 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36473 if test "$wx_cv_func_backtrace" = "no"; then
36474 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36475 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36476 wxUSE_STACKWALKER
=no
36478 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36479 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36480 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36484 cat >conftest.
$ac_ext <<_ACEOF
36487 cat confdefs.h
>>conftest.
$ac_ext
36488 cat >>conftest.
$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 #include <cxxabi.h>
36496 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36502 rm -f conftest.
$ac_objext conftest
$ac_exeext
36503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36504 (eval $ac_link) 2>conftest.er1
36506 grep -v '^ *+' conftest.er1
>conftest.err
36508 cat conftest.err
>&5
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); } &&
36511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36513 (eval $ac_try) 2>&5
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); }; } &&
36517 { ac_try
='test -s conftest$ac_exeext'
36518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36519 (eval $ac_try) 2>&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); }; }; then
36523 wx_cv_func_cxa_demangle
=yes
36525 echo "$as_me: failed program was:" >&5
36526 sed 's/^/| /' conftest.
$ac_ext >&5
36528 wx_cv_func_cxa_demangle
=no
36531 rm -f conftest.err conftest.
$ac_objext \
36532 conftest
$ac_exeext conftest.
$ac_ext
36536 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36537 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36539 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36540 cat >>confdefs.h
<<\_ACEOF
36541 #define HAVE_CXA_DEMANGLE 1
36548 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36549 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36550 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36551 wxUSE_STACKWALKER
=no
36557 for ac_func
in mkstemp mktemp
36559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36560 echo "$as_me:$LINENO: checking for $ac_func" >&5
36561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36562 if eval "test \"\${$as_ac_var+set}\" = set"; then
36563 echo $ECHO_N "(cached) $ECHO_C" >&6
36565 cat >conftest.
$ac_ext <<_ACEOF
36568 cat confdefs.h
>>conftest.
$ac_ext
36569 cat >>conftest.
$ac_ext <<_ACEOF
36570 /* end confdefs.h. */
36571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36573 #define $ac_func innocuous_$ac_func
36575 /* System header to define __stub macros and hopefully few prototypes,
36576 which can conflict with char $ac_func (); below.
36577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36578 <limits.h> exists even on freestanding compilers. */
36581 # include <limits.h>
36583 # include <assert.h>
36588 /* Override any gcc2 internal prototype to avoid an error. */
36593 /* We use char because int might match the return type of a gcc2
36594 builtin and then its argument prototype would still apply. */
36596 /* The GNU C library defines this for functions which it implements
36597 to always fail with ENOSYS. Some functions are actually named
36598 something starting with __ and the normal name is an alias. */
36599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36602 char (*f) () = $ac_func;
36611 return f != $ac_func;
36616 rm -f conftest.
$ac_objext conftest
$ac_exeext
36617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36618 (eval $ac_link) 2>conftest.er1
36620 grep -v '^ *+' conftest.er1
>conftest.err
36622 cat conftest.err
>&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } &&
36625 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36627 (eval $ac_try) 2>&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); }; } &&
36631 { ac_try
='test -s conftest$ac_exeext'
36632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36633 (eval $ac_try) 2>&5
36635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636 (exit $ac_status); }; }; then
36637 eval "$as_ac_var=yes"
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.
$ac_ext >&5
36642 eval "$as_ac_var=no"
36644 rm -f conftest.err conftest.
$ac_objext \
36645 conftest
$ac_exeext conftest.
$ac_ext
36647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36649 if test `eval echo '${'$as_ac_var'}'` = yes; then
36650 cat >>confdefs.h
<<_ACEOF
36651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36658 echo "$as_me:$LINENO: checking for statfs" >&5
36659 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36660 if test "${wx_cv_func_statfs+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 cat >conftest.
$ac_ext <<_ACEOF
36666 cat confdefs.h
>>conftest.
$ac_ext
36667 cat >>conftest.
$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36670 #if defined(__BSD__)
36671 #include <sys/param.h>
36672 #include <sys/mount.h>
36674 #include <sys/vfs.h>
36692 rm -f conftest.
$ac_objext
36693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36694 (eval $ac_compile) 2>conftest.er1
36696 grep -v '^ *+' conftest.er1
>conftest.err
36698 cat conftest.err
>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } &&
36701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try
='test -s conftest.$ac_objext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 wx_cv_func_statfs
=yes
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.
$ac_ext >&5
36718 wx_cv_func_statfs
=no
36721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36724 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36725 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36727 if test "$wx_cv_func_statfs" = "yes"; then
36728 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36729 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36730 if test "${wx_cv_func_statfs_decl+set}" = set; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 cat >conftest.
$ac_ext <<_ACEOF
36736 cat confdefs.h
>>conftest.
$ac_ext
36737 cat >>conftest.
$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36740 #if defined(__BSD__)
36741 #include <sys/param.h>
36742 #include <sys/mount.h>
36744 #include <sys/vfs.h>
36758 rm -f conftest.
$ac_objext
36759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36760 (eval $ac_compile) 2>conftest.er1
36762 grep -v '^ *+' conftest.er1
>conftest.err
36764 cat conftest.err
>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); } &&
36767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; } &&
36773 { ac_try
='test -s conftest.$ac_objext'
36774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36775 (eval $ac_try) 2>&5
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); }; }; then
36779 wx_cv_func_statfs_decl
=yes
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.
$ac_ext >&5
36784 wx_cv_func_statfs_decl
=no
36787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36790 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36791 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36793 if test "$wx_cv_func_statfs_decl" = "yes"; then
36794 cat >>confdefs.h
<<\_ACEOF
36795 #define HAVE_STATFS_DECL 1
36800 wx_cv_type_statvfs_t
="struct statfs"
36801 cat >>confdefs.h
<<\_ACEOF
36802 #define HAVE_STATFS 1
36806 echo "$as_me:$LINENO: checking for statvfs" >&5
36807 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36808 if test "${wx_cv_func_statvfs+set}" = set; then
36809 echo $ECHO_N "(cached) $ECHO_C" >&6
36811 cat >conftest.
$ac_ext <<_ACEOF
36814 cat confdefs.h
>>conftest.
$ac_ext
36815 cat >>conftest.
$ac_ext <<_ACEOF
36816 /* end confdefs.h. */
36818 #include <stddef.h>
36819 #include <sys/statvfs.h>
36825 statvfs("/", NULL);
36831 rm -f conftest.
$ac_objext
36832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36833 (eval $ac_compile) 2>conftest.er1
36835 grep -v '^ *+' conftest.er1
>conftest.err
36837 cat conftest.err
>&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } &&
36840 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36842 (eval $ac_try) 2>&5
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); }; } &&
36846 { ac_try
='test -s conftest.$ac_objext'
36847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36848 (eval $ac_try) 2>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); }; }; then
36852 wx_cv_func_statvfs
=yes
36854 echo "$as_me: failed program was:" >&5
36855 sed 's/^/| /' conftest.
$ac_ext >&5
36857 wx_cv_func_statvfs
=no
36860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36863 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36864 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36866 if test "$wx_cv_func_statvfs" = "yes"; then
36867 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36868 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36869 if test "${wx_cv_type_statvfs_t+set}" = set; then
36870 echo $ECHO_N "(cached) $ECHO_C" >&6
36872 cat >conftest.
$ac_ext <<_ACEOF
36875 cat confdefs.h
>>conftest.
$ac_ext
36876 cat >>conftest.
$ac_ext <<_ACEOF
36877 /* end confdefs.h. */
36879 #include <sys/statvfs.h>
36896 rm -f conftest.
$ac_objext
36897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36898 (eval $ac_compile) 2>conftest.er1
36900 grep -v '^ *+' conftest.er1
>conftest.err
36902 cat conftest.err
>&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); } &&
36905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36907 (eval $ac_try) 2>&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); }; } &&
36911 { ac_try
='test -s conftest.$ac_objext'
36912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36913 (eval $ac_try) 2>&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); }; }; then
36917 wx_cv_type_statvfs_t
=statvfs_t
36919 echo "$as_me: failed program was:" >&5
36920 sed 's/^/| /' conftest.
$ac_ext >&5
36923 cat >conftest.
$ac_ext <<_ACEOF
36926 cat confdefs.h
>>conftest.
$ac_ext
36927 cat >>conftest.
$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36930 #include <sys/statvfs.h>
36947 rm -f conftest.
$ac_objext
36948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36949 (eval $ac_compile) 2>conftest.er1
36951 grep -v '^ *+' conftest.er1
>conftest.err
36953 cat conftest.err
>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } &&
36956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; } &&
36962 { ac_try
='test -s conftest.$ac_objext'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; }; then
36968 wx_cv_type_statvfs_t
="struct statvfs"
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.
$ac_ext >&5
36973 wx_cv_type_statvfs_t
="unknown"
36976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36983 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36984 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36986 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36987 cat >>confdefs.h
<<\_ACEOF
36988 #define HAVE_STATVFS 1
36993 wx_cv_type_statvfs_t
="unknown"
36997 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36998 cat >>confdefs.h
<<_ACEOF
36999 #define WX_STATFS_T $wx_cv_type_statvfs_t
37003 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37004 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37007 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37010 for ac_func
in fcntl flock
37012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37013 echo "$as_me:$LINENO: checking for $ac_func" >&5
37014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37015 if eval "test \"\${$as_ac_var+set}\" = set"; then
37016 echo $ECHO_N "(cached) $ECHO_C" >&6
37018 cat >conftest.
$ac_ext <<_ACEOF
37021 cat confdefs.h
>>conftest.
$ac_ext
37022 cat >>conftest.
$ac_ext <<_ACEOF
37023 /* end confdefs.h. */
37024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37026 #define $ac_func innocuous_$ac_func
37028 /* System header to define __stub macros and hopefully few prototypes,
37029 which can conflict with char $ac_func (); below.
37030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37031 <limits.h> exists even on freestanding compilers. */
37034 # include <limits.h>
37036 # include <assert.h>
37041 /* Override any gcc2 internal prototype to avoid an error. */
37046 /* We use char because int might match the return type of a gcc2
37047 builtin and then its argument prototype would still apply. */
37049 /* The GNU C library defines this for functions which it implements
37050 to always fail with ENOSYS. Some functions are actually named
37051 something starting with __ and the normal name is an alias. */
37052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37055 char (*f) () = $ac_func;
37064 return f != $ac_func;
37069 rm -f conftest.
$ac_objext conftest
$ac_exeext
37070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37071 (eval $ac_link) 2>conftest.er1
37073 grep -v '^ *+' conftest.er1
>conftest.err
37075 cat conftest.err
>&5
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); } &&
37078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080 (eval $ac_try) 2>&5
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); }; } &&
37084 { ac_try
='test -s conftest$ac_exeext'
37085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37086 (eval $ac_try) 2>&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); }; }; then
37090 eval "$as_ac_var=yes"
37092 echo "$as_me: failed program was:" >&5
37093 sed 's/^/| /' conftest.
$ac_ext >&5
37095 eval "$as_ac_var=no"
37097 rm -f conftest.err conftest.
$ac_objext \
37098 conftest
$ac_exeext conftest.
$ac_ext
37100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37102 if test `eval echo '${'$as_ac_var'}'` = yes; then
37103 cat >>confdefs.h
<<_ACEOF
37104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37111 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37112 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37113 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37114 wxUSE_SNGLINST_CHECKER
=no
37119 for ac_func
in timegm
37121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37122 echo "$as_me:$LINENO: checking for $ac_func" >&5
37123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37124 if eval "test \"\${$as_ac_var+set}\" = set"; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 cat >conftest.
$ac_ext <<_ACEOF
37130 cat confdefs.h
>>conftest.
$ac_ext
37131 cat >>conftest.
$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37135 #define $ac_func innocuous_$ac_func
37137 /* System header to define __stub macros and hopefully few prototypes,
37138 which can conflict with char $ac_func (); below.
37139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37140 <limits.h> exists even on freestanding compilers. */
37143 # include <limits.h>
37145 # include <assert.h>
37150 /* Override any gcc2 internal prototype to avoid an error. */
37155 /* We use char because int might match the return type of a gcc2
37156 builtin and then its argument prototype would still apply. */
37158 /* The GNU C library defines this for functions which it implements
37159 to always fail with ENOSYS. Some functions are actually named
37160 something starting with __ and the normal name is an alias. */
37161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37164 char (*f) () = $ac_func;
37173 return f != $ac_func;
37178 rm -f conftest.
$ac_objext conftest
$ac_exeext
37179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37180 (eval $ac_link) 2>conftest.er1
37182 grep -v '^ *+' conftest.er1
>conftest.err
37184 cat conftest.err
>&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); } &&
37187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37189 (eval $ac_try) 2>&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); }; } &&
37193 { ac_try
='test -s conftest$ac_exeext'
37194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37195 (eval $ac_try) 2>&5
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); }; }; then
37199 eval "$as_ac_var=yes"
37201 echo "$as_me: failed program was:" >&5
37202 sed 's/^/| /' conftest.
$ac_ext >&5
37204 eval "$as_ac_var=no"
37206 rm -f conftest.err conftest.
$ac_objext \
37207 conftest
$ac_exeext conftest.
$ac_ext
37209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37211 if test `eval echo '${'$as_ac_var'}'` = yes; then
37212 cat >>confdefs.h
<<_ACEOF
37213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37222 for ac_func
in putenv setenv
37224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37225 echo "$as_me:$LINENO: checking for $ac_func" >&5
37226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37227 if eval "test \"\${$as_ac_var+set}\" = set"; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 cat >conftest.
$ac_ext <<_ACEOF
37233 cat confdefs.h
>>conftest.
$ac_ext
37234 cat >>conftest.
$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37238 #define $ac_func innocuous_$ac_func
37240 /* System header to define __stub macros and hopefully few prototypes,
37241 which can conflict with char $ac_func (); below.
37242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37243 <limits.h> exists even on freestanding compilers. */
37246 # include <limits.h>
37248 # include <assert.h>
37253 /* Override any gcc2 internal prototype to avoid an error. */
37258 /* We use char because int might match the return type of a gcc2
37259 builtin and then its argument prototype would still apply. */
37261 /* The GNU C library defines this for functions which it implements
37262 to always fail with ENOSYS. Some functions are actually named
37263 something starting with __ and the normal name is an alias. */
37264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37267 char (*f) () = $ac_func;
37276 return f != $ac_func;
37281 rm -f conftest.
$ac_objext conftest
$ac_exeext
37282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37283 (eval $ac_link) 2>conftest.er1
37285 grep -v '^ *+' conftest.er1
>conftest.err
37287 cat conftest.err
>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); } &&
37290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try
='test -s conftest$ac_exeext'
37297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37298 (eval $ac_try) 2>&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); }; }; then
37302 eval "$as_ac_var=yes"
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.
$ac_ext >&5
37307 eval "$as_ac_var=no"
37309 rm -f conftest.err conftest.
$ac_objext \
37310 conftest
$ac_exeext conftest.
$ac_ext
37312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37314 if test `eval echo '${'$as_ac_var'}'` = yes; then
37315 cat >>confdefs.h
<<_ACEOF
37316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37323 HAVE_SOME_SLEEP_FUNC
=0
37324 if test "$USE_BEOS" = 1; then
37325 cat >>confdefs.h
<<\_ACEOF
37326 #define HAVE_SLEEP 1
37329 HAVE_SOME_SLEEP_FUNC
=1
37332 if test "$USE_DARWIN" = 1; then
37333 cat >>confdefs.h
<<\_ACEOF
37334 #define HAVE_USLEEP 1
37337 HAVE_SOME_SLEEP_FUNC
=1
37340 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37343 for ac_func
in nanosleep
37345 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37346 echo "$as_me:$LINENO: checking for $ac_func" >&5
37347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37348 if eval "test \"\${$as_ac_var+set}\" = set"; then
37349 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 cat >conftest.
$ac_ext <<_ACEOF
37354 cat confdefs.h
>>conftest.
$ac_ext
37355 cat >>conftest.
$ac_ext <<_ACEOF
37356 /* end confdefs.h. */
37357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37359 #define $ac_func innocuous_$ac_func
37361 /* System header to define __stub macros and hopefully few prototypes,
37362 which can conflict with char $ac_func (); below.
37363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37364 <limits.h> exists even on freestanding compilers. */
37367 # include <limits.h>
37369 # include <assert.h>
37374 /* Override any gcc2 internal prototype to avoid an error. */
37379 /* We use char because int might match the return type of a gcc2
37380 builtin and then its argument prototype would still apply. */
37382 /* The GNU C library defines this for functions which it implements
37383 to always fail with ENOSYS. Some functions are actually named
37384 something starting with __ and the normal name is an alias. */
37385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37388 char (*f) () = $ac_func;
37397 return f != $ac_func;
37402 rm -f conftest.
$ac_objext conftest
$ac_exeext
37403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37404 (eval $ac_link) 2>conftest.er1
37406 grep -v '^ *+' conftest.er1
>conftest.err
37408 cat conftest.err
>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); } &&
37411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37413 (eval $ac_try) 2>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); }; } &&
37417 { ac_try
='test -s conftest$ac_exeext'
37418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37419 (eval $ac_try) 2>&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); }; }; then
37423 eval "$as_ac_var=yes"
37425 echo "$as_me: failed program was:" >&5
37426 sed 's/^/| /' conftest.
$ac_ext >&5
37428 eval "$as_ac_var=no"
37430 rm -f conftest.err conftest.
$ac_objext \
37431 conftest
$ac_exeext conftest.
$ac_ext
37433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37435 if test `eval echo '${'$as_ac_var'}'` = yes; then
37436 cat >>confdefs.h
<<_ACEOF
37437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37439 cat >>confdefs.h
<<\_ACEOF
37440 #define HAVE_NANOSLEEP 1
37445 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37446 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37447 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37448 echo $ECHO_N "(cached) $ECHO_C" >&6
37450 ac_check_lib_save_LIBS
=$LIBS
37451 LIBS
="-lposix4 $LIBS"
37452 cat >conftest.
$ac_ext <<_ACEOF
37455 cat confdefs.h
>>conftest.
$ac_ext
37456 cat >>conftest.
$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37459 /* Override any gcc2 internal prototype to avoid an error. */
37463 /* We use char because int might match the return type of a gcc2
37464 builtin and then its argument prototype would still apply. */
37474 rm -f conftest.
$ac_objext conftest
$ac_exeext
37475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37476 (eval $ac_link) 2>conftest.er1
37478 grep -v '^ *+' conftest.er1
>conftest.err
37480 cat conftest.err
>&5
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); } &&
37483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37485 (eval $ac_try) 2>&5
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); }; } &&
37489 { ac_try
='test -s conftest$ac_exeext'
37490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37491 (eval $ac_try) 2>&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); }; }; then
37495 ac_cv_lib_posix4_nanosleep
=yes
37497 echo "$as_me: failed program was:" >&5
37498 sed 's/^/| /' conftest.
$ac_ext >&5
37500 ac_cv_lib_posix4_nanosleep
=no
37502 rm -f conftest.err conftest.
$ac_objext \
37503 conftest
$ac_exeext conftest.
$ac_ext
37504 LIBS
=$ac_check_lib_save_LIBS
37506 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37507 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37508 if test $ac_cv_lib_posix4_nanosleep = yes; then
37510 cat >>confdefs.h
<<\_ACEOF
37511 #define HAVE_NANOSLEEP 1
37514 POSIX4_LINK
=" -lposix4"
37519 for ac_func
in usleep
37521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37522 echo "$as_me:$LINENO: checking for $ac_func" >&5
37523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37524 if eval "test \"\${$as_ac_var+set}\" = set"; then
37525 echo $ECHO_N "(cached) $ECHO_C" >&6
37527 cat >conftest.
$ac_ext <<_ACEOF
37530 cat confdefs.h
>>conftest.
$ac_ext
37531 cat >>conftest.
$ac_ext <<_ACEOF
37532 /* end confdefs.h. */
37533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37535 #define $ac_func innocuous_$ac_func
37537 /* System header to define __stub macros and hopefully few prototypes,
37538 which can conflict with char $ac_func (); below.
37539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37540 <limits.h> exists even on freestanding compilers. */
37543 # include <limits.h>
37545 # include <assert.h>
37550 /* Override any gcc2 internal prototype to avoid an error. */
37555 /* We use char because int might match the return type of a gcc2
37556 builtin and then its argument prototype would still apply. */
37558 /* The GNU C library defines this for functions which it implements
37559 to always fail with ENOSYS. Some functions are actually named
37560 something starting with __ and the normal name is an alias. */
37561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37564 char (*f) () = $ac_func;
37573 return f != $ac_func;
37578 rm -f conftest.
$ac_objext conftest
$ac_exeext
37579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37580 (eval $ac_link) 2>conftest.er1
37582 grep -v '^ *+' conftest.er1
>conftest.err
37584 cat conftest.err
>&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); } &&
37587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37589 (eval $ac_try) 2>&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); }; } &&
37593 { ac_try
='test -s conftest$ac_exeext'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; }; then
37599 eval "$as_ac_var=yes"
37601 echo "$as_me: failed program was:" >&5
37602 sed 's/^/| /' conftest.
$ac_ext >&5
37604 eval "$as_ac_var=no"
37606 rm -f conftest.err conftest.
$ac_objext \
37607 conftest
$ac_exeext conftest.
$ac_ext
37609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37611 if test `eval echo '${'$as_ac_var'}'` = yes; then
37612 cat >>confdefs.h
<<_ACEOF
37613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37615 cat >>confdefs.h
<<\_ACEOF
37616 #define HAVE_USLEEP 1
37620 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37621 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37639 for ac_func
in uname gethostname
37641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37642 echo "$as_me:$LINENO: checking for $ac_func" >&5
37643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37644 if eval "test \"\${$as_ac_var+set}\" = set"; then
37645 echo $ECHO_N "(cached) $ECHO_C" >&6
37647 cat >conftest.
$ac_ext <<_ACEOF
37650 cat confdefs.h
>>conftest.
$ac_ext
37651 cat >>conftest.
$ac_ext <<_ACEOF
37652 /* end confdefs.h. */
37653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37655 #define $ac_func innocuous_$ac_func
37657 /* System header to define __stub macros and hopefully few prototypes,
37658 which can conflict with char $ac_func (); below.
37659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37660 <limits.h> exists even on freestanding compilers. */
37663 # include <limits.h>
37665 # include <assert.h>
37670 /* Override any gcc2 internal prototype to avoid an error. */
37675 /* We use char because int might match the return type of a gcc2
37676 builtin and then its argument prototype would still apply. */
37678 /* The GNU C library defines this for functions which it implements
37679 to always fail with ENOSYS. Some functions are actually named
37680 something starting with __ and the normal name is an alias. */
37681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37684 char (*f) () = $ac_func;
37693 return f != $ac_func;
37698 rm -f conftest.
$ac_objext conftest
$ac_exeext
37699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37700 (eval $ac_link) 2>conftest.er1
37702 grep -v '^ *+' conftest.er1
>conftest.err
37704 cat conftest.err
>&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); } &&
37707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37709 (eval $ac_try) 2>&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); }; } &&
37713 { ac_try
='test -s conftest$ac_exeext'
37714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37715 (eval $ac_try) 2>&5
37717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37718 (exit $ac_status); }; }; then
37719 eval "$as_ac_var=yes"
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.
$ac_ext >&5
37724 eval "$as_ac_var=no"
37726 rm -f conftest.err conftest.
$ac_objext \
37727 conftest
$ac_exeext conftest.
$ac_ext
37729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37731 if test `eval echo '${'$as_ac_var'}'` = yes; then
37732 cat >>confdefs.h
<<_ACEOF
37733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37741 for wx_func
in strtok_r
37743 echo "$as_me:$LINENO: checking for $wx_func" >&5
37744 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37745 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37749 cat >conftest.
$ac_ext <<_ACEOF
37753 cat confdefs.h
>>conftest.
$ac_ext
37754 cat >>conftest.
$ac_ext <<_ACEOF
37755 /* end confdefs.h. */
37758 $ac_includes_default
37774 rm -f conftest.
$ac_objext conftest
$ac_exeext
37775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37776 (eval $ac_link) 2>conftest.er1
37778 grep -v '^ *+' conftest.er1
>conftest.err
37780 cat conftest.err
>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } &&
37783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; } &&
37789 { ac_try
='test -s conftest$ac_exeext'
37790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791 (eval $ac_try) 2>&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); }; }; then
37795 eval wx_cv_func_
$wx_func=yes
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.
$ac_ext >&5
37800 eval wx_cv_func_
$wx_func=no
37802 rm -f conftest.err conftest.
$ac_objext \
37803 conftest
$ac_exeext conftest.
$ac_ext
37806 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37807 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37809 if eval test \
$wx_cv_func_$wx_func = yes
37811 cat >>confdefs.h
<<_ACEOF
37812 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37825 for ac_func
in inet_addr
37827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37828 echo "$as_me:$LINENO: checking for $ac_func" >&5
37829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37830 if eval "test \"\${$as_ac_var+set}\" = set"; then
37831 echo $ECHO_N "(cached) $ECHO_C" >&6
37833 cat >conftest.
$ac_ext <<_ACEOF
37836 cat confdefs.h
>>conftest.
$ac_ext
37837 cat >>conftest.
$ac_ext <<_ACEOF
37838 /* end confdefs.h. */
37839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37841 #define $ac_func innocuous_$ac_func
37843 /* System header to define __stub macros and hopefully few prototypes,
37844 which can conflict with char $ac_func (); below.
37845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37846 <limits.h> exists even on freestanding compilers. */
37849 # include <limits.h>
37851 # include <assert.h>
37856 /* Override any gcc2 internal prototype to avoid an error. */
37861 /* We use char because int might match the return type of a gcc2
37862 builtin and then its argument prototype would still apply. */
37864 /* The GNU C library defines this for functions which it implements
37865 to always fail with ENOSYS. Some functions are actually named
37866 something starting with __ and the normal name is an alias. */
37867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37870 char (*f) () = $ac_func;
37879 return f != $ac_func;
37884 rm -f conftest.
$ac_objext conftest
$ac_exeext
37885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37886 (eval $ac_link) 2>conftest.er1
37888 grep -v '^ *+' conftest.er1
>conftest.err
37890 cat conftest.err
>&5
37891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892 (exit $ac_status); } &&
37893 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37895 (eval $ac_try) 2>&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); }; } &&
37899 { ac_try
='test -s conftest$ac_exeext'
37900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37901 (eval $ac_try) 2>&5
37903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904 (exit $ac_status); }; }; then
37905 eval "$as_ac_var=yes"
37907 echo "$as_me: failed program was:" >&5
37908 sed 's/^/| /' conftest.
$ac_ext >&5
37910 eval "$as_ac_var=no"
37912 rm -f conftest.err conftest.
$ac_objext \
37913 conftest
$ac_exeext conftest.
$ac_ext
37915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37917 if test `eval echo '${'$as_ac_var'}'` = yes; then
37918 cat >>confdefs.h
<<_ACEOF
37919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37921 cat >>confdefs.h
<<\_ACEOF
37922 #define HAVE_INET_ADDR 1
37927 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37928 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37929 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 ac_check_lib_save_LIBS
=$LIBS
37934 cat >conftest.
$ac_ext <<_ACEOF
37937 cat confdefs.h
>>conftest.
$ac_ext
37938 cat >>conftest.
$ac_ext <<_ACEOF
37939 /* end confdefs.h. */
37941 /* Override any gcc2 internal prototype to avoid an error. */
37945 /* We use char because int might match the return type of a gcc2
37946 builtin and then its argument prototype would still apply. */
37956 rm -f conftest.
$ac_objext conftest
$ac_exeext
37957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37958 (eval $ac_link) 2>conftest.er1
37960 grep -v '^ *+' conftest.er1
>conftest.err
37962 cat conftest.err
>&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } &&
37965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967 (eval $ac_try) 2>&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); }; } &&
37971 { ac_try
='test -s conftest$ac_exeext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 ac_cv_lib_nsl_inet_addr
=yes
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.
$ac_ext >&5
37982 ac_cv_lib_nsl_inet_addr
=no
37984 rm -f conftest.err conftest.
$ac_objext \
37985 conftest
$ac_exeext conftest.
$ac_ext
37986 LIBS
=$ac_check_lib_save_LIBS
37988 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37989 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37990 if test $ac_cv_lib_nsl_inet_addr = yes; then
37994 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37995 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37996 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 ac_check_lib_save_LIBS
=$LIBS
38000 LIBS
="-lresolv $LIBS"
38001 cat >conftest.
$ac_ext <<_ACEOF
38004 cat confdefs.h
>>conftest.
$ac_ext
38005 cat >>conftest.
$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38008 /* Override any gcc2 internal prototype to avoid an error. */
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38023 rm -f conftest.
$ac_objext conftest
$ac_exeext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38025 (eval $ac_link) 2>conftest.er1
38027 grep -v '^ *+' conftest.er1
>conftest.err
38029 cat conftest.err
>&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try
='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 ac_cv_lib_resolv_inet_addr
=yes
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.
$ac_ext >&5
38049 ac_cv_lib_resolv_inet_addr
=no
38051 rm -f conftest.err conftest.
$ac_objext \
38052 conftest
$ac_exeext conftest.
$ac_ext
38053 LIBS
=$ac_check_lib_save_LIBS
38055 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38056 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38057 if test $ac_cv_lib_resolv_inet_addr = yes; then
38061 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38062 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38063 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38064 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 ac_check_lib_save_LIBS
=$LIBS
38067 LIBS
="-lsocket $LIBS"
38068 cat >conftest.
$ac_ext <<_ACEOF
38071 cat confdefs.h
>>conftest.
$ac_ext
38072 cat >>conftest.
$ac_ext <<_ACEOF
38073 /* end confdefs.h. */
38075 /* Override any gcc2 internal prototype to avoid an error. */
38079 /* We use char because int might match the return type of a gcc2
38080 builtin and then its argument prototype would still apply. */
38090 rm -f conftest.
$ac_objext conftest
$ac_exeext
38091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38092 (eval $ac_link) 2>conftest.er1
38094 grep -v '^ *+' conftest.er1
>conftest.err
38096 cat conftest.err
>&5
38097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38098 (exit $ac_status); } &&
38099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38101 (eval $ac_try) 2>&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); }; } &&
38105 { ac_try
='test -s conftest$ac_exeext'
38106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38107 (eval $ac_try) 2>&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); }; }; then
38111 ac_cv_lib_socket_inet_addr
=yes
38113 echo "$as_me: failed program was:" >&5
38114 sed 's/^/| /' conftest.
$ac_ext >&5
38116 ac_cv_lib_socket_inet_addr
=no
38118 rm -f conftest.err conftest.
$ac_objext \
38119 conftest
$ac_exeext conftest.
$ac_ext
38120 LIBS
=$ac_check_lib_save_LIBS
38122 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38123 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38124 if test $ac_cv_lib_socket_inet_addr = yes; then
38144 for ac_func
in inet_aton
38146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38147 echo "$as_me:$LINENO: checking for $ac_func" >&5
38148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38149 if eval "test \"\${$as_ac_var+set}\" = set"; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 cat >conftest.
$ac_ext <<_ACEOF
38155 cat confdefs.h
>>conftest.
$ac_ext
38156 cat >>conftest.
$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38160 #define $ac_func innocuous_$ac_func
38162 /* System header to define __stub macros and hopefully few prototypes,
38163 which can conflict with char $ac_func (); below.
38164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38165 <limits.h> exists even on freestanding compilers. */
38168 # include <limits.h>
38170 # include <assert.h>
38175 /* Override any gcc2 internal prototype to avoid an error. */
38180 /* We use char because int might match the return type of a gcc2
38181 builtin and then its argument prototype would still apply. */
38183 /* The GNU C library defines this for functions which it implements
38184 to always fail with ENOSYS. Some functions are actually named
38185 something starting with __ and the normal name is an alias. */
38186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38189 char (*f) () = $ac_func;
38198 return f != $ac_func;
38203 rm -f conftest.
$ac_objext conftest
$ac_exeext
38204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38205 (eval $ac_link) 2>conftest.er1
38207 grep -v '^ *+' conftest.er1
>conftest.err
38209 cat conftest.err
>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } &&
38212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38214 (eval $ac_try) 2>&5
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); }; } &&
38218 { ac_try
='test -s conftest$ac_exeext'
38219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38220 (eval $ac_try) 2>&5
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); }; }; then
38224 eval "$as_ac_var=yes"
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.
$ac_ext >&5
38229 eval "$as_ac_var=no"
38231 rm -f conftest.err conftest.
$ac_objext \
38232 conftest
$ac_exeext conftest.
$ac_ext
38234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38236 if test `eval echo '${'$as_ac_var'}'` = yes; then
38237 cat >>confdefs.h
<<_ACEOF
38238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38240 cat >>confdefs.h
<<\_ACEOF
38241 #define HAVE_INET_ATON 1
38246 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38247 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38248 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38249 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 ac_check_lib_save_LIBS
=$LIBS
38253 LIBS
="-l$INET_LINK $LIBS"
38254 cat >conftest.
$ac_ext <<_ACEOF
38257 cat confdefs.h
>>conftest.
$ac_ext
38258 cat >>conftest.
$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38261 /* Override any gcc2 internal prototype to avoid an error. */
38265 /* We use char because int might match the return type of a gcc2
38266 builtin and then its argument prototype would still apply. */
38276 rm -f conftest.
$ac_objext conftest
$ac_exeext
38277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38278 (eval $ac_link) 2>conftest.er1
38280 grep -v '^ *+' conftest.er1
>conftest.err
38282 cat conftest.err
>&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } &&
38285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287 (eval $ac_try) 2>&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); }; } &&
38291 { ac_try
='test -s conftest$ac_exeext'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; }; then
38297 eval "$as_ac_Lib=yes"
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.
$ac_ext >&5
38302 eval "$as_ac_Lib=no"
38304 rm -f conftest.err conftest.
$ac_objext \
38305 conftest
$ac_exeext conftest.
$ac_ext
38306 LIBS
=$ac_check_lib_save_LIBS
38308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38309 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38310 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38311 cat >>confdefs.h
<<\_ACEOF
38312 #define HAVE_INET_ATON 1
38322 if test "x$INET_LINK" != "x"; then
38323 cat >>confdefs.h
<<\_ACEOF
38324 #define HAVE_INET_ADDR 1
38327 INET_LINK
=" -l$INET_LINK"
38335 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38336 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38337 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 ac_check_lib_save_LIBS
=$LIBS
38342 cat >conftest.
$ac_ext <<_ACEOF
38345 cat confdefs.h
>>conftest.
$ac_ext
38346 cat >>conftest.
$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38349 /* Override any gcc2 internal prototype to avoid an error. */
38353 /* We use char because int might match the return type of a gcc2
38354 builtin and then its argument prototype would still apply. */
38364 rm -f conftest.
$ac_objext conftest
$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38368 grep -v '^ *+' conftest.er1
>conftest.err
38370 cat conftest.err
>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38375 (eval $ac_try) 2>&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); }; } &&
38379 { ac_try
='test -s conftest$ac_exeext'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; }; then
38385 ac_cv_lib_esd_esd_close
=yes
38387 echo "$as_me: failed program was:" >&5
38388 sed 's/^/| /' conftest.
$ac_ext >&5
38390 ac_cv_lib_esd_esd_close
=no
38392 rm -f conftest.err conftest.
$ac_objext \
38393 conftest
$ac_exeext conftest.
$ac_ext
38394 LIBS
=$ac_check_lib_save_LIBS
38396 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38397 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38398 if test $ac_cv_lib_esd_esd_close = yes; then
38401 for ac_header
in esd.h
38403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38405 echo "$as_me:$LINENO: checking for $ac_header" >&5
38406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38413 # Is the header compilable?
38414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38416 cat >conftest.
$ac_ext <<_ACEOF
38419 cat confdefs.h
>>conftest.
$ac_ext
38420 cat >>conftest.
$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38422 $ac_includes_default
38423 #include <$ac_header>
38425 rm -f conftest.
$ac_objext
38426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38427 (eval $ac_compile) 2>conftest.er1
38429 grep -v '^ *+' conftest.er1
>conftest.err
38431 cat conftest.err
>&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); } &&
38434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38436 (eval $ac_try) 2>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); }; } &&
38440 { ac_try
='test -s conftest.$ac_objext'
38441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38442 (eval $ac_try) 2>&5
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); }; }; then
38446 ac_header_compiler
=yes
38448 echo "$as_me: failed program was:" >&5
38449 sed 's/^/| /' conftest.
$ac_ext >&5
38451 ac_header_compiler
=no
38453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38455 echo "${ECHO_T}$ac_header_compiler" >&6
38457 # Is the header present?
38458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38460 cat >conftest.
$ac_ext <<_ACEOF
38463 cat confdefs.h
>>conftest.
$ac_ext
38464 cat >>conftest.
$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 #include <$ac_header>
38468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38471 grep -v '^ *+' conftest.er1
>conftest.err
38473 cat conftest.err
>&5
38474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38475 (exit $ac_status); } >/dev
/null
; then
38476 if test -s conftest.err
; then
38477 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38478 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38485 if test -z "$ac_cpp_err"; then
38486 ac_header_preproc
=yes
38488 echo "$as_me: failed program was:" >&5
38489 sed 's/^/| /' conftest.
$ac_ext >&5
38491 ac_header_preproc
=no
38493 rm -f conftest.err conftest.
$ac_ext
38494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38495 echo "${ECHO_T}$ac_header_preproc" >&6
38497 # So? What about this header?
38498 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38504 ac_header_preproc
=yes
38507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38521 ## ----------------------------------------- ##
38522 ## Report this to wx-dev@lists.wxwidgets.org ##
38523 ## ----------------------------------------- ##
38526 sed "s/^/$as_me: WARNING: /" >&2
38529 echo "$as_me:$LINENO: checking for $ac_header" >&5
38530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38532 echo $ECHO_N "(cached) $ECHO_C" >&6
38534 eval "$as_ac_Header=\$ac_header_preproc"
38536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38541 cat >>confdefs.h
<<_ACEOF
38542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38545 EXTRALIBS_ESD
="-lesd"
38556 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38557 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38558 cat >conftest.
$ac_ext <<_ACEOF
38561 cat confdefs.h
>>conftest.
$ac_ext
38562 cat >>conftest.
$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38565 #include <linux/cdrom.h>
38568 #include <sys/cdio.h>
38574 struct cdrom_tocentry entry, old_entry;
38579 rm -f conftest.
$ac_objext
38580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38581 (eval $ac_compile) 2>conftest.er1
38583 grep -v '^ *+' conftest.er1
>conftest.err
38585 cat conftest.err
>&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); } &&
38588 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38590 (eval $ac_try) 2>&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; } &&
38594 { ac_try
='test -s conftest.$ac_objext'
38595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38596 (eval $ac_try) 2>&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); }; }; then
38600 echo "$as_me:$LINENO: result: yes" >&5
38601 echo "${ECHO_T}yes" >&6
38602 cat >>confdefs.h
<<\_ACEOF
38603 #define HAVE_KNOWN_CDROM_INTERFACE 1
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.
$ac_ext >&5
38610 echo "$as_me:$LINENO: result: no" >&5
38611 echo "${ECHO_T}no" >&6
38613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38616 cat >confcache
<<\_ACEOF
38617 # This file is a shell script that caches the results of configure
38618 # tests run on this system so they can be shared between configure
38619 # scripts and configure runs, see configure's option --config-cache.
38620 # It is not useful on other systems. If it contains results you don't
38621 # want to keep, you may remove or edit it.
38623 # config.status only pays attention to the cache file if you give it
38624 # the --recheck option to rerun configure.
38626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38628 # following values.
38632 # The following way of writing the cache mishandles newlines in values,
38633 # but we know of no workaround that is simple, portable, and efficient.
38634 # So, don't put newlines in cache variables' values.
38635 # Ultrix sh set writes to stderr and can't be redirected directly,
38636 # and sets the high bit in the cache file unless we assign to the vars.
38639 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38641 # `set' does not quote correctly, so add quotes (double-quote
38642 # substitution turns \\\\ into \\, and sed turns \\ into \).
38645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38648 # `set' quotes correctly as required by POSIX, so do not add quotes.
38650 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38659 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38661 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38662 if test -w $cache_file; then
38663 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38664 cat confcache
>$cache_file
38666 echo "not updating unwritable cache $cache_file"
38672 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38678 if test "$wxUSE_THREADS" = "yes" ; then
38679 if test "$USE_BEOS" = 1; then
38680 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38681 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38686 if test "$wxUSE_THREADS" = "yes" ; then
38689 THREAD_OPTS
="-pthread"
38691 *-*-solaris2* | *-*-sunos4* )
38692 if test "x$GCC" = "xyes"; then
38693 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38695 THREAD_OPTS
="-mt $THREAD_OPTS"
38699 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38701 *-*-darwin* | *-*-cygwin* )
38705 THREAD_OPTS
="pthreads"
38708 if test "x$GCC" = "xyes"; then
38709 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38717 if test "x$GCC" = "xyes"; then
38723 if test "x$GCC" != "xyes"; then
38724 THREAD_OPTS
="-Ethread"
38729 THREAD_OPTS
="$THREAD_OPTS pthread none"
38732 for flag
in $THREAD_OPTS; do
38735 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38736 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38740 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38741 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38742 THREADS_CXXFLAGS
="$flag"
38746 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38747 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38748 THREADS_LINK
="-l$flag"
38753 save_CXXFLAGS
="$CXXFLAGS"
38754 LIBS
="$THREADS_LINK $LIBS"
38755 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38757 cat >conftest.
$ac_ext <<_ACEOF
38760 cat confdefs.h
>>conftest.
$ac_ext
38761 cat >>conftest.
$ac_ext <<_ACEOF
38762 /* end confdefs.h. */
38763 #include <pthread.h>
38767 pthread_create(0,0,0,0);
38772 rm -f conftest.
$ac_objext conftest
$ac_exeext
38773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38774 (eval $ac_link) 2>conftest.er1
38776 grep -v '^ *+' conftest.er1
>conftest.err
38778 cat conftest.err
>&5
38779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38780 (exit $ac_status); } &&
38781 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38783 (eval $ac_try) 2>&5
38785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38786 (exit $ac_status); }; } &&
38787 { ac_try
='test -s conftest$ac_exeext'
38788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38789 (eval $ac_try) 2>&5
38791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38792 (exit $ac_status); }; }; then
38795 echo "$as_me: failed program was:" >&5
38796 sed 's/^/| /' conftest.
$ac_ext >&5
38799 rm -f conftest.err conftest.
$ac_objext \
38800 conftest
$ac_exeext conftest.
$ac_ext
38803 CXXFLAGS
="$save_CXXFLAGS"
38805 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38806 echo "${ECHO_T}$THREADS_OK" >&6
38807 if test "x$THREADS_OK" = "xyes"; then
38812 THREADS_CXXFLAGS
=""
38815 if test "x$THREADS_OK" != "xyes"; then
38817 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38818 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38820 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38821 LIBS
="$THREADS_LINK $LIBS"
38823 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38824 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38828 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38829 flag
="-D_THREAD_SAFE"
38832 flag
="-D_THREAD_SAFE"
38835 flag
="-D_REENTRANT"
38836 if test "x$GCC" != "xyes"; then
38837 flag
="$flag -D_RWSTD_MULTI_THREAD"
38840 *solaris
* | alpha
*-osf*)
38841 flag
="-D_REENTRANT"
38844 echo "$as_me:$LINENO: result: ${flag}" >&5
38845 echo "${ECHO_T}${flag}" >&6
38846 if test "x$flag" != xno
; then
38847 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38850 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38854 if test "$wxUSE_THREADS" = "yes" ; then
38856 for ac_func
in thr_setconcurrency
38858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38859 echo "$as_me:$LINENO: checking for $ac_func" >&5
38860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38861 if eval "test \"\${$as_ac_var+set}\" = set"; then
38862 echo $ECHO_N "(cached) $ECHO_C" >&6
38864 cat >conftest.
$ac_ext <<_ACEOF
38867 cat confdefs.h
>>conftest.
$ac_ext
38868 cat >>conftest.
$ac_ext <<_ACEOF
38869 /* end confdefs.h. */
38870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38872 #define $ac_func innocuous_$ac_func
38874 /* System header to define __stub macros and hopefully few prototypes,
38875 which can conflict with char $ac_func (); below.
38876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38877 <limits.h> exists even on freestanding compilers. */
38880 # include <limits.h>
38882 # include <assert.h>
38887 /* Override any gcc2 internal prototype to avoid an error. */
38892 /* We use char because int might match the return type of a gcc2
38893 builtin and then its argument prototype would still apply. */
38895 /* The GNU C library defines this for functions which it implements
38896 to always fail with ENOSYS. Some functions are actually named
38897 something starting with __ and the normal name is an alias. */
38898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38901 char (*f) () = $ac_func;
38910 return f != $ac_func;
38915 rm -f conftest.
$ac_objext conftest
$ac_exeext
38916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38917 (eval $ac_link) 2>conftest.er1
38919 grep -v '^ *+' conftest.er1
>conftest.err
38921 cat conftest.err
>&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); } &&
38924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38926 (eval $ac_try) 2>&5
38928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38929 (exit $ac_status); }; } &&
38930 { ac_try
='test -s conftest$ac_exeext'
38931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38932 (eval $ac_try) 2>&5
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); }; }; then
38936 eval "$as_ac_var=yes"
38938 echo "$as_me: failed program was:" >&5
38939 sed 's/^/| /' conftest.
$ac_ext >&5
38941 eval "$as_ac_var=no"
38943 rm -f conftest.err conftest.
$ac_objext \
38944 conftest
$ac_exeext conftest.
$ac_ext
38946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38948 if test `eval echo '${'$as_ac_var'}'` = yes; then
38949 cat >>confdefs.h
<<_ACEOF
38950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38957 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38958 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38959 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38963 cat >conftest.
$ac_ext <<_ACEOF
38966 cat confdefs.h
>>conftest.
$ac_ext
38967 cat >>conftest.
$ac_ext <<_ACEOF
38968 /* end confdefs.h. */
38969 #include <pthread.h>
38970 void ThreadCleanupFunc(void *p);
38977 pthread_cleanup_push(ThreadCleanupFunc, p);
38978 pthread_cleanup_pop(0);
38984 rm -f conftest.
$ac_objext
38985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38986 (eval $ac_compile) 2>conftest.er1
38988 grep -v '^ *+' conftest.er1
>conftest.err
38990 cat conftest.err
>&5
38991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38992 (exit $ac_status); } &&
38993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38995 (eval $ac_try) 2>&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); }; } &&
38999 { ac_try
='test -s conftest.$ac_objext'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; }; then
39006 wx_cv_func_pthread_cleanup
=yes
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.
$ac_ext >&5
39013 wx_cv_func_pthread_cleanup
=no
39017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39020 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39021 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39022 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39023 cat >>confdefs.h
<<\_ACEOF
39024 #define wxHAVE_PTHREAD_CLEANUP 1
39030 for ac_header
in sched.h
39032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39034 echo "$as_me:$LINENO: checking for $ac_header" >&5
39035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39042 # Is the header compilable?
39043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39045 cat >conftest.
$ac_ext <<_ACEOF
39048 cat confdefs.h
>>conftest.
$ac_ext
39049 cat >>conftest.
$ac_ext <<_ACEOF
39050 /* end confdefs.h. */
39051 $ac_includes_default
39052 #include <$ac_header>
39054 rm -f conftest.
$ac_objext
39055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39056 (eval $ac_compile) 2>conftest.er1
39058 grep -v '^ *+' conftest.er1
>conftest.err
39060 cat conftest.err
>&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); } &&
39063 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39065 (eval $ac_try) 2>&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); }; } &&
39069 { ac_try
='test -s conftest.$ac_objext'
39070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071 (eval $ac_try) 2>&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); }; }; then
39075 ac_header_compiler
=yes
39077 echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.
$ac_ext >&5
39080 ac_header_compiler
=no
39082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39084 echo "${ECHO_T}$ac_header_compiler" >&6
39086 # Is the header present?
39087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39089 cat >conftest.
$ac_ext <<_ACEOF
39092 cat confdefs.h
>>conftest.
$ac_ext
39093 cat >>conftest.
$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 #include <$ac_header>
39097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39100 grep -v '^ *+' conftest.er1
>conftest.err
39102 cat conftest.err
>&5
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); } >/dev
/null
; then
39105 if test -s conftest.err
; then
39106 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39107 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39114 if test -z "$ac_cpp_err"; then
39115 ac_header_preproc
=yes
39117 echo "$as_me: failed program was:" >&5
39118 sed 's/^/| /' conftest.
$ac_ext >&5
39120 ac_header_preproc
=no
39122 rm -f conftest.err conftest.
$ac_ext
39123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39124 echo "${ECHO_T}$ac_header_preproc" >&6
39126 # So? What about this header?
39127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39133 ac_header_preproc
=yes
39136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39150 ## ----------------------------------------- ##
39151 ## Report this to wx-dev@lists.wxwidgets.org ##
39152 ## ----------------------------------------- ##
39155 sed "s/^/$as_me: WARNING: /" >&2
39158 echo "$as_me:$LINENO: checking for $ac_header" >&5
39159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39161 echo $ECHO_N "(cached) $ECHO_C" >&6
39163 eval "$as_ac_Header=\$ac_header_preproc"
39165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39170 cat >>confdefs.h
<<_ACEOF
39171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39178 if test "$ac_cv_header_sched_h" = "yes"; then
39179 echo "$as_me:$LINENO: checking for sched_yield" >&5
39180 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39181 if test "${ac_cv_func_sched_yield+set}" = set; then
39182 echo $ECHO_N "(cached) $ECHO_C" >&6
39184 cat >conftest.
$ac_ext <<_ACEOF
39187 cat confdefs.h
>>conftest.
$ac_ext
39188 cat >>conftest.
$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39192 #define sched_yield innocuous_sched_yield
39194 /* System header to define __stub macros and hopefully few prototypes,
39195 which can conflict with char sched_yield (); below.
39196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39197 <limits.h> exists even on freestanding compilers. */
39200 # include <limits.h>
39202 # include <assert.h>
39207 /* Override any gcc2 internal prototype to avoid an error. */
39212 /* We use char because int might match the return type of a gcc2
39213 builtin and then its argument prototype would still apply. */
39214 char sched_yield ();
39215 /* The GNU C library defines this for functions which it implements
39216 to always fail with ENOSYS. Some functions are actually named
39217 something starting with __ and the normal name is an alias. */
39218 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39221 char (*f) () = sched_yield;
39230 return f != sched_yield;
39235 rm -f conftest.
$ac_objext conftest
$ac_exeext
39236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39237 (eval $ac_link) 2>conftest.er1
39239 grep -v '^ *+' conftest.er1
>conftest.err
39241 cat conftest.err
>&5
39242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39243 (exit $ac_status); } &&
39244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39246 (eval $ac_try) 2>&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); }; } &&
39250 { ac_try
='test -s conftest$ac_exeext'
39251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39252 (eval $ac_try) 2>&5
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); }; }; then
39256 ac_cv_func_sched_yield
=yes
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.
$ac_ext >&5
39261 ac_cv_func_sched_yield
=no
39263 rm -f conftest.err conftest.
$ac_objext \
39264 conftest
$ac_exeext conftest.
$ac_ext
39266 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39267 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39268 if test $ac_cv_func_sched_yield = yes; then
39269 cat >>confdefs.h
<<\_ACEOF
39270 #define HAVE_SCHED_YIELD 1
39275 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39276 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39277 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 ac_check_lib_save_LIBS
=$LIBS
39281 LIBS
="-lposix4 $LIBS"
39282 cat >conftest.
$ac_ext <<_ACEOF
39285 cat confdefs.h
>>conftest.
$ac_ext
39286 cat >>conftest.
$ac_ext <<_ACEOF
39287 /* end confdefs.h. */
39289 /* Override any gcc2 internal prototype to avoid an error. */
39293 /* We use char because int might match the return type of a gcc2
39294 builtin and then its argument prototype would still apply. */
39295 char sched_yield ();
39304 rm -f conftest.
$ac_objext conftest
$ac_exeext
39305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39306 (eval $ac_link) 2>conftest.er1
39308 grep -v '^ *+' conftest.er1
>conftest.err
39310 cat conftest.err
>&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } &&
39313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39315 (eval $ac_try) 2>&5
39317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318 (exit $ac_status); }; } &&
39319 { ac_try
='test -s conftest$ac_exeext'
39320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39321 (eval $ac_try) 2>&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); }; }; then
39325 ac_cv_lib_posix4_sched_yield
=yes
39327 echo "$as_me: failed program was:" >&5
39328 sed 's/^/| /' conftest.
$ac_ext >&5
39330 ac_cv_lib_posix4_sched_yield
=no
39332 rm -f conftest.err conftest.
$ac_objext \
39333 conftest
$ac_exeext conftest.
$ac_ext
39334 LIBS
=$ac_check_lib_save_LIBS
39336 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39337 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39338 if test $ac_cv_lib_posix4_sched_yield = yes; then
39339 cat >>confdefs.h
<<\_ACEOF
39340 #define HAVE_SCHED_YIELD 1
39342 POSIX4_LINK
=" -lposix4"
39344 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39345 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39356 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39357 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39358 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39359 echo $ECHO_N "(cached) $ECHO_C" >&6
39361 cat >conftest.
$ac_ext <<_ACEOF
39364 cat confdefs.h
>>conftest.
$ac_ext
39365 cat >>conftest.
$ac_ext <<_ACEOF
39366 /* end confdefs.h. */
39367 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39369 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39371 /* System header to define __stub macros and hopefully few prototypes,
39372 which can conflict with char pthread_attr_getschedpolicy (); below.
39373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39374 <limits.h> exists even on freestanding compilers. */
39377 # include <limits.h>
39379 # include <assert.h>
39382 #undef pthread_attr_getschedpolicy
39384 /* Override any gcc2 internal prototype to avoid an error. */
39389 /* We use char because int might match the return type of a gcc2
39390 builtin and then its argument prototype would still apply. */
39391 char pthread_attr_getschedpolicy ();
39392 /* The GNU C library defines this for functions which it implements
39393 to always fail with ENOSYS. Some functions are actually named
39394 something starting with __ and the normal name is an alias. */
39395 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39398 char (*f) () = pthread_attr_getschedpolicy;
39407 return f != pthread_attr_getschedpolicy;
39412 rm -f conftest.
$ac_objext conftest
$ac_exeext
39413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39414 (eval $ac_link) 2>conftest.er1
39416 grep -v '^ *+' conftest.er1
>conftest.err
39418 cat conftest.err
>&5
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); } &&
39421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39423 (eval $ac_try) 2>&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); }; } &&
39427 { ac_try
='test -s conftest$ac_exeext'
39428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39429 (eval $ac_try) 2>&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); }; }; then
39433 ac_cv_func_pthread_attr_getschedpolicy
=yes
39435 echo "$as_me: failed program was:" >&5
39436 sed 's/^/| /' conftest.
$ac_ext >&5
39438 ac_cv_func_pthread_attr_getschedpolicy
=no
39440 rm -f conftest.err conftest.
$ac_objext \
39441 conftest
$ac_exeext conftest.
$ac_ext
39443 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39444 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39445 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39446 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39447 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39448 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39451 cat >conftest.
$ac_ext <<_ACEOF
39454 cat confdefs.h
>>conftest.
$ac_ext
39455 cat >>conftest.
$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39457 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39459 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39461 /* System header to define __stub macros and hopefully few prototypes,
39462 which can conflict with char pthread_attr_setschedparam (); below.
39463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39464 <limits.h> exists even on freestanding compilers. */
39467 # include <limits.h>
39469 # include <assert.h>
39472 #undef pthread_attr_setschedparam
39474 /* Override any gcc2 internal prototype to avoid an error. */
39479 /* We use char because int might match the return type of a gcc2
39480 builtin and then its argument prototype would still apply. */
39481 char pthread_attr_setschedparam ();
39482 /* The GNU C library defines this for functions which it implements
39483 to always fail with ENOSYS. Some functions are actually named
39484 something starting with __ and the normal name is an alias. */
39485 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39488 char (*f) () = pthread_attr_setschedparam;
39497 return f != pthread_attr_setschedparam;
39502 rm -f conftest.
$ac_objext conftest
$ac_exeext
39503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39504 (eval $ac_link) 2>conftest.er1
39506 grep -v '^ *+' conftest.er1
>conftest.err
39508 cat conftest.err
>&5
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); } &&
39511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39513 (eval $ac_try) 2>&5
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); }; } &&
39517 { ac_try
='test -s conftest$ac_exeext'
39518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39519 (eval $ac_try) 2>&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); }; }; then
39523 ac_cv_func_pthread_attr_setschedparam
=yes
39525 echo "$as_me: failed program was:" >&5
39526 sed 's/^/| /' conftest.
$ac_ext >&5
39528 ac_cv_func_pthread_attr_setschedparam
=no
39530 rm -f conftest.err conftest.
$ac_objext \
39531 conftest
$ac_exeext conftest.
$ac_ext
39533 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39534 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39535 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39536 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39537 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39538 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39539 echo $ECHO_N "(cached) $ECHO_C" >&6
39541 cat >conftest.
$ac_ext <<_ACEOF
39544 cat confdefs.h
>>conftest.
$ac_ext
39545 cat >>conftest.
$ac_ext <<_ACEOF
39546 /* end confdefs.h. */
39547 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39549 #define sched_get_priority_max innocuous_sched_get_priority_max
39551 /* System header to define __stub macros and hopefully few prototypes,
39552 which can conflict with char sched_get_priority_max (); below.
39553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39554 <limits.h> exists even on freestanding compilers. */
39557 # include <limits.h>
39559 # include <assert.h>
39562 #undef sched_get_priority_max
39564 /* Override any gcc2 internal prototype to avoid an error. */
39569 /* We use char because int might match the return type of a gcc2
39570 builtin and then its argument prototype would still apply. */
39571 char sched_get_priority_max ();
39572 /* The GNU C library defines this for functions which it implements
39573 to always fail with ENOSYS. Some functions are actually named
39574 something starting with __ and the normal name is an alias. */
39575 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39578 char (*f) () = sched_get_priority_max;
39587 return f != sched_get_priority_max;
39592 rm -f conftest.
$ac_objext conftest
$ac_exeext
39593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39594 (eval $ac_link) 2>conftest.er1
39596 grep -v '^ *+' conftest.er1
>conftest.err
39598 cat conftest.err
>&5
39599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39600 (exit $ac_status); } &&
39601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39603 (eval $ac_try) 2>&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); }; } &&
39607 { ac_try
='test -s conftest$ac_exeext'
39608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39609 (eval $ac_try) 2>&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); }; }; then
39613 ac_cv_func_sched_get_priority_max
=yes
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.
$ac_ext >&5
39618 ac_cv_func_sched_get_priority_max
=no
39620 rm -f conftest.err conftest.
$ac_objext \
39621 conftest
$ac_exeext conftest.
$ac_ext
39623 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39624 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39625 if test $ac_cv_func_sched_get_priority_max = yes; then
39628 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39629 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39630 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 ac_check_lib_save_LIBS
=$LIBS
39634 LIBS
="-lposix4 $LIBS"
39635 cat >conftest.
$ac_ext <<_ACEOF
39638 cat confdefs.h
>>conftest.
$ac_ext
39639 cat >>conftest.
$ac_ext <<_ACEOF
39640 /* end confdefs.h. */
39642 /* Override any gcc2 internal prototype to avoid an error. */
39646 /* We use char because int might match the return type of a gcc2
39647 builtin and then its argument prototype would still apply. */
39648 char sched_get_priority_max ();
39652 sched_get_priority_max ();
39657 rm -f conftest.
$ac_objext conftest
$ac_exeext
39658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39659 (eval $ac_link) 2>conftest.er1
39661 grep -v '^ *+' conftest.er1
>conftest.err
39663 cat conftest.err
>&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); } &&
39666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668 (eval $ac_try) 2>&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); }; } &&
39672 { ac_try
='test -s conftest$ac_exeext'
39673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39674 (eval $ac_try) 2>&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); }; }; then
39678 ac_cv_lib_posix4_sched_get_priority_max
=yes
39680 echo "$as_me: failed program was:" >&5
39681 sed 's/^/| /' conftest.
$ac_ext >&5
39683 ac_cv_lib_posix4_sched_get_priority_max
=no
39685 rm -f conftest.err conftest.
$ac_objext \
39686 conftest
$ac_exeext conftest.
$ac_ext
39687 LIBS
=$ac_check_lib_save_LIBS
39689 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39690 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39691 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39694 POSIX4_LINK
=" -lposix4"
39708 if test "$HAVE_PRIOR_FUNCS" = 1; then
39709 cat >>confdefs.h
<<\_ACEOF
39710 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39714 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39715 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39718 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39719 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39720 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39721 echo $ECHO_N "(cached) $ECHO_C" >&6
39723 cat >conftest.
$ac_ext <<_ACEOF
39726 cat confdefs.h
>>conftest.
$ac_ext
39727 cat >>conftest.
$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39729 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39731 #define pthread_cancel innocuous_pthread_cancel
39733 /* System header to define __stub macros and hopefully few prototypes,
39734 which can conflict with char pthread_cancel (); below.
39735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39736 <limits.h> exists even on freestanding compilers. */
39739 # include <limits.h>
39741 # include <assert.h>
39744 #undef pthread_cancel
39746 /* Override any gcc2 internal prototype to avoid an error. */
39751 /* We use char because int might match the return type of a gcc2
39752 builtin and then its argument prototype would still apply. */
39753 char pthread_cancel ();
39754 /* The GNU C library defines this for functions which it implements
39755 to always fail with ENOSYS. Some functions are actually named
39756 something starting with __ and the normal name is an alias. */
39757 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39760 char (*f) () = pthread_cancel;
39769 return f != pthread_cancel;
39774 rm -f conftest.
$ac_objext conftest
$ac_exeext
39775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39776 (eval $ac_link) 2>conftest.er1
39778 grep -v '^ *+' conftest.er1
>conftest.err
39780 cat conftest.err
>&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } &&
39783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; } &&
39789 { ac_try
='test -s conftest$ac_exeext'
39790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791 (eval $ac_try) 2>&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); }; }; then
39795 ac_cv_func_pthread_cancel
=yes
39797 echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.
$ac_ext >&5
39800 ac_cv_func_pthread_cancel
=no
39802 rm -f conftest.err conftest.
$ac_objext \
39803 conftest
$ac_exeext conftest.
$ac_ext
39805 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39806 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39807 if test $ac_cv_func_pthread_cancel = yes; then
39808 cat >>confdefs.h
<<\_ACEOF
39809 #define HAVE_PTHREAD_CANCEL 1
39813 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39814 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39818 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39819 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39820 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39821 echo $ECHO_N "(cached) $ECHO_C" >&6
39823 cat >conftest.
$ac_ext <<_ACEOF
39826 cat confdefs.h
>>conftest.
$ac_ext
39827 cat >>conftest.
$ac_ext <<_ACEOF
39828 /* end confdefs.h. */
39829 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39831 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39833 /* System header to define __stub macros and hopefully few prototypes,
39834 which can conflict with char pthread_attr_setstacksize (); below.
39835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39836 <limits.h> exists even on freestanding compilers. */
39839 # include <limits.h>
39841 # include <assert.h>
39844 #undef pthread_attr_setstacksize
39846 /* Override any gcc2 internal prototype to avoid an error. */
39851 /* We use char because int might match the return type of a gcc2
39852 builtin and then its argument prototype would still apply. */
39853 char pthread_attr_setstacksize ();
39854 /* The GNU C library defines this for functions which it implements
39855 to always fail with ENOSYS. Some functions are actually named
39856 something starting with __ and the normal name is an alias. */
39857 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39860 char (*f) () = pthread_attr_setstacksize;
39869 return f != pthread_attr_setstacksize;
39874 rm -f conftest.
$ac_objext conftest
$ac_exeext
39875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39876 (eval $ac_link) 2>conftest.er1
39878 grep -v '^ *+' conftest.er1
>conftest.err
39880 cat conftest.err
>&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } &&
39883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; } &&
39889 { ac_try
='test -s conftest$ac_exeext'
39890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39891 (eval $ac_try) 2>&5
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); }; }; then
39895 ac_cv_func_pthread_attr_setstacksize
=yes
39897 echo "$as_me: failed program was:" >&5
39898 sed 's/^/| /' conftest.
$ac_ext >&5
39900 ac_cv_func_pthread_attr_setstacksize
=no
39902 rm -f conftest.err conftest.
$ac_objext \
39903 conftest
$ac_exeext conftest.
$ac_ext
39905 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39906 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39907 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39908 cat >>confdefs.h
<<\_ACEOF
39909 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39916 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39917 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39918 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39919 echo $ECHO_N "(cached) $ECHO_C" >&6
39922 cat >conftest.
$ac_ext <<_ACEOF
39925 cat confdefs.h
>>conftest.
$ac_ext
39926 cat >>conftest.
$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39928 #include <pthread.h>
39933 pthread_mutexattr_t attr;
39934 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39940 rm -f conftest.
$ac_objext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39942 (eval $ac_compile) 2>conftest.er1
39944 grep -v '^ *+' conftest.er1
>conftest.err
39946 cat conftest.err
>&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39951 (eval $ac_try) 2>&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); }; } &&
39955 { ac_try
='test -s conftest.$ac_objext'
39956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39957 (eval $ac_try) 2>&5
39959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39960 (exit $ac_status); }; }; then
39961 wx_cv_type_pthread_mutexattr_t
=yes
39963 echo "$as_me: failed program was:" >&5
39964 sed 's/^/| /' conftest.
$ac_ext >&5
39966 wx_cv_type_pthread_mutexattr_t
=no
39969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39972 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39973 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39975 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39976 cat >>confdefs.h
<<\_ACEOF
39977 #define HAVE_PTHREAD_MUTEXATTR_T 1
39981 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39982 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39983 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39984 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 cat >conftest.
$ac_ext <<_ACEOF
39990 cat confdefs.h
>>conftest.
$ac_ext
39991 cat >>conftest.
$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39993 #include <pthread.h>
39998 pthread_mutexattr_t attr;
39999 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40005 rm -f conftest.
$ac_objext
40006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40007 (eval $ac_compile) 2>conftest.er1
40009 grep -v '^ *+' conftest.er1
>conftest.err
40011 cat conftest.err
>&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } &&
40014 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40016 (eval $ac_try) 2>&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); }; } &&
40020 { ac_try
='test -s conftest.$ac_objext'
40021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40022 (eval $ac_try) 2>&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); }; }; then
40026 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40028 echo "$as_me: failed program was:" >&5
40029 sed 's/^/| /' conftest.
$ac_ext >&5
40031 wx_cv_func_pthread_mutexattr_settype_decl
=no
40034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40037 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40038 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40039 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40040 cat >>confdefs.h
<<\_ACEOF
40041 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40046 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40047 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40048 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40049 echo $ECHO_N "(cached) $ECHO_C" >&6
40052 cat >conftest.
$ac_ext <<_ACEOF
40055 cat confdefs.h
>>conftest.
$ac_ext
40056 cat >>conftest.
$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40058 #include <pthread.h>
40063 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40069 rm -f conftest.
$ac_objext
40070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40071 (eval $ac_compile) 2>conftest.er1
40073 grep -v '^ *+' conftest.er1
>conftest.err
40075 cat conftest.err
>&5
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); } &&
40078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40080 (eval $ac_try) 2>&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); }; } &&
40084 { ac_try
='test -s conftest.$ac_objext'
40085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40086 (eval $ac_try) 2>&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); }; }; then
40091 wx_cv_type_pthread_rec_mutex_init
=yes
40094 echo "$as_me: failed program was:" >&5
40095 sed 's/^/| /' conftest.
$ac_ext >&5
40098 wx_cv_type_pthread_rec_mutex_init
=no
40102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40105 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40106 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40107 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40108 cat >>confdefs.h
<<\_ACEOF
40109 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40113 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40114 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40120 if test "$wxUSE_THREADS" = "yes" ; then
40123 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40124 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40125 if test "${wx_cv_cflags_mthread+set}" = set; then
40126 echo $ECHO_N "(cached) $ECHO_C" >&6
40129 CXXFLAGS_OLD
="$CXXFLAGS"
40130 CXXFLAGS
="-mthreads $CXXFLAGS"
40131 cat >conftest.
$ac_ext <<_ACEOF
40134 cat confdefs.h
>>conftest.
$ac_ext
40135 cat >>conftest.
$ac_ext <<_ACEOF
40136 /* end confdefs.h. */
40146 rm -f conftest.
$ac_objext
40147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40148 (eval $ac_compile) 2>conftest.er1
40150 grep -v '^ *+' conftest.er1
>conftest.err
40152 cat conftest.err
>&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); } &&
40155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40157 (eval $ac_try) 2>&5
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); }; } &&
40161 { ac_try
='test -s conftest.$ac_objext'
40162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40163 (eval $ac_try) 2>&5
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); }; }; then
40167 wx_cv_cflags_mthread
=yes
40169 echo "$as_me: failed program was:" >&5
40170 sed 's/^/| /' conftest.
$ac_ext >&5
40172 wx_cv_cflags_mthread
=no
40175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40179 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40180 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40182 if test "$wx_cv_cflags_mthread" = "yes"; then
40183 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40184 LDFLAGS
="$LDFLAGS -mthreads"
40186 CXXFLAGS
="$CXXFLAGS_OLD"
40190 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40191 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40192 LDFLAGS
="$LDFLAGS -Zmt"
40198 echo "$as_me:$LINENO: checking for localtime_r" >&5
40199 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40200 if test "${ac_cv_func_localtime_r+set}" = set; then
40201 echo $ECHO_N "(cached) $ECHO_C" >&6
40203 cat >conftest.
$ac_ext <<_ACEOF
40206 cat confdefs.h
>>conftest.
$ac_ext
40207 cat >>conftest.
$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40209 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40211 #define localtime_r innocuous_localtime_r
40213 /* System header to define __stub macros and hopefully few prototypes,
40214 which can conflict with char localtime_r (); below.
40215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40216 <limits.h> exists even on freestanding compilers. */
40219 # include <limits.h>
40221 # include <assert.h>
40226 /* Override any gcc2 internal prototype to avoid an error. */
40231 /* We use char because int might match the return type of a gcc2
40232 builtin and then its argument prototype would still apply. */
40233 char localtime_r ();
40234 /* The GNU C library defines this for functions which it implements
40235 to always fail with ENOSYS. Some functions are actually named
40236 something starting with __ and the normal name is an alias. */
40237 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40240 char (*f) () = localtime_r;
40249 return f != localtime_r;
40254 rm -f conftest.
$ac_objext conftest
$ac_exeext
40255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40256 (eval $ac_link) 2>conftest.er1
40258 grep -v '^ *+' conftest.er1
>conftest.err
40260 cat conftest.err
>&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); } &&
40263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40265 (eval $ac_try) 2>&5
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); }; } &&
40269 { ac_try
='test -s conftest$ac_exeext'
40270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40271 (eval $ac_try) 2>&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); }; }; then
40275 ac_cv_func_localtime_r
=yes
40277 echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.
$ac_ext >&5
40280 ac_cv_func_localtime_r
=no
40282 rm -f conftest.err conftest.
$ac_objext \
40283 conftest
$ac_exeext conftest.
$ac_ext
40285 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40286 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40287 if test $ac_cv_func_localtime_r = yes; then
40288 cat >>confdefs.h
<<\_ACEOF
40289 #define HAVE_LOCALTIME_R 1
40294 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40295 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40296 if test "${ac_cv_func_gmtime_r+set}" = set; then
40297 echo $ECHO_N "(cached) $ECHO_C" >&6
40299 cat >conftest.
$ac_ext <<_ACEOF
40302 cat confdefs.h
>>conftest.
$ac_ext
40303 cat >>conftest.
$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40305 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40307 #define gmtime_r innocuous_gmtime_r
40309 /* System header to define __stub macros and hopefully few prototypes,
40310 which can conflict with char gmtime_r (); below.
40311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40312 <limits.h> exists even on freestanding compilers. */
40315 # include <limits.h>
40317 # include <assert.h>
40322 /* Override any gcc2 internal prototype to avoid an error. */
40327 /* We use char because int might match the return type of a gcc2
40328 builtin and then its argument prototype would still apply. */
40330 /* The GNU C library defines this for functions which it implements
40331 to always fail with ENOSYS. Some functions are actually named
40332 something starting with __ and the normal name is an alias. */
40333 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40336 char (*f) () = gmtime_r;
40345 return f != gmtime_r;
40350 rm -f conftest.
$ac_objext conftest
$ac_exeext
40351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40352 (eval $ac_link) 2>conftest.er1
40354 grep -v '^ *+' conftest.er1
>conftest.err
40356 cat conftest.err
>&5
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); } &&
40359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40361 (eval $ac_try) 2>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); }; } &&
40365 { ac_try
='test -s conftest$ac_exeext'
40366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40367 (eval $ac_try) 2>&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); }; }; then
40371 ac_cv_func_gmtime_r
=yes
40373 echo "$as_me: failed program was:" >&5
40374 sed 's/^/| /' conftest.
$ac_ext >&5
40376 ac_cv_func_gmtime_r
=no
40378 rm -f conftest.err conftest.
$ac_objext \
40379 conftest
$ac_exeext conftest.
$ac_ext
40381 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40382 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40383 if test $ac_cv_func_gmtime_r = yes; then
40384 cat >>confdefs.h
<<\_ACEOF
40385 #define HAVE_GMTIME_R 1
40390 echo "$as_me:$LINENO: checking for readdir_r" >&5
40391 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40392 if test "${ac_cv_func_readdir_r+set}" = set; then
40393 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 cat >conftest.
$ac_ext <<_ACEOF
40398 cat confdefs.h
>>conftest.
$ac_ext
40399 cat >>conftest.
$ac_ext <<_ACEOF
40400 /* end confdefs.h. */
40401 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40403 #define readdir_r innocuous_readdir_r
40405 /* System header to define __stub macros and hopefully few prototypes,
40406 which can conflict with char readdir_r (); below.
40407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40408 <limits.h> exists even on freestanding compilers. */
40411 # include <limits.h>
40413 # include <assert.h>
40418 /* Override any gcc2 internal prototype to avoid an error. */
40423 /* We use char because int might match the return type of a gcc2
40424 builtin and then its argument prototype would still apply. */
40426 /* The GNU C library defines this for functions which it implements
40427 to always fail with ENOSYS. Some functions are actually named
40428 something starting with __ and the normal name is an alias. */
40429 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40432 char (*f) () = readdir_r;
40441 return f != readdir_r;
40446 rm -f conftest.
$ac_objext conftest
$ac_exeext
40447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40448 (eval $ac_link) 2>conftest.er1
40450 grep -v '^ *+' conftest.er1
>conftest.err
40452 cat conftest.err
>&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); } &&
40455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40457 (eval $ac_try) 2>&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); }; } &&
40461 { ac_try
='test -s conftest$ac_exeext'
40462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40463 (eval $ac_try) 2>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); }; }; then
40467 ac_cv_func_readdir_r
=yes
40469 echo "$as_me: failed program was:" >&5
40470 sed 's/^/| /' conftest.
$ac_ext >&5
40472 ac_cv_func_readdir_r
=no
40474 rm -f conftest.err conftest.
$ac_objext \
40475 conftest
$ac_exeext conftest.
$ac_ext
40477 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40478 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40479 if test $ac_cv_func_readdir_r = yes; then
40480 cat >>confdefs.h
<<\_ACEOF
40481 #define HAVE_READDIR_R 1
40490 ac_cpp
='$CPP $CPPFLAGS'
40491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40495 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40496 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40498 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40499 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 ################################################################
40505 ac_cv_func_which_gethostbyname_r
=unknown
40508 # ONE ARGUMENT (sanity check)
40511 # This should fail, as there is no variant of gethostbyname_r() that takes
40512 # a single argument. If it actually compiles, then we can assume that
40513 # netdb.h is not declaring the function, and the compiler is thereby
40514 # assuming an implicit prototype. In which case, we're out of luck.
40516 cat >conftest.
$ac_ext <<_ACEOF
40519 cat confdefs.h
>>conftest.
$ac_ext
40520 cat >>conftest.
$ac_ext <<_ACEOF
40521 /* end confdefs.h. */
40527 char *name = "www.gnu.org";
40528 (void)gethostbyname_r(name) /* ; */
40534 rm -f conftest.
$ac_objext
40535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40536 (eval $ac_compile) 2>conftest.er1
40538 grep -v '^ *+' conftest.er1
>conftest.err
40540 cat conftest.err
>&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } &&
40543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40545 (eval $ac_try) 2>&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); }; } &&
40549 { ac_try
='test -s conftest.$ac_objext'
40550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40551 (eval $ac_try) 2>&5
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); }; }; then
40555 ac_cv_func_which_gethostbyname_r
=no
40557 echo "$as_me: failed program was:" >&5
40558 sed 's/^/| /' conftest.
$ac_ext >&5
40561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40568 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40570 cat >conftest.
$ac_ext <<_ACEOF
40573 cat confdefs.h
>>conftest.
$ac_ext
40574 cat >>conftest.
$ac_ext <<_ACEOF
40575 /* end confdefs.h. */
40581 char *name = "www.gnu.org";
40582 struct hostent ret, *retp;
40586 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40592 rm -f conftest.
$ac_objext
40593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40594 (eval $ac_compile) 2>conftest.er1
40596 grep -v '^ *+' conftest.er1
>conftest.err
40598 cat conftest.err
>&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); } &&
40601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40603 (eval $ac_try) 2>&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); }; } &&
40607 { ac_try
='test -s conftest.$ac_objext'
40608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40609 (eval $ac_try) 2>&5
40611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40612 (exit $ac_status); }; }; then
40613 ac_cv_func_which_gethostbyname_r
=six
40615 echo "$as_me: failed program was:" >&5
40616 sed 's/^/| /' conftest.
$ac_ext >&5
40619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40628 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40630 cat >conftest.
$ac_ext <<_ACEOF
40633 cat confdefs.h
>>conftest.
$ac_ext
40634 cat >>conftest.
$ac_ext <<_ACEOF
40635 /* end confdefs.h. */
40641 char *name = "www.gnu.org";
40642 struct hostent ret;
40646 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40652 rm -f conftest.
$ac_objext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40654 (eval $ac_compile) 2>conftest.er1
40656 grep -v '^ *+' conftest.er1
>conftest.err
40658 cat conftest.err
>&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40663 (eval $ac_try) 2>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); }; } &&
40667 { ac_try
='test -s conftest.$ac_objext'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }; then
40673 ac_cv_func_which_gethostbyname_r
=five
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.
$ac_ext >&5
40679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40685 # (e.g. AIX, HP-UX, Tru64)
40688 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40690 cat >conftest.
$ac_ext <<_ACEOF
40693 cat confdefs.h
>>conftest.
$ac_ext
40694 cat >>conftest.
$ac_ext <<_ACEOF
40695 /* end confdefs.h. */
40701 char *name = "www.gnu.org";
40702 struct hostent ret;
40703 struct hostent_data data;
40704 (void)gethostbyname_r(name, &ret, &data) /* ; */
40710 rm -f conftest.
$ac_objext
40711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40712 (eval $ac_compile) 2>conftest.er1
40714 grep -v '^ *+' conftest.er1
>conftest.err
40716 cat conftest.err
>&5
40717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40718 (exit $ac_status); } &&
40719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40721 (eval $ac_try) 2>&5
40723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40724 (exit $ac_status); }; } &&
40725 { ac_try
='test -s conftest.$ac_objext'
40726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40727 (eval $ac_try) 2>&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); }; }; then
40731 ac_cv_func_which_gethostbyname_r
=three
40733 echo "$as_me: failed program was:" >&5
40734 sed 's/^/| /' conftest.
$ac_ext >&5
40737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40741 ################################################################
40746 case "$ac_cv_func_which_gethostbyname_r" in
40748 echo "$as_me:$LINENO: result: three" >&5
40749 echo "${ECHO_T}three" >&6
40750 cat >>confdefs.h
<<\_ACEOF
40751 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40757 echo "$as_me:$LINENO: result: five" >&5
40758 echo "${ECHO_T}five" >&6
40759 cat >>confdefs.h
<<\_ACEOF
40760 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40766 echo "$as_me:$LINENO: result: six" >&5
40767 echo "${ECHO_T}six" >&6
40768 cat >>confdefs.h
<<\_ACEOF
40769 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40775 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40776 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40780 echo "$as_me:$LINENO: result: can't tell" >&5
40781 echo "${ECHO_T}can't tell" >&6
40785 { { echo "$as_me:$LINENO: error: internal error" >&5
40786 echo "$as_me: error: internal error" >&2;}
40787 { (exit 1); exit 1; }; }
40792 ac_cpp
='$CXXCPP $CPPFLAGS'
40793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40799 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40800 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40801 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40802 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40803 if test "${ac_cv_func_gethostbyname+set}" = set; then
40804 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 cat >conftest.
$ac_ext <<_ACEOF
40809 cat confdefs.h
>>conftest.
$ac_ext
40810 cat >>conftest.
$ac_ext <<_ACEOF
40811 /* end confdefs.h. */
40812 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40814 #define gethostbyname innocuous_gethostbyname
40816 /* System header to define __stub macros and hopefully few prototypes,
40817 which can conflict with char gethostbyname (); below.
40818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40819 <limits.h> exists even on freestanding compilers. */
40822 # include <limits.h>
40824 # include <assert.h>
40827 #undef gethostbyname
40829 /* Override any gcc2 internal prototype to avoid an error. */
40834 /* We use char because int might match the return type of a gcc2
40835 builtin and then its argument prototype would still apply. */
40836 char gethostbyname ();
40837 /* The GNU C library defines this for functions which it implements
40838 to always fail with ENOSYS. Some functions are actually named
40839 something starting with __ and the normal name is an alias. */
40840 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40843 char (*f) () = gethostbyname;
40852 return f != gethostbyname;
40857 rm -f conftest.
$ac_objext conftest
$ac_exeext
40858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40859 (eval $ac_link) 2>conftest.er1
40861 grep -v '^ *+' conftest.er1
>conftest.err
40863 cat conftest.err
>&5
40864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40865 (exit $ac_status); } &&
40866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40868 (eval $ac_try) 2>&5
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); }; } &&
40872 { ac_try
='test -s conftest$ac_exeext'
40873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40874 (eval $ac_try) 2>&5
40876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877 (exit $ac_status); }; }; then
40878 ac_cv_func_gethostbyname
=yes
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.
$ac_ext >&5
40883 ac_cv_func_gethostbyname
=no
40885 rm -f conftest.err conftest.
$ac_objext \
40886 conftest
$ac_exeext conftest.
$ac_ext
40888 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40889 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40890 if test $ac_cv_func_gethostbyname = yes; then
40891 cat >>confdefs.h
<<\_ACEOF
40892 #define HAVE_GETHOSTBYNAME 1
40899 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40900 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40901 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40905 cat >conftest.
$ac_ext <<_ACEOF
40908 cat confdefs.h
>>conftest.
$ac_ext
40909 cat >>conftest.
$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40918 struct servent *se, *res;
40921 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40927 rm -f conftest.
$ac_objext
40928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40929 (eval $ac_compile) 2>conftest.er1
40931 grep -v '^ *+' conftest.er1
>conftest.err
40933 cat conftest.err
>&5
40934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40935 (exit $ac_status); } &&
40936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try
='test -s conftest.$ac_objext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 ac_cv_func_which_getservbyname_r
=six
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.
$ac_ext >&5
40954 cat >conftest.
$ac_ext <<_ACEOF
40957 cat confdefs.h
>>conftest.
$ac_ext
40958 cat >>conftest.
$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40967 struct servent *se;
40970 (void) getservbyname_r(name, proto, se, buffer, buflen)
40976 rm -f conftest.
$ac_objext
40977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40978 (eval $ac_compile) 2>conftest.er1
40980 grep -v '^ *+' conftest.er1
>conftest.err
40982 cat conftest.err
>&5
40983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40984 (exit $ac_status); } &&
40985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40987 (eval $ac_try) 2>&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); }; } &&
40991 { ac_try
='test -s conftest.$ac_objext'
40992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40993 (eval $ac_try) 2>&5
40995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40996 (exit $ac_status); }; }; then
40997 ac_cv_func_which_getservbyname_r
=five
40999 echo "$as_me: failed program was:" >&5
41000 sed 's/^/| /' conftest.
$ac_ext >&5
41003 cat >conftest.
$ac_ext <<_ACEOF
41006 cat confdefs.h
>>conftest.
$ac_ext
41007 cat >>conftest.
$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41016 struct servent *se;
41017 struct servent_data data;
41018 (void) getservbyname_r(name, proto, se, &data);
41024 rm -f conftest.
$ac_objext
41025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41026 (eval $ac_compile) 2>conftest.er1
41028 grep -v '^ *+' conftest.er1
>conftest.err
41030 cat conftest.err
>&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); } &&
41033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41035 (eval $ac_try) 2>&5
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); }; } &&
41039 { ac_try
='test -s conftest.$ac_objext'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; }; then
41045 ac_cv_func_which_getservbyname_r
=four
41047 echo "$as_me: failed program was:" >&5
41048 sed 's/^/| /' conftest.
$ac_ext >&5
41050 ac_cv_func_which_getservbyname_r
=no
41053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41065 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41066 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41068 if test $ac_cv_func_which_getservbyname_r = six
; then
41069 cat >>confdefs.h
<<\_ACEOF
41070 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41073 elif test $ac_cv_func_which_getservbyname_r = five
; then
41074 cat >>confdefs.h
<<\_ACEOF
41075 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41078 elif test $ac_cv_func_which_getservbyname_r = four
; then
41079 cat >>confdefs.h
<<\_ACEOF
41080 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41086 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41087 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41089 for ac_func
in getservbyname
41091 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41092 echo "$as_me:$LINENO: checking for $ac_func" >&5
41093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41094 if eval "test \"\${$as_ac_var+set}\" = set"; then
41095 echo $ECHO_N "(cached) $ECHO_C" >&6
41097 cat >conftest.
$ac_ext <<_ACEOF
41100 cat confdefs.h
>>conftest.
$ac_ext
41101 cat >>conftest.
$ac_ext <<_ACEOF
41102 /* end confdefs.h. */
41103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41105 #define $ac_func innocuous_$ac_func
41107 /* System header to define __stub macros and hopefully few prototypes,
41108 which can conflict with char $ac_func (); below.
41109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41110 <limits.h> exists even on freestanding compilers. */
41113 # include <limits.h>
41115 # include <assert.h>
41120 /* Override any gcc2 internal prototype to avoid an error. */
41125 /* We use char because int might match the return type of a gcc2
41126 builtin and then its argument prototype would still apply. */
41128 /* The GNU C library defines this for functions which it implements
41129 to always fail with ENOSYS. Some functions are actually named
41130 something starting with __ and the normal name is an alias. */
41131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41134 char (*f) () = $ac_func;
41143 return f != $ac_func;
41148 rm -f conftest.
$ac_objext conftest
$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150 (eval $ac_link) 2>conftest.er1
41152 grep -v '^ *+' conftest.er1
>conftest.err
41154 cat conftest.err
>&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); } &&
41157 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41159 (eval $ac_try) 2>&5
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); }; } &&
41163 { ac_try
='test -s conftest$ac_exeext'
41164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41165 (eval $ac_try) 2>&5
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); }; }; then
41169 eval "$as_ac_var=yes"
41171 echo "$as_me: failed program was:" >&5
41172 sed 's/^/| /' conftest.
$ac_ext >&5
41174 eval "$as_ac_var=no"
41176 rm -f conftest.err conftest.
$ac_objext \
41177 conftest
$ac_exeext conftest.
$ac_ext
41179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41181 if test `eval echo '${'$as_ac_var'}'` = yes; then
41182 cat >>confdefs.h
<<_ACEOF
41183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41185 cat >>confdefs.h
<<\_ACEOF
41186 #define HAVE_GETSERVBYNAME 1
41194 if test "$wxUSE_THREADS" = "yes"; then
41195 cat >>confdefs.h
<<\_ACEOF
41196 #define wxUSE_THREADS 1
41200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41202 if test "$wx_cv_func_strtok_r" = "yes"; then
41203 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41204 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41205 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41206 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41207 echo "$as_me:$LINENO: result: yes" >&5
41208 echo "${ECHO_T}yes" >&6
41210 echo "$as_me:$LINENO: result: no" >&5
41211 echo "${ECHO_T}no" >&6
41216 if test "$WXGTK20" = 1 ; then
41217 cat >>confdefs.h
<<_ACEOF
41218 #define __WXGTK20__ $WXGTK20
41224 if test "$WXGTK12" = 1 ; then
41225 cat >>confdefs.h
<<_ACEOF
41226 #define __WXGTK12__ $WXGTK12
41231 if test "$WXGTK127" = 1 ; then
41232 cat >>confdefs.h
<<_ACEOF
41233 #define __WXGTK127__ $WXGTK127
41238 if test "$WXGPE" = 1 ; then
41239 cat >>confdefs.h
<<_ACEOF
41240 #define __WXGPE__ $WXGPE
41246 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41251 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41252 wxUSE_DEBUG_INFO
=yes
41253 if test "$GCC" = yes; then
41254 DEBUG_CFLAGS
="-ggdb"
41258 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41259 cat >>confdefs.h
<<\_ACEOF
41263 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41265 if test "$wxUSE_GTK" = 1 ; then
41266 if test "x$wxGTK_VERSION" = "x1" ; then
41267 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41272 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41273 cat >>confdefs.h
<<\_ACEOF
41274 #define wxUSE_MEMORY_TRACING 1
41277 cat >>confdefs.h
<<\_ACEOF
41278 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41281 cat >>confdefs.h
<<\_ACEOF
41282 #define wxUSE_DEBUG_NEW_ALWAYS 1
41285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41288 if test "$wxUSE_DMALLOC" = "yes" ; then
41289 DMALLOC_LIBS
="-ldmallocthcxx"
41293 if test "$wxUSE_PROFILE" = "yes" ; then
41294 PROFILE_FLAGS
=" -pg"
41297 if test "$GCC" = "yes" ; then
41298 if test "$wxUSE_NO_RTTI" = "yes" ; then
41299 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41301 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41302 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41304 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41305 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41310 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41313 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41319 if test "$wxUSE_OPTIMISE" = "no" ; then
41320 if test "$GCC" = yes ; then
41321 OPTIMISE_CFLAGS
="-O0"
41324 if test "$GCC" = yes ; then
41326 *-pc-os2_emx | *-pc-os2-emx )
41327 OPTIMISE_CFLAGS
="-O2"
41330 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41334 OPTIMISE_CFLAGS
="-O"
41339 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41340 cat >>confdefs.h
<<\_ACEOF
41341 #define WXWIN_COMPATIBILITY_2_4 1
41345 WXWIN_COMPATIBILITY_2_6
="yes"
41348 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41349 cat >>confdefs.h
<<\_ACEOF
41350 #define WXWIN_COMPATIBILITY_2_6 1
41356 if test "$wxUSE_GUI" = "yes"; then
41357 cat >>confdefs.h
<<\_ACEOF
41358 #define wxUSE_GUI 1
41365 if test "$wxUSE_UNIX" = "yes"; then
41366 cat >>confdefs.h
<<\_ACEOF
41367 #define wxUSE_UNIX 1
41373 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41377 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41378 if test "$USE_DARWIN" = 1; then
41380 elif test "$USE_DOS" = 1; then
41384 for ac_func
in dlopen
41386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41387 echo "$as_me:$LINENO: checking for $ac_func" >&5
41388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41389 if eval "test \"\${$as_ac_var+set}\" = set"; then
41390 echo $ECHO_N "(cached) $ECHO_C" >&6
41392 cat >conftest.
$ac_ext <<_ACEOF
41395 cat confdefs.h
>>conftest.
$ac_ext
41396 cat >>conftest.
$ac_ext <<_ACEOF
41397 /* end confdefs.h. */
41398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41400 #define $ac_func innocuous_$ac_func
41402 /* System header to define __stub macros and hopefully few prototypes,
41403 which can conflict with char $ac_func (); below.
41404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41405 <limits.h> exists even on freestanding compilers. */
41408 # include <limits.h>
41410 # include <assert.h>
41415 /* Override any gcc2 internal prototype to avoid an error. */
41420 /* We use char because int might match the return type of a gcc2
41421 builtin and then its argument prototype would still apply. */
41423 /* The GNU C library defines this for functions which it implements
41424 to always fail with ENOSYS. Some functions are actually named
41425 something starting with __ and the normal name is an alias. */
41426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41429 char (*f) () = $ac_func;
41438 return f != $ac_func;
41443 rm -f conftest.
$ac_objext conftest
$ac_exeext
41444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41445 (eval $ac_link) 2>conftest.er1
41447 grep -v '^ *+' conftest.er1
>conftest.err
41449 cat conftest.err
>&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } &&
41452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41454 (eval $ac_try) 2>&5
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); }; } &&
41458 { ac_try
='test -s conftest$ac_exeext'
41459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41460 (eval $ac_try) 2>&5
41462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41463 (exit $ac_status); }; }; then
41464 eval "$as_ac_var=yes"
41466 echo "$as_me: failed program was:" >&5
41467 sed 's/^/| /' conftest.
$ac_ext >&5
41469 eval "$as_ac_var=no"
41471 rm -f conftest.err conftest.
$ac_objext \
41472 conftest
$ac_exeext conftest.
$ac_ext
41474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41476 if test `eval echo '${'$as_ac_var'}'` = yes; then
41477 cat >>confdefs.h
<<_ACEOF
41478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41481 cat >>confdefs.h
<<\_ACEOF
41482 #define HAVE_DLOPEN 1
41489 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41490 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41491 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41492 echo $ECHO_N "(cached) $ECHO_C" >&6
41494 ac_check_lib_save_LIBS
=$LIBS
41496 cat >conftest.
$ac_ext <<_ACEOF
41499 cat confdefs.h
>>conftest.
$ac_ext
41500 cat >>conftest.
$ac_ext <<_ACEOF
41501 /* end confdefs.h. */
41503 /* Override any gcc2 internal prototype to avoid an error. */
41507 /* We use char because int might match the return type of a gcc2
41508 builtin and then its argument prototype would still apply. */
41518 rm -f conftest.
$ac_objext conftest
$ac_exeext
41519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41520 (eval $ac_link) 2>conftest.er1
41522 grep -v '^ *+' conftest.er1
>conftest.err
41524 cat conftest.err
>&5
41525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41526 (exit $ac_status); } &&
41527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41529 (eval $ac_try) 2>&5
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); }; } &&
41533 { ac_try
='test -s conftest$ac_exeext'
41534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41535 (eval $ac_try) 2>&5
41537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41538 (exit $ac_status); }; }; then
41539 ac_cv_lib_dl_dlopen
=yes
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.
$ac_ext >&5
41544 ac_cv_lib_dl_dlopen
=no
41546 rm -f conftest.err conftest.
$ac_objext \
41547 conftest
$ac_exeext conftest.
$ac_ext
41548 LIBS
=$ac_check_lib_save_LIBS
41550 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41551 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41552 if test $ac_cv_lib_dl_dlopen = yes; then
41554 cat >>confdefs.h
<<\_ACEOF
41555 #define HAVE_DLOPEN 1
41559 DL_LINK
=" -ldl$DL_LINK"
41564 for ac_func
in shl_load
41566 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41567 echo "$as_me:$LINENO: checking for $ac_func" >&5
41568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41569 if eval "test \"\${$as_ac_var+set}\" = set"; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 cat >conftest.
$ac_ext <<_ACEOF
41575 cat confdefs.h
>>conftest.
$ac_ext
41576 cat >>conftest.
$ac_ext <<_ACEOF
41577 /* end confdefs.h. */
41578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41580 #define $ac_func innocuous_$ac_func
41582 /* System header to define __stub macros and hopefully few prototypes,
41583 which can conflict with char $ac_func (); below.
41584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41585 <limits.h> exists even on freestanding compilers. */
41588 # include <limits.h>
41590 # include <assert.h>
41595 /* Override any gcc2 internal prototype to avoid an error. */
41600 /* We use char because int might match the return type of a gcc2
41601 builtin and then its argument prototype would still apply. */
41603 /* The GNU C library defines this for functions which it implements
41604 to always fail with ENOSYS. Some functions are actually named
41605 something starting with __ and the normal name is an alias. */
41606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41609 char (*f) () = $ac_func;
41618 return f != $ac_func;
41623 rm -f conftest.
$ac_objext conftest
$ac_exeext
41624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41625 (eval $ac_link) 2>conftest.er1
41627 grep -v '^ *+' conftest.er1
>conftest.err
41629 cat conftest.err
>&5
41630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41631 (exit $ac_status); } &&
41632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41634 (eval $ac_try) 2>&5
41636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41637 (exit $ac_status); }; } &&
41638 { ac_try
='test -s conftest$ac_exeext'
41639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41640 (eval $ac_try) 2>&5
41642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41643 (exit $ac_status); }; }; then
41644 eval "$as_ac_var=yes"
41646 echo "$as_me: failed program was:" >&5
41647 sed 's/^/| /' conftest.
$ac_ext >&5
41649 eval "$as_ac_var=no"
41651 rm -f conftest.err conftest.
$ac_objext \
41652 conftest
$ac_exeext conftest.
$ac_ext
41654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41656 if test `eval echo '${'$as_ac_var'}'` = yes; then
41657 cat >>confdefs.h
<<_ACEOF
41658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41661 cat >>confdefs.h
<<\_ACEOF
41662 #define HAVE_SHL_LOAD 1
41669 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41670 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41671 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41672 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 ac_check_lib_save_LIBS
=$LIBS
41675 LIBS
="-lshl_load $LIBS"
41676 cat >conftest.
$ac_ext <<_ACEOF
41679 cat confdefs.h
>>conftest.
$ac_ext
41680 cat >>conftest.
$ac_ext <<_ACEOF
41681 /* end confdefs.h. */
41683 /* Override any gcc2 internal prototype to avoid an error. */
41687 /* We use char because int might match the return type of a gcc2
41688 builtin and then its argument prototype would still apply. */
41698 rm -f conftest.
$ac_objext conftest
$ac_exeext
41699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41700 (eval $ac_link) 2>conftest.er1
41702 grep -v '^ *+' conftest.er1
>conftest.err
41704 cat conftest.err
>&5
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } &&
41707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41709 (eval $ac_try) 2>&5
41711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712 (exit $ac_status); }; } &&
41713 { ac_try
='test -s conftest$ac_exeext'
41714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41715 (eval $ac_try) 2>&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); }; }; then
41719 ac_cv_lib_shl_load_dld
=yes
41721 echo "$as_me: failed program was:" >&5
41722 sed 's/^/| /' conftest.
$ac_ext >&5
41724 ac_cv_lib_shl_load_dld
=no
41726 rm -f conftest.err conftest.
$ac_objext \
41727 conftest
$ac_exeext conftest.
$ac_ext
41728 LIBS
=$ac_check_lib_save_LIBS
41730 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41731 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41732 if test $ac_cv_lib_shl_load_dld = yes; then
41735 DL_LINK
=" -ldld$DL_LINK"
41751 if test "$HAVE_DL_FUNCS" = 1; then
41753 for ac_func
in dlerror
41755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41756 echo "$as_me:$LINENO: checking for $ac_func" >&5
41757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41758 if eval "test \"\${$as_ac_var+set}\" = set"; then
41759 echo $ECHO_N "(cached) $ECHO_C" >&6
41761 cat >conftest.
$ac_ext <<_ACEOF
41764 cat confdefs.h
>>conftest.
$ac_ext
41765 cat >>conftest.
$ac_ext <<_ACEOF
41766 /* end confdefs.h. */
41767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41769 #define $ac_func innocuous_$ac_func
41771 /* System header to define __stub macros and hopefully few prototypes,
41772 which can conflict with char $ac_func (); below.
41773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41774 <limits.h> exists even on freestanding compilers. */
41777 # include <limits.h>
41779 # include <assert.h>
41784 /* Override any gcc2 internal prototype to avoid an error. */
41789 /* We use char because int might match the return type of a gcc2
41790 builtin and then its argument prototype would still apply. */
41792 /* The GNU C library defines this for functions which it implements
41793 to always fail with ENOSYS. Some functions are actually named
41794 something starting with __ and the normal name is an alias. */
41795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41798 char (*f) () = $ac_func;
41807 return f != $ac_func;
41812 rm -f conftest.
$ac_objext conftest
$ac_exeext
41813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41814 (eval $ac_link) 2>conftest.er1
41816 grep -v '^ *+' conftest.er1
>conftest.err
41818 cat conftest.err
>&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); } &&
41821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41823 (eval $ac_try) 2>&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); }; } &&
41827 { ac_try
='test -s conftest$ac_exeext'
41828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41829 (eval $ac_try) 2>&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); }; }; then
41833 eval "$as_ac_var=yes"
41835 echo "$as_me: failed program was:" >&5
41836 sed 's/^/| /' conftest.
$ac_ext >&5
41838 eval "$as_ac_var=no"
41840 rm -f conftest.err conftest.
$ac_objext \
41841 conftest
$ac_exeext conftest.
$ac_ext
41843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41845 if test `eval echo '${'$as_ac_var'}'` = yes; then
41846 cat >>confdefs.h
<<_ACEOF
41847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41849 cat >>confdefs.h
<<\_ACEOF
41850 #define HAVE_DLERROR 1
41855 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41856 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41857 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41858 echo $ECHO_N "(cached) $ECHO_C" >&6
41860 ac_check_lib_save_LIBS
=$LIBS
41862 cat >conftest.
$ac_ext <<_ACEOF
41865 cat confdefs.h
>>conftest.
$ac_ext
41866 cat >>conftest.
$ac_ext <<_ACEOF
41867 /* end confdefs.h. */
41869 /* Override any gcc2 internal prototype to avoid an error. */
41873 /* We use char because int might match the return type of a gcc2
41874 builtin and then its argument prototype would still apply. */
41884 rm -f conftest.
$ac_objext conftest
$ac_exeext
41885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41886 (eval $ac_link) 2>conftest.er1
41888 grep -v '^ *+' conftest.er1
>conftest.err
41890 cat conftest.err
>&5
41891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892 (exit $ac_status); } &&
41893 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41895 (eval $ac_try) 2>&5
41897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898 (exit $ac_status); }; } &&
41899 { ac_try
='test -s conftest$ac_exeext'
41900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41901 (eval $ac_try) 2>&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); }; }; then
41905 ac_cv_lib_dl_dlerror
=yes
41907 echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.
$ac_ext >&5
41910 ac_cv_lib_dl_dlerror
=no
41912 rm -f conftest.err conftest.
$ac_objext \
41913 conftest
$ac_exeext conftest.
$ac_ext
41914 LIBS
=$ac_check_lib_save_LIBS
41916 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41917 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41918 if test $ac_cv_lib_dl_dlerror = yes; then
41919 cat >>confdefs.h
<<\_ACEOF
41920 #define HAVE_DLERROR 1
41933 if test "$HAVE_DL_FUNCS" = 0; then
41934 if test "$HAVE_SHL_FUNCS" = 0; then
41935 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41936 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41937 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41938 wxUSE_DYNAMIC_LOADER
=no
41939 wxUSE_DYNLIB_CLASS
=no
41941 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41942 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41949 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41950 cat >>confdefs.h
<<\_ACEOF
41951 #define wxUSE_DYNAMIC_LOADER 1
41955 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41956 cat >>confdefs.h
<<\_ACEOF
41957 #define wxUSE_DYNLIB_CLASS 1
41964 if test "$wxUSE_PLUGINS" = "yes" ; then
41965 if test "$wxUSE_SHARED" = "no" ; then
41966 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41967 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41970 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41971 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41972 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41975 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41976 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41977 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41980 if test "$wxUSE_PLUGINS" = "yes" ; then
41981 cat >>confdefs.h
<<\_ACEOF
41982 #define wxUSE_PLUGINS 1
41989 if test "$wxUSE_STL" = "yes"; then
41990 cat >>confdefs.h
<<\_ACEOF
41991 #define wxUSE_STL 1
41996 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41997 cat >>confdefs.h
<<\_ACEOF
41998 #define wxUSE_APPLE_IEEE 1
42003 if test "$wxUSE_TIMER" = "yes"; then
42004 cat >>confdefs.h
<<\_ACEOF
42005 #define wxUSE_TIMER 1
42010 if test "$USE_UNIX" = "1" ; then
42011 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42012 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42013 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42014 echo $ECHO_N "(cached) $ECHO_C" >&6
42017 cat >conftest.
$ac_ext <<_ACEOF
42020 cat confdefs.h
>>conftest.
$ac_ext
42021 cat >>conftest.
$ac_ext <<_ACEOF
42022 /* end confdefs.h. */
42024 #include <sys/ioctl.h>
42025 #include <sys/soundcard.h>
42031 ioctl(0, SNDCTL_DSP_SPEED, 0);
42037 rm -f conftest.
$ac_objext conftest
$ac_exeext
42038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42039 (eval $ac_link) 2>conftest.er1
42041 grep -v '^ *+' conftest.er1
>conftest.err
42043 cat conftest.err
>&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } &&
42046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42048 (eval $ac_try) 2>&5
42050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42051 (exit $ac_status); }; } &&
42052 { ac_try
='test -s conftest$ac_exeext'
42053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42054 (eval $ac_try) 2>&5
42056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057 (exit $ac_status); }; }; then
42058 ac_cv_header_sys_soundcard
=yes
42060 echo "$as_me: failed program was:" >&5
42061 sed 's/^/| /' conftest.
$ac_ext >&5
42065 LIBS
="$saveLibs -lossaudio"
42066 cat >conftest.
$ac_ext <<_ACEOF
42069 cat confdefs.h
>>conftest.
$ac_ext
42070 cat >>conftest.
$ac_ext <<_ACEOF
42071 /* end confdefs.h. */
42073 #include <sys/ioctl.h>
42074 #include <sys/soundcard.h>
42080 ioctl(0, SNDCTL_DSP_SPEED, 0);
42086 rm -f conftest.
$ac_objext conftest
$ac_exeext
42087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42088 (eval $ac_link) 2>conftest.er1
42090 grep -v '^ *+' conftest.er1
>conftest.err
42092 cat conftest.err
>&5
42093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42094 (exit $ac_status); } &&
42095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42097 (eval $ac_try) 2>&5
42099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42100 (exit $ac_status); }; } &&
42101 { ac_try
='test -s conftest$ac_exeext'
42102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42103 (eval $ac_try) 2>&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); }; }; then
42107 ac_cv_header_sys_soundcard
=yes
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.
$ac_ext >&5
42114 ac_cv_header_sys_soundcard
=no
42118 rm -f conftest.err conftest.
$ac_objext \
42119 conftest
$ac_exeext conftest.
$ac_ext
42123 rm -f conftest.err conftest.
$ac_objext \
42124 conftest
$ac_exeext conftest.
$ac_ext
42127 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42128 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42130 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42131 cat >>confdefs.h
<<\_ACEOF
42132 #define HAVE_SYS_SOUNDCARD_H 1
42136 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42140 if test "$wxUSE_SOUND" = "yes"; then
42141 if test "$USE_UNIX" = "1" ; then
42142 if test "$wxUSE_LIBSDL" != "no"; then
42144 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42145 if test "${with_sdl_prefix+set}" = set; then
42146 withval
="$with_sdl_prefix"
42147 sdl_prefix
="$withval"
42152 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42153 if test "${with_sdl_exec_prefix+set}" = set; then
42154 withval
="$with_sdl_exec_prefix"
42155 sdl_exec_prefix
="$withval"
42159 # Check whether --enable-sdltest or --disable-sdltest was given.
42160 if test "${enable_sdltest+set}" = set; then
42161 enableval
="$enable_sdltest"
42167 if test x
$sdl_exec_prefix != x
; then
42168 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42169 if test x
${SDL_CONFIG+set} != xset
; then
42170 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42173 if test x
$sdl_prefix != x
; then
42174 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42175 if test x
${SDL_CONFIG+set} != xset
; then
42176 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42180 if test "x$prefix" != xNONE
; then
42181 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42183 # Extract the first word of "sdl-config", so it can be a program name with args.
42184 set dummy sdl
-config; ac_word
=$2
42185 echo "$as_me:$LINENO: checking for $ac_word" >&5
42186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42187 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42188 echo $ECHO_N "(cached) $ECHO_C" >&6
42190 case $SDL_CONFIG in
42192 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42196 for as_dir
in $PATH
42199 test -z "$as_dir" && as_dir
=.
42200 for ac_exec_ext
in '' $ac_executable_extensions; do
42201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42202 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42209 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42213 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42215 if test -n "$SDL_CONFIG"; then
42216 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42217 echo "${ECHO_T}$SDL_CONFIG" >&6
42219 echo "$as_me:$LINENO: result: no" >&5
42220 echo "${ECHO_T}no" >&6
42223 min_sdl_version
=1.2.0
42224 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42225 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42227 if test "$SDL_CONFIG" = "no" ; then
42230 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42231 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42233 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42234 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42235 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42237 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42239 if test "x$enable_sdltest" = "xyes" ; then
42240 ac_save_CFLAGS
="$CFLAGS"
42241 ac_save_CXXFLAGS
="$CXXFLAGS"
42242 ac_save_LIBS
="$LIBS"
42243 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42244 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42245 LIBS
="$LIBS $SDL_LIBS"
42247 if test "$cross_compiling" = yes; then
42248 echo $ac_n "cross compiling; assumed OK... $ac_c"
42250 cat >conftest.
$ac_ext <<_ACEOF
42253 cat confdefs.h
>>conftest.
$ac_ext
42254 cat >>conftest.
$ac_ext <<_ACEOF
42255 /* end confdefs.h. */
42258 #include <stdlib.h>
42259 #include <string.h>
42263 my_strdup (char *str)
42269 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42270 strcpy (new_str, str);
42278 int main (int argc, char *argv[])
42280 int major, minor, micro;
42283 /* This hangs on some systems (?)
42284 system ("touch conf.sdltest");
42286 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42288 /* HP/UX 9 (%@#!) writes to sscanf strings */
42289 tmp_version = my_strdup("$min_sdl_version");
42290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42291 printf("%s, bad version string\n", "$min_sdl_version");
42295 if (($sdl_major_version > major) ||
42296 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42297 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42303 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42304 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42305 printf("*** best to upgrade to the required version.\n");
42306 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42307 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42308 printf("*** config.cache before re-running configure\n");
42315 rm -f conftest
$ac_exeext
42316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42317 (eval $ac_link) 2>&5
42319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; }; then
42328 echo "$as_me: program exited with status $ac_status" >&5
42329 echo "$as_me: failed program was:" >&5
42330 sed 's/^/| /' conftest.
$ac_ext >&5
42332 ( exit $ac_status )
42335 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42337 CFLAGS
="$ac_save_CFLAGS"
42338 CXXFLAGS
="$ac_save_CXXFLAGS"
42339 LIBS
="$ac_save_LIBS"
42342 if test "x$no_sdl" = x
; then
42343 echo "$as_me:$LINENO: result: yes" >&5
42344 echo "${ECHO_T}yes" >&6
42346 EXTRALIBS_SDL
="$SDL_LIBS"
42347 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42348 cat >>confdefs.h
<<\_ACEOF
42349 #define wxUSE_LIBSDL 1
42354 echo "$as_me:$LINENO: result: no" >&5
42355 echo "${ECHO_T}no" >&6
42356 if test "$SDL_CONFIG" = "no" ; then
42357 echo "*** The sdl-config script installed by SDL could not be found"
42358 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42359 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42360 echo "*** full path to sdl-config."
42362 if test -f conf.sdltest
; then
42365 echo "*** Could not run SDL test program, checking why..."
42366 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42367 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42368 LIBS
="$LIBS $SDL_LIBS"
42369 cat >conftest.
$ac_ext <<_ACEOF
42372 cat confdefs.h
>>conftest.
$ac_ext
42373 cat >>conftest.
$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42379 int main(int argc, char *argv[])
42382 #define main K_and_R_C_main
42392 rm -f conftest.
$ac_objext conftest
$ac_exeext
42393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42394 (eval $ac_link) 2>conftest.er1
42396 grep -v '^ *+' conftest.er1
>conftest.err
42398 cat conftest.err
>&5
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); } &&
42401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42403 (eval $ac_try) 2>&5
42405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42406 (exit $ac_status); }; } &&
42407 { ac_try
='test -s conftest$ac_exeext'
42408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42409 (eval $ac_try) 2>&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); }; }; then
42413 echo "*** The test program compiled, but did not run. This usually means"
42414 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42415 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42416 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42417 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42418 echo "*** is required on your system"
42420 echo "*** If you have an old version installed, it is best to remove it, although"
42421 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42423 echo "$as_me: failed program was:" >&5
42424 sed 's/^/| /' conftest.
$ac_ext >&5
42426 echo "*** The test program failed to compile or link. See the file config.log for the"
42427 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42428 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42429 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42431 rm -f conftest.err conftest.
$ac_objext \
42432 conftest
$ac_exeext conftest.
$ac_ext
42433 CFLAGS
="$ac_save_CFLAGS"
42434 CXXFLAGS
="$ac_save_CXXFLAGS"
42435 LIBS
="$ac_save_LIBS"
42446 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42452 cat >>confdefs.h
<<\_ACEOF
42453 #define wxUSE_SOUND 1
42456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42459 if test "$WXGTK20" = 1; then
42460 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42461 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42465 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42466 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42468 if test -n "$PKG_CONFIG"; then
42469 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42470 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42472 if test -n "$PKG_CONFIG" && \
42473 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42474 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); }; then
42478 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42486 if test -n "$PKG_CONFIG"; then
42487 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42488 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42490 if test -n "$PKG_CONFIG" && \
42491 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42492 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495 (exit $ac_status); }; then
42496 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42507 if test $pkg_failed = yes; then
42509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42510 _pkg_short_errors_supported
=yes
42512 _pkg_short_errors_supported
=no
42514 if test $_pkg_short_errors_supported = yes; then
42515 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42517 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42519 # Put the nasty error message in config.log where it belongs
42520 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42523 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42524 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42525 wxUSE_LIBGNOMEPRINT
="no"
42528 elif test $pkg_failed = untried
; then
42530 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42531 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42532 wxUSE_LIBGNOMEPRINT
="no"
42536 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42537 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42538 echo "$as_me:$LINENO: result: yes" >&5
42539 echo "${ECHO_T}yes" >&6
42541 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42542 cat >>confdefs.h
<<\_ACEOF
42543 #define wxUSE_LIBGNOMEPRINT 1
42552 if test "$WXGTK20" = 1; then
42553 if test "$wxUSE_MIMETYPE" = "yes" ; then
42554 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42558 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42559 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42561 if test -n "$PKG_CONFIG"; then
42562 if test -n "$GNOMEVFS_CFLAGS"; then
42563 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42565 if test -n "$PKG_CONFIG" && \
42566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42567 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); }; then
42571 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42579 if test -n "$PKG_CONFIG"; then
42580 if test -n "$GNOMEVFS_LIBS"; then
42581 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42583 if test -n "$PKG_CONFIG" && \
42584 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42585 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42588 (exit $ac_status); }; then
42589 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42600 if test $pkg_failed = yes; then
42602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42603 _pkg_short_errors_supported
=yes
42605 _pkg_short_errors_supported
=no
42607 if test $_pkg_short_errors_supported = yes; then
42608 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42610 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42612 # Put the nasty error message in config.log where it belongs
42613 echo "$GNOMEVFS_PKG_ERRORS" >&5
42616 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42617 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42618 wxUSE_LIBGNOMEVFS
="no"
42621 elif test $pkg_failed = untried
; then
42623 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42624 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42625 wxUSE_LIBGNOMEVFS
="no"
42629 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42630 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42631 echo "$as_me:$LINENO: result: yes" >&5
42632 echo "${ECHO_T}yes" >&6
42634 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42635 cat >>confdefs.h
<<\_ACEOF
42636 #define wxUSE_LIBGNOMEVFS 1
42645 if test "$WXGTK20" = 1; then
42646 if test "$wxUSE_LIBHILDON" = "yes" ; then
42649 echo "$as_me:$LINENO: checking for HILDON" >&5
42650 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42652 if test -n "$PKG_CONFIG"; then
42653 if test -n "$HILDON_CFLAGS"; then
42654 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42656 if test -n "$PKG_CONFIG" && \
42657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42658 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661 (exit $ac_status); }; then
42662 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42670 if test -n "$PKG_CONFIG"; then
42671 if test -n "$HILDON_LIBS"; then
42672 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42674 if test -n "$PKG_CONFIG" && \
42675 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42676 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42679 (exit $ac_status); }; then
42680 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42691 if test $pkg_failed = yes; then
42693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42694 _pkg_short_errors_supported
=yes
42696 _pkg_short_errors_supported
=no
42698 if test $_pkg_short_errors_supported = yes; then
42699 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42701 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42703 # Put the nasty error message in config.log where it belongs
42704 echo "$HILDON_PKG_ERRORS" >&5
42707 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42708 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42709 wxUSE_LIBHILDON
="no"
42712 elif test $pkg_failed = untried
; then
42714 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42715 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42716 wxUSE_LIBHILDON
="no"
42720 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42721 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42722 echo "$as_me:$LINENO: result: yes" >&5
42723 echo "${ECHO_T}yes" >&6
42725 EXTRALIBS_HILDON
="$HILDON_LIBS"
42726 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42727 cat >>confdefs.h
<<\_ACEOF
42728 #define wxUSE_LIBHILDON 1
42736 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42737 cat >>confdefs.h
<<\_ACEOF
42738 #define wxUSE_CMDLINE_PARSER 1
42743 if test "$wxUSE_STOPWATCH" = "yes"; then
42744 cat >>confdefs.h
<<\_ACEOF
42745 #define wxUSE_STOPWATCH 1
42750 if test "$wxUSE_DATETIME" = "yes"; then
42751 cat >>confdefs.h
<<\_ACEOF
42752 #define wxUSE_DATETIME 1
42757 if test "$wxUSE_FILE" = "yes"; then
42758 cat >>confdefs.h
<<\_ACEOF
42759 #define wxUSE_FILE 1
42764 if test "$wxUSE_FFILE" = "yes"; then
42765 cat >>confdefs.h
<<\_ACEOF
42766 #define wxUSE_FFILE 1
42771 if test "$wxUSE_FILESYSTEM" = "yes"; then
42772 cat >>confdefs.h
<<\_ACEOF
42773 #define wxUSE_FILESYSTEM 1
42778 if test "$wxUSE_FS_ZIP" = "yes"; then
42779 cat >>confdefs.h
<<\_ACEOF
42780 #define wxUSE_FS_ZIP 1
42785 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42786 cat >>confdefs.h
<<\_ACEOF
42787 #define wxUSE_ARCHIVE_STREAMS 1
42792 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42793 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42794 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42795 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42796 elif test "$wxUSE_ZLIB" = "no"; then
42797 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42798 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42800 cat >>confdefs.h
<<\_ACEOF
42801 #define wxUSE_ZIPSTREAM 1
42807 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42808 if test "$USE_UNIX" != 1; then
42809 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42810 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42811 wxUSE_ON_FATAL_EXCEPTION
=no
42813 cat >>confdefs.h
<<\_ACEOF
42814 #define wxUSE_ON_FATAL_EXCEPTION 1
42820 if test "$wxUSE_STACKWALKER" = "yes"; then
42821 cat >>confdefs.h
<<\_ACEOF
42822 #define wxUSE_STACKWALKER 1
42827 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42828 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42829 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42830 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42831 wxUSE_DEBUGREPORT
=no
42833 cat >>confdefs.h
<<\_ACEOF
42834 #define wxUSE_DEBUGREPORT 1
42837 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42843 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42844 cat >>confdefs.h
<<\_ACEOF
42845 #define wxUSE_SNGLINST_CHECKER 1
42850 if test "$wxUSE_BUSYINFO" = "yes"; then
42851 cat >>confdefs.h
<<\_ACEOF
42852 #define wxUSE_BUSYINFO 1
42857 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42858 cat >>confdefs.h
<<\_ACEOF
42859 #define wxUSE_STD_IOSTREAM 1
42864 if test "$wxUSE_STD_STRING" = "yes"; then
42865 cat >>confdefs.h
<<\_ACEOF
42866 #define wxUSE_STD_STRING 1
42871 if test "$wxUSE_STDPATHS" = "yes"; then
42872 cat >>confdefs.h
<<\_ACEOF
42873 #define wxUSE_STDPATHS 1
42878 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42879 cat >>confdefs.h
<<\_ACEOF
42880 #define wxUSE_TEXTBUFFER 1
42885 if test "$wxUSE_TEXTFILE" = "yes"; then
42886 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42887 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42888 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42890 cat >>confdefs.h
<<\_ACEOF
42891 #define wxUSE_TEXTFILE 1
42897 if test "$wxUSE_CONFIG" = "yes" ; then
42898 if test "$wxUSE_TEXTFILE" != "yes"; then
42899 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42900 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42902 cat >>confdefs.h
<<\_ACEOF
42903 #define wxUSE_CONFIG 1
42906 cat >>confdefs.h
<<\_ACEOF
42907 #define wxUSE_CONFIG_NATIVE 1
42910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42914 if test "$wxUSE_INTL" = "yes" ; then
42915 if test "$wxUSE_FILE" != "yes"; then
42916 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42917 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42919 cat >>confdefs.h
<<\_ACEOF
42920 #define wxUSE_INTL 1
42923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42924 GUIDIST
="$GUIDIST INTL_DIST"
42928 if test "$wxUSE_LOG" = "yes"; then
42929 cat >>confdefs.h
<<\_ACEOF
42930 #define wxUSE_LOG 1
42934 if test "$wxUSE_LOGGUI" = "yes"; then
42935 cat >>confdefs.h
<<\_ACEOF
42936 #define wxUSE_LOGGUI 1
42941 if test "$wxUSE_LOGWINDOW" = "yes"; then
42942 cat >>confdefs.h
<<\_ACEOF
42943 #define wxUSE_LOGWINDOW 1
42948 if test "$wxUSE_LOGDIALOG" = "yes"; then
42949 cat >>confdefs.h
<<\_ACEOF
42950 #define wxUSE_LOG_DIALOG 1
42955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42958 if test "$wxUSE_LONGLONG" = "yes"; then
42959 cat >>confdefs.h
<<\_ACEOF
42960 #define wxUSE_LONGLONG 1
42965 if test "$wxUSE_GEOMETRY" = "yes"; then
42966 cat >>confdefs.h
<<\_ACEOF
42967 #define wxUSE_GEOMETRY 1
42972 if test "$wxUSE_STREAMS" = "yes" ; then
42973 cat >>confdefs.h
<<\_ACEOF
42974 #define wxUSE_STREAMS 1
42979 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42980 cat >>confdefs.h
<<\_ACEOF
42981 #define wxUSE_PRINTF_POS_PARAMS 1
42988 if test "$wxUSE_DATETIME" = "yes"; then
42990 for ac_func
in strptime
42992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42993 echo "$as_me:$LINENO: checking for $ac_func" >&5
42994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42995 if eval "test \"\${$as_ac_var+set}\" = set"; then
42996 echo $ECHO_N "(cached) $ECHO_C" >&6
42998 cat >conftest.
$ac_ext <<_ACEOF
43001 cat confdefs.h
>>conftest.
$ac_ext
43002 cat >>conftest.
$ac_ext <<_ACEOF
43003 /* end confdefs.h. */
43004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43006 #define $ac_func innocuous_$ac_func
43008 /* System header to define __stub macros and hopefully few prototypes,
43009 which can conflict with char $ac_func (); below.
43010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43011 <limits.h> exists even on freestanding compilers. */
43014 # include <limits.h>
43016 # include <assert.h>
43021 /* Override any gcc2 internal prototype to avoid an error. */
43026 /* We use char because int might match the return type of a gcc2
43027 builtin and then its argument prototype would still apply. */
43029 /* The GNU C library defines this for functions which it implements
43030 to always fail with ENOSYS. Some functions are actually named
43031 something starting with __ and the normal name is an alias. */
43032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43035 char (*f) () = $ac_func;
43044 return f != $ac_func;
43049 rm -f conftest.
$ac_objext conftest
$ac_exeext
43050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43051 (eval $ac_link) 2>conftest.er1
43053 grep -v '^ *+' conftest.er1
>conftest.err
43055 cat conftest.err
>&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); } &&
43058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; } &&
43064 { ac_try
='test -s conftest$ac_exeext'
43065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066 (eval $ac_try) 2>&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); }; }; then
43070 eval "$as_ac_var=yes"
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.
$ac_ext >&5
43075 eval "$as_ac_var=no"
43077 rm -f conftest.err conftest.
$ac_objext \
43078 conftest
$ac_exeext conftest.
$ac_ext
43080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43082 if test `eval echo '${'$as_ac_var'}'` = yes; then
43083 cat >>confdefs.h
<<_ACEOF
43084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43090 if test "$ac_cv_func_strptime" = "yes"; then
43091 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43092 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43093 if test "${wx_cv_func_strptime_decl+set}" = set; then
43094 echo $ECHO_N "(cached) $ECHO_C" >&6
43097 cat >conftest.
$ac_ext <<_ACEOF
43100 cat confdefs.h
>>conftest.
$ac_ext
43101 cat >>conftest.
$ac_ext <<_ACEOF
43102 /* end confdefs.h. */
43111 strptime("foo", "bar", &t);
43117 rm -f conftest.
$ac_objext
43118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43119 (eval $ac_compile) 2>conftest.er1
43121 grep -v '^ *+' conftest.er1
>conftest.err
43123 cat conftest.err
>&5
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); } &&
43126 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43128 (eval $ac_try) 2>&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); }; } &&
43132 { ac_try
='test -s conftest.$ac_objext'
43133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43134 (eval $ac_try) 2>&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); }; }; then
43138 wx_cv_func_strptime_decl
=yes
43140 echo "$as_me: failed program was:" >&5
43141 sed 's/^/| /' conftest.
$ac_ext >&5
43143 wx_cv_func_strptime_decl
=no
43146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43150 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43151 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43153 if test "$wx_cv_func_strptime_decl" = "yes"; then
43154 cat >>confdefs.h
<<\_ACEOF
43155 #define HAVE_STRPTIME_DECL 1
43160 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43161 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43162 if test "${wx_cv_var_timezone+set}" = set; then
43163 echo $ECHO_N "(cached) $ECHO_C" >&6
43166 cat >conftest.
$ac_ext <<_ACEOF
43169 cat confdefs.h
>>conftest.
$ac_ext
43170 cat >>conftest.
$ac_ext <<_ACEOF
43171 /* end confdefs.h. */
43186 rm -f conftest.
$ac_objext
43187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43188 (eval $ac_compile) 2>conftest.er1
43190 grep -v '^ *+' conftest.er1
>conftest.err
43192 cat conftest.err
>&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } &&
43195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; } &&
43201 { ac_try
='test -s conftest.$ac_objext'
43202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43203 (eval $ac_try) 2>&5
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); }; }; then
43208 wx_cv_var_timezone
=timezone
43211 echo "$as_me: failed program was:" >&5
43212 sed 's/^/| /' conftest.
$ac_ext >&5
43215 cat >conftest.
$ac_ext <<_ACEOF
43218 cat confdefs.h
>>conftest.
$ac_ext
43219 cat >>conftest.
$ac_ext <<_ACEOF
43220 /* end confdefs.h. */
43235 rm -f conftest.
$ac_objext
43236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43237 (eval $ac_compile) 2>conftest.er1
43239 grep -v '^ *+' conftest.er1
>conftest.err
43241 cat conftest.err
>&5
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); } &&
43244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43246 (eval $ac_try) 2>&5
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); }; } &&
43250 { ac_try
='test -s conftest.$ac_objext'
43251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43252 (eval $ac_try) 2>&5
43254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43255 (exit $ac_status); }; }; then
43257 wx_cv_var_timezone
=_timezone
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.
$ac_ext >&5
43264 cat >conftest.
$ac_ext <<_ACEOF
43267 cat confdefs.h
>>conftest.
$ac_ext
43268 cat >>conftest.
$ac_ext <<_ACEOF
43269 /* end confdefs.h. */
43284 rm -f conftest.
$ac_objext
43285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43286 (eval $ac_compile) 2>conftest.er1
43288 grep -v '^ *+' conftest.er1
>conftest.err
43290 cat conftest.err
>&5
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); } &&
43293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43295 (eval $ac_try) 2>&5
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); }; } &&
43299 { ac_try
='test -s conftest.$ac_objext'
43300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43301 (eval $ac_try) 2>&5
43303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43304 (exit $ac_status); }; }; then
43306 wx_cv_var_timezone
=__timezone
43309 echo "$as_me: failed program was:" >&5
43310 sed 's/^/| /' conftest.
$ac_ext >&5
43313 if test "$USE_DOS" = 0 ; then
43314 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43315 echo "$as_me: WARNING: no timezone variable" >&2;}
43320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43332 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43333 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43335 if test "x$wx_cv_var_timezone" != x
; then
43336 cat >>confdefs.h
<<_ACEOF
43337 #define WX_TIMEZONE $wx_cv_var_timezone
43343 for ac_func
in localtime
43345 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43346 echo "$as_me:$LINENO: checking for $ac_func" >&5
43347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43348 if eval "test \"\${$as_ac_var+set}\" = set"; then
43349 echo $ECHO_N "(cached) $ECHO_C" >&6
43351 cat >conftest.
$ac_ext <<_ACEOF
43354 cat confdefs.h
>>conftest.
$ac_ext
43355 cat >>conftest.
$ac_ext <<_ACEOF
43356 /* end confdefs.h. */
43357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43359 #define $ac_func innocuous_$ac_func
43361 /* System header to define __stub macros and hopefully few prototypes,
43362 which can conflict with char $ac_func (); below.
43363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43364 <limits.h> exists even on freestanding compilers. */
43367 # include <limits.h>
43369 # include <assert.h>
43374 /* Override any gcc2 internal prototype to avoid an error. */
43379 /* We use char because int might match the return type of a gcc2
43380 builtin and then its argument prototype would still apply. */
43382 /* The GNU C library defines this for functions which it implements
43383 to always fail with ENOSYS. Some functions are actually named
43384 something starting with __ and the normal name is an alias. */
43385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43388 char (*f) () = $ac_func;
43397 return f != $ac_func;
43402 rm -f conftest.
$ac_objext conftest
$ac_exeext
43403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43404 (eval $ac_link) 2>conftest.er1
43406 grep -v '^ *+' conftest.er1
>conftest.err
43408 cat conftest.err
>&5
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); } &&
43411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43413 (eval $ac_try) 2>&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); }; } &&
43417 { ac_try
='test -s conftest$ac_exeext'
43418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43419 (eval $ac_try) 2>&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); }; }; then
43423 eval "$as_ac_var=yes"
43425 echo "$as_me: failed program was:" >&5
43426 sed 's/^/| /' conftest.
$ac_ext >&5
43428 eval "$as_ac_var=no"
43430 rm -f conftest.err conftest.
$ac_objext \
43431 conftest
$ac_exeext conftest.
$ac_ext
43433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43435 if test `eval echo '${'$as_ac_var'}'` = yes; then
43436 cat >>confdefs.h
<<_ACEOF
43437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43444 if test "$ac_cv_func_localtime" = "yes"; then
43445 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43446 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43447 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43448 echo $ECHO_N "(cached) $ECHO_C" >&6
43451 cat >conftest.
$ac_ext <<_ACEOF
43454 cat confdefs.h
>>conftest.
$ac_ext
43455 cat >>conftest.
$ac_ext <<_ACEOF
43456 /* end confdefs.h. */
43471 rm -f conftest.
$ac_objext
43472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43473 (eval $ac_compile) 2>conftest.er1
43475 grep -v '^ *+' conftest.er1
>conftest.err
43477 cat conftest.err
>&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } &&
43480 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43482 (eval $ac_try) 2>&5
43484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485 (exit $ac_status); }; } &&
43486 { ac_try
='test -s conftest.$ac_objext'
43487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43488 (eval $ac_try) 2>&5
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); }; }; then
43493 wx_cv_struct_tm_has_gmtoff
=yes
43496 echo "$as_me: failed program was:" >&5
43497 sed 's/^/| /' conftest.
$ac_ext >&5
43499 wx_cv_struct_tm_has_gmtoff
=no
43502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43505 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43506 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43509 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43510 cat >>confdefs.h
<<\_ACEOF
43511 #define WX_GMTOFF_IN_TM 1
43518 for ac_func
in gettimeofday ftime
43520 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43521 echo "$as_me:$LINENO: checking for $ac_func" >&5
43522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43523 if eval "test \"\${$as_ac_var+set}\" = set"; then
43524 echo $ECHO_N "(cached) $ECHO_C" >&6
43526 cat >conftest.
$ac_ext <<_ACEOF
43529 cat confdefs.h
>>conftest.
$ac_ext
43530 cat >>conftest.
$ac_ext <<_ACEOF
43531 /* end confdefs.h. */
43532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43534 #define $ac_func innocuous_$ac_func
43536 /* System header to define __stub macros and hopefully few prototypes,
43537 which can conflict with char $ac_func (); below.
43538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43539 <limits.h> exists even on freestanding compilers. */
43542 # include <limits.h>
43544 # include <assert.h>
43549 /* Override any gcc2 internal prototype to avoid an error. */
43554 /* We use char because int might match the return type of a gcc2
43555 builtin and then its argument prototype would still apply. */
43557 /* The GNU C library defines this for functions which it implements
43558 to always fail with ENOSYS. Some functions are actually named
43559 something starting with __ and the normal name is an alias. */
43560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43563 char (*f) () = $ac_func;
43572 return f != $ac_func;
43577 rm -f conftest.
$ac_objext conftest
$ac_exeext
43578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43579 (eval $ac_link) 2>conftest.er1
43581 grep -v '^ *+' conftest.er1
>conftest.err
43583 cat conftest.err
>&5
43584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585 (exit $ac_status); } &&
43586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43588 (eval $ac_try) 2>&5
43590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591 (exit $ac_status); }; } &&
43592 { ac_try
='test -s conftest$ac_exeext'
43593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43594 (eval $ac_try) 2>&5
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); }; }; then
43598 eval "$as_ac_var=yes"
43600 echo "$as_me: failed program was:" >&5
43601 sed 's/^/| /' conftest.
$ac_ext >&5
43603 eval "$as_ac_var=no"
43605 rm -f conftest.err conftest.
$ac_objext \
43606 conftest
$ac_exeext conftest.
$ac_ext
43608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43610 if test `eval echo '${'$as_ac_var'}'` = yes; then
43611 cat >>confdefs.h
<<_ACEOF
43612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43619 if test "$ac_cv_func_gettimeofday" = "yes"; then
43620 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43621 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43622 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43623 echo $ECHO_N "(cached) $ECHO_C" >&6
43626 cat >conftest.
$ac_ext <<_ACEOF
43629 cat confdefs.h
>>conftest.
$ac_ext
43630 cat >>conftest.
$ac_ext <<_ACEOF
43631 /* end confdefs.h. */
43633 #include <sys/time.h>
43634 #include <unistd.h>
43641 gettimeofday(&tv, NULL);
43647 rm -f conftest.
$ac_objext
43648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43649 (eval $ac_compile) 2>conftest.er1
43651 grep -v '^ *+' conftest.er1
>conftest.err
43653 cat conftest.err
>&5
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); } &&
43656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658 (eval $ac_try) 2>&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; } &&
43662 { ac_try
='test -s conftest.$ac_objext'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; }; then
43668 wx_cv_func_gettimeofday_has_2_args
=yes
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.
$ac_ext >&5
43673 cat >conftest.
$ac_ext <<_ACEOF
43676 cat confdefs.h
>>conftest.
$ac_ext
43677 cat >>conftest.
$ac_ext <<_ACEOF
43678 /* end confdefs.h. */
43680 #include <sys/time.h>
43681 #include <unistd.h>
43694 rm -f conftest.
$ac_objext
43695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43696 (eval $ac_compile) 2>conftest.er1
43698 grep -v '^ *+' conftest.er1
>conftest.err
43700 cat conftest.err
>&5
43701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43702 (exit $ac_status); } &&
43703 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43705 (eval $ac_try) 2>&5
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); }; } &&
43709 { ac_try
='test -s conftest.$ac_objext'
43710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43711 (eval $ac_try) 2>&5
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); }; }; then
43715 wx_cv_func_gettimeofday_has_2_args
=no
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.
$ac_ext >&5
43721 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43722 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43723 wx_cv_func_gettimeofday_has_2_args
=unknown
43727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43733 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43734 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43736 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43737 cat >>confdefs.h
<<\_ACEOF
43738 #define WX_GETTIMEOFDAY_NO_TZ 1
43744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43748 if test "$wxUSE_SOCKETS" = "yes"; then
43749 if test "$wxUSE_MGL" = "1"; then
43750 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43751 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43756 if test "$wxUSE_SOCKETS" = "yes"; then
43757 if test "$TOOLKIT" != "MSW"; then
43758 echo "$as_me:$LINENO: checking for socket" >&5
43759 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43760 if test "${ac_cv_func_socket+set}" = set; then
43761 echo $ECHO_N "(cached) $ECHO_C" >&6
43763 cat >conftest.
$ac_ext <<_ACEOF
43766 cat confdefs.h
>>conftest.
$ac_ext
43767 cat >>conftest.
$ac_ext <<_ACEOF
43768 /* end confdefs.h. */
43769 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43771 #define socket innocuous_socket
43773 /* System header to define __stub macros and hopefully few prototypes,
43774 which can conflict with char socket (); below.
43775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43776 <limits.h> exists even on freestanding compilers. */
43779 # include <limits.h>
43781 # include <assert.h>
43786 /* Override any gcc2 internal prototype to avoid an error. */
43791 /* We use char because int might match the return type of a gcc2
43792 builtin and then its argument prototype would still apply. */
43794 /* The GNU C library defines this for functions which it implements
43795 to always fail with ENOSYS. Some functions are actually named
43796 something starting with __ and the normal name is an alias. */
43797 #if defined (__stub_socket) || defined (__stub___socket)
43800 char (*f) () = socket;
43809 return f != socket;
43814 rm -f conftest.
$ac_objext conftest
$ac_exeext
43815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43816 (eval $ac_link) 2>conftest.er1
43818 grep -v '^ *+' conftest.er1
>conftest.err
43820 cat conftest.err
>&5
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); } &&
43823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43825 (eval $ac_try) 2>&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); }; } &&
43829 { ac_try
='test -s conftest$ac_exeext'
43830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43831 (eval $ac_try) 2>&5
43833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43834 (exit $ac_status); }; }; then
43835 ac_cv_func_socket
=yes
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.
$ac_ext >&5
43840 ac_cv_func_socket
=no
43842 rm -f conftest.err conftest.
$ac_objext \
43843 conftest
$ac_exeext conftest.
$ac_ext
43845 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43846 echo "${ECHO_T}$ac_cv_func_socket" >&6
43847 if test $ac_cv_func_socket = yes; then
43851 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43852 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43853 if test "${ac_cv_lib_socket_socket+set}" = set; then
43854 echo $ECHO_N "(cached) $ECHO_C" >&6
43856 ac_check_lib_save_LIBS
=$LIBS
43857 LIBS
="-lsocket $LIBS"
43858 cat >conftest.
$ac_ext <<_ACEOF
43861 cat confdefs.h
>>conftest.
$ac_ext
43862 cat >>conftest.
$ac_ext <<_ACEOF
43863 /* end confdefs.h. */
43865 /* Override any gcc2 internal prototype to avoid an error. */
43869 /* We use char because int might match the return type of a gcc2
43870 builtin and then its argument prototype would still apply. */
43880 rm -f conftest.
$ac_objext conftest
$ac_exeext
43881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43882 (eval $ac_link) 2>conftest.er1
43884 grep -v '^ *+' conftest.er1
>conftest.err
43886 cat conftest.err
>&5
43887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888 (exit $ac_status); } &&
43889 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43891 (eval $ac_try) 2>&5
43893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43894 (exit $ac_status); }; } &&
43895 { ac_try
='test -s conftest$ac_exeext'
43896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43897 (eval $ac_try) 2>&5
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); }; }; then
43901 ac_cv_lib_socket_socket
=yes
43903 echo "$as_me: failed program was:" >&5
43904 sed 's/^/| /' conftest.
$ac_ext >&5
43906 ac_cv_lib_socket_socket
=no
43908 rm -f conftest.err conftest.
$ac_objext \
43909 conftest
$ac_exeext conftest.
$ac_ext
43910 LIBS
=$ac_check_lib_save_LIBS
43912 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43913 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43914 if test $ac_cv_lib_socket_socket = yes; then
43915 if test "$INET_LINK" != " -lsocket"; then
43916 INET_LINK
="$INET_LINK -lsocket"
43920 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43921 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43934 if test "$wxUSE_SOCKETS" = "yes" ; then
43935 if test "$TOOLKIT" != "MSW"; then
43936 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43937 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43938 if test "${wx_cv_type_getsockname3+set}" = set; then
43939 echo $ECHO_N "(cached) $ECHO_C" >&6
43942 cat >conftest.
$ac_ext <<_ACEOF
43945 cat confdefs.h
>>conftest.
$ac_ext
43946 cat >>conftest.
$ac_ext <<_ACEOF
43947 /* end confdefs.h. */
43949 #include <sys/types.h>
43950 #include <sys/socket.h>
43957 getsockname(0, 0, &len);
43963 rm -f conftest.
$ac_objext
43964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43965 (eval $ac_compile) 2>conftest.er1
43967 grep -v '^ *+' conftest.er1
>conftest.err
43969 cat conftest.err
>&5
43970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43971 (exit $ac_status); } &&
43972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43974 (eval $ac_try) 2>&5
43976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43977 (exit $ac_status); }; } &&
43978 { ac_try
='test -s conftest.$ac_objext'
43979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43980 (eval $ac_try) 2>&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); }; }; then
43984 wx_cv_type_getsockname3
=socklen_t
43986 echo "$as_me: failed program was:" >&5
43987 sed 's/^/| /' conftest.
$ac_ext >&5
43990 CXXFLAGS_OLD
="$CXXFLAGS"
43991 if test "$GCC" = yes ; then
43992 CXXFLAGS
="-Werror $CXXFLAGS"
43995 cat >conftest.
$ac_ext <<_ACEOF
43998 cat confdefs.h
>>conftest.
$ac_ext
43999 cat >>conftest.
$ac_ext <<_ACEOF
44000 /* end confdefs.h. */
44002 #include <sys/types.h>
44003 #include <sys/socket.h>
44010 getsockname(0, 0, &len);
44016 rm -f conftest.
$ac_objext
44017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44018 (eval $ac_compile) 2>conftest.er1
44020 grep -v '^ *+' conftest.er1
>conftest.err
44022 cat conftest.err
>&5
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); } &&
44025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027 (eval $ac_try) 2>&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); }; } &&
44031 { ac_try
='test -s conftest.$ac_objext'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; }; then
44037 wx_cv_type_getsockname3
=size_t
44039 echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.
$ac_ext >&5
44042 cat >conftest.
$ac_ext <<_ACEOF
44045 cat confdefs.h
>>conftest.
$ac_ext
44046 cat >>conftest.
$ac_ext <<_ACEOF
44047 /* end confdefs.h. */
44049 #include <sys/types.h>
44050 #include <sys/socket.h>
44057 getsockname(0, 0, &len);
44063 rm -f conftest.
$ac_objext
44064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44065 (eval $ac_compile) 2>conftest.er1
44067 grep -v '^ *+' conftest.er1
>conftest.err
44069 cat conftest.err
>&5
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); } &&
44072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44074 (eval $ac_try) 2>&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; } &&
44078 { ac_try
='test -s conftest.$ac_objext'
44079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080 (eval $ac_try) 2>&5
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); }; }; then
44084 wx_cv_type_getsockname3
=int
44086 echo "$as_me: failed program was:" >&5
44087 sed 's/^/| /' conftest.
$ac_ext >&5
44089 wx_cv_type_getsockname3
=unknown
44092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44097 CXXFLAGS
="$CXXFLAGS_OLD"
44101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44104 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44105 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44107 if test "$wx_cv_type_getsockname3" = "unknown"; then
44109 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44110 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44112 cat >>confdefs.h
<<_ACEOF
44113 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44117 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44118 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44119 if test "${wx_cv_type_getsockopt5+set}" = set; then
44120 echo $ECHO_N "(cached) $ECHO_C" >&6
44123 cat >conftest.
$ac_ext <<_ACEOF
44126 cat confdefs.h
>>conftest.
$ac_ext
44127 cat >>conftest.
$ac_ext <<_ACEOF
44128 /* end confdefs.h. */
44130 #include <sys/types.h>
44131 #include <sys/socket.h>
44138 getsockopt(0, 0, 0, 0, &len);
44144 rm -f conftest.
$ac_objext
44145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44146 (eval $ac_compile) 2>conftest.er1
44148 grep -v '^ *+' conftest.er1
>conftest.err
44150 cat conftest.err
>&5
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); } &&
44153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44155 (eval $ac_try) 2>&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); }; } &&
44159 { ac_try
='test -s conftest.$ac_objext'
44160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44161 (eval $ac_try) 2>&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); }; }; then
44165 wx_cv_type_getsockopt5
=socklen_t
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.
$ac_ext >&5
44171 CXXFLAGS_OLD
="$CXXFLAGS"
44172 if test "$GCC" = yes ; then
44173 CXXFLAGS
="-Werror $CXXFLAGS"
44176 cat >conftest.
$ac_ext <<_ACEOF
44179 cat confdefs.h
>>conftest.
$ac_ext
44180 cat >>conftest.
$ac_ext <<_ACEOF
44181 /* end confdefs.h. */
44183 #include <sys/types.h>
44184 #include <sys/socket.h>
44191 getsockopt(0, 0, 0, 0, &len);
44197 rm -f conftest.
$ac_objext
44198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44199 (eval $ac_compile) 2>conftest.er1
44201 grep -v '^ *+' conftest.er1
>conftest.err
44203 cat conftest.err
>&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } &&
44206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44208 (eval $ac_try) 2>&5
44210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44211 (exit $ac_status); }; } &&
44212 { ac_try
='test -s conftest.$ac_objext'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; }; then
44218 wx_cv_type_getsockopt5
=size_t
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.
$ac_ext >&5
44223 cat >conftest.
$ac_ext <<_ACEOF
44226 cat confdefs.h
>>conftest.
$ac_ext
44227 cat >>conftest.
$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44230 #include <sys/types.h>
44231 #include <sys/socket.h>
44238 getsockopt(0, 0, 0, 0, &len);
44244 rm -f conftest.
$ac_objext
44245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44246 (eval $ac_compile) 2>conftest.er1
44248 grep -v '^ *+' conftest.er1
>conftest.err
44250 cat conftest.err
>&5
44251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44252 (exit $ac_status); } &&
44253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44255 (eval $ac_try) 2>&5
44257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44258 (exit $ac_status); }; } &&
44259 { ac_try
='test -s conftest.$ac_objext'
44260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44261 (eval $ac_try) 2>&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); }; }; then
44265 wx_cv_type_getsockopt5
=int
44267 echo "$as_me: failed program was:" >&5
44268 sed 's/^/| /' conftest.
$ac_ext >&5
44270 wx_cv_type_getsockopt5
=unknown
44273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44278 CXXFLAGS
="$CXXFLAGS_OLD"
44282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44285 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44286 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44288 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44290 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44291 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44293 cat >>confdefs.h
<<_ACEOF
44294 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44301 if test "$wxUSE_SOCKETS" = "yes" ; then
44302 cat >>confdefs.h
<<\_ACEOF
44303 #define wxUSE_SOCKETS 1
44306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44309 if test "$wxUSE_PROTOCOL" = "yes"; then
44310 if test "$wxUSE_SOCKETS" != "yes"; then
44311 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44312 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44317 if test "$wxUSE_PROTOCOL" = "yes"; then
44318 cat >>confdefs.h
<<\_ACEOF
44319 #define wxUSE_PROTOCOL 1
44323 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44324 cat >>confdefs.h
<<\_ACEOF
44325 #define wxUSE_PROTOCOL_HTTP 1
44329 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44330 cat >>confdefs.h
<<\_ACEOF
44331 #define wxUSE_PROTOCOL_FTP 1
44335 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44336 cat >>confdefs.h
<<\_ACEOF
44337 #define wxUSE_PROTOCOL_FILE 1
44342 if test "$wxUSE_FS_INET" = "yes"; then
44343 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44344 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44349 if test "$wxUSE_URL" = "yes"; then
44350 if test "$wxUSE_PROTOCOL" != "yes"; then
44351 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44352 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44355 if test "$wxUSE_URL" = "yes"; then
44356 cat >>confdefs.h
<<\_ACEOF
44357 #define wxUSE_URL 1
44363 if test "$wxUSE_VARIANT" = "yes"; then
44364 cat >>confdefs.h
<<\_ACEOF
44365 #define wxUSE_VARIANT 1
44370 if test "$wxUSE_FS_INET" = "yes"; then
44371 cat >>confdefs.h
<<\_ACEOF
44372 #define wxUSE_FS_INET 1
44378 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44381 if test "$TOOLKIT" = "MSW"; then
44384 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44385 if test "$USE_DARWIN" = 1; then
44386 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44387 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44388 cat >conftest.
$ac_ext <<_ACEOF
44391 cat confdefs.h
>>conftest.
$ac_ext
44392 cat >>conftest.
$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44394 #include <IOKit/hid/IOHIDLib.h>
44398 IOHIDQueueInterface *qi = NULL;
44399 IOHIDCallbackFunction cb = NULL;
44400 qi->setEventCallout(NULL, cb, NULL, NULL);
44405 rm -f conftest.
$ac_objext
44406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44407 (eval $ac_compile) 2>conftest.er1
44409 grep -v '^ *+' conftest.er1
>conftest.err
44411 cat conftest.err
>&5
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); } &&
44414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416 (eval $ac_try) 2>&5
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; } &&
44420 { ac_try
='test -s conftest.$ac_objext'
44421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44422 (eval $ac_try) 2>&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); }; }; then
44429 echo "$as_me: failed program was:" >&5
44430 sed 's/^/| /' conftest.
$ac_ext >&5
44433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44434 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44435 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44440 for ac_header
in linux
/joystick.h
44442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44444 echo "$as_me:$LINENO: checking for $ac_header" >&5
44445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44447 echo $ECHO_N "(cached) $ECHO_C" >&6
44449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44452 # Is the header compilable?
44453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44455 cat >conftest.
$ac_ext <<_ACEOF
44458 cat confdefs.h
>>conftest.
$ac_ext
44459 cat >>conftest.
$ac_ext <<_ACEOF
44460 /* end confdefs.h. */
44461 $ac_includes_default
44462 #include <$ac_header>
44464 rm -f conftest.
$ac_objext
44465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44466 (eval $ac_compile) 2>conftest.er1
44468 grep -v '^ *+' conftest.er1
>conftest.err
44470 cat conftest.err
>&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } &&
44473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44475 (eval $ac_try) 2>&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); }; } &&
44479 { ac_try
='test -s conftest.$ac_objext'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; }; then
44485 ac_header_compiler
=yes
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.
$ac_ext >&5
44490 ac_header_compiler
=no
44492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44494 echo "${ECHO_T}$ac_header_compiler" >&6
44496 # Is the header present?
44497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44499 cat >conftest.
$ac_ext <<_ACEOF
44502 cat confdefs.h
>>conftest.
$ac_ext
44503 cat >>conftest.
$ac_ext <<_ACEOF
44504 /* end confdefs.h. */
44505 #include <$ac_header>
44507 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44508 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44510 grep -v '^ *+' conftest.er1
>conftest.err
44512 cat conftest.err
>&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } >/dev
/null
; then
44515 if test -s conftest.err
; then
44516 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44517 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44524 if test -z "$ac_cpp_err"; then
44525 ac_header_preproc
=yes
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.
$ac_ext >&5
44530 ac_header_preproc
=no
44532 rm -f conftest.err conftest.
$ac_ext
44533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44534 echo "${ECHO_T}$ac_header_preproc" >&6
44536 # So? What about this header?
44537 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44543 ac_header_preproc
=yes
44546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44549 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44550 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44551 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44552 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44553 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44556 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44557 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44560 ## ----------------------------------------- ##
44561 ## Report this to wx-dev@lists.wxwidgets.org ##
44562 ## ----------------------------------------- ##
44565 sed "s/^/$as_me: WARNING: /" >&2
44568 echo "$as_me:$LINENO: checking for $ac_header" >&5
44569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44571 echo $ECHO_N "(cached) $ECHO_C" >&6
44573 eval "$as_ac_Header=\$ac_header_preproc"
44575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44580 cat >>confdefs.h
<<_ACEOF
44581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44590 if test "$wxUSE_JOYSTICK" = "yes"; then
44591 cat >>confdefs.h
<<\_ACEOF
44592 #define wxUSE_JOYSTICK 1
44595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44597 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44598 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44604 if test "$wxUSE_FONTMAP" = "yes" ; then
44605 cat >>confdefs.h
<<\_ACEOF
44606 #define wxUSE_FONTMAP 1
44611 if test "$wxUSE_UNICODE" = "yes" ; then
44612 cat >>confdefs.h
<<\_ACEOF
44613 #define wxUSE_UNICODE 1
44617 if test "$USE_WIN32" != 1; then
44618 wxUSE_UNICODE_MSLU
=no
44621 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44622 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44623 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44624 if test "${ac_cv_lib_unicows_main+set}" = set; then
44625 echo $ECHO_N "(cached) $ECHO_C" >&6
44627 ac_check_lib_save_LIBS
=$LIBS
44628 LIBS
="-lunicows $LIBS"
44629 cat >conftest.
$ac_ext <<_ACEOF
44632 cat confdefs.h
>>conftest.
$ac_ext
44633 cat >>conftest.
$ac_ext <<_ACEOF
44634 /* end confdefs.h. */
44645 rm -f conftest.
$ac_objext conftest
$ac_exeext
44646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44647 (eval $ac_link) 2>conftest.er1
44649 grep -v '^ *+' conftest.er1
>conftest.err
44651 cat conftest.err
>&5
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); } &&
44654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44656 (eval $ac_try) 2>&5
44658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44659 (exit $ac_status); }; } &&
44660 { ac_try
='test -s conftest$ac_exeext'
44661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44662 (eval $ac_try) 2>&5
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); }; }; then
44666 ac_cv_lib_unicows_main
=yes
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.
$ac_ext >&5
44671 ac_cv_lib_unicows_main
=no
44673 rm -f conftest.err conftest.
$ac_objext \
44674 conftest
$ac_exeext conftest.
$ac_ext
44675 LIBS
=$ac_check_lib_save_LIBS
44677 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44678 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44679 if test $ac_cv_lib_unicows_main = yes; then
44681 cat >>confdefs.h
<<\_ACEOF
44682 #define wxUSE_UNICODE_MSLU 1
44688 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44689 Applications will only run on Windows NT/2000/XP!" >&5
44690 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44691 Applications will only run on Windows NT/2000/XP!" >&2;}
44692 wxUSE_UNICODE_MSLU
=no
44699 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_EXPERIMENTAL_PRINTF 1
44707 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44708 cat >>confdefs.h
<<\_ACEOF
44709 #define wxUSE_POSTSCRIPT 1
44714 cat >>confdefs.h
<<\_ACEOF
44715 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_NORMALIZED_PS_FONTS 1
44725 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_CONSTRAINTS 1
44730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44733 if test "$wxUSE_MDI" = "yes"; then
44734 cat >>confdefs.h
<<\_ACEOF
44735 #define wxUSE_MDI 1
44739 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_MDI_ARCHITECTURE 1
44744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44749 cat >>confdefs.h
<<\_ACEOF
44750 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44754 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44759 if test "$wxUSE_HELP" = "yes"; then
44760 cat >>confdefs.h
<<\_ACEOF
44761 #define wxUSE_HELP 1
44764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44766 if test "$wxUSE_MSW" = 1; then
44767 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_MS_HTML_HELP 1
44775 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44776 if test "$wxUSE_HTML" = "yes"; then
44777 cat >>confdefs.h
<<\_ACEOF
44778 #define wxUSE_WXHTML_HELP 1
44782 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44783 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44784 wxUSE_WXHTML_HELP
=no
44789 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44790 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44791 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44792 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44794 cat >>confdefs.h
<<\_ACEOF
44795 #define wxUSE_PRINTING_ARCHITECTURE 1
44799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44802 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44803 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44804 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44805 { (exit 1); exit 1; }; }
44809 if test "$wxUSE_METAFILE" = "yes"; then
44810 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44811 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44812 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44818 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44819 -o "$wxUSE_CLIPBOARD" = "yes" \
44820 -o "$wxUSE_OLE" = "yes" \
44821 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44823 for ac_header
in ole2.h
44825 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44827 echo "$as_me:$LINENO: checking for $ac_header" >&5
44828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44830 echo $ECHO_N "(cached) $ECHO_C" >&6
44832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44835 # Is the header compilable?
44836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44838 cat >conftest.
$ac_ext <<_ACEOF
44841 cat confdefs.h
>>conftest.
$ac_ext
44842 cat >>conftest.
$ac_ext <<_ACEOF
44843 /* end confdefs.h. */
44844 $ac_includes_default
44845 #include <$ac_header>
44847 rm -f conftest.
$ac_objext
44848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44849 (eval $ac_compile) 2>conftest.er1
44851 grep -v '^ *+' conftest.er1
>conftest.err
44853 cat conftest.err
>&5
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); } &&
44856 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44858 (eval $ac_try) 2>&5
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); }; } &&
44862 { ac_try
='test -s conftest.$ac_objext'
44863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864 (eval $ac_try) 2>&5
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); }; }; then
44868 ac_header_compiler
=yes
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.
$ac_ext >&5
44873 ac_header_compiler
=no
44875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44877 echo "${ECHO_T}$ac_header_compiler" >&6
44879 # Is the header present?
44880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44882 cat >conftest.
$ac_ext <<_ACEOF
44885 cat confdefs.h
>>conftest.
$ac_ext
44886 cat >>conftest.
$ac_ext <<_ACEOF
44887 /* end confdefs.h. */
44888 #include <$ac_header>
44890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44893 grep -v '^ *+' conftest.er1
>conftest.err
44895 cat conftest.err
>&5
44896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897 (exit $ac_status); } >/dev
/null
; then
44898 if test -s conftest.err
; then
44899 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44900 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44907 if test -z "$ac_cpp_err"; then
44908 ac_header_preproc
=yes
44910 echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.
$ac_ext >&5
44913 ac_header_preproc
=no
44915 rm -f conftest.err conftest.
$ac_ext
44916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44917 echo "${ECHO_T}$ac_header_preproc" >&6
44919 # So? What about this header?
44920 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44926 ac_header_preproc
=yes
44929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44943 ## ----------------------------------------- ##
44944 ## Report this to wx-dev@lists.wxwidgets.org ##
44945 ## ----------------------------------------- ##
44948 sed "s/^/$as_me: WARNING: /" >&2
44951 echo "$as_me:$LINENO: checking for $ac_header" >&5
44952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44954 echo $ECHO_N "(cached) $ECHO_C" >&6
44956 eval "$as_ac_Header=\$ac_header_preproc"
44958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44963 cat >>confdefs.h
<<_ACEOF
44964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44972 if test "$ac_cv_header_ole2_h" = "yes" ; then
44973 if test "$GCC" = yes ; then
44974 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44975 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44976 cat >conftest.
$ac_ext <<_ACEOF
44979 cat confdefs.h
>>conftest.
$ac_ext
44980 cat >>conftest.
$ac_ext <<_ACEOF
44981 /* end confdefs.h. */
44982 #include <windows.h>
44992 rm -f conftest.
$ac_objext
44993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44994 (eval $ac_compile) 2>conftest.er1
44996 grep -v '^ *+' conftest.er1
>conftest.err
44998 cat conftest.err
>&5
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); } &&
45001 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45003 (eval $ac_try) 2>&5
45005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 (exit $ac_status); }; } &&
45007 { ac_try
='test -s conftest.$ac_objext'
45008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45009 (eval $ac_try) 2>&5
45011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012 (exit $ac_status); }; }; then
45013 echo "$as_me:$LINENO: result: no" >&5
45014 echo "${ECHO_T}no" >&6
45016 echo "$as_me: failed program was:" >&5
45017 sed 's/^/| /' conftest.
$ac_ext >&5
45019 echo "$as_me:$LINENO: result: yes" >&5
45020 echo "${ECHO_T}yes" >&6
45021 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45024 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45025 if test "$wxUSE_OLE" = "yes" ; then
45026 cat >>confdefs.h
<<\_ACEOF
45027 #define wxUSE_OLE 1
45030 cat >>confdefs.h
<<\_ACEOF
45031 #define wxUSE_OLE_AUTOMATION 1
45034 cat >>confdefs.h
<<\_ACEOF
45035 #define wxUSE_OLE_ACTIVEX 1
45038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45042 if test "$wxUSE_DATAOBJ" = "yes" ; then
45043 cat >>confdefs.h
<<\_ACEOF
45044 #define wxUSE_DATAOBJ 1
45049 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45050 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45053 wxUSE_DRAG_AND_DROP
=no
45058 if test "$wxUSE_METAFILE" = "yes"; then
45059 cat >>confdefs.h
<<\_ACEOF
45060 #define wxUSE_METAFILE 1
45064 cat >>confdefs.h
<<\_ACEOF
45065 #define wxUSE_ENH_METAFILE 1
45071 if test "$wxUSE_IPC" = "yes"; then
45072 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45073 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45074 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45078 if test "$wxUSE_IPC" = "yes"; then
45079 cat >>confdefs.h
<<\_ACEOF
45080 #define wxUSE_IPC 1
45083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45087 if test "$wxUSE_DATAOBJ" = "yes"; then
45088 if test "$wxUSE_MGL" = 1; then
45089 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45090 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45093 cat >>confdefs.h
<<\_ACEOF
45094 #define wxUSE_DATAOBJ 1
45099 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45100 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45102 wxUSE_DRAG_AND_DROP
=no
45105 if test "$wxUSE_CLIPBOARD" = "yes"; then
45106 if test "$wxUSE_MGL" = 1; then
45107 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45108 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45112 if test "$wxUSE_CLIPBOARD" = "yes"; then
45113 cat >>confdefs.h
<<\_ACEOF
45114 #define wxUSE_CLIPBOARD 1
45120 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45121 if test "$wxUSE_GTK" = 1; then
45122 if test "$WXGTK12" != 1; then
45123 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45124 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45125 wxUSE_DRAG_AND_DROP
=no
45129 if test "$wxUSE_MOTIF" = 1; then
45130 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45131 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45132 wxUSE_DRAG_AND_DROP
=no
45135 if test "$wxUSE_X11" = 1; then
45136 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45137 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45138 wxUSE_DRAG_AND_DROP
=no
45141 if test "$wxUSE_MGL" = 1; then
45142 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45143 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45144 wxUSE_DRAG_AND_DROP
=no
45147 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45148 cat >>confdefs.h
<<\_ACEOF
45149 #define wxUSE_DRAG_AND_DROP 1
45156 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45160 if test "$wxUSE_SPLINES" = "yes" ; then
45161 cat >>confdefs.h
<<\_ACEOF
45162 #define wxUSE_SPLINES 1
45167 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_MOUSEWHEEL 1
45176 if test "$wxUSE_CONTROLS" = "yes"; then
45180 if test "$wxUSE_ACCEL" = "yes"; then
45181 cat >>confdefs.h
<<\_ACEOF
45182 #define wxUSE_ACCEL 1
45188 if test "$wxUSE_ACCEL" = "yes"; then
45189 cat >>confdefs.h
<<\_ACEOF
45190 #define wxUSE_ANIMATIONCTRL 1
45194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45197 if test "$wxUSE_BUTTON" = "yes"; then
45198 cat >>confdefs.h
<<\_ACEOF
45199 #define wxUSE_BUTTON 1
45205 if test "$wxUSE_BMPBUTTON" = "yes"; then
45206 cat >>confdefs.h
<<\_ACEOF
45207 #define wxUSE_BMPBUTTON 1
45213 if test "$wxUSE_CALCTRL" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_CALENDARCTRL 1
45219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45222 if test "$wxUSE_CARET" = "yes"; then
45223 cat >>confdefs.h
<<\_ACEOF
45224 #define wxUSE_CARET 1
45228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45231 if test "$wxUSE_COMBOBOX" = "yes"; then
45232 cat >>confdefs.h
<<\_ACEOF
45233 #define wxUSE_COMBOBOX 1
45239 if test "$wxUSE_COMBOCTRL" = "yes"; then
45240 cat >>confdefs.h
<<\_ACEOF
45241 #define wxUSE_COMBOCTRL 1
45247 if test "$wxUSE_CHOICE" = "yes"; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_CHOICE 1
45255 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45256 cat >>confdefs.h
<<\_ACEOF
45257 #define wxUSE_CHOICEBOOK 1
45263 if test "$wxUSE_CHECKBOX" = "yes"; then
45264 cat >>confdefs.h
<<\_ACEOF
45265 #define wxUSE_CHECKBOX 1
45271 if test "$wxUSE_CHECKLST" = "yes"; then
45272 cat >>confdefs.h
<<\_ACEOF
45273 #define wxUSE_CHECKLISTBOX 1
45277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45280 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45281 cat >>confdefs.h
<<\_ACEOF
45282 #define wxUSE_COLOURPICKERCTRL 1
45288 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45289 cat >>confdefs.h
<<\_ACEOF
45290 #define wxUSE_DATEPICKCTRL 1
45296 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45297 cat >>confdefs.h
<<\_ACEOF
45298 #define wxUSE_DIRPICKERCTRL 1
45304 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45305 cat >>confdefs.h
<<\_ACEOF
45306 #define wxUSE_FILEPICKERCTRL 1
45312 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45313 cat >>confdefs.h
<<\_ACEOF
45314 #define wxUSE_FONTPICKERCTRL 1
45320 if test "$wxUSE_DISPLAY" = "yes"; then
45321 cat >>confdefs.h
<<\_ACEOF
45322 #define wxUSE_DISPLAY 1
45325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45328 if test "$wxUSE_GAUGE" = "yes"; then
45329 cat >>confdefs.h
<<\_ACEOF
45330 #define wxUSE_GAUGE 1
45336 if test "$wxUSE_GRID" = "yes"; then
45337 cat >>confdefs.h
<<\_ACEOF
45338 #define wxUSE_GRID 1
45342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45345 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45346 cat >>confdefs.h
<<\_ACEOF
45347 #define wxUSE_HYPERLINKCTRL 1
45353 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45354 cat >>confdefs.h
<<\_ACEOF
45355 #define wxUSE_BITMAPCOMBOBOX 1
45361 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45362 cat >>confdefs.h
<<\_ACEOF
45363 #define wxUSE_DATAVIEWCTRL 1
45367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45370 if test "$wxUSE_IMAGLIST" = "yes"; then
45371 cat >>confdefs.h
<<\_ACEOF
45372 #define wxUSE_IMAGLIST 1
45377 if test "$wxUSE_LISTBOOK" = "yes"; then
45378 cat >>confdefs.h
<<\_ACEOF
45379 #define wxUSE_LISTBOOK 1
45385 if test "$wxUSE_LISTBOX" = "yes"; then
45386 cat >>confdefs.h
<<\_ACEOF
45387 #define wxUSE_LISTBOX 1
45391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45394 if test "$wxUSE_LISTCTRL" = "yes"; then
45395 if test "$wxUSE_IMAGLIST" = "yes"; then
45396 cat >>confdefs.h
<<\_ACEOF
45397 #define wxUSE_LISTCTRL 1
45401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45403 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45404 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45408 if test "$wxUSE_NOTEBOOK" = "yes"; then
45409 cat >>confdefs.h
<<\_ACEOF
45410 #define wxUSE_NOTEBOOK 1
45414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45417 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_ODCOMBOBOX 1
45423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45427 if test "$wxUSE_RADIOBOX" = "yes"; then
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_RADIOBOX 1
45435 if test "$wxUSE_RADIOBTN" = "yes"; then
45436 cat >>confdefs.h
<<\_ACEOF
45437 #define wxUSE_RADIOBTN 1
45443 if test "$wxUSE_SASH" = "yes"; then
45444 cat >>confdefs.h
<<\_ACEOF
45445 #define wxUSE_SASH 1
45448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45451 if test "$wxUSE_SCROLLBAR" = "yes"; then
45452 cat >>confdefs.h
<<\_ACEOF
45453 #define wxUSE_SCROLLBAR 1
45457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45460 if test "$wxUSE_SLIDER" = "yes"; then
45461 cat >>confdefs.h
<<\_ACEOF
45462 #define wxUSE_SLIDER 1
45468 if test "$wxUSE_SPINBTN" = "yes"; then
45469 cat >>confdefs.h
<<\_ACEOF
45470 #define wxUSE_SPINBTN 1
45476 if test "$wxUSE_SPINCTRL" = "yes"; then
45477 cat >>confdefs.h
<<\_ACEOF
45478 #define wxUSE_SPINCTRL 1
45484 if test "$wxUSE_SPLITTER" = "yes"; then
45485 cat >>confdefs.h
<<\_ACEOF
45486 #define wxUSE_SPLITTER 1
45489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45492 if test "$wxUSE_STATBMP" = "yes"; then
45493 cat >>confdefs.h
<<\_ACEOF
45494 #define wxUSE_STATBMP 1
45500 if test "$wxUSE_STATBOX" = "yes"; then
45501 cat >>confdefs.h
<<\_ACEOF
45502 #define wxUSE_STATBOX 1
45508 if test "$wxUSE_STATTEXT" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_STATTEXT 1
45516 if test "$wxUSE_STATLINE" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_STATLINE 1
45524 if test "$wxUSE_STATUSBAR" = "yes"; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_NATIVE_STATUSBAR 1
45529 cat >>confdefs.h
<<\_ACEOF
45530 #define wxUSE_STATUSBAR 1
45535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45538 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_TAB_DIALOG 1
45545 if test "$wxUSE_TEXTCTRL" = "yes"; then
45546 cat >>confdefs.h
<<\_ACEOF
45547 #define wxUSE_TEXTCTRL 1
45551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45554 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45555 if test "$wxUSE_COCOA" = 1 ; then
45556 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45557 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45561 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45562 cat >>confdefs.h
<<\_ACEOF
45563 #define wxUSE_TOGGLEBTN 1
45570 if test "$wxUSE_TOOLBAR" = "yes"; then
45571 cat >>confdefs.h
<<\_ACEOF
45572 #define wxUSE_TOOLBAR 1
45577 if test "$wxUSE_UNIVERSAL" = "yes"; then
45578 wxUSE_TOOLBAR_NATIVE
="no"
45580 wxUSE_TOOLBAR_NATIVE
="yes"
45581 cat >>confdefs.h
<<\_ACEOF
45582 #define wxUSE_TOOLBAR_NATIVE 1
45587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45590 if test "$wxUSE_TOOLTIPS" = "yes"; then
45591 if test "$wxUSE_MOTIF" = 1; then
45592 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45593 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45595 if test "$wxUSE_UNIVERSAL" = "yes"; then
45596 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45597 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45599 cat >>confdefs.h
<<\_ACEOF
45600 #define wxUSE_TOOLTIPS 1
45607 if test "$wxUSE_TREEBOOK" = "yes"; then
45608 cat >>confdefs.h
<<\_ACEOF
45609 #define wxUSE_TREEBOOK 1
45615 if test "$wxUSE_TOOLBOOK" = "yes"; then
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_TOOLBOOK 1
45623 if test "$wxUSE_TREECTRL" = "yes"; then
45624 if test "$wxUSE_IMAGLIST" = "yes"; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_TREECTRL 1
45630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45632 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45633 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45637 if test "$wxUSE_POPUPWIN" = "yes"; then
45638 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45639 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45640 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45642 if test "$wxUSE_PM" = 1; then
45643 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45644 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45646 cat >>confdefs.h
<<\_ACEOF
45647 #define wxUSE_POPUPWIN 1
45650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45657 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45658 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45659 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45660 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45662 cat >>confdefs.h
<<\_ACEOF
45663 #define wxUSE_DIALUP_MANAGER 1
45666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45670 if test "$wxUSE_TIPWINDOW" = "yes"; then
45671 if test "$wxUSE_PM" = 1; then
45672 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45673 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45675 cat >>confdefs.h
<<\_ACEOF
45676 #define wxUSE_TIPWINDOW 1
45682 if test "$USES_CONTROLS" = 1; then
45683 cat >>confdefs.h
<<\_ACEOF
45684 #define wxUSE_CONTROLS 1
45690 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45691 cat >>confdefs.h
<<\_ACEOF
45692 #define wxUSE_ACCESSIBILITY 1
45695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45698 if test "$wxUSE_DC_CACHEING" = "yes"; then
45699 cat >>confdefs.h
<<\_ACEOF
45700 #define wxUSE_DC_CACHEING 1
45705 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45706 cat >>confdefs.h
<<\_ACEOF
45707 #define wxUSE_DRAGIMAGE 1
45710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45713 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45714 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45715 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45716 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45718 cat >>confdefs.h
<<\_ACEOF
45719 #define wxUSE_EXCEPTIONS 1
45722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45727 if test "$wxUSE_HTML" = "yes"; then
45728 cat >>confdefs.h
<<\_ACEOF
45729 #define wxUSE_HTML 1
45733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45734 if test "$wxUSE_MAC" = 1; then
45735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45738 if test "$wxUSE_WEBKIT" = "yes"; then
45739 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45740 old_CPPFLAGS
="$CPPFLAGS"
45741 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45742 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45743 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45744 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45745 echo $ECHO_N "(cached) $ECHO_C" >&6
45747 cat >conftest.
$ac_ext <<_ACEOF
45750 cat confdefs.h
>>conftest.
$ac_ext
45751 cat >>conftest.
$ac_ext <<_ACEOF
45752 /* end confdefs.h. */
45753 #include <Carbon/Carbon.h>
45755 #include <WebKit/HIWebView.h>
45757 rm -f conftest.
$ac_objext
45758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45759 (eval $ac_compile) 2>conftest.er1
45761 grep -v '^ *+' conftest.er1
>conftest.err
45763 cat conftest.err
>&5
45764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765 (exit $ac_status); } &&
45766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45768 (eval $ac_try) 2>&5
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); }; } &&
45772 { ac_try
='test -s conftest.$ac_objext'
45773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45774 (eval $ac_try) 2>&5
45776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45777 (exit $ac_status); }; }; then
45778 ac_cv_header_WebKit_HIWebView_h
=yes
45780 echo "$as_me: failed program was:" >&5
45781 sed 's/^/| /' conftest.
$ac_ext >&5
45783 ac_cv_header_WebKit_HIWebView_h
=no
45785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45787 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45788 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45789 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_WEBKIT 1
45795 WEBKIT_LINK
="-framework WebKit"
45799 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45800 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45806 CPPFLAGS
="$old_CPPFLAGS"
45807 elif test "$wxUSE_COCOA" = 1; then
45808 cat >>confdefs.h
<<\_ACEOF
45809 #define wxUSE_WEBKIT 1
45818 if test "$wxUSE_XRC" = "yes"; then
45819 if test "$wxUSE_XML" != "yes"; then
45820 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45821 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45824 cat >>confdefs.h
<<\_ACEOF
45825 #define wxUSE_XRC 1
45829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45834 if test "$wxUSE_AUI" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_AUI 1
45840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45843 if test "$wxUSE_MENUS" = "yes"; then
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_MENUS 1
45848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45851 if test "$wxUSE_METAFILE" = "yes"; then
45852 cat >>confdefs.h
<<\_ACEOF
45853 #define wxUSE_METAFILE 1
45858 if test "$wxUSE_MIMETYPE" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_MIMETYPE 1
45865 if test "$wxUSE_MINIFRAME" = "yes"; then
45866 cat >>confdefs.h
<<\_ACEOF
45867 #define wxUSE_MINIFRAME 1
45870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45873 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45874 cat >>confdefs.h
<<\_ACEOF
45875 #define wxUSE_SYSTEM_OPTIONS 1
45878 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45879 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45885 if test "$wxUSE_VALIDATORS" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_VALIDATORS 1
45890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45893 if test "$wxUSE_PALETTE" = "yes" ; then
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_PALETTE 1
45900 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45901 LIBS
=" -lunicows $LIBS"
45905 if test "$wxUSE_RICHTEXT" = "yes"; then
45906 cat >>confdefs.h
<<\_ACEOF
45907 #define wxUSE_RICHTEXT 1
45911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45914 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45915 cat >>confdefs.h
<<\_ACEOF
45916 #define wxUSE_GRAPHICS_CONTEXT 1
45922 if test "$wxUSE_IMAGE" = "yes" ; then
45923 cat >>confdefs.h
<<\_ACEOF
45924 #define wxUSE_IMAGE 1
45928 if test "$wxUSE_GIF" = "yes" ; then
45929 cat >>confdefs.h
<<\_ACEOF
45930 #define wxUSE_GIF 1
45935 if test "$wxUSE_PCX" = "yes" ; then
45936 cat >>confdefs.h
<<\_ACEOF
45937 #define wxUSE_PCX 1
45942 if test "$wxUSE_IFF" = "yes" ; then
45943 cat >>confdefs.h
<<\_ACEOF
45944 #define wxUSE_IFF 1
45949 if test "$wxUSE_PNM" = "yes" ; then
45950 cat >>confdefs.h
<<\_ACEOF
45951 #define wxUSE_PNM 1
45956 if test "$wxUSE_XPM" = "yes" ; then
45957 cat >>confdefs.h
<<\_ACEOF
45958 #define wxUSE_XPM 1
45963 if test "$wxUSE_ICO_CUR" = "yes" ; then
45964 cat >>confdefs.h
<<\_ACEOF
45965 #define wxUSE_ICO_CUR 1
45972 if test "$wxUSE_ABOUTDLG" = "yes"; then
45973 cat >>confdefs.h
<<\_ACEOF
45974 #define wxUSE_ABOUTDLG 1
45979 if test "$wxUSE_CHOICEDLG" = "yes"; then
45980 cat >>confdefs.h
<<\_ACEOF
45981 #define wxUSE_CHOICEDLG 1
45986 if test "$wxUSE_COLOURDLG" = "yes"; then
45987 cat >>confdefs.h
<<\_ACEOF
45988 #define wxUSE_COLOURDLG 1
45993 if test "$wxUSE_FILEDLG" = "yes"; then
45994 cat >>confdefs.h
<<\_ACEOF
45995 #define wxUSE_FILEDLG 1
46000 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46001 cat >>confdefs.h
<<\_ACEOF
46002 #define wxUSE_FINDREPLDLG 1
46007 if test "$wxUSE_FONTDLG" = "yes"; then
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_FONTDLG 1
46014 if test "$wxUSE_DIRDLG" = "yes"; then
46015 if test "$wxUSE_TREECTRL" != "yes"; then
46016 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46017 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_DIRDLG 1
46026 if test "$wxUSE_MSGDLG" = "yes"; then
46027 cat >>confdefs.h
<<\_ACEOF
46028 #define wxUSE_MSGDLG 1
46033 if test "$wxUSE_NUMBERDLG" = "yes"; then
46034 cat >>confdefs.h
<<\_ACEOF
46035 #define wxUSE_NUMBERDLG 1
46040 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46041 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46042 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46043 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46045 cat >>confdefs.h
<<\_ACEOF
46046 #define wxUSE_PROGRESSDLG 1
46052 if test "$wxUSE_SPLASH" = "yes"; then
46053 cat >>confdefs.h
<<\_ACEOF
46054 #define wxUSE_SPLASH 1
46057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46060 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46061 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46062 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46063 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_STARTUP_TIPS 1
46072 if test "$wxUSE_TEXTDLG" = "yes"; then
46073 cat >>confdefs.h
<<\_ACEOF
46074 #define wxUSE_TEXTDLG 1
46079 if test "$wxUSE_WIZARDDLG" = "yes"; then
46080 cat >>confdefs.h
<<\_ACEOF
46081 #define wxUSE_WIZARDDLG 1
46084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46090 if test "$wxUSE_MEDIACTRL" = "yes"; then
46093 if test "$wxUSE_GTK" = 1; then
46094 wxUSE_GSTREAMER
="no"
46096 GST_VERSION_MAJOR
=0
46097 GST_VERSION_MINOR
=10
46098 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46100 if test "$wxUSE_GSTREAMER8" = "no"; then
46103 echo "$as_me:$LINENO: checking for GST" >&5
46104 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46106 if test -n "$PKG_CONFIG"; then
46107 if test -n "$GST_CFLAGS"; then
46108 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46110 if test -n "$PKG_CONFIG" && \
46111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46112 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46115 (exit $ac_status); }; then
46116 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46124 if test -n "$PKG_CONFIG"; then
46125 if test -n "$GST_LIBS"; then
46126 pkg_cv_GST_LIBS
="$GST_LIBS"
46128 if test -n "$PKG_CONFIG" && \
46129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46130 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); }; then
46134 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46145 if test $pkg_failed = yes; then
46147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46148 _pkg_short_errors_supported
=yes
46150 _pkg_short_errors_supported
=no
46152 if test $_pkg_short_errors_supported = yes; then
46153 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46155 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46157 # Put the nasty error message in config.log where it belongs
46158 echo "$GST_PKG_ERRORS" >&5
46161 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46162 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46163 GST_VERSION_MINOR
=8
46166 elif test $pkg_failed = untried
; then
46168 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46169 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46170 GST_VERSION_MINOR
=8
46174 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46175 GST_LIBS
=$pkg_cv_GST_LIBS
46176 echo "$as_me:$LINENO: result: yes" >&5
46177 echo "${ECHO_T}yes" >&6
46179 wxUSE_GSTREAMER
="yes"
46180 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46184 GST_VERSION_MINOR
=8
46187 if test $GST_VERSION_MINOR = "8"; then
46188 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46191 echo "$as_me:$LINENO: checking for GST" >&5
46192 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46194 if test -n "$PKG_CONFIG"; then
46195 if test -n "$GST_CFLAGS"; then
46196 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46198 if test -n "$PKG_CONFIG" && \
46199 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46200 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); }; then
46204 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46212 if test -n "$PKG_CONFIG"; then
46213 if test -n "$GST_LIBS"; then
46214 pkg_cv_GST_LIBS
="$GST_LIBS"
46216 if test -n "$PKG_CONFIG" && \
46217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46218 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46221 (exit $ac_status); }; then
46222 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46233 if test $pkg_failed = yes; then
46235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46236 _pkg_short_errors_supported
=yes
46238 _pkg_short_errors_supported
=no
46240 if test $_pkg_short_errors_supported = yes; then
46241 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46243 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46245 # Put the nasty error message in config.log where it belongs
46246 echo "$GST_PKG_ERRORS" >&5
46249 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46250 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46252 elif test $pkg_failed = untried
; then
46254 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46255 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46258 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46259 GST_LIBS
=$pkg_cv_GST_LIBS
46260 echo "$as_me:$LINENO: result: yes" >&5
46261 echo "${ECHO_T}yes" >&6
46262 wxUSE_GSTREAMER
="yes"
46267 if test "$wxUSE_GSTREAMER" = "yes"; then
46270 if "$GCC" = yes; then
46271 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46272 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46276 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46277 LIBS
="$GST_LIBS $LIBS"
46279 cat >>confdefs.h
<<\_ACEOF
46280 #define wxUSE_GSTREAMER 1
46288 if test $USE_MEDIA = 1; then
46289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46290 cat >>confdefs.h
<<\_ACEOF
46291 #define wxUSE_MEDIACTRL 1
46298 if test "$cross_compiling" = "yes"; then
46301 OSINFO
=`uname -s -r -m`
46302 OSINFO
="\"$OSINFO\""
46305 cat >>confdefs.h
<<_ACEOF
46306 #define WXWIN_OS_DESCRIPTION $OSINFO
46311 if test "x$prefix" != "xNONE"; then
46314 wxPREFIX
=$ac_default_prefix
46317 cat >>confdefs.h
<<_ACEOF
46318 #define wxINSTALL_PREFIX "$wxPREFIX"
46324 CORE_BASE_LIBS
="net base"
46325 CORE_GUI_LIBS
="adv core"
46327 if test "$wxUSE_XML" = "yes" ; then
46328 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46330 if test "$wxUSE_ODBC" != "no" ; then
46331 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46332 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46334 if test "$wxUSE_HTML" = "yes" ; then
46335 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46337 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46338 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46340 if test "$wxUSE_XRC" = "yes" ; then
46341 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46343 if test "$wxUSE_AUI" = "yes" ; then
46344 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46347 if test "$wxUSE_GUI" != "yes"; then
46356 ac_cpp
='$CPP $CPPFLAGS'
46357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46363 if test "$wxUSE_MAC" = 1 ; then
46364 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46365 if test "$USE_DARWIN" = 1; then
46366 LDFLAGS
="$LDFLAGS -framework QuickTime"
46368 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46371 if test "$USE_DARWIN" = 1; then
46372 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46374 LDFLAGS
="$LDFLAGS -lCarbonLib"
46377 if test "$wxUSE_COCOA" = 1 ; then
46378 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46379 if test "$wxUSE_MEDIACTRL" = "yes"; then
46380 LDFLAGS
="$LDFLAGS -framework QuickTime"
46383 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46384 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46387 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46389 if test "$wxUSE_GUI" = "yes"; then
46392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46393 dynamic erase event exec font image minimal mobile \
46394 mobile/wxedit mobile/styles propsize render \
46395 rotate shaped vscroll widgets"
46397 if test "$wxUSE_MONOLITHIC" != "yes"; then
46398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46400 if test "$TOOLKIT" = "MSW"; then
46401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46402 if test "$wxUSE_UNIVERSAL" != "yes"; then
46403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46406 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46410 SAMPLES_SUBDIRS
="console"
46414 if test "x$INTELCC" = "xyes" ; then
46415 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46416 elif test "$GCC" = yes ; then
46417 CWARNINGS
="-Wall -Wundef"
46420 if test "x$INTELCXX" = "xyes" ; then
46421 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46422 elif test "$GXX" = yes ; then
46423 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46427 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46428 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46431 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46432 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46433 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46436 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46437 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46438 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46440 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46443 if test "x$MWCC" = "xyes"; then
46445 CC
="$CC -cwd source -I-"
46446 CXX
="$CXX -cwd source -I-"
46451 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46452 EXTRALIBS_XML
="$EXPAT_LINK"
46453 EXTRALIBS_HTML
="$MSPACK_LINK"
46454 EXTRALIBS_ODBC
="$ODBC_LINK"
46455 if test "$wxUSE_GUI" = "yes"; then
46456 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46458 if test "$wxUSE_OPENGL" = "yes"; then
46459 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46462 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46464 WXCONFIG_LIBS
="$LIBS"
46466 if test "$wxUSE_REGEX" = "builtin" ; then
46467 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46469 if test "$wxUSE_EXPAT" = "builtin" ; then
46470 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46472 if test "$wxUSE_ODBC" = "builtin" ; then
46473 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46475 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46476 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46478 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46479 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46481 if test "$wxUSE_LIBPNG" = "builtin" ; then
46482 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46484 if test "$wxUSE_ZLIB" = "builtin" ; then
46485 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46488 for i
in $wxconfig_3rdparty ; do
46489 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46493 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46496 case "$wxUNIV_THEMES" in
46498 cat >>confdefs.h
<<\_ACEOF
46499 #define wxUSE_ALL_THEMES 1
46505 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46506 cat >>confdefs.h
<<_ACEOF
46507 #define wxUSE_THEME_$t 1
46524 if test $wxUSE_MONOLITHIC = "yes" ; then
46530 if test $wxUSE_PLUGINS = "yes" ; then
46536 if test $wxUSE_ODBC != "no" ; then
46542 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46548 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46578 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46589 TOOLKIT_DESC
="GTK+"
46590 if test "$WXGTK20" = 1; then
46591 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46592 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46593 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46595 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46596 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46598 if test "$wxUSE_LIBHILDON" = "yes"; then
46599 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46602 if test "$TOOLKIT_EXTRA" != ""; then
46603 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46609 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46613 TOOLKIT_DESC
="base only"
46617 if test "$wxUSE_WINE" = "yes"; then
46618 BAKEFILE_FORCE_PLATFORM
=win32
46621 if test "$wxUSE_MAC" = 1 ; then
46622 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46623 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46624 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46626 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46628 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46629 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46630 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46631 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46634 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46635 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46641 if test "x$BAKEFILE_HOST" = "x"; then
46642 if test "x${host}" = "x" ; then
46643 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46644 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46645 { (exit 1); exit 1; }; }
46648 BAKEFILE_HOST
="${host}"
46651 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46653 if test -n "$ac_tool_prefix"; then
46654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46655 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46656 echo "$as_me:$LINENO: checking for $ac_word" >&5
46657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46658 if test "${ac_cv_prog_RANLIB+set}" = set; then
46659 echo $ECHO_N "(cached) $ECHO_C" >&6
46661 if test -n "$RANLIB"; then
46662 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46665 for as_dir
in $PATH
46668 test -z "$as_dir" && as_dir
=.
46669 for ac_exec_ext
in '' $ac_executable_extensions; do
46670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46671 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46680 RANLIB
=$ac_cv_prog_RANLIB
46681 if test -n "$RANLIB"; then
46682 echo "$as_me:$LINENO: result: $RANLIB" >&5
46683 echo "${ECHO_T}$RANLIB" >&6
46685 echo "$as_me:$LINENO: result: no" >&5
46686 echo "${ECHO_T}no" >&6
46690 if test -z "$ac_cv_prog_RANLIB"; then
46691 ac_ct_RANLIB
=$RANLIB
46692 # Extract the first word of "ranlib", so it can be a program name with args.
46693 set dummy ranlib
; ac_word
=$2
46694 echo "$as_me:$LINENO: checking for $ac_word" >&5
46695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46696 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46697 echo $ECHO_N "(cached) $ECHO_C" >&6
46699 if test -n "$ac_ct_RANLIB"; then
46700 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46703 for as_dir
in $PATH
46706 test -z "$as_dir" && as_dir
=.
46707 for ac_exec_ext
in '' $ac_executable_extensions; do
46708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46709 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46716 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46719 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46720 if test -n "$ac_ct_RANLIB"; then
46721 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46722 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46724 echo "$as_me:$LINENO: result: no" >&5
46725 echo "${ECHO_T}no" >&6
46728 RANLIB
=$ac_ct_RANLIB
46730 RANLIB
="$ac_cv_prog_RANLIB"
46733 # Find a good install program. We prefer a C program (faster),
46734 # so one script is as good as another. But avoid the broken or
46735 # incompatible versions:
46736 # SysV /etc/install, /usr/sbin/install
46737 # SunOS /usr/etc/install
46738 # IRIX /sbin/install
46740 # AmigaOS /C/install, which installs bootblocks on floppy discs
46741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46744 # OS/2's system install, which has a completely different semantic
46745 # ./install, which can be erroneously created by make from ./install.sh.
46746 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46747 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46748 if test -z "$INSTALL"; then
46749 if test "${ac_cv_path_install+set}" = set; then
46750 echo $ECHO_N "(cached) $ECHO_C" >&6
46752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46753 for as_dir
in $PATH
46756 test -z "$as_dir" && as_dir
=.
46757 # Account for people who put trailing slashes in PATH elements.
46759 .
/ | .
// | /cC
/* | \
46760 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46761 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46764 # OSF1 and SCO ODT 3.0 have their own names for install.
46765 # Don't use installbsd from OSF since it installs stuff as root
46767 for ac_prog
in ginstall scoinst
install; do
46768 for ac_exec_ext
in '' $ac_executable_extensions; do
46769 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46770 if test $ac_prog = install &&
46771 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46772 # AIX install. It has an incompatible calling convention.
46774 elif test $ac_prog = install &&
46775 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46776 # program-specific install script used by HP pwplus--don't use.
46779 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46791 if test "${ac_cv_path_install+set}" = set; then
46792 INSTALL
=$ac_cv_path_install
46794 # As a last resort, use the slow shell script. We don't cache a
46795 # path for INSTALL within a source directory, because that will
46796 # break other packages using the cache if that directory is
46797 # removed, or if the path is relative.
46798 INSTALL
=$ac_install_sh
46801 echo "$as_me:$LINENO: result: $INSTALL" >&5
46802 echo "${ECHO_T}$INSTALL" >&6
46804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46805 # It thinks the first close brace ends the variable substitution.
46806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46810 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46812 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46813 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46815 if test "$LN_S" = "ln -s"; then
46816 echo "$as_me:$LINENO: result: yes" >&5
46817 echo "${ECHO_T}yes" >&6
46819 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46820 echo "${ECHO_T}no, using $LN_S" >&6
46824 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46825 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46826 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46827 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46828 echo $ECHO_N "(cached) $ECHO_C" >&6
46830 cat >conftest.
make <<\_ACEOF
46832 @
echo 'ac_maketemp="$(MAKE)"'
46834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46835 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46836 if test -n "$ac_maketemp"; then
46837 eval ac_cv_prog_make_
${ac_make}_set
=yes
46839 eval ac_cv_prog_make_
${ac_make}_set
=no
46841 rm -f conftest.
make
46843 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46844 echo "$as_me:$LINENO: result: yes" >&5
46845 echo "${ECHO_T}yes" >&6
46848 echo "$as_me:$LINENO: result: no" >&5
46849 echo "${ECHO_T}no" >&6
46850 SET_MAKE
="MAKE=${MAKE-make}"
46855 if test -n "$ac_tool_prefix"; then
46856 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46857 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46858 echo "$as_me:$LINENO: checking for $ac_word" >&5
46859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46860 if test "${ac_cv_prog_AR+set}" = set; then
46861 echo $ECHO_N "(cached) $ECHO_C" >&6
46863 if test -n "$AR"; then
46864 ac_cv_prog_AR
="$AR" # Let the user override the test.
46866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46867 for as_dir
in $PATH
46870 test -z "$as_dir" && as_dir
=.
46871 for ac_exec_ext
in '' $ac_executable_extensions; do
46872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46873 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46883 if test -n "$AR"; then
46884 echo "$as_me:$LINENO: result: $AR" >&5
46885 echo "${ECHO_T}$AR" >&6
46887 echo "$as_me:$LINENO: result: no" >&5
46888 echo "${ECHO_T}no" >&6
46892 if test -z "$ac_cv_prog_AR"; then
46894 # Extract the first word of "ar", so it can be a program name with args.
46895 set dummy
ar; ac_word
=$2
46896 echo "$as_me:$LINENO: checking for $ac_word" >&5
46897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46898 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46899 echo $ECHO_N "(cached) $ECHO_C" >&6
46901 if test -n "$ac_ct_AR"; then
46902 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46905 for as_dir
in $PATH
46908 test -z "$as_dir" && as_dir
=.
46909 for ac_exec_ext
in '' $ac_executable_extensions; do
46910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46911 ac_cv_prog_ac_ct_AR
="ar"
46912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46918 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46921 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46922 if test -n "$ac_ct_AR"; then
46923 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46924 echo "${ECHO_T}$ac_ct_AR" >&6
46926 echo "$as_me:$LINENO: result: no" >&5
46927 echo "${ECHO_T}no" >&6
46932 AR
="$ac_cv_prog_AR"
46935 if test -n "$ac_tool_prefix"; then
46936 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46937 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46938 echo "$as_me:$LINENO: checking for $ac_word" >&5
46939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46940 if test "${ac_cv_prog_STRIP+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46943 if test -n "$STRIP"; then
46944 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46947 for as_dir
in $PATH
46950 test -z "$as_dir" && as_dir
=.
46951 for ac_exec_ext
in '' $ac_executable_extensions; do
46952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46953 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46962 STRIP
=$ac_cv_prog_STRIP
46963 if test -n "$STRIP"; then
46964 echo "$as_me:$LINENO: result: $STRIP" >&5
46965 echo "${ECHO_T}$STRIP" >&6
46967 echo "$as_me:$LINENO: result: no" >&5
46968 echo "${ECHO_T}no" >&6
46972 if test -z "$ac_cv_prog_STRIP"; then
46974 # Extract the first word of "strip", so it can be a program name with args.
46975 set dummy strip
; ac_word
=$2
46976 echo "$as_me:$LINENO: checking for $ac_word" >&5
46977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46978 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46979 echo $ECHO_N "(cached) $ECHO_C" >&6
46981 if test -n "$ac_ct_STRIP"; then
46982 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46985 for as_dir
in $PATH
46988 test -z "$as_dir" && as_dir
=.
46989 for ac_exec_ext
in '' $ac_executable_extensions; do
46990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46991 ac_cv_prog_ac_ct_STRIP
="strip"
46992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46998 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47001 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47002 if test -n "$ac_ct_STRIP"; then
47003 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47004 echo "${ECHO_T}$ac_ct_STRIP" >&6
47006 echo "$as_me:$LINENO: result: no" >&5
47007 echo "${ECHO_T}no" >&6
47012 STRIP
="$ac_cv_prog_STRIP"
47015 if test -n "$ac_tool_prefix"; then
47016 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47017 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47018 echo "$as_me:$LINENO: checking for $ac_word" >&5
47019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47020 if test "${ac_cv_prog_NM+set}" = set; then
47021 echo $ECHO_N "(cached) $ECHO_C" >&6
47023 if test -n "$NM"; then
47024 ac_cv_prog_NM
="$NM" # Let the user override the test.
47026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47027 for as_dir
in $PATH
47030 test -z "$as_dir" && as_dir
=.
47031 for ac_exec_ext
in '' $ac_executable_extensions; do
47032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47033 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47043 if test -n "$NM"; then
47044 echo "$as_me:$LINENO: result: $NM" >&5
47045 echo "${ECHO_T}$NM" >&6
47047 echo "$as_me:$LINENO: result: no" >&5
47048 echo "${ECHO_T}no" >&6
47052 if test -z "$ac_cv_prog_NM"; then
47054 # Extract the first word of "nm", so it can be a program name with args.
47055 set dummy nm
; ac_word
=$2
47056 echo "$as_me:$LINENO: checking for $ac_word" >&5
47057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47058 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47059 echo $ECHO_N "(cached) $ECHO_C" >&6
47061 if test -n "$ac_ct_NM"; then
47062 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47065 for as_dir
in $PATH
47068 test -z "$as_dir" && as_dir
=.
47069 for ac_exec_ext
in '' $ac_executable_extensions; do
47070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47071 ac_cv_prog_ac_ct_NM
="nm"
47072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47078 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47081 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47082 if test -n "$ac_ct_NM"; then
47083 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47084 echo "${ECHO_T}$ac_ct_NM" >&6
47086 echo "$as_me:$LINENO: result: no" >&5
47087 echo "${ECHO_T}no" >&6
47092 NM
="$ac_cv_prog_NM"
47096 case ${BAKEFILE_HOST} in
47098 INSTALL_DIR
="mkdir -p"
47100 *) INSTALL_DIR
="$INSTALL -d"
47106 case ${BAKEFILE_HOST} in
47107 *-*-cygwin* | *-*-mingw32* )
47108 LDFLAGS_GUI
="-mwindows"
47114 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47115 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47116 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47117 echo $ECHO_N "(cached) $ECHO_C" >&6
47120 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47121 egrep -s GNU
> /dev
/null
); then
47122 bakefile_cv_prog_makeisgnu
="yes"
47124 bakefile_cv_prog_makeisgnu
="no"
47128 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47129 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47131 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47148 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47149 case "${BAKEFILE_HOST}" in
47156 *-pc-os2_emx | *-pc-os2-emx )
47166 powerpc
-apple-macos* )
47175 case "$BAKEFILE_FORCE_PLATFORM" in
47196 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47197 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47198 { (exit 1); exit 1; }; }
47213 # Check whether --enable-omf or --disable-omf was given.
47214 if test "${enable_omf+set}" = set; then
47215 enableval
="$enable_omf"
47216 bk_os2_use_omf
="$enableval"
47219 case "${BAKEFILE_HOST}" in
47221 if test "x$GCC" = "xyes"; then
47222 CFLAGS
="$CFLAGS -fno-common"
47223 CXXFLAGS
="$CXXFLAGS -fno-common"
47225 if test "x$XLCC" = "xyes"; then
47226 CFLAGS
="$CFLAGS -qnocommon"
47227 CXXFLAGS
="$CXXFLAGS -qnocommon"
47231 *-pc-os2_emx | *-pc-os2-emx )
47232 if test "x$bk_os2_use_omf" = "xyes" ; then
47235 LDFLAGS
="-Zomf $LDFLAGS"
47236 CFLAGS
="-Zomf $CFLAGS"
47237 CXXFLAGS
="-Zomf $CXXFLAGS"
47245 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47251 SO_SUFFIX_MODULE
="so"
47256 DLLPREFIX_MODULE
=""
47260 case "${BAKEFILE_HOST}" in
47263 SO_SUFFIX_MODULE
="sl"
47267 SO_SUFFIX_MODULE
="a"
47271 SO_SUFFIX_MODULE
="dll"
47272 DLLIMP_SUFFIX
="dll.a"
47279 SO_SUFFIX_MODULE
="dll"
47280 DLLIMP_SUFFIX
="dll.a"
47290 *-pc-os2_emx | *-pc-os2-emx )
47292 SO_SUFFIX_MODULE
="dll"
47293 DLLIMP_SUFFIX
=$OS2_LIBEXT
47297 LIBEXT
=".$OS2_LIBEXT"
47302 SO_SUFFIX_MODULE
="bundle"
47306 if test "x$DLLIMP_SUFFIX" = "x" ; then
47307 DLLIMP_SUFFIX
="$SO_SUFFIX"
47322 if test "x$GCC" = "xyes"; then
47326 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47327 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47330 case "${BAKEFILE_HOST}" in
47332 if test "x$GCC" != "xyes"; then
47333 LDFLAGS
="$LDFLAGS -L/usr/lib"
47335 SHARED_LD_CC
="${CC} -b -o"
47336 SHARED_LD_CXX
="${CXX} -b -o"
47342 if test "x$GCC" != "xyes"; then
47343 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47344 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47345 if test "${bakefile_cv_prog_icc+set}" = set; then
47346 echo $ECHO_N "(cached) $ECHO_C" >&6
47349 cat >conftest.
$ac_ext <<_ACEOF
47352 cat confdefs.h
>>conftest.
$ac_ext
47353 cat >>conftest.
$ac_ext <<_ACEOF
47354 /* end confdefs.h. */
47360 #ifndef __INTEL_COMPILER
47368 rm -f conftest.
$ac_objext
47369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47370 (eval $ac_compile) 2>conftest.er1
47372 grep -v '^ *+' conftest.er1
>conftest.err
47374 cat conftest.err
>&5
47375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47376 (exit $ac_status); } &&
47377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47379 (eval $ac_try) 2>&5
47381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47382 (exit $ac_status); }; } &&
47383 { ac_try
='test -s conftest.$ac_objext'
47384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47385 (eval $ac_try) 2>&5
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); }; }; then
47389 bakefile_cv_prog_icc
=yes
47391 echo "$as_me: failed program was:" >&5
47392 sed 's/^/| /' conftest.
$ac_ext >&5
47394 bakefile_cv_prog_icc
=no
47397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47400 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47401 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47402 if test "$bakefile_cv_prog_icc" = "yes"; then
47409 if test "x$GCC" != xyes
; then
47410 SHARED_LD_CC
="${CC} -G -o"
47411 SHARED_LD_CXX
="${CXX} -G -o"
47419 cat <<EOF >shared-ld-sh
47421 #-----------------------------------------------------------------------------
47422 #-- Name: distrib/mac/shared-ld-sh
47423 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47424 #-- Author: Gilles Depeyrot
47425 #-- Copyright: (c) 2002 Gilles Depeyrot
47426 #-- Licence: any use permitted
47427 #-----------------------------------------------------------------------------
47432 linking_flag="-dynamiclib"
47433 ldargs="-r -keep_private_externs -nostdlib"
47435 while test ${D}# -gt 0; do
47442 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47443 # collect these options and values
47444 args="${D}{args} ${D}1 ${D}2"
47449 # collect these load args
47450 ldargs="${D}{ldargs} ${D}1"
47453 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47454 # collect these options
47455 args="${D}{args} ${D}1"
47458 -dynamiclib|-bundle)
47459 linking_flag="${D}1"
47463 echo "shared-ld: unhandled option '${D}1'"
47467 *.o | *.a | *.dylib)
47468 # collect object files
47469 objects="${D}{objects} ${D}1"
47473 echo "shared-ld: unhandled argument '${D}1'"
47484 # Link one module containing all the others
47486 if test ${D}{verbose} = 1; then
47487 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47489 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47493 # Link the shared library from the single module created, but only if the
47494 # previous command didn't fail:
47496 if test ${D}{status} = 0; then
47497 if test ${D}{verbose} = 1; then
47498 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47500 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47505 # Remove intermediate module
47507 rm -f master.${D}${D}.o
47512 chmod +x shared
-ld-sh
47514 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47515 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47518 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47519 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47520 if test "${bakefile_cv_gcc31+set}" = set; then
47521 echo $ECHO_N "(cached) $ECHO_C" >&6
47524 cat >conftest.
$ac_ext <<_ACEOF
47527 cat confdefs.h
>>conftest.
$ac_ext
47528 cat >>conftest.
$ac_ext <<_ACEOF
47529 /* end confdefs.h. */
47535 #if (__GNUC__ < 3) || \
47536 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47544 rm -f conftest.
$ac_objext
47545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47546 (eval $ac_compile) 2>conftest.er1
47548 grep -v '^ *+' conftest.er1
>conftest.err
47550 cat conftest.err
>&5
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); } &&
47553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555 (eval $ac_try) 2>&5
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; } &&
47559 { ac_try
='test -s conftest.$ac_objext'
47560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47561 (eval $ac_try) 2>&5
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); }; }; then
47566 bakefile_cv_gcc31
=yes
47569 echo "$as_me: failed program was:" >&5
47570 sed 's/^/| /' conftest.
$ac_ext >&5
47573 bakefile_cv_gcc31
=no
47577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47580 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47581 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47582 if test "$bakefile_cv_gcc31" = "no"; then
47583 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47584 SHARED_LD_CXX
="$SHARED_LD_CC"
47586 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47587 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47590 if test "x$GCC" == "xyes"; then
47591 PIC_FLAG
="-dynamic -fPIC"
47593 if test "x$XLCC" = "xyes"; then
47594 PIC_FLAG
="-dynamic -DPIC"
47599 if test "x$GCC" = "xyes"; then
47602 case "${BAKEFILE_HOST}" in
47604 LD_EXPFULL
="-Wl,-bexpfull"
47608 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47609 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47611 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47612 set dummy makeC
++SharedLib
; ac_word
=$2
47613 echo "$as_me:$LINENO: checking for $ac_word" >&5
47614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47615 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47616 echo $ECHO_N "(cached) $ECHO_C" >&6
47618 if test -n "$AIX_CXX_LD"; then
47619 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47622 for as_dir
in $PATH
47625 test -z "$as_dir" && as_dir
=.
47626 for ac_exec_ext
in '' $ac_executable_extensions; do
47627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47628 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47635 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47638 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47639 if test -n "$AIX_CXX_LD"; then
47640 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47641 echo "${ECHO_T}$AIX_CXX_LD" >&6
47643 echo "$as_me:$LINENO: result: no" >&5
47644 echo "${ECHO_T}no" >&6
47647 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47648 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47653 SHARED_LD_CC
="${LD} -nostart -o"
47654 SHARED_LD_CXX
="${LD} -nostart -o"
47658 if test "x$GCC" != "xyes"; then
47663 *-*-cygwin* | *-*-mingw32* )
47665 SHARED_LD_CC
="\$(CC) -shared -o"
47666 SHARED_LD_CXX
="\$(CXX) -shared -o"
47670 *-pc-os2_emx | *-pc-os2-emx )
47671 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47672 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47676 cat <<EOF >dllar.sh
47679 # dllar - a tool to build both a .dll and an .a file
47680 # from a set of object (.o) files for EMX/OS2.
47682 # Written by Andrew Zabolotny, bit@freya.etu.ru
47683 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47685 # This script will accept a set of files on the command line.
47686 # All the public symbols from the .o files will be exported into
47687 # a .DEF file, then linker will be run (through gcc) against them to
47688 # build a shared library consisting of all given .o files. All libraries
47689 # (.a) will be first decompressed into component .o files then act as
47690 # described above. You can optionally give a description (-d "description")
47691 # which will be put into .DLL. To see the list of accepted options (as well
47692 # as command-line format) simply run this program without options. The .DLL
47693 # is built to be imported by name (there is no guarantee that new versions
47694 # of the library you build will have same ordinals for same symbols).
47696 # dllar is free software; you can redistribute it and/or modify
47697 # it under the terms of the GNU General Public License as published by
47698 # the Free Software Foundation; either version 2, or (at your option)
47699 # any later version.
47701 # dllar is distributed in the hope that it will be useful,
47702 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47703 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47704 # GNU General Public License for more details.
47706 # You should have received a copy of the GNU General Public License
47707 # along with dllar; see the file COPYING. If not, write to the Free
47708 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47711 # To successfuly run this program you will need:
47712 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47713 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47715 # (used to build the .dll)
47717 # (used to create .def file from .o files)
47719 # (used to create .a file from .def file)
47720 # - GNU text utilites (cat, sort, uniq)
47721 # used to process emxexp output
47722 # - GNU file utilities (mv, rm)
47724 # - lxlite (optional, see flag below)
47725 # (used for general .dll cleanup)
47732 # basnam, variant of basename, which does _not_ remove the path, _iff_
47733 # second argument (suffix to remove) is given
47737 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47740 echo ${D}1 | sed 's/'${D}2'${D}//'
47743 echo "error in basnam ${D}*"
47749 # Cleanup temporary files and output
47752 for i in ${D}inputFiles ; do
47755 rm -rf \`basnam ${D}i !\`
47762 # Kill result in case of failure as there is just to many stupid make/nmake
47763 # things out there which doesn't do this.
47764 if [ ${D}# -eq 0 ]; then
47765 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47769 # Print usage and exit script with rc=1.
47771 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47772 echo ' [-name-mangler-script script.sh]'
47773 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47774 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47775 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47776 echo ' [*.o] [*.a]'
47777 echo '*> "output_file" should have no extension.'
47778 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47779 echo ' The import library name is derived from this and is set to "name".a,'
47780 echo ' unless overridden by -import'
47781 echo '*> "importlib_name" should have no extension.'
47782 echo ' If it has the .o, or .a extension, it is automatically removed.'
47783 echo ' This name is used as the import library name and may be longer and'
47784 echo ' more descriptive than the DLL name which has to follow the old '
47785 echo ' 8.3 convention of FAT.'
47786 echo '*> "script.sh may be given to override the output_file name by a'
47787 echo ' different name. It is mainly useful if the regular make process'
47788 echo ' of some package does not take into account OS/2 restriction of'
47789 echo ' DLL name lengths. It takes the importlib name as input and is'
47790 echo ' supposed to procude a shorter name as output. The script should'
47791 echo ' expect to get importlib_name without extension and should produce'
47792 echo ' a (max.) 8 letter name without extension.'
47793 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47794 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47795 echo ' These flags will be put at the start of GCC command line.'
47796 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47797 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47798 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47799 echo ' If the last character of a symbol is "*", all symbols beginning'
47800 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47801 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47802 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47803 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47804 echo ' C runtime DLLs.'
47805 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47806 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47807 echo ' unchanged to GCC at the end of command line.'
47808 echo '*> If you create a DLL from a library and you do not specify -o,'
47809 echo ' the basename for DLL and import library will be set to library name,'
47810 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47811 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47812 echo ' library will be renamed into gcc_s.a.'
47815 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47816 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47821 # Execute a command.
47822 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47823 # @Uses Whatever CleanUp() uses.
47829 if [ ${D}rcCmd -ne 0 ]; then
47830 echo "command failed, exit code="${D}rcCmd
47845 CFLAGS="-s -Zcrtdll"
47847 EXPORT_BY_ORDINALS=0
47852 case ${D}curDirS in
47856 curDirS=${D}{curDirS}"/"
47859 # Parse commandline
47862 while [ ${D}1 ]; do
47865 EXPORT_BY_ORDINALS=1;
47875 -name-mangler-script)
47896 exclude_symbols=${D}{exclude_symbols}${D}1" "
47900 library_flags=${D}{library_flags}${D}1" "
47919 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47922 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47923 if [ ${D}omfLinking -eq 1 ]; then
47924 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47926 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47931 if [ ${D}libsToLink -ne 0 ]; then
47932 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47934 for file in ${D}1 ; do
47935 if [ -f ${D}file ]; then
47936 inputFiles="${D}{inputFiles} ${D}file"
47940 if [ ${D}found -eq 0 ]; then
47941 echo "ERROR: No file(s) found: "${D}1
47948 done # iterate cmdline words
47951 if [ -z "${D}inputFiles" ]; then
47952 echo "dllar: no input files"
47956 # Now extract all .o files from .a files
47958 for file in ${D}inputFiles ; do
47969 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47974 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47976 if [ ${D}? -ne 0 ]; then
47977 echo "Failed to create subdirectory ./${D}dirname"
47981 # Append '!' to indicate archive
47982 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47983 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47986 for subfile in ${D}dirname/*.o* ; do
47987 if [ -f ${D}subfile ]; then
47989 if [ -s ${D}subfile ]; then
47990 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47991 newInputFiles="${D}newInputFiles ${D}subfile"
47995 if [ ${D}found -eq 0 ]; then
47996 echo "WARNING: there are no files in archive \\'${D}file\\'"
48000 newInputFiles="${D}{newInputFiles} ${D}file"
48004 inputFiles="${D}newInputFiles"
48006 # Output filename(s).
48008 if [ -z ${D}outFile ]; then
48010 set outFile ${D}inputFiles; outFile=${D}2
48013 # If it is an archive, remove the '!' and the '_%' suffixes
48014 case ${D}outFile in
48016 outFile=\`basnam ${D}outFile _%!\`
48021 case ${D}outFile in
48023 outFile=\`basnam ${D}outFile .dll\`
48026 outFile=\`basnam ${D}outFile .DLL\`
48029 outFile=\`basnam ${D}outFile .o\`
48032 outFile=\`basnam ${D}outFile .obj\`
48035 outFile=\`basnam ${D}outFile .a\`
48038 outFile=\`basnam ${D}outFile .lib\`
48043 case ${D}outimpFile in
48045 outimpFile=\`basnam ${D}outimpFile .a\`
48048 outimpFile=\`basnam ${D}outimpFile .lib\`
48053 if [ -z ${D}outimpFile ]; then
48054 outimpFile=${D}outFile
48056 defFile="${D}{outFile}.def"
48057 arcFile="${D}{outimpFile}.a"
48058 arcFile2="${D}{outimpFile}.lib"
48060 #create ${D}dllFile as something matching 8.3 restrictions,
48061 if [ -z ${D}renameScript ] ; then
48062 dllFile="${D}outFile"
48064 dllFile=\`${D}renameScript ${D}outimpFile\`
48067 if [ ${D}do_backup -ne 0 ] ; then
48068 if [ -f ${D}arcFile ] ; then
48069 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48071 if [ -f ${D}arcFile2 ] ; then
48072 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48076 # Extract public symbols from all the object files.
48077 tmpdefFile=${D}{defFile}_%
48078 rm -f ${D}tmpdefFile
48079 for file in ${D}inputFiles ; do
48084 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48089 # Create the def file.
48091 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48092 dllFile="${D}{dllFile}.dll"
48093 if [ ! -z ${D}description ]; then
48094 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48096 echo "EXPORTS" >> ${D}defFile
48098 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48099 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48101 # Checks if the export is ok or not.
48102 for word in ${D}exclude_symbols; do
48103 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48104 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48108 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48109 sed "=" < ${D}tmpdefFile | \\
48113 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48115 ' > ${D}{tmpdefFile}%
48116 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48118 rm -f ${D}{tmpdefFile}%
48120 cat ${D}tmpdefFile >> ${D}defFile
48121 rm -f ${D}tmpdefFile
48123 # Do linking, create implib, and apply lxlite.
48125 for file in ${D}inputFiles ; do
48130 gccCmdl="${D}gccCmdl ${D}file"
48134 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48135 touch "${D}{outFile}.dll"
48137 doCommand "emximp -o ${D}arcFile ${D}defFile"
48138 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48140 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48143 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48145 doCommand "emxomf -s -l ${D}arcFile"
48155 powerpc
-apple-macos* | \
48156 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48167 if test "x$PIC_FLAG" != "x" ; then
48168 PIC_FLAG
="$PIC_FLAG -DPIC"
48171 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48172 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48174 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48175 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48194 case "${BAKEFILE_HOST}" in
48195 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48196 SONAME_FLAG
="-Wl,-soname,"
48230 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48231 if test "${enable_dependency_tracking+set}" = set; then
48232 enableval
="$enable_dependency_tracking"
48233 bk_use_trackdeps
="$enableval"
48236 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48237 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48239 if test "x$bk_use_trackdeps" = "xno" ; then
48241 echo "$as_me:$LINENO: result: disabled" >&5
48242 echo "${ECHO_T}disabled" >&6
48246 if test "x$GCC" = "xyes"; then
48248 case "${BAKEFILE_HOST}" in
48250 DEPSFLAG
="-no-cpp-precomp -MMD"
48256 echo "$as_me:$LINENO: result: gcc" >&5
48257 echo "${ECHO_T}gcc" >&6
48258 elif test "x$MWCC" = "xyes"; then
48261 echo "$as_me:$LINENO: result: mwcc" >&5
48262 echo "${ECHO_T}mwcc" >&6
48263 elif test "x$SUNCC" = "xyes"; then
48266 echo "$as_me:$LINENO: result: Sun cc" >&5
48267 echo "${ECHO_T}Sun cc" >&6
48268 elif test "x$SGICC" = "xyes"; then
48271 echo "$as_me:$LINENO: result: SGI cc" >&5
48272 echo "${ECHO_T}SGI cc" >&6
48273 elif test "x$HPCC" = "xyes"; then
48276 echo "$as_me:$LINENO: result: HP cc" >&5
48277 echo "${ECHO_T}HP cc" >&6
48278 elif test "x$COMPAQCC" = "xyes"; then
48281 echo "$as_me:$LINENO: result: Compaq cc" >&5
48282 echo "${ECHO_T}Compaq cc" >&6
48285 echo "$as_me:$LINENO: result: none" >&5
48286 echo "${ECHO_T}none" >&6
48289 if test $DEPS_TRACKING = 1 ; then
48295 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48296 # script. It is used to track C/C++ files dependencies in portable way.
48298 # Permission is given to use this file in any way.
48300 DEPSMODE=${DEPSMODE}
48302 DEPSFLAG="${DEPSFLAG}"
48304 mkdir -p ${D}DEPSDIR
48306 if test ${D}DEPSMODE = gcc ; then
48307 ${D}* ${D}{DEPSFLAG}
48309 if test ${D}{status} != 0 ; then
48312 # move created file to the location we want it in:
48313 while test ${D}# -gt 0; do
48327 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48328 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48329 if test -f ${D}depfile ; then
48330 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48333 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48334 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48335 if test ! -f ${D}depfile ; then
48336 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48337 depfile="${D}objfile.d"
48339 if test -f ${D}depfile ; then
48340 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48345 elif test ${D}DEPSMODE = mwcc ; then
48346 ${D}* || exit ${D}?
48347 # Run mwcc again with -MM and redirect into the dep file we want
48348 # NOTE: We can't use shift here because we need ${D}* to be valid
48350 for arg in ${D}* ; do
48351 if test "${D}prevarg" = "-o"; then
48364 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48366 elif test ${D}DEPSMODE = unixcc; then
48367 ${D}* || exit ${D}?
48368 # Run compiler again with deps flag and redirect into the dep file.
48369 # It doesn't work if the '-o FILE' option is used, but without it the
48370 # dependency file will contain the wrong name for the object. So it is
48371 # removed from the command line, and the dep file is fixed with sed.
48373 while test ${D}# -gt 0; do
48380 eval arg${D}#=\\${D}1
48381 cmd="${D}cmd \\${D}arg${D}#"
48386 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48401 case ${BAKEFILE_HOST} in
48402 *-*-cygwin* | *-*-mingw32* )
48403 if test -n "$ac_tool_prefix"; then
48404 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48405 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48406 echo "$as_me:$LINENO: checking for $ac_word" >&5
48407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48408 if test "${ac_cv_prog_WINDRES+set}" = set; then
48409 echo $ECHO_N "(cached) $ECHO_C" >&6
48411 if test -n "$WINDRES"; then
48412 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48415 for as_dir
in $PATH
48418 test -z "$as_dir" && as_dir
=.
48419 for ac_exec_ext
in '' $ac_executable_extensions; do
48420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48421 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48430 WINDRES
=$ac_cv_prog_WINDRES
48431 if test -n "$WINDRES"; then
48432 echo "$as_me:$LINENO: result: $WINDRES" >&5
48433 echo "${ECHO_T}$WINDRES" >&6
48435 echo "$as_me:$LINENO: result: no" >&5
48436 echo "${ECHO_T}no" >&6
48440 if test -z "$ac_cv_prog_WINDRES"; then
48441 ac_ct_WINDRES
=$WINDRES
48442 # Extract the first word of "windres", so it can be a program name with args.
48443 set dummy windres
; ac_word
=$2
48444 echo "$as_me:$LINENO: checking for $ac_word" >&5
48445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48446 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48447 echo $ECHO_N "(cached) $ECHO_C" >&6
48449 if test -n "$ac_ct_WINDRES"; then
48450 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48453 for as_dir
in $PATH
48456 test -z "$as_dir" && as_dir
=.
48457 for ac_exec_ext
in '' $ac_executable_extensions; do
48458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48459 ac_cv_prog_ac_ct_WINDRES
="windres"
48460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48468 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48469 if test -n "$ac_ct_WINDRES"; then
48470 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48471 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48473 echo "$as_me:$LINENO: result: no" >&5
48474 echo "${ECHO_T}no" >&6
48477 WINDRES
=$ac_ct_WINDRES
48479 WINDRES
="$ac_cv_prog_WINDRES"
48484 *-*-darwin* | powerpc
-apple-macos* )
48485 # Extract the first word of "Rez", so it can be a program name with args.
48486 set dummy Rez
; ac_word
=$2
48487 echo "$as_me:$LINENO: checking for $ac_word" >&5
48488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48489 if test "${ac_cv_prog_REZ+set}" = set; then
48490 echo $ECHO_N "(cached) $ECHO_C" >&6
48492 if test -n "$REZ"; then
48493 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48496 for as_dir
in $PATH
48499 test -z "$as_dir" && as_dir
=.
48500 for ac_exec_ext
in '' $ac_executable_extensions; do
48501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48502 ac_cv_prog_REZ
="Rez"
48503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48509 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48512 REZ
=$ac_cv_prog_REZ
48513 if test -n "$REZ"; then
48514 echo "$as_me:$LINENO: result: $REZ" >&5
48515 echo "${ECHO_T}$REZ" >&6
48517 echo "$as_me:$LINENO: result: no" >&5
48518 echo "${ECHO_T}no" >&6
48521 # Extract the first word of "SetFile", so it can be a program name with args.
48522 set dummy SetFile
; ac_word
=$2
48523 echo "$as_me:$LINENO: checking for $ac_word" >&5
48524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48525 if test "${ac_cv_prog_SETFILE+set}" = set; then
48526 echo $ECHO_N "(cached) $ECHO_C" >&6
48528 if test -n "$SETFILE"; then
48529 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48532 for as_dir
in $PATH
48535 test -z "$as_dir" && as_dir
=.
48536 for ac_exec_ext
in '' $ac_executable_extensions; do
48537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48538 ac_cv_prog_SETFILE
="SetFile"
48539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48545 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48548 SETFILE
=$ac_cv_prog_SETFILE
48549 if test -n "$SETFILE"; then
48550 echo "$as_me:$LINENO: result: $SETFILE" >&5
48551 echo "${ECHO_T}$SETFILE" >&6
48553 echo "$as_me:$LINENO: result: no" >&5
48554 echo "${ECHO_T}no" >&6
48565 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
48568 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
48572 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48573 if test "${enable_precomp_headers+set}" = set; then
48574 enableval
="$enable_precomp_headers"
48575 bk_use_pch
="$enableval"
48582 case ${BAKEFILE_HOST} in
48588 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48589 if test "x$GCC" = "xyes"; then
48590 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48591 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48592 cat >conftest.
$ac_ext <<_ACEOF
48595 cat confdefs.h
>>conftest.
$ac_ext
48596 cat >>conftest.
$ac_ext <<_ACEOF
48597 /* end confdefs.h. */
48603 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48604 There is no PCH support
48607 There is no PCH support
48609 #if (__GNUC__ == 3) && \
48610 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48611 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48612 ( defined(__INTEL_COMPILER) )
48613 There is no PCH support
48620 rm -f conftest.
$ac_objext
48621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48622 (eval $ac_compile) 2>conftest.er1
48624 grep -v '^ *+' conftest.er1
>conftest.err
48626 cat conftest.err
>&5
48627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48628 (exit $ac_status); } &&
48629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631 (eval $ac_try) 2>&5
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; } &&
48635 { ac_try
='test -s conftest.$ac_objext'
48636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48637 (eval $ac_try) 2>&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); }; }; then
48642 echo "$as_me:$LINENO: result: yes" >&5
48643 echo "${ECHO_T}yes" >&6
48647 echo "$as_me: failed program was:" >&5
48648 sed 's/^/| /' conftest.
$ac_ext >&5
48651 cat >conftest.
$ac_ext <<_ACEOF
48654 cat confdefs.h
>>conftest.
$ac_ext
48655 cat >>conftest.
$ac_ext <<_ACEOF
48656 /* end confdefs.h. */
48662 #if !defined(__INTEL_COMPILER) || \
48663 (__INTEL_COMPILER < 800)
48664 There is no PCH support
48671 rm -f conftest.
$ac_objext
48672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48673 (eval $ac_compile) 2>conftest.er1
48675 grep -v '^ *+' conftest.er1
>conftest.err
48677 cat conftest.err
>&5
48678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48679 (exit $ac_status); } &&
48680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48682 (eval $ac_try) 2>&5
48684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48685 (exit $ac_status); }; } &&
48686 { ac_try
='test -s conftest.$ac_objext'
48687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48688 (eval $ac_try) 2>&5
48690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48691 (exit $ac_status); }; }; then
48693 echo "$as_me:$LINENO: result: yes" >&5
48694 echo "${ECHO_T}yes" >&6
48698 echo "$as_me: failed program was:" >&5
48699 sed 's/^/| /' conftest.
$ac_ext >&5
48702 echo "$as_me:$LINENO: result: no" >&5
48703 echo "${ECHO_T}no" >&6
48706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48710 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48714 cat <<EOF >bk-make-pch
48717 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48718 # script. It is used to generated precompiled headers.
48720 # Permission is given to use this file in any way.
48730 while test ${D}{#} -gt 0; do
48734 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48735 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48736 headerfile="${D}{incdir}/${D}{header}"
48739 -use-pch|-use_pch )
48744 if test ${D}add_to_cmdline = 1 ; then
48745 compiler="${D}{compiler} ${D}{1}"
48750 if test "x${D}{headerfile}" = "x" ; then
48751 echo "error: can't find header ${D}{header} in include paths" >&2
48753 if test -f ${D}{outfile} ; then
48754 rm -f ${D}{outfile}
48756 mkdir -p \`dirname ${D}{outfile}\`
48758 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48760 if test "x${GCC_PCH}" = "x1" ; then
48761 # can do this because gcc is >= 3.4:
48762 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48763 elif test "x${ICC_PCH}" = "x1" ; then
48764 filename=pch_gen-${D}${D}
48765 file=${D}{filename}.c
48766 dfile=${D}{filename}.d
48767 cat > ${D}file <<EOT
48768 #include "${D}header"
48770 # using -MF icc complains about differing command lines in creation/use
48771 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48772 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48773 rm -f ${D}file ${D}dfile ${D}{filename}.o
48779 chmod +x bk
-make-pch
48787 COND_BUILD_DEBUG
="#"
48788 if test "x$BUILD" = "xdebug" ; then
48789 COND_BUILD_DEBUG
=""
48792 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48793 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48794 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48797 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48798 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48799 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48802 COND_BUILD_DEBUG_UNICODE_0
="#"
48803 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48804 COND_BUILD_DEBUG_UNICODE_0
=""
48807 COND_BUILD_DEBUG_UNICODE_1
="#"
48808 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48809 COND_BUILD_DEBUG_UNICODE_1
=""
48812 COND_BUILD_RELEASE
="#"
48813 if test "x$BUILD" = "xrelease" ; then
48814 COND_BUILD_RELEASE
=""
48817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48818 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48822 COND_BUILD_RELEASE_UNICODE_0
="#"
48823 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48824 COND_BUILD_RELEASE_UNICODE_0
=""
48827 COND_BUILD_RELEASE_UNICODE_1
="#"
48828 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48829 COND_BUILD_RELEASE_UNICODE_1
=""
48832 COND_DEBUG_FLAG_1
="#"
48833 if test "x$DEBUG_FLAG" = "x1" ; then
48834 COND_DEBUG_FLAG_1
=""
48837 COND_DEBUG_INFO_0
="#"
48838 if test "x$DEBUG_INFO" = "x0" ; then
48839 COND_DEBUG_INFO_0
=""
48842 COND_DEBUG_INFO_1
="#"
48843 if test "x$DEBUG_INFO" = "x1" ; then
48844 COND_DEBUG_INFO_1
=""
48847 COND_DEPS_TRACKING_0
="#"
48848 if test "x$DEPS_TRACKING" = "x0" ; then
48849 COND_DEPS_TRACKING_0
=""
48852 COND_DEPS_TRACKING_1
="#"
48853 if test "x$DEPS_TRACKING" = "x1" ; then
48854 COND_DEPS_TRACKING_1
=""
48858 if test "x$GCC_PCH" = "x1" ; then
48863 if test "x$ICC_PCH" = "x1" ; then
48867 COND_MONOLITHIC_0
="#"
48868 if test "x$MONOLITHIC" = "x0" ; then
48869 COND_MONOLITHIC_0
=""
48872 COND_MONOLITHIC_0_SHARED_0
="#"
48873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48874 COND_MONOLITHIC_0_SHARED_0
=""
48877 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48879 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48882 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48884 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48889 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48907 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48909 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48912 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48914 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48917 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48919 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48922 COND_MONOLITHIC_0_SHARED_1
="#"
48923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48924 COND_MONOLITHIC_0_SHARED_1
=""
48927 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48929 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48932 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48934 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48957 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48959 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48962 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48964 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48967 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48969 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48972 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48974 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48977 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48979 COND_MONOLITHIC_0_USE_ODBC_1
=""
48982 COND_MONOLITHIC_1
="#"
48983 if test "x$MONOLITHIC" = "x1" ; then
48984 COND_MONOLITHIC_1
=""
48987 COND_MONOLITHIC_1_SHARED_0
="#"
48988 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48989 COND_MONOLITHIC_1_SHARED_0
=""
48992 COND_MONOLITHIC_1_SHARED_1
="#"
48993 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48994 COND_MONOLITHIC_1_SHARED_1
=""
48997 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48998 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48999 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49002 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49003 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49004 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49007 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49008 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49009 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49012 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49013 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49014 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49017 COND_PLATFORM_MACOSX_1
="#"
49018 if test "x$PLATFORM_MACOSX" = "x1" ; then
49019 COND_PLATFORM_MACOSX_1
=""
49022 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49023 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49024 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49027 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49028 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49029 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49032 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49034 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49039 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49042 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49044 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49047 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49049 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49052 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49054 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49057 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49059 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49062 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49064 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49067 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49069 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49072 COND_PLATFORM_MACOS_1
="#"
49073 if test "x$PLATFORM_MACOS" = "x1" ; then
49074 COND_PLATFORM_MACOS_1
=""
49077 COND_PLATFORM_MAC_1
="#"
49078 if test "x$PLATFORM_MAC" = "x1" ; then
49079 COND_PLATFORM_MAC_1
=""
49082 COND_PLATFORM_MSDOS_0
="#"
49083 if test "x$PLATFORM_MSDOS" = "x0" ; then
49084 COND_PLATFORM_MSDOS_0
=""
49087 COND_PLATFORM_MSDOS_1
="#"
49088 if test "x$PLATFORM_MSDOS" = "x1" ; then
49089 COND_PLATFORM_MSDOS_1
=""
49092 COND_PLATFORM_OS2_1
="#"
49093 if test "x$PLATFORM_OS2" = "x1" ; then
49094 COND_PLATFORM_OS2_1
=""
49097 COND_PLATFORM_UNIX_0
="#"
49098 if test "x$PLATFORM_UNIX" = "x0" ; then
49099 COND_PLATFORM_UNIX_0
=""
49102 COND_PLATFORM_UNIX_1
="#"
49103 if test "x$PLATFORM_UNIX" = "x1" ; then
49104 COND_PLATFORM_UNIX_1
=""
49107 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49108 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49109 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49112 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49113 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49114 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49117 COND_PLATFORM_WIN32_0
="#"
49118 if test "x$PLATFORM_WIN32" = "x0" ; then
49119 COND_PLATFORM_WIN32_0
=""
49122 COND_PLATFORM_WIN32_1
="#"
49123 if test "x$PLATFORM_WIN32" = "x1" ; then
49124 COND_PLATFORM_WIN32_1
=""
49128 if test "x$SHARED" = "x0" ; then
49132 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49133 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49134 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49137 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49138 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49139 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49142 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49143 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49144 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49147 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49148 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49149 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49152 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49153 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49158 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49159 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49163 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49164 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49167 COND_SHARED_0_USE_XRC_1
="#"
49168 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49169 COND_SHARED_0_USE_XRC_1
=""
49172 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49173 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49174 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49177 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49178 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49179 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49182 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49183 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49184 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49187 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49188 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49189 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49193 if test "x$SHARED" = "x1" ; then
49197 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49198 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49199 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49202 COND_SHARED_1_USE_XRC_1
="#"
49203 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49204 COND_SHARED_1_USE_XRC_1
=""
49208 if test "x$TOOLKIT" = "x" ; then
49212 COND_TOOLKIT_COCOA
="#"
49213 if test "x$TOOLKIT" = "xCOCOA" ; then
49214 COND_TOOLKIT_COCOA
=""
49217 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49218 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49219 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49222 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49223 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49224 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49227 COND_TOOLKIT_DFB
="#"
49228 if test "x$TOOLKIT" = "xDFB" ; then
49229 COND_TOOLKIT_DFB
=""
49232 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49233 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49234 COND_TOOLKIT_DFB_USE_GUI_1
=""
49237 COND_TOOLKIT_GTK
="#"
49238 if test "x$TOOLKIT" = "xGTK" ; then
49239 COND_TOOLKIT_GTK
=""
49242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49243 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49248 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49249 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49259 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49262 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49264 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49267 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49269 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49272 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49273 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49274 COND_TOOLKIT_GTK_USE_GUI_1
=""
49277 COND_TOOLKIT_MAC
="#"
49278 if test "x$TOOLKIT" = "xMAC" ; then
49279 COND_TOOLKIT_MAC
=""
49282 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49283 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49284 COND_TOOLKIT_MAC_USE_GUI_1
=""
49287 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49288 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49289 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49292 COND_TOOLKIT_MGL
="#"
49293 if test "x$TOOLKIT" = "xMGL" ; then
49294 COND_TOOLKIT_MGL
=""
49297 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49298 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49299 COND_TOOLKIT_MGL_USE_GUI_1
=""
49302 COND_TOOLKIT_MOTIF
="#"
49303 if test "x$TOOLKIT" = "xMOTIF" ; then
49304 COND_TOOLKIT_MOTIF
=""
49307 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49308 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49309 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49312 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49313 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49314 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49317 COND_TOOLKIT_MSW
="#"
49318 if test "x$TOOLKIT" = "xMSW" ; then
49319 COND_TOOLKIT_MSW
=""
49322 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49323 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_MSW_USE_GUI_1
=""
49327 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49328 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49329 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49332 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49333 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49334 COND_TOOLKIT_MSW_WXUNIV_0
=""
49337 COND_TOOLKIT_PM
="#"
49338 if test "x$TOOLKIT" = "xPM" ; then
49342 COND_TOOLKIT_PM_USE_GUI_1
="#"
49343 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49344 COND_TOOLKIT_PM_USE_GUI_1
=""
49347 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49348 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49349 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49352 COND_TOOLKIT_WINCE
="#"
49353 if test "x$TOOLKIT" = "xWINCE" ; then
49354 COND_TOOLKIT_WINCE
=""
49357 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49358 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49359 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49362 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49363 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49364 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49367 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49368 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49369 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49372 COND_TOOLKIT_X11
="#"
49373 if test "x$TOOLKIT" = "xX11" ; then
49374 COND_TOOLKIT_X11
=""
49377 COND_TOOLKIT_X11_USE_GUI_1
="#"
49378 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49379 COND_TOOLKIT_X11_USE_GUI_1
=""
49383 if test "x$UNICODE" = "x1" ; then
49387 COND_USE_EXCEPTIONS_0
="#"
49388 if test "x$USE_EXCEPTIONS" = "x0" ; then
49389 COND_USE_EXCEPTIONS_0
=""
49392 COND_USE_EXCEPTIONS_1
="#"
49393 if test "x$USE_EXCEPTIONS" = "x1" ; then
49394 COND_USE_EXCEPTIONS_1
=""
49398 if test "x$USE_GUI" = "x0" ; then
49403 if test "x$USE_GUI" = "x1" ; then
49407 COND_USE_GUI_1_WXUNIV_0
="#"
49408 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49409 COND_USE_GUI_1_WXUNIV_0
=""
49412 COND_USE_GUI_1_WXUNIV_1
="#"
49413 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49414 COND_USE_GUI_1_WXUNIV_1
=""
49417 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49418 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49419 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49422 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49423 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49424 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49427 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49428 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49429 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49432 COND_USE_ODBC_1
="#"
49433 if test "x$USE_ODBC" = "x1" ; then
49437 COND_USE_OPENGL_1
="#"
49438 if test "x$USE_OPENGL" = "x1" ; then
49439 COND_USE_OPENGL_1
=""
49443 if test "x$USE_PCH" = "x1" ; then
49447 COND_USE_PLUGINS_0
="#"
49448 if test "x$USE_PLUGINS" = "x0" ; then
49449 COND_USE_PLUGINS_0
=""
49452 COND_USE_RTTI_0
="#"
49453 if test "x$USE_RTTI" = "x0" ; then
49457 COND_USE_RTTI_1
="#"
49458 if test "x$USE_RTTI" = "x1" ; then
49462 COND_USE_SOSYMLINKS_1
="#"
49463 if test "x$USE_SOSYMLINKS" = "x1" ; then
49464 COND_USE_SOSYMLINKS_1
=""
49467 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49468 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49469 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49472 COND_USE_SOVERLINUX_1
="#"
49473 if test "x$USE_SOVERLINUX" = "x1" ; then
49474 COND_USE_SOVERLINUX_1
=""
49477 COND_USE_SOVERSION_0
="#"
49478 if test "x$USE_SOVERSION" = "x0" ; then
49479 COND_USE_SOVERSION_0
=""
49482 COND_USE_SOVERSOLARIS_1
="#"
49483 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49484 COND_USE_SOVERSOLARIS_1
=""
49487 COND_USE_THREADS_0
="#"
49488 if test "x$USE_THREADS" = "x0" ; then
49489 COND_USE_THREADS_0
=""
49492 COND_USE_THREADS_1
="#"
49493 if test "x$USE_THREADS" = "x1" ; then
49494 COND_USE_THREADS_1
=""
49498 if test "x$USE_XRC" = "x1" ; then
49502 COND_WINDOWS_IMPLIB_1
="#"
49503 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49504 COND_WINDOWS_IMPLIB_1
=""
49507 COND_WITH_PLUGIN_SDL_1
="#"
49508 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49509 COND_WITH_PLUGIN_SDL_1
=""
49513 if test "x$WXUNIV" = "x0" ; then
49518 if test "x$WXUNIV" = "x1" ; then
49522 COND_WXUSE_EXPAT_BUILTIN
="#"
49523 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49524 COND_WXUSE_EXPAT_BUILTIN
=""
49527 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49528 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49529 COND_WXUSE_LIBJPEG_BUILTIN
=""
49532 COND_WXUSE_LIBPNG_BUILTIN
="#"
49533 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49534 COND_WXUSE_LIBPNG_BUILTIN
=""
49537 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49538 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49539 COND_WXUSE_LIBTIFF_BUILTIN
=""
49542 COND_WXUSE_ODBC_BUILTIN
="#"
49543 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49544 COND_WXUSE_ODBC_BUILTIN
=""
49547 COND_WXUSE_REGEX_BUILTIN
="#"
49548 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49549 COND_WXUSE_REGEX_BUILTIN
=""
49552 COND_WXUSE_ZLIB_BUILTIN
="#"
49553 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49554 COND_WXUSE_ZLIB_BUILTIN
=""
49559 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49560 { { 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
49561 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;}
49562 { (exit 1); exit 1; }; }
49565 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49566 { { 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
49567 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;}
49568 { (exit 1); exit 1; }; }
49573 if test "$wxUSE_MAC" = 1 ; then
49574 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49575 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49581 if test "$wxUSE_SHARED" = "yes"; then
49583 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
49584 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49587 *-pc-os2_emx | *-pc-os2-emx )
49588 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49589 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49590 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49591 cp -p ${srcdir}/src
/os
2/dllar.sh .
49596 EXE_LINKER
="$CXX -o"
49599 if test "$wxUSE_OMF" = "yes"; then
49601 *-pc-os2_emx | *-pc-os2-emx )
49602 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49603 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49604 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49609 if test $GCC_PCH = 1 ; then
49610 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49613 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49615 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49677 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49678 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49679 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
49680 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49681 echo $ECHO_N "(cached) $ECHO_C" >&6
49683 cat >conftest.
make <<\_ACEOF
49685 @
echo 'ac_maketemp="$(MAKE)"'
49687 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49688 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49689 if test -n "$ac_maketemp"; then
49690 eval ac_cv_prog_make_
${ac_make}_set
=yes
49692 eval ac_cv_prog_make_
${ac_make}_set
=no
49694 rm -f conftest.
make
49696 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49697 echo "$as_me:$LINENO: result: yes" >&5
49698 echo "${ECHO_T}yes" >&6
49701 echo "$as_me:$LINENO: result: no" >&5
49702 echo "${ECHO_T}no" >&6
49703 SET_MAKE
="MAKE=${MAKE-make}"
49708 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49711 if test "$USE_WIN32" = 1; then
49712 ac_config_commands
="$ac_config_commands
49718 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49721 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49724 ac_config_files
="$ac_config_files version-script Makefile"
49727 ac_config_commands
="$ac_config_commands wx-config"
49731 if test "$wxWITH_SUBDIRS" != "no"; then
49732 if test "$wxUSE_GUI" = "yes"; then
49733 SUBDIRS
="samples demos utils contrib"
49734 else SUBDIRS
="samples utils"
49739 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49740 if test "${with_cppunit_prefix+set}" = set; then
49741 withval
="$with_cppunit_prefix"
49742 cppunit_config_prefix
="$withval"
49744 cppunit_config_prefix
=""
49747 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49748 if test "${with_cppunit_exec_prefix+set}" = set; then
49749 withval
="$with_cppunit_exec_prefix"
49750 cppunit_config_exec_prefix
="$withval"
49752 cppunit_config_exec_prefix
=""
49755 if test x
$cppunit_config_exec_prefix != x
; then
49756 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49757 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49758 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49761 if test x
$cppunit_config_prefix != x
; then
49762 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49763 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49764 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49768 # Extract the first word of "cppunit-config", so it can be a program name with args.
49769 set dummy cppunit
-config; ac_word
=$2
49770 echo "$as_me:$LINENO: checking for $ac_word" >&5
49771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49772 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49773 echo $ECHO_N "(cached) $ECHO_C" >&6
49775 case $CPPUNIT_CONFIG in
49777 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49781 for as_dir
in $PATH
49784 test -z "$as_dir" && as_dir
=.
49785 for ac_exec_ext
in '' $ac_executable_extensions; do
49786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49787 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49794 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49798 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49800 if test -n "$CPPUNIT_CONFIG"; then
49801 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49802 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49804 echo "$as_me:$LINENO: result: no" >&5
49805 echo "${ECHO_T}no" >&6
49808 cppunit_version_min
=1.8.0
49810 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49811 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49813 if test "$CPPUNIT_CONFIG" = "no" ; then
49814 echo "$as_me:$LINENO: result: no" >&5
49815 echo "${ECHO_T}no" >&6
49818 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49819 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49820 cppunit_version
=`$CPPUNIT_CONFIG --version`
49822 cppunit_major_version
=`echo $cppunit_version | \
49823 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49824 cppunit_minor_version
=`echo $cppunit_version | \
49825 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49826 cppunit_micro_version
=`echo $cppunit_version | \
49827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49829 cppunit_major_min
=`echo $cppunit_version_min | \
49830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49831 cppunit_minor_min
=`echo $cppunit_version_min | \
49832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49833 cppunit_micro_min
=`echo $cppunit_version_min | \
49834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49836 cppunit_version_proper
=`expr \
49837 $cppunit_major_version \> $cppunit_major_min \| \
49838 $cppunit_major_version \= $cppunit_major_min \& \
49839 $cppunit_minor_version \> $cppunit_minor_min \| \
49840 $cppunit_major_version \= $cppunit_major_min \& \
49841 $cppunit_minor_version \= $cppunit_minor_min \& \
49842 $cppunit_micro_version \>= $cppunit_micro_min `
49844 if test "$cppunit_version_proper" = "1" ; then
49845 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49846 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49848 echo "$as_me:$LINENO: result: no" >&5
49849 echo "${ECHO_T}no" >&6
49854 if test "x$no_cppunit" = x
; then
49855 SUBDIRS
="$SUBDIRS tests"
49866 for subdir
in `echo $SUBDIRS`; do
49867 if test -d ${srcdir}/${subdir} ; then
49868 if test "$wxUSE_GUI" = "yes"; then
49869 if test ${subdir} = "samples"; then
49870 makefiles
="samples/Makefile.in $makefiles"
49871 for sample
in `echo $SAMPLES_SUBDIRS`; do
49872 if test -d $srcdir/samples
/$sample; then
49873 makefiles
="samples/$sample/Makefile.in $makefiles"
49877 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49878 eval "disabled=\$$disabled_var"
49879 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49880 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49882 else if test ${subdir} = "samples"; then
49883 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49884 elif test ${subdir} = "utils"; then
49886 for util
in HelpGen tex2rtf
; do
49887 if test -d $srcdir/utils
/$util ; then
49888 makefiles
="utils/$util/Makefile.in \
49889 utils/$util/src/Makefile.in \
49893 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49897 for mkin
in $makefiles ; do
49898 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49899 ac_config_files
="$ac_config_files $mk"
49905 cat >confcache
<<\_ACEOF
49906 # This file is a shell script that caches the results of configure
49907 # tests run on this system so they can be shared between configure
49908 # scripts and configure runs, see configure's option --config-cache.
49909 # It is not useful on other systems. If it contains results you don't
49910 # want to keep, you may remove or edit it.
49912 # config.status only pays attention to the cache file if you give it
49913 # the --recheck option to rerun configure.
49915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49917 # following values.
49921 # The following way of writing the cache mishandles newlines in values,
49922 # but we know of no workaround that is simple, portable, and efficient.
49923 # So, don't put newlines in cache variables' values.
49924 # Ultrix sh set writes to stderr and can't be redirected directly,
49925 # and sets the high bit in the cache file unless we assign to the vars.
49928 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49930 # `set' does not quote correctly, so add quotes (double-quote
49931 # substitution turns \\\\ into \\, and sed turns \\ into \).
49934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49937 # `set' quotes correctly as required by POSIX, so do not add quotes.
49939 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49948 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49950 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49951 if test -w $cache_file; then
49952 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49953 cat confcache
>$cache_file
49955 echo "not updating unwritable cache $cache_file"
49960 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49961 # Let make expand exec_prefix.
49962 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49964 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49965 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49966 # trailing colons and then remove the whole line if VPATH becomes empty
49967 # (actually we leave an empty line to preserve line numbers).
49968 if test "x$srcdir" = x.
; then
49969 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49970 s/:*\$(srcdir):*/:/;
49971 s/:*\${srcdir}:*/:/;
49973 s/^\([^=]*=[ ]*\):*/\1/;
49979 DEFS
=-DHAVE_CONFIG_H
49983 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49984 # 1. Remove the extension, and $U if already installed.
49985 ac_i
=`echo "$ac_i" |
49986 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49988 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49989 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49991 LIBOBJS
=$ac_libobjs
49993 LTLIBOBJS
=$ac_ltlibobjs
49997 : ${CONFIG_STATUS=./config.status}
49998 ac_clean_files_save
=$ac_clean_files
49999 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50000 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50001 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50002 cat >$CONFIG_STATUS <<_ACEOF
50004 # Generated by $as_me.
50005 # Run this file to recreate the current configuration.
50006 # Compiler output produced by configure, useful for debugging
50007 # configure, is in config.log if it exists.
50010 ac_cs_recheck=false
50012 SHELL=\${CONFIG_SHELL-$SHELL}
50015 cat >>$CONFIG_STATUS <<\_ACEOF
50016 ## --------------------- ##
50017 ## M4sh Initialization. ##
50018 ## --------------------- ##
50020 # Be Bourne compatible
50021 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50024 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50025 # is contrary to our usage. Disable this feature.
50026 alias -g '${1+"$@"}'='"$@"'
50027 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50030 DUALCASE
=1; export DUALCASE
# for MKS sh
50032 # Support unset when possible.
50033 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50040 # Work around bugs in pre-3.0 UWIN ksh.
50041 $as_unset ENV MAIL MAILPATH
50048 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50049 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50050 LC_TELEPHONE LC_TIME
50052 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50053 eval $as_var=C
; export $as_var
50059 # Required to use basename.
50060 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50066 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50067 as_basename
=basename
50073 # Name of the executable.
50074 as_me
=`$as_basename "$0" ||
50075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50076 X"$0" : 'X\(//\)$' \| \
50077 X"$0" : 'X\(/\)$' \| \
50078 . : '\(.\)' 2>/dev/null ||
50080 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50081 /^X\/\(\/\/\)$/{ s//\1/; q; }
50082 /^X\/\(\/\).*/{ s//\1/; q; }
50086 # PATH needs CR, and LINENO needs CR and PATH.
50087 # Avoid depending upon Character Ranges.
50088 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50089 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50090 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50091 as_cr_digits
='0123456789'
50092 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50094 # The user is always right.
50095 if test "${PATH_SEPARATOR+set}" != set; then
50096 echo "#! /bin/sh" >conf$$.sh
50097 echo "exit 0" >>conf$$.sh
50099 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50108 as_lineno_1
=$LINENO
50109 as_lineno_2
=$LINENO
50110 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50111 test "x$as_lineno_1" != "x$as_lineno_2" &&
50112 test "x$as_lineno_3" = "x$as_lineno_2" || {
50113 # Find who we are. Look in the path if we contain no path at all
50116 *[\\/]* ) as_myself
=$0 ;;
50117 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50118 for as_dir
in $PATH
50121 test -z "$as_dir" && as_dir
=.
50122 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50127 # We did not find ourselves, most probably we were run as `sh COMMAND'
50128 # in which case we are not to be found in the path.
50129 if test "x$as_myself" = x
; then
50132 if test ! -f "$as_myself"; then
50133 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50134 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50135 { (exit 1); exit 1; }; }
50137 case $CONFIG_SHELL in
50139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50140 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50143 test -z "$as_dir" && as_dir
=.
50144 for as_base
in sh bash ksh sh5
; do
50147 if ("$as_dir/$as_base" -c '
50148 as_lineno_1=$LINENO
50149 as_lineno_2=$LINENO
50150 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50151 test "x$as_lineno_1" != "x$as_lineno_2" &&
50152 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50153 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50154 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50155 CONFIG_SHELL
=$as_dir/$as_base
50156 export CONFIG_SHELL
50157 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50165 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50166 # uniformly replaced by the line number. The first 'sed' inserts a
50167 # line-number line before each line; the second 'sed' does the real
50168 # work. The second script uses 'N' to pair each line-number line
50169 # with the numbered line, and appends trailing '-' during
50170 # substitution so that $LINENO is not a special case at line end.
50171 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50172 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50173 sed '=' <$as_myself |
50178 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50181 s,^['$as_cr_digits']*\n,,
50182 ' >$as_me.lineno
&&
50183 chmod +x
$as_me.lineno
||
50184 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50185 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50186 { (exit 1); exit 1; }; }
50188 # Don't try to exec as it changes $[0], causing all sort of problems
50189 # (the dirname of $[0] is not the place where we might find the
50190 # original and so on. Autoconf is especially sensible to this).
50192 # Exit status is that of the last command.
50197 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50198 *c
*,-n*) ECHO_N
= ECHO_C
='
50200 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50201 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50204 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50210 rm -f conf$$ conf$$.exe conf$$.
file
50212 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50213 # We could just check for DJGPP; but this test a) works b) is more generic
50214 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50215 if test -f conf$$.exe
; then
50216 # Don't use ln at all; we don't have any links
50221 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50226 rm -f conf$$ conf$$.exe conf$$.
file
50228 if mkdir -p .
2>/dev
/null
; then
50231 test -d .
/-p && rmdir .
/-p
50235 as_executable_p
="test -f"
50237 # Sed expression to map a string onto a valid CPP name.
50238 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50240 # Sed expression to map a string onto a valid variable name.
50241 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50245 # We need space, tab and new line, in precisely that order.
50255 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50256 # report actual input values of CONFIG_FILES etc. instead of their
50257 # values after options handling. Logging --version etc. is OK.
50261 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50262 ## Running $as_me. ##
50267 This file was extended by wxWidgets $as_me 2.7.1, which was
50268 generated by GNU Autoconf 2.59. Invocation command line was
50270 CONFIG_FILES = $CONFIG_FILES
50271 CONFIG_HEADERS = $CONFIG_HEADERS
50272 CONFIG_LINKS = $CONFIG_LINKS
50273 CONFIG_COMMANDS = $CONFIG_COMMANDS
50277 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50281 # Files that config.status was made for.
50282 if test -n "$ac_config_files"; then
50283 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50286 if test -n "$ac_config_headers"; then
50287 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50290 if test -n "$ac_config_links"; then
50291 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50294 if test -n "$ac_config_commands"; then
50295 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50298 cat >>$CONFIG_STATUS <<\_ACEOF
50301 \`$as_me' instantiates files from templates according to the
50302 current configuration.
50304 Usage: $0 [OPTIONS] [FILE]...
50306 -h, --help print this help, then exit
50307 -V, --version print version number, then exit
50308 -q, --quiet do not print progress messages
50309 -d, --debug don't remove temporary files
50310 --recheck update $as_me by reconfiguring in the same conditions
50311 --file=FILE[:TEMPLATE]
50312 instantiate the configuration file FILE
50313 --header=FILE[:TEMPLATE]
50314 instantiate the configuration header FILE
50316 Configuration files:
50319 Configuration headers:
50322 Configuration commands:
50325 Report bugs to <bug-autoconf@gnu.org>."
50328 cat >>$CONFIG_STATUS <<_ACEOF
50330 wxWidgets config.status 2.7.1
50331 configured by $0, generated by GNU Autoconf 2.59,
50332 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50334 Copyright (C) 2003 Free Software Foundation, Inc.
50335 This config.status script is free software; the Free Software Foundation
50336 gives unlimited permission to copy, distribute and modify it."
50341 cat >>$CONFIG_STATUS <<\_ACEOF
50342 # If no file are specified by the user, then we need to provide default
50343 # value. By we need to know if files were specified by the user.
50349 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50350 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50358 *) # This is not an option, so the user has probably given explicit
50361 ac_need_defaults
=false
;;
50365 # Handling of the options.
50367 cat >>$CONFIG_STATUS <<\_ACEOF
50368 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50370 --version | --vers* | -V )
50371 echo "$ac_cs_version"; exit 0 ;;
50373 # Conflict between --help and --header
50374 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50375 Try \`$0 --help' for more information." >&5
50376 echo "$as_me: error: ambiguous option: $1
50377 Try \`$0 --help' for more information." >&2;}
50378 { (exit 1); exit 1; }; };;
50379 --help | --hel | -h )
50380 echo "$ac_cs_usage"; exit 0 ;;
50381 --debug | --d* | -d )
50383 --file | --fil | --fi | --f )
50385 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50386 ac_need_defaults
=false
;;
50387 --header | --heade | --head | --hea )
50389 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50390 ac_need_defaults
=false
;;
50391 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50392 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50395 # This is an error.
50396 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50397 Try \`$0 --help' for more information." >&5
50398 echo "$as_me: error: unrecognized option: $1
50399 Try \`$0 --help' for more information." >&2;}
50400 { (exit 1); exit 1; }; } ;;
50402 *) ac_config_targets
="$ac_config_targets $1" ;;
50408 ac_configure_extra_args
=
50410 if $ac_cs_silent; then
50412 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50416 cat >>$CONFIG_STATUS <<_ACEOF
50417 if \$ac_cs_recheck; then
50418 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50419 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50424 cat >>$CONFIG_STATUS <<_ACEOF
50426 # INIT-COMMANDS section.
50431 infile="$srcdir/include/wx/msw/genrcdefs.h"
50432 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50435 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50436 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50437 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50445 cat >>$CONFIG_STATUS <<\_ACEOF
50446 for ac_config_target
in $ac_config_targets
50448 case "$ac_config_target" in
50449 # Handling of arguments.
50450 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50451 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50452 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50453 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50454 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50455 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50456 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50457 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50458 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50459 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50460 { (exit 1); exit 1; }; };;
50464 # If the user did not use the arguments to specify the items to instantiate,
50465 # then the envvar interface is used. Set only those that are not.
50466 # We use the long form for the default assignment because of an extremely
50467 # bizarre bug on SunOS 4.1.3.
50468 if $ac_need_defaults; then
50469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50470 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50474 # Have a temporary directory for convenience. Make it in the build tree
50475 # simply because there is no reason to put it here, and in addition,
50476 # creating and moving files from /tmp can sometimes cause problems.
50477 # Create a temporary directory, and hook for its removal unless debugging.
50480 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50481 trap '{ (exit 1); exit 1; }' 1 2 13 15
50484 # Create a (secure) tmp directory for tmp files.
50487 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50488 test -n "$tmp" && test -d "$tmp"
50491 tmp
=.
/confstat$$
-$RANDOM
50492 (umask 077 && mkdir $tmp)
50495 echo "$me: cannot create a temporary directory in ." >&2
50496 { (exit 1); exit 1; }
50501 cat >>$CONFIG_STATUS <<_ACEOF
50504 # CONFIG_FILES section.
50507 # No need to generate the scripts if there are no CONFIG_FILES.
50508 # This happens for instance when ./config.status config.h
50509 if test -n "\$CONFIG_FILES"; then
50510 # Protect against being on the right side of a sed subst in config.status.
50511 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50512 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50513 s,@SHELL@,$SHELL,;t t
50514 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50515 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50516 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50517 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50518 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50519 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50520 s,@exec_prefix@,$exec_prefix,;t t
50521 s,@prefix@,$prefix,;t t
50522 s,@program_transform_name@,$program_transform_name,;t t
50523 s,@bindir@,$bindir,;t t
50524 s,@sbindir@,$sbindir,;t t
50525 s,@libexecdir@,$libexecdir,;t t
50526 s,@datadir@,$datadir,;t t
50527 s,@sysconfdir@,$sysconfdir,;t t
50528 s,@sharedstatedir@,$sharedstatedir,;t t
50529 s,@localstatedir@,$localstatedir,;t t
50530 s,@libdir@,$libdir,;t t
50531 s,@includedir@,$includedir,;t t
50532 s,@oldincludedir@,$oldincludedir,;t t
50533 s,@infodir@,$infodir,;t t
50534 s,@mandir@,$mandir,;t t
50535 s,@build_alias@,$build_alias,;t t
50536 s,@host_alias@,$host_alias,;t t
50537 s,@target_alias@,$target_alias,;t t
50538 s,@DEFS@,$DEFS,;t t
50539 s,@ECHO_C@,$ECHO_C,;t t
50540 s,@ECHO_N@,$ECHO_N,;t t
50541 s,@ECHO_T@,$ECHO_T,;t t
50542 s,@LIBS@,$LIBS,;t t
50543 s,@build@,$build,;t t
50544 s,@build_cpu@,$build_cpu,;t t
50545 s,@build_vendor@,$build_vendor,;t t
50546 s,@build_os@,$build_os,;t t
50547 s,@host@,$host,;t t
50548 s,@host_cpu@,$host_cpu,;t t
50549 s,@host_vendor@,$host_vendor,;t t
50550 s,@host_os@,$host_os,;t t
50551 s,@target@,$target,;t t
50552 s,@target_cpu@,$target_cpu,;t t
50553 s,@target_vendor@,$target_vendor,;t t
50554 s,@target_os@,$target_os,;t t
50556 s,@CFLAGS@,$CFLAGS,;t t
50557 s,@LDFLAGS@,$LDFLAGS,;t t
50558 s,@CPPFLAGS@,$CPPFLAGS,;t t
50559 s,@ac_ct_CC@,$ac_ct_CC,;t t
50560 s,@EXEEXT@,$EXEEXT,;t t
50561 s,@OBJEXT@,$OBJEXT,;t t
50563 s,@EGREP@,$EGREP,;t t
50565 s,@CXXFLAGS@,$CXXFLAGS,;t t
50566 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50567 s,@RANLIB@,$RANLIB,;t t
50568 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50570 s,@ac_ct_AR@,$ac_ct_AR,;t t
50571 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50572 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50573 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50574 s,@STRIP@,$STRIP,;t t
50575 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50576 s,@WINDRES@,$WINDRES,;t t
50577 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50578 s,@DLLTOOL@,$DLLTOOL,;t t
50579 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50580 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50581 s,@LN_S@,$LN_S,;t t
50582 s,@CXXCPP@,$CXXCPP,;t t
50583 s,@subdirs@,$subdirs,;t t
50584 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50585 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50586 s,@GTK_LIBS@,$GTK_LIBS,;t t
50587 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50588 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50589 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50590 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50591 s,@X_CFLAGS@,$X_CFLAGS,;t t
50592 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50593 s,@X_LIBS@,$X_LIBS,;t t
50594 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50595 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50596 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50597 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50598 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50599 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50600 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50602 s,@DEREZ@,$DEREZ,;t t
50603 s,@SETFILE@,$SETFILE,;t t
50604 s,@LIBICONV@,$LIBICONV,;t t
50605 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50606 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50607 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50608 s,@SDL_LIBS@,$SDL_LIBS,;t t
50609 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50610 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50611 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50612 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50613 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50614 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50615 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50616 s,@GST_LIBS@,$GST_LIBS,;t t
50617 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50618 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50619 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50620 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50621 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50622 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50623 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50624 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50625 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50626 s,@VENDOR@,$VENDOR,;t t
50627 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50628 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50629 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50630 s,@WXUNIV@,$WXUNIV,;t t
50631 s,@MONOLITHIC@,$MONOLITHIC,;t t
50632 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50633 s,@EXTRALIBS@,$EXTRALIBS,;t t
50634 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50635 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50636 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50637 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50638 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50639 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50640 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50641 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50642 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50643 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50644 s,@UNICODE@,$UNICODE,;t t
50645 s,@BUILD@,$BUILD,;t t
50646 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50647 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50648 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50649 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50650 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50651 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50652 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50653 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50654 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50655 s,@SET_MAKE@,$SET_MAKE,;t t
50656 s,@MAKE_SET@,$MAKE_SET,;t t
50658 s,@ac_ct_NM@,$ac_ct_NM,;t t
50659 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50660 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50661 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50662 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50663 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50664 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50665 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50666 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50667 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50668 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50669 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50670 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50671 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50672 s,@LIBPREFIX@,$LIBPREFIX,;t t
50673 s,@LIBEXT@,$LIBEXT,;t t
50674 s,@DLLPREFIX@,$DLLPREFIX,;t t
50675 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50676 s,@dlldir@,$dlldir,;t t
50677 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50678 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50679 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50680 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50681 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50682 s,@PIC_FLAG@,$PIC_FLAG,;t t
50683 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50684 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50685 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50686 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50687 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50688 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50689 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50690 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50691 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50692 s,@GCC_PCH@,$GCC_PCH,;t t
50693 s,@ICC_PCH@,$ICC_PCH,;t t
50694 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50695 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50696 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50697 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50698 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50699 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50700 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50701 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50702 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50703 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50704 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50705 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50706 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50707 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50708 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50709 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50710 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50711 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50712 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50713 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50714 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
50715 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
50716 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
50717 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
50718 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50719 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50720 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50721 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50722 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50723 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50724 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
50725 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
50726 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
50727 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
50728 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50729 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50730 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50731 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50732 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50733 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50734 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50735 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50736 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50737 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50738 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50739 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50740 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50741 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50742 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50743 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50744 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50745 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50746 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
50747 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50748 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50749 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50750 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50751 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50752 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50753 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50754 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50755 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50756 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50757 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50758 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50759 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50760 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50761 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50762 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50763 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50764 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50765 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50766 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50767 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50768 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50769 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50770 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50771 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50772 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50773 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50774 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50775 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50776 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50777 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50778 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50779 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50780 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50781 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50782 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50783 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50784 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50785 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50786 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50787 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50788 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
50789 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50790 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50791 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50792 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50793 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50794 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50795 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50796 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50797 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50798 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50799 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50800 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50801 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50802 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50803 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50804 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50805 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50806 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50807 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50808 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50809 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50810 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50811 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50812 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50813 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50814 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50815 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50816 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50817 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50818 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50819 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50820 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50821 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50822 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50823 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50824 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50825 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50826 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50827 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50828 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50829 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50830 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50831 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50832 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50833 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50834 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50835 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50836 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50837 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50838 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50839 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50840 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50841 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50842 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50843 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50844 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50845 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50846 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50847 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50848 s,@SHARED@,$SHARED,;t t
50849 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50850 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50851 s,@USE_GUI@,$USE_GUI,;t t
50852 s,@AFMINSTALL@,$AFMINSTALL,;t t
50853 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50854 s,@TOOLKIT@,$TOOLKIT,;t t
50855 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50856 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50857 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50858 s,@cross_compiling@,$cross_compiling,;t t
50859 s,@WIDGET_SET@,$WIDGET_SET,;t t
50860 s,@WX_RELEASE@,$WX_RELEASE,;t t
50861 s,@WX_VERSION@,$WX_VERSION,;t t
50862 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50863 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50864 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50865 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50866 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50867 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50868 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50869 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50870 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50871 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50872 s,@EXE_LINKER@,$EXE_LINKER,;t t
50873 s,@GUIDIST@,$GUIDIST,;t t
50874 s,@DISTDIR@,$DISTDIR,;t t
50875 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50876 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50877 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50878 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50879 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50880 s,@RESCOMP@,$RESCOMP,;t t
50881 s,@RESFLAGS@,$RESFLAGS,;t t
50882 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50883 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50884 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50885 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50886 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50887 s,@MACSETFILE@,$MACSETFILE,;t t
50889 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50890 s,@LIBOBJS@,$LIBOBJS,;t t
50891 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50896 cat >>$CONFIG_STATUS <<\_ACEOF
50897 # Split the substitutions into bite-sized pieces for seds with
50898 # small command number limits, like on Digital OSF/1 and HP-UX.
50899 ac_max_sed_lines
=48
50900 ac_sed_frag
=1 # Number of current file.
50901 ac_beg
=1 # First line for current file.
50902 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50905 while $ac_more_lines; do
50906 if test $ac_beg -gt 1; then
50907 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50909 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50911 if test ! -s $tmp/subs.frag
; then
50912 ac_more_lines
=false
50914 # The purpose of the label and of the branching condition is to
50915 # speed up the sed processing (if there are no `@' at all, there
50916 # is no need to browse any of the substitutions).
50917 # These are the two extra sed commands mentioned above.
50919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50920 if test -z "$ac_sed_cmds"; then
50921 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50923 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50925 ac_sed_frag
=`expr $ac_sed_frag + 1`
50927 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50930 if test -z "$ac_sed_cmds"; then
50933 fi # test -n "$CONFIG_FILES"
50936 cat >>$CONFIG_STATUS <<\_ACEOF
50937 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50938 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50940 - | *:- | *:-:* ) # input from stdin
50942 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50943 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50944 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50945 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50946 * ) ac_file_in
=$ac_file.
in ;;
50949 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50950 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50952 X"$ac_file" : 'X\(//\)[^/]' \| \
50953 X"$ac_file" : 'X\(//\)$' \| \
50954 X"$ac_file" : 'X\(/\)' \| \
50955 . : '\(.\)' 2>/dev/null ||
50957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50959 /^X\(\/\/\)$/{ s//\1/; q; }
50960 /^X\(\/\).*/{ s//\1/; q; }
50962 { if $as_mkdir_p; then
50967 while test ! -d "$as_dir"; do
50968 as_dirs
="$as_dir $as_dirs"
50969 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50971 X"$as_dir" : 'X\(//\)[^/]' \| \
50972 X"$as_dir" : 'X\(//\)$' \| \
50973 X"$as_dir" : 'X\(/\)' \| \
50974 . : '\(.\)' 2>/dev/null ||
50976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50978 /^X\(\/\/\)$/{ s//\1/; q; }
50979 /^X\(\/\).*/{ s//\1/; q; }
50982 test ! -n "$as_dirs" || mkdir $as_dirs
50983 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50984 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50985 { (exit 1); exit 1; }; }; }
50989 if test "$ac_dir" != .
; then
50990 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50991 # A "../" for each directory in $ac_dir_suffix.
50992 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50994 ac_dir_suffix
= ac_top_builddir
=
50998 .
) # No --srcdir option. We are building in place.
51000 if test -z "$ac_top_builddir"; then
51003 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51005 [\\/]* | ?
:[\\/]* ) # Absolute path.
51006 ac_srcdir
=$srcdir$ac_dir_suffix;
51007 ac_top_srcdir
=$srcdir ;;
51008 *) # Relative path.
51009 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51010 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51013 # Do not use `cd foo && pwd` to compute absolute paths, because
51014 # the directories may not exist.
51016 .
) ac_abs_builddir
="$ac_dir";;
51019 .
) ac_abs_builddir
=`pwd`;;
51020 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51021 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51024 case $ac_abs_builddir in
51025 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51027 case ${ac_top_builddir}.
in
51028 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51029 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51030 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51033 case $ac_abs_builddir in
51034 .
) ac_abs_srcdir
=$ac_srcdir;;
51037 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51038 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51039 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51042 case $ac_abs_builddir in
51043 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51045 case $ac_top_srcdir in
51046 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51047 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51048 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51054 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51055 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51058 # Let's still pretend it is `configure' which instantiates (i.e., don't
51059 # use $as_me), people would be surprised to read:
51060 # /* config.h. Generated by config.status. */
51061 if test x
"$ac_file" = x
-; then
51064 configure_input
="$ac_file. "
51066 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51067 sed 's,.*/,,'` by configure."
51069 # First look for the input files in the build tree, otherwise in the
51071 ac_file_inputs
=`IFS=:
51072 for f in $ac_file_in; do
51074 -) echo $tmp/stdin ;;
51076 # Absolute (can't be DOS-style, as IFS=:)
51077 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51078 echo "$as_me: error: cannot find input file: $f" >&2;}
51079 { (exit 1); exit 1; }; }
51082 if test -f "$f"; then
51085 elif test -f "$srcdir/$f"; then
51090 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51091 echo "$as_me: error: cannot find input file: $f" >&2;}
51092 { (exit 1); exit 1; }; }
51095 done` || { (exit 1); exit 1; }
51097 if test x
"$ac_file" != x
-; then
51098 { echo "$as_me:$LINENO: creating $ac_file" >&5
51099 echo "$as_me: creating $ac_file" >&6;}
51103 cat >>$CONFIG_STATUS <<_ACEOF
51107 cat >>$CONFIG_STATUS <<\_ACEOF
51109 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51110 s
,@configure_input@
,$configure_input,;t t
51111 s
,@srcdir@
,$ac_srcdir,;t t
51112 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51113 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51114 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51115 s
,@builddir@
,$ac_builddir,;t t
51116 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51117 s
,@top_builddir@
,$ac_top_builddir,;t t
51118 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51119 s
,@INSTALL@
,$ac_INSTALL,;t t
51120 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51122 if test x"$ac_file" != x-; then
51123 mv $tmp/out $ac_file
51129 # Run the commands associated with the file.
51131 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51132 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51136 cat >>$CONFIG_STATUS <<\_ACEOF
51139 # CONFIG_HEADER section.
51142 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51143 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51145 # ac_d sets the value in "#define NAME VALUE" lines.
51146 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51147 ac_dB
='[ ].*$,\1#\2'
51150 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51151 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51152 ac_uB
='$,\1#\2define\3'
51156 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51157 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51159 - | *:- | *:-:* ) # input from stdin
51161 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51162 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51163 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51164 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51165 * ) ac_file_in
=$ac_file.
in ;;
51168 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51169 echo "$as_me: creating $ac_file" >&6;}
51171 # First look for the input files in the build tree, otherwise in the
51173 ac_file_inputs
=`IFS=:
51174 for f in $ac_file_in; do
51176 -) echo $tmp/stdin ;;
51178 # Absolute (can't be DOS-style, as IFS=:)
51179 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51180 echo "$as_me: error: cannot find input file: $f" >&2;}
51181 { (exit 1); exit 1; }; }
51182 # Do quote $f, to prevent DOS paths from being IFS'd.
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; }
51199 # Remove the trailing spaces.
51200 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51204 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51205 # `conftest.undefs', that substitutes the proper values into
51206 # config.h.in to produce config.h. The first handles `#define'
51207 # templates, and the second `#undef' templates.
51208 # And first: Protect against being on the right side of a sed subst in
51209 # config.status. Protect against being in an unquoted here document
51210 # in config.status.
51211 rm -f conftest.defines conftest.undefs
51212 # Using a here document instead of a string reduces the quoting nightmare.
51213 # Putting comments in sed scripts is not portable.
51215 # `end' is used to avoid that the second main sed command (meant for
51216 # 0-ary CPP macros) applies to n-ary macro definitions.
51217 # See the Autoconf documentation for `clear'.
51218 cat >confdef2sed.
sed <<\_ACEOF
51223 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51225 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51228 # If some macros were called several times there might be several times
51229 # the same #defines, which is useless. Nevertheless, we may not want to
51230 # sort them, since we want the *last* AC-DEFINE to be honored.
51231 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51232 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51233 rm -f confdef2sed.sed
51235 # This sed command replaces #undef with comments. This is necessary, for
51236 # example, in the case of _POSIX_SOURCE, which is predefined and required
51237 # on some systems where configure will not decide to define it.
51238 cat >>conftest.undefs <<\_ACEOF
51239 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51242 # Break up conftest.defines because some shells have a limit on the size
51243 # of here documents, and old seds have small limits too (100 cmds).
51244 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51245 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51246 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51247 echo ' :' >>$CONFIG_STATUS
51248 rm -f conftest.tail
51249 while grep . conftest.defines >/dev/null
51251 # Write a limited-size here document to $tmp/defines.sed.
51252 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51253 # Speed up: don't consider the non `#define' lines.
51254 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51255 # Work around the forget-to-reset-the-flag bug.
51256 echo 't clr' >>$CONFIG_STATUS
51257 echo ': clr' >>$CONFIG_STATUS
51258 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51260 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51262 mv $tmp/out $tmp/in
51264 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51265 rm -f conftest.defines
51266 mv conftest.
tail conftest.defines
51268 rm -f conftest.defines
51269 echo ' fi # grep' >>$CONFIG_STATUS
51270 echo >>$CONFIG_STATUS
51272 # Break up conftest.undefs because some shells have a limit on the size
51273 # of here documents, and old seds have small limits too (100 cmds).
51274 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51275 rm -f conftest.
tail
51276 while grep . conftest.undefs
>/dev
/null
51278 # Write a limited-size here document to $tmp/undefs.sed.
51279 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51280 # Speed up: don't consider the non
`#undef'
51281 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51282 # Work around the forget-to-reset-the-flag bug.
51283 echo 't clr' >>$CONFIG_STATUS
51284 echo ': clr' >>$CONFIG_STATUS
51285 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51287 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51289 mv $tmp/out $tmp/in
51291 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51292 rm -f conftest.undefs
51293 mv conftest.tail conftest.undefs
51295 rm -f conftest.undefs
51297 cat >>$CONFIG_STATUS <<\_ACEOF
51298 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51299 # use $as_me), people would be surprised to read:
51300 # /* config.h. Generated by config.status. */
51301 if test x
"$ac_file" = x
-; then
51302 echo "/* Generated by configure. */" >$tmp/config.h
51304 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51306 cat $tmp/in >>$tmp/config.h
51308 if test x
"$ac_file" != x
-; then
51309 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51310 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51311 echo "$as_me: $ac_file is unchanged" >&6;}
51313 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51314 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51315 X"$ac_file" : 'X\(//\)[^/]' \| \
51316 X"$ac_file" : 'X\(//\)$' \| \
51317 X"$ac_file" : 'X\(/\)' \| \
51318 . : '\(.\)' 2>/dev/null ||
51320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51322 /^X\(\/\/\)$/{ s//\1/; q; }
51323 /^X\(\/\).*/{ s//\1/; q; }
51325 { if $as_mkdir_p; then
51330 while test ! -d "$as_dir"; do
51331 as_dirs
="$as_dir $as_dirs"
51332 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51334 X"$as_dir" : 'X\(//\)[^/]' \| \
51335 X"$as_dir" : 'X\(//\)$' \| \
51336 X"$as_dir" : 'X\(/\)' \| \
51337 . : '\(.\)' 2>/dev/null ||
51339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51340 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51341 /^X\(\/\/\)$/{ s//\1/; q; }
51342 /^X\(\/\).*/{ s//\1/; q; }
51345 test ! -n "$as_dirs" || mkdir $as_dirs
51346 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51347 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51348 { (exit 1); exit 1; }; }; }
51351 mv $tmp/config.h
$ac_file
51355 rm -f $tmp/config.h
51359 cat >>$CONFIG_STATUS <<\_ACEOF
51362 # CONFIG_COMMANDS section.
51364 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51365 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51366 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51367 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51368 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51369 X"$ac_dest" : 'X\(//\)[^/]' \| \
51370 X"$ac_dest" : 'X\(//\)$' \| \
51371 X"$ac_dest" : 'X\(/\)' \| \
51372 . : '\(.\)' 2>/dev/null ||
51374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51376 /^X\(\/\/\)$/{ s//\1/; q; }
51377 /^X\(\/\).*/{ s//\1/; q; }
51379 { if $as_mkdir_p; then
51384 while test ! -d "$as_dir"; do
51385 as_dirs
="$as_dir $as_dirs"
51386 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51387 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51388 X"$as_dir" : 'X\(//\)[^/]' \| \
51389 X"$as_dir" : 'X\(//\)$' \| \
51390 X"$as_dir" : 'X\(/\)' \| \
51391 . : '\(.\)' 2>/dev/null ||
51393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51395 /^X\(\/\/\)$/{ s//\1/; q; }
51396 /^X\(\/\).*/{ s//\1/; q; }
51399 test ! -n "$as_dirs" || mkdir $as_dirs
51400 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51401 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51402 { (exit 1); exit 1; }; }; }
51406 if test "$ac_dir" != .
; then
51407 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51408 # A "../" for each directory in $ac_dir_suffix.
51409 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51411 ac_dir_suffix
= ac_top_builddir
=
51415 .
) # No --srcdir option. We are building in place.
51417 if test -z "$ac_top_builddir"; then
51420 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51422 [\\/]* | ?
:[\\/]* ) # Absolute path.
51423 ac_srcdir
=$srcdir$ac_dir_suffix;
51424 ac_top_srcdir
=$srcdir ;;
51425 *) # Relative path.
51426 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51427 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51430 # Do not use `cd foo && pwd` to compute absolute paths, because
51431 # the directories may not exist.
51433 .
) ac_abs_builddir
="$ac_dir";;
51436 .
) ac_abs_builddir
=`pwd`;;
51437 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51438 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51441 case $ac_abs_builddir in
51442 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51444 case ${ac_top_builddir}.
in
51445 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51446 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51447 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51450 case $ac_abs_builddir in
51451 .
) ac_abs_srcdir
=$ac_srcdir;;
51454 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51455 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51456 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51459 case $ac_abs_builddir in
51460 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51462 case $ac_top_srcdir in
51463 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51464 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51465 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51470 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51471 echo "$as_me: executing $ac_dest commands" >&6;}
51474 mkdir -p $outdir &&
51475 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51477 wx
-config ) rm -f wx
-config
51478 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51484 cat >>$CONFIG_STATUS <<\_ACEOF
51486 { (exit 0); exit 0; }
51488 chmod +x
$CONFIG_STATUS
51489 ac_clean_files
=$ac_clean_files_save
51492 # configure is writing to config.log, and then calls config.status.
51493 # config.status does its own redirection, appending to config.log.
51494 # Unfortunately, on DOS this fails, as config.log is still kept open
51495 # by configure, so config.status won't be able to write to it; its
51496 # output is simply discarded. So we exec the FD to /dev/null,
51497 # effectively closing config.log, so it can be properly (re)opened and
51498 # appended to by config.status. When coming back to configure, we
51499 # need to make the FD available again.
51500 if test "$no_create" != yes; then
51502 ac_config_status_args
=
51503 test "$silent" = yes &&
51504 ac_config_status_args
="$ac_config_status_args --quiet"
51506 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51508 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51509 # would make configure fail if this is the last instruction.
51510 $ac_cs_success || { (exit 1); exit 1; }
51514 # CONFIG_SUBDIRS section.
51516 if test "$no_recursion" != yes; then
51518 # Remove --cache-file and --srcdir arguments so they do not pile up.
51519 ac_sub_configure_args
=
51521 for ac_arg
in $ac_configure_args; do
51522 if test -n "$ac_prev"; then
51527 -cache-file | --cache-file | --cache-fil | --cache-fi \
51528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51529 ac_prev
=cache_file
;;
51530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51534 --config-cache | -C)
51536 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51538 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51540 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51542 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51544 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
51548 # Always prepend --prefix to ensure using the same prefix
51549 # in subdir configurations.
51550 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
51553 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51555 # Do not complain, so a configure script can configure whichever
51556 # parts of a large source tree are present.
51557 test -d $srcdir/$ac_dir || continue
51559 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51560 echo "$as_me: configuring in $ac_dir" >&6;}
51561 { if $as_mkdir_p; then
51566 while test ! -d "$as_dir"; do
51567 as_dirs
="$as_dir $as_dirs"
51568 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51570 X"$as_dir" : 'X\(//\)[^/]' \| \
51571 X"$as_dir" : 'X\(//\)$' \| \
51572 X"$as_dir" : 'X\(/\)' \| \
51573 . : '\(.\)' 2>/dev/null ||
51575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51576 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51577 /^X\(\/\/\)$/{ s//\1/; q; }
51578 /^X\(\/\).*/{ s//\1/; q; }
51581 test ! -n "$as_dirs" || mkdir $as_dirs
51582 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51583 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51584 { (exit 1); exit 1; }; }; }
51588 if test "$ac_dir" != .
; then
51589 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51590 # A "../" for each directory in $ac_dir_suffix.
51591 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51593 ac_dir_suffix
= ac_top_builddir
=
51597 .
) # No --srcdir option. We are building in place.
51599 if test -z "$ac_top_builddir"; then
51602 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51604 [\\/]* | ?
:[\\/]* ) # Absolute path.
51605 ac_srcdir
=$srcdir$ac_dir_suffix;
51606 ac_top_srcdir
=$srcdir ;;
51607 *) # Relative path.
51608 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51609 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51612 # Do not use `cd foo && pwd` to compute absolute paths, because
51613 # the directories may not exist.
51615 .
) ac_abs_builddir
="$ac_dir";;
51618 .
) ac_abs_builddir
=`pwd`;;
51619 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51620 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51623 case $ac_abs_builddir in
51624 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51626 case ${ac_top_builddir}.
in
51627 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51628 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51629 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51632 case $ac_abs_builddir in
51633 .
) ac_abs_srcdir
=$ac_srcdir;;
51636 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51637 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51638 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51641 case $ac_abs_builddir in
51642 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51644 case $ac_top_srcdir in
51645 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51646 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51647 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51654 # Check for guested configure; otherwise get Cygnus style configure.
51655 if test -f $ac_srcdir/configure.gnu
; then
51656 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
51657 elif test -f $ac_srcdir/configure
; then
51658 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
51659 elif test -f $ac_srcdir/configure.
in; then
51660 ac_sub_configure
=$ac_configure
51662 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51663 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51667 # The recursion is here.
51668 if test -n "$ac_sub_configure"; then
51669 # Make the cache file name correct relative to the subdirectory.
51670 case $cache_file in
51671 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51672 *) # Relative path.
51673 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
51676 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51677 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51678 # The eval makes quoting arguments work.
51679 eval $ac_sub_configure $ac_sub_configure_args \
51680 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51681 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51682 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51683 { (exit 1); exit 1; }; }
51692 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51694 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51695 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51697 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51698 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51699 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51701 echo " What level of wxWidgets compatibility should be enabled?"
51702 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51703 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51705 echo " Which libraries should wxWidgets use?"
51706 echo " jpeg ${wxUSE_LIBJPEG-none}"
51707 echo " png ${wxUSE_LIBPNG-none}"
51708 echo " regex ${wxUSE_REGEX}"
51709 echo " tiff ${wxUSE_LIBTIFF-none}"
51710 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51711 echo " xpm ${wxUSE_LIBXPM-none}"
51713 echo " zlib ${wxUSE_ZLIB}"
51714 echo " odbc ${wxUSE_ODBC}"
51715 echo " expat ${wxUSE_EXPAT}"
51716 echo " libmspack ${wxUSE_LIBMSPACK}"
51717 echo " sdl ${wxUSE_LIBSDL}"